diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index 1d92435364..723cac3e7a 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -16368,7 +16368,10 @@ "$ref": "#/components/parameters/dependabot-alert-comma-separated-artifact-registry" }, { - "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" + "$ref": "#/components/parameters/dependabot-alert-org-scope-comma-separated-has" + }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-runtime-risk" }, { "$ref": "#/components/parameters/dependabot-alert-scope" @@ -25710,6 +25713,303 @@ } } }, + "/orgs/{org}/settings/immutable-releases": { + "get": { + "summary": "Get immutable releases settings for an organization", + "description": "Gets the immutable releases policy for repositories in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-immutable-releases-settings", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Immutable releases settings response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/immutable-releases-organization-settings" + }, + "examples": { + "default": { + "value": { + "enforced_repositories": "all" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "put": { + "summary": "Set immutable releases settings for an organization", + "description": "Sets the immutable releases policy for repositories in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/set-immutable-releases-settings", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enforced_repositories": { + "type": "string", + "description": "The policy that controls how immutable releases are enforced in the organization.", + "enum": [ + "all", + "none", + "selected" + ], + "example": "all" + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids for which immutable releases enforcement should be applied. You can only provide a list of repository ids when the `enforced_repositories` is set to `selected`. You can add and remove individual repositories using the [Enable a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) and [Disable a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "enforced_repositories" + ] + }, + "examples": { + "default": { + "value": { + "enforced_repositories": "all" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/settings/immutable-releases/repositories": { + "get": { + "summary": "List selected repositories for immutable releases enforcement", + "description": "List all of the repositories that have been selected for immutable releases enforcement in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-immutable-releases-settings-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "repositories" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "$ref": "#/components/schemas/minimal-repository" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/public-repository-paginated" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "put": { + "summary": "Set selected repositories for immutable releases enforcement", + "description": "Replaces all repositories that have been selected for immutable releases enforcement in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/set-immutable-releases-settings-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids for which immutable releases enforcement should be applied. You can only provide a list of repository ids when the `enforced_repositories` is set to `selected`. You can add and remove individual repositories using the [Enable a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) and [Disable a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 64780797 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/settings/immutable-releases/repositories/{repository_id}": { + "put": { + "summary": "Enable a selected repository for immutable releases in an organization", + "description": "Adds a repository to the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "operationId": "orgs/enable-selected-repository-immutable-releases-organization", + "tags": [ + "orgs" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/repository-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "delete": { + "summary": "Disable a selected repository for immutable releases in an organization", + "description": "Removes a repository from the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "operationId": "orgs/disable-selected-repository-immutable-releases-organization", + "tags": [ + "orgs" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/repository-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, "/orgs/{org}/settings/network-configurations": { "get": { "summary": "List hosted compute network configurations for an organization", @@ -48970,6 +49270,125 @@ } } }, + "/repos/{owner}/{repo}/immutable-releases": { + "get": { + "summary": "Check if immutable releases are enabled for a repository", + "description": "Shows whether immutable releases are enabled or disabled. Also identifies whether immutability is being\nenforced by the repository owner. The authenticated user must have admin read access to the repository.", + "tags": [ + "repos" + ], + "operationId": "repos/check-immutable-releases", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "description": "Response if immutable releases are enabled", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/check-immutable-releases" + }, + "examples": { + "default": { + "value": { + "enabled": true, + "enforced_by_owner": false + } + } + } + } + } + }, + "404": { + "description": "Not Found if immutable releases are not enabled for the repository" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "repos" + } + }, + "put": { + "summary": "Enable immutable releases", + "description": "Enables immutable releases for a repository. The authenticated user must have admin access to the repository.", + "tags": [ + "repos" + ], + "operationId": "repos/enable-immutable-releases", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/repos#enable-immutable-releases" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/no_content" + }, + "409": { + "$ref": "#/components/responses/conflict" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "repos" + } + }, + "delete": { + "summary": "Disable immutable releases", + "description": "Disables immutable releases for a repository. The authenticated user must have admin access to the repository.", + "tags": [ + "repos" + ], + "operationId": "repos/disable-immutable-releases", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/repos#disable-immutable-releases" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/no_content" + }, + "409": { + "$ref": "#/components/responses/conflict" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "repos" + } + } + }, "/repos/{owner}/{repo}/import": { "get": { "summary": "Get an import status", @@ -104738,6 +105157,9 @@ "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": { + "$ref": "#/components/schemas/nullable-simple-user" } } }, @@ -117945,6 +118367,30 @@ "estimated_storage_for_month" ] }, + "immutable-releases-organization-settings": { + "title": "Check immutable releases organization settings", + "description": "Check immutable releases settings for an organization.", + "type": "object", + "properties": { + "enforced_repositories": { + "type": "string", + "description": "The policy that controls how immutable releases are enforced in the organization.", + "enum": [ + "all", + "none", + "selected" + ], + "example": "all" + }, + "selected_repositories_url": { + "type": "string", + "description": "The API URL to use to get or set the selected repositories for immutable releases enforcement, when `enforced_repositories` is set to `selected`." + } + }, + "required": [ + "enforced_repositories" + ] + }, "network-configuration": { "title": "Hosted compute network configuration", "description": "A hosted compute network configuration.", @@ -127173,6 +127619,27 @@ "test_url" ] }, + "check-immutable-releases": { + "title": "Check immutable releases", + "description": "Check immutable releases", + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "example": true, + "description": "Whether immutable releases are enabled for the repository." + }, + "enforced_by_owner": { + "type": "boolean", + "example": false, + "description": "Whether immutable releases are enforced by the repository owner." + } + }, + "required": [ + "enabled", + "enforced_by_owner" + ] + }, "import": { "title": "Import", "description": "A repository import from an external source.", @@ -131904,6 +132371,9 @@ "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": { + "$ref": "#/components/schemas/nullable-simple-user" } } }, @@ -148234,6 +148704,9 @@ "type": "boolean", "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", "nullable": true + }, + "assigned_to": { + "$ref": "#/components/schemas/nullable-simple-user" } } }, @@ -278574,7 +279047,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 + } } ] }, @@ -300683,7 +301176,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 + } } ] }, @@ -308135,6 +308648,36 @@ "type": "string" } }, + "dependabot-alert-org-scope-comma-separated-has": { + "name": "has", + "in": "query", + "description": "Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple `has` filters can be passed to filter for alerts that have all of the values.", + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "patch", + "deployment" + ] + } + } + ] + } + }, + "dependabot-alert-comma-separated-runtime-risk": { + "name": "runtime_risk", + "in": "query", + "description": "A comma-separated list of runtime risk strings. If specified, only alerts for repositories with deployment records matching these risks will be returned.\n\nCan be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement`", + "schema": { + "type": "string" + } + }, "hook-id": { "name": "hook_id", "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.", diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index 9ef7019725..0e38555145 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -11926,7 +11926,8 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-artifact-registry-urls" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-artifact-registry" - - "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" + - "$ref": "#/components/parameters/dependabot-alert-org-scope-comma-separated-has" + - "$ref": "#/components/parameters/dependabot-alert-comma-separated-runtime-risk" - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" @@ -18550,6 +18551,230 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/orgs/{org}/settings/immutable-releases": + get: + summary: Get immutable releases settings for an organization + description: |- + Gets the immutable releases policy for repositories in an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/get-immutable-releases-settings + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Immutable releases settings response + content: + application/json: + schema: + "$ref": "#/components/schemas/immutable-releases-organization-settings" + examples: + default: + value: + enforced_repositories: all + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + put: + summary: Set immutable releases settings for an organization + description: |- + Sets the immutable releases policy for repositories in an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/set-immutable-releases-settings + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + responses: + '204': + description: Response + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enforced_repositories: + type: string + description: The policy that controls how immutable releases are + enforced in the organization. + enum: + - all + - none + - selected + example: all + selected_repository_ids: + type: array + description: An array of repository ids for which immutable releases + enforcement should be applied. You can only provide a list of + repository ids when the `enforced_repositories` is set to `selected`. + You can add and remove individual repositories using the [Enable + a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) + and [Disable a selected repository for immutable releases in an + organization](https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) + endpoints. + items: + type: integer + required: + - enforced_repositories + examples: + default: + value: + enforced_repositories: all + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + "/orgs/{org}/settings/immutable-releases/repositories": + get: + summary: List selected repositories for immutable releases enforcement + description: |- + List all of the repositories that have been selected for immutable releases enforcement in an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/get-immutable-releases-settings-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/per-page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - repositories + properties: + total_count: + type: integer + repositories: + type: array + items: + "$ref": "#/components/schemas/minimal-repository" + examples: + default: + "$ref": "#/components/examples/public-repository-paginated" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + put: + summary: Set selected repositories for immutable releases enforcement + description: |- + Replaces all repositories that have been selected for immutable releases enforcement in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/set-immutable-releases-settings-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + type: array + description: An array of repository ids for which immutable releases + enforcement should be applied. You can only provide a list of + repository ids when the `enforced_repositories` is set to `selected`. + You can add and remove individual repositories using the [Enable + a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) + and [Disable a selected repository for immutable releases in an + organization](https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) + endpoints. + items: + type: integer + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 64780797 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + "/orgs/{org}/settings/immutable-releases/repositories/{repository_id}": + put: + summary: Enable a selected repository for immutable releases in an organization + description: |- + Adds a repository to the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: orgs/enable-selected-repository-immutable-releases-organization + tags: + - orgs + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/repository-id" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + delete: + summary: Disable a selected repository for immutable releases in an organization + description: |- + Removes a repository from the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: orgs/disable-selected-repository-immutable-releases-organization + tags: + - orgs + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/repository-id" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs "/orgs/{org}/settings/network-configurations": get: summary: List hosted compute network configurations for an organization @@ -35704,6 +35929,86 @@ paths: enabledForGitHubApps: true category: repos subcategory: webhooks + "/repos/{owner}/{repo}/immutable-releases": + get: + summary: Check if immutable releases are enabled for a repository + description: |- + Shows whether immutable releases are enabled or disabled. Also identifies whether immutability is being + enforced by the repository owner. The authenticated user must have admin read access to the repository. + tags: + - repos + operationId: repos/check-immutable-releases + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + responses: + '200': + description: Response if immutable releases are enabled + content: + application/json: + schema: + "$ref": "#/components/schemas/check-immutable-releases" + examples: + default: + value: + enabled: true + enforced_by_owner: false + '404': + description: Not Found if immutable releases are not enabled for the repository + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos + put: + summary: Enable immutable releases + description: Enables immutable releases for a repository. The authenticated + user must have admin access to the repository. + tags: + - repos + operationId: repos/enable-immutable-releases + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/repos#enable-immutable-releases + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + responses: + '204': + "$ref": "#/components/responses/no_content" + '409': + "$ref": "#/components/responses/conflict" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos + delete: + summary: Disable immutable releases + description: Disables immutable releases for a repository. The authenticated + user must have admin access to the repository. + tags: + - repos + operationId: repos/disable-immutable-releases + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/repos#disable-immutable-releases + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + responses: + '204': + "$ref": "#/components/responses/no_content" + '409': + "$ref": "#/components/responses/conflict" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos "/repos/{owner}/{repo}/import": get: summary: Get an import status @@ -76040,6 +76345,8 @@ 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: + "$ref": "#/components/schemas/nullable-simple-user" enterprise-team: title: Enterprise Team description: Group of enterprise owners and/or members @@ -86483,6 +86790,27 @@ components: - days_left_in_billing_cycle - estimated_paid_storage_for_month - estimated_storage_for_month + immutable-releases-organization-settings: + title: Check immutable releases organization settings + description: Check immutable releases settings for an organization. + type: object + properties: + enforced_repositories: + type: string + description: The policy that controls how immutable releases are enforced + in the organization. + enum: + - all + - none + - selected + example: all + selected_repositories_url: + type: string + description: The API URL to use to get or set the selected repositories + for immutable releases enforcement, when `enforced_repositories` is set + to `selected`. + required: + - enforced_repositories network-configuration: title: Hosted compute network configuration description: A hosted compute network configuration. @@ -93676,6 +94004,22 @@ components: - updated_at - last_response - test_url + check-immutable-releases: + title: Check immutable releases + description: Check immutable releases + type: object + properties: + enabled: + type: boolean + example: true + description: Whether immutable releases are enabled for the repository. + enforced_by_owner: + type: boolean + example: false + description: Whether immutable releases are enforced by the repository owner. + required: + - enabled + - enforced_by_owner import: title: Import description: A repository import from an external source. @@ -97127,6 +97471,8 @@ 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: + "$ref": "#/components/schemas/nullable-simple-user" secret-scanning-alert-resolution-comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -109631,6 +109977,8 @@ components: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true + assigned_to: + "$ref": "#/components/schemas/nullable-simple-user" webhooks_security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -208449,6 +208797,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 @@ -227445,6 +227812,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 @@ -233946,6 +234332,30 @@ components: Can be: `jfrog-artifactory` schema: type: string + dependabot-alert-org-scope-comma-separated-has: + name: has + in: query + description: |- + Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned. + Multiple `has` filters can be passed to filter for alerts that have all of the values. + schema: + oneOf: + - type: string + - type: array + items: + type: string + enum: + - patch + - deployment + dependabot-alert-comma-separated-runtime-risk: + name: runtime_risk + in: query + description: |- + A comma-separated list of runtime risk strings. If specified, only alerts for repositories with deployment records matching these risks will be returned. + + Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` + schema: + type: string hook-id: name: hook_id description: The unique identifier of the hook. You can find this value in the diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 1d92435364..723cac3e7a 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -16368,7 +16368,10 @@ "$ref": "#/components/parameters/dependabot-alert-comma-separated-artifact-registry" }, { - "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" + "$ref": "#/components/parameters/dependabot-alert-org-scope-comma-separated-has" + }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-runtime-risk" }, { "$ref": "#/components/parameters/dependabot-alert-scope" @@ -25710,6 +25713,303 @@ } } }, + "/orgs/{org}/settings/immutable-releases": { + "get": { + "summary": "Get immutable releases settings for an organization", + "description": "Gets the immutable releases policy for repositories in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-immutable-releases-settings", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Immutable releases settings response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/immutable-releases-organization-settings" + }, + "examples": { + "default": { + "value": { + "enforced_repositories": "all" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "put": { + "summary": "Set immutable releases settings for an organization", + "description": "Sets the immutable releases policy for repositories in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/set-immutable-releases-settings", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enforced_repositories": { + "type": "string", + "description": "The policy that controls how immutable releases are enforced in the organization.", + "enum": [ + "all", + "none", + "selected" + ], + "example": "all" + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids for which immutable releases enforcement should be applied. You can only provide a list of repository ids when the `enforced_repositories` is set to `selected`. You can add and remove individual repositories using the [Enable a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) and [Disable a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "enforced_repositories" + ] + }, + "examples": { + "default": { + "value": { + "enforced_repositories": "all" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/settings/immutable-releases/repositories": { + "get": { + "summary": "List selected repositories for immutable releases enforcement", + "description": "List all of the repositories that have been selected for immutable releases enforcement in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-immutable-releases-settings-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "repositories" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "$ref": "#/components/schemas/minimal-repository" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/public-repository-paginated" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "put": { + "summary": "Set selected repositories for immutable releases enforcement", + "description": "Replaces all repositories that have been selected for immutable releases enforcement in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/set-immutable-releases-settings-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids for which immutable releases enforcement should be applied. You can only provide a list of repository ids when the `enforced_repositories` is set to `selected`. You can add and remove individual repositories using the [Enable a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) and [Disable a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 64780797 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/settings/immutable-releases/repositories/{repository_id}": { + "put": { + "summary": "Enable a selected repository for immutable releases in an organization", + "description": "Adds a repository to the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "operationId": "orgs/enable-selected-repository-immutable-releases-organization", + "tags": [ + "orgs" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/repository-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "delete": { + "summary": "Disable a selected repository for immutable releases in an organization", + "description": "Removes a repository from the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "operationId": "orgs/disable-selected-repository-immutable-releases-organization", + "tags": [ + "orgs" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/repository-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, "/orgs/{org}/settings/network-configurations": { "get": { "summary": "List hosted compute network configurations for an organization", @@ -48970,6 +49270,125 @@ } } }, + "/repos/{owner}/{repo}/immutable-releases": { + "get": { + "summary": "Check if immutable releases are enabled for a repository", + "description": "Shows whether immutable releases are enabled or disabled. Also identifies whether immutability is being\nenforced by the repository owner. The authenticated user must have admin read access to the repository.", + "tags": [ + "repos" + ], + "operationId": "repos/check-immutable-releases", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "description": "Response if immutable releases are enabled", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/check-immutable-releases" + }, + "examples": { + "default": { + "value": { + "enabled": true, + "enforced_by_owner": false + } + } + } + } + } + }, + "404": { + "description": "Not Found if immutable releases are not enabled for the repository" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "repos" + } + }, + "put": { + "summary": "Enable immutable releases", + "description": "Enables immutable releases for a repository. The authenticated user must have admin access to the repository.", + "tags": [ + "repos" + ], + "operationId": "repos/enable-immutable-releases", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/repos#enable-immutable-releases" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/no_content" + }, + "409": { + "$ref": "#/components/responses/conflict" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "repos" + } + }, + "delete": { + "summary": "Disable immutable releases", + "description": "Disables immutable releases for a repository. The authenticated user must have admin access to the repository.", + "tags": [ + "repos" + ], + "operationId": "repos/disable-immutable-releases", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/repos#disable-immutable-releases" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/no_content" + }, + "409": { + "$ref": "#/components/responses/conflict" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "repos" + } + } + }, "/repos/{owner}/{repo}/import": { "get": { "summary": "Get an import status", @@ -104738,6 +105157,9 @@ "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": { + "$ref": "#/components/schemas/nullable-simple-user" } } }, @@ -117945,6 +118367,30 @@ "estimated_storage_for_month" ] }, + "immutable-releases-organization-settings": { + "title": "Check immutable releases organization settings", + "description": "Check immutable releases settings for an organization.", + "type": "object", + "properties": { + "enforced_repositories": { + "type": "string", + "description": "The policy that controls how immutable releases are enforced in the organization.", + "enum": [ + "all", + "none", + "selected" + ], + "example": "all" + }, + "selected_repositories_url": { + "type": "string", + "description": "The API URL to use to get or set the selected repositories for immutable releases enforcement, when `enforced_repositories` is set to `selected`." + } + }, + "required": [ + "enforced_repositories" + ] + }, "network-configuration": { "title": "Hosted compute network configuration", "description": "A hosted compute network configuration.", @@ -127173,6 +127619,27 @@ "test_url" ] }, + "check-immutable-releases": { + "title": "Check immutable releases", + "description": "Check immutable releases", + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "example": true, + "description": "Whether immutable releases are enabled for the repository." + }, + "enforced_by_owner": { + "type": "boolean", + "example": false, + "description": "Whether immutable releases are enforced by the repository owner." + } + }, + "required": [ + "enabled", + "enforced_by_owner" + ] + }, "import": { "title": "Import", "description": "A repository import from an external source.", @@ -131904,6 +132371,9 @@ "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": { + "$ref": "#/components/schemas/nullable-simple-user" } } }, @@ -148234,6 +148704,9 @@ "type": "boolean", "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", "nullable": true + }, + "assigned_to": { + "$ref": "#/components/schemas/nullable-simple-user" } } }, @@ -278574,7 +279047,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 + } } ] }, @@ -300683,7 +301176,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 + } } ] }, @@ -308135,6 +308648,36 @@ "type": "string" } }, + "dependabot-alert-org-scope-comma-separated-has": { + "name": "has", + "in": "query", + "description": "Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple `has` filters can be passed to filter for alerts that have all of the values.", + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "patch", + "deployment" + ] + } + } + ] + } + }, + "dependabot-alert-comma-separated-runtime-risk": { + "name": "runtime_risk", + "in": "query", + "description": "A comma-separated list of runtime risk strings. If specified, only alerts for repositories with deployment records matching these risks will be returned.\n\nCan be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement`", + "schema": { + "type": "string" + } + }, "hook-id": { "name": "hook_id", "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.", diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 9ef7019725..0e38555145 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -11926,7 +11926,8 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-artifact-registry-urls" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-artifact-registry" - - "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" + - "$ref": "#/components/parameters/dependabot-alert-org-scope-comma-separated-has" + - "$ref": "#/components/parameters/dependabot-alert-comma-separated-runtime-risk" - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" @@ -18550,6 +18551,230 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/orgs/{org}/settings/immutable-releases": + get: + summary: Get immutable releases settings for an organization + description: |- + Gets the immutable releases policy for repositories in an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/get-immutable-releases-settings + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Immutable releases settings response + content: + application/json: + schema: + "$ref": "#/components/schemas/immutable-releases-organization-settings" + examples: + default: + value: + enforced_repositories: all + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + put: + summary: Set immutable releases settings for an organization + description: |- + Sets the immutable releases policy for repositories in an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/set-immutable-releases-settings + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + responses: + '204': + description: Response + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enforced_repositories: + type: string + description: The policy that controls how immutable releases are + enforced in the organization. + enum: + - all + - none + - selected + example: all + selected_repository_ids: + type: array + description: An array of repository ids for which immutable releases + enforcement should be applied. You can only provide a list of + repository ids when the `enforced_repositories` is set to `selected`. + You can add and remove individual repositories using the [Enable + a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) + and [Disable a selected repository for immutable releases in an + organization](https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) + endpoints. + items: + type: integer + required: + - enforced_repositories + examples: + default: + value: + enforced_repositories: all + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + "/orgs/{org}/settings/immutable-releases/repositories": + get: + summary: List selected repositories for immutable releases enforcement + description: |- + List all of the repositories that have been selected for immutable releases enforcement in an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/get-immutable-releases-settings-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/per-page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - repositories + properties: + total_count: + type: integer + repositories: + type: array + items: + "$ref": "#/components/schemas/minimal-repository" + examples: + default: + "$ref": "#/components/examples/public-repository-paginated" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + put: + summary: Set selected repositories for immutable releases enforcement + description: |- + Replaces all repositories that have been selected for immutable releases enforcement in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/set-immutable-releases-settings-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + type: array + description: An array of repository ids for which immutable releases + enforcement should be applied. You can only provide a list of + repository ids when the `enforced_repositories` is set to `selected`. + You can add and remove individual repositories using the [Enable + a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) + and [Disable a selected repository for immutable releases in an + organization](https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) + endpoints. + items: + type: integer + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 64780797 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + "/orgs/{org}/settings/immutable-releases/repositories/{repository_id}": + put: + summary: Enable a selected repository for immutable releases in an organization + description: |- + Adds a repository to the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: orgs/enable-selected-repository-immutable-releases-organization + tags: + - orgs + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/repository-id" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + delete: + summary: Disable a selected repository for immutable releases in an organization + description: |- + Removes a repository from the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: orgs/disable-selected-repository-immutable-releases-organization + tags: + - orgs + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/repository-id" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs "/orgs/{org}/settings/network-configurations": get: summary: List hosted compute network configurations for an organization @@ -35704,6 +35929,86 @@ paths: enabledForGitHubApps: true category: repos subcategory: webhooks + "/repos/{owner}/{repo}/immutable-releases": + get: + summary: Check if immutable releases are enabled for a repository + description: |- + Shows whether immutable releases are enabled or disabled. Also identifies whether immutability is being + enforced by the repository owner. The authenticated user must have admin read access to the repository. + tags: + - repos + operationId: repos/check-immutable-releases + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + responses: + '200': + description: Response if immutable releases are enabled + content: + application/json: + schema: + "$ref": "#/components/schemas/check-immutable-releases" + examples: + default: + value: + enabled: true + enforced_by_owner: false + '404': + description: Not Found if immutable releases are not enabled for the repository + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos + put: + summary: Enable immutable releases + description: Enables immutable releases for a repository. The authenticated + user must have admin access to the repository. + tags: + - repos + operationId: repos/enable-immutable-releases + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/repos#enable-immutable-releases + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + responses: + '204': + "$ref": "#/components/responses/no_content" + '409': + "$ref": "#/components/responses/conflict" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos + delete: + summary: Disable immutable releases + description: Disables immutable releases for a repository. The authenticated + user must have admin access to the repository. + tags: + - repos + operationId: repos/disable-immutable-releases + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/repos#disable-immutable-releases + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + responses: + '204': + "$ref": "#/components/responses/no_content" + '409': + "$ref": "#/components/responses/conflict" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos "/repos/{owner}/{repo}/import": get: summary: Get an import status @@ -76040,6 +76345,8 @@ 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: + "$ref": "#/components/schemas/nullable-simple-user" enterprise-team: title: Enterprise Team description: Group of enterprise owners and/or members @@ -86483,6 +86790,27 @@ components: - days_left_in_billing_cycle - estimated_paid_storage_for_month - estimated_storage_for_month + immutable-releases-organization-settings: + title: Check immutable releases organization settings + description: Check immutable releases settings for an organization. + type: object + properties: + enforced_repositories: + type: string + description: The policy that controls how immutable releases are enforced + in the organization. + enum: + - all + - none + - selected + example: all + selected_repositories_url: + type: string + description: The API URL to use to get or set the selected repositories + for immutable releases enforcement, when `enforced_repositories` is set + to `selected`. + required: + - enforced_repositories network-configuration: title: Hosted compute network configuration description: A hosted compute network configuration. @@ -93676,6 +94004,22 @@ components: - updated_at - last_response - test_url + check-immutable-releases: + title: Check immutable releases + description: Check immutable releases + type: object + properties: + enabled: + type: boolean + example: true + description: Whether immutable releases are enabled for the repository. + enforced_by_owner: + type: boolean + example: false + description: Whether immutable releases are enforced by the repository owner. + required: + - enabled + - enforced_by_owner import: title: Import description: A repository import from an external source. @@ -97127,6 +97471,8 @@ 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: + "$ref": "#/components/schemas/nullable-simple-user" secret-scanning-alert-resolution-comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -109631,6 +109977,8 @@ components: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true + assigned_to: + "$ref": "#/components/schemas/nullable-simple-user" webhooks_security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -208449,6 +208797,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 @@ -227445,6 +227812,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 @@ -233946,6 +234332,30 @@ components: Can be: `jfrog-artifactory` schema: type: string + dependabot-alert-org-scope-comma-separated-has: + name: has + in: query + description: |- + Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned. + Multiple `has` filters can be passed to filter for alerts that have all of the values. + schema: + oneOf: + - type: string + - type: array + items: + type: string + enum: + - patch + - deployment + dependabot-alert-comma-separated-runtime-risk: + name: runtime_risk + in: query + description: |- + A comma-separated list of runtime risk strings. If specified, only alerts for repositories with deployment records matching these risks will be returned. + + Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` + schema: + type: string hook-id: name: hook_id description: The unique identifier of the hook. You can find this value in the diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 29a86167aa..26a351c988 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -23478,6 +23478,131 @@ "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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } } @@ -23645,7 +23770,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 + } } ] } @@ -88543,7 +88688,7 @@ { "name": "has", "in": "query", - "description": "Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple `has` filters can be passed to filter for alerts that have all of the values. Currently, only `patch` is supported.", + "description": "Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple `has` filters can be passed to filter for alerts that have all of the values.", "schema": { "oneOf": [ { @@ -88554,13 +88699,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", @@ -160903,6 +161057,131 @@ "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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } } @@ -161070,7 +161349,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 + } } ] } @@ -164540,6 +164839,1134 @@ } } }, + "/orgs/{org}/settings/immutable-releases": { + "get": { + "summary": "Get immutable releases settings for an organization", + "description": "Gets the immutable releases policy for repositories in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-immutable-releases-settings", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Immutable releases settings response", + "content": { + "application/json": { + "schema": { + "title": "Check immutable releases organization settings", + "description": "Check immutable releases settings for an organization.", + "type": "object", + "properties": { + "enforced_repositories": { + "type": "string", + "description": "The policy that controls how immutable releases are enforced in the organization.", + "enum": [ + "all", + "none", + "selected" + ], + "example": "all" + }, + "selected_repositories_url": { + "type": "string", + "description": "The API URL to use to get or set the selected repositories for immutable releases enforcement, when `enforced_repositories` is set to `selected`." + } + }, + "required": [ + "enforced_repositories" + ] + }, + "examples": { + "default": { + "value": { + "enforced_repositories": "all" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "put": { + "summary": "Set immutable releases settings for an organization", + "description": "Sets the immutable releases policy for repositories in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/set-immutable-releases-settings", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enforced_repositories": { + "type": "string", + "description": "The policy that controls how immutable releases are enforced in the organization.", + "enum": [ + "all", + "none", + "selected" + ], + "example": "all" + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids for which immutable releases enforcement should be applied. You can only provide a list of repository ids when the `enforced_repositories` is set to `selected`. You can add and remove individual repositories using the [Enable a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) and [Disable a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "enforced_repositories" + ] + }, + "examples": { + "default": { + "value": { + "enforced_repositories": "all" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/settings/immutable-releases/repositories": { + "get": { + "summary": "List selected repositories for immutable releases enforcement", + "description": "List all of the repositories that have been selected for immutable releases enforcement in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-immutable-releases-settings-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "repositories" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "title": "Minimal Repository", + "description": "Minimal Repository", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "example": 1296269 + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "type": "string", + "example": "Hello-World" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "has_discussions": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "example": "admin" + }, + "temp_clone_token": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "code_of_conduct": { + "title": "Code Of Conduct", + "description": "Code Of Conduct", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "contributor_covenant" + }, + "name": { + "type": "string", + "example": "Contributor Covenant" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/codes_of_conduct/contributor_covenant" + }, + "body": { + "type": "string", + "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/).\n" + }, + "html_url": { + "type": "string", + "format": "uri", + "nullable": true + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "node_id": { + "type": "string" + } + }, + "nullable": true + }, + "forks": { + "type": "integer", + "example": 0 + }, + "open_issues": { + "type": "integer", + "example": 0 + }, + "watchers": { + "type": "integer", + "example": 0 + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "example": false + }, + "security_and_analysis": { + "nullable": true, + "type": "object", + "properties": { + "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "code_security": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "dependabot_security_updates": { + "description": "Enable or disable Dependabot security updates for the repository.", + "type": "object", + "properties": { + "status": { + "description": "The enablement status of Dependabot security updates for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_push_protection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_non_provider_patterns": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_ai_detection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + } + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "repositories": [ + { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "put": { + "summary": "Set selected repositories for immutable releases enforcement", + "description": "Replaces all repositories that have been selected for immutable releases enforcement in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/set-immutable-releases-settings-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids for which immutable releases enforcement should be applied. You can only provide a list of repository ids when the `enforced_repositories` is set to `selected`. You can add and remove individual repositories using the [Enable a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) and [Disable a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 64780797 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/settings/immutable-releases/repositories/{repository_id}": { + "put": { + "summary": "Enable a selected repository for immutable releases in an organization", + "description": "Adds a repository to the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "operationId": "orgs/enable-selected-repository-immutable-releases-organization", + "tags": [ + "orgs" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "description": "The unique identifier of the repository.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "delete": { + "summary": "Disable a selected repository for immutable releases in an organization", + "description": "Removes a repository from the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "operationId": "orgs/disable-selected-repository-immutable-releases-organization", + "tags": [ + "orgs" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "description": "The unique identifier of the repository.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, "/orgs/{org}/settings/network-configurations": { "get": { "summary": "List hosted compute network configurations for an organization", @@ -313545,17 +314972,97 @@ } } }, - "/repos/{owner}/{repo}/hooks/{hook_id}/tests": { - "post": { - "summary": "Test the push repository webhook", - "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n> [!NOTE]\n> Previously `/repos/:owner/:repo/hooks/:hook_id/test`", + "/repos/{owner}/{repo}/hooks/{hook_id}/tests": { + "post": { + "summary": "Test the push repository webhook", + "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n> [!NOTE]\n> Previously `/repos/:owner/:repo/hooks/:hook_id/test`", + "tags": [ + "repos" + ], + "operationId": "repos/test-push-webhook", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook" + }, + "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" + } + }, + { + "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.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "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\nenforced by the repository owner. The authenticated user must have admin read access to the repository.", "tags": [ "repos" ], - "operationId": "repos/test-push-webhook", + "operationId": "repos/check-immutable-releases", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook" + "url": "https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository" }, "parameters": [ { @@ -313575,23 +315082,93 @@ "schema": { "type": "string" } + } + ], + "responses": { + "200": { + "description": "Response if immutable releases are enabled", + "content": { + "application/json": { + "schema": { + "title": "Check immutable releases", + "description": "Check immutable releases", + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "example": true, + "description": "Whether immutable releases are enabled for the repository." + }, + "enforced_by_owner": { + "type": "boolean", + "example": false, + "description": "Whether immutable releases are enforced by the repository owner." + } + }, + "required": [ + "enabled", + "enforced_by_owner" + ] + }, + "examples": { + "default": { + "value": { + "enabled": true, + "enforced_by_owner": false + } + } + } + } + } }, + "404": { + "description": "Not Found if immutable releases are not enabled for the repository" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "repos" + } + }, + "put": { + "summary": "Enable immutable releases", + "description": "Enables immutable releases for a repository. The authenticated user must have admin access to the repository.", + "tags": [ + "repos" + ], + "operationId": "repos/enable-immutable-releases", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/repos#enable-immutable-releases" + }, + "parameters": [ { - "name": "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.", + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", "in": "path", "required": true, "schema": { - "type": "integer" + "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": "Response" + "description": "A header with no content is returned." }, - "404": { - "description": "Resource not found", + "409": { + "description": "Conflict", "content": { "application/json": { "schema": { @@ -313621,7 +315198,76 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "repos", - "subcategory": "webhooks" + "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" } } }, @@ -461491,6 +463137,131 @@ "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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } } @@ -461591,7 +463362,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 + } } ] } @@ -462484,6 +464275,131 @@ "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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } }, @@ -463442,6 +465358,131 @@ "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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } }, @@ -1165793,165 +1167834,316 @@ ], "nullable": true }, - "resolution_comment": { + "resolution_comment": { + "type": "string", + "description": "An optional comment to resolve an alert.", + "nullable": true + }, + "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", + "description": "Whether push protection was bypassed for the detected secret.", + "nullable": true + }, + "push_protection_bypassed_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypassed_at": { + "type": "string", + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "nullable": true + }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_reviewer_comment": { "type": "string", - "description": "An optional comment to resolve an alert.", + "description": "An optional comment when reviewing a push protection bypass.", "nullable": true }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { + "push_protection_bypass_request_comment": { "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).\"" + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true }, - "validity": { + "push_protection_bypass_request_html_url": { "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "push_protection_bypassed": { - "type": "boolean", - "description": "Whether push protection was bypassed for the detected secret.", + "format": "uri", + "description": "The URL to a push protection bypass request.", "nullable": true }, - "push_protection_bypassed_by": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", "nullable": true }, - "push_protection_bypassed_at": { - "type": "string", - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", "nullable": true }, - "push_protection_bypass_request_reviewer": { + "assigned_to": { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -1166075,32 +1168267,6 @@ "url" ], "nullable": true - }, - "push_protection_bypass_request_reviewer_comment": { - "type": "string", - "description": "An optional comment when reviewing a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_comment": { - "type": "string", - "description": "An optional comment when requesting a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_html_url": { - "type": "string", - "format": "uri", - "description": "The URL to a push protection bypass request.", - "nullable": true - }, - "publicly_leaked": { - "type": "boolean", - "description": "Whether the detected secret was publicly leaked.", - "nullable": true - }, - "multi_repo": { - "type": "boolean", - "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", - "nullable": true } } }, @@ -1168204,6 +1170370,131 @@ "type": "boolean", "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", "nullable": true + }, + "assigned_to": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } }, @@ -1170723,6 +1173014,131 @@ "type": "boolean", "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", "nullable": true + }, + "assigned_to": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } }, @@ -1172800,32 +1175216,157 @@ "url" ], "nullable": true - }, - "push_protection_bypass_request_reviewer_comment": { - "type": "string", - "description": "An optional comment when reviewing a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_comment": { - "type": "string", - "description": "An optional comment when requesting a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_html_url": { - "type": "string", - "format": "uri", - "description": "The URL to a push protection bypass request.", - "nullable": true - }, - "publicly_leaked": { - "type": "boolean", - "description": "Whether the detected secret was publicly leaked.", - "nullable": true - }, - "multi_repo": { - "type": "boolean", - "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", - "nullable": true + }, + "push_protection_bypass_request_reviewer_comment": { + "type": "string", + "description": "An optional comment when reviewing a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", + "nullable": true + }, + "assigned_to": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } }, @@ -1174929,6 +1177470,131 @@ "type": "boolean", "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", "nullable": true + }, + "assigned_to": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } }, @@ -1177032,6 +1179698,131 @@ "type": "boolean", "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", "nullable": true + }, + "assigned_to": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } }, diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index de08744190..188b1fba8c 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -855,7 +855,7 @@ paths: - subscriptions_url - type - url - type: &306 + type: &305 type: string description: The type of credit the user is receiving. enum: @@ -1577,7 +1577,7 @@ paths: schema: type: integer default: 30 - - &186 + - &185 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1593,7 +1593,7 @@ paths: application/json: schema: type: array - items: &187 + items: &186 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1673,7 +1673,7 @@ paths: - installation_id - repository_id examples: - default: &188 + default: &187 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1801,7 +1801,7 @@ paths: description: Response content: application/json: - schema: &189 + schema: &188 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1915,7 +1915,7 @@ paths: - request - response examples: - default: &190 + default: &189 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2845,7 +2845,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &262 + properties: &261 id: description: Unique identifier of the repository example: 42 @@ -3283,7 +3283,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &263 + required: &262 - archive_url - assignees_url - blobs_url @@ -8588,7 +8588,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &173 + - &478 name: has in: query description: |- @@ -8602,7 +8602,7 @@ paths: type: string enum: - patch - - &174 + - &173 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8612,7 +8612,7 @@ paths: enum: - development - runtime - - &175 + - &174 name: sort in: query description: |- @@ -8630,7 +8630,7 @@ paths: - *48 - *40 - *41 - - &176 + - &175 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -8643,7 +8643,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &177 + - &176 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -8663,7 +8663,7 @@ paths: application/json: schema: type: array - items: &178 + items: &177 type: object description: A Dependabot alert. properties: @@ -9017,7 +9017,7 @@ paths: - repository additionalProperties: false examples: - default: &179 + default: &178 value: - number: 2 state: dismissed @@ -9364,7 +9364,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *42 - - &294 + - &293 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9375,7 +9375,7 @@ paths: enum: - open - resolved - - &295 + - &294 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -9385,7 +9385,7 @@ paths: required: false schema: type: string - - &296 + - &295 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9394,7 +9394,7 @@ paths: required: false schema: type: string - - &297 + - &296 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -9410,7 +9410,7 @@ paths: - *17 - *40 - *41 - - &298 + - &297 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9419,7 +9419,7 @@ paths: required: false schema: type: string - - &299 + - &298 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9428,7 +9428,7 @@ paths: schema: type: boolean default: false - - &300 + - &299 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9437,7 +9437,7 @@ paths: schema: type: boolean default: false - - &301 + - &300 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -9453,7 +9453,7 @@ paths: application/json: schema: type: array - items: &302 + items: &301 type: object properties: number: *54 @@ -9853,8 +9853,15 @@ 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: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true examples: - default: &303 + default: &302 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -10010,6 +10017,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: *58 '404': *6 @@ -10771,7 +10797,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &249 + properties: &248 url: type: string format: uri @@ -10841,7 +10867,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &250 + required: &249 - closed_issues - creator - description @@ -10920,7 +10946,7 @@ paths: timeline_url: type: string format: uri - type: &208 + type: &207 title: Issue Type description: The type of issue. type: object @@ -13588,7 +13614,7 @@ paths: - closed - all default: open - - &211 + - &210 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -13639,7 +13665,7 @@ paths: type: array items: *84 examples: - default: &212 + default: &211 value: - id: 1 node_id: MDU6SXNzdWUx @@ -15024,14 +15050,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &329 + - &328 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &330 + - &329 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -15102,7 +15128,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &338 + '301': &337 description: Moved permanently content: application/json: @@ -15178,7 +15204,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &181 + properties: &180 id: type: integer format: int64 @@ -15454,7 +15480,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &264 + security_and_analysis: &263 nullable: true type: object properties: @@ -15528,7 +15554,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &182 + required: &181 - archive_url - assignees_url - blobs_url @@ -16158,7 +16184,7 @@ paths: application/json: schema: type: array - items: &217 + items: &216 title: Organization Simple description: A GitHub organization. type: object @@ -17591,7 +17617,7 @@ paths: type: integer repository_cache_usages: type: array - items: &343 + items: &342 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -18458,7 +18484,7 @@ paths: - all - local_only - selected - selected_actions_url: &349 + selected_actions_url: &348 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -18541,7 +18567,7 @@ paths: description: Response content: application/json: - schema: &353 + schema: &352 type: object properties: days: @@ -18583,7 +18609,7 @@ paths: required: true content: application/json: - schema: &354 + schema: &353 type: object properties: days: @@ -18640,7 +18666,7 @@ paths: required: - approval_policy examples: - default: &355 + default: &354 value: approval_policy: first_time_contributors '404': *6 @@ -18699,7 +18725,7 @@ paths: description: Response content: application/json: - schema: &356 + schema: &355 type: object required: - run_workflows_from_fork_pull_requests @@ -18753,7 +18779,7 @@ paths: required: true content: application/json: - schema: &357 + schema: &356 type: object required: - run_workflows_from_fork_pull_requests @@ -19388,7 +19414,7 @@ paths: description: Response content: application/json: - schema: &358 + schema: &357 type: object properties: default_workflow_permissions: &128 @@ -19439,7 +19465,7 @@ paths: required: false content: application/json: - schema: &359 + schema: &358 type: object properties: default_workflow_permissions: *128 @@ -20570,7 +20596,7 @@ paths: application/json: schema: type: array - items: &360 + items: &359 title: Runner Application description: Runner Application type: object @@ -20595,7 +20621,7 @@ paths: - download_url - filename examples: - default: &361 + default: &360 value: - os: osx architecture: x64 @@ -20681,7 +20707,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &362 + '201': &361 description: Response content: application/json: @@ -20792,7 +20818,7 @@ paths: - token - expires_at examples: - default: &363 + default: &362 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -20831,7 +20857,7 @@ paths: application/json: schema: *139 examples: - default: &364 + default: &363 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -20865,7 +20891,7 @@ paths: application/json: schema: *137 examples: - default: &365 + default: &364 value: id: 23 name: MBP @@ -21091,7 +21117,7 @@ paths: - *103 - *136 responses: - '200': &366 + '200': &365 description: Response content: application/json: @@ -21148,7 +21174,7 @@ paths: parameters: - *103 - *136 - - &367 + - &366 name: name description: The name of a self-hosted runner's custom label. in: path @@ -21278,7 +21304,7 @@ paths: description: Response content: application/json: - schema: &379 + schema: &378 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -21307,7 +21333,7 @@ paths: - key_id - key examples: - default: &380 + default: &379 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -21720,7 +21746,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *103 - - &348 + - &347 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -22798,7 +22824,7 @@ paths: initiator: type: string examples: - default: &393 + default: &392 value: attestations: - bundle: @@ -23149,7 +23175,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &224 + properties: &223 id: description: Unique identifier of the team type: integer @@ -23221,7 +23247,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &225 + required: &224 - id - node_id - url @@ -23722,7 +23748,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *103 - - &419 + - &418 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -23732,7 +23758,7 @@ paths: schema: &154 type: string description: The name of the tool used to generate the code scanning analysis. - - &420 + - &419 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -23755,7 +23781,7 @@ paths: be returned. in: query required: false - schema: &422 + schema: &421 type: string description: State of a code scanning alert. enum: @@ -23778,7 +23804,7 @@ paths: be returned. in: query required: false - schema: &423 + schema: &422 type: string description: Severity of a code scanning alert. enum: @@ -23804,7 +23830,7 @@ paths: updated_at: *151 url: *56 html_url: *57 - instances_url: &424 + instances_url: &423 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -23827,7 +23853,7 @@ paths: required: *21 nullable: true dismissed_at: *153 - dismissed_reason: &425 + dismissed_reason: &424 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -23836,13 +23862,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &426 + dismissed_comment: &425 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &427 + rule: &426 type: object properties: id: @@ -23895,7 +23921,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &428 + tool: &427 type: object properties: name: *154 @@ -23905,15 +23931,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *155 - most_recent_instance: &429 + most_recent_instance: &428 type: object properties: - ref: &421 + ref: &420 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &439 + analysis_key: &438 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -23924,7 +23950,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &440 + category: &439 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -25218,7 +25244,7 @@ paths: type: integer codespaces: type: array - items: &213 + items: &212 type: object title: Codespace description: A codespace. @@ -25248,7 +25274,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &452 + properties: &451 name: type: string description: The name of the machine. @@ -25290,7 +25316,7 @@ paths: - ready - in_progress nullable: true - required: &453 + required: &452 - name - display_name - operating_system @@ -25495,7 +25521,7 @@ paths: - pulls_url - recent_folders examples: - default: &214 + default: &213 value: total_count: 3 codespaces: @@ -26158,7 +26184,7 @@ paths: - updated_at - visibility examples: - default: &454 + default: &453 value: total_count: 2 secrets: @@ -26196,7 +26222,7 @@ paths: description: Response content: application/json: - schema: &455 + schema: &454 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -26225,7 +26251,7 @@ paths: - key_id - key examples: - default: &456 + default: &455 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26257,7 +26283,7 @@ paths: application/json: schema: *164 examples: - default: &458 + default: &457 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -26724,7 +26750,7 @@ paths: currently being billed. seats: type: array - items: &216 + items: &215 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -27255,7 +27281,7 @@ paths: application/json: schema: type: array - items: &311 + items: &310 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -27562,7 +27588,7 @@ paths: - date additionalProperties: true examples: - default: &312 + default: &311 value: - date: '2024-06-24' total_active_users: 24 @@ -27664,7 +27690,7 @@ paths: '500': *104 '403': *29 '404': *6 - '422': &313 + '422': &312 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -27712,14 +27738,35 @@ paths: Can be: `jfrog-artifactory` schema: type: string + - name: has + in: query + description: |- + Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned. + Multiple `has` filters can be passed to filter for alerts that have all of the values. + schema: + oneOf: + - type: string + - type: array + items: + type: string + enum: + - patch + - deployment + - name: runtime_risk + in: query + description: |- + A comma-separated list of runtime risk strings. If specified, only alerts for repositories with deployment records matching these risks will be returned. + + Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` + schema: + type: string - *173 - *174 - - *175 - *48 - *40 - *41 + - *175 - *176 - - *177 - *17 responses: '200': @@ -27728,9 +27775,9 @@ paths: application/json: schema: type: array - items: *178 + items: *177 examples: - default: *179 + default: *178 '304': *37 '400': *14 '403': *29 @@ -27774,7 +27821,7 @@ paths: type: integer secrets: type: array - items: &180 + items: &179 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -27898,7 +27945,7 @@ paths: description: Response content: application/json: - schema: *180 + schema: *179 examples: default: value: @@ -28195,7 +28242,7 @@ paths: application/json: schema: type: array - items: &227 + items: &226 title: Package description: A software package type: object @@ -28245,8 +28292,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *181 - required: *182 + properties: *180 + required: *181 nullable: true created_at: type: string @@ -28265,7 +28312,7 @@ paths: - created_at - updated_at examples: - default: &228 + default: &227 value: - id: 197 name: hello_docker @@ -28432,7 +28479,7 @@ paths: application/json: schema: type: array - items: &205 + items: &204 title: Organization Invitation description: Organization Invitation type: object @@ -28479,7 +28526,7 @@ paths: - invitation_teams_url - node_id examples: - default: &206 + default: &205 value: - id: 1 login: monalisa @@ -28546,7 +28593,7 @@ paths: application/json: schema: type: array - items: &183 + items: &182 title: Org Hook description: Org Hook type: object @@ -28717,9 +28764,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *182 examples: - default: &184 + default: &183 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -28767,7 +28814,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *103 - - &185 + - &184 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -28780,9 +28827,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *182 examples: - default: *184 + default: *183 '404': *6 x-github: githubCloudOnly: false @@ -28810,7 +28857,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *103 - - *185 + - *184 requestBody: required: false content: @@ -28855,7 +28902,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *182 examples: default: value: @@ -28897,7 +28944,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *103 - - *185 + - *184 responses: '204': description: Response @@ -28925,7 +28972,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *103 - - *185 + - *184 responses: '200': description: Response @@ -28956,7 +29003,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *103 - - *185 + - *184 requestBody: required: false content: @@ -29007,9 +29054,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *103 - - *185 + - *184 - *17 - - *186 + - *185 responses: '200': description: Response @@ -29017,9 +29064,9 @@ paths: application/json: schema: type: array - items: *187 + items: *186 examples: - default: *188 + default: *187 '400': *14 '422': *15 x-github: @@ -29045,16 +29092,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *103 - - *185 + - *184 - *16 responses: '200': description: Response content: application/json: - schema: *189 + schema: *188 examples: - default: *190 + default: *189 '400': *14 '422': *15 x-github: @@ -29080,7 +29127,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *103 - - *185 + - *184 - *16 responses: '202': *39 @@ -29110,7 +29157,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *103 - - *185 + - *184 responses: '204': description: Response @@ -29133,7 +29180,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *103 - - &195 + - &194 name: actor_type in: path description: The type of the actor @@ -29146,14 +29193,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &196 + - &195 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &191 + - &190 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -29161,7 +29208,7 @@ paths: required: true schema: type: string - - &192 + - &191 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -29255,12 +29302,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *103 + - *190 - *191 - - *192 - *19 - *17 - *48 - - &201 + - &200 name: sort description: The property to sort the results by. in: query @@ -29339,14 +29386,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *103 + - *190 - *191 - - *192 responses: '200': description: Response content: application/json: - schema: &193 + schema: &192 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -29362,7 +29409,7 @@ paths: type: integer format: int64 examples: - default: &194 + default: &193 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -29383,23 +29430,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *103 - - &197 + - &196 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string + - *190 - *191 - - *192 responses: '200': description: Response content: application/json: - schema: *193 + schema: *192 examples: - default: *194 + default: *193 x-github: enabledForGitHubApps: true category: orgs @@ -29418,18 +29465,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *103 + - *190 - *191 - - *192 + - *194 - *195 - - *196 responses: '200': description: Response content: application/json: - schema: *193 + schema: *192 examples: - default: *194 + default: *193 x-github: enabledForGitHubApps: true category: orgs @@ -29447,9 +29494,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *103 + - *190 - *191 - - *192 - - &198 + - &197 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -29462,7 +29509,7 @@ paths: description: Response content: application/json: - schema: &199 + schema: &198 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -29478,7 +29525,7 @@ paths: type: integer format: int64 examples: - default: &200 + default: &199 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -29515,18 +29562,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *103 - - *197 + - *196 + - *190 - *191 - - *192 - - *198 + - *197 responses: '200': description: Response content: application/json: - schema: *199 + schema: *198 examples: - default: *200 + default: *199 x-github: enabledForGitHubApps: true category: orgs @@ -29544,19 +29591,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *103 + - *194 - *195 - - *196 + - *190 - *191 - - *192 - - *198 + - *197 responses: '200': description: Response content: application/json: - schema: *199 + schema: *198 examples: - default: *200 + default: *199 x-github: enabledForGitHubApps: true category: orgs @@ -29574,13 +29621,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *103 - - *197 + - *196 + - *190 - *191 - - *192 - *19 - *17 - *48 - - *201 + - *200 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -29827,12 +29874,12 @@ paths: application/json: schema: anyOf: - - &203 + - &202 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &202 + limit: &201 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -29857,7 +29904,7 @@ paths: properties: {} additionalProperties: false examples: - default: &204 + default: &203 value: limit: collaborators_only origin: organization @@ -29892,7 +29939,7 @@ paths: duration type: object properties: - limit: *202 + limit: *201 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -29916,9 +29963,9 @@ paths: description: Response content: application/json: - schema: *203 + schema: *202 examples: - default: *204 + default: *203 '422': *15 x-github: githubCloudOnly: false @@ -29994,9 +30041,9 @@ paths: application/json: schema: type: array - items: *205 + items: *204 examples: - default: *206 + default: *205 headers: Link: *58 '404': *6 @@ -30073,7 +30120,7 @@ paths: description: Response content: application/json: - schema: *205 + schema: *204 examples: default: value: @@ -30128,7 +30175,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *103 - - &207 + - &206 name: invitation_id description: The unique identifier of the invitation. in: path @@ -30159,7 +30206,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *103 - - *207 + - *206 - *17 - *19 responses: @@ -30171,7 +30218,7 @@ paths: type: array items: *167 examples: - default: &226 + default: &225 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -30214,7 +30261,7 @@ paths: application/json: schema: type: array - items: *208 + items: *207 examples: default: value: @@ -30299,9 +30346,9 @@ paths: description: Response content: application/json: - schema: *208 + schema: *207 examples: - default: &209 + default: &208 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -30334,7 +30381,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *103 - - &210 + - &209 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -30387,9 +30434,9 @@ paths: description: Response content: application/json: - schema: *208 + schema: *207 examples: - default: *209 + default: *208 '404': *6 '422': *7 x-github: @@ -30414,7 +30461,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *103 - - *210 + - *209 responses: '204': description: Response @@ -30477,7 +30524,7 @@ paths: - closed - all default: open - - *211 + - *210 - name: type description: Can be the name of an issue type. in: query @@ -30508,7 +30555,7 @@ paths: type: array items: *84 examples: - default: *212 + default: *211 headers: Link: *58 '404': *6 @@ -30667,9 +30714,9 @@ paths: type: integer codespaces: type: array - items: *213 + items: *212 examples: - default: *214 + default: *213 '304': *37 '500': *104 '401': *25 @@ -30696,7 +30743,7 @@ paths: parameters: - *103 - *63 - - &215 + - &214 name: codespace_name in: path required: true @@ -30731,15 +30778,15 @@ paths: parameters: - *103 - *63 - - *215 + - *214 responses: '200': description: Response content: application/json: - schema: *213 + schema: *212 examples: - default: &451 + default: &450 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -30919,7 +30966,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *216 + schema: *215 examples: default: value: @@ -30995,7 +31042,7 @@ paths: description: Response content: application/json: - schema: &218 + schema: &217 title: Org Membership description: Org Membership type: object @@ -31039,7 +31086,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *217 + organization: *216 user: title: Simple User description: A GitHub user. @@ -31062,7 +31109,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &219 + response-if-user-has-an-active-admin-membership-with-organization: &218 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -31159,9 +31206,9 @@ paths: description: Response content: application/json: - schema: *218 + schema: *217 examples: - response-if-user-already-had-membership-with-organization: *219 + response-if-user-already-had-membership-with-organization: *218 '422': *15 '403': *29 x-github: @@ -31232,7 +31279,7 @@ paths: application/json: schema: type: array - items: &220 + items: &219 title: Migration description: A migration. type: object @@ -31561,7 +31608,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *219 examples: default: value: @@ -31740,7 +31787,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *103 - - &221 + - &220 name: migration_id description: The unique identifier of the migration. in: path @@ -31767,7 +31814,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *220 + schema: *219 examples: default: value: @@ -31937,7 +31984,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *103 - - *221 + - *220 responses: '302': description: Response @@ -31959,7 +32006,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *103 - - *221 + - *220 responses: '204': description: Response @@ -31983,7 +32030,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *103 - - *221 + - *220 - &671 name: repo_name description: repo_name parameter @@ -32012,7 +32059,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *103 - - *221 + - *220 - *17 - *19 responses: @@ -32024,7 +32071,7 @@ paths: type: array items: *135 examples: - default: &233 + default: &232 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -32177,7 +32224,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &223 + items: &222 title: Organization Role description: Organization roles type: object @@ -32352,7 +32399,7 @@ paths: parameters: - *103 - *65 - - &222 + - &221 name: role_id description: The unique identifier of the role. in: path @@ -32389,7 +32436,7 @@ paths: parameters: - *103 - *65 - - *222 + - *221 responses: '204': description: Response @@ -32442,7 +32489,7 @@ paths: parameters: - *103 - *63 - - *222 + - *221 responses: '204': description: Response @@ -32474,7 +32521,7 @@ paths: parameters: - *103 - *63 - - *222 + - *221 responses: '204': description: Response @@ -32503,13 +32550,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *103 - - *222 + - *221 responses: '200': description: Response content: application/json: - schema: *223 + schema: *222 examples: default: value: @@ -32560,7 +32607,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *103 - - *222 + - *221 - *17 - *19 responses: @@ -32638,8 +32685,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *224 - required: *225 + properties: *223 + required: *224 nullable: true type: description: The ownership type of the team @@ -32671,7 +32718,7 @@ paths: - type - parent examples: - default: *226 + default: *225 headers: Link: *58 '404': @@ -32701,7 +32748,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *103 - - *222 + - *221 - *17 - *19 responses: @@ -32729,13 +32776,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &307 + items: &306 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *224 - required: *225 + properties: *223 + required: *224 name: nullable: true type: string @@ -33059,9 +33106,9 @@ paths: application/json: schema: type: array - items: *227 + items: *226 examples: - default: *228 + default: *227 '403': *29 '401': *25 '400': &675 @@ -33086,7 +33133,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &229 + - &228 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -33104,7 +33151,7 @@ paths: - docker - nuget - container - - &230 + - &229 name: package_name description: The name of the package. in: path @@ -33117,7 +33164,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *226 examples: default: value: @@ -33169,8 +33216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: + - *228 - *229 - - *230 - *103 responses: '204': @@ -33203,8 +33250,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: + - *228 - *229 - - *230 - *103 - name: token description: package token @@ -33237,8 +33284,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: + - *228 - *229 - - *230 - *103 - *19 - *17 @@ -33259,7 +33306,7 @@ paths: application/json: schema: type: array - items: &231 + items: &230 title: Package Version description: A version of a software package type: object @@ -33384,10 +33431,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: + - *228 - *229 - - *230 - *103 - - &232 + - &231 name: package_version_id description: Unique identifier of the package version. in: path @@ -33399,7 +33446,7 @@ paths: description: Response content: application/json: - schema: *231 + schema: *230 examples: default: value: @@ -33435,10 +33482,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: + - *228 - *229 - - *230 - *103 - - *232 + - *231 responses: '204': description: Response @@ -33470,10 +33517,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: + - *228 - *229 - - *230 - *103 - - *232 + - *231 responses: '204': description: Response @@ -33503,7 +33550,7 @@ paths: - *103 - *17 - *19 - - &234 + - &233 name: sort description: The property by which to sort the results. in: query @@ -33514,7 +33561,7 @@ paths: - created_at default: created_at - *48 - - &235 + - &234 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -33525,7 +33572,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &236 + - &235 name: repository description: The name of the repository to use to filter the results. in: query @@ -33533,7 +33580,7 @@ paths: schema: type: string example: Hello-World - - &237 + - &236 name: permission description: The permission to use to filter the results. in: query @@ -33541,7 +33588,7 @@ paths: schema: type: string example: issues_read - - &238 + - &237 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -33551,7 +33598,7 @@ paths: schema: type: string format: date-time - - &239 + - &238 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -33561,7 +33608,7 @@ paths: schema: type: string format: date-time - - &240 + - &239 name: token_id description: The ID of the token in: query @@ -33874,7 +33921,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 x-github: @@ -33900,14 +33947,14 @@ paths: - *103 - *17 - *19 - - *234 + - *233 - *48 + - *234 - *235 - *236 - *237 - *238 - *239 - - *240 responses: '500': *104 '422': *15 @@ -34189,7 +34236,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 x-github: @@ -34231,7 +34278,7 @@ paths: type: integer configurations: type: array - items: &241 + items: &240 title: Organization private registry description: Private registry configuration for an organization type: object @@ -34484,7 +34531,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &242 + org-private-registry-with-selected-visibility: &241 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -34580,9 +34627,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *241 + schema: *240 examples: - default: *242 + default: *241 '404': *6 x-github: githubCloudOnly: false @@ -34746,7 +34793,7 @@ paths: application/json: schema: type: array - items: &243 + items: &242 title: Project description: Projects are a way to organize columns and cards of work. @@ -34919,7 +34966,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *242 examples: default: value: @@ -34957,7 +35004,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &335 + '410': &334 description: Gone content: application/json: @@ -35000,7 +35047,7 @@ paths: application/json: schema: type: array - items: &244 + items: &243 title: Projects v2 Project description: A projects v2 project type: object @@ -35143,7 +35190,7 @@ paths: - deleted_at - deleted_by examples: - default: &245 + default: &244 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -35246,7 +35293,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &246 + - &245 name: project_number description: The project's number. in: path @@ -35259,9 +35306,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *243 examples: - default: *245 + default: *244 headers: Link: *58 '304': *37 @@ -35283,7 +35330,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *246 + - *245 - *103 - *17 - *40 @@ -35295,7 +35342,7 @@ paths: application/json: schema: type: array - items: &247 + items: &246 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -35442,7 +35489,7 @@ paths: - updated_at - project_url examples: - default: &248 + default: &247 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -35485,7 +35532,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *246 + - *245 - &692 name: field_id description: The unique identifier of the field. @@ -35499,9 +35546,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *246 examples: - default: *248 + default: *247 headers: Link: *58 '304': *37 @@ -35524,7 +35571,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *246 + - *245 - *103 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -35554,7 +35601,7 @@ paths: application/json: schema: type: array - items: &254 + items: &253 title: Projects v2 Item description: An item belonging to a project type: object @@ -35570,7 +35617,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: &252 + content_type: &251 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -35620,7 +35667,7 @@ paths: - updated_at - archived_at examples: - default: &255 + default: &254 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -36315,7 +36362,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *103 - - *246 + - *245 requestBody: required: true description: Details of the item to add to the project. @@ -36366,7 +36413,7 @@ paths: content: oneOf: - *84 - - &466 + - &465 title: Pull Request Simple description: Pull Request Simple type: object @@ -36472,8 +36519,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *249 - required: *250 + properties: *248 + required: *249 nullable: true active_lock_reason: type: string @@ -36569,7 +36616,7 @@ paths: _links: type: object properties: - comments: &251 + comments: &250 title: Link description: Hypermedia Link type: object @@ -36578,13 +36625,13 @@ paths: type: string required: - href - commits: *251 - statuses: *251 - html: *251 - issue: *251 - review_comments: *251 - review_comment: *251 - self: *251 + commits: *250 + statuses: *250 + html: *250 + issue: *250 + review_comments: *250 + review_comment: *250 + self: *250 required: - comments - commits @@ -36697,7 +36744,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *252 + content_type: *251 creator: *4 created_at: type: string @@ -36730,7 +36777,7 @@ paths: - updated_at - archived_at examples: - issue: &253 + issue: &252 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -36785,7 +36832,7 @@ paths: archived_at: project_url: https://api.github.com/users/octocat/projectsV2/1 item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *253 + pull_request: *252 '304': *37 '403': *29 '401': *25 @@ -36805,9 +36852,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *246 + - *245 - *103 - - &256 + - &255 name: item_id description: The unique identifier of the project item. in: path @@ -36830,9 +36877,9 @@ paths: description: Response content: application/json: - schema: *254 + schema: *253 examples: - default: *255 + default: *254 headers: Link: *58 '304': *37 @@ -36853,9 +36900,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *246 + - *245 - *103 - - *256 + - *255 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -36925,13 +36972,13 @@ paths: description: Response content: application/json: - schema: *254 + schema: *253 examples: - text_field: *255 - number_field: *255 - date_field: *255 - single_select_field: *255 - iteration_field: *255 + text_field: *254 + number_field: *254 + date_field: *254 + single_select_field: *254 + iteration_field: *254 '401': *25 '403': *29 '404': *6 @@ -36951,9 +36998,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *246 + - *245 - *103 - - *256 + - *255 responses: '204': description: Response @@ -36985,7 +37032,7 @@ paths: application/json: schema: type: array - items: &257 + items: &256 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -37051,7 +37098,7 @@ paths: - property_name - value_type examples: - default: &258 + default: &257 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -37110,7 +37157,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *257 + items: *256 minItems: 1 maxItems: 100 required: @@ -37140,9 +37187,9 @@ paths: application/json: schema: type: array - items: *257 + items: *256 examples: - default: *258 + default: *257 '403': *29 '404': *6 x-github: @@ -37164,7 +37211,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *103 - - &259 + - &258 name: custom_property_name description: The custom property name in: path @@ -37176,9 +37223,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *256 examples: - default: &260 + default: &259 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -37213,7 +37260,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *103 - - *259 + - *258 requestBody: required: true content: @@ -37282,9 +37329,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *256 examples: - default: *260 + default: *259 '403': *29 '404': *6 x-github: @@ -37308,7 +37355,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *103 - - *259 + - *258 responses: '204': *161 '403': *29 @@ -37369,7 +37416,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &261 + items: &260 title: Custom Property Value description: Custom property name and associated value type: object @@ -37456,7 +37503,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *261 + items: *260 required: - repository_names - properties @@ -37648,7 +37695,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 x-github: @@ -37850,7 +37897,7 @@ paths: description: Response content: application/json: - schema: &337 + schema: &336 title: Full Repository description: Full Repository type: object @@ -38127,8 +38174,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *262 - required: *263 + properties: *261 + required: *262 nullable: true temp_clone_token: type: string @@ -38243,7 +38290,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &471 + properties: &470 url: type: string format: uri @@ -38259,12 +38306,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &472 + required: &471 - url - key - name - html_url - security_and_analysis: *264 + security_and_analysis: *263 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -38348,7 +38395,7 @@ paths: - network_count - subscribers_count examples: - default: &339 + default: &338 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -38887,7 +38934,7 @@ paths: application/json: schema: type: array - items: &290 + items: &289 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -38922,7 +38969,7 @@ paths: source: type: string description: The name of the source - enforcement: &267 + enforcement: &266 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -38935,7 +38982,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &268 + items: &267 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -39005,7 +39052,7 @@ paths: conditions: nullable: true anyOf: - - &265 + - &264 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -39029,7 +39076,7 @@ paths: match. items: type: string - - &269 + - &268 title: Organization ruleset conditions type: object description: |- @@ -39043,7 +39090,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *265 + - *264 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -39077,7 +39124,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *265 + - *264 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -39099,7 +39146,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *265 + - *264 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -39112,7 +39159,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &266 + items: &265 title: Repository ruleset property targeting definition type: object @@ -39145,7 +39192,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *266 + items: *265 required: - repository_property rules: @@ -39155,7 +39202,7 @@ paths: type: object description: A repository rule. oneOf: - - &270 + - &269 title: creation description: Only allow users with bypass permission to create matching refs. @@ -39167,7 +39214,7 @@ paths: type: string enum: - creation - - &271 + - &270 title: update description: Only allow users with bypass permission to update matching refs. @@ -39188,7 +39235,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &272 + - &271 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -39200,7 +39247,7 @@ paths: type: string enum: - deletion - - &273 + - &272 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -39290,7 +39337,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &274 + - &273 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -39314,7 +39361,7 @@ paths: type: string required: - required_deployment_environments - - &275 + - &274 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -39326,7 +39373,7 @@ paths: type: string enum: - required_signatures - - &276 + - &275 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -39388,7 +39435,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &277 + - &276 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -39436,7 +39483,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &278 + - &277 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -39448,7 +39495,7 @@ paths: type: string enum: - non_fast_forward - - &279 + - &278 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -39484,7 +39531,7 @@ paths: required: - operator - pattern - - &280 + - &279 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -39520,7 +39567,7 @@ paths: required: - operator - pattern - - &281 + - &280 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -39556,7 +39603,7 @@ paths: required: - operator - pattern - - &282 + - &281 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -39592,7 +39639,7 @@ paths: required: - operator - pattern - - &283 + - &282 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -39628,7 +39675,7 @@ paths: required: - operator - pattern - - &284 + - &283 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -39653,7 +39700,7 @@ paths: type: string required: - restricted_file_paths - - &285 + - &284 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -39677,7 +39724,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &286 + - &285 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -39700,7 +39747,7 @@ paths: type: string required: - restricted_file_extensions - - &287 + - &286 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -39725,7 +39772,7 @@ paths: maximum: 100 required: - max_file_size - - &288 + - &287 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -39775,7 +39822,7 @@ paths: - repository_id required: - workflows - - &289 + - &288 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -39934,20 +39981,21 @@ paths: - push - repository default: branch - enforcement: *267 + enforcement: *266 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *268 - conditions: *269 + items: *267 + conditions: *268 rules: type: array description: An array of rules within the ruleset. - items: &292 + items: &291 title: Repository Rule type: object description: A repository rule. oneOf: + - *269 - *270 - *271 - *272 @@ -39967,7 +40015,6 @@ paths: - *286 - *287 - *288 - - *289 required: - name - enforcement @@ -40005,9 +40052,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *289 examples: - default: &291 + default: &290 value: id: 21 name: super cool ruleset @@ -40407,9 +40454,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *289 examples: - default: *291 + default: *290 '404': *6 '500': *104 put: @@ -40453,16 +40500,16 @@ paths: - tag - push - repository - enforcement: *267 + enforcement: *266 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *268 - conditions: *269 + items: *267 + conditions: *268 rules: description: An array of rules within the ruleset. type: array - items: *292 + items: *291 examples: default: value: @@ -40497,9 +40544,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *289 examples: - default: *291 + default: *290 '404': *6 '500': *104 delete: @@ -40556,7 +40603,7 @@ paths: application/json: schema: type: array - items: &293 + items: &292 title: Ruleset version type: object description: The historical version of a ruleset @@ -40635,7 +40682,7 @@ paths: application/json: schema: &604 allOf: - - *293 + - *292 - type: object required: - state @@ -40705,10 +40752,10 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *103 + - *293 - *294 - *295 - *296 - - *297 - *48 - *19 - *17 @@ -40732,10 +40779,10 @@ paths: required: false schema: type: string + - *297 - *298 - *299 - *300 - - *301 responses: '200': description: Response @@ -40743,9 +40790,9 @@ paths: application/json: schema: type: array - items: *302 + items: *301 examples: - default: *303 + default: *302 headers: Link: *58 '404': *6 @@ -40786,7 +40833,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &305 + pattern_config_version: &304 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -40795,7 +40842,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &304 + items: &303 type: object properties: token_type: @@ -40861,7 +40908,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *304 + items: *303 examples: default: value: @@ -40918,7 +40965,7 @@ paths: schema: type: object properties: - pattern_config_version: *305 + pattern_config_version: *304 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -40944,7 +40991,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *305 + custom_pattern_version: *304 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -41262,7 +41309,7 @@ paths: login: type: string description: The username of the user credited. - type: *306 + type: *305 credits_detailed: type: array nullable: true @@ -41272,7 +41319,7 @@ paths: type: object properties: user: *4 - type: *306 + type: *305 state: type: string description: The state of the user's acceptance of the @@ -41720,9 +41767,9 @@ paths: application/json: schema: type: array - items: *307 + items: *306 examples: - default: *226 + default: *225 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41991,6 +42038,247 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/orgs/{org}/settings/immutable-releases": + get: + summary: Get immutable releases settings for an organization + description: |- + Gets the immutable releases policy for repositories in an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/get-immutable-releases-settings + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization + parameters: + - *103 + responses: + '200': + description: Immutable releases settings response + content: + application/json: + schema: + title: Check immutable releases organization settings + description: Check immutable releases settings for an organization. + type: object + properties: + enforced_repositories: + type: string + description: The policy that controls how immutable releases are + enforced in the organization. + enum: + - all + - none + - selected + example: all + selected_repositories_url: + type: string + description: The API URL to use to get or set the selected repositories + for immutable releases enforcement, when `enforced_repositories` + is set to `selected`. + required: + - enforced_repositories + examples: + default: + value: + enforced_repositories: all + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + put: + summary: Set immutable releases settings for an organization + description: |- + Sets the immutable releases policy for repositories in an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/set-immutable-releases-settings + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization + parameters: + - *103 + responses: + '204': + description: Response + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enforced_repositories: + type: string + description: The policy that controls how immutable releases are + enforced in the organization. + enum: + - all + - none + - selected + example: all + selected_repository_ids: + type: array + description: An array of repository ids for which immutable releases + enforcement should be applied. You can only provide a list of + repository ids when the `enforced_repositories` is set to `selected`. + You can add and remove individual repositories using the [Enable + a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) + and [Disable a selected repository for immutable releases in an + organization](https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) + endpoints. + items: + type: integer + required: + - enforced_repositories + examples: + default: + value: + enforced_repositories: all + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + "/orgs/{org}/settings/immutable-releases/repositories": + get: + summary: List selected repositories for immutable releases enforcement + description: |- + List all of the repositories that have been selected for immutable releases enforcement in an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/get-immutable-releases-settings-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement + parameters: + - *103 + - *19 + - *17 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - repositories + properties: + total_count: + type: integer + repositories: + type: array + items: *135 + examples: + default: *147 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + put: + summary: Set selected repositories for immutable releases enforcement + description: |- + Replaces all repositories that have been selected for immutable releases enforcement in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/set-immutable-releases-settings-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement + parameters: + - *103 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + type: array + description: An array of repository ids for which immutable releases + enforcement should be applied. You can only provide a list of + repository ids when the `enforced_repositories` is set to `selected`. + You can add and remove individual repositories using the [Enable + a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) + and [Disable a selected repository for immutable releases in an + organization](https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) + endpoints. + items: + type: integer + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 64780797 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + "/orgs/{org}/settings/immutable-releases/repositories/{repository_id}": + put: + summary: Enable a selected repository for immutable releases in an organization + description: |- + Adds a repository to the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: orgs/enable-selected-repository-immutable-releases-organization + tags: + - orgs + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization + parameters: + - *103 + - *124 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + delete: + summary: Disable a selected repository for immutable releases in an organization + description: |- + Removes a repository from the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: orgs/disable-selected-repository-immutable-releases-organization + tags: + - orgs + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization + parameters: + - *103 + - *124 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs "/orgs/{org}/settings/network-configurations": get: summary: List hosted compute network configurations for an organization @@ -42023,7 +42311,7 @@ paths: type: integer network_configurations: type: array - items: &308 + items: &307 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -42143,9 +42431,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *307 examples: - default: &309 + default: &308 value: id: 123456789ABCDEF name: My network configuration @@ -42174,7 +42462,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *103 - - &310 + - &309 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -42186,9 +42474,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *307 examples: - default: *309 + default: *308 headers: Link: *58 x-github: @@ -42210,7 +42498,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *103 - - *310 + - *309 requestBody: required: true content: @@ -42249,9 +42537,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *307 examples: - default: *309 + default: *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42271,7 +42559,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *103 - - *310 + - *309 responses: '204': description: Response @@ -42411,13 +42699,13 @@ paths: application/json: schema: type: array - items: *311 + items: *310 examples: - default: *312 + default: *311 '500': *104 '403': *29 '404': *6 - '422': *313 + '422': *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42447,7 +42735,7 @@ paths: type: array items: *167 examples: - default: *226 + default: *225 headers: Link: *58 '403': *29 @@ -42541,7 +42829,7 @@ paths: description: Response content: application/json: - schema: &314 + schema: &313 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -42604,8 +42892,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *224 - required: *225 + properties: *223 + required: *224 nullable: true members_count: type: integer @@ -42868,7 +43156,7 @@ paths: - repos_count - organization examples: - default: &315 + default: &314 value: id: 1 node_id: MDQ6VGVhbTE= @@ -42945,9 +43233,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *313 examples: - default: *315 + default: *314 '404': *6 x-github: githubCloudOnly: false @@ -43031,16 +43319,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *314 + schema: *313 examples: - default: *315 + default: *314 '201': description: Response content: application/json: - schema: *314 + schema: *313 examples: - default: *315 + default: *314 '404': *6 '422': *15 '403': *29 @@ -43110,7 +43398,7 @@ paths: application/json: schema: type: array - items: &316 + items: &315 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -43318,9 +43606,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *315 examples: - default: &317 + default: &316 value: author: login: octocat @@ -43394,7 +43682,7 @@ paths: parameters: - *103 - *65 - - &318 + - &317 name: discussion_number description: The number that identifies the discussion. in: path @@ -43406,9 +43694,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *315 examples: - default: *317 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43432,7 +43720,7 @@ paths: parameters: - *103 - *65 - - *318 + - *317 requestBody: required: false content: @@ -43455,7 +43743,7 @@ paths: description: Response content: application/json: - schema: *316 + schema: *315 examples: default: &646 value: @@ -43529,7 +43817,7 @@ paths: parameters: - *103 - *65 - - *318 + - *317 responses: '204': description: Response @@ -43557,7 +43845,7 @@ paths: parameters: - *103 - *65 - - *318 + - *317 - *48 - *17 - *19 @@ -43568,7 +43856,7 @@ paths: application/json: schema: type: array - items: &319 + items: &318 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -43710,7 +43998,7 @@ paths: parameters: - *103 - *65 - - *318 + - *317 requestBody: required: true content: @@ -43732,9 +44020,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *318 examples: - default: &320 + default: &319 value: author: login: octocat @@ -43802,8 +44090,8 @@ paths: parameters: - *103 - *65 - - *318 - - &321 + - *317 + - &320 name: comment_number description: The number that identifies the comment. in: path @@ -43815,9 +44103,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *318 examples: - default: *320 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43841,8 +44129,8 @@ paths: parameters: - *103 - *65 - - *318 - - *321 + - *317 + - *320 requestBody: required: true content: @@ -43864,7 +44152,7 @@ paths: description: Response content: application/json: - schema: *319 + schema: *318 examples: default: &648 value: @@ -43932,8 +44220,8 @@ paths: parameters: - *103 - *65 - - *318 - - *321 + - *317 + - *320 responses: '204': description: Response @@ -43961,8 +44249,8 @@ paths: parameters: - *103 - *65 - - *318 - - *321 + - *317 + - *320 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -43988,7 +44276,7 @@ paths: application/json: schema: type: array - items: &322 + items: &321 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -44031,7 +44319,7 @@ paths: - content - created_at examples: - default: &324 + default: &323 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -44083,8 +44371,8 @@ paths: parameters: - *103 - *65 - - *318 - - *321 + - *317 + - *320 requestBody: required: true content: @@ -44117,9 +44405,9 @@ paths: team discussion comment content: application/json: - schema: *322 + schema: *321 examples: - default: &323 + default: &322 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -44148,9 +44436,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44175,9 +44463,9 @@ paths: parameters: - *103 - *65 - - *318 - - *321 - - &325 + - *317 + - *320 + - &324 name: reaction_id description: The unique identifier of the reaction. in: path @@ -44211,7 +44499,7 @@ paths: parameters: - *103 - *65 - - *318 + - *317 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -44237,9 +44525,9 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *324 + default: *323 headers: Link: *58 x-github: @@ -44267,7 +44555,7 @@ paths: parameters: - *103 - *65 - - *318 + - *317 requestBody: required: true content: @@ -44299,16 +44587,16 @@ paths: description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '201': description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -44333,8 +44621,8 @@ paths: parameters: - *103 - *65 - - *318 - - *325 + - *317 + - *324 responses: '204': description: Response @@ -44369,9 +44657,9 @@ paths: application/json: schema: type: array - items: *205 + items: *204 examples: - default: *206 + default: *205 headers: Link: *58 x-github: @@ -44455,7 +44743,7 @@ paths: description: Response content: application/json: - schema: &326 + schema: &325 title: Team Membership description: Team Membership type: object @@ -44545,7 +44833,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *325 examples: response-if-users-membership-with-team-is-now-pending: &650 summary: Response if user's membership with team is now pending @@ -44620,7 +44908,7 @@ paths: application/json: schema: type: array - items: &327 + items: &326 title: Team Project description: A team's access to a project. type: object @@ -44753,7 +45041,7 @@ paths: parameters: - *103 - *65 - - &328 + - &327 name: project_id description: The unique identifier of the project. in: path @@ -44765,7 +45053,7 @@ paths: description: Response content: application/json: - schema: *327 + schema: *326 examples: default: &652 value: @@ -44831,7 +45119,7 @@ paths: parameters: - *103 - *65 - - *328 + - *327 requestBody: required: false content: @@ -44899,7 +45187,7 @@ paths: parameters: - *103 - *65 - - *328 + - *327 responses: '204': description: Response @@ -44939,7 +45227,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 x-github: @@ -44970,8 +45258,8 @@ paths: parameters: - *103 - *65 + - *328 - *329 - - *330 responses: '200': description: Alternative response with repository permissions @@ -45548,8 +45836,8 @@ paths: parameters: - *103 - *65 + - *328 - *329 - - *330 requestBody: required: false content: @@ -45596,8 +45884,8 @@ paths: parameters: - *103 - *65 + - *328 - *329 - - *330 responses: '204': description: Response @@ -45761,7 +46049,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &331 + - &330 name: column_id description: The unique identifier of the column. in: path @@ -45773,7 +46061,7 @@ paths: description: Response content: application/json: - schema: &332 + schema: &331 title: Project Column description: Project columns contain cards of work. type: object @@ -45819,7 +46107,7 @@ paths: - created_at - updated_at examples: - default: &333 + default: &332 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -45854,7 +46142,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *331 + - *330 requestBody: required: true content: @@ -45878,9 +46166,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *331 examples: - default: *333 + default: *332 '304': *37 '403': *29 '401': *25 @@ -45905,7 +46193,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *331 + - *330 responses: '204': description: Response @@ -45934,7 +46222,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *331 + - *330 requestBody: required: true content: @@ -45994,15 +46282,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *328 + - *327 responses: '200': description: Response content: application/json: - schema: *243 + schema: *242 examples: - default: &334 + default: &333 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -46059,7 +46347,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *328 + - *327 requestBody: required: false content: @@ -46105,9 +46393,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *242 examples: - default: *334 + default: *333 '404': description: Not Found if the authenticated user does not have access to the project @@ -46128,7 +46416,7 @@ paths: items: type: string '401': *25 - '410': *335 + '410': *334 '422': *7 x-github: githubCloudOnly: false @@ -46151,7 +46439,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *328 + - *327 responses: '204': description: Delete Success @@ -46172,7 +46460,7 @@ paths: items: type: string '401': *25 - '410': *335 + '410': *334 '404': *6 x-github: githubCloudOnly: false @@ -46196,7 +46484,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *328 + - *327 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -46253,7 +46541,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *328 + - *327 - *63 requestBody: required: false @@ -46306,7 +46594,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *328 + - *327 - *63 responses: '204': @@ -46338,7 +46626,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *328 + - *327 - *63 responses: '200': @@ -46412,7 +46700,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#list-project-columns parameters: - - *328 + - *327 - *17 - *19 responses: @@ -46422,7 +46710,7 @@ paths: application/json: schema: type: array - items: *332 + items: *331 examples: default: value: @@ -46460,7 +46748,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column parameters: - - *328 + - *327 requestBody: required: true content: @@ -46483,7 +46771,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *331 examples: default: value: @@ -46548,7 +46836,7 @@ paths: resources: type: object properties: - core: &336 + core: &335 title: Rate Limit type: object properties: @@ -46565,21 +46853,21 @@ paths: - remaining - reset - used - graphql: *336 - search: *336 - code_search: *336 - source_import: *336 - integration_manifest: *336 - code_scanning_upload: *336 - actions_runner_registration: *336 - scim: *336 - dependency_snapshots: *336 - dependency_sbom: *336 - code_scanning_autofix: *336 + graphql: *335 + search: *335 + code_search: *335 + source_import: *335 + integration_manifest: *335 + code_scanning_upload: *335 + actions_runner_registration: *335 + scim: *335 + dependency_snapshots: *335 + dependency_sbom: *335 + code_scanning_autofix: *335 required: - core - search - rate: *336 + rate: *335 required: - rate - resources @@ -46684,14 +46972,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response content: application/json: - schema: *337 + schema: *336 examples: default-response: summary: Default response @@ -47192,7 +47480,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *338 + '301': *337 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47210,8 +47498,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: false content: @@ -47458,10 +47746,10 @@ paths: description: Response content: application/json: - schema: *337 + schema: *336 examples: - default: *339 - '307': &340 + default: *338 + '307': &339 description: Temporary Redirect content: application/json: @@ -47490,8 +47778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -47513,7 +47801,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *340 + '307': *339 '404': *6 '409': *47 x-github: @@ -47537,11 +47825,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: + - *328 - *329 - - *330 - *17 - *19 - - &371 + - &370 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -47564,7 +47852,7 @@ paths: type: integer artifacts: type: array - items: &341 + items: &340 title: Artifact description: An artifact type: object @@ -47642,7 +47930,7 @@ paths: - expires_at - updated_at examples: - default: &372 + default: &371 value: total_count: 2 artifacts: @@ -47703,9 +47991,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: + - *328 - *329 - - *330 - - &342 + - &341 name: artifact_id description: The unique identifier of the artifact. in: path @@ -47717,7 +48005,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *340 examples: default: value: @@ -47755,9 +48043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: + - *328 - *329 - - *330 - - *342 + - *341 responses: '204': description: Response @@ -47781,9 +48069,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: + - *328 - *329 - - *330 - - *342 + - *341 - name: archive_format in: path required: true @@ -47797,7 +48085,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47820,14 +48108,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response content: application/json: - schema: *343 + schema: *342 examples: default: value: @@ -47853,11 +48141,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: + - *328 - *329 - - *330 - *17 - *19 - - &344 + - &343 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -47891,7 +48179,7 @@ paths: description: Response content: application/json: - schema: &345 + schema: &344 title: Repository actions caches description: Repository actions caches type: object @@ -47933,7 +48221,7 @@ paths: - total_count - actions_caches examples: - default: &346 + default: &345 value: total_count: 1 actions_caches: @@ -47965,23 +48253,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: + - *328 - *329 - - *330 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *344 + - *343 responses: '200': description: Response content: application/json: - schema: *345 + schema: *344 examples: - default: *346 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48001,8 +48289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: + - *328 - *329 - - *330 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -48033,9 +48321,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: + - *328 - *329 - - *330 - - &347 + - &346 name: job_id description: The unique identifier of the job. in: path @@ -48047,7 +48335,7 @@ paths: description: Response content: application/json: - schema: &375 + schema: &374 title: Job description: Information of a job execution in a workflow run type: object @@ -48354,9 +48642,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: + - *328 - *329 - - *330 - - *347 + - *346 responses: '302': description: Response @@ -48384,9 +48672,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: + - *328 - *329 - - *330 - - *347 + - *346 requestBody: required: false content: @@ -48431,8 +48719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Status response @@ -48482,8 +48770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -48546,8 +48834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -48565,7 +48853,7 @@ paths: type: integer secrets: type: array - items: &377 + items: &376 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -48585,7 +48873,7 @@ paths: - created_at - updated_at examples: - default: &378 + default: &377 value: total_count: 2 secrets: @@ -48618,9 +48906,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: + - *328 - *329 - - *330 - - *348 + - *347 - *19 responses: '200': @@ -48637,7 +48925,7 @@ paths: type: integer variables: type: array - items: &381 + items: &380 title: Actions Variable type: object properties: @@ -48667,7 +48955,7 @@ paths: - created_at - updated_at examples: - default: &382 + default: &381 value: total_count: 2 variables: @@ -48700,8 +48988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -48710,11 +48998,11 @@ paths: schema: type: object properties: - enabled: &350 + enabled: &349 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *120 - selected_actions_url: *349 + selected_actions_url: *348 sha_pinning_required: *121 required: - enabled @@ -48743,8 +49031,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -48755,7 +49043,7 @@ paths: schema: type: object properties: - enabled: *350 + enabled: *349 allowed_actions: *120 sha_pinning_required: *121 required: @@ -48787,14 +49075,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response content: application/json: - schema: &351 + schema: &350 type: object properties: access_level: @@ -48811,7 +49099,7 @@ paths: required: - access_level examples: - default: &352 + default: &351 value: access_level: organization x-github: @@ -48835,15 +49123,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: application/json: - schema: *351 + schema: *350 examples: - default: *352 + default: *351 responses: '204': description: Response @@ -48867,14 +49155,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response content: application/json: - schema: *353 + schema: *352 examples: default: value: @@ -48898,8 +49186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': description: Empty response for successful settings update @@ -48909,7 +49197,7 @@ paths: required: true content: application/json: - schema: *354 + schema: *353 examples: default: summary: Set retention days @@ -48933,8 +49221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -48942,7 +49230,7 @@ paths: application/json: schema: *122 examples: - default: *355 + default: *354 '404': *6 x-github: enabledForGitHubApps: true @@ -48961,8 +49249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -48996,14 +49284,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response content: application/json: - schema: *356 + schema: *355 examples: default: *123 '403': *29 @@ -49025,13 +49313,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: application/json: - schema: *357 + schema: *356 examples: default: *123 responses: @@ -49057,8 +49345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -49085,8 +49373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -49118,14 +49406,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response content: application/json: - schema: *358 + schema: *357 examples: default: *130 x-github: @@ -49148,8 +49436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': description: Success response @@ -49160,7 +49448,7 @@ paths: required: true content: application/json: - schema: *359 + schema: *358 examples: default: *130 x-github: @@ -49189,8 +49477,8 @@ paths: in: query schema: type: string + - *328 - *329 - - *330 - *17 - *19 responses: @@ -49234,8 +49522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -49243,9 +49531,9 @@ paths: application/json: schema: type: array - items: *360 + items: *359 examples: - default: *361 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49267,8 +49555,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -49311,7 +49599,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *362 + '201': *361 '404': *6 '422': *7 '409': *47 @@ -49342,8 +49630,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: + - *328 - *329 - - *330 responses: '201': description: Response @@ -49351,7 +49639,7 @@ paths: application/json: schema: *139 examples: - default: *363 + default: *362 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49379,8 +49667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: + - *328 - *329 - - *330 responses: '201': description: Response @@ -49388,7 +49676,7 @@ paths: application/json: schema: *139 examples: - default: *364 + default: *363 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49410,8 +49698,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: + - *328 - *329 - - *330 - *136 responses: '200': @@ -49420,7 +49708,7 @@ paths: application/json: schema: *137 examples: - default: *365 + default: *364 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49441,8 +49729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: + - *328 - *329 - - *330 - *136 responses: '204': @@ -49469,8 +49757,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: + - *328 - *329 - - *330 - *136 responses: '200': *141 @@ -49495,8 +49783,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: + - *328 - *329 - - *330 - *136 requestBody: required: true @@ -49545,8 +49833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: + - *328 - *329 - - *330 - *136 requestBody: required: true @@ -49596,11 +49884,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: + - *328 - *329 - - *330 - *136 responses: - '200': *366 + '200': *365 '404': *6 x-github: githubCloudOnly: false @@ -49627,10 +49915,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: + - *328 - *329 - - *330 - *136 - - *367 + - *366 responses: '200': *141 '404': *6 @@ -49658,9 +49946,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: + - *328 - *329 - - *330 - - &385 + - &384 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -49668,7 +49956,7 @@ paths: required: false schema: type: string - - &386 + - &385 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -49676,7 +49964,7 @@ paths: required: false schema: type: string - - &387 + - &386 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -49685,7 +49973,7 @@ paths: required: false schema: type: string - - &388 + - &387 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -49712,7 +50000,7 @@ paths: - pending - *17 - *19 - - &389 + - &388 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -49721,7 +50009,7 @@ paths: schema: type: string format: date-time - - &368 + - &367 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -49730,13 +50018,13 @@ paths: schema: type: boolean default: false - - &390 + - &389 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &391 + - &390 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -49759,7 +50047,7 @@ paths: type: integer workflow_runs: type: array - items: &369 + items: &368 title: Workflow Run description: An invocation of a workflow type: object @@ -49854,7 +50142,7 @@ paths: that triggered the run. type: array nullable: true - items: &410 + items: &409 title: Pull Request Minimal type: object properties: @@ -49973,7 +50261,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &414 + properties: &413 id: type: string description: SHA for the commit @@ -50024,7 +50312,7 @@ paths: - name - email nullable: true - required: &415 + required: &414 - id - tree_id - message @@ -50071,7 +50359,7 @@ paths: - workflow_url - pull_requests examples: - default: &392 + default: &391 value: total_count: 1 workflow_runs: @@ -50307,24 +50595,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: + - *328 - *329 - - *330 - - &370 + - &369 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *368 + - *367 responses: '200': description: Response content: application/json: - schema: *369 + schema: *368 examples: - default: &373 + default: &372 value: id: 30433642 name: Build @@ -50565,9 +50853,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '204': description: Response @@ -50590,9 +50878,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '200': description: Response @@ -50711,9 +50999,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '201': description: Response @@ -50746,12 +51034,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: + - *328 - *329 - - *330 - - *370 + - *369 - *17 - *19 - - *371 + - *370 responses: '200': description: Response @@ -50767,9 +51055,9 @@ paths: type: integer artifacts: type: array - items: *341 + items: *340 examples: - default: *372 + default: *371 headers: Link: *58 x-github: @@ -50793,25 +51081,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: + - *328 - *329 - - *330 - - *370 - - &374 + - *369 + - &373 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *368 + - *367 responses: '200': description: Response content: application/json: - schema: *369 + schema: *368 examples: - default: *373 + default: *372 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50834,10 +51122,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: + - *328 - *329 - - *330 - - *370 - - *374 + - *369 + - *373 - *17 - *19 responses: @@ -50855,9 +51143,9 @@ paths: type: integer jobs: type: array - items: *375 + items: *374 examples: - default: &376 + default: &375 value: total_count: 1 jobs: @@ -50970,10 +51258,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: + - *328 - *329 - - *330 - - *370 - - *374 + - *369 + - *373 responses: '302': description: Response @@ -51001,9 +51289,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '202': description: Response @@ -51036,9 +51324,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 requestBody: required: true content: @@ -51105,9 +51393,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '202': description: Response @@ -51140,9 +51428,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -51172,9 +51460,9 @@ paths: type: integer jobs: type: array - items: *375 + items: *374 examples: - default: *376 + default: *375 headers: Link: *58 x-github: @@ -51199,9 +51487,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '302': description: Response @@ -51228,9 +51516,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '204': description: Response @@ -51257,9 +51545,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '200': description: Response @@ -51404,9 +51692,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 requestBody: required: true content: @@ -51615,9 +51903,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: + - *328 - *329 - - *330 - - *370 + - *369 requestBody: required: false content: @@ -51661,9 +51949,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 requestBody: required: false content: @@ -51716,9 +52004,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '200': description: Response @@ -51855,8 +52143,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -51874,9 +52162,9 @@ paths: type: integer secrets: type: array - items: *377 + items: *376 examples: - default: *378 + default: *377 headers: Link: *58 x-github: @@ -51901,16 +52189,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: + - *328 - *329 - - *330 responses: '200': description: Response content: application/json: - schema: *379 + schema: *378 examples: - default: *380 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51932,15 +52220,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 responses: '200': description: Response content: application/json: - schema: *377 + schema: *376 examples: default: &505 value: @@ -51968,8 +52256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 requestBody: required: true @@ -52027,8 +52315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 responses: '204': @@ -52054,9 +52342,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: + - *328 - *329 - - *330 - - *348 + - *347 - *19 responses: '200': @@ -52073,9 +52361,9 @@ paths: type: integer variables: type: array - items: *381 + items: *380 examples: - default: *382 + default: *381 headers: Link: *58 x-github: @@ -52098,8 +52386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -52151,15 +52439,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: + - *328 - *329 - - *330 - *146 responses: '200': description: Response content: application/json: - schema: *381 + schema: *380 examples: default: &506 value: @@ -52187,8 +52475,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: + - *328 - *329 - - *330 - *146 requestBody: required: true @@ -52231,8 +52519,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: + - *328 - *329 - - *330 - *146 responses: '204': @@ -52258,8 +52546,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -52277,7 +52565,7 @@ paths: type: integer workflows: type: array - items: &383 + items: &382 title: Workflow description: A GitHub Actions workflow type: object @@ -52384,9 +52672,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: + - *328 - *329 - - *330 - - &384 + - &383 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -52401,7 +52689,7 @@ paths: description: Response content: application/json: - schema: *383 + schema: *382 examples: default: value: @@ -52434,9 +52722,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: + - *328 - *329 - - *330 - - *384 + - *383 responses: '204': description: Response @@ -52461,9 +52749,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: + - *328 - *329 - - *330 - - *384 + - *383 responses: '204': description: Response @@ -52514,9 +52802,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: + - *328 - *329 - - *330 - - *384 + - *383 responses: '204': description: Response @@ -52543,19 +52831,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: + - *328 - *329 - - *330 + - *383 - *384 - *385 - *386 - *387 - - *388 - *17 - *19 + - *388 + - *367 - *389 - - *368 - *390 - - *391 responses: '200': description: Response @@ -52571,9 +52859,9 @@ paths: type: integer workflow_runs: type: array - items: *369 + items: *368 examples: - default: *392 + default: *391 headers: Link: *58 x-github: @@ -52605,9 +52893,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: + - *328 - *329 - - *330 - - *384 + - *383 responses: '200': description: Response @@ -52668,8 +52956,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: + - *328 - *329 - - *330 - *48 - *17 - *40 @@ -52833,8 +53121,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -52871,8 +53159,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: + - *328 - *329 - - *330 - name: assignee in: path required: true @@ -52908,8 +53196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -53021,8 +53309,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: + - *328 - *329 - - *330 - *17 - *40 - *41 @@ -53078,7 +53366,7 @@ paths: initiator: type: string examples: - default: *393 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53098,8 +53386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -53107,7 +53395,7 @@ paths: application/json: schema: type: array - items: &394 + items: &393 title: Autolink reference description: An autolink reference. type: object @@ -53161,8 +53449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -53201,9 +53489,9 @@ paths: description: response content: application/json: - schema: *394 + schema: *393 examples: - default: &395 + default: &394 value: id: 1 key_prefix: TICKET- @@ -53234,9 +53522,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: + - *328 - *329 - - *330 - - &396 + - &395 name: autolink_id description: The unique identifier of the autolink. in: path @@ -53248,9 +53536,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *393 examples: - default: *395 + default: *394 '404': *6 x-github: githubCloudOnly: false @@ -53270,9 +53558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: + - *328 - *329 - - *330 - - *396 + - *395 responses: '204': description: Response @@ -53296,8 +53584,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response if Dependabot is enabled @@ -53345,8 +53633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -53367,8 +53655,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -53388,8 +53676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: + - *328 - *329 - - *330 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -53427,7 +53715,7 @@ paths: - url protected: type: boolean - protection: &398 + protection: &397 title: Branch Protection description: Branch Protection type: object @@ -53469,7 +53757,7 @@ paths: required: - contexts - checks - enforce_admins: &401 + enforce_admins: &400 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -53484,7 +53772,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &403 + required_pull_request_reviews: &402 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -53560,7 +53848,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &400 + restrictions: &399 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -53837,9 +54125,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: + - *328 - *329 - - *330 - - &399 + - &398 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -53853,14 +54141,14 @@ paths: description: Response content: application/json: - schema: &409 + schema: &408 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &462 + commit: &461 title: Commit description: Commit type: object @@ -53894,7 +54182,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &397 + properties: &396 name: type: string example: '"Chris Wanstrath"' @@ -53909,7 +54197,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *397 + properties: *396 nullable: true message: type: string @@ -54000,7 +54288,7 @@ paths: type: integer files: type: array - items: &475 + items: &474 title: Diff Entry description: Diff Entry type: object @@ -54084,7 +54372,7 @@ paths: - self protected: type: boolean - protection: *398 + protection: *397 protection_url: type: string format: uri @@ -54191,7 +54479,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *338 + '301': *337 '404': *6 x-github: githubCloudOnly: false @@ -54213,15 +54501,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response content: application/json: - schema: *398 + schema: *397 examples: default: value: @@ -54415,9 +54703,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: true content: @@ -54672,7 +54960,7 @@ paths: url: type: string format: uri - required_status_checks: &406 + required_status_checks: &405 title: Status Check Policy description: Status Check Policy type: object @@ -54824,7 +55112,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *400 + restrictions: *399 required_conversation_resolution: type: object properties: @@ -54936,9 +55224,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '204': description: Response @@ -54963,17 +55251,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response content: application/json: - schema: *401 + schema: *400 examples: - default: &402 + default: &401 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -54995,17 +55283,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response content: application/json: - schema: *401 + schema: *400 examples: - default: *402 + default: *401 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55024,9 +55312,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '204': description: Response @@ -55051,17 +55339,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response content: application/json: - schema: *403 + schema: *402 examples: - default: &404 + default: &403 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -55157,9 +55445,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: false content: @@ -55257,9 +55545,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *402 examples: - default: *404 + default: *403 '422': *15 x-github: githubCloudOnly: false @@ -55280,9 +55568,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '204': description: Response @@ -55309,17 +55597,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response content: application/json: - schema: *401 + schema: *400 examples: - default: &405 + default: &404 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -55342,17 +55630,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response content: application/json: - schema: *401 + schema: *400 examples: - default: *405 + default: *404 '404': *6 x-github: githubCloudOnly: false @@ -55372,9 +55660,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '204': description: Response @@ -55399,17 +55687,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response content: application/json: - schema: *406 + schema: *405 examples: - default: &407 + default: &406 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -55435,9 +55723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: false content: @@ -55489,9 +55777,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *405 examples: - default: *407 + default: *406 '404': *6 '422': *15 x-github: @@ -55513,9 +55801,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '204': description: Response @@ -55539,9 +55827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response @@ -55575,9 +55863,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: false content: @@ -55644,9 +55932,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: false content: @@ -55710,9 +55998,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: content: application/json: @@ -55778,15 +56066,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response content: application/json: - schema: *400 + schema: *399 examples: default: value: @@ -55877,9 +56165,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '204': description: Response @@ -55902,9 +56190,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response @@ -55914,7 +56202,7 @@ paths: type: array items: *5 examples: - default: &408 + default: &407 value: - id: 1 slug: octoapp @@ -55971,9 +56259,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: true content: @@ -56007,7 +56295,7 @@ paths: type: array items: *5 examples: - default: *408 + default: *407 '422': *15 x-github: githubCloudOnly: false @@ -56028,9 +56316,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: true content: @@ -56064,7 +56352,7 @@ paths: type: array items: *5 examples: - default: *408 + default: *407 '422': *15 x-github: githubCloudOnly: false @@ -56085,9 +56373,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: true content: @@ -56121,7 +56409,7 @@ paths: type: array items: *5 examples: - default: *408 + default: *407 '422': *15 x-github: githubCloudOnly: false @@ -56143,9 +56431,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response @@ -56155,7 +56443,7 @@ paths: type: array items: *167 examples: - default: *226 + default: *225 '404': *6 x-github: githubCloudOnly: false @@ -56175,9 +56463,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: false content: @@ -56215,7 +56503,7 @@ paths: type: array items: *167 examples: - default: *226 + default: *225 '422': *15 x-github: githubCloudOnly: false @@ -56236,9 +56524,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: false content: @@ -56276,7 +56564,7 @@ paths: type: array items: *167 examples: - default: *226 + default: *225 '422': *15 x-github: githubCloudOnly: false @@ -56297,9 +56585,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: content: application/json: @@ -56336,7 +56624,7 @@ paths: type: array items: *167 examples: - default: *226 + default: *225 '422': *15 x-github: githubCloudOnly: false @@ -56358,9 +56646,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response @@ -56394,9 +56682,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: true content: @@ -56454,9 +56742,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: true content: @@ -56514,9 +56802,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: true content: @@ -56576,9 +56864,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: true content: @@ -56600,7 +56888,7 @@ paths: description: Response content: application/json: - schema: *409 + schema: *408 examples: default: value: @@ -56716,8 +57004,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -56996,7 +57284,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &410 title: CheckRun description: A check performed on the code of a given code change type: object @@ -57115,7 +57403,7 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *410 + items: *409 deployment: &713 title: Deployment description: A deployment created as the result of an Actions @@ -57396,9 +57684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: + - *328 - *329 - - *330 - - &412 + - &411 name: check_run_id description: The unique identifier of the check run. in: path @@ -57410,9 +57698,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *410 examples: - default: &413 + default: &412 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -57512,9 +57800,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: + - *328 - *329 - - *330 - - *412 + - *411 requestBody: required: true content: @@ -57754,9 +58042,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *410 examples: - default: *413 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57776,9 +58064,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: + - *328 - *329 - - *330 - - *412 + - *411 - *17 - *19 responses: @@ -57873,9 +58161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: + - *328 - *329 - - *330 - - *412 + - *411 responses: '201': description: Response @@ -57919,8 +58207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -57942,7 +58230,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &416 + schema: &415 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -58006,7 +58294,7 @@ paths: nullable: true pull_requests: type: array - items: *410 + items: *409 nullable: true app: title: GitHub app @@ -58032,8 +58320,8 @@ paths: title: Simple Commit description: A commit. type: object - properties: *414 - required: *415 + properties: *413 + required: *414 latest_check_runs_count: type: integer check_runs_url: @@ -58061,7 +58349,7 @@ paths: - check_runs_url - pull_requests examples: - default: &417 + default: &416 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -58352,9 +58640,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *416 + schema: *415 examples: - default: *417 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58373,8 +58661,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -58683,9 +58971,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: + - *328 - *329 - - *330 - - &418 + - &417 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -58697,9 +58985,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *415 examples: - default: *417 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58722,17 +59010,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: + - *328 - *329 - - *330 - - *418 - - &468 + - *417 + - &467 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &469 + - &468 name: status description: Returns check runs with the specified `status`. in: query @@ -58771,9 +59059,9 @@ paths: type: integer check_runs: type: array - items: *411 + items: *410 examples: - default: &470 + default: &469 value: total_count: 1 check_runs: @@ -58875,9 +59163,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: + - *328 - *329 - - *330 - - *418 + - *417 responses: '201': description: Response @@ -58910,21 +59198,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: + - *328 - *329 - - *330 + - *418 - *419 - - *420 - *19 - *17 - - &437 + - &436 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *421 - - &438 + schema: *420 + - &437 name: pr description: The number of the pull request for the results you want to list. in: query @@ -58949,13 +59237,13 @@ paths: be returned. in: query required: false - schema: *422 + schema: *421 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *423 + schema: *422 responses: '200': description: Response @@ -58971,7 +59259,7 @@ paths: updated_at: *151 url: *56 html_url: *57 - instances_url: *424 + instances_url: *423 state: *156 fixed_at: *152 dismissed_by: @@ -58982,11 +59270,11 @@ paths: required: *21 nullable: true dismissed_at: *153 - dismissed_reason: *425 - dismissed_comment: *426 - rule: *427 - tool: *428 - most_recent_instance: *429 + dismissed_reason: *424 + dismissed_comment: *425 + rule: *426 + tool: *427 + most_recent_instance: *428 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -59112,7 +59400,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &430 + '403': &429 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -59139,9 +59427,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: + - *328 - *329 - - *330 - - &431 + - &430 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -59155,7 +59443,7 @@ paths: description: Response content: application/json: - schema: &432 + schema: &431 type: object properties: number: *54 @@ -59163,7 +59451,7 @@ paths: updated_at: *151 url: *56 html_url: *57 - instances_url: *424 + instances_url: *423 state: *156 fixed_at: *152 dismissed_by: @@ -59174,8 +59462,8 @@ paths: required: *21 nullable: true dismissed_at: *153 - dismissed_reason: *425 - dismissed_comment: *426 + dismissed_reason: *424 + dismissed_comment: *425 rule: type: object properties: @@ -59229,8 +59517,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *428 - most_recent_instance: *429 + tool: *427 + most_recent_instance: *428 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -59329,7 +59617,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *430 + '403': *429 '404': *6 '503': *72 x-github: @@ -59349,9 +59637,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: + - *328 - *329 - - *330 - - *431 + - *430 requestBody: required: true content: @@ -59366,8 +59654,8 @@ paths: enum: - open - dismissed - dismissed_reason: *425 - dismissed_comment: *426 + dismissed_reason: *424 + dismissed_comment: *425 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -59386,7 +59674,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *431 examples: default: value: @@ -59462,7 +59750,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &436 + '403': &435 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -59489,15 +59777,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: + - *328 - *329 - - *330 - - *431 + - *430 responses: '200': description: Response content: application/json: - schema: &433 + schema: &432 type: object properties: status: @@ -59523,13 +59811,13 @@ paths: - description - started_at examples: - default: &434 + default: &433 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &435 + '400': &434 description: Bad Request content: application/json: @@ -59540,7 +59828,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *430 + '403': *429 '404': *6 '503': *72 x-github: @@ -59565,29 +59853,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: + - *328 - *329 - - *330 - - *431 + - *430 responses: '200': description: OK content: application/json: - schema: *433 + schema: *432 examples: - default: *434 + default: *433 '202': description: Accepted content: application/json: - schema: *433 + schema: *432 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *435 + '400': *434 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -59619,9 +59907,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: + - *328 - *329 - - *330 - - *431 + - *430 requestBody: required: false content: @@ -59666,8 +59954,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *435 - '403': *436 + '400': *434 + '403': *435 '404': *6 '422': description: Unprocessable Entity @@ -59691,13 +59979,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: + - *328 - *329 - - *330 - - *431 + - *430 - *19 - *17 + - *436 - *437 - - *438 responses: '200': description: Response @@ -59705,7 +59993,7 @@ paths: application/json: schema: type: array - items: *429 + items: *428 examples: default: value: @@ -59744,7 +60032,7 @@ paths: end_column: 50 classifications: - source - '403': *430 + '403': *429 '404': *6 '503': *72 x-github: @@ -59778,25 +60066,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: + - *328 - *329 - - *330 + - *418 - *419 - - *420 - *19 - *17 - - *438 + - *437 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *421 + schema: *420 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &441 + schema: &440 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -59817,23 +60105,23 @@ paths: application/json: schema: type: array - items: &442 + items: &441 type: object properties: - ref: *421 - commit_sha: &450 + ref: *420 + commit_sha: &449 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *439 + analysis_key: *438 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *440 + category: *439 error: type: string example: error reading field xyz @@ -59857,8 +60145,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *441 - tool: *428 + sarif_id: *440 + tool: *427 deletable: type: boolean warning: @@ -59919,7 +60207,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *430 + '403': *429 '404': *6 '503': *72 x-github: @@ -59955,8 +60243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: + - *328 - *329 - - *330 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -59969,7 +60257,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *441 examples: response: summary: application/json response @@ -60023,7 +60311,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *430 + '403': *429 '404': *6 '422': description: Response if analysis could not be processed @@ -60110,8 +60398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: + - *328 - *329 - - *330 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -60164,7 +60452,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *436 + '403': *435 '404': *6 '503': *72 x-github: @@ -60186,8 +60474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -60195,7 +60483,7 @@ paths: application/json: schema: type: array - items: &443 + items: &442 title: CodeQL Database description: A CodeQL database. type: object @@ -60306,7 +60594,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *430 + '403': *429 '404': *6 '503': *72 x-github: @@ -60335,8 +60623,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: + - *328 - *329 - - *330 - name: language in: path description: The language of the CodeQL database. @@ -60348,7 +60636,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *442 examples: default: value: @@ -60380,9 +60668,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &477 + '302': &476 description: Found - '403': *430 + '403': *429 '404': *6 '503': *72 x-github: @@ -60404,8 +60692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: + - *328 - *329 - - *330 - name: language in: path description: The language of the CodeQL database. @@ -60415,7 +60703,7 @@ paths: responses: '204': description: Response - '403': *436 + '403': *435 '404': *6 '503': *72 x-github: @@ -60443,8 +60731,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -60453,7 +60741,7 @@ paths: type: object additionalProperties: false properties: - language: &444 + language: &443 type: string description: The language targeted by the CodeQL query enum: @@ -60532,7 +60820,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &448 + schema: &447 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -60542,7 +60830,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *444 + query_language: *443 query_pack_url: type: string description: The download url for the query pack. @@ -60589,7 +60877,7 @@ paths: items: type: object properties: - repository: &445 + repository: &444 title: Repository Identifier description: Repository Identifier type: object @@ -60625,7 +60913,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &449 + analysis_status: &448 type: string description: The new status of the CodeQL variant analysis repository task. @@ -60657,7 +60945,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &446 + access_mismatch_repos: &445 type: object properties: repository_count: @@ -60671,7 +60959,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *445 + items: *444 required: - repository_count - repositories @@ -60693,8 +60981,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *446 - over_limit_repos: *446 + no_codeql_db_repos: *445 + over_limit_repos: *445 required: - access_mismatch_repos - not_found_repos @@ -60710,7 +60998,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &447 + value: &446 summary: Default response value: id: 1 @@ -60862,10 +61150,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *447 + value: *446 repository_lists: summary: Response for a successful variant analysis submission - value: *447 + value: *446 '404': *6 '422': description: Unable to process variant analysis submission @@ -60893,8 +61181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: + - *328 - *329 - - *330 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -60906,9 +61194,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *447 examples: - default: *447 + default: *446 '404': *6 '503': *72 x-github: @@ -60931,7 +61219,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *329 + - *328 - name: repo in: path description: The name of the controller repository. @@ -60966,7 +61254,7 @@ paths: type: object properties: repository: *53 - analysis_status: *449 + analysis_status: *448 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -61091,8 +61379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -61177,7 +61465,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *430 + '403': *429 '404': *6 '503': *72 x-github: @@ -61198,8 +61486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -61291,7 +61579,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *436 + '403': *435 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -61362,8 +61650,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -61371,7 +61659,7 @@ paths: schema: type: object properties: - commit_sha: *450 + commit_sha: *449 ref: type: string description: |- @@ -61429,7 +61717,7 @@ paths: schema: type: object properties: - id: *441 + id: *440 url: type: string description: The REST API URL for checking the status of the upload. @@ -61443,7 +61731,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *436 + '403': *435 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -61466,8 +61754,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: + - *328 - *329 - - *330 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -61513,7 +61801,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *430 + '403': *429 '404': description: Not Found if the sarif id does not match any upload '503': *72 @@ -61538,8 +61826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -61620,8 +61908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: + - *328 - *329 - - *330 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -61741,8 +62029,8 @@ paths: parameters: - *17 - *19 + - *328 - *329 - - *330 responses: '200': description: Response @@ -61758,7 +62046,7 @@ paths: type: integer codespaces: type: array - items: *213 + items: *212 examples: default: value: @@ -62056,8 +62344,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -62120,17 +62408,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '400': *14 '401': *25 '403': *29 @@ -62159,8 +62447,8 @@ paths: parameters: - *17 - *19 + - *328 - *329 - - *330 responses: '200': description: Response @@ -62224,8 +62512,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: + - *328 - *329 - - *330 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -62264,8 +62552,8 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *452 - required: *453 + properties: *451 + required: *452 examples: default: &662 value: @@ -62307,8 +62595,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: + - *328 - *329 - - *330 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -62392,8 +62680,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: + - *328 - *329 - - *330 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -62459,8 +62747,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -62478,7 +62766,7 @@ paths: type: integer secrets: type: array - items: &457 + items: &456 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -62498,7 +62786,7 @@ paths: - created_at - updated_at examples: - default: *454 + default: *453 headers: Link: *58 x-github: @@ -62521,16 +62809,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: + - *328 - *329 - - *330 responses: '200': description: Response content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -62550,17 +62838,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 responses: '200': description: Response content: application/json: - schema: *457 + schema: *456 examples: - default: *458 + default: *457 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62580,8 +62868,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 requestBody: required: true @@ -62634,8 +62922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 responses: '204': @@ -62664,8 +62952,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: + - *328 - *329 - - *330 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -62707,7 +62995,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &459 + properties: &458 login: type: string example: octocat @@ -62800,7 +63088,7 @@ paths: user_view_type: type: string example: public - required: &460 + required: &459 - avatar_url - events_url - followers_url @@ -62874,8 +63162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: + - *328 - *329 - - *330 - *63 responses: '204': @@ -62922,8 +63210,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: + - *328 - *329 - - *330 - *63 requestBody: required: false @@ -63179,8 +63467,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: + - *328 - *329 - - *330 - *63 responses: '204': @@ -63212,8 +63500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: + - *328 - *329 - - *330 - *63 responses: '200': @@ -63234,8 +63522,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *459 - required: *460 + properties: *458 + required: *459 nullable: true required: - permission @@ -63290,8 +63578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -63301,7 +63589,7 @@ paths: application/json: schema: type: array - items: &461 + items: &460 title: Commit Comment description: Commit Comment type: object @@ -63359,7 +63647,7 @@ paths: - created_at - updated_at examples: - default: &464 + default: &463 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -63418,17 +63706,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: + - *328 - *329 - - *330 - *83 responses: '200': description: Response content: application/json: - schema: *461 + schema: *460 examples: - default: &465 + default: &464 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -63485,8 +63773,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: + - *328 - *329 - - *330 - *83 requestBody: required: true @@ -63509,7 +63797,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *460 examples: default: value: @@ -63560,8 +63848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: + - *328 - *329 - - *330 - *83 responses: '204': @@ -63583,8 +63871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: + - *328 - *329 - - *330 - *83 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -63611,9 +63899,9 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *324 + default: *323 headers: Link: *58 '404': *6 @@ -63634,8 +63922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: + - *328 - *329 - - *330 - *83 requestBody: required: true @@ -63668,16 +63956,16 @@ paths: description: Reaction exists content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '201': description: Reaction created content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '422': *15 x-github: githubCloudOnly: false @@ -63699,10 +63987,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: + - *328 - *329 - - *330 - *83 - - *325 + - *324 responses: '204': description: Response @@ -63751,8 +64039,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: + - *328 - *329 - - *330 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -63808,7 +64096,7 @@ paths: application/json: schema: type: array - items: *462 + items: *461 examples: default: &575 value: @@ -63904,9 +64192,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: + - *328 - *329 - - *330 - - &463 + - &462 name: commit_sha description: The SHA of the commit. in: path @@ -63978,9 +64266,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: + - *328 - *329 - - *330 - - *463 + - *462 - *17 - *19 responses: @@ -63990,9 +64278,9 @@ paths: application/json: schema: type: array - items: *461 + items: *460 examples: - default: *464 + default: *463 headers: Link: *58 x-github: @@ -64020,9 +64308,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: + - *328 - *329 - - *330 - - *463 + - *462 requestBody: required: true content: @@ -64057,9 +64345,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *460 examples: - default: *465 + default: *464 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64087,9 +64375,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: + - *328 - *329 - - *330 - - *463 + - *462 - *17 - *19 responses: @@ -64099,7 +64387,7 @@ paths: application/json: schema: type: array - items: *466 + items: *465 examples: default: &567 value: @@ -64638,11 +64926,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: + - *328 - *329 - - *330 - *19 - *17 - - &467 + - &466 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -64657,7 +64945,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *461 examples: default: &554 value: @@ -64772,11 +65060,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: + - *328 - *329 - - *330 + - *466 - *467 - *468 - - *469 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -64810,9 +65098,9 @@ paths: type: integer check_runs: type: array - items: *411 + items: *410 examples: - default: *470 + default: *469 headers: Link: *58 x-github: @@ -64837,9 +65125,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: + - *328 - *329 - - *330 - - *467 + - *466 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -64847,7 +65135,7 @@ paths: schema: type: integer example: 1 - - *468 + - *467 - *17 - *19 responses: @@ -64865,7 +65153,7 @@ paths: type: integer check_suites: type: array - items: *416 + items: *415 examples: default: value: @@ -65065,9 +65353,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: + - *328 - *329 - - *330 - - *467 + - *466 - *17 - *19 responses: @@ -65265,9 +65553,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: + - *328 - *329 - - *330 - - *467 + - *466 - *17 - *19 responses: @@ -65358,7 +65646,7 @@ paths: site_admin: false headers: Link: *58 - '301': *338 + '301': *337 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65386,8 +65674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -65416,20 +65704,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *471 - required: *472 + properties: *470 + required: *471 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &473 + properties: &472 url: type: string format: uri html_url: type: string format: uri - required: &474 + required: &473 - url - html_url nullable: true @@ -65443,26 +65731,26 @@ paths: contributing: title: Community Health File type: object - properties: *473 - required: *474 + properties: *472 + required: *473 nullable: true readme: title: Community Health File type: object - properties: *473 - required: *474 + properties: *472 + required: *473 nullable: true issue_template: title: Community Health File type: object - properties: *473 - required: *474 + properties: *472 + required: *473 nullable: true pull_request_template: title: Community Health File type: object - properties: *473 - required: *474 + properties: *472 + required: *473 nullable: true required: - code_of_conduct @@ -65589,8 +65877,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: + - *328 - *329 - - *330 - *19 - *17 - name: basehead @@ -65633,8 +65921,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *462 - merge_base_commit: *462 + base_commit: *461 + merge_base_commit: *461 status: type: string enum: @@ -65654,10 +65942,10 @@ paths: example: 6 commits: type: array - items: *462 + items: *461 files: type: array - items: *475 + items: *474 required: - url - html_url @@ -65943,8 +66231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: + - *328 - *329 - - *330 - name: path description: path parameter in: path @@ -66087,7 +66375,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &476 + response-if-content-is-a-file: &475 summary: Response if content is a file value: type: file @@ -66420,7 +66708,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *476 + response-if-content-is-a-file: *475 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -66489,7 +66777,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *477 + '302': *476 '304': *37 x-github: githubCloudOnly: false @@ -66512,8 +66800,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: + - *328 - *329 - - *330 - name: path description: path parameter in: path @@ -66606,7 +66894,7 @@ paths: description: Response content: application/json: - schema: &478 + schema: &477 title: File Commit description: File Commit type: object @@ -66758,7 +67046,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *477 examples: example-for-creating-a-file: value: @@ -66865,8 +67153,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: + - *328 - *329 - - *330 - name: path description: path parameter in: path @@ -66927,7 +67215,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *477 examples: default: value: @@ -66982,8 +67270,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: + - *328 - *329 - - *330 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -67106,8 +67394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: + - *328 - *329 - - *330 - *168 - *169 - *170 @@ -67119,9 +67407,9 @@ paths: schema: type: string - *172 + - *478 - *173 - *174 - - *175 - *48 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -67141,8 +67429,8 @@ paths: default: 30 - *40 - *41 + - *175 - *176 - - *177 responses: '200': description: Response @@ -67457,8 +67745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: + - *328 - *329 - - *330 - &482 name: alert_number in: path @@ -67587,8 +67875,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: + - *328 - *329 - - *330 - *482 requestBody: required: true @@ -67763,8 +68051,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -67835,8 +68123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -67864,8 +68152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 responses: '200': @@ -67898,8 +68186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 requestBody: required: true @@ -67952,8 +68240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 responses: '204': @@ -67976,8 +68264,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: + - *328 - *329 - - *330 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -68137,8 +68425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -68377,8 +68665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -68628,8 +68916,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: + - *328 - *329 - - *330 - name: sha description: The SHA recorded at creation time. in: query @@ -68737,8 +69025,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -68892,8 +69180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: + - *328 - *329 - - *330 - &489 name: deployment_id description: deployment_id parameter @@ -68971,8 +69259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: + - *328 - *329 - - *330 - *489 responses: '204': @@ -68995,8 +69283,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: + - *328 - *329 - - *330 - *489 - *17 - *19 @@ -69168,8 +69456,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: + - *328 - *329 - - *330 - *489 requestBody: required: true @@ -69303,8 +69591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: + - *328 - *329 - - *330 - *489 - name: status_id in: path @@ -69343,8 +69631,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -69401,8 +69689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -69648,8 +69936,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: + - *328 - *329 - - *330 - &494 name: environment_name in: path @@ -69749,8 +70037,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: + - *328 - *329 - - *330 - *494 requestBody: required: false @@ -69829,8 +70117,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: + - *328 - *329 - - *330 - *494 responses: '204': @@ -69856,8 +70144,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: + - *328 - *329 - - *330 - *494 - *17 - *19 @@ -69933,8 +70221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: + - *328 - *329 - - *330 - *494 requestBody: required: true @@ -70025,8 +70313,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: + - *328 - *329 - - *330 - *494 - &500 name: branch_policy_id @@ -70061,8 +70349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: + - *328 - *329 - - *330 - *494 - *500 requestBody: @@ -70113,8 +70401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: + - *328 - *329 - - *330 - *494 - *500 responses: @@ -70142,8 +70430,8 @@ paths: url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - *494 - - *330 - *329 + - *328 responses: '200': description: List of deployment protection rules @@ -70278,8 +70566,8 @@ paths: url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - *494 - - *330 - *329 + - *328 requestBody: content: application/json: @@ -70338,8 +70626,8 @@ paths: url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - *494 - - *330 - *329 + - *328 - *19 - *17 responses: @@ -70393,8 +70681,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: + - *328 - *329 - - *330 - *494 - &504 name: protection_rule_id @@ -70432,8 +70720,8 @@ paths: url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - *494 - - *330 - *329 + - *328 - *504 responses: '204': @@ -70460,8 +70748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: + - *328 - *329 - - *330 - *494 - *17 - *19 @@ -70480,9 +70768,9 @@ paths: type: integer secrets: type: array - items: *377 + items: *376 examples: - default: *378 + default: *377 headers: Link: *58 x-github: @@ -70507,17 +70795,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: + - *328 - *329 - - *330 - *494 responses: '200': description: Response content: application/json: - schema: *379 + schema: *378 examples: - default: *380 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70539,8 +70827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: + - *328 - *329 - - *330 - *494 - *143 responses: @@ -70548,7 +70836,7 @@ paths: description: Response content: application/json: - schema: *377 + schema: *376 examples: default: *505 x-github: @@ -70572,8 +70860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: + - *328 - *329 - - *330 - *494 - *143 requestBody: @@ -70632,8 +70920,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: + - *328 - *329 - - *330 - *494 - *143 responses: @@ -70660,10 +70948,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: + - *328 - *329 - - *330 - *494 - - *348 + - *347 - *19 responses: '200': @@ -70680,9 +70968,9 @@ paths: type: integer variables: type: array - items: *381 + items: *380 examples: - default: *382 + default: *381 headers: Link: *58 x-github: @@ -70705,8 +70993,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: + - *328 - *329 - - *330 - *494 requestBody: required: true @@ -70759,8 +71047,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: + - *328 - *329 - - *330 - *494 - *146 responses: @@ -70768,7 +71056,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *380 examples: default: *506 x-github: @@ -70791,8 +71079,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: + - *328 - *329 - - *330 - *146 - *494 requestBody: @@ -70836,8 +71124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: + - *328 - *329 - - *330 - *146 - *494 responses: @@ -70861,8 +71149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -70939,8 +71227,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: + - *328 - *329 - - *330 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -71099,8 +71387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: + - *328 - *329 - - *330 requestBody: required: false content: @@ -71132,9 +71420,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *336 examples: - default: *339 + default: *338 '400': *14 '422': *15 '403': *29 @@ -71155,8 +71443,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -71241,8 +71529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: + - *328 - *329 - - *330 - name: file_sha in: path required: true @@ -71341,8 +71629,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -71665,9 +71953,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: + - *328 - *329 - - *330 - - *463 + - *462 responses: '200': description: Response @@ -71729,8 +72017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: + - *328 - *329 - - *330 - &509 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -71823,8 +72111,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: + - *328 - *329 - - *330 - *509 responses: '200': @@ -71862,8 +72150,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -71920,8 +72208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: + - *328 - *329 - - *330 - *509 requestBody: required: true @@ -71971,8 +72259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: + - *328 - *329 - - *330 - *509 responses: '204': @@ -72028,8 +72316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -72230,8 +72518,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: + - *328 - *329 - - *330 - name: tag_sha in: path required: true @@ -72268,8 +72556,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -72438,8 +72726,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: + - *328 - *329 - - *330 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -72521,8 +72809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -72660,8 +72948,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: + - *328 - *329 - - *330 requestBody: required: false content: @@ -72763,9 +73051,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: + - *328 - *329 - - *330 - - *185 + - *184 responses: '200': description: Response @@ -72793,9 +73081,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: + - *328 - *329 - - *330 - - *185 + - *184 requestBody: required: true content: @@ -72863,9 +73151,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: + - *328 - *329 - - *330 - - *185 + - *184 responses: '204': description: Response @@ -72889,9 +73177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: + - *328 - *329 - - *330 - - *185 + - *184 responses: '200': description: Response @@ -72918,9 +73206,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: + - *328 - *329 - - *330 - - *185 + - *184 requestBody: required: false content: @@ -72964,11 +73252,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: + - *328 - *329 - - *330 - - *185 + - *184 - *17 - - *186 + - *185 responses: '200': description: Response @@ -72976,9 +73264,9 @@ paths: application/json: schema: type: array - items: *187 + items: *186 examples: - default: *188 + default: *187 '400': *14 '422': *15 x-github: @@ -72997,18 +73285,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: + - *328 - *329 - - *330 - - *185 + - *184 - *16 responses: '200': description: Response content: application/json: - schema: *189 + schema: *188 examples: - default: *190 + default: *189 '400': *14 '422': *15 x-github: @@ -73027,9 +73315,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: + - *328 - *329 - - *330 - - *185 + - *184 - *16 responses: '202': *39 @@ -73052,9 +73340,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: + - *328 - *329 - - *330 - - *185 + - *184 responses: '204': description: Response @@ -73079,9 +73367,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: + - *328 - *329 - - *330 - - *185 + - *184 responses: '204': description: Response @@ -73091,6 +73379,97 @@ paths: enabledForGitHubApps: true category: repos subcategory: webhooks + "/repos/{owner}/{repo}/immutable-releases": + get: + summary: Check if immutable releases are enabled for a repository + description: |- + Shows whether immutable releases are enabled or disabled. Also identifies whether immutability is being + enforced by the repository owner. The authenticated user must have admin read access to the repository. + tags: + - repos + operationId: repos/check-immutable-releases + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository + parameters: + - *328 + - *329 + responses: + '200': + description: Response if immutable releases are enabled + content: + application/json: + schema: + title: Check immutable releases + description: Check immutable releases + type: object + properties: + enabled: + type: boolean + example: true + description: Whether immutable releases are enabled for the repository. + enforced_by_owner: + type: boolean + example: false + description: Whether immutable releases are enforced by the repository + owner. + required: + - enabled + - enforced_by_owner + examples: + default: + value: + enabled: true + enforced_by_owner: false + '404': + description: Not Found if immutable releases are not enabled for the repository + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos + put: + summary: Enable immutable releases + description: Enables immutable releases for a repository. The authenticated + user must have admin access to the repository. + tags: + - repos + operationId: repos/enable-immutable-releases + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/repos#enable-immutable-releases + parameters: + - *328 + - *329 + responses: + '204': *161 + '409': *47 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos + delete: + summary: Disable immutable releases + description: Disables immutable releases for a repository. The authenticated + user must have admin access to the repository. + tags: + - repos + operationId: repos/disable-immutable-releases + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/repos#disable-immutable-releases + parameters: + - *328 + - *329 + responses: + '204': *161 + '409': *47 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos "/repos/{owner}/{repo}/import": get: summary: Get an import status @@ -73139,8 +73518,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -73290,8 +73669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -73392,8 +73771,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: + - *328 - *329 - - *330 requestBody: required: false content: @@ -73513,8 +73892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -73544,8 +73923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: + - *328 - *329 - - *330 - &684 name: since description: A user ID. Only return users with an ID greater than this ID. @@ -73639,8 +74018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: + - *328 - *329 - - *330 - name: author_id in: path required: true @@ -73707,8 +74086,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -73777,8 +74156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -73832,8 +74211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -73842,7 +74221,7 @@ paths: schema: *22 examples: default: *522 - '301': *338 + '301': *337 '404': *6 x-github: githubCloudOnly: false @@ -73862,8 +74241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -73871,7 +74250,7 @@ paths: application/json: schema: anyOf: - - *203 + - *202 - type: object properties: {} additionalProperties: false @@ -73901,8 +74280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -73919,7 +74298,7 @@ paths: description: Response content: application/json: - schema: *203 + schema: *202 examples: default: *524 '409': @@ -73943,8 +74322,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -73967,8 +74346,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -74111,9 +74490,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: + - *328 - *329 - - *330 - - *207 + - *206 requestBody: required: false content: @@ -74273,9 +74652,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: + - *328 - *329 - - *330 - - *207 + - *206 responses: '204': description: Response @@ -74306,8 +74685,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: + - *328 - *329 - - *330 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -74355,7 +74734,7 @@ paths: required: false schema: type: string - - *211 + - *210 - name: sort description: What to sort results by. in: query @@ -74528,7 +74907,7 @@ paths: state_reason: completed headers: Link: *58 - '301': *338 + '301': *337 '422': *15 '404': *6 x-github: @@ -74557,8 +74936,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -74798,7 +75177,7 @@ paths: '422': *15 '503': *72 '404': *6 - '410': *335 + '410': *334 x-github: triggersNotification: true githubCloudOnly: false @@ -74826,8 +75205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: + - *328 - *329 - - *330 - *94 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -74908,8 +75287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: + - *328 - *329 - - *330 - *83 responses: '200': @@ -74972,8 +75351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: + - *328 - *329 - - *330 - *83 requestBody: required: true @@ -75016,8 +75395,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: + - *328 - *329 - - *330 - *83 responses: '204': @@ -75038,8 +75417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: + - *328 - *329 - - *330 - *83 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -75066,9 +75445,9 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *324 + default: *323 headers: Link: *58 '404': *6 @@ -75089,8 +75468,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: + - *328 - *329 - - *330 - *83 requestBody: required: true @@ -75123,16 +75502,16 @@ paths: description: Reaction exists content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '201': description: Reaction created content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '422': *15 x-github: githubCloudOnly: false @@ -75154,10 +75533,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: + - *328 - *329 - - *330 - *83 - - *325 + - *324 responses: '204': description: Response @@ -75177,8 +75556,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -75539,8 +75918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: + - *328 - *329 - - *330 - name: event_id in: path required: true @@ -75744,7 +76123,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *335 + '410': *334 '403': *29 x-github: githubCloudOnly: false @@ -75778,8 +76157,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: + - *328 - *329 - - *330 - &532 name: issue_number description: The number that identifies the issue. @@ -75795,9 +76174,9 @@ paths: schema: *84 examples: default: *531 - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 '304': *37 x-github: githubCloudOnly: false @@ -75822,8 +76201,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: false @@ -75934,9 +76313,9 @@ paths: '422': *15 '503': *72 '403': *29 - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75954,8 +76333,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: false @@ -76000,8 +76379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: content: @@ -76051,8 +76430,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: + - *328 - *329 - - *330 - *532 - name: assignee in: path @@ -76093,8 +76472,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: + - *328 - *329 - - *330 - *532 - *74 - *17 @@ -76112,7 +76491,7 @@ paths: headers: Link: *58 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76141,8 +76520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: + - *328 - *329 - - *330 - *532 requestBody: required: true @@ -76174,7 +76553,7 @@ paths: schema: type: string '403': *29 - '410': *335 + '410': *334 '422': *15 '404': *6 x-github: @@ -76202,8 +76581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: + - *328 - *329 - - *330 - *532 - *17 - *19 @@ -76219,9 +76598,9 @@ paths: default: *534 headers: Link: *58 - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76249,8 +76628,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: + - *328 - *329 - - *330 - *532 requestBody: required: true @@ -76281,9 +76660,9 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *338 + '301': *337 '403': *29 - '410': *335 + '410': *334 '422': *15 '404': *6 x-github: @@ -76314,8 +76693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: + - *328 - *329 - - *330 - *532 - name: issue_id in: path @@ -76331,12 +76710,12 @@ paths: schema: *84 examples: default: *531 - '301': *338 + '301': *337 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *335 + '410': *334 x-github: triggersNotification: true githubCloudOnly: false @@ -76362,8 +76741,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: + - *328 - *329 - - *330 - *532 - *17 - *19 @@ -76379,9 +76758,9 @@ paths: default: *534 headers: Link: *58 - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76398,8 +76777,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: + - *328 - *329 - - *330 - *532 - *17 - *19 @@ -77251,7 +77630,7 @@ paths: color: red headers: Link: *58 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77268,8 +77647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: + - *328 - *329 - - *330 - *532 - *17 - *19 @@ -77345,9 +77724,9 @@ paths: default: false headers: Link: *58 - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77364,8 +77743,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: false @@ -77428,9 +77807,9 @@ paths: items: *535 examples: default: *536 - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 '422': *15 x-github: githubCloudOnly: false @@ -77447,8 +77826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: false @@ -77512,9 +77891,9 @@ paths: items: *535 examples: default: *536 - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 '422': *15 x-github: githubCloudOnly: false @@ -77531,15 +77910,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: + - *328 - *329 - - *330 - *532 responses: '204': description: Response - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77558,8 +77937,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: + - *328 - *329 - - *330 - *532 - name: name in: path @@ -77584,9 +77963,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77606,8 +77985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: false @@ -77636,7 +78015,7 @@ paths: '204': description: Response '403': *29 - '410': *335 + '410': *334 '404': *6 '422': *15 x-github: @@ -77654,8 +78033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: + - *328 - *329 - - *330 - *532 responses: '204': @@ -77686,8 +78065,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: + - *328 - *329 - - *330 - *532 responses: '200': @@ -77697,9 +78076,9 @@ paths: schema: *84 examples: default: *531 - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77716,8 +78095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: + - *328 - *329 - - *330 - *532 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -77744,13 +78123,13 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *324 + default: *323 headers: Link: *58 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77768,8 +78147,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: true @@ -77802,16 +78181,16 @@ paths: description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '201': description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '422': *15 x-github: githubCloudOnly: false @@ -77833,10 +78212,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: + - *328 - *329 - - *330 - *532 - - *325 + - *324 responses: '204': description: Response @@ -77865,8 +78244,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: true @@ -77924,8 +78303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: + - *328 - *329 - - *330 - *532 - *17 - *19 @@ -77942,7 +78321,7 @@ paths: headers: Link: *58 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77970,8 +78349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: true @@ -78008,7 +78387,7 @@ paths: schema: type: string '403': *29 - '410': *335 + '410': *334 '422': *15 '404': *6 x-github: @@ -78028,8 +78407,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: true @@ -78085,8 +78464,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: + - *328 - *329 - - *330 - *532 - *17 - *19 @@ -78632,7 +79011,7 @@ paths: type: string comments: type: array - items: *461 + items: *460 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -78921,7 +79300,7 @@ paths: headers: Link: *58 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78938,8 +79317,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -79015,8 +79394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -79088,8 +79467,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: + - *328 - *329 - - *330 - &552 name: key_id description: The unique identifier of the key. @@ -79122,8 +79501,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: + - *328 - *329 - - *330 - *552 responses: '204': @@ -79144,8 +79523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -79178,8 +79557,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -79249,8 +79628,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: + - *328 - *329 - - *330 - name: name in: path required: true @@ -79280,8 +79659,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: + - *328 - *329 - - *330 - name: name in: path required: true @@ -79346,8 +79725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: + - *328 - *329 - - *330 - name: name in: path required: true @@ -79373,8 +79752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -79413,9 +79792,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: + - *328 - *329 - - *330 - - *437 + - *436 responses: '200': description: Response @@ -79560,8 +79939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -79626,8 +80005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -79661,7 +80040,7 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *462 + schema: *461 examples: default: *554 '204': @@ -79688,8 +80067,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: + - *328 - *329 - - *330 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -79734,8 +80113,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *249 - required: *250 + properties: *248 + required: *249 examples: default: value: @@ -79791,8 +80170,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -79893,8 +80272,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: + - *328 - *329 - - *330 - &557 name: milestone_number description: The number that identifies the milestone. @@ -79926,8 +80305,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: + - *328 - *329 - - *330 - *557 requestBody: required: false @@ -79984,8 +80363,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: + - *328 - *329 - - *330 - *557 responses: '204': @@ -80007,8 +80386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: + - *328 - *329 - - *330 - *557 - *17 - *19 @@ -80040,8 +80419,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: + - *328 - *329 - - *330 - *558 - *559 - *74 @@ -80081,8 +80460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: + - *328 - *329 - - *330 requestBody: required: false content: @@ -80140,8 +80519,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -80313,8 +80692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -80393,8 +80772,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -80493,8 +80872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -80520,8 +80899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -80625,8 +81004,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: + - *328 - *329 - - *330 responses: '201': description: Response @@ -80671,8 +81050,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -80728,8 +81107,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: + - *328 - *329 - - *330 - name: build_id in: path required: true @@ -80762,8 +81141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -80868,8 +81247,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: + - *328 - *329 - - *330 - &566 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit @@ -80928,8 +81307,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: + - *328 - *329 - - *330 - *566 responses: '204': *161 @@ -80957,8 +81336,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -81216,8 +81595,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Private vulnerability reporting status @@ -81254,8 +81633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': *161 '422': *14 @@ -81276,8 +81655,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': *161 '422': *14 @@ -81300,8 +81679,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: + - *328 - *329 - - *330 - name: state description: Indicates the state of the projects to return. in: query @@ -81322,7 +81701,7 @@ paths: application/json: schema: type: array - items: *243 + items: *242 examples: default: value: @@ -81362,7 +81741,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *335 + '410': *334 '422': *7 x-github: githubCloudOnly: false @@ -81385,8 +81764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -81412,13 +81791,13 @@ paths: description: Response content: application/json: - schema: *243 + schema: *242 examples: - default: *334 + default: *333 '401': *25 '403': *29 '404': *6 - '410': *335 + '410': *334 '422': *7 x-github: githubCloudOnly: false @@ -81441,8 +81820,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -81450,7 +81829,7 @@ paths: application/json: schema: type: array - items: *261 + items: *260 examples: default: value: @@ -81481,8 +81860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -81494,7 +81873,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *261 + items: *260 required: - properties examples: @@ -81544,8 +81923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: + - *328 - *329 - - *330 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -81605,7 +81984,7 @@ paths: application/json: schema: type: array - items: *466 + items: *465 examples: default: *567 headers: @@ -81639,8 +82018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -81816,8 +82195,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *249 - required: *250 + properties: *248 + required: *249 nullable: true active_lock_reason: type: string @@ -81862,7 +82241,7 @@ paths: nullable: true requested_teams: type: array - items: *307 + items: *306 nullable: true head: type: object @@ -81901,14 +82280,14 @@ paths: _links: type: object properties: - comments: *251 - commits: *251 - statuses: *251 - html: *251 - issue: *251 - review_comments: *251 - review_comment: *251 - self: *251 + comments: *250 + commits: *250 + statuses: *250 + html: *250 + issue: *250 + review_comments: *250 + review_comment: *250 + self: *250 required: - comments - commits @@ -82538,8 +82917,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: + - *328 - *329 - - *330 - name: sort in: query required: false @@ -82647,8 +83026,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: + - *328 - *329 - - *330 - *83 responses: '200': @@ -82732,8 +83111,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: + - *328 - *329 - - *330 - *83 requestBody: required: true @@ -82774,8 +83153,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: + - *328 - *329 - - *330 - *83 responses: '204': @@ -82797,8 +83176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: + - *328 - *329 - - *330 - *83 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -82825,9 +83204,9 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *324 + default: *323 headers: Link: *58 '404': *6 @@ -82848,8 +83227,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: + - *328 - *329 - - *330 - *83 requestBody: required: true @@ -82882,16 +83261,16 @@ paths: description: Reaction exists content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '201': description: Reaction created content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '422': *15 x-github: githubCloudOnly: false @@ -82913,10 +83292,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: + - *328 - *329 - - *330 - *83 - - *325 + - *324 responses: '204': description: Response @@ -82959,8 +83338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: + - *328 - *329 - - *330 - &573 name: pull_number description: The number that identifies the pull request. @@ -83011,8 +83390,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: + - *328 - *329 - - *330 - *573 requestBody: required: false @@ -83079,8 +83458,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: + - *328 - *329 - - *330 - *573 requestBody: required: true @@ -83141,17 +83520,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '401': *25 '403': *29 '404': *6 @@ -83181,8 +83560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: + - *328 - *329 - - *330 - *573 - *94 - name: direction @@ -83239,8 +83618,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 requestBody: required: true @@ -83434,8 +83813,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: + - *328 - *329 - - *330 - *573 - *83 requestBody: @@ -83545,8 +83924,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: + - *328 - *329 - - *330 - *573 - *17 - *19 @@ -83557,7 +83936,7 @@ paths: application/json: schema: type: array - items: *462 + items: *461 examples: default: *575 headers: @@ -83589,8 +83968,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: + - *328 - *329 - - *330 - *573 - *17 - *19 @@ -83601,7 +83980,7 @@ paths: application/json: schema: type: array - items: *475 + items: *474 examples: default: value: @@ -83639,8 +84018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: + - *328 - *329 - - *330 - *573 responses: '204': @@ -83664,8 +84043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: + - *328 - *329 - - *330 - *573 requestBody: required: false @@ -83777,8 +84156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 responses: '200': @@ -83854,8 +84233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 requestBody: required: false @@ -83893,7 +84272,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *465 examples: default: value: @@ -84429,8 +84808,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: + - *328 - *329 - - *330 - *573 requestBody: required: true @@ -84465,7 +84844,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *465 examples: default: value: @@ -84970,8 +85349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 - *17 - *19 @@ -85133,8 +85512,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 requestBody: required: false @@ -85286,8 +85665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 - &577 name: review_id @@ -85362,8 +85741,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 - *577 requestBody: @@ -85450,8 +85829,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 - *577 responses: @@ -85488,8 +85867,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: + - *328 - *329 - - *330 - *573 - *577 - *17 @@ -85574,9 +85953,9 @@ paths: _links: type: object properties: - self: *251 - html: *251 - pull_request: *251 + self: *250 + html: *250 + pull_request: *250 required: - self - html @@ -85726,8 +86105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 - *577 requestBody: @@ -85820,8 +86199,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 - *577 requestBody: @@ -85882,8 +86261,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: + - *328 - *329 - - *330 - *573 requestBody: required: false @@ -85947,8 +86326,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: + - *328 - *329 - - *330 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -86005,8 +86384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: + - *328 - *329 - - *330 - name: dir description: The alternate path to look for a README file in: path @@ -86050,8 +86429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -86319,8 +86698,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -86503,8 +86882,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: + - *328 - *329 - - *330 - &584 name: asset_id description: The unique identifier of the asset. @@ -86554,7 +86933,7 @@ paths: type: User site_admin: false '404': *6 - '302': *477 + '302': *476 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86570,8 +86949,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: + - *328 - *329 - - *330 - *584 requestBody: required: false @@ -86618,8 +86997,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: + - *328 - *329 - - *330 - *584 responses: '204': @@ -86644,8 +87023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -86730,8 +87109,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -86756,8 +87135,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: + - *328 - *329 - - *330 - name: tag description: tag parameter in: path @@ -86794,8 +87173,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: + - *328 - *329 - - *330 - &587 name: release_id description: The unique identifier of the release. @@ -86830,8 +87209,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: + - *328 - *329 - - *330 - *587 requestBody: required: false @@ -86919,8 +87298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: + - *328 - *329 - - *330 - *587 responses: '204': @@ -86941,8 +87320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: + - *328 - *329 - - *330 - *587 - *17 - *19 @@ -87034,8 +87413,8 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: + - *328 - *329 - - *330 - *587 - name: name in: query @@ -87117,8 +87496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: + - *328 - *329 - - *330 - *587 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -87143,9 +87522,9 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *324 + default: *323 headers: Link: *58 '404': *6 @@ -87166,8 +87545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: + - *328 - *329 - - *330 - *587 requestBody: required: true @@ -87198,16 +87577,16 @@ paths: description: Reaction exists content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '201': description: Reaction created content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '422': *15 x-github: githubCloudOnly: false @@ -87229,10 +87608,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: + - *328 - *329 - - *330 - *587 - - *325 + - *324 responses: '204': description: Response @@ -87256,9 +87635,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: + - *328 - *329 - - *330 - - *399 + - *398 - *17 - *19 responses: @@ -87274,7 +87653,7 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *270 + - *269 - &588 title: repository ruleset data for rule description: User-defined metadata to store domain-specific @@ -87294,6 +87673,9 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. + - allOf: + - *270 + - *588 - allOf: - *271 - *588 @@ -87301,10 +87683,10 @@ paths: - *272 - *588 - allOf: - - *273 + - *589 - *588 - allOf: - - *589 + - *273 - *588 - allOf: - *274 @@ -87351,9 +87733,6 @@ paths: - allOf: - *288 - *588 - - allOf: - - *289 - - *588 - allOf: - *590 - *588 @@ -87395,8 +87774,8 @@ paths: category: repos subcategory: rules parameters: + - *328 - *329 - - *330 - *17 - *19 - name: includes_parents @@ -87415,7 +87794,7 @@ paths: application/json: schema: type: array - items: *290 + items: *289 examples: default: value: @@ -87462,8 +87841,8 @@ paths: category: repos subcategory: rules parameters: + - *328 - *329 - - *330 requestBody: description: Request body required: true @@ -87483,12 +87862,12 @@ paths: - tag - push default: branch - enforcement: *267 + enforcement: *266 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *268 - conditions: *265 + items: *267 + conditions: *264 rules: type: array description: An array of rules within the ruleset. @@ -87523,7 +87902,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *289 examples: default: &602 value: @@ -87572,8 +87951,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: + - *328 - *329 - - *330 - *593 - *594 - *595 @@ -87608,8 +87987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: + - *328 - *329 - - *330 - *599 responses: '200': @@ -87646,8 +88025,8 @@ paths: category: repos subcategory: rules parameters: + - *328 - *329 - - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87667,7 +88046,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *289 examples: default: *602 '404': *6 @@ -87687,8 +88066,8 @@ paths: category: repos subcategory: rules parameters: + - *328 - *329 - - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87713,12 +88092,12 @@ paths: - branch - tag - push - enforcement: *267 + enforcement: *266 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *268 - conditions: *265 + items: *267 + conditions: *264 rules: description: An array of rules within the ruleset. type: array @@ -87750,7 +88129,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *289 examples: default: *602 '404': *6 @@ -87770,8 +88149,8 @@ paths: category: repos subcategory: rules parameters: + - *328 - *329 - - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87794,8 +88173,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: + - *328 - *329 - - *330 - *17 - *19 - name: ruleset_id @@ -87811,7 +88190,7 @@ paths: application/json: schema: type: array - items: *293 + items: *292 examples: default: *603 '404': *6 @@ -87832,8 +88211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: + - *328 - *329 - - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87906,21 +88285,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: + - *328 - *329 - - *330 + - *293 - *294 - *295 - *296 - - *297 - *48 - *19 - *17 - *605 - *606 + - *297 - *298 - *299 - *300 - - *301 responses: '200': description: Response @@ -88050,6 +88429,13 @@ 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: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true examples: default: value: @@ -88142,6 +88528,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 @@ -88167,10 +88572,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: + - *328 - *329 - - *330 - - *431 - - *301 + - *430 + - *300 responses: '200': description: Response @@ -88228,9 +88633,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: + - *328 - *329 - - *330 - - *431 + - *430 requestBody: required: true content: @@ -88332,9 +88737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: + - *328 - *329 - - *330 - - *431 + - *430 - *19 - *17 responses: @@ -88469,8 +88874,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -88545,8 +88950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: + - *328 - *329 - - *330 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -88665,8 +89070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: + - *328 - *329 - - *330 - *48 - name: sort description: The property to sort the results by. @@ -88735,8 +89140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -88809,7 +89214,7 @@ paths: login: type: string description: The username of the user credited. - type: *306 + type: *305 required: - login - type @@ -89131,8 +89536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -89383,8 +89788,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: + - *328 - *329 - - *330 - *629 responses: '200': @@ -89417,8 +89822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: + - *328 - *329 - - *330 - *629 requestBody: required: true @@ -89492,7 +89897,7 @@ paths: login: type: string description: The username of the user credited. - type: *306 + type: *305 required: - login - type @@ -89619,8 +90024,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: + - *328 - *329 - - *330 - *629 responses: '202': *39 @@ -89648,17 +90053,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: + - *328 - *329 - - *330 - *629 responses: '202': description: Response content: application/json: - schema: *337 + schema: *336 examples: - default: *339 + default: *338 '400': *14 '422': *15 '403': *29 @@ -89684,8 +90089,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -89784,8 +90189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: + - *328 - *329 - - *330 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -89827,8 +90232,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -89904,8 +90309,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -90001,8 +90406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: + - *328 - *329 - - *330 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -90156,8 +90561,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: + - *328 - *329 - - *330 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -90200,8 +90605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: + - *328 - *329 - - *330 - name: sha in: path required: true @@ -90309,8 +90714,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -90342,8 +90747,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: + - *328 - *329 - - *330 responses: '200': description: if you subscribe to the repository @@ -90417,8 +90822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: + - *328 - *329 - - *330 requestBody: required: false content: @@ -90471,8 +90876,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -90492,8 +90897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -90572,8 +90977,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -90633,8 +91038,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -90688,8 +91093,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: + - *328 - *329 - - *330 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -90726,8 +91131,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: + - *328 - *329 - - *330 - name: ref in: path required: true @@ -90763,8 +91168,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -90776,7 +91181,7 @@ paths: type: array items: *167 examples: - default: *226 + default: *225 headers: Link: *58 '404': *6 @@ -90796,8 +91201,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: + - *328 - *329 - - *330 - *19 - *17 responses: @@ -90840,8 +91245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -90895,8 +91300,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: + - *328 - *329 - - *330 - &637 name: per description: The time frame to display results for. @@ -91013,8 +91418,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -91104,8 +91509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -91165,8 +91570,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: + - *328 - *329 - - *330 - *637 responses: '200': @@ -91263,8 +91668,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -91538,8 +91943,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -91562,8 +91967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -91585,8 +91990,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -91612,8 +92017,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: + - *328 - *329 - - *330 - name: ref in: path required: true @@ -91705,9 +92110,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *336 examples: - default: *339 + default: *338 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -92188,7 +92593,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *397 + properties: *396 nullable: true comment_count: type: integer @@ -92227,7 +92632,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *397 + properties: *396 nullable: true parents: type: array @@ -92545,8 +92950,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *249 - required: *250 + properties: *248 + required: *249 nullable: true comments: type: integer @@ -92604,7 +93009,7 @@ paths: timeline_url: type: string format: uri - type: *208 + type: *207 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -93842,9 +94247,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *313 examples: - default: *315 + default: *314 '404': *6 x-github: githubCloudOnly: false @@ -93934,16 +94339,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *314 + schema: *313 examples: - default: *315 + default: *314 '201': description: Response content: application/json: - schema: *314 + schema: *313 examples: - default: *315 + default: *314 '404': *6 '422': *15 '403': *29 @@ -94013,7 +94418,7 @@ paths: application/json: schema: type: array - items: *316 + items: *315 examples: default: *645 headers: @@ -94078,9 +94483,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *315 examples: - default: *317 + default: *316 x-github: triggersNotification: true githubCloudOnly: false @@ -94108,15 +94513,15 @@ paths: url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - *644 - - *318 + - *317 responses: '200': description: Response content: application/json: - schema: *316 + schema: *315 examples: - default: *317 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94142,7 +94547,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - *644 - - *318 + - *317 requestBody: required: false content: @@ -94165,7 +94570,7 @@ paths: description: Response content: application/json: - schema: *316 + schema: *315 examples: default: *646 x-github: @@ -94193,7 +94598,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - *644 - - *318 + - *317 responses: '204': description: Response @@ -94223,7 +94628,7 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - *644 - - *318 + - *317 - *48 - *17 - *19 @@ -94234,7 +94639,7 @@ paths: application/json: schema: type: array - items: *319 + items: *318 examples: default: *647 headers: @@ -94266,7 +94671,7 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - *644 - - *318 + - *317 requestBody: required: true content: @@ -94288,9 +94693,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *318 examples: - default: *320 + default: *319 x-github: triggersNotification: true githubCloudOnly: false @@ -94318,16 +94723,16 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - *644 - - *318 - - *321 + - *317 + - *320 responses: '200': description: Response content: application/json: - schema: *319 + schema: *318 examples: - default: *320 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94353,8 +94758,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - *644 - - *318 - - *321 + - *317 + - *320 requestBody: required: true content: @@ -94376,7 +94781,7 @@ paths: description: Response content: application/json: - schema: *319 + schema: *318 examples: default: *648 x-github: @@ -94404,8 +94809,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - *644 - - *318 - - *321 + - *317 + - *320 responses: '204': description: Response @@ -94435,8 +94840,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - *644 - - *318 - - *321 + - *317 + - *320 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -94462,9 +94867,9 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *324 + default: *323 headers: Link: *58 x-github: @@ -94494,8 +94899,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - *644 - - *318 - - *321 + - *317 + - *320 requestBody: required: true content: @@ -94527,9 +94932,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94556,7 +94961,7 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - *644 - - *318 + - *317 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -94582,9 +94987,9 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *324 + default: *323 headers: Link: *58 x-github: @@ -94614,7 +95019,7 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - *644 - - *318 + - *317 requestBody: required: true content: @@ -94646,9 +95051,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94682,9 +95087,9 @@ paths: application/json: schema: type: array - items: *205 + items: *204 examples: - default: *206 + default: *205 headers: Link: *58 x-github: @@ -94882,7 +95287,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *325 examples: response-if-user-is-a-team-maintainer: *649 '404': *6 @@ -94943,7 +95348,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *325 examples: response-if-users-membership-with-team-is-now-pending: *650 '403': @@ -95018,7 +95423,7 @@ paths: application/json: schema: type: array - items: *327 + items: *326 examples: default: *651 headers: @@ -95047,13 +95452,13 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - *644 - - *328 + - *327 responses: '200': description: Response content: application/json: - schema: *327 + schema: *326 examples: default: *652 '404': @@ -95080,7 +95485,7 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - *644 - - *328 + - *327 requestBody: required: false content: @@ -95148,7 +95553,7 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - *644 - - *328 + - *327 responses: '204': description: Response @@ -95187,7 +95592,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 '404': *6 @@ -95218,8 +95623,8 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - *644 + - *328 - *329 - - *330 responses: '200': description: Alternative response with extra repository information @@ -95377,8 +95782,8 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - *644 + - *328 - *329 - - *330 requestBody: required: false content: @@ -95429,8 +95834,8 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - *644 + - *328 - *329 - - *330 responses: '204': description: Response @@ -96059,9 +96464,9 @@ paths: type: integer codespaces: type: array - items: *213 + items: *212 examples: - default: *214 + default: *213 '304': *37 '500': *104 '401': *25 @@ -96200,17 +96605,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '401': *25 '403': *29 '404': *6 @@ -96294,7 +96699,7 @@ paths: - visibility - selected_repositories_url examples: - default: *454 + default: *453 headers: Link: *58 x-github: @@ -96660,15 +97065,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *215 + - *214 responses: '200': description: Response content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '304': *37 '500': *104 '401': *25 @@ -96694,7 +97099,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *215 + - *214 requestBody: required: false content: @@ -96724,9 +97129,9 @@ paths: description: Response content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '401': *25 '403': *29 '404': *6 @@ -96748,7 +97153,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *215 + - *214 responses: '202': *39 '304': *37 @@ -96777,7 +97182,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *215 + - *214 responses: '202': description: Response @@ -96856,7 +97261,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *215 + - *214 - name: export_id in: path required: true @@ -96892,7 +97297,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *215 + - *214 responses: '200': description: Response @@ -96939,7 +97344,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *215 + - *214 requestBody: required: true content: @@ -96989,13 +97394,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *337 + repository: *336 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *452 - required: *453 + properties: *451 + required: *452 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -97769,15 +98174,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *215 + - *214 responses: '200': description: Response content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '304': *37 '500': *104 '400': *14 @@ -97809,15 +98214,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *215 + - *214 responses: '200': description: Response content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '500': *104 '401': *25 '403': *29 @@ -97847,7 +98252,7 @@ paths: application/json: schema: type: array - items: *227 + items: *226 examples: default: &674 value: @@ -98936,12 +99341,12 @@ paths: application/json: schema: anyOf: - - *203 + - *202 - type: object properties: {} additionalProperties: false examples: - default: *204 + default: *203 '204': description: Response when there are no restrictions x-github: @@ -98976,7 +99381,7 @@ paths: description: Response content: application/json: - schema: *203 + schema: *202 examples: default: value: @@ -99057,7 +99462,7 @@ paths: - closed - all default: open - - *211 + - *210 - name: sort description: What to sort results by. in: query @@ -99082,7 +99487,7 @@ paths: type: array items: *84 examples: - default: *212 + default: *211 headers: Link: *58 '404': *6 @@ -99487,7 +99892,7 @@ paths: application/json: schema: type: array - items: *218 + items: *217 examples: default: value: @@ -99595,7 +100000,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *217 examples: default: value: @@ -99678,7 +100083,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *217 examples: default: value: @@ -99746,7 +100151,7 @@ paths: application/json: schema: type: array - items: *220 + items: *219 examples: default: value: @@ -99999,7 +100404,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *219 examples: default: value: @@ -100179,7 +100584,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *221 + - *220 - name: exclude in: query required: false @@ -100192,7 +100597,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *219 examples: default: value: @@ -100386,7 +100791,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *221 + - *220 responses: '302': description: Response @@ -100412,7 +100817,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *221 + - *220 responses: '204': description: Response @@ -100441,7 +100846,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *221 + - *220 - *671 responses: '204': @@ -100466,7 +100871,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *221 + - *220 - *17 - *19 responses: @@ -100478,7 +100883,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 '404': *6 @@ -100513,7 +100918,7 @@ paths: application/json: schema: type: array - items: *217 + items: *216 examples: default: *672 headers: @@ -100567,7 +100972,7 @@ paths: application/json: schema: type: array - items: *227 + items: *226 examples: default: *674 '400': *675 @@ -100590,14 +100995,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: + - *228 - *229 - - *230 responses: '200': description: Response content: application/json: - schema: *227 + schema: *226 examples: default: &691 value: @@ -100712,8 +101117,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: + - *228 - *229 - - *230 responses: '204': description: Response @@ -100743,8 +101148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: + - *228 - *229 - - *230 - name: token description: package token schema: @@ -100776,8 +101181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: + - *228 - *229 - - *230 - *19 - *17 - name: state @@ -100797,7 +101202,7 @@ paths: application/json: schema: type: array - items: *231 + items: *230 examples: default: value: @@ -100846,15 +101251,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: + - *228 - *229 - - *230 - - *232 + - *231 responses: '200': description: Response content: application/json: - schema: *231 + schema: *230 examples: default: value: @@ -100890,9 +101295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: + - *228 - *229 - - *230 - - *232 + - *231 responses: '204': description: Response @@ -100922,9 +101327,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: + - *228 - *229 - - *230 - - *232 + - *231 responses: '204': description: Response @@ -100980,7 +101385,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *242 examples: default: value: @@ -101471,9 +101876,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *336 examples: - default: *339 + default: *338 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -101536,7 +101941,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *207 + - *206 responses: '204': description: Response @@ -101559,7 +101964,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *207 + - *206 responses: '204': description: Response @@ -102128,8 +102533,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: + - *328 - *329 - - *330 responses: '204': description: Response if this repository is starred by you @@ -102157,8 +102562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -102182,8 +102587,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -102218,7 +102623,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 '304': *37 @@ -102255,7 +102660,7 @@ paths: application/json: schema: type: array - items: *314 + items: *313 examples: default: value: @@ -102799,7 +103204,7 @@ paths: initiator: type: string examples: - default: *393 + default: *392 '201': description: Response content: @@ -102838,7 +103243,7 @@ paths: application/json: schema: type: array - items: *227 + items: *226 examples: default: *674 '403': *29 @@ -103433,7 +103838,7 @@ paths: application/json: schema: type: array - items: *217 + items: *216 examples: default: *672 headers: @@ -103485,7 +103890,7 @@ paths: application/json: schema: type: array - items: *227 + items: *226 examples: default: *674 '403': *29 @@ -103510,15 +103915,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: + - *228 - *229 - - *230 - *63 responses: '200': description: Response content: application/json: - schema: *227 + schema: *226 examples: default: *691 x-github: @@ -103541,8 +103946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: + - *228 - *229 - - *230 - *63 responses: '204': @@ -103575,8 +103980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: + - *228 - *229 - - *230 - *63 - name: token description: package token @@ -103609,8 +104014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: + - *228 - *229 - - *230 - *63 responses: '200': @@ -103619,7 +104024,7 @@ paths: application/json: schema: type: array - items: *231 + items: *230 examples: default: value: @@ -103677,16 +104082,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: + - *228 - *229 - - *230 - - *232 + - *231 - *63 responses: '200': description: Response content: application/json: - schema: *231 + schema: *230 examples: default: value: @@ -103721,10 +104126,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: + - *228 - *229 - - *230 - *63 - - *232 + - *231 responses: '204': description: Response @@ -103756,10 +104161,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: + - *228 - *229 - - *230 - *63 - - *232 + - *231 responses: '204': description: Response @@ -103806,7 +104211,7 @@ paths: application/json: schema: type: array - items: *243 + items: *242 examples: default: value: @@ -103881,9 +104286,9 @@ paths: application/json: schema: type: array - items: *244 + items: *243 examples: - default: *245 + default: *244 headers: Link: *58 '304': *37 @@ -103905,16 +104310,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *246 + - *245 - *63 responses: '200': description: Response content: application/json: - schema: *244 + schema: *243 examples: - default: *245 + default: *244 headers: Link: *58 '304': *37 @@ -103936,7 +104341,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *246 + - *245 - *63 - *17 - *40 @@ -103948,9 +104353,9 @@ paths: application/json: schema: type: array - items: *247 + items: *246 examples: - default: *248 + default: *247 headers: Link: *58 '304': *37 @@ -103972,7 +104377,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *246 + - *245 - *692 - *63 responses: @@ -103980,9 +104385,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *246 examples: - default: *248 + default: *247 headers: Link: *58 '304': *37 @@ -104005,7 +104410,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *246 + - *245 - *63 - *40 - *41 @@ -104035,9 +104440,9 @@ paths: application/json: schema: type: array - items: *254 + items: *253 examples: - default: *255 + default: *254 headers: Link: *58 '304': *37 @@ -104059,7 +104464,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *63 - - *246 + - *245 requestBody: required: true description: Details of the item to add to the project. @@ -104098,8 +104503,8 @@ paths: application/json: schema: *693 examples: - issue: *253 - pull_request: *253 + issue: *252 + pull_request: *252 '304': *37 '403': *29 '401': *25 @@ -104119,9 +104524,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *246 + - *245 - *63 - - *256 + - *255 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -104138,9 +104543,9 @@ paths: description: Response content: application/json: - schema: *254 + schema: *253 examples: - default: *255 + default: *254 headers: Link: *58 '304': *37 @@ -104161,9 +104566,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *246 + - *245 - *63 - - *256 + - *255 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -104233,13 +104638,13 @@ paths: description: Response content: application/json: - schema: *254 + schema: *253 examples: - text_field: *255 - number_field: *255 - date_field: *255 - single_select_field: *255 - iteration_field: *255 + text_field: *254 + number_field: *254 + date_field: *254 + single_select_field: *254 + iteration_field: *254 '401': *25 '403': *29 '404': *6 @@ -104259,9 +104664,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *246 + - *245 - *63 - - *256 + - *255 responses: '204': description: Response @@ -104509,7 +104914,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 x-github: @@ -104960,7 +105365,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 x-github: @@ -106699,7 +107104,7 @@ x-webhooks: type: string pull_requests: type: array - items: *410 + items: *409 repository: *135 status: example: completed @@ -106787,7 +107192,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *410 + items: *409 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -110517,7 +110922,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *425 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -110840,7 +111245,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *425 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111170,7 +111575,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *426 + dismissed_comment: *425 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -111512,7 +111917,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *425 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111783,7 +112188,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *426 + dismissed_comment: *425 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112057,7 +112462,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *426 + dismissed_comment: *425 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112645,7 +113050,7 @@ x-webhooks: type: string enum: - created - definition: *257 + definition: *256 enterprise: *708 installation: *709 organization: *710 @@ -112812,7 +113217,7 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *257 + definition: *256 enterprise: *708 installation: *709 organization: *710 @@ -112892,7 +113297,7 @@ x-webhooks: type: string enum: - updated - definition: *257 + definition: *256 enterprise: *708 installation: *709 organization: *710 @@ -112980,11 +113385,11 @@ x-webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *261 + items: *260 old_property_values: type: array description: The old custom property values for the repository. - items: *261 + items: *260 required: - action - repository @@ -124460,7 +124865,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -125847,7 +126252,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -127087,7 +127492,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -128697,7 +129102,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -129694,7 +130099,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -130816,7 +131221,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -131824,7 +132229,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -132948,7 +133353,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *208 + type: *207 title: description: Title of the issue type: string @@ -133940,7 +134345,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *208 + type: *207 title: description: Title of the issue type: string @@ -134956,7 +135361,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *208 + type: *207 title: description: Title of the issue type: string @@ -135944,7 +136349,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -136989,7 +137394,7 @@ x-webhooks: required: - login - id - type: *208 + type: *207 required: - id - number @@ -138268,7 +138673,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -139254,7 +139659,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -140343,7 +140748,7 @@ x-webhooks: format: uri user_view_type: type: string - type: *208 + type: *207 organization: *710 repository: *711 sender: *4 @@ -141231,7 +141636,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -141886,7 +142291,7 @@ x-webhooks: enterprise: *708 installation: *709 issue: *735 - type: *208 + type: *207 organization: *710 repository: *711 sender: *4 @@ -143038,7 +143443,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -143283,7 +143688,7 @@ x-webhooks: enterprise: *708 installation: *709 issue: *735 - type: *208 + type: *207 organization: *710 repository: *711 sender: *4 @@ -150986,7 +151391,7 @@ x-webhooks: - closed installation: *709 organization: *710 - projects_v2: *244 + projects_v2: *243 sender: *4 required: - action @@ -151069,7 +151474,7 @@ x-webhooks: - created installation: *709 organization: *710 - projects_v2: *244 + projects_v2: *243 sender: *4 required: - action @@ -151152,7 +151557,7 @@ x-webhooks: - deleted installation: *709 organization: *710 - projects_v2: *244 + projects_v2: *243 sender: *4 required: - action @@ -151271,7 +151676,7 @@ x-webhooks: type: string installation: *709 organization: *710 - projects_v2: *244 + projects_v2: *243 sender: *4 required: - action @@ -151388,7 +151793,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *252 + content_type: *251 creator: *4 created_at: type: string @@ -152122,7 +152527,7 @@ x-webhooks: - reopened installation: *709 organization: *710 - projects_v2: *244 + projects_v2: *243 sender: *4 required: - action @@ -214796,7 +215201,7 @@ x-webhooks: installation: *709 organization: *710 repository: *711 - repository_ruleset: *290 + repository_ruleset: *289 sender: *4 required: - action @@ -214878,7 +215283,7 @@ x-webhooks: installation: *709 organization: *710 repository: *711 - repository_ruleset: *290 + repository_ruleset: *289 sender: *4 required: - action @@ -214960,7 +215365,7 @@ x-webhooks: installation: *709 organization: *710 repository: *711 - repository_ruleset: *290 + repository_ruleset: *289 changes: type: object properties: @@ -214979,16 +215384,16 @@ x-webhooks: properties: added: type: array - items: *265 + items: *264 deleted: type: array - items: *265 + items: *264 updated: type: array items: type: object properties: - condition: *265 + condition: *264 changes: type: object properties: @@ -216232,6 +216637,13 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true + assigned_to: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true enterprise: *708 installation: *709 organization: *710 @@ -217466,11 +217878,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *264 + security_and_analysis: *263 enterprise: *708 installation: *709 organization: *710 - repository: *337 + repository: *336 sender: *4 required: - changes diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index 29a86167aa..26a351c988 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -23478,6 +23478,131 @@ "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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } } @@ -23645,7 +23770,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 + } } ] } @@ -88543,7 +88688,7 @@ { "name": "has", "in": "query", - "description": "Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple `has` filters can be passed to filter for alerts that have all of the values. Currently, only `patch` is supported.", + "description": "Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple `has` filters can be passed to filter for alerts that have all of the values.", "schema": { "oneOf": [ { @@ -88554,13 +88699,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", @@ -160903,6 +161057,131 @@ "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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } } @@ -161070,7 +161349,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 + } } ] } @@ -164540,6 +164839,1134 @@ } } }, + "/orgs/{org}/settings/immutable-releases": { + "get": { + "summary": "Get immutable releases settings for an organization", + "description": "Gets the immutable releases policy for repositories in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-immutable-releases-settings", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Immutable releases settings response", + "content": { + "application/json": { + "schema": { + "title": "Check immutable releases organization settings", + "description": "Check immutable releases settings for an organization.", + "type": "object", + "properties": { + "enforced_repositories": { + "type": "string", + "description": "The policy that controls how immutable releases are enforced in the organization.", + "enum": [ + "all", + "none", + "selected" + ], + "example": "all" + }, + "selected_repositories_url": { + "type": "string", + "description": "The API URL to use to get or set the selected repositories for immutable releases enforcement, when `enforced_repositories` is set to `selected`." + } + }, + "required": [ + "enforced_repositories" + ] + }, + "examples": { + "default": { + "value": { + "enforced_repositories": "all" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "put": { + "summary": "Set immutable releases settings for an organization", + "description": "Sets the immutable releases policy for repositories in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/set-immutable-releases-settings", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enforced_repositories": { + "type": "string", + "description": "The policy that controls how immutable releases are enforced in the organization.", + "enum": [ + "all", + "none", + "selected" + ], + "example": "all" + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids for which immutable releases enforcement should be applied. You can only provide a list of repository ids when the `enforced_repositories` is set to `selected`. You can add and remove individual repositories using the [Enable a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) and [Disable a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "enforced_repositories" + ] + }, + "examples": { + "default": { + "value": { + "enforced_repositories": "all" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/settings/immutable-releases/repositories": { + "get": { + "summary": "List selected repositories for immutable releases enforcement", + "description": "List all of the repositories that have been selected for immutable releases enforcement in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-immutable-releases-settings-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "repositories" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "title": "Minimal Repository", + "description": "Minimal Repository", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "example": 1296269 + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "type": "string", + "example": "Hello-World" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "has_discussions": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "example": "admin" + }, + "temp_clone_token": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "code_of_conduct": { + "title": "Code Of Conduct", + "description": "Code Of Conduct", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "contributor_covenant" + }, + "name": { + "type": "string", + "example": "Contributor Covenant" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/codes_of_conduct/contributor_covenant" + }, + "body": { + "type": "string", + "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/).\n" + }, + "html_url": { + "type": "string", + "format": "uri", + "nullable": true + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "node_id": { + "type": "string" + } + }, + "nullable": true + }, + "forks": { + "type": "integer", + "example": 0 + }, + "open_issues": { + "type": "integer", + "example": 0 + }, + "watchers": { + "type": "integer", + "example": 0 + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "example": false + }, + "security_and_analysis": { + "nullable": true, + "type": "object", + "properties": { + "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "code_security": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "dependabot_security_updates": { + "description": "Enable or disable Dependabot security updates for the repository.", + "type": "object", + "properties": { + "status": { + "description": "The enablement status of Dependabot security updates for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_push_protection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_non_provider_patterns": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_ai_detection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + } + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "repositories": [ + { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "put": { + "summary": "Set selected repositories for immutable releases enforcement", + "description": "Replaces all repositories that have been selected for immutable releases enforcement in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/set-immutable-releases-settings-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids for which immutable releases enforcement should be applied. You can only provide a list of repository ids when the `enforced_repositories` is set to `selected`. You can add and remove individual repositories using the [Enable a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) and [Disable a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 64780797 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/settings/immutable-releases/repositories/{repository_id}": { + "put": { + "summary": "Enable a selected repository for immutable releases in an organization", + "description": "Adds a repository to the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "operationId": "orgs/enable-selected-repository-immutable-releases-organization", + "tags": [ + "orgs" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "description": "The unique identifier of the repository.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "delete": { + "summary": "Disable a selected repository for immutable releases in an organization", + "description": "Removes a repository from the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "operationId": "orgs/disable-selected-repository-immutable-releases-organization", + "tags": [ + "orgs" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "description": "The unique identifier of the repository.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, "/orgs/{org}/settings/network-configurations": { "get": { "summary": "List hosted compute network configurations for an organization", @@ -313545,17 +314972,97 @@ } } }, - "/repos/{owner}/{repo}/hooks/{hook_id}/tests": { - "post": { - "summary": "Test the push repository webhook", - "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n> [!NOTE]\n> Previously `/repos/:owner/:repo/hooks/:hook_id/test`", + "/repos/{owner}/{repo}/hooks/{hook_id}/tests": { + "post": { + "summary": "Test the push repository webhook", + "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n> [!NOTE]\n> Previously `/repos/:owner/:repo/hooks/:hook_id/test`", + "tags": [ + "repos" + ], + "operationId": "repos/test-push-webhook", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook" + }, + "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" + } + }, + { + "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.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "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\nenforced by the repository owner. The authenticated user must have admin read access to the repository.", "tags": [ "repos" ], - "operationId": "repos/test-push-webhook", + "operationId": "repos/check-immutable-releases", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook" + "url": "https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository" }, "parameters": [ { @@ -313575,23 +315082,93 @@ "schema": { "type": "string" } + } + ], + "responses": { + "200": { + "description": "Response if immutable releases are enabled", + "content": { + "application/json": { + "schema": { + "title": "Check immutable releases", + "description": "Check immutable releases", + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "example": true, + "description": "Whether immutable releases are enabled for the repository." + }, + "enforced_by_owner": { + "type": "boolean", + "example": false, + "description": "Whether immutable releases are enforced by the repository owner." + } + }, + "required": [ + "enabled", + "enforced_by_owner" + ] + }, + "examples": { + "default": { + "value": { + "enabled": true, + "enforced_by_owner": false + } + } + } + } + } }, + "404": { + "description": "Not Found if immutable releases are not enabled for the repository" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "repos" + } + }, + "put": { + "summary": "Enable immutable releases", + "description": "Enables immutable releases for a repository. The authenticated user must have admin access to the repository.", + "tags": [ + "repos" + ], + "operationId": "repos/enable-immutable-releases", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/repos#enable-immutable-releases" + }, + "parameters": [ { - "name": "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.", + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", "in": "path", "required": true, "schema": { - "type": "integer" + "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": "Response" + "description": "A header with no content is returned." }, - "404": { - "description": "Resource not found", + "409": { + "description": "Conflict", "content": { "application/json": { "schema": { @@ -313621,7 +315198,76 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "repos", - "subcategory": "webhooks" + "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" } } }, @@ -461491,6 +463137,131 @@ "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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } } @@ -461591,7 +463362,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 + } } ] } @@ -462484,6 +464275,131 @@ "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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } }, @@ -463442,6 +465358,131 @@ "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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } }, @@ -1165793,165 +1167834,316 @@ ], "nullable": true }, - "resolution_comment": { + "resolution_comment": { + "type": "string", + "description": "An optional comment to resolve an alert.", + "nullable": true + }, + "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", + "description": "Whether push protection was bypassed for the detected secret.", + "nullable": true + }, + "push_protection_bypassed_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypassed_at": { + "type": "string", + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "nullable": true + }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_reviewer_comment": { "type": "string", - "description": "An optional comment to resolve an alert.", + "description": "An optional comment when reviewing a push protection bypass.", "nullable": true }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { + "push_protection_bypass_request_comment": { "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).\"" + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true }, - "validity": { + "push_protection_bypass_request_html_url": { "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "push_protection_bypassed": { - "type": "boolean", - "description": "Whether push protection was bypassed for the detected secret.", + "format": "uri", + "description": "The URL to a push protection bypass request.", "nullable": true }, - "push_protection_bypassed_by": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", "nullable": true }, - "push_protection_bypassed_at": { - "type": "string", - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", "nullable": true }, - "push_protection_bypass_request_reviewer": { + "assigned_to": { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -1166075,32 +1168267,6 @@ "url" ], "nullable": true - }, - "push_protection_bypass_request_reviewer_comment": { - "type": "string", - "description": "An optional comment when reviewing a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_comment": { - "type": "string", - "description": "An optional comment when requesting a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_html_url": { - "type": "string", - "format": "uri", - "description": "The URL to a push protection bypass request.", - "nullable": true - }, - "publicly_leaked": { - "type": "boolean", - "description": "Whether the detected secret was publicly leaked.", - "nullable": true - }, - "multi_repo": { - "type": "boolean", - "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", - "nullable": true } } }, @@ -1168204,6 +1170370,131 @@ "type": "boolean", "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", "nullable": true + }, + "assigned_to": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } }, @@ -1170723,6 +1173014,131 @@ "type": "boolean", "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", "nullable": true + }, + "assigned_to": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } }, @@ -1172800,32 +1175216,157 @@ "url" ], "nullable": true - }, - "push_protection_bypass_request_reviewer_comment": { - "type": "string", - "description": "An optional comment when reviewing a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_comment": { - "type": "string", - "description": "An optional comment when requesting a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_html_url": { - "type": "string", - "format": "uri", - "description": "The URL to a push protection bypass request.", - "nullable": true - }, - "publicly_leaked": { - "type": "boolean", - "description": "Whether the detected secret was publicly leaked.", - "nullable": true - }, - "multi_repo": { - "type": "boolean", - "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", - "nullable": true + }, + "push_protection_bypass_request_reviewer_comment": { + "type": "string", + "description": "An optional comment when reviewing a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", + "nullable": true + }, + "assigned_to": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } }, @@ -1174929,6 +1177470,131 @@ "type": "boolean", "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", "nullable": true + }, + "assigned_to": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } }, @@ -1177032,6 +1179698,131 @@ "type": "boolean", "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", "nullable": true + }, + "assigned_to": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } }, diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index de08744190..188b1fba8c 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -855,7 +855,7 @@ paths: - subscriptions_url - type - url - type: &306 + type: &305 type: string description: The type of credit the user is receiving. enum: @@ -1577,7 +1577,7 @@ paths: schema: type: integer default: 30 - - &186 + - &185 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1593,7 +1593,7 @@ paths: application/json: schema: type: array - items: &187 + items: &186 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1673,7 +1673,7 @@ paths: - installation_id - repository_id examples: - default: &188 + default: &187 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1801,7 +1801,7 @@ paths: description: Response content: application/json: - schema: &189 + schema: &188 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1915,7 +1915,7 @@ paths: - request - response examples: - default: &190 + default: &189 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2845,7 +2845,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &262 + properties: &261 id: description: Unique identifier of the repository example: 42 @@ -3283,7 +3283,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &263 + required: &262 - archive_url - assignees_url - blobs_url @@ -8588,7 +8588,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &173 + - &478 name: has in: query description: |- @@ -8602,7 +8602,7 @@ paths: type: string enum: - patch - - &174 + - &173 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8612,7 +8612,7 @@ paths: enum: - development - runtime - - &175 + - &174 name: sort in: query description: |- @@ -8630,7 +8630,7 @@ paths: - *48 - *40 - *41 - - &176 + - &175 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -8643,7 +8643,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &177 + - &176 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -8663,7 +8663,7 @@ paths: application/json: schema: type: array - items: &178 + items: &177 type: object description: A Dependabot alert. properties: @@ -9017,7 +9017,7 @@ paths: - repository additionalProperties: false examples: - default: &179 + default: &178 value: - number: 2 state: dismissed @@ -9364,7 +9364,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *42 - - &294 + - &293 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9375,7 +9375,7 @@ paths: enum: - open - resolved - - &295 + - &294 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -9385,7 +9385,7 @@ paths: required: false schema: type: string - - &296 + - &295 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9394,7 +9394,7 @@ paths: required: false schema: type: string - - &297 + - &296 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -9410,7 +9410,7 @@ paths: - *17 - *40 - *41 - - &298 + - &297 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9419,7 +9419,7 @@ paths: required: false schema: type: string - - &299 + - &298 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9428,7 +9428,7 @@ paths: schema: type: boolean default: false - - &300 + - &299 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9437,7 +9437,7 @@ paths: schema: type: boolean default: false - - &301 + - &300 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -9453,7 +9453,7 @@ paths: application/json: schema: type: array - items: &302 + items: &301 type: object properties: number: *54 @@ -9853,8 +9853,15 @@ 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: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true examples: - default: &303 + default: &302 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -10010,6 +10017,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: *58 '404': *6 @@ -10771,7 +10797,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &249 + properties: &248 url: type: string format: uri @@ -10841,7 +10867,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &250 + required: &249 - closed_issues - creator - description @@ -10920,7 +10946,7 @@ paths: timeline_url: type: string format: uri - type: &208 + type: &207 title: Issue Type description: The type of issue. type: object @@ -13588,7 +13614,7 @@ paths: - closed - all default: open - - &211 + - &210 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -13639,7 +13665,7 @@ paths: type: array items: *84 examples: - default: &212 + default: &211 value: - id: 1 node_id: MDU6SXNzdWUx @@ -15024,14 +15050,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &329 + - &328 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &330 + - &329 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -15102,7 +15128,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &338 + '301': &337 description: Moved permanently content: application/json: @@ -15178,7 +15204,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &181 + properties: &180 id: type: integer format: int64 @@ -15454,7 +15480,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &264 + security_and_analysis: &263 nullable: true type: object properties: @@ -15528,7 +15554,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &182 + required: &181 - archive_url - assignees_url - blobs_url @@ -16158,7 +16184,7 @@ paths: application/json: schema: type: array - items: &217 + items: &216 title: Organization Simple description: A GitHub organization. type: object @@ -17591,7 +17617,7 @@ paths: type: integer repository_cache_usages: type: array - items: &343 + items: &342 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -18458,7 +18484,7 @@ paths: - all - local_only - selected - selected_actions_url: &349 + selected_actions_url: &348 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -18541,7 +18567,7 @@ paths: description: Response content: application/json: - schema: &353 + schema: &352 type: object properties: days: @@ -18583,7 +18609,7 @@ paths: required: true content: application/json: - schema: &354 + schema: &353 type: object properties: days: @@ -18640,7 +18666,7 @@ paths: required: - approval_policy examples: - default: &355 + default: &354 value: approval_policy: first_time_contributors '404': *6 @@ -18699,7 +18725,7 @@ paths: description: Response content: application/json: - schema: &356 + schema: &355 type: object required: - run_workflows_from_fork_pull_requests @@ -18753,7 +18779,7 @@ paths: required: true content: application/json: - schema: &357 + schema: &356 type: object required: - run_workflows_from_fork_pull_requests @@ -19388,7 +19414,7 @@ paths: description: Response content: application/json: - schema: &358 + schema: &357 type: object properties: default_workflow_permissions: &128 @@ -19439,7 +19465,7 @@ paths: required: false content: application/json: - schema: &359 + schema: &358 type: object properties: default_workflow_permissions: *128 @@ -20570,7 +20596,7 @@ paths: application/json: schema: type: array - items: &360 + items: &359 title: Runner Application description: Runner Application type: object @@ -20595,7 +20621,7 @@ paths: - download_url - filename examples: - default: &361 + default: &360 value: - os: osx architecture: x64 @@ -20681,7 +20707,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &362 + '201': &361 description: Response content: application/json: @@ -20792,7 +20818,7 @@ paths: - token - expires_at examples: - default: &363 + default: &362 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -20831,7 +20857,7 @@ paths: application/json: schema: *139 examples: - default: &364 + default: &363 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -20865,7 +20891,7 @@ paths: application/json: schema: *137 examples: - default: &365 + default: &364 value: id: 23 name: MBP @@ -21091,7 +21117,7 @@ paths: - *103 - *136 responses: - '200': &366 + '200': &365 description: Response content: application/json: @@ -21148,7 +21174,7 @@ paths: parameters: - *103 - *136 - - &367 + - &366 name: name description: The name of a self-hosted runner's custom label. in: path @@ -21278,7 +21304,7 @@ paths: description: Response content: application/json: - schema: &379 + schema: &378 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -21307,7 +21333,7 @@ paths: - key_id - key examples: - default: &380 + default: &379 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -21720,7 +21746,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *103 - - &348 + - &347 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -22798,7 +22824,7 @@ paths: initiator: type: string examples: - default: &393 + default: &392 value: attestations: - bundle: @@ -23149,7 +23175,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &224 + properties: &223 id: description: Unique identifier of the team type: integer @@ -23221,7 +23247,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &225 + required: &224 - id - node_id - url @@ -23722,7 +23748,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *103 - - &419 + - &418 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -23732,7 +23758,7 @@ paths: schema: &154 type: string description: The name of the tool used to generate the code scanning analysis. - - &420 + - &419 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -23755,7 +23781,7 @@ paths: be returned. in: query required: false - schema: &422 + schema: &421 type: string description: State of a code scanning alert. enum: @@ -23778,7 +23804,7 @@ paths: be returned. in: query required: false - schema: &423 + schema: &422 type: string description: Severity of a code scanning alert. enum: @@ -23804,7 +23830,7 @@ paths: updated_at: *151 url: *56 html_url: *57 - instances_url: &424 + instances_url: &423 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -23827,7 +23853,7 @@ paths: required: *21 nullable: true dismissed_at: *153 - dismissed_reason: &425 + dismissed_reason: &424 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -23836,13 +23862,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &426 + dismissed_comment: &425 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &427 + rule: &426 type: object properties: id: @@ -23895,7 +23921,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &428 + tool: &427 type: object properties: name: *154 @@ -23905,15 +23931,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *155 - most_recent_instance: &429 + most_recent_instance: &428 type: object properties: - ref: &421 + ref: &420 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &439 + analysis_key: &438 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -23924,7 +23950,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &440 + category: &439 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -25218,7 +25244,7 @@ paths: type: integer codespaces: type: array - items: &213 + items: &212 type: object title: Codespace description: A codespace. @@ -25248,7 +25274,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &452 + properties: &451 name: type: string description: The name of the machine. @@ -25290,7 +25316,7 @@ paths: - ready - in_progress nullable: true - required: &453 + required: &452 - name - display_name - operating_system @@ -25495,7 +25521,7 @@ paths: - pulls_url - recent_folders examples: - default: &214 + default: &213 value: total_count: 3 codespaces: @@ -26158,7 +26184,7 @@ paths: - updated_at - visibility examples: - default: &454 + default: &453 value: total_count: 2 secrets: @@ -26196,7 +26222,7 @@ paths: description: Response content: application/json: - schema: &455 + schema: &454 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -26225,7 +26251,7 @@ paths: - key_id - key examples: - default: &456 + default: &455 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26257,7 +26283,7 @@ paths: application/json: schema: *164 examples: - default: &458 + default: &457 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -26724,7 +26750,7 @@ paths: currently being billed. seats: type: array - items: &216 + items: &215 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -27255,7 +27281,7 @@ paths: application/json: schema: type: array - items: &311 + items: &310 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -27562,7 +27588,7 @@ paths: - date additionalProperties: true examples: - default: &312 + default: &311 value: - date: '2024-06-24' total_active_users: 24 @@ -27664,7 +27690,7 @@ paths: '500': *104 '403': *29 '404': *6 - '422': &313 + '422': &312 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -27712,14 +27738,35 @@ paths: Can be: `jfrog-artifactory` schema: type: string + - name: has + in: query + description: |- + Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned. + Multiple `has` filters can be passed to filter for alerts that have all of the values. + schema: + oneOf: + - type: string + - type: array + items: + type: string + enum: + - patch + - deployment + - name: runtime_risk + in: query + description: |- + A comma-separated list of runtime risk strings. If specified, only alerts for repositories with deployment records matching these risks will be returned. + + Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` + schema: + type: string - *173 - *174 - - *175 - *48 - *40 - *41 + - *175 - *176 - - *177 - *17 responses: '200': @@ -27728,9 +27775,9 @@ paths: application/json: schema: type: array - items: *178 + items: *177 examples: - default: *179 + default: *178 '304': *37 '400': *14 '403': *29 @@ -27774,7 +27821,7 @@ paths: type: integer secrets: type: array - items: &180 + items: &179 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -27898,7 +27945,7 @@ paths: description: Response content: application/json: - schema: *180 + schema: *179 examples: default: value: @@ -28195,7 +28242,7 @@ paths: application/json: schema: type: array - items: &227 + items: &226 title: Package description: A software package type: object @@ -28245,8 +28292,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *181 - required: *182 + properties: *180 + required: *181 nullable: true created_at: type: string @@ -28265,7 +28312,7 @@ paths: - created_at - updated_at examples: - default: &228 + default: &227 value: - id: 197 name: hello_docker @@ -28432,7 +28479,7 @@ paths: application/json: schema: type: array - items: &205 + items: &204 title: Organization Invitation description: Organization Invitation type: object @@ -28479,7 +28526,7 @@ paths: - invitation_teams_url - node_id examples: - default: &206 + default: &205 value: - id: 1 login: monalisa @@ -28546,7 +28593,7 @@ paths: application/json: schema: type: array - items: &183 + items: &182 title: Org Hook description: Org Hook type: object @@ -28717,9 +28764,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *182 examples: - default: &184 + default: &183 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -28767,7 +28814,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *103 - - &185 + - &184 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -28780,9 +28827,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *182 examples: - default: *184 + default: *183 '404': *6 x-github: githubCloudOnly: false @@ -28810,7 +28857,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *103 - - *185 + - *184 requestBody: required: false content: @@ -28855,7 +28902,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *182 examples: default: value: @@ -28897,7 +28944,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *103 - - *185 + - *184 responses: '204': description: Response @@ -28925,7 +28972,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *103 - - *185 + - *184 responses: '200': description: Response @@ -28956,7 +29003,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *103 - - *185 + - *184 requestBody: required: false content: @@ -29007,9 +29054,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *103 - - *185 + - *184 - *17 - - *186 + - *185 responses: '200': description: Response @@ -29017,9 +29064,9 @@ paths: application/json: schema: type: array - items: *187 + items: *186 examples: - default: *188 + default: *187 '400': *14 '422': *15 x-github: @@ -29045,16 +29092,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *103 - - *185 + - *184 - *16 responses: '200': description: Response content: application/json: - schema: *189 + schema: *188 examples: - default: *190 + default: *189 '400': *14 '422': *15 x-github: @@ -29080,7 +29127,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *103 - - *185 + - *184 - *16 responses: '202': *39 @@ -29110,7 +29157,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *103 - - *185 + - *184 responses: '204': description: Response @@ -29133,7 +29180,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *103 - - &195 + - &194 name: actor_type in: path description: The type of the actor @@ -29146,14 +29193,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &196 + - &195 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &191 + - &190 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -29161,7 +29208,7 @@ paths: required: true schema: type: string - - &192 + - &191 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -29255,12 +29302,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *103 + - *190 - *191 - - *192 - *19 - *17 - *48 - - &201 + - &200 name: sort description: The property to sort the results by. in: query @@ -29339,14 +29386,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *103 + - *190 - *191 - - *192 responses: '200': description: Response content: application/json: - schema: &193 + schema: &192 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -29362,7 +29409,7 @@ paths: type: integer format: int64 examples: - default: &194 + default: &193 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -29383,23 +29430,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *103 - - &197 + - &196 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string + - *190 - *191 - - *192 responses: '200': description: Response content: application/json: - schema: *193 + schema: *192 examples: - default: *194 + default: *193 x-github: enabledForGitHubApps: true category: orgs @@ -29418,18 +29465,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *103 + - *190 - *191 - - *192 + - *194 - *195 - - *196 responses: '200': description: Response content: application/json: - schema: *193 + schema: *192 examples: - default: *194 + default: *193 x-github: enabledForGitHubApps: true category: orgs @@ -29447,9 +29494,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *103 + - *190 - *191 - - *192 - - &198 + - &197 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -29462,7 +29509,7 @@ paths: description: Response content: application/json: - schema: &199 + schema: &198 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -29478,7 +29525,7 @@ paths: type: integer format: int64 examples: - default: &200 + default: &199 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -29515,18 +29562,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *103 - - *197 + - *196 + - *190 - *191 - - *192 - - *198 + - *197 responses: '200': description: Response content: application/json: - schema: *199 + schema: *198 examples: - default: *200 + default: *199 x-github: enabledForGitHubApps: true category: orgs @@ -29544,19 +29591,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *103 + - *194 - *195 - - *196 + - *190 - *191 - - *192 - - *198 + - *197 responses: '200': description: Response content: application/json: - schema: *199 + schema: *198 examples: - default: *200 + default: *199 x-github: enabledForGitHubApps: true category: orgs @@ -29574,13 +29621,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *103 - - *197 + - *196 + - *190 - *191 - - *192 - *19 - *17 - *48 - - *201 + - *200 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -29827,12 +29874,12 @@ paths: application/json: schema: anyOf: - - &203 + - &202 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &202 + limit: &201 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -29857,7 +29904,7 @@ paths: properties: {} additionalProperties: false examples: - default: &204 + default: &203 value: limit: collaborators_only origin: organization @@ -29892,7 +29939,7 @@ paths: duration type: object properties: - limit: *202 + limit: *201 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -29916,9 +29963,9 @@ paths: description: Response content: application/json: - schema: *203 + schema: *202 examples: - default: *204 + default: *203 '422': *15 x-github: githubCloudOnly: false @@ -29994,9 +30041,9 @@ paths: application/json: schema: type: array - items: *205 + items: *204 examples: - default: *206 + default: *205 headers: Link: *58 '404': *6 @@ -30073,7 +30120,7 @@ paths: description: Response content: application/json: - schema: *205 + schema: *204 examples: default: value: @@ -30128,7 +30175,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *103 - - &207 + - &206 name: invitation_id description: The unique identifier of the invitation. in: path @@ -30159,7 +30206,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *103 - - *207 + - *206 - *17 - *19 responses: @@ -30171,7 +30218,7 @@ paths: type: array items: *167 examples: - default: &226 + default: &225 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -30214,7 +30261,7 @@ paths: application/json: schema: type: array - items: *208 + items: *207 examples: default: value: @@ -30299,9 +30346,9 @@ paths: description: Response content: application/json: - schema: *208 + schema: *207 examples: - default: &209 + default: &208 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -30334,7 +30381,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *103 - - &210 + - &209 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -30387,9 +30434,9 @@ paths: description: Response content: application/json: - schema: *208 + schema: *207 examples: - default: *209 + default: *208 '404': *6 '422': *7 x-github: @@ -30414,7 +30461,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *103 - - *210 + - *209 responses: '204': description: Response @@ -30477,7 +30524,7 @@ paths: - closed - all default: open - - *211 + - *210 - name: type description: Can be the name of an issue type. in: query @@ -30508,7 +30555,7 @@ paths: type: array items: *84 examples: - default: *212 + default: *211 headers: Link: *58 '404': *6 @@ -30667,9 +30714,9 @@ paths: type: integer codespaces: type: array - items: *213 + items: *212 examples: - default: *214 + default: *213 '304': *37 '500': *104 '401': *25 @@ -30696,7 +30743,7 @@ paths: parameters: - *103 - *63 - - &215 + - &214 name: codespace_name in: path required: true @@ -30731,15 +30778,15 @@ paths: parameters: - *103 - *63 - - *215 + - *214 responses: '200': description: Response content: application/json: - schema: *213 + schema: *212 examples: - default: &451 + default: &450 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -30919,7 +30966,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *216 + schema: *215 examples: default: value: @@ -30995,7 +31042,7 @@ paths: description: Response content: application/json: - schema: &218 + schema: &217 title: Org Membership description: Org Membership type: object @@ -31039,7 +31086,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *217 + organization: *216 user: title: Simple User description: A GitHub user. @@ -31062,7 +31109,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &219 + response-if-user-has-an-active-admin-membership-with-organization: &218 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -31159,9 +31206,9 @@ paths: description: Response content: application/json: - schema: *218 + schema: *217 examples: - response-if-user-already-had-membership-with-organization: *219 + response-if-user-already-had-membership-with-organization: *218 '422': *15 '403': *29 x-github: @@ -31232,7 +31279,7 @@ paths: application/json: schema: type: array - items: &220 + items: &219 title: Migration description: A migration. type: object @@ -31561,7 +31608,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *219 examples: default: value: @@ -31740,7 +31787,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *103 - - &221 + - &220 name: migration_id description: The unique identifier of the migration. in: path @@ -31767,7 +31814,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *220 + schema: *219 examples: default: value: @@ -31937,7 +31984,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *103 - - *221 + - *220 responses: '302': description: Response @@ -31959,7 +32006,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *103 - - *221 + - *220 responses: '204': description: Response @@ -31983,7 +32030,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *103 - - *221 + - *220 - &671 name: repo_name description: repo_name parameter @@ -32012,7 +32059,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *103 - - *221 + - *220 - *17 - *19 responses: @@ -32024,7 +32071,7 @@ paths: type: array items: *135 examples: - default: &233 + default: &232 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -32177,7 +32224,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &223 + items: &222 title: Organization Role description: Organization roles type: object @@ -32352,7 +32399,7 @@ paths: parameters: - *103 - *65 - - &222 + - &221 name: role_id description: The unique identifier of the role. in: path @@ -32389,7 +32436,7 @@ paths: parameters: - *103 - *65 - - *222 + - *221 responses: '204': description: Response @@ -32442,7 +32489,7 @@ paths: parameters: - *103 - *63 - - *222 + - *221 responses: '204': description: Response @@ -32474,7 +32521,7 @@ paths: parameters: - *103 - *63 - - *222 + - *221 responses: '204': description: Response @@ -32503,13 +32550,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *103 - - *222 + - *221 responses: '200': description: Response content: application/json: - schema: *223 + schema: *222 examples: default: value: @@ -32560,7 +32607,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *103 - - *222 + - *221 - *17 - *19 responses: @@ -32638,8 +32685,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *224 - required: *225 + properties: *223 + required: *224 nullable: true type: description: The ownership type of the team @@ -32671,7 +32718,7 @@ paths: - type - parent examples: - default: *226 + default: *225 headers: Link: *58 '404': @@ -32701,7 +32748,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *103 - - *222 + - *221 - *17 - *19 responses: @@ -32729,13 +32776,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &307 + items: &306 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *224 - required: *225 + properties: *223 + required: *224 name: nullable: true type: string @@ -33059,9 +33106,9 @@ paths: application/json: schema: type: array - items: *227 + items: *226 examples: - default: *228 + default: *227 '403': *29 '401': *25 '400': &675 @@ -33086,7 +33133,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &229 + - &228 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -33104,7 +33151,7 @@ paths: - docker - nuget - container - - &230 + - &229 name: package_name description: The name of the package. in: path @@ -33117,7 +33164,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *226 examples: default: value: @@ -33169,8 +33216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: + - *228 - *229 - - *230 - *103 responses: '204': @@ -33203,8 +33250,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: + - *228 - *229 - - *230 - *103 - name: token description: package token @@ -33237,8 +33284,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: + - *228 - *229 - - *230 - *103 - *19 - *17 @@ -33259,7 +33306,7 @@ paths: application/json: schema: type: array - items: &231 + items: &230 title: Package Version description: A version of a software package type: object @@ -33384,10 +33431,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: + - *228 - *229 - - *230 - *103 - - &232 + - &231 name: package_version_id description: Unique identifier of the package version. in: path @@ -33399,7 +33446,7 @@ paths: description: Response content: application/json: - schema: *231 + schema: *230 examples: default: value: @@ -33435,10 +33482,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: + - *228 - *229 - - *230 - *103 - - *232 + - *231 responses: '204': description: Response @@ -33470,10 +33517,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: + - *228 - *229 - - *230 - *103 - - *232 + - *231 responses: '204': description: Response @@ -33503,7 +33550,7 @@ paths: - *103 - *17 - *19 - - &234 + - &233 name: sort description: The property by which to sort the results. in: query @@ -33514,7 +33561,7 @@ paths: - created_at default: created_at - *48 - - &235 + - &234 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -33525,7 +33572,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &236 + - &235 name: repository description: The name of the repository to use to filter the results. in: query @@ -33533,7 +33580,7 @@ paths: schema: type: string example: Hello-World - - &237 + - &236 name: permission description: The permission to use to filter the results. in: query @@ -33541,7 +33588,7 @@ paths: schema: type: string example: issues_read - - &238 + - &237 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -33551,7 +33598,7 @@ paths: schema: type: string format: date-time - - &239 + - &238 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -33561,7 +33608,7 @@ paths: schema: type: string format: date-time - - &240 + - &239 name: token_id description: The ID of the token in: query @@ -33874,7 +33921,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 x-github: @@ -33900,14 +33947,14 @@ paths: - *103 - *17 - *19 - - *234 + - *233 - *48 + - *234 - *235 - *236 - *237 - *238 - *239 - - *240 responses: '500': *104 '422': *15 @@ -34189,7 +34236,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 x-github: @@ -34231,7 +34278,7 @@ paths: type: integer configurations: type: array - items: &241 + items: &240 title: Organization private registry description: Private registry configuration for an organization type: object @@ -34484,7 +34531,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &242 + org-private-registry-with-selected-visibility: &241 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -34580,9 +34627,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *241 + schema: *240 examples: - default: *242 + default: *241 '404': *6 x-github: githubCloudOnly: false @@ -34746,7 +34793,7 @@ paths: application/json: schema: type: array - items: &243 + items: &242 title: Project description: Projects are a way to organize columns and cards of work. @@ -34919,7 +34966,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *242 examples: default: value: @@ -34957,7 +35004,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &335 + '410': &334 description: Gone content: application/json: @@ -35000,7 +35047,7 @@ paths: application/json: schema: type: array - items: &244 + items: &243 title: Projects v2 Project description: A projects v2 project type: object @@ -35143,7 +35190,7 @@ paths: - deleted_at - deleted_by examples: - default: &245 + default: &244 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -35246,7 +35293,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &246 + - &245 name: project_number description: The project's number. in: path @@ -35259,9 +35306,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *243 examples: - default: *245 + default: *244 headers: Link: *58 '304': *37 @@ -35283,7 +35330,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *246 + - *245 - *103 - *17 - *40 @@ -35295,7 +35342,7 @@ paths: application/json: schema: type: array - items: &247 + items: &246 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -35442,7 +35489,7 @@ paths: - updated_at - project_url examples: - default: &248 + default: &247 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -35485,7 +35532,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *246 + - *245 - &692 name: field_id description: The unique identifier of the field. @@ -35499,9 +35546,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *246 examples: - default: *248 + default: *247 headers: Link: *58 '304': *37 @@ -35524,7 +35571,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *246 + - *245 - *103 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -35554,7 +35601,7 @@ paths: application/json: schema: type: array - items: &254 + items: &253 title: Projects v2 Item description: An item belonging to a project type: object @@ -35570,7 +35617,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: &252 + content_type: &251 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -35620,7 +35667,7 @@ paths: - updated_at - archived_at examples: - default: &255 + default: &254 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -36315,7 +36362,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *103 - - *246 + - *245 requestBody: required: true description: Details of the item to add to the project. @@ -36366,7 +36413,7 @@ paths: content: oneOf: - *84 - - &466 + - &465 title: Pull Request Simple description: Pull Request Simple type: object @@ -36472,8 +36519,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *249 - required: *250 + properties: *248 + required: *249 nullable: true active_lock_reason: type: string @@ -36569,7 +36616,7 @@ paths: _links: type: object properties: - comments: &251 + comments: &250 title: Link description: Hypermedia Link type: object @@ -36578,13 +36625,13 @@ paths: type: string required: - href - commits: *251 - statuses: *251 - html: *251 - issue: *251 - review_comments: *251 - review_comment: *251 - self: *251 + commits: *250 + statuses: *250 + html: *250 + issue: *250 + review_comments: *250 + review_comment: *250 + self: *250 required: - comments - commits @@ -36697,7 +36744,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *252 + content_type: *251 creator: *4 created_at: type: string @@ -36730,7 +36777,7 @@ paths: - updated_at - archived_at examples: - issue: &253 + issue: &252 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -36785,7 +36832,7 @@ paths: archived_at: project_url: https://api.github.com/users/octocat/projectsV2/1 item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *253 + pull_request: *252 '304': *37 '403': *29 '401': *25 @@ -36805,9 +36852,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *246 + - *245 - *103 - - &256 + - &255 name: item_id description: The unique identifier of the project item. in: path @@ -36830,9 +36877,9 @@ paths: description: Response content: application/json: - schema: *254 + schema: *253 examples: - default: *255 + default: *254 headers: Link: *58 '304': *37 @@ -36853,9 +36900,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *246 + - *245 - *103 - - *256 + - *255 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -36925,13 +36972,13 @@ paths: description: Response content: application/json: - schema: *254 + schema: *253 examples: - text_field: *255 - number_field: *255 - date_field: *255 - single_select_field: *255 - iteration_field: *255 + text_field: *254 + number_field: *254 + date_field: *254 + single_select_field: *254 + iteration_field: *254 '401': *25 '403': *29 '404': *6 @@ -36951,9 +36998,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *246 + - *245 - *103 - - *256 + - *255 responses: '204': description: Response @@ -36985,7 +37032,7 @@ paths: application/json: schema: type: array - items: &257 + items: &256 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -37051,7 +37098,7 @@ paths: - property_name - value_type examples: - default: &258 + default: &257 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -37110,7 +37157,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *257 + items: *256 minItems: 1 maxItems: 100 required: @@ -37140,9 +37187,9 @@ paths: application/json: schema: type: array - items: *257 + items: *256 examples: - default: *258 + default: *257 '403': *29 '404': *6 x-github: @@ -37164,7 +37211,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *103 - - &259 + - &258 name: custom_property_name description: The custom property name in: path @@ -37176,9 +37223,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *256 examples: - default: &260 + default: &259 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -37213,7 +37260,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *103 - - *259 + - *258 requestBody: required: true content: @@ -37282,9 +37329,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *256 examples: - default: *260 + default: *259 '403': *29 '404': *6 x-github: @@ -37308,7 +37355,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *103 - - *259 + - *258 responses: '204': *161 '403': *29 @@ -37369,7 +37416,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &261 + items: &260 title: Custom Property Value description: Custom property name and associated value type: object @@ -37456,7 +37503,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *261 + items: *260 required: - repository_names - properties @@ -37648,7 +37695,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 x-github: @@ -37850,7 +37897,7 @@ paths: description: Response content: application/json: - schema: &337 + schema: &336 title: Full Repository description: Full Repository type: object @@ -38127,8 +38174,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *262 - required: *263 + properties: *261 + required: *262 nullable: true temp_clone_token: type: string @@ -38243,7 +38290,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &471 + properties: &470 url: type: string format: uri @@ -38259,12 +38306,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &472 + required: &471 - url - key - name - html_url - security_and_analysis: *264 + security_and_analysis: *263 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -38348,7 +38395,7 @@ paths: - network_count - subscribers_count examples: - default: &339 + default: &338 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -38887,7 +38934,7 @@ paths: application/json: schema: type: array - items: &290 + items: &289 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -38922,7 +38969,7 @@ paths: source: type: string description: The name of the source - enforcement: &267 + enforcement: &266 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -38935,7 +38982,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &268 + items: &267 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -39005,7 +39052,7 @@ paths: conditions: nullable: true anyOf: - - &265 + - &264 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -39029,7 +39076,7 @@ paths: match. items: type: string - - &269 + - &268 title: Organization ruleset conditions type: object description: |- @@ -39043,7 +39090,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *265 + - *264 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -39077,7 +39124,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *265 + - *264 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -39099,7 +39146,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *265 + - *264 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -39112,7 +39159,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &266 + items: &265 title: Repository ruleset property targeting definition type: object @@ -39145,7 +39192,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *266 + items: *265 required: - repository_property rules: @@ -39155,7 +39202,7 @@ paths: type: object description: A repository rule. oneOf: - - &270 + - &269 title: creation description: Only allow users with bypass permission to create matching refs. @@ -39167,7 +39214,7 @@ paths: type: string enum: - creation - - &271 + - &270 title: update description: Only allow users with bypass permission to update matching refs. @@ -39188,7 +39235,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &272 + - &271 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -39200,7 +39247,7 @@ paths: type: string enum: - deletion - - &273 + - &272 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -39290,7 +39337,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &274 + - &273 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -39314,7 +39361,7 @@ paths: type: string required: - required_deployment_environments - - &275 + - &274 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -39326,7 +39373,7 @@ paths: type: string enum: - required_signatures - - &276 + - &275 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -39388,7 +39435,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &277 + - &276 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -39436,7 +39483,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &278 + - &277 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -39448,7 +39495,7 @@ paths: type: string enum: - non_fast_forward - - &279 + - &278 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -39484,7 +39531,7 @@ paths: required: - operator - pattern - - &280 + - &279 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -39520,7 +39567,7 @@ paths: required: - operator - pattern - - &281 + - &280 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -39556,7 +39603,7 @@ paths: required: - operator - pattern - - &282 + - &281 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -39592,7 +39639,7 @@ paths: required: - operator - pattern - - &283 + - &282 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -39628,7 +39675,7 @@ paths: required: - operator - pattern - - &284 + - &283 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -39653,7 +39700,7 @@ paths: type: string required: - restricted_file_paths - - &285 + - &284 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -39677,7 +39724,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &286 + - &285 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -39700,7 +39747,7 @@ paths: type: string required: - restricted_file_extensions - - &287 + - &286 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -39725,7 +39772,7 @@ paths: maximum: 100 required: - max_file_size - - &288 + - &287 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -39775,7 +39822,7 @@ paths: - repository_id required: - workflows - - &289 + - &288 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -39934,20 +39981,21 @@ paths: - push - repository default: branch - enforcement: *267 + enforcement: *266 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *268 - conditions: *269 + items: *267 + conditions: *268 rules: type: array description: An array of rules within the ruleset. - items: &292 + items: &291 title: Repository Rule type: object description: A repository rule. oneOf: + - *269 - *270 - *271 - *272 @@ -39967,7 +40015,6 @@ paths: - *286 - *287 - *288 - - *289 required: - name - enforcement @@ -40005,9 +40052,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *289 examples: - default: &291 + default: &290 value: id: 21 name: super cool ruleset @@ -40407,9 +40454,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *289 examples: - default: *291 + default: *290 '404': *6 '500': *104 put: @@ -40453,16 +40500,16 @@ paths: - tag - push - repository - enforcement: *267 + enforcement: *266 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *268 - conditions: *269 + items: *267 + conditions: *268 rules: description: An array of rules within the ruleset. type: array - items: *292 + items: *291 examples: default: value: @@ -40497,9 +40544,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *289 examples: - default: *291 + default: *290 '404': *6 '500': *104 delete: @@ -40556,7 +40603,7 @@ paths: application/json: schema: type: array - items: &293 + items: &292 title: Ruleset version type: object description: The historical version of a ruleset @@ -40635,7 +40682,7 @@ paths: application/json: schema: &604 allOf: - - *293 + - *292 - type: object required: - state @@ -40705,10 +40752,10 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *103 + - *293 - *294 - *295 - *296 - - *297 - *48 - *19 - *17 @@ -40732,10 +40779,10 @@ paths: required: false schema: type: string + - *297 - *298 - *299 - *300 - - *301 responses: '200': description: Response @@ -40743,9 +40790,9 @@ paths: application/json: schema: type: array - items: *302 + items: *301 examples: - default: *303 + default: *302 headers: Link: *58 '404': *6 @@ -40786,7 +40833,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &305 + pattern_config_version: &304 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -40795,7 +40842,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &304 + items: &303 type: object properties: token_type: @@ -40861,7 +40908,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *304 + items: *303 examples: default: value: @@ -40918,7 +40965,7 @@ paths: schema: type: object properties: - pattern_config_version: *305 + pattern_config_version: *304 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -40944,7 +40991,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *305 + custom_pattern_version: *304 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -41262,7 +41309,7 @@ paths: login: type: string description: The username of the user credited. - type: *306 + type: *305 credits_detailed: type: array nullable: true @@ -41272,7 +41319,7 @@ paths: type: object properties: user: *4 - type: *306 + type: *305 state: type: string description: The state of the user's acceptance of the @@ -41720,9 +41767,9 @@ paths: application/json: schema: type: array - items: *307 + items: *306 examples: - default: *226 + default: *225 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41991,6 +42038,247 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/orgs/{org}/settings/immutable-releases": + get: + summary: Get immutable releases settings for an organization + description: |- + Gets the immutable releases policy for repositories in an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/get-immutable-releases-settings + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization + parameters: + - *103 + responses: + '200': + description: Immutable releases settings response + content: + application/json: + schema: + title: Check immutable releases organization settings + description: Check immutable releases settings for an organization. + type: object + properties: + enforced_repositories: + type: string + description: The policy that controls how immutable releases are + enforced in the organization. + enum: + - all + - none + - selected + example: all + selected_repositories_url: + type: string + description: The API URL to use to get or set the selected repositories + for immutable releases enforcement, when `enforced_repositories` + is set to `selected`. + required: + - enforced_repositories + examples: + default: + value: + enforced_repositories: all + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + put: + summary: Set immutable releases settings for an organization + description: |- + Sets the immutable releases policy for repositories in an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/set-immutable-releases-settings + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization + parameters: + - *103 + responses: + '204': + description: Response + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enforced_repositories: + type: string + description: The policy that controls how immutable releases are + enforced in the organization. + enum: + - all + - none + - selected + example: all + selected_repository_ids: + type: array + description: An array of repository ids for which immutable releases + enforcement should be applied. You can only provide a list of + repository ids when the `enforced_repositories` is set to `selected`. + You can add and remove individual repositories using the [Enable + a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) + and [Disable a selected repository for immutable releases in an + organization](https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) + endpoints. + items: + type: integer + required: + - enforced_repositories + examples: + default: + value: + enforced_repositories: all + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + "/orgs/{org}/settings/immutable-releases/repositories": + get: + summary: List selected repositories for immutable releases enforcement + description: |- + List all of the repositories that have been selected for immutable releases enforcement in an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/get-immutable-releases-settings-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement + parameters: + - *103 + - *19 + - *17 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - repositories + properties: + total_count: + type: integer + repositories: + type: array + items: *135 + examples: + default: *147 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + put: + summary: Set selected repositories for immutable releases enforcement + description: |- + Replaces all repositories that have been selected for immutable releases enforcement in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/set-immutable-releases-settings-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement + parameters: + - *103 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + type: array + description: An array of repository ids for which immutable releases + enforcement should be applied. You can only provide a list of + repository ids when the `enforced_repositories` is set to `selected`. + You can add and remove individual repositories using the [Enable + a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) + and [Disable a selected repository for immutable releases in an + organization](https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) + endpoints. + items: + type: integer + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 64780797 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + "/orgs/{org}/settings/immutable-releases/repositories/{repository_id}": + put: + summary: Enable a selected repository for immutable releases in an organization + description: |- + Adds a repository to the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: orgs/enable-selected-repository-immutable-releases-organization + tags: + - orgs + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization + parameters: + - *103 + - *124 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + delete: + summary: Disable a selected repository for immutable releases in an organization + description: |- + Removes a repository from the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: orgs/disable-selected-repository-immutable-releases-organization + tags: + - orgs + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization + parameters: + - *103 + - *124 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs "/orgs/{org}/settings/network-configurations": get: summary: List hosted compute network configurations for an organization @@ -42023,7 +42311,7 @@ paths: type: integer network_configurations: type: array - items: &308 + items: &307 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -42143,9 +42431,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *307 examples: - default: &309 + default: &308 value: id: 123456789ABCDEF name: My network configuration @@ -42174,7 +42462,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *103 - - &310 + - &309 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -42186,9 +42474,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *307 examples: - default: *309 + default: *308 headers: Link: *58 x-github: @@ -42210,7 +42498,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *103 - - *310 + - *309 requestBody: required: true content: @@ -42249,9 +42537,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *307 examples: - default: *309 + default: *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42271,7 +42559,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *103 - - *310 + - *309 responses: '204': description: Response @@ -42411,13 +42699,13 @@ paths: application/json: schema: type: array - items: *311 + items: *310 examples: - default: *312 + default: *311 '500': *104 '403': *29 '404': *6 - '422': *313 + '422': *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42447,7 +42735,7 @@ paths: type: array items: *167 examples: - default: *226 + default: *225 headers: Link: *58 '403': *29 @@ -42541,7 +42829,7 @@ paths: description: Response content: application/json: - schema: &314 + schema: &313 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -42604,8 +42892,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *224 - required: *225 + properties: *223 + required: *224 nullable: true members_count: type: integer @@ -42868,7 +43156,7 @@ paths: - repos_count - organization examples: - default: &315 + default: &314 value: id: 1 node_id: MDQ6VGVhbTE= @@ -42945,9 +43233,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *313 examples: - default: *315 + default: *314 '404': *6 x-github: githubCloudOnly: false @@ -43031,16 +43319,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *314 + schema: *313 examples: - default: *315 + default: *314 '201': description: Response content: application/json: - schema: *314 + schema: *313 examples: - default: *315 + default: *314 '404': *6 '422': *15 '403': *29 @@ -43110,7 +43398,7 @@ paths: application/json: schema: type: array - items: &316 + items: &315 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -43318,9 +43606,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *315 examples: - default: &317 + default: &316 value: author: login: octocat @@ -43394,7 +43682,7 @@ paths: parameters: - *103 - *65 - - &318 + - &317 name: discussion_number description: The number that identifies the discussion. in: path @@ -43406,9 +43694,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *315 examples: - default: *317 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43432,7 +43720,7 @@ paths: parameters: - *103 - *65 - - *318 + - *317 requestBody: required: false content: @@ -43455,7 +43743,7 @@ paths: description: Response content: application/json: - schema: *316 + schema: *315 examples: default: &646 value: @@ -43529,7 +43817,7 @@ paths: parameters: - *103 - *65 - - *318 + - *317 responses: '204': description: Response @@ -43557,7 +43845,7 @@ paths: parameters: - *103 - *65 - - *318 + - *317 - *48 - *17 - *19 @@ -43568,7 +43856,7 @@ paths: application/json: schema: type: array - items: &319 + items: &318 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -43710,7 +43998,7 @@ paths: parameters: - *103 - *65 - - *318 + - *317 requestBody: required: true content: @@ -43732,9 +44020,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *318 examples: - default: &320 + default: &319 value: author: login: octocat @@ -43802,8 +44090,8 @@ paths: parameters: - *103 - *65 - - *318 - - &321 + - *317 + - &320 name: comment_number description: The number that identifies the comment. in: path @@ -43815,9 +44103,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *318 examples: - default: *320 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43841,8 +44129,8 @@ paths: parameters: - *103 - *65 - - *318 - - *321 + - *317 + - *320 requestBody: required: true content: @@ -43864,7 +44152,7 @@ paths: description: Response content: application/json: - schema: *319 + schema: *318 examples: default: &648 value: @@ -43932,8 +44220,8 @@ paths: parameters: - *103 - *65 - - *318 - - *321 + - *317 + - *320 responses: '204': description: Response @@ -43961,8 +44249,8 @@ paths: parameters: - *103 - *65 - - *318 - - *321 + - *317 + - *320 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -43988,7 +44276,7 @@ paths: application/json: schema: type: array - items: &322 + items: &321 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -44031,7 +44319,7 @@ paths: - content - created_at examples: - default: &324 + default: &323 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -44083,8 +44371,8 @@ paths: parameters: - *103 - *65 - - *318 - - *321 + - *317 + - *320 requestBody: required: true content: @@ -44117,9 +44405,9 @@ paths: team discussion comment content: application/json: - schema: *322 + schema: *321 examples: - default: &323 + default: &322 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -44148,9 +44436,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44175,9 +44463,9 @@ paths: parameters: - *103 - *65 - - *318 - - *321 - - &325 + - *317 + - *320 + - &324 name: reaction_id description: The unique identifier of the reaction. in: path @@ -44211,7 +44499,7 @@ paths: parameters: - *103 - *65 - - *318 + - *317 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -44237,9 +44525,9 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *324 + default: *323 headers: Link: *58 x-github: @@ -44267,7 +44555,7 @@ paths: parameters: - *103 - *65 - - *318 + - *317 requestBody: required: true content: @@ -44299,16 +44587,16 @@ paths: description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '201': description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -44333,8 +44621,8 @@ paths: parameters: - *103 - *65 - - *318 - - *325 + - *317 + - *324 responses: '204': description: Response @@ -44369,9 +44657,9 @@ paths: application/json: schema: type: array - items: *205 + items: *204 examples: - default: *206 + default: *205 headers: Link: *58 x-github: @@ -44455,7 +44743,7 @@ paths: description: Response content: application/json: - schema: &326 + schema: &325 title: Team Membership description: Team Membership type: object @@ -44545,7 +44833,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *325 examples: response-if-users-membership-with-team-is-now-pending: &650 summary: Response if user's membership with team is now pending @@ -44620,7 +44908,7 @@ paths: application/json: schema: type: array - items: &327 + items: &326 title: Team Project description: A team's access to a project. type: object @@ -44753,7 +45041,7 @@ paths: parameters: - *103 - *65 - - &328 + - &327 name: project_id description: The unique identifier of the project. in: path @@ -44765,7 +45053,7 @@ paths: description: Response content: application/json: - schema: *327 + schema: *326 examples: default: &652 value: @@ -44831,7 +45119,7 @@ paths: parameters: - *103 - *65 - - *328 + - *327 requestBody: required: false content: @@ -44899,7 +45187,7 @@ paths: parameters: - *103 - *65 - - *328 + - *327 responses: '204': description: Response @@ -44939,7 +45227,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 x-github: @@ -44970,8 +45258,8 @@ paths: parameters: - *103 - *65 + - *328 - *329 - - *330 responses: '200': description: Alternative response with repository permissions @@ -45548,8 +45836,8 @@ paths: parameters: - *103 - *65 + - *328 - *329 - - *330 requestBody: required: false content: @@ -45596,8 +45884,8 @@ paths: parameters: - *103 - *65 + - *328 - *329 - - *330 responses: '204': description: Response @@ -45761,7 +46049,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &331 + - &330 name: column_id description: The unique identifier of the column. in: path @@ -45773,7 +46061,7 @@ paths: description: Response content: application/json: - schema: &332 + schema: &331 title: Project Column description: Project columns contain cards of work. type: object @@ -45819,7 +46107,7 @@ paths: - created_at - updated_at examples: - default: &333 + default: &332 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -45854,7 +46142,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *331 + - *330 requestBody: required: true content: @@ -45878,9 +46166,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *331 examples: - default: *333 + default: *332 '304': *37 '403': *29 '401': *25 @@ -45905,7 +46193,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *331 + - *330 responses: '204': description: Response @@ -45934,7 +46222,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *331 + - *330 requestBody: required: true content: @@ -45994,15 +46282,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *328 + - *327 responses: '200': description: Response content: application/json: - schema: *243 + schema: *242 examples: - default: &334 + default: &333 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -46059,7 +46347,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *328 + - *327 requestBody: required: false content: @@ -46105,9 +46393,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *242 examples: - default: *334 + default: *333 '404': description: Not Found if the authenticated user does not have access to the project @@ -46128,7 +46416,7 @@ paths: items: type: string '401': *25 - '410': *335 + '410': *334 '422': *7 x-github: githubCloudOnly: false @@ -46151,7 +46439,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *328 + - *327 responses: '204': description: Delete Success @@ -46172,7 +46460,7 @@ paths: items: type: string '401': *25 - '410': *335 + '410': *334 '404': *6 x-github: githubCloudOnly: false @@ -46196,7 +46484,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *328 + - *327 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -46253,7 +46541,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *328 + - *327 - *63 requestBody: required: false @@ -46306,7 +46594,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *328 + - *327 - *63 responses: '204': @@ -46338,7 +46626,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *328 + - *327 - *63 responses: '200': @@ -46412,7 +46700,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#list-project-columns parameters: - - *328 + - *327 - *17 - *19 responses: @@ -46422,7 +46710,7 @@ paths: application/json: schema: type: array - items: *332 + items: *331 examples: default: value: @@ -46460,7 +46748,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column parameters: - - *328 + - *327 requestBody: required: true content: @@ -46483,7 +46771,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *331 examples: default: value: @@ -46548,7 +46836,7 @@ paths: resources: type: object properties: - core: &336 + core: &335 title: Rate Limit type: object properties: @@ -46565,21 +46853,21 @@ paths: - remaining - reset - used - graphql: *336 - search: *336 - code_search: *336 - source_import: *336 - integration_manifest: *336 - code_scanning_upload: *336 - actions_runner_registration: *336 - scim: *336 - dependency_snapshots: *336 - dependency_sbom: *336 - code_scanning_autofix: *336 + graphql: *335 + search: *335 + code_search: *335 + source_import: *335 + integration_manifest: *335 + code_scanning_upload: *335 + actions_runner_registration: *335 + scim: *335 + dependency_snapshots: *335 + dependency_sbom: *335 + code_scanning_autofix: *335 required: - core - search - rate: *336 + rate: *335 required: - rate - resources @@ -46684,14 +46972,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response content: application/json: - schema: *337 + schema: *336 examples: default-response: summary: Default response @@ -47192,7 +47480,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *338 + '301': *337 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47210,8 +47498,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: false content: @@ -47458,10 +47746,10 @@ paths: description: Response content: application/json: - schema: *337 + schema: *336 examples: - default: *339 - '307': &340 + default: *338 + '307': &339 description: Temporary Redirect content: application/json: @@ -47490,8 +47778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -47513,7 +47801,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *340 + '307': *339 '404': *6 '409': *47 x-github: @@ -47537,11 +47825,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: + - *328 - *329 - - *330 - *17 - *19 - - &371 + - &370 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -47564,7 +47852,7 @@ paths: type: integer artifacts: type: array - items: &341 + items: &340 title: Artifact description: An artifact type: object @@ -47642,7 +47930,7 @@ paths: - expires_at - updated_at examples: - default: &372 + default: &371 value: total_count: 2 artifacts: @@ -47703,9 +47991,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: + - *328 - *329 - - *330 - - &342 + - &341 name: artifact_id description: The unique identifier of the artifact. in: path @@ -47717,7 +48005,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *340 examples: default: value: @@ -47755,9 +48043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: + - *328 - *329 - - *330 - - *342 + - *341 responses: '204': description: Response @@ -47781,9 +48069,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: + - *328 - *329 - - *330 - - *342 + - *341 - name: archive_format in: path required: true @@ -47797,7 +48085,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47820,14 +48108,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response content: application/json: - schema: *343 + schema: *342 examples: default: value: @@ -47853,11 +48141,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: + - *328 - *329 - - *330 - *17 - *19 - - &344 + - &343 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -47891,7 +48179,7 @@ paths: description: Response content: application/json: - schema: &345 + schema: &344 title: Repository actions caches description: Repository actions caches type: object @@ -47933,7 +48221,7 @@ paths: - total_count - actions_caches examples: - default: &346 + default: &345 value: total_count: 1 actions_caches: @@ -47965,23 +48253,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: + - *328 - *329 - - *330 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *344 + - *343 responses: '200': description: Response content: application/json: - schema: *345 + schema: *344 examples: - default: *346 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48001,8 +48289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: + - *328 - *329 - - *330 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -48033,9 +48321,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: + - *328 - *329 - - *330 - - &347 + - &346 name: job_id description: The unique identifier of the job. in: path @@ -48047,7 +48335,7 @@ paths: description: Response content: application/json: - schema: &375 + schema: &374 title: Job description: Information of a job execution in a workflow run type: object @@ -48354,9 +48642,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: + - *328 - *329 - - *330 - - *347 + - *346 responses: '302': description: Response @@ -48384,9 +48672,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: + - *328 - *329 - - *330 - - *347 + - *346 requestBody: required: false content: @@ -48431,8 +48719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Status response @@ -48482,8 +48770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -48546,8 +48834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -48565,7 +48853,7 @@ paths: type: integer secrets: type: array - items: &377 + items: &376 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -48585,7 +48873,7 @@ paths: - created_at - updated_at examples: - default: &378 + default: &377 value: total_count: 2 secrets: @@ -48618,9 +48906,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: + - *328 - *329 - - *330 - - *348 + - *347 - *19 responses: '200': @@ -48637,7 +48925,7 @@ paths: type: integer variables: type: array - items: &381 + items: &380 title: Actions Variable type: object properties: @@ -48667,7 +48955,7 @@ paths: - created_at - updated_at examples: - default: &382 + default: &381 value: total_count: 2 variables: @@ -48700,8 +48988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -48710,11 +48998,11 @@ paths: schema: type: object properties: - enabled: &350 + enabled: &349 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *120 - selected_actions_url: *349 + selected_actions_url: *348 sha_pinning_required: *121 required: - enabled @@ -48743,8 +49031,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -48755,7 +49043,7 @@ paths: schema: type: object properties: - enabled: *350 + enabled: *349 allowed_actions: *120 sha_pinning_required: *121 required: @@ -48787,14 +49075,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response content: application/json: - schema: &351 + schema: &350 type: object properties: access_level: @@ -48811,7 +49099,7 @@ paths: required: - access_level examples: - default: &352 + default: &351 value: access_level: organization x-github: @@ -48835,15 +49123,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: application/json: - schema: *351 + schema: *350 examples: - default: *352 + default: *351 responses: '204': description: Response @@ -48867,14 +49155,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response content: application/json: - schema: *353 + schema: *352 examples: default: value: @@ -48898,8 +49186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': description: Empty response for successful settings update @@ -48909,7 +49197,7 @@ paths: required: true content: application/json: - schema: *354 + schema: *353 examples: default: summary: Set retention days @@ -48933,8 +49221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -48942,7 +49230,7 @@ paths: application/json: schema: *122 examples: - default: *355 + default: *354 '404': *6 x-github: enabledForGitHubApps: true @@ -48961,8 +49249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -48996,14 +49284,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response content: application/json: - schema: *356 + schema: *355 examples: default: *123 '403': *29 @@ -49025,13 +49313,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: application/json: - schema: *357 + schema: *356 examples: default: *123 responses: @@ -49057,8 +49345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -49085,8 +49373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -49118,14 +49406,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response content: application/json: - schema: *358 + schema: *357 examples: default: *130 x-github: @@ -49148,8 +49436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': description: Success response @@ -49160,7 +49448,7 @@ paths: required: true content: application/json: - schema: *359 + schema: *358 examples: default: *130 x-github: @@ -49189,8 +49477,8 @@ paths: in: query schema: type: string + - *328 - *329 - - *330 - *17 - *19 responses: @@ -49234,8 +49522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -49243,9 +49531,9 @@ paths: application/json: schema: type: array - items: *360 + items: *359 examples: - default: *361 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49267,8 +49555,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -49311,7 +49599,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *362 + '201': *361 '404': *6 '422': *7 '409': *47 @@ -49342,8 +49630,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: + - *328 - *329 - - *330 responses: '201': description: Response @@ -49351,7 +49639,7 @@ paths: application/json: schema: *139 examples: - default: *363 + default: *362 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49379,8 +49667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: + - *328 - *329 - - *330 responses: '201': description: Response @@ -49388,7 +49676,7 @@ paths: application/json: schema: *139 examples: - default: *364 + default: *363 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49410,8 +49698,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: + - *328 - *329 - - *330 - *136 responses: '200': @@ -49420,7 +49708,7 @@ paths: application/json: schema: *137 examples: - default: *365 + default: *364 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49441,8 +49729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: + - *328 - *329 - - *330 - *136 responses: '204': @@ -49469,8 +49757,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: + - *328 - *329 - - *330 - *136 responses: '200': *141 @@ -49495,8 +49783,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: + - *328 - *329 - - *330 - *136 requestBody: required: true @@ -49545,8 +49833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: + - *328 - *329 - - *330 - *136 requestBody: required: true @@ -49596,11 +49884,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: + - *328 - *329 - - *330 - *136 responses: - '200': *366 + '200': *365 '404': *6 x-github: githubCloudOnly: false @@ -49627,10 +49915,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: + - *328 - *329 - - *330 - *136 - - *367 + - *366 responses: '200': *141 '404': *6 @@ -49658,9 +49946,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: + - *328 - *329 - - *330 - - &385 + - &384 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -49668,7 +49956,7 @@ paths: required: false schema: type: string - - &386 + - &385 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -49676,7 +49964,7 @@ paths: required: false schema: type: string - - &387 + - &386 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -49685,7 +49973,7 @@ paths: required: false schema: type: string - - &388 + - &387 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -49712,7 +50000,7 @@ paths: - pending - *17 - *19 - - &389 + - &388 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -49721,7 +50009,7 @@ paths: schema: type: string format: date-time - - &368 + - &367 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -49730,13 +50018,13 @@ paths: schema: type: boolean default: false - - &390 + - &389 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &391 + - &390 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -49759,7 +50047,7 @@ paths: type: integer workflow_runs: type: array - items: &369 + items: &368 title: Workflow Run description: An invocation of a workflow type: object @@ -49854,7 +50142,7 @@ paths: that triggered the run. type: array nullable: true - items: &410 + items: &409 title: Pull Request Minimal type: object properties: @@ -49973,7 +50261,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &414 + properties: &413 id: type: string description: SHA for the commit @@ -50024,7 +50312,7 @@ paths: - name - email nullable: true - required: &415 + required: &414 - id - tree_id - message @@ -50071,7 +50359,7 @@ paths: - workflow_url - pull_requests examples: - default: &392 + default: &391 value: total_count: 1 workflow_runs: @@ -50307,24 +50595,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: + - *328 - *329 - - *330 - - &370 + - &369 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *368 + - *367 responses: '200': description: Response content: application/json: - schema: *369 + schema: *368 examples: - default: &373 + default: &372 value: id: 30433642 name: Build @@ -50565,9 +50853,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '204': description: Response @@ -50590,9 +50878,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '200': description: Response @@ -50711,9 +50999,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '201': description: Response @@ -50746,12 +51034,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: + - *328 - *329 - - *330 - - *370 + - *369 - *17 - *19 - - *371 + - *370 responses: '200': description: Response @@ -50767,9 +51055,9 @@ paths: type: integer artifacts: type: array - items: *341 + items: *340 examples: - default: *372 + default: *371 headers: Link: *58 x-github: @@ -50793,25 +51081,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: + - *328 - *329 - - *330 - - *370 - - &374 + - *369 + - &373 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *368 + - *367 responses: '200': description: Response content: application/json: - schema: *369 + schema: *368 examples: - default: *373 + default: *372 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50834,10 +51122,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: + - *328 - *329 - - *330 - - *370 - - *374 + - *369 + - *373 - *17 - *19 responses: @@ -50855,9 +51143,9 @@ paths: type: integer jobs: type: array - items: *375 + items: *374 examples: - default: &376 + default: &375 value: total_count: 1 jobs: @@ -50970,10 +51258,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: + - *328 - *329 - - *330 - - *370 - - *374 + - *369 + - *373 responses: '302': description: Response @@ -51001,9 +51289,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '202': description: Response @@ -51036,9 +51324,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 requestBody: required: true content: @@ -51105,9 +51393,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '202': description: Response @@ -51140,9 +51428,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -51172,9 +51460,9 @@ paths: type: integer jobs: type: array - items: *375 + items: *374 examples: - default: *376 + default: *375 headers: Link: *58 x-github: @@ -51199,9 +51487,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '302': description: Response @@ -51228,9 +51516,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '204': description: Response @@ -51257,9 +51545,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '200': description: Response @@ -51404,9 +51692,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 requestBody: required: true content: @@ -51615,9 +51903,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: + - *328 - *329 - - *330 - - *370 + - *369 requestBody: required: false content: @@ -51661,9 +51949,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 requestBody: required: false content: @@ -51716,9 +52004,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '200': description: Response @@ -51855,8 +52143,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -51874,9 +52162,9 @@ paths: type: integer secrets: type: array - items: *377 + items: *376 examples: - default: *378 + default: *377 headers: Link: *58 x-github: @@ -51901,16 +52189,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: + - *328 - *329 - - *330 responses: '200': description: Response content: application/json: - schema: *379 + schema: *378 examples: - default: *380 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51932,15 +52220,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 responses: '200': description: Response content: application/json: - schema: *377 + schema: *376 examples: default: &505 value: @@ -51968,8 +52256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 requestBody: required: true @@ -52027,8 +52315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 responses: '204': @@ -52054,9 +52342,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: + - *328 - *329 - - *330 - - *348 + - *347 - *19 responses: '200': @@ -52073,9 +52361,9 @@ paths: type: integer variables: type: array - items: *381 + items: *380 examples: - default: *382 + default: *381 headers: Link: *58 x-github: @@ -52098,8 +52386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -52151,15 +52439,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: + - *328 - *329 - - *330 - *146 responses: '200': description: Response content: application/json: - schema: *381 + schema: *380 examples: default: &506 value: @@ -52187,8 +52475,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: + - *328 - *329 - - *330 - *146 requestBody: required: true @@ -52231,8 +52519,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: + - *328 - *329 - - *330 - *146 responses: '204': @@ -52258,8 +52546,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -52277,7 +52565,7 @@ paths: type: integer workflows: type: array - items: &383 + items: &382 title: Workflow description: A GitHub Actions workflow type: object @@ -52384,9 +52672,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: + - *328 - *329 - - *330 - - &384 + - &383 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -52401,7 +52689,7 @@ paths: description: Response content: application/json: - schema: *383 + schema: *382 examples: default: value: @@ -52434,9 +52722,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: + - *328 - *329 - - *330 - - *384 + - *383 responses: '204': description: Response @@ -52461,9 +52749,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: + - *328 - *329 - - *330 - - *384 + - *383 responses: '204': description: Response @@ -52514,9 +52802,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: + - *328 - *329 - - *330 - - *384 + - *383 responses: '204': description: Response @@ -52543,19 +52831,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: + - *328 - *329 - - *330 + - *383 - *384 - *385 - *386 - *387 - - *388 - *17 - *19 + - *388 + - *367 - *389 - - *368 - *390 - - *391 responses: '200': description: Response @@ -52571,9 +52859,9 @@ paths: type: integer workflow_runs: type: array - items: *369 + items: *368 examples: - default: *392 + default: *391 headers: Link: *58 x-github: @@ -52605,9 +52893,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: + - *328 - *329 - - *330 - - *384 + - *383 responses: '200': description: Response @@ -52668,8 +52956,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: + - *328 - *329 - - *330 - *48 - *17 - *40 @@ -52833,8 +53121,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -52871,8 +53159,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: + - *328 - *329 - - *330 - name: assignee in: path required: true @@ -52908,8 +53196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -53021,8 +53309,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: + - *328 - *329 - - *330 - *17 - *40 - *41 @@ -53078,7 +53366,7 @@ paths: initiator: type: string examples: - default: *393 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53098,8 +53386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -53107,7 +53395,7 @@ paths: application/json: schema: type: array - items: &394 + items: &393 title: Autolink reference description: An autolink reference. type: object @@ -53161,8 +53449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -53201,9 +53489,9 @@ paths: description: response content: application/json: - schema: *394 + schema: *393 examples: - default: &395 + default: &394 value: id: 1 key_prefix: TICKET- @@ -53234,9 +53522,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: + - *328 - *329 - - *330 - - &396 + - &395 name: autolink_id description: The unique identifier of the autolink. in: path @@ -53248,9 +53536,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *393 examples: - default: *395 + default: *394 '404': *6 x-github: githubCloudOnly: false @@ -53270,9 +53558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: + - *328 - *329 - - *330 - - *396 + - *395 responses: '204': description: Response @@ -53296,8 +53584,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response if Dependabot is enabled @@ -53345,8 +53633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -53367,8 +53655,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -53388,8 +53676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: + - *328 - *329 - - *330 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -53427,7 +53715,7 @@ paths: - url protected: type: boolean - protection: &398 + protection: &397 title: Branch Protection description: Branch Protection type: object @@ -53469,7 +53757,7 @@ paths: required: - contexts - checks - enforce_admins: &401 + enforce_admins: &400 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -53484,7 +53772,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &403 + required_pull_request_reviews: &402 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -53560,7 +53848,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &400 + restrictions: &399 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -53837,9 +54125,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: + - *328 - *329 - - *330 - - &399 + - &398 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -53853,14 +54141,14 @@ paths: description: Response content: application/json: - schema: &409 + schema: &408 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &462 + commit: &461 title: Commit description: Commit type: object @@ -53894,7 +54182,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &397 + properties: &396 name: type: string example: '"Chris Wanstrath"' @@ -53909,7 +54197,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *397 + properties: *396 nullable: true message: type: string @@ -54000,7 +54288,7 @@ paths: type: integer files: type: array - items: &475 + items: &474 title: Diff Entry description: Diff Entry type: object @@ -54084,7 +54372,7 @@ paths: - self protected: type: boolean - protection: *398 + protection: *397 protection_url: type: string format: uri @@ -54191,7 +54479,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *338 + '301': *337 '404': *6 x-github: githubCloudOnly: false @@ -54213,15 +54501,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response content: application/json: - schema: *398 + schema: *397 examples: default: value: @@ -54415,9 +54703,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: true content: @@ -54672,7 +54960,7 @@ paths: url: type: string format: uri - required_status_checks: &406 + required_status_checks: &405 title: Status Check Policy description: Status Check Policy type: object @@ -54824,7 +55112,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *400 + restrictions: *399 required_conversation_resolution: type: object properties: @@ -54936,9 +55224,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '204': description: Response @@ -54963,17 +55251,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response content: application/json: - schema: *401 + schema: *400 examples: - default: &402 + default: &401 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -54995,17 +55283,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response content: application/json: - schema: *401 + schema: *400 examples: - default: *402 + default: *401 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55024,9 +55312,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '204': description: Response @@ -55051,17 +55339,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response content: application/json: - schema: *403 + schema: *402 examples: - default: &404 + default: &403 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -55157,9 +55445,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: false content: @@ -55257,9 +55545,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *402 examples: - default: *404 + default: *403 '422': *15 x-github: githubCloudOnly: false @@ -55280,9 +55568,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '204': description: Response @@ -55309,17 +55597,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response content: application/json: - schema: *401 + schema: *400 examples: - default: &405 + default: &404 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -55342,17 +55630,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response content: application/json: - schema: *401 + schema: *400 examples: - default: *405 + default: *404 '404': *6 x-github: githubCloudOnly: false @@ -55372,9 +55660,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '204': description: Response @@ -55399,17 +55687,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response content: application/json: - schema: *406 + schema: *405 examples: - default: &407 + default: &406 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -55435,9 +55723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: false content: @@ -55489,9 +55777,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *405 examples: - default: *407 + default: *406 '404': *6 '422': *15 x-github: @@ -55513,9 +55801,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '204': description: Response @@ -55539,9 +55827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response @@ -55575,9 +55863,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: false content: @@ -55644,9 +55932,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: false content: @@ -55710,9 +55998,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: content: application/json: @@ -55778,15 +56066,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response content: application/json: - schema: *400 + schema: *399 examples: default: value: @@ -55877,9 +56165,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '204': description: Response @@ -55902,9 +56190,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response @@ -55914,7 +56202,7 @@ paths: type: array items: *5 examples: - default: &408 + default: &407 value: - id: 1 slug: octoapp @@ -55971,9 +56259,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: true content: @@ -56007,7 +56295,7 @@ paths: type: array items: *5 examples: - default: *408 + default: *407 '422': *15 x-github: githubCloudOnly: false @@ -56028,9 +56316,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: true content: @@ -56064,7 +56352,7 @@ paths: type: array items: *5 examples: - default: *408 + default: *407 '422': *15 x-github: githubCloudOnly: false @@ -56085,9 +56373,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: true content: @@ -56121,7 +56409,7 @@ paths: type: array items: *5 examples: - default: *408 + default: *407 '422': *15 x-github: githubCloudOnly: false @@ -56143,9 +56431,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response @@ -56155,7 +56443,7 @@ paths: type: array items: *167 examples: - default: *226 + default: *225 '404': *6 x-github: githubCloudOnly: false @@ -56175,9 +56463,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: false content: @@ -56215,7 +56503,7 @@ paths: type: array items: *167 examples: - default: *226 + default: *225 '422': *15 x-github: githubCloudOnly: false @@ -56236,9 +56524,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: false content: @@ -56276,7 +56564,7 @@ paths: type: array items: *167 examples: - default: *226 + default: *225 '422': *15 x-github: githubCloudOnly: false @@ -56297,9 +56585,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: content: application/json: @@ -56336,7 +56624,7 @@ paths: type: array items: *167 examples: - default: *226 + default: *225 '422': *15 x-github: githubCloudOnly: false @@ -56358,9 +56646,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response @@ -56394,9 +56682,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: true content: @@ -56454,9 +56742,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: true content: @@ -56514,9 +56802,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: true content: @@ -56576,9 +56864,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: true content: @@ -56600,7 +56888,7 @@ paths: description: Response content: application/json: - schema: *409 + schema: *408 examples: default: value: @@ -56716,8 +57004,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -56996,7 +57284,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &410 title: CheckRun description: A check performed on the code of a given code change type: object @@ -57115,7 +57403,7 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *410 + items: *409 deployment: &713 title: Deployment description: A deployment created as the result of an Actions @@ -57396,9 +57684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: + - *328 - *329 - - *330 - - &412 + - &411 name: check_run_id description: The unique identifier of the check run. in: path @@ -57410,9 +57698,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *410 examples: - default: &413 + default: &412 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -57512,9 +57800,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: + - *328 - *329 - - *330 - - *412 + - *411 requestBody: required: true content: @@ -57754,9 +58042,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *410 examples: - default: *413 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57776,9 +58064,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: + - *328 - *329 - - *330 - - *412 + - *411 - *17 - *19 responses: @@ -57873,9 +58161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: + - *328 - *329 - - *330 - - *412 + - *411 responses: '201': description: Response @@ -57919,8 +58207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -57942,7 +58230,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &416 + schema: &415 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -58006,7 +58294,7 @@ paths: nullable: true pull_requests: type: array - items: *410 + items: *409 nullable: true app: title: GitHub app @@ -58032,8 +58320,8 @@ paths: title: Simple Commit description: A commit. type: object - properties: *414 - required: *415 + properties: *413 + required: *414 latest_check_runs_count: type: integer check_runs_url: @@ -58061,7 +58349,7 @@ paths: - check_runs_url - pull_requests examples: - default: &417 + default: &416 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -58352,9 +58640,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *416 + schema: *415 examples: - default: *417 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58373,8 +58661,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -58683,9 +58971,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: + - *328 - *329 - - *330 - - &418 + - &417 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -58697,9 +58985,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *415 examples: - default: *417 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58722,17 +59010,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: + - *328 - *329 - - *330 - - *418 - - &468 + - *417 + - &467 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &469 + - &468 name: status description: Returns check runs with the specified `status`. in: query @@ -58771,9 +59059,9 @@ paths: type: integer check_runs: type: array - items: *411 + items: *410 examples: - default: &470 + default: &469 value: total_count: 1 check_runs: @@ -58875,9 +59163,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: + - *328 - *329 - - *330 - - *418 + - *417 responses: '201': description: Response @@ -58910,21 +59198,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: + - *328 - *329 - - *330 + - *418 - *419 - - *420 - *19 - *17 - - &437 + - &436 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *421 - - &438 + schema: *420 + - &437 name: pr description: The number of the pull request for the results you want to list. in: query @@ -58949,13 +59237,13 @@ paths: be returned. in: query required: false - schema: *422 + schema: *421 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *423 + schema: *422 responses: '200': description: Response @@ -58971,7 +59259,7 @@ paths: updated_at: *151 url: *56 html_url: *57 - instances_url: *424 + instances_url: *423 state: *156 fixed_at: *152 dismissed_by: @@ -58982,11 +59270,11 @@ paths: required: *21 nullable: true dismissed_at: *153 - dismissed_reason: *425 - dismissed_comment: *426 - rule: *427 - tool: *428 - most_recent_instance: *429 + dismissed_reason: *424 + dismissed_comment: *425 + rule: *426 + tool: *427 + most_recent_instance: *428 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -59112,7 +59400,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &430 + '403': &429 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -59139,9 +59427,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: + - *328 - *329 - - *330 - - &431 + - &430 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -59155,7 +59443,7 @@ paths: description: Response content: application/json: - schema: &432 + schema: &431 type: object properties: number: *54 @@ -59163,7 +59451,7 @@ paths: updated_at: *151 url: *56 html_url: *57 - instances_url: *424 + instances_url: *423 state: *156 fixed_at: *152 dismissed_by: @@ -59174,8 +59462,8 @@ paths: required: *21 nullable: true dismissed_at: *153 - dismissed_reason: *425 - dismissed_comment: *426 + dismissed_reason: *424 + dismissed_comment: *425 rule: type: object properties: @@ -59229,8 +59517,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *428 - most_recent_instance: *429 + tool: *427 + most_recent_instance: *428 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -59329,7 +59617,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *430 + '403': *429 '404': *6 '503': *72 x-github: @@ -59349,9 +59637,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: + - *328 - *329 - - *330 - - *431 + - *430 requestBody: required: true content: @@ -59366,8 +59654,8 @@ paths: enum: - open - dismissed - dismissed_reason: *425 - dismissed_comment: *426 + dismissed_reason: *424 + dismissed_comment: *425 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -59386,7 +59674,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *431 examples: default: value: @@ -59462,7 +59750,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &436 + '403': &435 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -59489,15 +59777,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: + - *328 - *329 - - *330 - - *431 + - *430 responses: '200': description: Response content: application/json: - schema: &433 + schema: &432 type: object properties: status: @@ -59523,13 +59811,13 @@ paths: - description - started_at examples: - default: &434 + default: &433 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &435 + '400': &434 description: Bad Request content: application/json: @@ -59540,7 +59828,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *430 + '403': *429 '404': *6 '503': *72 x-github: @@ -59565,29 +59853,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: + - *328 - *329 - - *330 - - *431 + - *430 responses: '200': description: OK content: application/json: - schema: *433 + schema: *432 examples: - default: *434 + default: *433 '202': description: Accepted content: application/json: - schema: *433 + schema: *432 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *435 + '400': *434 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -59619,9 +59907,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: + - *328 - *329 - - *330 - - *431 + - *430 requestBody: required: false content: @@ -59666,8 +59954,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *435 - '403': *436 + '400': *434 + '403': *435 '404': *6 '422': description: Unprocessable Entity @@ -59691,13 +59979,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: + - *328 - *329 - - *330 - - *431 + - *430 - *19 - *17 + - *436 - *437 - - *438 responses: '200': description: Response @@ -59705,7 +59993,7 @@ paths: application/json: schema: type: array - items: *429 + items: *428 examples: default: value: @@ -59744,7 +60032,7 @@ paths: end_column: 50 classifications: - source - '403': *430 + '403': *429 '404': *6 '503': *72 x-github: @@ -59778,25 +60066,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: + - *328 - *329 - - *330 + - *418 - *419 - - *420 - *19 - *17 - - *438 + - *437 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *421 + schema: *420 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &441 + schema: &440 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -59817,23 +60105,23 @@ paths: application/json: schema: type: array - items: &442 + items: &441 type: object properties: - ref: *421 - commit_sha: &450 + ref: *420 + commit_sha: &449 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *439 + analysis_key: *438 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *440 + category: *439 error: type: string example: error reading field xyz @@ -59857,8 +60145,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *441 - tool: *428 + sarif_id: *440 + tool: *427 deletable: type: boolean warning: @@ -59919,7 +60207,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *430 + '403': *429 '404': *6 '503': *72 x-github: @@ -59955,8 +60243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: + - *328 - *329 - - *330 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -59969,7 +60257,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *441 examples: response: summary: application/json response @@ -60023,7 +60311,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *430 + '403': *429 '404': *6 '422': description: Response if analysis could not be processed @@ -60110,8 +60398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: + - *328 - *329 - - *330 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -60164,7 +60452,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *436 + '403': *435 '404': *6 '503': *72 x-github: @@ -60186,8 +60474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -60195,7 +60483,7 @@ paths: application/json: schema: type: array - items: &443 + items: &442 title: CodeQL Database description: A CodeQL database. type: object @@ -60306,7 +60594,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *430 + '403': *429 '404': *6 '503': *72 x-github: @@ -60335,8 +60623,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: + - *328 - *329 - - *330 - name: language in: path description: The language of the CodeQL database. @@ -60348,7 +60636,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *442 examples: default: value: @@ -60380,9 +60668,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &477 + '302': &476 description: Found - '403': *430 + '403': *429 '404': *6 '503': *72 x-github: @@ -60404,8 +60692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: + - *328 - *329 - - *330 - name: language in: path description: The language of the CodeQL database. @@ -60415,7 +60703,7 @@ paths: responses: '204': description: Response - '403': *436 + '403': *435 '404': *6 '503': *72 x-github: @@ -60443,8 +60731,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -60453,7 +60741,7 @@ paths: type: object additionalProperties: false properties: - language: &444 + language: &443 type: string description: The language targeted by the CodeQL query enum: @@ -60532,7 +60820,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &448 + schema: &447 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -60542,7 +60830,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *444 + query_language: *443 query_pack_url: type: string description: The download url for the query pack. @@ -60589,7 +60877,7 @@ paths: items: type: object properties: - repository: &445 + repository: &444 title: Repository Identifier description: Repository Identifier type: object @@ -60625,7 +60913,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &449 + analysis_status: &448 type: string description: The new status of the CodeQL variant analysis repository task. @@ -60657,7 +60945,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &446 + access_mismatch_repos: &445 type: object properties: repository_count: @@ -60671,7 +60959,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *445 + items: *444 required: - repository_count - repositories @@ -60693,8 +60981,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *446 - over_limit_repos: *446 + no_codeql_db_repos: *445 + over_limit_repos: *445 required: - access_mismatch_repos - not_found_repos @@ -60710,7 +60998,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &447 + value: &446 summary: Default response value: id: 1 @@ -60862,10 +61150,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *447 + value: *446 repository_lists: summary: Response for a successful variant analysis submission - value: *447 + value: *446 '404': *6 '422': description: Unable to process variant analysis submission @@ -60893,8 +61181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: + - *328 - *329 - - *330 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -60906,9 +61194,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *447 examples: - default: *447 + default: *446 '404': *6 '503': *72 x-github: @@ -60931,7 +61219,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *329 + - *328 - name: repo in: path description: The name of the controller repository. @@ -60966,7 +61254,7 @@ paths: type: object properties: repository: *53 - analysis_status: *449 + analysis_status: *448 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -61091,8 +61379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -61177,7 +61465,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *430 + '403': *429 '404': *6 '503': *72 x-github: @@ -61198,8 +61486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -61291,7 +61579,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *436 + '403': *435 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -61362,8 +61650,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -61371,7 +61659,7 @@ paths: schema: type: object properties: - commit_sha: *450 + commit_sha: *449 ref: type: string description: |- @@ -61429,7 +61717,7 @@ paths: schema: type: object properties: - id: *441 + id: *440 url: type: string description: The REST API URL for checking the status of the upload. @@ -61443,7 +61731,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *436 + '403': *435 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -61466,8 +61754,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: + - *328 - *329 - - *330 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -61513,7 +61801,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *430 + '403': *429 '404': description: Not Found if the sarif id does not match any upload '503': *72 @@ -61538,8 +61826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -61620,8 +61908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: + - *328 - *329 - - *330 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -61741,8 +62029,8 @@ paths: parameters: - *17 - *19 + - *328 - *329 - - *330 responses: '200': description: Response @@ -61758,7 +62046,7 @@ paths: type: integer codespaces: type: array - items: *213 + items: *212 examples: default: value: @@ -62056,8 +62344,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -62120,17 +62408,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '400': *14 '401': *25 '403': *29 @@ -62159,8 +62447,8 @@ paths: parameters: - *17 - *19 + - *328 - *329 - - *330 responses: '200': description: Response @@ -62224,8 +62512,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: + - *328 - *329 - - *330 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -62264,8 +62552,8 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *452 - required: *453 + properties: *451 + required: *452 examples: default: &662 value: @@ -62307,8 +62595,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: + - *328 - *329 - - *330 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -62392,8 +62680,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: + - *328 - *329 - - *330 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -62459,8 +62747,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -62478,7 +62766,7 @@ paths: type: integer secrets: type: array - items: &457 + items: &456 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -62498,7 +62786,7 @@ paths: - created_at - updated_at examples: - default: *454 + default: *453 headers: Link: *58 x-github: @@ -62521,16 +62809,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: + - *328 - *329 - - *330 responses: '200': description: Response content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -62550,17 +62838,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 responses: '200': description: Response content: application/json: - schema: *457 + schema: *456 examples: - default: *458 + default: *457 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62580,8 +62868,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 requestBody: required: true @@ -62634,8 +62922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 responses: '204': @@ -62664,8 +62952,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: + - *328 - *329 - - *330 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -62707,7 +62995,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &459 + properties: &458 login: type: string example: octocat @@ -62800,7 +63088,7 @@ paths: user_view_type: type: string example: public - required: &460 + required: &459 - avatar_url - events_url - followers_url @@ -62874,8 +63162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: + - *328 - *329 - - *330 - *63 responses: '204': @@ -62922,8 +63210,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: + - *328 - *329 - - *330 - *63 requestBody: required: false @@ -63179,8 +63467,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: + - *328 - *329 - - *330 - *63 responses: '204': @@ -63212,8 +63500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: + - *328 - *329 - - *330 - *63 responses: '200': @@ -63234,8 +63522,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *459 - required: *460 + properties: *458 + required: *459 nullable: true required: - permission @@ -63290,8 +63578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -63301,7 +63589,7 @@ paths: application/json: schema: type: array - items: &461 + items: &460 title: Commit Comment description: Commit Comment type: object @@ -63359,7 +63647,7 @@ paths: - created_at - updated_at examples: - default: &464 + default: &463 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -63418,17 +63706,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: + - *328 - *329 - - *330 - *83 responses: '200': description: Response content: application/json: - schema: *461 + schema: *460 examples: - default: &465 + default: &464 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -63485,8 +63773,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: + - *328 - *329 - - *330 - *83 requestBody: required: true @@ -63509,7 +63797,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *460 examples: default: value: @@ -63560,8 +63848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: + - *328 - *329 - - *330 - *83 responses: '204': @@ -63583,8 +63871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: + - *328 - *329 - - *330 - *83 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -63611,9 +63899,9 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *324 + default: *323 headers: Link: *58 '404': *6 @@ -63634,8 +63922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: + - *328 - *329 - - *330 - *83 requestBody: required: true @@ -63668,16 +63956,16 @@ paths: description: Reaction exists content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '201': description: Reaction created content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '422': *15 x-github: githubCloudOnly: false @@ -63699,10 +63987,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: + - *328 - *329 - - *330 - *83 - - *325 + - *324 responses: '204': description: Response @@ -63751,8 +64039,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: + - *328 - *329 - - *330 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -63808,7 +64096,7 @@ paths: application/json: schema: type: array - items: *462 + items: *461 examples: default: &575 value: @@ -63904,9 +64192,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: + - *328 - *329 - - *330 - - &463 + - &462 name: commit_sha description: The SHA of the commit. in: path @@ -63978,9 +64266,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: + - *328 - *329 - - *330 - - *463 + - *462 - *17 - *19 responses: @@ -63990,9 +64278,9 @@ paths: application/json: schema: type: array - items: *461 + items: *460 examples: - default: *464 + default: *463 headers: Link: *58 x-github: @@ -64020,9 +64308,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: + - *328 - *329 - - *330 - - *463 + - *462 requestBody: required: true content: @@ -64057,9 +64345,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *460 examples: - default: *465 + default: *464 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64087,9 +64375,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: + - *328 - *329 - - *330 - - *463 + - *462 - *17 - *19 responses: @@ -64099,7 +64387,7 @@ paths: application/json: schema: type: array - items: *466 + items: *465 examples: default: &567 value: @@ -64638,11 +64926,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: + - *328 - *329 - - *330 - *19 - *17 - - &467 + - &466 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -64657,7 +64945,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *461 examples: default: &554 value: @@ -64772,11 +65060,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: + - *328 - *329 - - *330 + - *466 - *467 - *468 - - *469 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -64810,9 +65098,9 @@ paths: type: integer check_runs: type: array - items: *411 + items: *410 examples: - default: *470 + default: *469 headers: Link: *58 x-github: @@ -64837,9 +65125,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: + - *328 - *329 - - *330 - - *467 + - *466 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -64847,7 +65135,7 @@ paths: schema: type: integer example: 1 - - *468 + - *467 - *17 - *19 responses: @@ -64865,7 +65153,7 @@ paths: type: integer check_suites: type: array - items: *416 + items: *415 examples: default: value: @@ -65065,9 +65353,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: + - *328 - *329 - - *330 - - *467 + - *466 - *17 - *19 responses: @@ -65265,9 +65553,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: + - *328 - *329 - - *330 - - *467 + - *466 - *17 - *19 responses: @@ -65358,7 +65646,7 @@ paths: site_admin: false headers: Link: *58 - '301': *338 + '301': *337 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65386,8 +65674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -65416,20 +65704,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *471 - required: *472 + properties: *470 + required: *471 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &473 + properties: &472 url: type: string format: uri html_url: type: string format: uri - required: &474 + required: &473 - url - html_url nullable: true @@ -65443,26 +65731,26 @@ paths: contributing: title: Community Health File type: object - properties: *473 - required: *474 + properties: *472 + required: *473 nullable: true readme: title: Community Health File type: object - properties: *473 - required: *474 + properties: *472 + required: *473 nullable: true issue_template: title: Community Health File type: object - properties: *473 - required: *474 + properties: *472 + required: *473 nullable: true pull_request_template: title: Community Health File type: object - properties: *473 - required: *474 + properties: *472 + required: *473 nullable: true required: - code_of_conduct @@ -65589,8 +65877,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: + - *328 - *329 - - *330 - *19 - *17 - name: basehead @@ -65633,8 +65921,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *462 - merge_base_commit: *462 + base_commit: *461 + merge_base_commit: *461 status: type: string enum: @@ -65654,10 +65942,10 @@ paths: example: 6 commits: type: array - items: *462 + items: *461 files: type: array - items: *475 + items: *474 required: - url - html_url @@ -65943,8 +66231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: + - *328 - *329 - - *330 - name: path description: path parameter in: path @@ -66087,7 +66375,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &476 + response-if-content-is-a-file: &475 summary: Response if content is a file value: type: file @@ -66420,7 +66708,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *476 + response-if-content-is-a-file: *475 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -66489,7 +66777,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *477 + '302': *476 '304': *37 x-github: githubCloudOnly: false @@ -66512,8 +66800,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: + - *328 - *329 - - *330 - name: path description: path parameter in: path @@ -66606,7 +66894,7 @@ paths: description: Response content: application/json: - schema: &478 + schema: &477 title: File Commit description: File Commit type: object @@ -66758,7 +67046,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *477 examples: example-for-creating-a-file: value: @@ -66865,8 +67153,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: + - *328 - *329 - - *330 - name: path description: path parameter in: path @@ -66927,7 +67215,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *477 examples: default: value: @@ -66982,8 +67270,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: + - *328 - *329 - - *330 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -67106,8 +67394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: + - *328 - *329 - - *330 - *168 - *169 - *170 @@ -67119,9 +67407,9 @@ paths: schema: type: string - *172 + - *478 - *173 - *174 - - *175 - *48 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -67141,8 +67429,8 @@ paths: default: 30 - *40 - *41 + - *175 - *176 - - *177 responses: '200': description: Response @@ -67457,8 +67745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: + - *328 - *329 - - *330 - &482 name: alert_number in: path @@ -67587,8 +67875,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: + - *328 - *329 - - *330 - *482 requestBody: required: true @@ -67763,8 +68051,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -67835,8 +68123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -67864,8 +68152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 responses: '200': @@ -67898,8 +68186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 requestBody: required: true @@ -67952,8 +68240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 responses: '204': @@ -67976,8 +68264,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: + - *328 - *329 - - *330 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -68137,8 +68425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -68377,8 +68665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -68628,8 +68916,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: + - *328 - *329 - - *330 - name: sha description: The SHA recorded at creation time. in: query @@ -68737,8 +69025,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -68892,8 +69180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: + - *328 - *329 - - *330 - &489 name: deployment_id description: deployment_id parameter @@ -68971,8 +69259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: + - *328 - *329 - - *330 - *489 responses: '204': @@ -68995,8 +69283,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: + - *328 - *329 - - *330 - *489 - *17 - *19 @@ -69168,8 +69456,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: + - *328 - *329 - - *330 - *489 requestBody: required: true @@ -69303,8 +69591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: + - *328 - *329 - - *330 - *489 - name: status_id in: path @@ -69343,8 +69631,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -69401,8 +69689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -69648,8 +69936,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: + - *328 - *329 - - *330 - &494 name: environment_name in: path @@ -69749,8 +70037,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: + - *328 - *329 - - *330 - *494 requestBody: required: false @@ -69829,8 +70117,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: + - *328 - *329 - - *330 - *494 responses: '204': @@ -69856,8 +70144,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: + - *328 - *329 - - *330 - *494 - *17 - *19 @@ -69933,8 +70221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: + - *328 - *329 - - *330 - *494 requestBody: required: true @@ -70025,8 +70313,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: + - *328 - *329 - - *330 - *494 - &500 name: branch_policy_id @@ -70061,8 +70349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: + - *328 - *329 - - *330 - *494 - *500 requestBody: @@ -70113,8 +70401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: + - *328 - *329 - - *330 - *494 - *500 responses: @@ -70142,8 +70430,8 @@ paths: url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - *494 - - *330 - *329 + - *328 responses: '200': description: List of deployment protection rules @@ -70278,8 +70566,8 @@ paths: url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - *494 - - *330 - *329 + - *328 requestBody: content: application/json: @@ -70338,8 +70626,8 @@ paths: url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - *494 - - *330 - *329 + - *328 - *19 - *17 responses: @@ -70393,8 +70681,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: + - *328 - *329 - - *330 - *494 - &504 name: protection_rule_id @@ -70432,8 +70720,8 @@ paths: url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - *494 - - *330 - *329 + - *328 - *504 responses: '204': @@ -70460,8 +70748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: + - *328 - *329 - - *330 - *494 - *17 - *19 @@ -70480,9 +70768,9 @@ paths: type: integer secrets: type: array - items: *377 + items: *376 examples: - default: *378 + default: *377 headers: Link: *58 x-github: @@ -70507,17 +70795,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: + - *328 - *329 - - *330 - *494 responses: '200': description: Response content: application/json: - schema: *379 + schema: *378 examples: - default: *380 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70539,8 +70827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: + - *328 - *329 - - *330 - *494 - *143 responses: @@ -70548,7 +70836,7 @@ paths: description: Response content: application/json: - schema: *377 + schema: *376 examples: default: *505 x-github: @@ -70572,8 +70860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: + - *328 - *329 - - *330 - *494 - *143 requestBody: @@ -70632,8 +70920,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: + - *328 - *329 - - *330 - *494 - *143 responses: @@ -70660,10 +70948,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: + - *328 - *329 - - *330 - *494 - - *348 + - *347 - *19 responses: '200': @@ -70680,9 +70968,9 @@ paths: type: integer variables: type: array - items: *381 + items: *380 examples: - default: *382 + default: *381 headers: Link: *58 x-github: @@ -70705,8 +70993,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: + - *328 - *329 - - *330 - *494 requestBody: required: true @@ -70759,8 +71047,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: + - *328 - *329 - - *330 - *494 - *146 responses: @@ -70768,7 +71056,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *380 examples: default: *506 x-github: @@ -70791,8 +71079,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: + - *328 - *329 - - *330 - *146 - *494 requestBody: @@ -70836,8 +71124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: + - *328 - *329 - - *330 - *146 - *494 responses: @@ -70861,8 +71149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -70939,8 +71227,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: + - *328 - *329 - - *330 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -71099,8 +71387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: + - *328 - *329 - - *330 requestBody: required: false content: @@ -71132,9 +71420,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *336 examples: - default: *339 + default: *338 '400': *14 '422': *15 '403': *29 @@ -71155,8 +71443,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -71241,8 +71529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: + - *328 - *329 - - *330 - name: file_sha in: path required: true @@ -71341,8 +71629,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -71665,9 +71953,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: + - *328 - *329 - - *330 - - *463 + - *462 responses: '200': description: Response @@ -71729,8 +72017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: + - *328 - *329 - - *330 - &509 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -71823,8 +72111,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: + - *328 - *329 - - *330 - *509 responses: '200': @@ -71862,8 +72150,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -71920,8 +72208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: + - *328 - *329 - - *330 - *509 requestBody: required: true @@ -71971,8 +72259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: + - *328 - *329 - - *330 - *509 responses: '204': @@ -72028,8 +72316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -72230,8 +72518,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: + - *328 - *329 - - *330 - name: tag_sha in: path required: true @@ -72268,8 +72556,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -72438,8 +72726,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: + - *328 - *329 - - *330 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -72521,8 +72809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -72660,8 +72948,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: + - *328 - *329 - - *330 requestBody: required: false content: @@ -72763,9 +73051,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: + - *328 - *329 - - *330 - - *185 + - *184 responses: '200': description: Response @@ -72793,9 +73081,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: + - *328 - *329 - - *330 - - *185 + - *184 requestBody: required: true content: @@ -72863,9 +73151,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: + - *328 - *329 - - *330 - - *185 + - *184 responses: '204': description: Response @@ -72889,9 +73177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: + - *328 - *329 - - *330 - - *185 + - *184 responses: '200': description: Response @@ -72918,9 +73206,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: + - *328 - *329 - - *330 - - *185 + - *184 requestBody: required: false content: @@ -72964,11 +73252,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: + - *328 - *329 - - *330 - - *185 + - *184 - *17 - - *186 + - *185 responses: '200': description: Response @@ -72976,9 +73264,9 @@ paths: application/json: schema: type: array - items: *187 + items: *186 examples: - default: *188 + default: *187 '400': *14 '422': *15 x-github: @@ -72997,18 +73285,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: + - *328 - *329 - - *330 - - *185 + - *184 - *16 responses: '200': description: Response content: application/json: - schema: *189 + schema: *188 examples: - default: *190 + default: *189 '400': *14 '422': *15 x-github: @@ -73027,9 +73315,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: + - *328 - *329 - - *330 - - *185 + - *184 - *16 responses: '202': *39 @@ -73052,9 +73340,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: + - *328 - *329 - - *330 - - *185 + - *184 responses: '204': description: Response @@ -73079,9 +73367,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: + - *328 - *329 - - *330 - - *185 + - *184 responses: '204': description: Response @@ -73091,6 +73379,97 @@ paths: enabledForGitHubApps: true category: repos subcategory: webhooks + "/repos/{owner}/{repo}/immutable-releases": + get: + summary: Check if immutable releases are enabled for a repository + description: |- + Shows whether immutable releases are enabled or disabled. Also identifies whether immutability is being + enforced by the repository owner. The authenticated user must have admin read access to the repository. + tags: + - repos + operationId: repos/check-immutable-releases + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository + parameters: + - *328 + - *329 + responses: + '200': + description: Response if immutable releases are enabled + content: + application/json: + schema: + title: Check immutable releases + description: Check immutable releases + type: object + properties: + enabled: + type: boolean + example: true + description: Whether immutable releases are enabled for the repository. + enforced_by_owner: + type: boolean + example: false + description: Whether immutable releases are enforced by the repository + owner. + required: + - enabled + - enforced_by_owner + examples: + default: + value: + enabled: true + enforced_by_owner: false + '404': + description: Not Found if immutable releases are not enabled for the repository + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos + put: + summary: Enable immutable releases + description: Enables immutable releases for a repository. The authenticated + user must have admin access to the repository. + tags: + - repos + operationId: repos/enable-immutable-releases + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/repos#enable-immutable-releases + parameters: + - *328 + - *329 + responses: + '204': *161 + '409': *47 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos + delete: + summary: Disable immutable releases + description: Disables immutable releases for a repository. The authenticated + user must have admin access to the repository. + tags: + - repos + operationId: repos/disable-immutable-releases + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/repos#disable-immutable-releases + parameters: + - *328 + - *329 + responses: + '204': *161 + '409': *47 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos "/repos/{owner}/{repo}/import": get: summary: Get an import status @@ -73139,8 +73518,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -73290,8 +73669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -73392,8 +73771,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: + - *328 - *329 - - *330 requestBody: required: false content: @@ -73513,8 +73892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -73544,8 +73923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: + - *328 - *329 - - *330 - &684 name: since description: A user ID. Only return users with an ID greater than this ID. @@ -73639,8 +74018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: + - *328 - *329 - - *330 - name: author_id in: path required: true @@ -73707,8 +74086,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -73777,8 +74156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -73832,8 +74211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -73842,7 +74221,7 @@ paths: schema: *22 examples: default: *522 - '301': *338 + '301': *337 '404': *6 x-github: githubCloudOnly: false @@ -73862,8 +74241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -73871,7 +74250,7 @@ paths: application/json: schema: anyOf: - - *203 + - *202 - type: object properties: {} additionalProperties: false @@ -73901,8 +74280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -73919,7 +74298,7 @@ paths: description: Response content: application/json: - schema: *203 + schema: *202 examples: default: *524 '409': @@ -73943,8 +74322,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -73967,8 +74346,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -74111,9 +74490,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: + - *328 - *329 - - *330 - - *207 + - *206 requestBody: required: false content: @@ -74273,9 +74652,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: + - *328 - *329 - - *330 - - *207 + - *206 responses: '204': description: Response @@ -74306,8 +74685,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: + - *328 - *329 - - *330 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -74355,7 +74734,7 @@ paths: required: false schema: type: string - - *211 + - *210 - name: sort description: What to sort results by. in: query @@ -74528,7 +74907,7 @@ paths: state_reason: completed headers: Link: *58 - '301': *338 + '301': *337 '422': *15 '404': *6 x-github: @@ -74557,8 +74936,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -74798,7 +75177,7 @@ paths: '422': *15 '503': *72 '404': *6 - '410': *335 + '410': *334 x-github: triggersNotification: true githubCloudOnly: false @@ -74826,8 +75205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: + - *328 - *329 - - *330 - *94 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -74908,8 +75287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: + - *328 - *329 - - *330 - *83 responses: '200': @@ -74972,8 +75351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: + - *328 - *329 - - *330 - *83 requestBody: required: true @@ -75016,8 +75395,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: + - *328 - *329 - - *330 - *83 responses: '204': @@ -75038,8 +75417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: + - *328 - *329 - - *330 - *83 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -75066,9 +75445,9 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *324 + default: *323 headers: Link: *58 '404': *6 @@ -75089,8 +75468,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: + - *328 - *329 - - *330 - *83 requestBody: required: true @@ -75123,16 +75502,16 @@ paths: description: Reaction exists content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '201': description: Reaction created content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '422': *15 x-github: githubCloudOnly: false @@ -75154,10 +75533,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: + - *328 - *329 - - *330 - *83 - - *325 + - *324 responses: '204': description: Response @@ -75177,8 +75556,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -75539,8 +75918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: + - *328 - *329 - - *330 - name: event_id in: path required: true @@ -75744,7 +76123,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *335 + '410': *334 '403': *29 x-github: githubCloudOnly: false @@ -75778,8 +76157,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: + - *328 - *329 - - *330 - &532 name: issue_number description: The number that identifies the issue. @@ -75795,9 +76174,9 @@ paths: schema: *84 examples: default: *531 - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 '304': *37 x-github: githubCloudOnly: false @@ -75822,8 +76201,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: false @@ -75934,9 +76313,9 @@ paths: '422': *15 '503': *72 '403': *29 - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75954,8 +76333,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: false @@ -76000,8 +76379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: content: @@ -76051,8 +76430,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: + - *328 - *329 - - *330 - *532 - name: assignee in: path @@ -76093,8 +76472,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: + - *328 - *329 - - *330 - *532 - *74 - *17 @@ -76112,7 +76491,7 @@ paths: headers: Link: *58 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76141,8 +76520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: + - *328 - *329 - - *330 - *532 requestBody: required: true @@ -76174,7 +76553,7 @@ paths: schema: type: string '403': *29 - '410': *335 + '410': *334 '422': *15 '404': *6 x-github: @@ -76202,8 +76581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: + - *328 - *329 - - *330 - *532 - *17 - *19 @@ -76219,9 +76598,9 @@ paths: default: *534 headers: Link: *58 - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76249,8 +76628,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: + - *328 - *329 - - *330 - *532 requestBody: required: true @@ -76281,9 +76660,9 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *338 + '301': *337 '403': *29 - '410': *335 + '410': *334 '422': *15 '404': *6 x-github: @@ -76314,8 +76693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: + - *328 - *329 - - *330 - *532 - name: issue_id in: path @@ -76331,12 +76710,12 @@ paths: schema: *84 examples: default: *531 - '301': *338 + '301': *337 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *335 + '410': *334 x-github: triggersNotification: true githubCloudOnly: false @@ -76362,8 +76741,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: + - *328 - *329 - - *330 - *532 - *17 - *19 @@ -76379,9 +76758,9 @@ paths: default: *534 headers: Link: *58 - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76398,8 +76777,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: + - *328 - *329 - - *330 - *532 - *17 - *19 @@ -77251,7 +77630,7 @@ paths: color: red headers: Link: *58 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77268,8 +77647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: + - *328 - *329 - - *330 - *532 - *17 - *19 @@ -77345,9 +77724,9 @@ paths: default: false headers: Link: *58 - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77364,8 +77743,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: false @@ -77428,9 +77807,9 @@ paths: items: *535 examples: default: *536 - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 '422': *15 x-github: githubCloudOnly: false @@ -77447,8 +77826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: false @@ -77512,9 +77891,9 @@ paths: items: *535 examples: default: *536 - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 '422': *15 x-github: githubCloudOnly: false @@ -77531,15 +77910,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: + - *328 - *329 - - *330 - *532 responses: '204': description: Response - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77558,8 +77937,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: + - *328 - *329 - - *330 - *532 - name: name in: path @@ -77584,9 +77963,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77606,8 +77985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: false @@ -77636,7 +78015,7 @@ paths: '204': description: Response '403': *29 - '410': *335 + '410': *334 '404': *6 '422': *15 x-github: @@ -77654,8 +78033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: + - *328 - *329 - - *330 - *532 responses: '204': @@ -77686,8 +78065,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: + - *328 - *329 - - *330 - *532 responses: '200': @@ -77697,9 +78076,9 @@ paths: schema: *84 examples: default: *531 - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77716,8 +78095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: + - *328 - *329 - - *330 - *532 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -77744,13 +78123,13 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *324 + default: *323 headers: Link: *58 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77768,8 +78147,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: true @@ -77802,16 +78181,16 @@ paths: description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '201': description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '422': *15 x-github: githubCloudOnly: false @@ -77833,10 +78212,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: + - *328 - *329 - - *330 - *532 - - *325 + - *324 responses: '204': description: Response @@ -77865,8 +78244,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: true @@ -77924,8 +78303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: + - *328 - *329 - - *330 - *532 - *17 - *19 @@ -77942,7 +78321,7 @@ paths: headers: Link: *58 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77970,8 +78349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: true @@ -78008,7 +78387,7 @@ paths: schema: type: string '403': *29 - '410': *335 + '410': *334 '422': *15 '404': *6 x-github: @@ -78028,8 +78407,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: true @@ -78085,8 +78464,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: + - *328 - *329 - - *330 - *532 - *17 - *19 @@ -78632,7 +79011,7 @@ paths: type: string comments: type: array - items: *461 + items: *460 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -78921,7 +79300,7 @@ paths: headers: Link: *58 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78938,8 +79317,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -79015,8 +79394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -79088,8 +79467,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: + - *328 - *329 - - *330 - &552 name: key_id description: The unique identifier of the key. @@ -79122,8 +79501,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: + - *328 - *329 - - *330 - *552 responses: '204': @@ -79144,8 +79523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -79178,8 +79557,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -79249,8 +79628,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: + - *328 - *329 - - *330 - name: name in: path required: true @@ -79280,8 +79659,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: + - *328 - *329 - - *330 - name: name in: path required: true @@ -79346,8 +79725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: + - *328 - *329 - - *330 - name: name in: path required: true @@ -79373,8 +79752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -79413,9 +79792,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: + - *328 - *329 - - *330 - - *437 + - *436 responses: '200': description: Response @@ -79560,8 +79939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -79626,8 +80005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -79661,7 +80040,7 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *462 + schema: *461 examples: default: *554 '204': @@ -79688,8 +80067,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: + - *328 - *329 - - *330 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -79734,8 +80113,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *249 - required: *250 + properties: *248 + required: *249 examples: default: value: @@ -79791,8 +80170,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -79893,8 +80272,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: + - *328 - *329 - - *330 - &557 name: milestone_number description: The number that identifies the milestone. @@ -79926,8 +80305,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: + - *328 - *329 - - *330 - *557 requestBody: required: false @@ -79984,8 +80363,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: + - *328 - *329 - - *330 - *557 responses: '204': @@ -80007,8 +80386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: + - *328 - *329 - - *330 - *557 - *17 - *19 @@ -80040,8 +80419,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: + - *328 - *329 - - *330 - *558 - *559 - *74 @@ -80081,8 +80460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: + - *328 - *329 - - *330 requestBody: required: false content: @@ -80140,8 +80519,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -80313,8 +80692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -80393,8 +80772,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -80493,8 +80872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -80520,8 +80899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -80625,8 +81004,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: + - *328 - *329 - - *330 responses: '201': description: Response @@ -80671,8 +81050,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -80728,8 +81107,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: + - *328 - *329 - - *330 - name: build_id in: path required: true @@ -80762,8 +81141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -80868,8 +81247,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: + - *328 - *329 - - *330 - &566 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit @@ -80928,8 +81307,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: + - *328 - *329 - - *330 - *566 responses: '204': *161 @@ -80957,8 +81336,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -81216,8 +81595,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Private vulnerability reporting status @@ -81254,8 +81633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': *161 '422': *14 @@ -81276,8 +81655,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': *161 '422': *14 @@ -81300,8 +81679,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: + - *328 - *329 - - *330 - name: state description: Indicates the state of the projects to return. in: query @@ -81322,7 +81701,7 @@ paths: application/json: schema: type: array - items: *243 + items: *242 examples: default: value: @@ -81362,7 +81741,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *335 + '410': *334 '422': *7 x-github: githubCloudOnly: false @@ -81385,8 +81764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -81412,13 +81791,13 @@ paths: description: Response content: application/json: - schema: *243 + schema: *242 examples: - default: *334 + default: *333 '401': *25 '403': *29 '404': *6 - '410': *335 + '410': *334 '422': *7 x-github: githubCloudOnly: false @@ -81441,8 +81820,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -81450,7 +81829,7 @@ paths: application/json: schema: type: array - items: *261 + items: *260 examples: default: value: @@ -81481,8 +81860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -81494,7 +81873,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *261 + items: *260 required: - properties examples: @@ -81544,8 +81923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: + - *328 - *329 - - *330 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -81605,7 +81984,7 @@ paths: application/json: schema: type: array - items: *466 + items: *465 examples: default: *567 headers: @@ -81639,8 +82018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -81816,8 +82195,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *249 - required: *250 + properties: *248 + required: *249 nullable: true active_lock_reason: type: string @@ -81862,7 +82241,7 @@ paths: nullable: true requested_teams: type: array - items: *307 + items: *306 nullable: true head: type: object @@ -81901,14 +82280,14 @@ paths: _links: type: object properties: - comments: *251 - commits: *251 - statuses: *251 - html: *251 - issue: *251 - review_comments: *251 - review_comment: *251 - self: *251 + comments: *250 + commits: *250 + statuses: *250 + html: *250 + issue: *250 + review_comments: *250 + review_comment: *250 + self: *250 required: - comments - commits @@ -82538,8 +82917,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: + - *328 - *329 - - *330 - name: sort in: query required: false @@ -82647,8 +83026,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: + - *328 - *329 - - *330 - *83 responses: '200': @@ -82732,8 +83111,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: + - *328 - *329 - - *330 - *83 requestBody: required: true @@ -82774,8 +83153,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: + - *328 - *329 - - *330 - *83 responses: '204': @@ -82797,8 +83176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: + - *328 - *329 - - *330 - *83 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -82825,9 +83204,9 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *324 + default: *323 headers: Link: *58 '404': *6 @@ -82848,8 +83227,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: + - *328 - *329 - - *330 - *83 requestBody: required: true @@ -82882,16 +83261,16 @@ paths: description: Reaction exists content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '201': description: Reaction created content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '422': *15 x-github: githubCloudOnly: false @@ -82913,10 +83292,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: + - *328 - *329 - - *330 - *83 - - *325 + - *324 responses: '204': description: Response @@ -82959,8 +83338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: + - *328 - *329 - - *330 - &573 name: pull_number description: The number that identifies the pull request. @@ -83011,8 +83390,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: + - *328 - *329 - - *330 - *573 requestBody: required: false @@ -83079,8 +83458,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: + - *328 - *329 - - *330 - *573 requestBody: required: true @@ -83141,17 +83520,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '401': *25 '403': *29 '404': *6 @@ -83181,8 +83560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: + - *328 - *329 - - *330 - *573 - *94 - name: direction @@ -83239,8 +83618,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 requestBody: required: true @@ -83434,8 +83813,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: + - *328 - *329 - - *330 - *573 - *83 requestBody: @@ -83545,8 +83924,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: + - *328 - *329 - - *330 - *573 - *17 - *19 @@ -83557,7 +83936,7 @@ paths: application/json: schema: type: array - items: *462 + items: *461 examples: default: *575 headers: @@ -83589,8 +83968,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: + - *328 - *329 - - *330 - *573 - *17 - *19 @@ -83601,7 +83980,7 @@ paths: application/json: schema: type: array - items: *475 + items: *474 examples: default: value: @@ -83639,8 +84018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: + - *328 - *329 - - *330 - *573 responses: '204': @@ -83664,8 +84043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: + - *328 - *329 - - *330 - *573 requestBody: required: false @@ -83777,8 +84156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 responses: '200': @@ -83854,8 +84233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 requestBody: required: false @@ -83893,7 +84272,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *465 examples: default: value: @@ -84429,8 +84808,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: + - *328 - *329 - - *330 - *573 requestBody: required: true @@ -84465,7 +84844,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *465 examples: default: value: @@ -84970,8 +85349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 - *17 - *19 @@ -85133,8 +85512,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 requestBody: required: false @@ -85286,8 +85665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 - &577 name: review_id @@ -85362,8 +85741,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 - *577 requestBody: @@ -85450,8 +85829,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 - *577 responses: @@ -85488,8 +85867,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: + - *328 - *329 - - *330 - *573 - *577 - *17 @@ -85574,9 +85953,9 @@ paths: _links: type: object properties: - self: *251 - html: *251 - pull_request: *251 + self: *250 + html: *250 + pull_request: *250 required: - self - html @@ -85726,8 +86105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 - *577 requestBody: @@ -85820,8 +86199,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 - *577 requestBody: @@ -85882,8 +86261,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: + - *328 - *329 - - *330 - *573 requestBody: required: false @@ -85947,8 +86326,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: + - *328 - *329 - - *330 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -86005,8 +86384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: + - *328 - *329 - - *330 - name: dir description: The alternate path to look for a README file in: path @@ -86050,8 +86429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -86319,8 +86698,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -86503,8 +86882,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: + - *328 - *329 - - *330 - &584 name: asset_id description: The unique identifier of the asset. @@ -86554,7 +86933,7 @@ paths: type: User site_admin: false '404': *6 - '302': *477 + '302': *476 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86570,8 +86949,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: + - *328 - *329 - - *330 - *584 requestBody: required: false @@ -86618,8 +86997,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: + - *328 - *329 - - *330 - *584 responses: '204': @@ -86644,8 +87023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -86730,8 +87109,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -86756,8 +87135,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: + - *328 - *329 - - *330 - name: tag description: tag parameter in: path @@ -86794,8 +87173,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: + - *328 - *329 - - *330 - &587 name: release_id description: The unique identifier of the release. @@ -86830,8 +87209,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: + - *328 - *329 - - *330 - *587 requestBody: required: false @@ -86919,8 +87298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: + - *328 - *329 - - *330 - *587 responses: '204': @@ -86941,8 +87320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: + - *328 - *329 - - *330 - *587 - *17 - *19 @@ -87034,8 +87413,8 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: + - *328 - *329 - - *330 - *587 - name: name in: query @@ -87117,8 +87496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: + - *328 - *329 - - *330 - *587 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -87143,9 +87522,9 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *324 + default: *323 headers: Link: *58 '404': *6 @@ -87166,8 +87545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: + - *328 - *329 - - *330 - *587 requestBody: required: true @@ -87198,16 +87577,16 @@ paths: description: Reaction exists content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '201': description: Reaction created content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '422': *15 x-github: githubCloudOnly: false @@ -87229,10 +87608,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: + - *328 - *329 - - *330 - *587 - - *325 + - *324 responses: '204': description: Response @@ -87256,9 +87635,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: + - *328 - *329 - - *330 - - *399 + - *398 - *17 - *19 responses: @@ -87274,7 +87653,7 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *270 + - *269 - &588 title: repository ruleset data for rule description: User-defined metadata to store domain-specific @@ -87294,6 +87673,9 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. + - allOf: + - *270 + - *588 - allOf: - *271 - *588 @@ -87301,10 +87683,10 @@ paths: - *272 - *588 - allOf: - - *273 + - *589 - *588 - allOf: - - *589 + - *273 - *588 - allOf: - *274 @@ -87351,9 +87733,6 @@ paths: - allOf: - *288 - *588 - - allOf: - - *289 - - *588 - allOf: - *590 - *588 @@ -87395,8 +87774,8 @@ paths: category: repos subcategory: rules parameters: + - *328 - *329 - - *330 - *17 - *19 - name: includes_parents @@ -87415,7 +87794,7 @@ paths: application/json: schema: type: array - items: *290 + items: *289 examples: default: value: @@ -87462,8 +87841,8 @@ paths: category: repos subcategory: rules parameters: + - *328 - *329 - - *330 requestBody: description: Request body required: true @@ -87483,12 +87862,12 @@ paths: - tag - push default: branch - enforcement: *267 + enforcement: *266 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *268 - conditions: *265 + items: *267 + conditions: *264 rules: type: array description: An array of rules within the ruleset. @@ -87523,7 +87902,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *289 examples: default: &602 value: @@ -87572,8 +87951,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: + - *328 - *329 - - *330 - *593 - *594 - *595 @@ -87608,8 +87987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: + - *328 - *329 - - *330 - *599 responses: '200': @@ -87646,8 +88025,8 @@ paths: category: repos subcategory: rules parameters: + - *328 - *329 - - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87667,7 +88046,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *289 examples: default: *602 '404': *6 @@ -87687,8 +88066,8 @@ paths: category: repos subcategory: rules parameters: + - *328 - *329 - - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87713,12 +88092,12 @@ paths: - branch - tag - push - enforcement: *267 + enforcement: *266 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *268 - conditions: *265 + items: *267 + conditions: *264 rules: description: An array of rules within the ruleset. type: array @@ -87750,7 +88129,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *289 examples: default: *602 '404': *6 @@ -87770,8 +88149,8 @@ paths: category: repos subcategory: rules parameters: + - *328 - *329 - - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87794,8 +88173,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: + - *328 - *329 - - *330 - *17 - *19 - name: ruleset_id @@ -87811,7 +88190,7 @@ paths: application/json: schema: type: array - items: *293 + items: *292 examples: default: *603 '404': *6 @@ -87832,8 +88211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: + - *328 - *329 - - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87906,21 +88285,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: + - *328 - *329 - - *330 + - *293 - *294 - *295 - *296 - - *297 - *48 - *19 - *17 - *605 - *606 + - *297 - *298 - *299 - *300 - - *301 responses: '200': description: Response @@ -88050,6 +88429,13 @@ 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: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true examples: default: value: @@ -88142,6 +88528,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 @@ -88167,10 +88572,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: + - *328 - *329 - - *330 - - *431 - - *301 + - *430 + - *300 responses: '200': description: Response @@ -88228,9 +88633,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: + - *328 - *329 - - *330 - - *431 + - *430 requestBody: required: true content: @@ -88332,9 +88737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: + - *328 - *329 - - *330 - - *431 + - *430 - *19 - *17 responses: @@ -88469,8 +88874,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -88545,8 +88950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: + - *328 - *329 - - *330 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -88665,8 +89070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: + - *328 - *329 - - *330 - *48 - name: sort description: The property to sort the results by. @@ -88735,8 +89140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -88809,7 +89214,7 @@ paths: login: type: string description: The username of the user credited. - type: *306 + type: *305 required: - login - type @@ -89131,8 +89536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -89383,8 +89788,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: + - *328 - *329 - - *330 - *629 responses: '200': @@ -89417,8 +89822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: + - *328 - *329 - - *330 - *629 requestBody: required: true @@ -89492,7 +89897,7 @@ paths: login: type: string description: The username of the user credited. - type: *306 + type: *305 required: - login - type @@ -89619,8 +90024,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: + - *328 - *329 - - *330 - *629 responses: '202': *39 @@ -89648,17 +90053,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: + - *328 - *329 - - *330 - *629 responses: '202': description: Response content: application/json: - schema: *337 + schema: *336 examples: - default: *339 + default: *338 '400': *14 '422': *15 '403': *29 @@ -89684,8 +90089,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -89784,8 +90189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: + - *328 - *329 - - *330 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -89827,8 +90232,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -89904,8 +90309,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -90001,8 +90406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: + - *328 - *329 - - *330 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -90156,8 +90561,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: + - *328 - *329 - - *330 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -90200,8 +90605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: + - *328 - *329 - - *330 - name: sha in: path required: true @@ -90309,8 +90714,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -90342,8 +90747,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: + - *328 - *329 - - *330 responses: '200': description: if you subscribe to the repository @@ -90417,8 +90822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: + - *328 - *329 - - *330 requestBody: required: false content: @@ -90471,8 +90876,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -90492,8 +90897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -90572,8 +90977,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -90633,8 +91038,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -90688,8 +91093,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: + - *328 - *329 - - *330 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -90726,8 +91131,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: + - *328 - *329 - - *330 - name: ref in: path required: true @@ -90763,8 +91168,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -90776,7 +91181,7 @@ paths: type: array items: *167 examples: - default: *226 + default: *225 headers: Link: *58 '404': *6 @@ -90796,8 +91201,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: + - *328 - *329 - - *330 - *19 - *17 responses: @@ -90840,8 +91245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -90895,8 +91300,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: + - *328 - *329 - - *330 - &637 name: per description: The time frame to display results for. @@ -91013,8 +91418,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -91104,8 +91509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -91165,8 +91570,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: + - *328 - *329 - - *330 - *637 responses: '200': @@ -91263,8 +91668,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -91538,8 +91943,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -91562,8 +91967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -91585,8 +91990,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -91612,8 +92017,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: + - *328 - *329 - - *330 - name: ref in: path required: true @@ -91705,9 +92110,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *336 examples: - default: *339 + default: *338 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -92188,7 +92593,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *397 + properties: *396 nullable: true comment_count: type: integer @@ -92227,7 +92632,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *397 + properties: *396 nullable: true parents: type: array @@ -92545,8 +92950,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *249 - required: *250 + properties: *248 + required: *249 nullable: true comments: type: integer @@ -92604,7 +93009,7 @@ paths: timeline_url: type: string format: uri - type: *208 + type: *207 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -93842,9 +94247,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *313 examples: - default: *315 + default: *314 '404': *6 x-github: githubCloudOnly: false @@ -93934,16 +94339,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *314 + schema: *313 examples: - default: *315 + default: *314 '201': description: Response content: application/json: - schema: *314 + schema: *313 examples: - default: *315 + default: *314 '404': *6 '422': *15 '403': *29 @@ -94013,7 +94418,7 @@ paths: application/json: schema: type: array - items: *316 + items: *315 examples: default: *645 headers: @@ -94078,9 +94483,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *315 examples: - default: *317 + default: *316 x-github: triggersNotification: true githubCloudOnly: false @@ -94108,15 +94513,15 @@ paths: url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - *644 - - *318 + - *317 responses: '200': description: Response content: application/json: - schema: *316 + schema: *315 examples: - default: *317 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94142,7 +94547,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - *644 - - *318 + - *317 requestBody: required: false content: @@ -94165,7 +94570,7 @@ paths: description: Response content: application/json: - schema: *316 + schema: *315 examples: default: *646 x-github: @@ -94193,7 +94598,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - *644 - - *318 + - *317 responses: '204': description: Response @@ -94223,7 +94628,7 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - *644 - - *318 + - *317 - *48 - *17 - *19 @@ -94234,7 +94639,7 @@ paths: application/json: schema: type: array - items: *319 + items: *318 examples: default: *647 headers: @@ -94266,7 +94671,7 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - *644 - - *318 + - *317 requestBody: required: true content: @@ -94288,9 +94693,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *318 examples: - default: *320 + default: *319 x-github: triggersNotification: true githubCloudOnly: false @@ -94318,16 +94723,16 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - *644 - - *318 - - *321 + - *317 + - *320 responses: '200': description: Response content: application/json: - schema: *319 + schema: *318 examples: - default: *320 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94353,8 +94758,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - *644 - - *318 - - *321 + - *317 + - *320 requestBody: required: true content: @@ -94376,7 +94781,7 @@ paths: description: Response content: application/json: - schema: *319 + schema: *318 examples: default: *648 x-github: @@ -94404,8 +94809,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - *644 - - *318 - - *321 + - *317 + - *320 responses: '204': description: Response @@ -94435,8 +94840,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - *644 - - *318 - - *321 + - *317 + - *320 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -94462,9 +94867,9 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *324 + default: *323 headers: Link: *58 x-github: @@ -94494,8 +94899,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - *644 - - *318 - - *321 + - *317 + - *320 requestBody: required: true content: @@ -94527,9 +94932,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94556,7 +94961,7 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - *644 - - *318 + - *317 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -94582,9 +94987,9 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *324 + default: *323 headers: Link: *58 x-github: @@ -94614,7 +95019,7 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - *644 - - *318 + - *317 requestBody: required: true content: @@ -94646,9 +95051,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94682,9 +95087,9 @@ paths: application/json: schema: type: array - items: *205 + items: *204 examples: - default: *206 + default: *205 headers: Link: *58 x-github: @@ -94882,7 +95287,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *325 examples: response-if-user-is-a-team-maintainer: *649 '404': *6 @@ -94943,7 +95348,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *325 examples: response-if-users-membership-with-team-is-now-pending: *650 '403': @@ -95018,7 +95423,7 @@ paths: application/json: schema: type: array - items: *327 + items: *326 examples: default: *651 headers: @@ -95047,13 +95452,13 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - *644 - - *328 + - *327 responses: '200': description: Response content: application/json: - schema: *327 + schema: *326 examples: default: *652 '404': @@ -95080,7 +95485,7 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - *644 - - *328 + - *327 requestBody: required: false content: @@ -95148,7 +95553,7 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - *644 - - *328 + - *327 responses: '204': description: Response @@ -95187,7 +95592,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 '404': *6 @@ -95218,8 +95623,8 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - *644 + - *328 - *329 - - *330 responses: '200': description: Alternative response with extra repository information @@ -95377,8 +95782,8 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - *644 + - *328 - *329 - - *330 requestBody: required: false content: @@ -95429,8 +95834,8 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - *644 + - *328 - *329 - - *330 responses: '204': description: Response @@ -96059,9 +96464,9 @@ paths: type: integer codespaces: type: array - items: *213 + items: *212 examples: - default: *214 + default: *213 '304': *37 '500': *104 '401': *25 @@ -96200,17 +96605,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '401': *25 '403': *29 '404': *6 @@ -96294,7 +96699,7 @@ paths: - visibility - selected_repositories_url examples: - default: *454 + default: *453 headers: Link: *58 x-github: @@ -96660,15 +97065,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *215 + - *214 responses: '200': description: Response content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '304': *37 '500': *104 '401': *25 @@ -96694,7 +97099,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *215 + - *214 requestBody: required: false content: @@ -96724,9 +97129,9 @@ paths: description: Response content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '401': *25 '403': *29 '404': *6 @@ -96748,7 +97153,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *215 + - *214 responses: '202': *39 '304': *37 @@ -96777,7 +97182,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *215 + - *214 responses: '202': description: Response @@ -96856,7 +97261,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *215 + - *214 - name: export_id in: path required: true @@ -96892,7 +97297,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *215 + - *214 responses: '200': description: Response @@ -96939,7 +97344,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *215 + - *214 requestBody: required: true content: @@ -96989,13 +97394,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *337 + repository: *336 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *452 - required: *453 + properties: *451 + required: *452 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -97769,15 +98174,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *215 + - *214 responses: '200': description: Response content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '304': *37 '500': *104 '400': *14 @@ -97809,15 +98214,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *215 + - *214 responses: '200': description: Response content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '500': *104 '401': *25 '403': *29 @@ -97847,7 +98252,7 @@ paths: application/json: schema: type: array - items: *227 + items: *226 examples: default: &674 value: @@ -98936,12 +99341,12 @@ paths: application/json: schema: anyOf: - - *203 + - *202 - type: object properties: {} additionalProperties: false examples: - default: *204 + default: *203 '204': description: Response when there are no restrictions x-github: @@ -98976,7 +99381,7 @@ paths: description: Response content: application/json: - schema: *203 + schema: *202 examples: default: value: @@ -99057,7 +99462,7 @@ paths: - closed - all default: open - - *211 + - *210 - name: sort description: What to sort results by. in: query @@ -99082,7 +99487,7 @@ paths: type: array items: *84 examples: - default: *212 + default: *211 headers: Link: *58 '404': *6 @@ -99487,7 +99892,7 @@ paths: application/json: schema: type: array - items: *218 + items: *217 examples: default: value: @@ -99595,7 +100000,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *217 examples: default: value: @@ -99678,7 +100083,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *217 examples: default: value: @@ -99746,7 +100151,7 @@ paths: application/json: schema: type: array - items: *220 + items: *219 examples: default: value: @@ -99999,7 +100404,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *219 examples: default: value: @@ -100179,7 +100584,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *221 + - *220 - name: exclude in: query required: false @@ -100192,7 +100597,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *219 examples: default: value: @@ -100386,7 +100791,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *221 + - *220 responses: '302': description: Response @@ -100412,7 +100817,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *221 + - *220 responses: '204': description: Response @@ -100441,7 +100846,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *221 + - *220 - *671 responses: '204': @@ -100466,7 +100871,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *221 + - *220 - *17 - *19 responses: @@ -100478,7 +100883,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 '404': *6 @@ -100513,7 +100918,7 @@ paths: application/json: schema: type: array - items: *217 + items: *216 examples: default: *672 headers: @@ -100567,7 +100972,7 @@ paths: application/json: schema: type: array - items: *227 + items: *226 examples: default: *674 '400': *675 @@ -100590,14 +100995,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: + - *228 - *229 - - *230 responses: '200': description: Response content: application/json: - schema: *227 + schema: *226 examples: default: &691 value: @@ -100712,8 +101117,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: + - *228 - *229 - - *230 responses: '204': description: Response @@ -100743,8 +101148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: + - *228 - *229 - - *230 - name: token description: package token schema: @@ -100776,8 +101181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: + - *228 - *229 - - *230 - *19 - *17 - name: state @@ -100797,7 +101202,7 @@ paths: application/json: schema: type: array - items: *231 + items: *230 examples: default: value: @@ -100846,15 +101251,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: + - *228 - *229 - - *230 - - *232 + - *231 responses: '200': description: Response content: application/json: - schema: *231 + schema: *230 examples: default: value: @@ -100890,9 +101295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: + - *228 - *229 - - *230 - - *232 + - *231 responses: '204': description: Response @@ -100922,9 +101327,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: + - *228 - *229 - - *230 - - *232 + - *231 responses: '204': description: Response @@ -100980,7 +101385,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *242 examples: default: value: @@ -101471,9 +101876,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *336 examples: - default: *339 + default: *338 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -101536,7 +101941,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *207 + - *206 responses: '204': description: Response @@ -101559,7 +101964,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *207 + - *206 responses: '204': description: Response @@ -102128,8 +102533,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: + - *328 - *329 - - *330 responses: '204': description: Response if this repository is starred by you @@ -102157,8 +102562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -102182,8 +102587,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -102218,7 +102623,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 '304': *37 @@ -102255,7 +102660,7 @@ paths: application/json: schema: type: array - items: *314 + items: *313 examples: default: value: @@ -102799,7 +103204,7 @@ paths: initiator: type: string examples: - default: *393 + default: *392 '201': description: Response content: @@ -102838,7 +103243,7 @@ paths: application/json: schema: type: array - items: *227 + items: *226 examples: default: *674 '403': *29 @@ -103433,7 +103838,7 @@ paths: application/json: schema: type: array - items: *217 + items: *216 examples: default: *672 headers: @@ -103485,7 +103890,7 @@ paths: application/json: schema: type: array - items: *227 + items: *226 examples: default: *674 '403': *29 @@ -103510,15 +103915,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: + - *228 - *229 - - *230 - *63 responses: '200': description: Response content: application/json: - schema: *227 + schema: *226 examples: default: *691 x-github: @@ -103541,8 +103946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: + - *228 - *229 - - *230 - *63 responses: '204': @@ -103575,8 +103980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: + - *228 - *229 - - *230 - *63 - name: token description: package token @@ -103609,8 +104014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: + - *228 - *229 - - *230 - *63 responses: '200': @@ -103619,7 +104024,7 @@ paths: application/json: schema: type: array - items: *231 + items: *230 examples: default: value: @@ -103677,16 +104082,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: + - *228 - *229 - - *230 - - *232 + - *231 - *63 responses: '200': description: Response content: application/json: - schema: *231 + schema: *230 examples: default: value: @@ -103721,10 +104126,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: + - *228 - *229 - - *230 - *63 - - *232 + - *231 responses: '204': description: Response @@ -103756,10 +104161,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: + - *228 - *229 - - *230 - *63 - - *232 + - *231 responses: '204': description: Response @@ -103806,7 +104211,7 @@ paths: application/json: schema: type: array - items: *243 + items: *242 examples: default: value: @@ -103881,9 +104286,9 @@ paths: application/json: schema: type: array - items: *244 + items: *243 examples: - default: *245 + default: *244 headers: Link: *58 '304': *37 @@ -103905,16 +104310,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *246 + - *245 - *63 responses: '200': description: Response content: application/json: - schema: *244 + schema: *243 examples: - default: *245 + default: *244 headers: Link: *58 '304': *37 @@ -103936,7 +104341,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *246 + - *245 - *63 - *17 - *40 @@ -103948,9 +104353,9 @@ paths: application/json: schema: type: array - items: *247 + items: *246 examples: - default: *248 + default: *247 headers: Link: *58 '304': *37 @@ -103972,7 +104377,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *246 + - *245 - *692 - *63 responses: @@ -103980,9 +104385,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *246 examples: - default: *248 + default: *247 headers: Link: *58 '304': *37 @@ -104005,7 +104410,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *246 + - *245 - *63 - *40 - *41 @@ -104035,9 +104440,9 @@ paths: application/json: schema: type: array - items: *254 + items: *253 examples: - default: *255 + default: *254 headers: Link: *58 '304': *37 @@ -104059,7 +104464,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *63 - - *246 + - *245 requestBody: required: true description: Details of the item to add to the project. @@ -104098,8 +104503,8 @@ paths: application/json: schema: *693 examples: - issue: *253 - pull_request: *253 + issue: *252 + pull_request: *252 '304': *37 '403': *29 '401': *25 @@ -104119,9 +104524,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *246 + - *245 - *63 - - *256 + - *255 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -104138,9 +104543,9 @@ paths: description: Response content: application/json: - schema: *254 + schema: *253 examples: - default: *255 + default: *254 headers: Link: *58 '304': *37 @@ -104161,9 +104566,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *246 + - *245 - *63 - - *256 + - *255 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -104233,13 +104638,13 @@ paths: description: Response content: application/json: - schema: *254 + schema: *253 examples: - text_field: *255 - number_field: *255 - date_field: *255 - single_select_field: *255 - iteration_field: *255 + text_field: *254 + number_field: *254 + date_field: *254 + single_select_field: *254 + iteration_field: *254 '401': *25 '403': *29 '404': *6 @@ -104259,9 +104664,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *246 + - *245 - *63 - - *256 + - *255 responses: '204': description: Response @@ -104509,7 +104914,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 x-github: @@ -104960,7 +105365,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 x-github: @@ -106699,7 +107104,7 @@ x-webhooks: type: string pull_requests: type: array - items: *410 + items: *409 repository: *135 status: example: completed @@ -106787,7 +107192,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *410 + items: *409 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -110517,7 +110922,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *425 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -110840,7 +111245,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *425 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111170,7 +111575,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *426 + dismissed_comment: *425 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -111512,7 +111917,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *425 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111783,7 +112188,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *426 + dismissed_comment: *425 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112057,7 +112462,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *426 + dismissed_comment: *425 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112645,7 +113050,7 @@ x-webhooks: type: string enum: - created - definition: *257 + definition: *256 enterprise: *708 installation: *709 organization: *710 @@ -112812,7 +113217,7 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *257 + definition: *256 enterprise: *708 installation: *709 organization: *710 @@ -112892,7 +113297,7 @@ x-webhooks: type: string enum: - updated - definition: *257 + definition: *256 enterprise: *708 installation: *709 organization: *710 @@ -112980,11 +113385,11 @@ x-webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *261 + items: *260 old_property_values: type: array description: The old custom property values for the repository. - items: *261 + items: *260 required: - action - repository @@ -124460,7 +124865,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -125847,7 +126252,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -127087,7 +127492,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -128697,7 +129102,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -129694,7 +130099,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -130816,7 +131221,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -131824,7 +132229,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -132948,7 +133353,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *208 + type: *207 title: description: Title of the issue type: string @@ -133940,7 +134345,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *208 + type: *207 title: description: Title of the issue type: string @@ -134956,7 +135361,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *208 + type: *207 title: description: Title of the issue type: string @@ -135944,7 +136349,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -136989,7 +137394,7 @@ x-webhooks: required: - login - id - type: *208 + type: *207 required: - id - number @@ -138268,7 +138673,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -139254,7 +139659,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -140343,7 +140748,7 @@ x-webhooks: format: uri user_view_type: type: string - type: *208 + type: *207 organization: *710 repository: *711 sender: *4 @@ -141231,7 +141636,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -141886,7 +142291,7 @@ x-webhooks: enterprise: *708 installation: *709 issue: *735 - type: *208 + type: *207 organization: *710 repository: *711 sender: *4 @@ -143038,7 +143443,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -143283,7 +143688,7 @@ x-webhooks: enterprise: *708 installation: *709 issue: *735 - type: *208 + type: *207 organization: *710 repository: *711 sender: *4 @@ -150986,7 +151391,7 @@ x-webhooks: - closed installation: *709 organization: *710 - projects_v2: *244 + projects_v2: *243 sender: *4 required: - action @@ -151069,7 +151474,7 @@ x-webhooks: - created installation: *709 organization: *710 - projects_v2: *244 + projects_v2: *243 sender: *4 required: - action @@ -151152,7 +151557,7 @@ x-webhooks: - deleted installation: *709 organization: *710 - projects_v2: *244 + projects_v2: *243 sender: *4 required: - action @@ -151271,7 +151676,7 @@ x-webhooks: type: string installation: *709 organization: *710 - projects_v2: *244 + projects_v2: *243 sender: *4 required: - action @@ -151388,7 +151793,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *252 + content_type: *251 creator: *4 created_at: type: string @@ -152122,7 +152527,7 @@ x-webhooks: - reopened installation: *709 organization: *710 - projects_v2: *244 + projects_v2: *243 sender: *4 required: - action @@ -214796,7 +215201,7 @@ x-webhooks: installation: *709 organization: *710 repository: *711 - repository_ruleset: *290 + repository_ruleset: *289 sender: *4 required: - action @@ -214878,7 +215283,7 @@ x-webhooks: installation: *709 organization: *710 repository: *711 - repository_ruleset: *290 + repository_ruleset: *289 sender: *4 required: - action @@ -214960,7 +215365,7 @@ x-webhooks: installation: *709 organization: *710 repository: *711 - repository_ruleset: *290 + repository_ruleset: *289 changes: type: object properties: @@ -214979,16 +215384,16 @@ x-webhooks: properties: added: type: array - items: *265 + items: *264 deleted: type: array - items: *265 + items: *264 updated: type: array items: type: object properties: - condition: *265 + condition: *264 changes: type: object properties: @@ -216232,6 +216637,13 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true + assigned_to: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true enterprise: *708 installation: *709 organization: *710 @@ -217466,11 +217878,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *264 + security_and_analysis: *263 enterprise: *708 installation: *709 organization: *710 - repository: *337 + repository: *336 sender: *4 required: - changes diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index c04e8687c3..87357c5b6d 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -54530,6 +54530,131 @@ "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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } } @@ -54697,7 +54822,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 + } } ] } @@ -128627,7 +128772,7 @@ { "name": "has", "in": "query", - "description": "Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple `has` filters can be passed to filter for alerts that have all of the values. Currently, only `patch` is supported.", + "description": "Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple `has` filters can be passed to filter for alerts that have all of the values.", "schema": { "oneOf": [ { @@ -128638,13 +128783,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", @@ -203765,6 +203919,131 @@ "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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } } @@ -203932,7 +204211,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 + } } ] } @@ -207583,6 +207882,1146 @@ } } }, + "/orgs/{org}/settings/immutable-releases": { + "get": { + "summary": "Get immutable releases settings for an organization", + "description": "Gets the immutable releases policy for repositories in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-immutable-releases-settings", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-immutable-releases-settings-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Immutable releases settings response", + "content": { + "application/json": { + "schema": { + "title": "Check immutable releases organization settings", + "description": "Check immutable releases settings for an organization.", + "type": "object", + "properties": { + "enforced_repositories": { + "type": "string", + "description": "The policy that controls how immutable releases are enforced in the organization.", + "enum": [ + "all", + "none", + "selected" + ], + "example": "all" + }, + "selected_repositories_url": { + "type": "string", + "description": "The API URL to use to get or set the selected repositories for immutable releases enforcement, when `enforced_repositories` is set to `selected`." + } + }, + "required": [ + "enforced_repositories" + ] + }, + "examples": { + "default": { + "value": { + "enforced_repositories": "all" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "put": { + "summary": "Set immutable releases settings for an organization", + "description": "Sets the immutable releases policy for repositories in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/set-immutable-releases-settings", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#set-immutable-releases-settings-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enforced_repositories": { + "type": "string", + "description": "The policy that controls how immutable releases are enforced in the organization.", + "enum": [ + "all", + "none", + "selected" + ], + "example": "all" + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids for which immutable releases enforcement should be applied. You can only provide a list of repository ids when the `enforced_repositories` is set to `selected`. You can add and remove individual repositories using the [Enable a selected repository for immutable releases in an organization](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) and [Disable a selected repository for immutable releases in an organization](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "enforced_repositories" + ] + }, + "examples": { + "default": { + "value": { + "enforced_repositories": "all" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/settings/immutable-releases/repositories": { + "get": { + "summary": "List selected repositories for immutable releases enforcement", + "description": "List all of the repositories that have been selected for immutable releases enforcement in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-immutable-releases-settings-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "repositories" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "title": "Minimal Repository", + "description": "Minimal Repository", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "example": 1296269 + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "type": "string", + "example": "Hello-World" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "has_discussions": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "example": "admin" + }, + "temp_clone_token": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "code_of_conduct": { + "title": "Code Of Conduct", + "description": "Code Of Conduct", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "contributor_covenant" + }, + "name": { + "type": "string", + "example": "Contributor Covenant" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/codes_of_conduct/contributor_covenant" + }, + "body": { + "type": "string", + "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/).\n" + }, + "html_url": { + "type": "string", + "format": "uri", + "nullable": true + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "node_id": { + "type": "string" + } + }, + "nullable": true + }, + "forks": { + "type": "integer", + "example": 0 + }, + "open_issues": { + "type": "integer", + "example": 0 + }, + "watchers": { + "type": "integer", + "example": 0 + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "example": false + }, + "security_and_analysis": { + "nullable": true, + "type": "object", + "properties": { + "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "code_security": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "dependabot_security_updates": { + "description": "Enable or disable Dependabot security updates for the repository.", + "type": "object", + "properties": { + "status": { + "description": "The enablement status of Dependabot security updates for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_push_protection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_non_provider_patterns": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_ai_detection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_validity_checks": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + } + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "repositories": [ + { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "put": { + "summary": "Set selected repositories for immutable releases enforcement", + "description": "Replaces all repositories that have been selected for immutable releases enforcement in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/set-immutable-releases-settings-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids for which immutable releases enforcement should be applied. You can only provide a list of repository ids when the `enforced_repositories` is set to `selected`. You can add and remove individual repositories using the [Enable a selected repository for immutable releases in an organization](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) and [Disable a selected repository for immutable releases in an organization](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 64780797 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/settings/immutable-releases/repositories/{repository_id}": { + "put": { + "summary": "Enable a selected repository for immutable releases in an organization", + "description": "Adds a repository to the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "operationId": "orgs/enable-selected-repository-immutable-releases-organization", + "tags": [ + "orgs" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "description": "The unique identifier of the repository.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "delete": { + "summary": "Disable a selected repository for immutable releases in an organization", + "description": "Removes a repository from the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "operationId": "orgs/disable-selected-repository-immutable-releases-organization", + "tags": [ + "orgs" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "description": "The unique identifier of the repository.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, "/orgs/{org}/settings/network-configurations": { "get": { "summary": "List hosted compute network configurations for an organization", @@ -364019,17 +365458,97 @@ } } }, - "/repos/{owner}/{repo}/hooks/{hook_id}/tests": { - "post": { - "summary": "Test the push repository webhook", - "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n> [!NOTE]\n> Previously `/repos/:owner/:repo/hooks/:hook_id/test`", + "/repos/{owner}/{repo}/hooks/{hook_id}/tests": { + "post": { + "summary": "Test the push repository webhook", + "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n> [!NOTE]\n> Previously `/repos/:owner/:repo/hooks/:hook_id/test`", + "tags": [ + "repos" + ], + "operationId": "repos/test-push-webhook", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook" + }, + "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" + } + }, + { + "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.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "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\nenforced by the repository owner. The authenticated user must have admin read access to the repository.", "tags": [ "repos" ], - "operationId": "repos/test-push-webhook", + "operationId": "repos/check-immutable-releases", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository" }, "parameters": [ { @@ -364049,23 +365568,93 @@ "schema": { "type": "string" } + } + ], + "responses": { + "200": { + "description": "Response if immutable releases are enabled", + "content": { + "application/json": { + "schema": { + "title": "Check immutable releases", + "description": "Check immutable releases", + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "example": true, + "description": "Whether immutable releases are enabled for the repository." + }, + "enforced_by_owner": { + "type": "boolean", + "example": false, + "description": "Whether immutable releases are enforced by the repository owner." + } + }, + "required": [ + "enabled", + "enforced_by_owner" + ] + }, + "examples": { + "default": { + "value": { + "enabled": true, + "enforced_by_owner": false + } + } + } + } + } }, + "404": { + "description": "Not Found if immutable releases are not enabled for the repository" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "repos" + } + }, + "put": { + "summary": "Enable immutable releases", + "description": "Enables immutable releases for a repository. The authenticated user must have admin access to the repository.", + "tags": [ + "repos" + ], + "operationId": "repos/enable-immutable-releases", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases" + }, + "parameters": [ { - "name": "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.", + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", "in": "path", "required": true, "schema": { - "type": "integer" + "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": "Response" + "description": "A header with no content is returned." }, - "404": { - "description": "Resource not found", + "409": { + "description": "Conflict", "content": { "application/json": { "schema": { @@ -364095,7 +365684,76 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "repos", - "subcategory": "webhooks" + "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" } } }, @@ -512154,6 +513812,131 @@ "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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } } @@ -512254,7 +514037,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 + } } ] } @@ -513147,6 +514950,131 @@ "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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } }, @@ -514105,6 +516033,131 @@ "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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } }, @@ -1260934,165 +1262987,316 @@ ], "nullable": true }, - "resolution_comment": { + "resolution_comment": { + "type": "string", + "description": "An optional comment to resolve an alert.", + "nullable": true + }, + "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", + "description": "Whether push protection was bypassed for the detected secret.", + "nullable": true + }, + "push_protection_bypassed_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypassed_at": { + "type": "string", + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "nullable": true + }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_reviewer_comment": { "type": "string", - "description": "An optional comment to resolve an alert.", + "description": "An optional comment when reviewing a push protection bypass.", "nullable": true }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { + "push_protection_bypass_request_comment": { "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).\"" + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true }, - "validity": { + "push_protection_bypass_request_html_url": { "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "push_protection_bypassed": { - "type": "boolean", - "description": "Whether push protection was bypassed for the detected secret.", + "format": "uri", + "description": "The URL to a push protection bypass request.", "nullable": true }, - "push_protection_bypassed_by": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", "nullable": true }, - "push_protection_bypassed_at": { - "type": "string", - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", "nullable": true }, - "push_protection_bypass_request_reviewer": { + "assigned_to": { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -1261216,32 +1263420,6 @@ "url" ], "nullable": true - }, - "push_protection_bypass_request_reviewer_comment": { - "type": "string", - "description": "An optional comment when reviewing a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_comment": { - "type": "string", - "description": "An optional comment when requesting a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_html_url": { - "type": "string", - "format": "uri", - "description": "The URL to a push protection bypass request.", - "nullable": true - }, - "publicly_leaked": { - "type": "boolean", - "description": "Whether the detected secret was publicly leaked.", - "nullable": true - }, - "multi_repo": { - "type": "boolean", - "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", - "nullable": true } } }, @@ -1263345,6 +1265523,131 @@ "type": "boolean", "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", "nullable": true + }, + "assigned_to": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } }, @@ -1265864,6 +1268167,131 @@ "type": "boolean", "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", "nullable": true + }, + "assigned_to": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } }, @@ -1267941,32 +1270369,157 @@ "url" ], "nullable": true - }, - "push_protection_bypass_request_reviewer_comment": { - "type": "string", - "description": "An optional comment when reviewing a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_comment": { - "type": "string", - "description": "An optional comment when requesting a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_html_url": { - "type": "string", - "format": "uri", - "description": "The URL to a push protection bypass request.", - "nullable": true - }, - "publicly_leaked": { - "type": "boolean", - "description": "Whether the detected secret was publicly leaked.", - "nullable": true - }, - "multi_repo": { - "type": "boolean", - "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", - "nullable": true + }, + "push_protection_bypass_request_reviewer_comment": { + "type": "string", + "description": "An optional comment when reviewing a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", + "nullable": true + }, + "assigned_to": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } }, @@ -1270070,6 +1272623,131 @@ "type": "boolean", "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", "nullable": true + }, + "assigned_to": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } }, @@ -1272173,6 +1274851,131 @@ "type": "boolean", "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", "nullable": true + }, + "assigned_to": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } }, diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index f90bd96d41..3e7188e196 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -863,7 +863,7 @@ paths: - subscriptions_url - type - url - type: &411 + type: &410 type: string description: The type of credit the user is receiving. enum: @@ -1585,7 +1585,7 @@ paths: schema: type: integer default: 30 - - &319 + - &318 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1601,7 +1601,7 @@ paths: application/json: schema: type: array - items: &320 + items: &319 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1681,7 +1681,7 @@ paths: - installation_id - repository_id examples: - default: &321 + default: &320 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1809,7 +1809,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &321 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1923,7 +1923,7 @@ paths: - request - response examples: - default: &323 + default: &322 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2872,7 +2872,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &389 + properties: &388 id: description: Unique identifier of the repository example: 42 @@ -3310,7 +3310,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &390 + required: &389 - archive_url - assignees_url - blobs_url @@ -12575,7 +12575,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &526 + instances_url: &525 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -12610,7 +12610,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &527 + dismissed_reason: &526 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -12619,13 +12619,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &528 + dismissed_comment: &527 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &529 + rule: &528 type: object properties: id: @@ -12678,7 +12678,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &530 + tool: &529 type: object properties: name: *102 @@ -12688,15 +12688,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *103 - most_recent_instance: &531 + most_recent_instance: &530 type: object properties: - ref: &524 + ref: &523 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &541 + analysis_key: &540 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -12707,7 +12707,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &542 + category: &541 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -15045,7 +15045,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &354 + properties: &353 id: description: Unique identifier of the team type: integer @@ -15117,7 +15117,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &355 + required: &354 - id - node_id - url @@ -16190,7 +16190,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 - - &306 + - &580 name: has in: query description: |- @@ -16204,7 +16204,7 @@ paths: type: string enum: - patch - - &307 + - &306 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -16214,7 +16214,7 @@ paths: enum: - development - runtime - - &308 + - &307 name: sort in: query description: |- @@ -16232,7 +16232,7 @@ paths: - *101 - *99 - *100 - - &309 + - &308 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -16245,7 +16245,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &310 + - &309 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -16265,7 +16265,7 @@ paths: application/json: schema: type: array - items: &311 + items: &310 type: object description: A Dependabot alert. properties: @@ -16586,7 +16586,7 @@ paths: - repository additionalProperties: false examples: - default: &312 + default: &311 value: - number: 2 state: dismissed @@ -17110,7 +17110,7 @@ paths: - name - created_on examples: - default: &422 + default: &421 value: total_count: 2 network_configurations: @@ -17333,7 +17333,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *41 - - &423 + - &422 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -17345,7 +17345,7 @@ paths: description: Response content: application/json: - schema: &424 + schema: &423 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -17379,7 +17379,7 @@ paths: - subnet_id - region examples: - default: &425 + default: &424 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -17675,7 +17675,7 @@ paths: required: true content: application/json: - schema: &387 + schema: &386 title: Custom Property Set Payload description: Custom property set payload type: object @@ -18739,7 +18739,7 @@ paths: nullable: true anyOf: - *136 - - &394 + - &393 title: Organization ruleset conditions type: object description: |- @@ -19145,7 +19145,7 @@ paths: type: string format: date-time examples: - default: &397 + default: &396 value: - version_id: 3 actor: @@ -19198,7 +19198,7 @@ paths: description: Response content: application/json: - schema: &398 + schema: &397 allOf: - *166 - type: object @@ -19253,7 +19253,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &399 + - &398 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -19264,7 +19264,7 @@ paths: enum: - open - resolved - - &400 + - &399 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -19274,7 +19274,7 @@ paths: required: false schema: type: string - - &401 + - &400 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -19283,7 +19283,7 @@ paths: required: false schema: type: string - - &402 + - &401 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. @@ -19299,7 +19299,7 @@ paths: - *17 - *99 - *100 - - &403 + - &402 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -19308,7 +19308,7 @@ paths: required: false schema: type: string - - &404 + - &403 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -19317,7 +19317,7 @@ paths: schema: type: boolean default: false - - &405 + - &404 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -19326,7 +19326,7 @@ paths: schema: type: boolean default: false - - &406 + - &405 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -19342,7 +19342,7 @@ paths: application/json: schema: type: array - items: &407 + items: &406 type: object properties: number: *113 @@ -19742,8 +19742,15 @@ 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: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true examples: - default: &408 + default: &407 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -19899,6 +19906,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: *43 '404': *6 @@ -19933,7 +19959,7 @@ paths: description: Response content: application/json: - schema: &409 + schema: &408 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -20016,7 +20042,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *168 examples: - default: &410 + default: &409 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -20160,7 +20186,7 @@ paths: description: Response content: application/json: - schema: &413 + schema: &412 type: object properties: total_minutes_used: @@ -20230,7 +20256,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &414 + default: &413 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -20261,7 +20287,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &415 + - &414 name: advanced_security_product in: query description: | @@ -20281,7 +20307,7 @@ paths: description: Success content: application/json: - schema: &416 + schema: &415 type: object properties: total_advanced_security_committers: @@ -20336,7 +20362,7 @@ paths: required: - repositories examples: - default: &417 + default: &416 value: total_advanced_security_committers: 2 total_count: 2 @@ -20946,7 +20972,7 @@ paths: description: Response content: application/json: - schema: &418 + schema: &417 type: object properties: total_gigabytes_bandwidth_used: @@ -20964,7 +20990,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &419 + default: &418 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -21205,7 +21231,7 @@ paths: description: Response content: application/json: - schema: &420 + schema: &419 type: object properties: days_left_in_billing_cycle: @@ -21223,7 +21249,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &421 + default: &420 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -22172,7 +22198,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &379 + properties: &378 url: type: string format: uri @@ -22242,7 +22268,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &380 + required: &379 - closed_issues - creator - description @@ -22321,7 +22347,7 @@ paths: timeline_url: type: string format: uri - type: &341 + type: &340 title: Issue Type description: The type of issue. type: object @@ -24989,7 +25015,7 @@ paths: - closed - all default: open - - &344 + - &343 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -25040,7 +25066,7 @@ paths: type: array items: *201 examples: - default: &345 + default: &344 value: - id: 1 node_id: MDU6SXNzdWUx @@ -26425,14 +26451,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: - - &445 + - &444 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &446 + - &445 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -26503,7 +26529,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &459 + '301': &458 description: Moved permanently content: application/json: @@ -26579,7 +26605,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &314 + properties: &313 id: type: integer format: int64 @@ -26855,7 +26881,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &391 + security_and_analysis: &390 nullable: true type: object properties: @@ -26937,7 +26963,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &315 + required: &314 - archive_url - assignees_url - blobs_url @@ -28944,7 +28970,7 @@ paths: type: integer repository_cache_usages: type: array - items: &464 + items: &463 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -31902,7 +31928,7 @@ paths: description: Response content: application/json: - schema: &484 + schema: &483 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -31931,7 +31957,7 @@ paths: - key_id - key examples: - default: &485 + default: &484 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32344,7 +32370,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *78 - - &469 + - &468 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)." @@ -33500,7 +33526,7 @@ paths: initiator: type: string examples: - default: &498 + default: &497 value: attestations: - bundle: @@ -34412,7 +34438,7 @@ paths: be returned. in: query required: false - schema: &525 + schema: &524 type: string description: Severity of a code scanning alert. enum: @@ -35428,7 +35454,7 @@ paths: type: integer codespaces: type: array - items: &346 + items: &345 type: object title: Codespace description: A codespace. @@ -35458,7 +35484,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &554 + properties: &553 name: type: string description: The name of the machine. @@ -35500,7 +35526,7 @@ paths: - ready - in_progress nullable: true - required: &555 + required: &554 - name - display_name - operating_system @@ -35705,7 +35731,7 @@ paths: - pulls_url - recent_folders examples: - default: &347 + default: &346 value: total_count: 3 codespaces: @@ -36368,7 +36394,7 @@ paths: - updated_at - visibility examples: - default: &556 + default: &555 value: total_count: 2 secrets: @@ -36406,7 +36432,7 @@ paths: description: Response content: application/json: - schema: &557 + schema: &556 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -36435,7 +36461,7 @@ paths: - key_id - key examples: - default: &558 + default: &557 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -36467,7 +36493,7 @@ paths: application/json: schema: *295 examples: - default: &560 + default: &559 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -38024,14 +38050,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 - *306 - *307 - - *308 - *101 - *99 - *100 + - *308 - *309 - - *310 - *17 responses: '200': @@ -38040,9 +38087,9 @@ paths: application/json: schema: type: array - items: *311 + items: *310 examples: - default: *312 + default: *311 '304': *37 '400': *14 '403': *29 @@ -38086,7 +38133,7 @@ paths: type: integer secrets: type: array - items: &313 + items: &312 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -38210,7 +38257,7 @@ paths: description: Response content: application/json: - schema: *313 + schema: *312 examples: default: value: @@ -39045,7 +39092,7 @@ paths: application/json: schema: type: array - items: &357 + items: &356 title: Package description: A software package type: object @@ -39095,8 +39142,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *314 - required: *315 + properties: *313 + required: *314 nullable: true created_at: type: string @@ -39115,7 +39162,7 @@ paths: - created_at - updated_at examples: - default: &358 + default: &357 value: - id: 197 name: hello_docker @@ -39299,7 +39346,7 @@ paths: description: Response content: application/json: - schema: &440 + schema: &439 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -39380,7 +39427,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &441 + default: &440 value: group_id: '123' group_name: Octocat admins @@ -39435,7 +39482,7 @@ paths: description: Response content: application/json: - schema: &438 + schema: &437 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -39472,7 +39519,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &439 + default: &438 value: groups: - group_id: '123' @@ -39516,7 +39563,7 @@ paths: application/json: schema: type: array - items: &338 + items: &337 title: Organization Invitation description: Organization Invitation type: object @@ -39563,7 +39610,7 @@ paths: - invitation_teams_url - node_id examples: - default: &339 + default: &338 value: - id: 1 login: monalisa @@ -39630,7 +39677,7 @@ paths: application/json: schema: type: array - items: &392 + items: &391 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -39644,7 +39691,7 @@ paths: - name - description examples: - default: &393 + default: &392 value: - name: add_assignee description: Assign or remove a user @@ -39685,7 +39732,7 @@ paths: application/json: schema: type: array - items: &316 + items: &315 title: Org Hook description: Org Hook type: object @@ -39854,9 +39901,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *315 examples: - default: &317 + default: &316 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -39901,7 +39948,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *78 - - &318 + - &317 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. @@ -39914,9 +39961,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *315 examples: - default: *317 + default: *316 '404': *6 x-github: githubCloudOnly: false @@ -39938,7 +39985,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *78 - - *318 + - *317 requestBody: required: false content: @@ -39983,7 +40030,7 @@ paths: description: Response content: application/json: - schema: *316 + schema: *315 examples: default: value: @@ -40023,7 +40070,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *78 - - *318 + - *317 responses: '204': description: Response @@ -40049,7 +40096,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *78 - - *318 + - *317 responses: '200': description: Response @@ -40078,7 +40125,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *78 - - *318 + - *317 requestBody: required: false content: @@ -40127,9 +40174,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *78 - - *318 + - *317 - *17 - - *319 + - *318 responses: '200': description: Response @@ -40137,9 +40184,9 @@ paths: application/json: schema: type: array - items: *320 + items: *319 examples: - default: *321 + default: *320 '400': *14 '422': *15 x-github: @@ -40163,16 +40210,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *78 - - *318 + - *317 - *16 responses: '200': description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '400': *14 '422': *15 x-github: @@ -40196,7 +40243,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *78 - - *318 + - *317 - *16 responses: '202': *39 @@ -40223,7 +40270,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *78 - - *318 + - *317 responses: '204': description: Response @@ -40246,7 +40293,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *78 - - &328 + - &327 name: actor_type in: path description: The type of the actor @@ -40259,14 +40306,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &329 + - &328 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &324 + - &323 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`.' @@ -40274,7 +40321,7 @@ paths: required: true schema: type: string - - &325 + - &324 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) @@ -40368,12 +40415,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *78 + - *323 - *324 - - *325 - *19 - *17 - *101 - - &334 + - &333 name: sort description: The property to sort the results by. in: query @@ -40452,14 +40499,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *78 + - *323 - *324 - - *325 responses: '200': description: Response content: application/json: - schema: &326 + schema: &325 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -40475,7 +40522,7 @@ paths: type: integer format: int64 examples: - default: &327 + default: &326 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -40496,23 +40543,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *78 - - &330 + - &329 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string + - *323 - *324 - - *325 responses: '200': description: Response content: application/json: - schema: *326 + schema: *325 examples: - default: *327 + default: *326 x-github: enabledForGitHubApps: true category: orgs @@ -40531,18 +40578,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *78 + - *323 - *324 - - *325 + - *327 - *328 - - *329 responses: '200': description: Response content: application/json: - schema: *326 + schema: *325 examples: - default: *327 + default: *326 x-github: enabledForGitHubApps: true category: orgs @@ -40560,9 +40607,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *78 + - *323 - *324 - - *325 - - &331 + - &330 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -40575,7 +40622,7 @@ paths: description: Response content: application/json: - schema: &332 + schema: &331 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -40591,7 +40638,7 @@ paths: type: integer format: int64 examples: - default: &333 + default: &332 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -40628,18 +40675,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *78 - - *330 + - *329 + - *323 - *324 - - *325 - - *331 + - *330 responses: '200': description: Response content: application/json: - schema: *332 + schema: *331 examples: - default: *333 + default: *332 x-github: enabledForGitHubApps: true category: orgs @@ -40657,19 +40704,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *78 + - *327 - *328 - - *329 + - *323 - *324 - - *325 - - *331 + - *330 responses: '200': description: Response content: application/json: - schema: *332 + schema: *331 examples: - default: *333 + default: *332 x-github: enabledForGitHubApps: true category: orgs @@ -40687,13 +40734,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *78 - - *330 + - *329 + - *323 - *324 - - *325 - *19 - *17 - *101 - - *334 + - *333 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -40940,12 +40987,12 @@ paths: application/json: schema: anyOf: - - &336 + - &335 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &335 + limit: &334 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -40970,7 +41017,7 @@ paths: properties: {} additionalProperties: false examples: - default: &337 + default: &336 value: limit: collaborators_only origin: organization @@ -41005,7 +41052,7 @@ paths: duration type: object properties: - limit: *335 + limit: *334 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -41029,9 +41076,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *335 examples: - default: *337 + default: *336 '422': *15 x-github: githubCloudOnly: false @@ -41109,9 +41156,9 @@ paths: application/json: schema: type: array - items: *338 + items: *337 examples: - default: *339 + default: *338 headers: Link: *43 '404': *6 @@ -41189,7 +41236,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *337 examples: default: value: @@ -41246,7 +41293,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *78 - - &340 + - &339 name: invitation_id description: The unique identifier of the invitation. in: path @@ -41280,7 +41327,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *78 - - *340 + - *339 - *17 - *19 responses: @@ -41292,7 +41339,7 @@ paths: type: array items: *280 examples: - default: &356 + default: &355 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -41335,7 +41382,7 @@ paths: application/json: schema: type: array - items: *341 + items: *340 examples: default: value: @@ -41420,9 +41467,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *340 examples: - default: &342 + default: &341 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -41455,7 +41502,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *78 - - &343 + - &342 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -41508,9 +41555,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *340 examples: - default: *342 + default: *341 '404': *6 '422': *7 x-github: @@ -41535,7 +41582,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *78 - - *343 + - *342 responses: '204': description: Response @@ -41598,7 +41645,7 @@ paths: - closed - all default: open - - *344 + - *343 - name: type description: Can be the name of an issue type. in: query @@ -41629,7 +41676,7 @@ paths: type: array items: *201 examples: - default: *345 + default: *344 headers: Link: *43 '404': *6 @@ -41788,9 +41835,9 @@ paths: type: integer codespaces: type: array - items: *346 + items: *345 examples: - default: *347 + default: *346 '304': *37 '500': *40 '401': *25 @@ -41817,7 +41864,7 @@ paths: parameters: - *78 - *182 - - &348 + - &347 name: codespace_name in: path required: true @@ -41852,15 +41899,15 @@ paths: parameters: - *78 - *182 - - *348 + - *347 responses: '200': description: Response content: application/json: - schema: *346 + schema: *345 examples: - default: &553 + default: &552 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -42116,7 +42163,7 @@ paths: description: Response content: application/json: - schema: &349 + schema: &348 title: Org Membership description: Org Membership type: object @@ -42183,7 +42230,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &350 + response-if-user-has-an-active-admin-membership-with-organization: &349 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -42280,9 +42327,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *348 examples: - response-if-user-already-had-membership-with-organization: *350 + response-if-user-already-had-membership-with-organization: *349 '422': *15 '403': *29 x-github: @@ -42353,7 +42400,7 @@ paths: application/json: schema: type: array - items: &351 + items: &350 title: Migration description: A migration. type: object @@ -42682,7 +42729,7 @@ paths: description: Response content: application/json: - schema: *351 + schema: *350 examples: default: value: @@ -42861,7 +42908,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *78 - - &352 + - &351 name: migration_id description: The unique identifier of the migration. in: path @@ -42888,7 +42935,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *351 + schema: *350 examples: default: value: @@ -43058,7 +43105,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *78 - - *352 + - *351 responses: '302': description: Response @@ -43080,7 +43127,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *78 - - *352 + - *351 responses: '204': description: Response @@ -43104,7 +43151,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *78 - - *352 + - *351 - &805 name: repo_name description: repo_name parameter @@ -43133,7 +43180,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *78 - - *352 + - *351 - *17 - *19 responses: @@ -43145,7 +43192,7 @@ paths: type: array items: *253 examples: - default: &363 + default: &362 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -43354,7 +43401,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &353 + items: &352 title: Organization Role description: Organization roles type: object @@ -43561,7 +43608,7 @@ paths: description: Response content: application/json: - schema: *353 + schema: *352 examples: default: value: @@ -43791,7 +43838,7 @@ paths: description: Response content: application/json: - schema: *353 + schema: *352 examples: default: value: @@ -43888,7 +43935,7 @@ paths: description: Response content: application/json: - schema: *353 + schema: *352 examples: default: value: @@ -44046,8 +44093,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *354 - required: *355 + properties: *353 + required: *354 nullable: true type: description: The ownership type of the team @@ -44079,7 +44126,7 @@ paths: - type - parent examples: - default: *356 + default: *355 headers: Link: *43 '404': @@ -44137,13 +44184,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &412 + items: &411 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *354 - required: *355 + properties: *353 + required: *354 name: nullable: true type: string @@ -44467,9 +44514,9 @@ paths: application/json: schema: type: array - items: *357 + items: *356 examples: - default: *358 + default: *357 '403': *29 '401': *25 '400': &809 @@ -44494,7 +44541,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &359 + - &358 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 @@ -44512,7 +44559,7 @@ paths: - docker - nuget - container - - &360 + - &359 name: package_name description: The name of the package. in: path @@ -44525,7 +44572,7 @@ paths: description: Response content: application/json: - schema: *357 + schema: *356 examples: default: value: @@ -44577,8 +44624,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: + - *358 - *359 - - *360 - *78 responses: '204': @@ -44611,8 +44658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: + - *358 - *359 - - *360 - *78 - name: token description: package token @@ -44645,8 +44692,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: + - *358 - *359 - - *360 - *78 - *19 - *17 @@ -44667,7 +44714,7 @@ paths: application/json: schema: type: array - items: &361 + items: &360 title: Package Version description: A version of a software package type: object @@ -44792,10 +44839,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: + - *358 - *359 - - *360 - *78 - - &362 + - &361 name: package_version_id description: Unique identifier of the package version. in: path @@ -44807,7 +44854,7 @@ paths: description: Response content: application/json: - schema: *361 + schema: *360 examples: default: value: @@ -44843,10 +44890,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: + - *358 - *359 - - *360 - *78 - - *362 + - *361 responses: '204': description: Response @@ -44878,10 +44925,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: + - *358 - *359 - - *360 - *78 - - *362 + - *361 responses: '204': description: Response @@ -44911,7 +44958,7 @@ paths: - *78 - *17 - *19 - - &364 + - &363 name: sort description: The property by which to sort the results. in: query @@ -44922,7 +44969,7 @@ paths: - created_at default: created_at - *101 - - &365 + - &364 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -44933,7 +44980,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &366 + - &365 name: repository description: The name of the repository to use to filter the results. in: query @@ -44941,7 +44988,7 @@ paths: schema: type: string example: Hello-World - - &367 + - &366 name: permission description: The permission to use to filter the results. in: query @@ -44949,7 +44996,7 @@ paths: schema: type: string example: issues_read - - &368 + - &367 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) @@ -44959,7 +45006,7 @@ paths: schema: type: string format: date-time - - &369 + - &368 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) @@ -44969,7 +45016,7 @@ paths: schema: type: string format: date-time - - &370 + - &369 name: token_id description: The ID of the token in: query @@ -45282,7 +45329,7 @@ paths: type: array items: *253 examples: - default: *363 + default: *362 headers: Link: *43 x-github: @@ -45308,14 +45355,14 @@ paths: - *78 - *17 - *19 - - *364 + - *363 - *101 + - *364 - *365 - *366 - *367 - *368 - *369 - - *370 responses: '500': *40 '422': *15 @@ -45597,7 +45644,7 @@ paths: type: array items: *253 examples: - default: *363 + default: *362 headers: Link: *43 x-github: @@ -45639,7 +45686,7 @@ paths: type: integer configurations: type: array - items: &371 + items: &370 title: Organization private registry description: Private registry configuration for an organization type: object @@ -45892,7 +45939,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &372 + org-private-registry-with-selected-visibility: &371 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -45988,9 +46035,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *371 + schema: *370 examples: - default: *372 + default: *371 '404': *6 x-github: githubCloudOnly: false @@ -46154,7 +46201,7 @@ paths: application/json: schema: type: array - items: &373 + items: &372 title: Project description: Projects are a way to organize columns and cards of work. @@ -46327,7 +46374,7 @@ paths: description: Response content: application/json: - schema: *373 + schema: *372 examples: default: value: @@ -46365,7 +46412,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &456 + '410': &455 description: Gone content: application/json: @@ -46408,7 +46455,7 @@ paths: application/json: schema: type: array - items: &374 + items: &373 title: Projects v2 Project description: A projects v2 project type: object @@ -46551,7 +46598,7 @@ paths: - deleted_at - deleted_by examples: - default: &375 + default: &374 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -46654,7 +46701,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &376 + - &375 name: project_number description: The project's number. in: path @@ -46667,9 +46714,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *373 examples: - default: *375 + default: *374 headers: Link: *43 '304': *37 @@ -46691,7 +46738,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *376 + - *375 - *78 - *17 - *99 @@ -46703,7 +46750,7 @@ paths: application/json: schema: type: array - items: &377 + items: &376 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -46850,7 +46897,7 @@ paths: - updated_at - project_url examples: - default: &378 + default: &377 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -46893,7 +46940,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *376 + - *375 - &826 name: field_id description: The unique identifier of the field. @@ -46907,9 +46954,9 @@ paths: description: Response content: application/json: - schema: *377 + schema: *376 examples: - default: *378 + default: *377 headers: Link: *43 '304': *37 @@ -46932,7 +46979,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: - - *376 + - *375 - *78 - 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) @@ -46962,7 +47009,7 @@ paths: application/json: schema: type: array - items: &384 + items: &383 title: Projects v2 Item description: An item belonging to a project type: object @@ -46978,7 +47025,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: &382 + content_type: &381 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -47028,7 +47075,7 @@ paths: - updated_at - archived_at examples: - default: &385 + default: &384 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -47723,7 +47770,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *78 - - *376 + - *375 requestBody: required: true description: Details of the item to add to the project. @@ -47774,7 +47821,7 @@ paths: content: oneOf: - *201 - - &568 + - &567 title: Pull Request Simple description: Pull Request Simple type: object @@ -47880,8 +47927,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *379 - required: *380 + properties: *378 + required: *379 nullable: true active_lock_reason: type: string @@ -47977,7 +48024,7 @@ paths: _links: type: object properties: - comments: &381 + comments: &380 title: Link description: Hypermedia Link type: object @@ -47986,13 +48033,13 @@ paths: type: string required: - href - commits: *381 - statuses: *381 - html: *381 - issue: *381 - review_comments: *381 - review_comment: *381 - self: *381 + commits: *380 + statuses: *380 + html: *380 + issue: *380 + review_comments: *380 + review_comment: *380 + self: *380 required: - comments - commits @@ -48105,7 +48152,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *382 + content_type: *381 creator: *4 created_at: type: string @@ -48138,7 +48185,7 @@ paths: - updated_at - archived_at examples: - issue: &383 + issue: &382 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -48193,7 +48240,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: *383 + pull_request: *382 '304': *37 '403': *29 '401': *25 @@ -48213,9 +48260,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: - - *376 + - *375 - *78 - - &386 + - &385 name: item_id description: The unique identifier of the project item. in: path @@ -48238,9 +48285,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *383 examples: - default: *385 + default: *384 headers: Link: *43 '304': *37 @@ -48261,9 +48308,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *376 + - *375 - *78 - - *386 + - *385 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -48333,13 +48380,13 @@ paths: description: Response content: application/json: - schema: *384 + schema: *383 examples: - text_field: *385 - number_field: *385 - date_field: *385 - single_select_field: *385 - iteration_field: *385 + text_field: *384 + number_field: *384 + date_field: *384 + single_select_field: *384 + iteration_field: *384 '401': *25 '403': *29 '404': *6 @@ -48359,9 +48406,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *376 + - *375 - *78 - - *386 + - *385 responses: '204': description: Response @@ -48524,7 +48571,7 @@ paths: required: true content: application/json: - schema: *387 + schema: *386 examples: default: value: @@ -48627,7 +48674,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &388 + items: &387 title: Custom Property Value description: Custom property name and associated value type: object @@ -48714,7 +48761,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *388 + items: *387 required: - repository_names - properties @@ -48907,7 +48954,7 @@ paths: type: array items: *253 examples: - default: *363 + default: *362 headers: Link: *43 x-github: @@ -49110,7 +49157,7 @@ paths: description: Response content: application/json: - schema: &458 + schema: &457 title: Full Repository description: Full Repository type: object @@ -49387,8 +49434,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *389 - required: *390 + properties: *388 + required: *389 nullable: true temp_clone_token: type: string @@ -49503,7 +49550,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &573 + properties: &572 url: type: string format: uri @@ -49519,12 +49566,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &574 + required: &573 - url - key - name - html_url - security_and_analysis: *391 + security_and_analysis: *390 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -49608,7 +49655,7 @@ paths: - network_count - subscribers_count examples: - default: &460 + default: &459 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -50134,9 +50181,9 @@ paths: application/json: schema: type: array - items: *392 + items: *391 examples: - default: *393 + default: *392 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -50252,11 +50299,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *141 - conditions: *394 + conditions: *393 rules: type: array description: An array of rules within the ruleset. - items: &396 + items: &395 title: Repository Rule type: object description: A repository rule. @@ -50320,7 +50367,7 @@ paths: application/json: schema: *162 examples: - default: &395 + default: &394 value: id: 21 name: super cool ruleset @@ -50703,7 +50750,7 @@ paths: application/json: schema: *162 examples: - default: *395 + default: *394 '404': *6 '500': *40 put: @@ -50752,11 +50799,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *141 - conditions: *394 + conditions: *393 rules: description: An array of rules within the ruleset. type: array - items: *396 + items: *395 examples: default: value: @@ -50793,7 +50840,7 @@ paths: application/json: schema: *162 examples: - default: *395 + default: *394 '404': *6 '500': *40 delete: @@ -50852,7 +50899,7 @@ paths: type: array items: *166 examples: - default: *397 + default: *396 '404': *6 '500': *40 x-github: @@ -50889,7 +50936,7 @@ paths: description: Response content: application/json: - schema: *398 + schema: *397 examples: default: value: @@ -50952,10 +50999,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *78 + - *398 - *399 - *400 - *401 - - *402 - *101 - *19 - *17 @@ -50979,10 +51026,10 @@ paths: required: false schema: type: string + - *402 - *403 - *404 - *405 - - *406 responses: '200': description: Response @@ -50990,9 +51037,9 @@ paths: application/json: schema: type: array - items: *407 + items: *406 examples: - default: *408 + default: *407 headers: Link: *43 '404': *6 @@ -51027,9 +51074,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *408 examples: - default: *410 + default: *409 '403': *29 '404': *6 patch: @@ -51402,7 +51449,7 @@ paths: login: type: string description: The username of the user credited. - type: *411 + type: *410 credits_detailed: type: array nullable: true @@ -51412,7 +51459,7 @@ paths: type: object properties: user: *4 - type: *411 + type: *410 state: type: string description: The state of the user's acceptance of the @@ -51860,9 +51907,9 @@ paths: application/json: schema: type: array - items: *412 + items: *411 examples: - default: *356 + default: *355 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51947,9 +51994,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *412 examples: - default: *414 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -51974,7 +52021,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *78 - - *415 + - *414 - *17 - *19 responses: @@ -51982,9 +52029,9 @@ paths: description: Success content: application/json: - schema: *416 + schema: *415 examples: - default: *417 + default: *416 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -52012,9 +52059,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -52042,14 +52089,255 @@ paths: description: Response content: application/json: - schema: *420 + schema: *419 examples: - default: *421 + default: *420 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: + - *78 + responses: + '200': + description: Immutable releases settings response + content: + application/json: + schema: + title: Check immutable releases organization settings + description: Check immutable releases settings for an organization. + type: object + properties: + enforced_repositories: + type: string + description: The policy that controls how immutable releases are + enforced in the organization. + enum: + - all + - none + - selected + example: all + selected_repositories_url: + type: string + description: The API URL to use to get or set the selected repositories + for immutable releases enforcement, when `enforced_repositories` + is set to `selected`. + required: + - enforced_repositories + examples: + default: + value: + enforced_repositories: all + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + put: + summary: Set immutable releases settings for an organization + description: |- + Sets the immutable releases policy for repositories in an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/set-immutable-releases-settings + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#set-immutable-releases-settings-for-an-organization + parameters: + - *78 + responses: + '204': + description: Response + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enforced_repositories: + type: string + description: The policy that controls how immutable releases are + enforced in the organization. + enum: + - all + - none + - selected + example: all + selected_repository_ids: + type: array + description: An array of repository ids for which immutable releases + enforcement should be applied. You can only provide a list of + repository ids when the `enforced_repositories` is set to `selected`. + You can add and remove individual repositories using the [Enable + a selected repository for immutable releases in an organization](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) + and [Disable a selected repository for immutable releases in an + organization](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) + endpoints. + items: + type: integer + required: + - enforced_repositories + examples: + default: + value: + enforced_repositories: all + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + "/orgs/{org}/settings/immutable-releases/repositories": + get: + summary: List selected repositories for immutable releases enforcement + description: |- + List all of the repositories that have been selected for immutable releases enforcement in an organization. + + 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: + - *78 + - *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: *253 + examples: + default: *267 + 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: + - *78 + 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: + - *78 + - *247 + 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: + - *78 + - *247 + 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 @@ -52084,7 +52372,7 @@ paths: type: array items: *126 examples: - default: *422 + default: *421 headers: Link: *43 x-github: @@ -52285,15 +52573,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: - *78 - - *423 + - *422 responses: '200': description: Response content: application/json: - schema: *424 + schema: *423 examples: - default: *425 + default: *424 headers: Link: *43 x-github: @@ -52331,7 +52619,7 @@ paths: description: Response content: application/json: - schema: &447 + schema: &446 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -52377,7 +52665,7 @@ paths: type: string nullable: true examples: - default: &448 + default: &447 value: groups: - group_id: '123' @@ -52491,7 +52779,7 @@ paths: type: array items: *280 examples: - default: *356 + default: *355 headers: Link: *43 '403': *29 @@ -52585,7 +52873,7 @@ paths: description: Response content: application/json: - schema: &426 + schema: &425 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -52648,8 +52936,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *354 - required: *355 + properties: *353 + required: *354 nullable: true members_count: type: integer @@ -52912,7 +53200,7 @@ paths: - repos_count - organization examples: - default: &427 + default: &426 value: id: 1 node_id: MDQ6VGVhbTE= @@ -52989,9 +53277,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *425 examples: - default: *427 + default: *426 '404': *6 x-github: githubCloudOnly: false @@ -53075,16 +53363,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *426 + schema: *425 examples: - default: *427 + default: *426 '201': description: Response content: application/json: - schema: *426 + schema: *425 examples: - default: *427 + default: *426 '404': *6 '422': *15 '403': *29 @@ -53154,7 +53442,7 @@ paths: application/json: schema: type: array - items: &428 + items: &427 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -53362,9 +53650,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *427 examples: - default: &429 + default: &428 value: author: login: octocat @@ -53438,7 +53726,7 @@ paths: parameters: - *78 - *184 - - &430 + - &429 name: discussion_number description: The number that identifies the discussion. in: path @@ -53450,9 +53738,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *427 examples: - default: *429 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53476,7 +53764,7 @@ paths: parameters: - *78 - *184 - - *430 + - *429 requestBody: required: false content: @@ -53499,7 +53787,7 @@ paths: description: Response content: application/json: - schema: *428 + schema: *427 examples: default: &780 value: @@ -53573,7 +53861,7 @@ paths: parameters: - *78 - *184 - - *430 + - *429 responses: '204': description: Response @@ -53601,7 +53889,7 @@ paths: parameters: - *78 - *184 - - *430 + - *429 - *101 - *17 - *19 @@ -53612,7 +53900,7 @@ paths: application/json: schema: type: array - items: &431 + items: &430 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -53754,7 +54042,7 @@ paths: parameters: - *78 - *184 - - *430 + - *429 requestBody: required: true content: @@ -53776,9 +54064,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *430 examples: - default: &432 + default: &431 value: author: login: octocat @@ -53846,8 +54134,8 @@ paths: parameters: - *78 - *184 - - *430 - - &433 + - *429 + - &432 name: comment_number description: The number that identifies the comment. in: path @@ -53859,9 +54147,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *430 examples: - default: *432 + default: *431 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53885,8 +54173,8 @@ paths: parameters: - *78 - *184 - - *430 - - *433 + - *429 + - *432 requestBody: required: true content: @@ -53908,7 +54196,7 @@ paths: description: Response content: application/json: - schema: *431 + schema: *430 examples: default: &782 value: @@ -53976,8 +54264,8 @@ paths: parameters: - *78 - *184 - - *430 - - *433 + - *429 + - *432 responses: '204': description: Response @@ -54005,8 +54293,8 @@ paths: parameters: - *78 - *184 - - *430 - - *433 + - *429 + - *432 - 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. @@ -54032,7 +54320,7 @@ paths: application/json: schema: type: array - items: &434 + items: &433 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -54075,7 +54363,7 @@ paths: - content - created_at examples: - default: &436 + default: &435 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -54127,8 +54415,8 @@ paths: parameters: - *78 - *184 - - *430 - - *433 + - *429 + - *432 requestBody: required: true content: @@ -54161,9 +54449,9 @@ paths: team discussion comment content: application/json: - schema: *434 + schema: *433 examples: - default: &435 + default: &434 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -54192,9 +54480,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54219,9 +54507,9 @@ paths: parameters: - *78 - *184 - - *430 - - *433 - - &437 + - *429 + - *432 + - &436 name: reaction_id description: The unique identifier of the reaction. in: path @@ -54255,7 +54543,7 @@ paths: parameters: - *78 - *184 - - *430 + - *429 - 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. @@ -54281,9 +54569,9 @@ paths: application/json: schema: type: array - items: *434 + items: *433 examples: - default: *436 + default: *435 headers: Link: *43 x-github: @@ -54311,7 +54599,7 @@ paths: parameters: - *78 - *184 - - *430 + - *429 requestBody: required: true content: @@ -54343,16 +54631,16 @@ paths: description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 '201': description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54377,8 +54665,8 @@ paths: parameters: - *78 - *184 - - *430 - - *437 + - *429 + - *436 responses: '204': description: Response @@ -54408,9 +54696,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *437 examples: - default: *439 + default: *438 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -54453,9 +54741,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *439 examples: - default: *441 + default: *440 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -54510,9 +54798,9 @@ paths: application/json: schema: type: array - items: *338 + items: *337 examples: - default: *339 + default: *338 headers: Link: *43 x-github: @@ -54596,7 +54884,7 @@ paths: description: Response content: application/json: - schema: &442 + schema: &441 title: Team Membership description: Team Membership type: object @@ -54686,7 +54974,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *441 examples: response-if-users-membership-with-team-is-now-pending: &784 summary: Response if user's membership with team is now pending @@ -54761,7 +55049,7 @@ paths: application/json: schema: type: array - items: &443 + items: &442 title: Team Project description: A team's access to a project. type: object @@ -54894,7 +55182,7 @@ paths: parameters: - *78 - *184 - - &444 + - &443 name: project_id description: The unique identifier of the project. in: path @@ -54906,7 +55194,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *442 examples: default: &786 value: @@ -54972,7 +55260,7 @@ paths: parameters: - *78 - *184 - - *444 + - *443 requestBody: required: false content: @@ -55040,7 +55328,7 @@ paths: parameters: - *78 - *184 - - *444 + - *443 responses: '204': description: Response @@ -55080,7 +55368,7 @@ paths: type: array items: *253 examples: - default: *363 + default: *362 headers: Link: *43 x-github: @@ -55111,8 +55399,8 @@ paths: parameters: - *78 - *184 + - *444 - *445 - - *446 responses: '200': description: Alternative response with repository permissions @@ -55689,8 +55977,8 @@ paths: parameters: - *78 - *184 + - *444 - *445 - - *446 requestBody: required: false content: @@ -55737,8 +56025,8 @@ paths: parameters: - *78 - *184 + - *444 - *445 - - *446 responses: '204': description: Response @@ -55771,9 +56059,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *446 examples: - default: *448 + default: *447 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -55839,7 +56127,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *446 examples: default: value: @@ -56011,7 +56299,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &449 + - &448 name: card_id description: The unique identifier of the card. in: path @@ -56023,7 +56311,7 @@ paths: description: Response content: application/json: - schema: &450 + schema: &449 title: Project Card description: Project cards represent a scope of work. type: object @@ -56090,7 +56378,7 @@ paths: - created_at - updated_at examples: - default: &451 + default: &450 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -56146,7 +56434,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *449 + - *448 requestBody: required: false content: @@ -56173,9 +56461,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *449 examples: - default: *451 + default: *450 '304': *37 '403': *29 '401': *25 @@ -56202,7 +56490,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *449 + - *448 responses: '204': description: Response @@ -56246,7 +56534,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *449 + - *448 requestBody: required: true content: @@ -56357,7 +56645,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &452 + - &451 name: column_id description: The unique identifier of the column. in: path @@ -56369,7 +56657,7 @@ paths: description: Response content: application/json: - schema: &453 + schema: &452 title: Project Column description: Project columns contain cards of work. type: object @@ -56415,7 +56703,7 @@ paths: - created_at - updated_at examples: - default: &454 + default: &453 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -56450,7 +56738,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *452 + - *451 requestBody: required: true content: @@ -56474,9 +56762,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *452 examples: - default: *454 + default: *453 '304': *37 '403': *29 '401': *25 @@ -56501,7 +56789,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *452 + - *451 responses: '204': description: Response @@ -56530,7 +56818,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *452 + - *451 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -56551,7 +56839,7 @@ paths: application/json: schema: type: array - items: *450 + items: *449 examples: default: value: @@ -56610,7 +56898,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *452 + - *451 requestBody: required: true content: @@ -56650,9 +56938,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *449 examples: - default: *451 + default: *450 '304': *37 '403': *29 '401': *25 @@ -56708,7 +56996,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *452 + - *451 requestBody: required: true content: @@ -56768,15 +57056,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project parameters: - - *444 + - *443 responses: '200': description: Response content: application/json: - schema: *373 + schema: *372 examples: - default: &455 + default: &454 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -56833,7 +57121,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project parameters: - - *444 + - *443 requestBody: required: false content: @@ -56879,9 +57167,9 @@ paths: description: Response content: application/json: - schema: *373 + schema: *372 examples: - default: *455 + default: *454 '404': description: Not Found if the authenticated user does not have access to the project @@ -56902,7 +57190,7 @@ paths: items: type: string '401': *25 - '410': *456 + '410': *455 '422': *7 x-github: githubCloudOnly: false @@ -56925,7 +57213,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project parameters: - - *444 + - *443 responses: '204': description: Delete Success @@ -56946,7 +57234,7 @@ paths: items: type: string '401': *25 - '410': *456 + '410': *455 '404': *6 x-github: githubCloudOnly: false @@ -56970,7 +57258,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *444 + - *443 - 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 @@ -57027,7 +57315,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *444 + - *443 - *182 requestBody: required: false @@ -57080,7 +57368,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *444 + - *443 - *182 responses: '204': @@ -57112,7 +57400,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: - - *444 + - *443 - *182 responses: '200': @@ -57186,7 +57474,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#list-project-columns parameters: - - *444 + - *443 - *17 - *19 responses: @@ -57196,7 +57484,7 @@ paths: application/json: schema: type: array - items: *453 + items: *452 examples: default: value: @@ -57234,7 +57522,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#create-a-project-column parameters: - - *444 + - *443 requestBody: required: true content: @@ -57257,7 +57545,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *452 examples: default: value: @@ -57322,7 +57610,7 @@ paths: resources: type: object properties: - core: &457 + core: &456 title: Rate Limit type: object properties: @@ -57339,21 +57627,21 @@ paths: - remaining - reset - used - graphql: *457 - search: *457 - code_search: *457 - source_import: *457 - integration_manifest: *457 - code_scanning_upload: *457 - actions_runner_registration: *457 - scim: *457 - dependency_snapshots: *457 - dependency_sbom: *457 - code_scanning_autofix: *457 + graphql: *456 + search: *456 + code_search: *456 + source_import: *456 + integration_manifest: *456 + code_scanning_upload: *456 + actions_runner_registration: *456 + scim: *456 + dependency_snapshots: *456 + dependency_sbom: *456 + code_scanning_autofix: *456 required: - core - search - rate: *457 + rate: *456 required: - rate - resources @@ -57458,14 +57746,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: + - *444 - *445 - - *446 responses: '200': description: Response content: application/json: - schema: *458 + schema: *457 examples: default-response: summary: Default response @@ -57970,7 +58258,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *459 + '301': *458 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57988,8 +58276,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: + - *444 - *445 - - *446 requestBody: required: false content: @@ -58246,10 +58534,10 @@ paths: description: Response content: application/json: - schema: *458 + schema: *457 examples: - default: *460 - '307': &461 + default: *459 + '307': &460 description: Temporary Redirect content: application/json: @@ -58278,8 +58566,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: + - *444 - *445 - - *446 responses: '204': description: Response @@ -58301,7 +58589,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': *461 + '307': *460 '404': *6 '409': *109 x-github: @@ -58325,11 +58613,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: + - *444 - *445 - - *446 - *17 - *19 - - &476 + - &475 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -58352,7 +58640,7 @@ paths: type: integer artifacts: type: array - items: &462 + items: &461 title: Artifact description: An artifact type: object @@ -58430,7 +58718,7 @@ paths: - expires_at - updated_at examples: - default: &477 + default: &476 value: total_count: 2 artifacts: @@ -58491,9 +58779,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: + - *444 - *445 - - *446 - - &463 + - &462 name: artifact_id description: The unique identifier of the artifact. in: path @@ -58505,7 +58793,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *461 examples: default: value: @@ -58543,9 +58831,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: + - *444 - *445 - - *446 - - *463 + - *462 responses: '204': description: Response @@ -58569,9 +58857,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: + - *444 - *445 - - *446 - - *463 + - *462 - name: archive_format in: path required: true @@ -58585,7 +58873,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': *456 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58608,14 +58896,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: + - *444 - *445 - - *446 responses: '200': description: Response content: application/json: - schema: *464 + schema: *463 examples: default: value: @@ -58641,11 +58929,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: + - *444 - *445 - - *446 - *17 - *19 - - &465 + - &464 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 @@ -58679,7 +58967,7 @@ paths: description: Response content: application/json: - schema: &466 + schema: &465 title: Repository actions caches description: Repository actions caches type: object @@ -58721,7 +59009,7 @@ paths: - total_count - actions_caches examples: - default: &467 + default: &466 value: total_count: 1 actions_caches: @@ -58753,23 +59041,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: + - *444 - *445 - - *446 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *465 + - *464 responses: '200': description: Response content: application/json: - schema: *466 + schema: *465 examples: - default: *467 + default: *466 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58789,8 +59077,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: + - *444 - *445 - - *446 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -58821,9 +59109,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: + - *444 - *445 - - *446 - - &468 + - &467 name: job_id description: The unique identifier of the job. in: path @@ -58835,7 +59123,7 @@ paths: description: Response content: application/json: - schema: &480 + schema: &479 title: Job description: Information of a job execution in a workflow run type: object @@ -59142,9 +59430,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: + - *444 - *445 - - *446 - - *468 + - *467 responses: '302': description: Response @@ -59172,9 +59460,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: + - *444 - *445 - - *446 - - *468 + - *467 requestBody: required: false content: @@ -59219,8 +59507,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: + - *444 - *445 - - *446 responses: '200': description: Status response @@ -59270,8 +59558,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: + - *444 - *445 - - *446 requestBody: required: true content: @@ -59334,8 +59622,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -59353,7 +59641,7 @@ paths: type: integer secrets: type: array - items: &482 + items: &481 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -59373,7 +59661,7 @@ paths: - created_at - updated_at examples: - default: &483 + default: &482 value: total_count: 2 secrets: @@ -59406,9 +59694,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: + - *444 - *445 - - *446 - - *469 + - *468 - *19 responses: '200': @@ -59425,7 +59713,7 @@ paths: type: integer variables: type: array - items: &486 + items: &485 title: Actions Variable type: object properties: @@ -59455,7 +59743,7 @@ paths: - created_at - updated_at examples: - default: &487 + default: &486 value: total_count: 2 variables: @@ -59488,8 +59776,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: + - *444 - *445 - - *446 responses: '200': description: Response @@ -59498,7 +59786,7 @@ paths: schema: type: object properties: - enabled: &470 + enabled: &469 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *51 @@ -59533,8 +59821,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: + - *444 - *445 - - *446 responses: '204': description: Response @@ -59545,7 +59833,7 @@ paths: schema: type: object properties: - enabled: *470 + enabled: *469 allowed_actions: *51 sha_pinning_required: *52 required: @@ -59578,14 +59866,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: + - *444 - *445 - - *446 responses: '200': description: Response content: application/json: - schema: &471 + schema: &470 type: object properties: access_level: @@ -59603,7 +59891,7 @@ paths: required: - access_level examples: - default: &472 + default: &471 value: access_level: organization x-github: @@ -59628,15 +59916,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: + - *444 - *445 - - *446 requestBody: required: true content: application/json: - schema: *471 + schema: *470 examples: - default: *472 + default: *471 responses: '204': description: Response @@ -59660,8 +59948,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: + - *444 - *445 - - *446 responses: '200': description: Response @@ -59691,8 +59979,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: + - *444 - *445 - - *446 responses: '204': description: Empty response for successful settings update @@ -59726,8 +60014,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: + - *444 - *445 - - *446 responses: '200': description: Response @@ -59754,8 +60042,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: + - *444 - *445 - - *446 responses: '204': description: Response @@ -59789,8 +60077,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: + - *444 - *445 - - *446 responses: '200': description: Response @@ -59818,8 +60106,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: + - *444 - *445 - - *446 requestBody: required: true content: @@ -59850,8 +60138,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: + - *444 - *445 - - *446 responses: '200': description: Response @@ -59882,8 +60170,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: + - *444 - *445 - - *446 responses: '204': description: Response @@ -59915,8 +60203,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: + - *444 - *445 - - *446 responses: '200': description: Response @@ -59945,8 +60233,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: + - *444 - *445 - - *446 responses: '204': description: Success response @@ -59986,8 +60274,8 @@ paths: in: query schema: type: string + - *444 - *445 - - *446 - *17 - *19 responses: @@ -60031,8 +60319,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: + - *444 - *445 - - *446 responses: '200': description: Response @@ -60064,8 +60352,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: + - *444 - *445 - - *446 requestBody: required: true content: @@ -60139,8 +60427,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: + - *444 - *445 - - *446 responses: '201': description: Response @@ -60176,8 +60464,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: + - *444 - *445 - - *446 responses: '201': description: Response @@ -60207,8 +60495,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: + - *444 - *445 - - *446 - *66 responses: '200': @@ -60238,8 +60526,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: + - *444 - *445 - - *446 - *66 responses: '204': @@ -60266,8 +60554,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: + - *444 - *445 - - *446 - *66 responses: '200': *72 @@ -60292,8 +60580,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: + - *444 - *445 - - *446 - *66 requestBody: required: true @@ -60342,8 +60630,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: + - *444 - *445 - - *446 - *66 requestBody: required: true @@ -60393,8 +60681,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: + - *444 - *445 - - *446 - *66 responses: '200': *260 @@ -60424,8 +60712,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: + - *444 - *445 - - *446 - *66 - *261 responses: @@ -60455,9 +60743,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: + - *444 - *445 - - *446 - - &490 + - &489 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. @@ -60465,7 +60753,7 @@ paths: required: false schema: type: string - - &491 + - &490 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -60473,7 +60761,7 @@ paths: required: false schema: type: string - - &492 + - &491 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -60482,7 +60770,7 @@ paths: required: false schema: type: string - - &493 + - &492 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 @@ -60509,7 +60797,7 @@ paths: - pending - *17 - *19 - - &494 + - &493 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)." @@ -60518,7 +60806,7 @@ paths: schema: type: string format: date-time - - &473 + - &472 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -60527,13 +60815,13 @@ paths: schema: type: boolean default: false - - &495 + - &494 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &496 + - &495 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -60556,7 +60844,7 @@ paths: type: integer workflow_runs: type: array - items: &474 + items: &473 title: Workflow Run description: An invocation of a workflow type: object @@ -60651,7 +60939,7 @@ paths: that triggered the run. type: array nullable: true - items: &515 + items: &514 title: Pull Request Minimal type: object properties: @@ -60770,7 +61058,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &519 + properties: &518 id: type: string description: SHA for the commit @@ -60821,7 +61109,7 @@ paths: - name - email nullable: true - required: &520 + required: &519 - id - tree_id - message @@ -60868,7 +61156,7 @@ paths: - workflow_url - pull_requests examples: - default: &497 + default: &496 value: total_count: 1 workflow_runs: @@ -61104,24 +61392,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: + - *444 - *445 - - *446 - - &475 + - &474 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *473 + - *472 responses: '200': description: Response content: application/json: - schema: *474 + schema: *473 examples: - default: &478 + default: &477 value: id: 30433642 name: Build @@ -61362,9 +61650,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: + - *444 - *445 - - *446 - - *475 + - *474 responses: '204': description: Response @@ -61387,9 +61675,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: + - *444 - *445 - - *446 - - *475 + - *474 responses: '200': description: Response @@ -61508,9 +61796,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: + - *444 - *445 - - *446 - - *475 + - *474 responses: '201': description: Response @@ -61543,12 +61831,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: + - *444 - *445 - - *446 - - *475 + - *474 - *17 - *19 - - *476 + - *475 responses: '200': description: Response @@ -61564,9 +61852,9 @@ paths: type: integer artifacts: type: array - items: *462 + items: *461 examples: - default: *477 + default: *476 headers: Link: *43 x-github: @@ -61590,25 +61878,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: + - *444 - *445 - - *446 - - *475 - - &479 + - *474 + - &478 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *473 + - *472 responses: '200': description: Response content: application/json: - schema: *474 + schema: *473 examples: - default: *478 + default: *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61631,10 +61919,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: + - *444 - *445 - - *446 - - *475 - - *479 + - *474 + - *478 - *17 - *19 responses: @@ -61652,9 +61940,9 @@ paths: type: integer jobs: type: array - items: *480 + items: *479 examples: - default: &481 + default: &480 value: total_count: 1 jobs: @@ -61767,10 +62055,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: + - *444 - *445 - - *446 - - *475 - - *479 + - *474 + - *478 responses: '302': description: Response @@ -61798,9 +62086,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: + - *444 - *445 - - *446 - - *475 + - *474 responses: '202': description: Response @@ -61833,9 +62121,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: + - *444 - *445 - - *446 - - *475 + - *474 requestBody: required: true content: @@ -61902,9 +62190,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: + - *444 - *445 - - *446 - - *475 + - *474 responses: '202': description: Response @@ -61937,9 +62225,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: + - *444 - *445 - - *446 - - *475 + - *474 - 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 @@ -61969,9 +62257,9 @@ paths: type: integer jobs: type: array - items: *480 + items: *479 examples: - default: *481 + default: *480 headers: Link: *43 x-github: @@ -61996,9 +62284,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: + - *444 - *445 - - *446 - - *475 + - *474 responses: '302': description: Response @@ -62025,9 +62313,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: + - *444 - *445 - - *446 - - *475 + - *474 responses: '204': description: Response @@ -62054,9 +62342,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: + - *444 - *445 - - *446 - - *475 + - *474 responses: '200': description: Response @@ -62201,9 +62489,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: + - *444 - *445 - - *446 - - *475 + - *474 requestBody: required: true content: @@ -62412,9 +62700,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: + - *444 - *445 - - *446 - - *475 + - *474 requestBody: required: false content: @@ -62458,9 +62746,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: + - *444 - *445 - - *446 - - *475 + - *474 requestBody: required: false content: @@ -62514,9 +62802,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: + - *444 - *445 - - *446 - - *475 + - *474 responses: '200': description: Response @@ -62653,8 +62941,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -62672,9 +62960,9 @@ paths: type: integer secrets: type: array - items: *482 + items: *481 examples: - default: *483 + default: *482 headers: Link: *43 x-github: @@ -62699,16 +62987,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: + - *444 - *445 - - *446 responses: '200': description: Response content: application/json: - schema: *484 + schema: *483 examples: - default: *485 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62730,15 +63018,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: + - *444 - *445 - - *446 - *263 responses: '200': description: Response content: application/json: - schema: *482 + schema: *481 examples: default: &616 value: @@ -62766,8 +63054,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: + - *444 - *445 - - *446 - *263 requestBody: required: true @@ -62825,8 +63113,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: + - *444 - *445 - - *446 - *263 responses: '204': @@ -62852,9 +63140,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: + - *444 - *445 - - *446 - - *469 + - *468 - *19 responses: '200': @@ -62871,9 +63159,9 @@ paths: type: integer variables: type: array - items: *486 + items: *485 examples: - default: *487 + default: *486 headers: Link: *43 x-github: @@ -62896,8 +63184,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -62949,15 +63237,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: + - *444 - *445 - - *446 - *266 responses: '200': description: Response content: application/json: - schema: *486 + schema: *485 examples: default: &617 value: @@ -62985,8 +63273,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: + - *444 - *445 - - *446 - *266 requestBody: required: true @@ -63029,8 +63317,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: + - *444 - *445 - - *446 - *266 responses: '204': @@ -63056,8 +63344,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -63075,7 +63363,7 @@ paths: type: integer workflows: type: array - items: &488 + items: &487 title: Workflow description: A GitHub Actions workflow type: object @@ -63182,9 +63470,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: + - *444 - *445 - - *446 - - &489 + - &488 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -63199,7 +63487,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *487 examples: default: value: @@ -63232,9 +63520,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: + - *444 - *445 - - *446 - - *489 + - *488 responses: '204': description: Response @@ -63259,9 +63547,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: + - *444 - *445 - - *446 - - *489 + - *488 responses: '204': description: Response @@ -63312,9 +63600,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: + - *444 - *445 - - *446 - - *489 + - *488 responses: '204': description: Response @@ -63341,19 +63629,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: + - *444 - *445 - - *446 + - *488 - *489 - *490 - *491 - *492 - - *493 - *17 - *19 + - *493 + - *472 - *494 - - *473 - *495 - - *496 responses: '200': description: Response @@ -63369,9 +63657,9 @@ paths: type: integer workflow_runs: type: array - items: *474 + items: *473 examples: - default: *497 + default: *496 headers: Link: *43 x-github: @@ -63404,9 +63692,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: + - *444 - *445 - - *446 - - *489 + - *488 responses: '200': description: Response @@ -63467,8 +63755,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: + - *444 - *445 - - *446 - *101 - *17 - *99 @@ -63632,8 +63920,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -63670,8 +63958,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: + - *444 - *445 - - *446 - name: assignee in: path required: true @@ -63707,8 +63995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -63820,8 +64108,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: + - *444 - *445 - - *446 - *17 - *99 - *100 @@ -63877,7 +64165,7 @@ paths: initiator: type: string examples: - default: *498 + default: *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63897,8 +64185,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: + - *444 - *445 - - *446 responses: '200': description: Response @@ -63906,7 +64194,7 @@ paths: application/json: schema: type: array - items: &499 + items: &498 title: Autolink reference description: An autolink reference. type: object @@ -63960,8 +64248,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: + - *444 - *445 - - *446 requestBody: required: true content: @@ -64000,9 +64288,9 @@ paths: description: response content: application/json: - schema: *499 + schema: *498 examples: - default: &500 + default: &499 value: id: 1 key_prefix: TICKET- @@ -64033,9 +64321,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: + - *444 - *445 - - *446 - - &501 + - &500 name: autolink_id description: The unique identifier of the autolink. in: path @@ -64047,9 +64335,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *498 examples: - default: *500 + default: *499 '404': *6 x-github: githubCloudOnly: false @@ -64069,9 +64357,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: + - *444 - *445 - - *446 - - *501 + - *500 responses: '204': description: Response @@ -64095,8 +64383,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: + - *444 - *445 - - *446 responses: '200': description: Response if Dependabot is enabled @@ -64144,8 +64432,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: + - *444 - *445 - - *446 responses: '204': description: Response @@ -64166,8 +64454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: + - *444 - *445 - - *446 responses: '204': description: Response @@ -64187,8 +64475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: + - *444 - *445 - - *446 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -64226,7 +64514,7 @@ paths: - url protected: type: boolean - protection: &503 + protection: &502 title: Branch Protection description: Branch Protection type: object @@ -64268,7 +64556,7 @@ paths: required: - contexts - checks - enforce_admins: &506 + enforce_admins: &505 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -64283,7 +64571,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &508 + required_pull_request_reviews: &507 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -64359,7 +64647,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &505 + restrictions: &504 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -64636,9 +64924,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: + - *444 - *445 - - *446 - - &504 + - &503 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). @@ -64652,14 +64940,14 @@ paths: description: Response content: application/json: - schema: &514 + schema: &513 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &564 + commit: &563 title: Commit description: Commit type: object @@ -64693,7 +64981,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &502 + properties: &501 name: type: string example: '"Chris Wanstrath"' @@ -64708,7 +64996,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *502 + properties: *501 nullable: true message: type: string @@ -64799,7 +65087,7 @@ paths: type: integer files: type: array - items: &577 + items: &576 title: Diff Entry description: Diff Entry type: object @@ -64883,7 +65171,7 @@ paths: - self protected: type: boolean - protection: *503 + protection: *502 protection_url: type: string format: uri @@ -64990,7 +65278,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *459 + '301': *458 '404': *6 x-github: githubCloudOnly: false @@ -65012,15 +65300,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: + - *444 - *445 - - *446 - - *504 + - *503 responses: '200': description: Response content: application/json: - schema: *503 + schema: *502 examples: default: value: @@ -65214,9 +65502,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: + - *444 - *445 - - *446 - - *504 + - *503 requestBody: required: true content: @@ -65471,7 +65759,7 @@ paths: url: type: string format: uri - required_status_checks: &511 + required_status_checks: &510 title: Status Check Policy description: Status Check Policy type: object @@ -65623,7 +65911,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *505 + restrictions: *504 required_conversation_resolution: type: object properties: @@ -65735,9 +66023,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: + - *444 - *445 - - *446 - - *504 + - *503 responses: '204': description: Response @@ -65762,17 +66050,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: + - *444 - *445 - - *446 - - *504 + - *503 responses: '200': description: Response content: application/json: - schema: *506 + schema: *505 examples: - default: &507 + default: &506 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -65794,17 +66082,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: + - *444 - *445 - - *446 - - *504 + - *503 responses: '200': description: Response content: application/json: - schema: *506 + schema: *505 examples: - default: *507 + default: *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65823,9 +66111,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: + - *444 - *445 - - *446 - - *504 + - *503 responses: '204': description: Response @@ -65850,17 +66138,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: + - *444 - *445 - - *446 - - *504 + - *503 responses: '200': description: Response content: application/json: - schema: *508 + schema: *507 examples: - default: &509 + default: &508 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -65956,9 +66244,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: + - *444 - *445 - - *446 - - *504 + - *503 requestBody: required: false content: @@ -66056,9 +66344,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *507 examples: - default: *509 + default: *508 '422': *15 x-github: githubCloudOnly: false @@ -66079,9 +66367,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: + - *444 - *445 - - *446 - - *504 + - *503 responses: '204': description: Response @@ -66108,17 +66396,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: + - *444 - *445 - - *446 - - *504 + - *503 responses: '200': description: Response content: application/json: - schema: *506 + schema: *505 examples: - default: &510 + default: &509 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -66141,17 +66429,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: + - *444 - *445 - - *446 - - *504 + - *503 responses: '200': description: Response content: application/json: - schema: *506 + schema: *505 examples: - default: *510 + default: *509 '404': *6 x-github: githubCloudOnly: false @@ -66171,9 +66459,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: + - *444 - *445 - - *446 - - *504 + - *503 responses: '204': description: Response @@ -66198,17 +66486,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: + - *444 - *445 - - *446 - - *504 + - *503 responses: '200': description: Response content: application/json: - schema: *511 + schema: *510 examples: - default: &512 + default: &511 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -66234,9 +66522,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: + - *444 - *445 - - *446 - - *504 + - *503 requestBody: required: false content: @@ -66288,9 +66576,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *510 examples: - default: *512 + default: *511 '404': *6 '422': *15 x-github: @@ -66312,9 +66600,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: + - *444 - *445 - - *446 - - *504 + - *503 responses: '204': description: Response @@ -66338,9 +66626,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: + - *444 - *445 - - *446 - - *504 + - *503 responses: '200': description: Response @@ -66374,9 +66662,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: + - *444 - *445 - - *446 - - *504 + - *503 requestBody: required: false content: @@ -66443,9 +66731,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: + - *444 - *445 - - *446 - - *504 + - *503 requestBody: required: false content: @@ -66509,9 +66797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: + - *444 - *445 - - *446 - - *504 + - *503 requestBody: content: application/json: @@ -66577,15 +66865,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: + - *444 - *445 - - *446 - - *504 + - *503 responses: '200': description: Response content: application/json: - schema: *505 + schema: *504 examples: default: value: @@ -66676,9 +66964,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: + - *444 - *445 - - *446 - - *504 + - *503 responses: '204': description: Response @@ -66701,9 +66989,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: + - *444 - *445 - - *446 - - *504 + - *503 responses: '200': description: Response @@ -66713,7 +67001,7 @@ paths: type: array items: *5 examples: - default: &513 + default: &512 value: - id: 1 slug: octoapp @@ -66770,9 +67058,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: + - *444 - *445 - - *446 - - *504 + - *503 requestBody: required: true content: @@ -66806,7 +67094,7 @@ paths: type: array items: *5 examples: - default: *513 + default: *512 '422': *15 x-github: githubCloudOnly: false @@ -66827,9 +67115,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: + - *444 - *445 - - *446 - - *504 + - *503 requestBody: required: true content: @@ -66863,7 +67151,7 @@ paths: type: array items: *5 examples: - default: *513 + default: *512 '422': *15 x-github: githubCloudOnly: false @@ -66884,9 +67172,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: + - *444 - *445 - - *446 - - *504 + - *503 requestBody: required: true content: @@ -66920,7 +67208,7 @@ paths: type: array items: *5 examples: - default: *513 + default: *512 '422': *15 x-github: githubCloudOnly: false @@ -66942,9 +67230,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: + - *444 - *445 - - *446 - - *504 + - *503 responses: '200': description: Response @@ -66954,7 +67242,7 @@ paths: type: array items: *280 examples: - default: *356 + default: *355 '404': *6 x-github: githubCloudOnly: false @@ -66974,9 +67262,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: + - *444 - *445 - - *446 - - *504 + - *503 requestBody: required: false content: @@ -67014,7 +67302,7 @@ paths: type: array items: *280 examples: - default: *356 + default: *355 '422': *15 x-github: githubCloudOnly: false @@ -67035,9 +67323,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: + - *444 - *445 - - *446 - - *504 + - *503 requestBody: required: false content: @@ -67075,7 +67363,7 @@ paths: type: array items: *280 examples: - default: *356 + default: *355 '422': *15 x-github: githubCloudOnly: false @@ -67096,9 +67384,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: + - *444 - *445 - - *446 - - *504 + - *503 requestBody: content: application/json: @@ -67135,7 +67423,7 @@ paths: type: array items: *280 examples: - default: *356 + default: *355 '422': *15 x-github: githubCloudOnly: false @@ -67157,9 +67445,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: + - *444 - *445 - - *446 - - *504 + - *503 responses: '200': description: Response @@ -67193,9 +67481,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: + - *444 - *445 - - *446 - - *504 + - *503 requestBody: required: true content: @@ -67253,9 +67541,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: + - *444 - *445 - - *446 - - *504 + - *503 requestBody: required: true content: @@ -67313,9 +67601,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: + - *444 - *445 - - *446 - - *504 + - *503 requestBody: required: true content: @@ -67375,9 +67663,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: + - *444 - *445 - - *446 - - *504 + - *503 requestBody: required: true content: @@ -67399,7 +67687,7 @@ paths: description: Response content: application/json: - schema: *514 + schema: *513 examples: default: value: @@ -67513,8 +67801,8 @@ paths: category: repos subcategory: bypass-requests parameters: + - *444 - *445 - - *446 - *94 - *95 - *96 @@ -67550,8 +67838,8 @@ paths: category: repos subcategory: bypass-requests parameters: + - *444 - *445 - - *446 - name: bypass_request_number in: path required: true @@ -67624,8 +67912,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: + - *444 - *445 - - *446 - *94 - *95 - *96 @@ -67665,8 +67953,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: + - *444 - *445 - - *446 - name: bypass_request_number in: path required: true @@ -67736,8 +68024,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: + - *444 - *445 - - *446 - name: bypass_request_number in: path required: true @@ -67808,8 +68096,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: + - *444 - *445 - - *446 - name: bypass_response_id in: path required: true @@ -67842,8 +68130,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -68122,7 +68410,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &515 title: CheckRun description: A check performed on the code of a given code change type: object @@ -68241,7 +68529,7 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *515 + items: *514 deployment: &843 title: Deployment description: A deployment created as the result of an Actions @@ -68522,9 +68810,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: + - *444 - *445 - - *446 - - &517 + - &516 name: check_run_id description: The unique identifier of the check run. in: path @@ -68536,9 +68824,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *515 examples: - default: &518 + default: &517 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -68638,9 +68926,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: + - *444 - *445 - - *446 - - *517 + - *516 requestBody: required: true content: @@ -68880,9 +69168,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *515 examples: - default: *518 + default: *517 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68902,9 +69190,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: + - *444 - *445 - - *446 - - *517 + - *516 - *17 - *19 responses: @@ -68999,9 +69287,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: + - *444 - *445 - - *446 - - *517 + - *516 responses: '201': description: Response @@ -69045,8 +69333,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -69068,7 +69356,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &521 + schema: &520 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -69132,7 +69420,7 @@ paths: nullable: true pull_requests: type: array - items: *515 + items: *514 nullable: true app: title: GitHub app @@ -69158,8 +69446,8 @@ paths: title: Simple Commit description: A commit. type: object - properties: *519 - required: *520 + properties: *518 + required: *519 latest_check_runs_count: type: integer check_runs_url: @@ -69187,7 +69475,7 @@ paths: - check_runs_url - pull_requests examples: - default: &522 + default: &521 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -69478,9 +69766,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *521 + schema: *520 examples: - default: *522 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69499,8 +69787,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -69809,9 +70097,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: + - *444 - *445 - - *446 - - &523 + - &522 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -69823,9 +70111,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *520 examples: - default: *522 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69848,17 +70136,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: + - *444 - *445 - - *446 - - *523 - - &570 + - *522 + - &569 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &571 + - &570 name: status description: Returns check runs with the specified `status`. in: query @@ -69897,9 +70185,9 @@ paths: type: integer check_runs: type: array - items: *516 + items: *515 examples: - default: &572 + default: &571 value: total_count: 1 check_runs: @@ -70001,9 +70289,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: + - *444 - *445 - - *446 - - *523 + - *522 responses: '201': description: Response @@ -70036,21 +70324,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: + - *444 - *445 - - *446 - *284 - *285 - *19 - *17 - - &539 + - &538 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: *524 - - &540 + schema: *523 + - &539 name: pr description: The number of the pull request for the results you want to list. in: query @@ -70081,7 +70369,7 @@ paths: be returned. in: query required: false - schema: *525 + schema: *524 responses: '200': description: Response @@ -70097,7 +70385,7 @@ paths: updated_at: *121 url: *118 html_url: *119 - instances_url: *526 + instances_url: *525 state: *104 fixed_at: *123 dismissed_by: @@ -70108,11 +70396,11 @@ paths: required: *21 nullable: true dismissed_at: *122 - dismissed_reason: *527 - dismissed_comment: *528 - rule: *529 - tool: *530 - most_recent_instance: *531 + dismissed_reason: *526 + dismissed_comment: *527 + rule: *528 + tool: *529 + most_recent_instance: *530 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -70238,7 +70526,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &532 + '403': &531 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -70265,9 +70553,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: + - *444 - *445 - - *446 - - &533 + - &532 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -70281,7 +70569,7 @@ paths: description: Response content: application/json: - schema: &534 + schema: &533 type: object properties: number: *113 @@ -70289,7 +70577,7 @@ paths: updated_at: *121 url: *118 html_url: *119 - instances_url: *526 + instances_url: *525 state: *104 fixed_at: *123 dismissed_by: @@ -70300,8 +70588,8 @@ paths: required: *21 nullable: true dismissed_at: *122 - dismissed_reason: *527 - dismissed_comment: *528 + dismissed_reason: *526 + dismissed_comment: *527 rule: type: object properties: @@ -70355,8 +70643,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *530 - most_recent_instance: *531 + tool: *529 + most_recent_instance: *530 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -70455,7 +70743,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *532 + '403': *531 '404': *6 '503': *167 x-github: @@ -70475,9 +70763,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: + - *444 - *445 - - *446 - - *533 + - *532 requestBody: required: true content: @@ -70492,8 +70780,8 @@ paths: enum: - open - dismissed - dismissed_reason: *527 - dismissed_comment: *528 + dismissed_reason: *526 + dismissed_comment: *527 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -70512,7 +70800,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *533 examples: default: value: @@ -70588,7 +70876,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &538 + '403': &537 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -70615,15 +70903,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: + - *444 - *445 - - *446 - - *533 + - *532 responses: '200': description: Response content: application/json: - schema: &535 + schema: &534 type: object properties: status: @@ -70649,13 +70937,13 @@ paths: - description - started_at examples: - default: &536 + default: &535 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &537 + '400': &536 description: Bad Request content: application/json: @@ -70666,7 +70954,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': *532 + '403': *531 '404': *6 '503': *167 x-github: @@ -70691,29 +70979,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: + - *444 - *445 - - *446 - - *533 + - *532 responses: '200': description: OK content: application/json: - schema: *535 + schema: *534 examples: - default: *536 + default: *535 '202': description: Accepted content: application/json: - schema: *535 + schema: *534 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *537 + '400': *536 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -70745,9 +71033,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: + - *444 - *445 - - *446 - - *533 + - *532 requestBody: required: false content: @@ -70792,8 +71080,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *537 - '403': *538 + '400': *536 + '403': *537 '404': *6 '422': description: Unprocessable Entity @@ -70817,13 +71105,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: + - *444 - *445 - - *446 - - *533 + - *532 - *19 - *17 + - *538 - *539 - - *540 responses: '200': description: Response @@ -70831,7 +71119,7 @@ paths: application/json: schema: type: array - items: *531 + items: *530 examples: default: value: @@ -70870,7 +71158,7 @@ paths: end_column: 50 classifications: - source - '403': *532 + '403': *531 '404': *6 '503': *167 x-github: @@ -70904,25 +71192,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: + - *444 - *445 - - *446 - *284 - *285 - *19 - *17 - - *540 + - *539 - 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: *524 + schema: *523 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &543 + schema: &542 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -70943,23 +71231,23 @@ paths: application/json: schema: type: array - items: &544 + items: &543 type: object properties: - ref: *524 - commit_sha: &552 + ref: *523 + commit_sha: &551 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: *541 + analysis_key: *540 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *542 + category: *541 error: type: string example: error reading field xyz @@ -70983,8 +71271,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *543 - tool: *530 + sarif_id: *542 + tool: *529 deletable: type: boolean warning: @@ -71045,7 +71333,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *532 + '403': *531 '404': *6 '503': *167 x-github: @@ -71081,8 +71369,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: + - *444 - *445 - - *446 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -71095,7 +71383,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *543 examples: response: summary: application/json response @@ -71149,7 +71437,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *532 + '403': *531 '404': *6 '422': description: Response if analysis could not be processed @@ -71236,8 +71524,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: + - *444 - *445 - - *446 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -71290,7 +71578,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': *538 + '403': *537 '404': *6 '503': *167 x-github: @@ -71312,8 +71600,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: + - *444 - *445 - - *446 responses: '200': description: Response @@ -71321,7 +71609,7 @@ paths: application/json: schema: type: array - items: &545 + items: &544 title: CodeQL Database description: A CodeQL database. type: object @@ -71432,7 +71720,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': *532 + '403': *531 '404': *6 '503': *167 x-github: @@ -71461,8 +71749,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: + - *444 - *445 - - *446 - name: language in: path description: The language of the CodeQL database. @@ -71474,7 +71762,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *544 examples: default: value: @@ -71506,9 +71794,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &579 + '302': &578 description: Found - '403': *532 + '403': *531 '404': *6 '503': *167 x-github: @@ -71530,8 +71818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: + - *444 - *445 - - *446 - name: language in: path description: The language of the CodeQL database. @@ -71541,7 +71829,7 @@ paths: responses: '204': description: Response - '403': *538 + '403': *537 '404': *6 '503': *167 x-github: @@ -71569,8 +71857,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: + - *444 - *445 - - *446 requestBody: required: true content: @@ -71579,7 +71867,7 @@ paths: type: object additionalProperties: false properties: - language: &546 + language: &545 type: string description: The language targeted by the CodeQL query enum: @@ -71658,7 +71946,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &550 + schema: &549 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -71668,7 +71956,7 @@ paths: description: The ID of the variant analysis. controller_repo: *110 actor: *4 - query_language: *546 + query_language: *545 query_pack_url: type: string description: The download url for the query pack. @@ -71715,7 +72003,7 @@ paths: items: type: object properties: - repository: &547 + repository: &546 title: Repository Identifier description: Repository Identifier type: object @@ -71751,7 +72039,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &551 + analysis_status: &550 type: string description: The new status of the CodeQL variant analysis repository task. @@ -71783,7 +72071,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &548 + access_mismatch_repos: &547 type: object properties: repository_count: @@ -71797,7 +72085,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: *547 + items: *546 required: - repository_count - repositories @@ -71819,8 +72107,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *548 - over_limit_repos: *548 + no_codeql_db_repos: *547 + over_limit_repos: *547 required: - access_mismatch_repos - not_found_repos @@ -71836,7 +72124,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &549 + value: &548 summary: Default response value: id: 1 @@ -71988,10 +72276,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *549 + value: *548 repository_lists: summary: Response for a successful variant analysis submission - value: *549 + value: *548 '404': *6 '422': description: Unable to process variant analysis submission @@ -72019,8 +72307,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: + - *444 - *445 - - *446 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -72032,9 +72320,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *549 examples: - default: *549 + default: *548 '404': *6 '503': *167 x-github: @@ -72057,7 +72345,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: - - *445 + - *444 - name: repo in: path description: The name of the controller repository. @@ -72092,7 +72380,7 @@ paths: type: object properties: repository: *110 - analysis_status: *551 + analysis_status: *550 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -72217,8 +72505,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: + - *444 - *445 - - *446 responses: '200': description: Response @@ -72303,7 +72591,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *532 + '403': *531 '404': *6 '503': *167 x-github: @@ -72324,8 +72612,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: + - *444 - *445 - - *446 requestBody: required: true content: @@ -72417,7 +72705,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *538 + '403': *537 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -72488,8 +72776,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: + - *444 - *445 - - *446 requestBody: required: true content: @@ -72497,7 +72785,7 @@ paths: schema: type: object properties: - commit_sha: *552 + commit_sha: *551 ref: type: string description: |- @@ -72555,7 +72843,7 @@ paths: schema: type: object properties: - id: *543 + id: *542 url: type: string description: The REST API URL for checking the status of the upload. @@ -72569,7 +72857,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': *538 + '403': *537 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -72592,8 +72880,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: + - *444 - *445 - - *446 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -72639,7 +72927,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': *532 + '403': *531 '404': description: Not Found if the sarif id does not match any upload '503': *167 @@ -72664,8 +72952,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: + - *444 - *445 - - *446 responses: '200': description: Response @@ -72746,8 +73034,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: + - *444 - *445 - - *446 - 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 @@ -72867,8 +73155,8 @@ paths: parameters: - *17 - *19 + - *444 - *445 - - *446 responses: '200': description: Response @@ -72884,7 +73172,7 @@ paths: type: integer codespaces: type: array - items: *346 + items: *345 examples: default: value: @@ -73182,8 +73470,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -73246,17 +73534,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *346 + schema: *345 examples: - default: *553 + default: *552 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *346 + schema: *345 examples: - default: *553 + default: *552 '400': *14 '401': *25 '403': *29 @@ -73285,8 +73573,8 @@ paths: parameters: - *17 - *19 + - *444 - *445 - - *446 responses: '200': description: Response @@ -73350,8 +73638,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: + - *444 - *445 - - *446 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -73390,8 +73678,8 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *554 - required: *555 + properties: *553 + required: *554 examples: default: &796 value: @@ -73433,8 +73721,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: + - *444 - *445 - - *446 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -73518,8 +73806,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: + - *444 - *445 - - *446 - 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 @@ -73585,8 +73873,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -73604,7 +73892,7 @@ paths: type: integer secrets: type: array - items: &559 + items: &558 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -73624,7 +73912,7 @@ paths: - created_at - updated_at examples: - default: *556 + default: *555 headers: Link: *43 x-github: @@ -73647,16 +73935,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: + - *444 - *445 - - *446 responses: '200': description: Response content: application/json: - schema: *557 + schema: *556 examples: - default: *558 + default: *557 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -73676,17 +73964,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: + - *444 - *445 - - *446 - *263 responses: '200': description: Response content: application/json: - schema: *559 + schema: *558 examples: - default: *560 + default: *559 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73706,8 +73994,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: + - *444 - *445 - - *446 - *263 requestBody: required: true @@ -73760,8 +74048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: + - *444 - *445 - - *446 - *263 responses: '204': @@ -73790,8 +74078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: + - *444 - *445 - - *446 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -73833,7 +74121,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &561 + properties: &560 login: type: string example: octocat @@ -73926,7 +74214,7 @@ paths: user_view_type: type: string example: public - required: &562 + required: &561 - avatar_url - events_url - followers_url @@ -74000,8 +74288,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: + - *444 - *445 - - *446 - *182 responses: '204': @@ -74048,8 +74336,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: + - *444 - *445 - - *446 - *182 requestBody: required: false @@ -74305,8 +74593,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: + - *444 - *445 - - *446 - *182 responses: '204': @@ -74338,8 +74626,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: + - *444 - *445 - - *446 - *182 responses: '200': @@ -74360,8 +74648,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *561 - required: *562 + properties: *560 + required: *561 nullable: true required: - permission @@ -74416,8 +74704,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -74427,7 +74715,7 @@ paths: application/json: schema: type: array - items: &563 + items: &562 title: Commit Comment description: Commit Comment type: object @@ -74485,7 +74773,7 @@ paths: - created_at - updated_at examples: - default: &566 + default: &565 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -74544,17 +74832,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: + - *444 - *445 - - *446 - *200 responses: '200': description: Response content: application/json: - schema: *563 + schema: *562 examples: - default: &567 + default: &566 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -74611,8 +74899,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: + - *444 - *445 - - *446 - *200 requestBody: required: true @@ -74635,7 +74923,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *562 examples: default: value: @@ -74686,8 +74974,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: + - *444 - *445 - - *446 - *200 responses: '204': @@ -74709,8 +74997,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: + - *444 - *445 - - *446 - *200 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -74737,9 +75025,9 @@ paths: application/json: schema: type: array - items: *434 + items: *433 examples: - default: *436 + default: *435 headers: Link: *43 '404': *6 @@ -74760,8 +75048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: + - *444 - *445 - - *446 - *200 requestBody: required: true @@ -74794,16 +75082,16 @@ paths: description: Reaction exists content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 '201': description: Reaction created content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 '422': *15 x-github: githubCloudOnly: false @@ -74825,10 +75113,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: + - *444 - *445 - - *446 - *200 - - *437 + - *436 responses: '204': description: Response @@ -74877,8 +75165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: + - *444 - *445 - - *446 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -74934,7 +75222,7 @@ paths: application/json: schema: type: array - items: *564 + items: *563 examples: default: &686 value: @@ -75030,9 +75318,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: + - *444 - *445 - - *446 - - &565 + - &564 name: commit_sha description: The SHA of the commit. in: path @@ -75104,9 +75392,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: + - *444 - *445 - - *446 - - *565 + - *564 - *17 - *19 responses: @@ -75116,9 +75404,9 @@ paths: application/json: schema: type: array - items: *563 + items: *562 examples: - default: *566 + default: *565 headers: Link: *43 x-github: @@ -75146,9 +75434,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: + - *444 - *445 - - *446 - - *565 + - *564 requestBody: required: true content: @@ -75183,9 +75471,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *562 examples: - default: *567 + default: *566 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -75213,9 +75501,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: + - *444 - *445 - - *446 - - *565 + - *564 - *17 - *19 responses: @@ -75225,7 +75513,7 @@ paths: application/json: schema: type: array - items: *568 + items: *567 examples: default: &678 value: @@ -75764,11 +76052,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: + - *444 - *445 - - *446 - *19 - *17 - - &569 + - &568 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)" @@ -75783,7 +76071,7 @@ paths: description: Response content: application/json: - schema: *564 + schema: *563 examples: default: &665 value: @@ -75898,11 +76186,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: + - *444 - *445 - - *446 + - *568 - *569 - *570 - - *571 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -75936,9 +76224,9 @@ paths: type: integer check_runs: type: array - items: *516 + items: *515 examples: - default: *572 + default: *571 headers: Link: *43 x-github: @@ -75963,9 +76251,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: + - *444 - *445 - - *446 - - *569 + - *568 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -75973,7 +76261,7 @@ paths: schema: type: integer example: 1 - - *570 + - *569 - *17 - *19 responses: @@ -75991,7 +76279,7 @@ paths: type: integer check_suites: type: array - items: *521 + items: *520 examples: default: value: @@ -76191,9 +76479,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: + - *444 - *445 - - *446 - - *569 + - *568 - *17 - *19 responses: @@ -76391,9 +76679,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: + - *444 - *445 - - *446 - - *569 + - *568 - *17 - *19 responses: @@ -76484,7 +76772,7 @@ paths: site_admin: false headers: Link: *43 - '301': *459 + '301': *458 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76512,8 +76800,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: + - *444 - *445 - - *446 responses: '200': description: Response @@ -76542,20 +76830,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *573 - required: *574 + properties: *572 + required: *573 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &575 + properties: &574 url: type: string format: uri html_url: type: string format: uri - required: &576 + required: &575 - url - html_url nullable: true @@ -76569,26 +76857,26 @@ paths: contributing: title: Community Health File type: object - properties: *575 - required: *576 + properties: *574 + required: *575 nullable: true readme: title: Community Health File type: object - properties: *575 - required: *576 + properties: *574 + required: *575 nullable: true issue_template: title: Community Health File type: object - properties: *575 - required: *576 + properties: *574 + required: *575 nullable: true pull_request_template: title: Community Health File type: object - properties: *575 - required: *576 + properties: *574 + required: *575 nullable: true required: - code_of_conduct @@ -76715,8 +77003,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: + - *444 - *445 - - *446 - *19 - *17 - name: basehead @@ -76759,8 +77047,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *564 - merge_base_commit: *564 + base_commit: *563 + merge_base_commit: *563 status: type: string enum: @@ -76780,10 +77068,10 @@ paths: example: 6 commits: type: array - items: *564 + items: *563 files: type: array - items: *577 + items: *576 required: - url - html_url @@ -77069,8 +77357,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: + - *444 - *445 - - *446 - name: path description: path parameter in: path @@ -77213,7 +77501,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &578 + response-if-content-is-a-file: &577 summary: Response if content is a file value: type: file @@ -77546,7 +77834,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *578 + response-if-content-is-a-file: *577 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -77615,7 +77903,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *579 + '302': *578 '304': *37 x-github: githubCloudOnly: false @@ -77638,8 +77926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: + - *444 - *445 - - *446 - name: path description: path parameter in: path @@ -77732,7 +78020,7 @@ paths: description: Response content: application/json: - schema: &580 + schema: &579 title: File Commit description: File Commit type: object @@ -77884,7 +78172,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *579 examples: example-for-creating-a-file: value: @@ -77991,8 +78279,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: + - *444 - *445 - - *446 - name: path description: path parameter in: path @@ -78053,7 +78341,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *579 examples: default: value: @@ -78108,8 +78396,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: + - *444 - *445 - - *446 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -78232,8 +78520,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: + - *444 - *445 - - *446 - *301 - *302 - *303 @@ -78245,9 +78533,9 @@ paths: schema: type: string - *305 + - *580 - *306 - *307 - - *308 - *101 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -78267,8 +78555,8 @@ paths: default: 30 - *99 - *100 + - *308 - *309 - - *310 responses: '200': description: Response @@ -78583,8 +78871,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: + - *444 - *445 - - *446 - &584 name: alert_number in: path @@ -78713,8 +79001,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: + - *444 - *445 - - *446 - *584 requestBody: required: true @@ -78889,8 +79177,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -78961,8 +79249,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: + - *444 - *445 - - *446 responses: '200': description: Response @@ -78990,8 +79278,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: + - *444 - *445 - - *446 - *263 responses: '200': @@ -79024,8 +79312,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: + - *444 - *445 - - *446 - *263 requestBody: required: true @@ -79078,8 +79366,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: + - *444 - *445 - - *446 - *263 responses: '204': @@ -79102,8 +79390,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: + - *444 - *445 - - *446 - 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 @@ -79263,8 +79551,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: + - *444 - *445 - - *446 responses: '200': description: Response @@ -79503,8 +79791,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: + - *444 - *445 - - *446 requestBody: required: true content: @@ -79754,8 +80042,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: + - *444 - *445 - - *446 - name: sha description: The SHA recorded at creation time. in: query @@ -79863,8 +80151,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -80018,8 +80306,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: + - *444 - *445 - - *446 - &591 name: deployment_id description: deployment_id parameter @@ -80097,8 +80385,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: + - *444 - *445 - - *446 - *591 responses: '204': @@ -80121,8 +80409,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: + - *444 - *445 - - *446 - *591 - *17 - *19 @@ -80294,8 +80582,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: + - *444 - *445 - - *446 - *591 requestBody: required: true @@ -80429,8 +80717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: + - *444 - *445 - - *446 - *591 - name: status_id in: path @@ -80471,8 +80759,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: + - *444 - *445 - - *446 - *594 - *595 - *596 @@ -80512,8 +80800,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: + - *444 - *445 - - *446 - name: alert_number in: path required: true @@ -80581,8 +80869,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: + - *444 - *445 - - *446 - name: alert_number in: path required: true @@ -80641,8 +80929,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: + - *444 - *445 - - *446 - *94 - *95 - *96 @@ -80683,8 +80971,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: + - *444 - *445 - - *446 - name: alert_number in: path required: true @@ -80754,8 +81042,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: + - *444 - *445 - - *446 - name: alert_number in: path required: true @@ -80824,8 +81112,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -80882,8 +81170,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -81129,8 +81417,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: + - *444 - *445 - - *446 - &605 name: environment_name in: path @@ -81230,8 +81518,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: + - *444 - *445 - - *446 - *605 requestBody: required: false @@ -81310,8 +81598,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: + - *444 - *445 - - *446 - *605 responses: '204': @@ -81337,8 +81625,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: + - *444 - *445 - - *446 - *605 - *17 - *19 @@ -81414,8 +81702,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: + - *444 - *445 - - *446 - *605 requestBody: required: true @@ -81506,8 +81794,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: + - *444 - *445 - - *446 - *605 - &611 name: branch_policy_id @@ -81542,8 +81830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: + - *444 - *445 - - *446 - *605 - *611 requestBody: @@ -81594,8 +81882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: + - *444 - *445 - - *446 - *605 - *611 responses: @@ -81623,8 +81911,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - *605 - - *446 - *445 + - *444 responses: '200': description: List of deployment protection rules @@ -81759,8 +82047,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - *605 - - *446 - *445 + - *444 requestBody: content: application/json: @@ -81819,8 +82107,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - *605 - - *446 - *445 + - *444 - *19 - *17 responses: @@ -81874,8 +82162,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: + - *444 - *445 - - *446 - *605 - &615 name: protection_rule_id @@ -81913,8 +82201,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - *605 - - *446 - *445 + - *444 - *615 responses: '204': @@ -81941,8 +82229,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: + - *444 - *445 - - *446 - *605 - *17 - *19 @@ -81961,9 +82249,9 @@ paths: type: integer secrets: type: array - items: *482 + items: *481 examples: - default: *483 + default: *482 headers: Link: *43 x-github: @@ -81988,17 +82276,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: + - *444 - *445 - - *446 - *605 responses: '200': description: Response content: application/json: - schema: *484 + schema: *483 examples: - default: *485 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82020,8 +82308,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: + - *444 - *445 - - *446 - *605 - *263 responses: @@ -82029,7 +82317,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *481 examples: default: *616 x-github: @@ -82053,8 +82341,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: + - *444 - *445 - - *446 - *605 - *263 requestBody: @@ -82113,8 +82401,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: + - *444 - *445 - - *446 - *605 - *263 responses: @@ -82141,10 +82429,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: + - *444 - *445 - - *446 - *605 - - *469 + - *468 - *19 responses: '200': @@ -82161,9 +82449,9 @@ paths: type: integer variables: type: array - items: *486 + items: *485 examples: - default: *487 + default: *486 headers: Link: *43 x-github: @@ -82186,8 +82474,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: + - *444 - *445 - - *446 - *605 requestBody: required: true @@ -82240,8 +82528,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: + - *444 - *445 - - *446 - *605 - *266 responses: @@ -82249,7 +82537,7 @@ paths: description: Response content: application/json: - schema: *486 + schema: *485 examples: default: *617 x-github: @@ -82272,8 +82560,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: + - *444 - *445 - - *446 - *266 - *605 requestBody: @@ -82317,8 +82605,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: + - *444 - *445 - - *446 - *266 - *605 responses: @@ -82342,8 +82630,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -82420,8 +82708,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: + - *444 - *445 - - *446 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -82580,8 +82868,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: + - *444 - *445 - - *446 requestBody: required: false content: @@ -82613,9 +82901,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *457 examples: - default: *460 + default: *459 '400': *14 '422': *15 '403': *29 @@ -82636,8 +82924,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -82722,8 +83010,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: + - *444 - *445 - - *446 - name: file_sha in: path required: true @@ -82822,8 +83110,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -83146,9 +83434,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: + - *444 - *445 - - *446 - - *565 + - *564 responses: '200': description: Response @@ -83210,8 +83498,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: + - *444 - *445 - - *446 - &620 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -83304,8 +83592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: + - *444 - *445 - - *446 - *620 responses: '200': @@ -83343,8 +83631,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -83401,8 +83689,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: + - *444 - *445 - - *446 - *620 requestBody: required: true @@ -83452,8 +83740,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: + - *444 - *445 - - *446 - *620 responses: '204': @@ -83509,8 +83797,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -83711,8 +83999,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: + - *444 - *445 - - *446 - name: tag_sha in: path required: true @@ -83749,8 +84037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -83919,8 +84207,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: + - *444 - *445 - - *446 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -84002,8 +84290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -84141,8 +84429,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: + - *444 - *445 - - *446 requestBody: required: false content: @@ -84244,9 +84532,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: + - *444 - *445 - - *446 - - *318 + - *317 responses: '200': description: Response @@ -84274,9 +84562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: + - *444 - *445 - - *446 - - *318 + - *317 requestBody: required: true content: @@ -84344,9 +84632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: + - *444 - *445 - - *446 - - *318 + - *317 responses: '204': description: Response @@ -84370,9 +84658,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: + - *444 - *445 - - *446 - - *318 + - *317 responses: '200': description: Response @@ -84399,9 +84687,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: + - *444 - *445 - - *446 - - *318 + - *317 requestBody: required: false content: @@ -84445,11 +84733,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: + - *444 - *445 - - *446 - - *318 + - *317 - *17 - - *319 + - *318 responses: '200': description: Response @@ -84457,9 +84745,9 @@ paths: application/json: schema: type: array - items: *320 + items: *319 examples: - default: *321 + default: *320 '400': *14 '422': *15 x-github: @@ -84478,18 +84766,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: + - *444 - *445 - - *446 - - *318 + - *317 - *16 responses: '200': description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '400': *14 '422': *15 x-github: @@ -84508,9 +84796,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: + - *444 - *445 - - *446 - - *318 + - *317 - *16 responses: '202': *39 @@ -84533,9 +84821,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: + - *444 - *445 - - *446 - - *318 + - *317 responses: '204': description: Response @@ -84560,9 +84848,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: + - *444 - *445 - - *446 - - *318 + - *317 responses: '204': description: Response @@ -84572,6 +84860,97 @@ paths: enabledForGitHubApps: true category: repos subcategory: webhooks + "/repos/{owner}/{repo}/immutable-releases": + get: + summary: Check if immutable releases are enabled for a repository + description: |- + Shows whether immutable releases are enabled or disabled. Also identifies whether immutability is being + enforced by the repository owner. The authenticated user must have admin read access to the repository. + tags: + - repos + operationId: repos/check-immutable-releases + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository + parameters: + - *444 + - *445 + responses: + '200': + description: Response if immutable releases are enabled + content: + application/json: + schema: + title: Check immutable releases + description: Check immutable releases + type: object + properties: + enabled: + type: boolean + example: true + description: Whether immutable releases are enabled for the repository. + enforced_by_owner: + type: boolean + example: false + description: Whether immutable releases are enforced by the repository + owner. + required: + - enabled + - enforced_by_owner + examples: + default: + value: + enabled: true + enforced_by_owner: false + '404': + description: Not Found if immutable releases are not enabled for the repository + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos + put: + summary: Enable immutable releases + description: Enables immutable releases for a repository. The authenticated + user must have admin access to the repository. + tags: + - repos + operationId: repos/enable-immutable-releases + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases + parameters: + - *444 + - *445 + responses: + '204': *133 + '409': *109 + 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: + - *444 + - *445 + responses: + '204': *133 + '409': *109 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos "/repos/{owner}/{repo}/import": get: summary: Get an import status @@ -84620,8 +84999,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: + - *444 - *445 - - *446 responses: '200': description: Response @@ -84771,8 +85150,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -84873,8 +85252,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: + - *444 - *445 - - *446 requestBody: required: false content: @@ -84994,8 +85373,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: + - *444 - *445 - - *446 responses: '204': description: Response @@ -85025,8 +85404,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: + - *444 - *445 - - *446 - &818 name: since description: A user ID. Only return users with an ID greater than this ID. @@ -85120,8 +85499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: + - *444 - *445 - - *446 - name: author_id in: path required: true @@ -85188,8 +85567,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: + - *444 - *445 - - *446 responses: '200': description: Response @@ -85258,8 +85637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -85313,8 +85692,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: + - *444 - *445 - - *446 responses: '200': description: Response @@ -85323,7 +85702,7 @@ paths: schema: *22 examples: default: *633 - '301': *459 + '301': *458 '404': *6 x-github: githubCloudOnly: false @@ -85343,8 +85722,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: + - *444 - *445 - - *446 responses: '200': description: Response @@ -85352,7 +85731,7 @@ paths: application/json: schema: anyOf: - - *336 + - *335 - type: object properties: {} additionalProperties: false @@ -85382,8 +85761,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -85400,7 +85779,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *335 examples: default: *635 '409': @@ -85424,8 +85803,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: + - *444 - *445 - - *446 responses: '204': description: Response @@ -85448,8 +85827,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -85592,9 +85971,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: + - *444 - *445 - - *446 - - *340 + - *339 requestBody: required: false content: @@ -85754,9 +86133,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: + - *444 - *445 - - *446 - - *340 + - *339 responses: '204': description: Response @@ -85787,8 +86166,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: + - *444 - *445 - - *446 - 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 @@ -85836,7 +86215,7 @@ paths: required: false schema: type: string - - *344 + - *343 - name: sort description: What to sort results by. in: query @@ -86009,7 +86388,7 @@ paths: state_reason: completed headers: Link: *43 - '301': *459 + '301': *458 '422': *15 '404': *6 x-github: @@ -86038,8 +86417,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -86279,7 +86658,7 @@ paths: '422': *15 '503': *167 '404': *6 - '410': *456 + '410': *455 x-github: triggersNotification: true githubCloudOnly: false @@ -86307,8 +86686,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: + - *444 - *445 - - *446 - *211 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -86389,8 +86768,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: + - *444 - *445 - - *446 - *200 responses: '200': @@ -86453,8 +86832,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: + - *444 - *445 - - *446 - *200 requestBody: required: true @@ -86497,8 +86876,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: + - *444 - *445 - - *446 - *200 responses: '204': @@ -86519,8 +86898,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: + - *444 - *445 - - *446 - *200 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -86547,9 +86926,9 @@ paths: application/json: schema: type: array - items: *434 + items: *433 examples: - default: *436 + default: *435 headers: Link: *43 '404': *6 @@ -86570,8 +86949,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: + - *444 - *445 - - *446 - *200 requestBody: required: true @@ -86604,16 +86983,16 @@ paths: description: Reaction exists content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 '201': description: Reaction created content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 '422': *15 x-github: githubCloudOnly: false @@ -86635,10 +87014,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: + - *444 - *445 - - *446 - *200 - - *437 + - *436 responses: '204': description: Response @@ -86658,8 +87037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -87020,8 +87399,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: + - *444 - *445 - - *446 - name: event_id in: path required: true @@ -87225,7 +87604,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *456 + '410': *455 '403': *29 x-github: githubCloudOnly: false @@ -87259,8 +87638,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: + - *444 - *445 - - *446 - &643 name: issue_number description: The number that identifies the issue. @@ -87276,9 +87655,9 @@ paths: schema: *201 examples: default: *642 - '301': *459 + '301': *458 '404': *6 - '410': *456 + '410': *455 '304': *37 x-github: githubCloudOnly: false @@ -87303,8 +87682,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: + - *444 - *445 - - *446 - *643 requestBody: required: false @@ -87415,9 +87794,9 @@ paths: '422': *15 '503': *167 '403': *29 - '301': *459 + '301': *458 '404': *6 - '410': *456 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87435,8 +87814,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: + - *444 - *445 - - *446 - *643 requestBody: required: false @@ -87481,8 +87860,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: + - *444 - *445 - - *446 - *643 requestBody: content: @@ -87532,8 +87911,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: + - *444 - *445 - - *446 - *643 - name: assignee in: path @@ -87574,8 +87953,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: + - *444 - *445 - - *446 - *643 - *191 - *17 @@ -87593,7 +87972,7 @@ paths: headers: Link: *43 '404': *6 - '410': *456 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87622,8 +88001,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: + - *444 - *445 - - *446 - *643 requestBody: required: true @@ -87655,7 +88034,7 @@ paths: schema: type: string '403': *29 - '410': *456 + '410': *455 '422': *15 '404': *6 x-github: @@ -87683,8 +88062,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: + - *444 - *445 - - *446 - *643 - *17 - *19 @@ -87700,9 +88079,9 @@ paths: default: *645 headers: Link: *43 - '301': *459 + '301': *458 '404': *6 - '410': *456 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87730,8 +88109,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: + - *444 - *445 - - *446 - *643 requestBody: required: true @@ -87762,9 +88141,9 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *459 + '301': *458 '403': *29 - '410': *456 + '410': *455 '422': *15 '404': *6 x-github: @@ -87795,8 +88174,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: + - *444 - *445 - - *446 - *643 - name: issue_id in: path @@ -87812,12 +88191,12 @@ paths: schema: *201 examples: default: *642 - '301': *459 + '301': *458 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *456 + '410': *455 x-github: triggersNotification: true githubCloudOnly: false @@ -87843,8 +88222,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: + - *444 - *445 - - *446 - *643 - *17 - *19 @@ -87860,9 +88239,9 @@ paths: default: *645 headers: Link: *43 - '301': *459 + '301': *458 '404': *6 - '410': *456 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87879,8 +88258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: + - *444 - *445 - - *446 - *643 - *17 - *19 @@ -88732,7 +89111,7 @@ paths: color: red headers: Link: *43 - '410': *456 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88749,8 +89128,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: + - *444 - *445 - - *446 - *643 - *17 - *19 @@ -88826,9 +89205,9 @@ paths: default: false headers: Link: *43 - '301': *459 + '301': *458 '404': *6 - '410': *456 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88845,8 +89224,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: + - *444 - *445 - - *446 - *643 requestBody: required: false @@ -88909,9 +89288,9 @@ paths: items: *646 examples: default: *647 - '301': *459 + '301': *458 '404': *6 - '410': *456 + '410': *455 '422': *15 x-github: githubCloudOnly: false @@ -88928,8 +89307,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: + - *444 - *445 - - *446 - *643 requestBody: required: false @@ -88993,9 +89372,9 @@ paths: items: *646 examples: default: *647 - '301': *459 + '301': *458 '404': *6 - '410': *456 + '410': *455 '422': *15 x-github: githubCloudOnly: false @@ -89012,15 +89391,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: + - *444 - *445 - - *446 - *643 responses: '204': description: Response - '301': *459 + '301': *458 '404': *6 - '410': *456 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89039,8 +89418,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: + - *444 - *445 - - *446 - *643 - name: name in: path @@ -89065,9 +89444,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *459 + '301': *458 '404': *6 - '410': *456 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89087,8 +89466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: + - *444 - *445 - - *446 - *643 requestBody: required: false @@ -89117,7 +89496,7 @@ paths: '204': description: Response '403': *29 - '410': *456 + '410': *455 '404': *6 '422': *15 x-github: @@ -89135,8 +89514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: + - *444 - *445 - - *446 - *643 responses: '204': @@ -89167,8 +89546,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: + - *444 - *445 - - *446 - *643 responses: '200': @@ -89178,9 +89557,9 @@ paths: schema: *201 examples: default: *642 - '301': *459 + '301': *458 '404': *6 - '410': *456 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89197,8 +89576,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: + - *444 - *445 - - *446 - *643 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -89225,13 +89604,13 @@ paths: application/json: schema: type: array - items: *434 + items: *433 examples: - default: *436 + default: *435 headers: Link: *43 '404': *6 - '410': *456 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89249,8 +89628,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: + - *444 - *445 - - *446 - *643 requestBody: required: true @@ -89283,16 +89662,16 @@ paths: description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 '201': description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 '422': *15 x-github: githubCloudOnly: false @@ -89314,10 +89693,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: + - *444 - *445 - - *446 - *643 - - *437 + - *436 responses: '204': description: Response @@ -89346,8 +89725,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: + - *444 - *445 - - *446 - *643 requestBody: required: true @@ -89405,8 +89784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: + - *444 - *445 - - *446 - *643 - *17 - *19 @@ -89423,7 +89802,7 @@ paths: headers: Link: *43 '404': *6 - '410': *456 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89451,8 +89830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: + - *444 - *445 - - *446 - *643 requestBody: required: true @@ -89489,7 +89868,7 @@ paths: schema: type: string '403': *29 - '410': *456 + '410': *455 '422': *15 '404': *6 x-github: @@ -89509,8 +89888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: + - *444 - *445 - - *446 - *643 requestBody: required: true @@ -89566,8 +89945,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: + - *444 - *445 - - *446 - *643 - *17 - *19 @@ -90113,7 +90492,7 @@ paths: type: string comments: type: array - items: *563 + items: *562 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -90402,7 +90781,7 @@ paths: headers: Link: *43 '404': *6 - '410': *456 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90419,8 +90798,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -90496,8 +90875,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -90569,8 +90948,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: + - *444 - *445 - - *446 - &663 name: key_id description: The unique identifier of the key. @@ -90603,8 +90982,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: + - *444 - *445 - - *446 - *663 responses: '204': @@ -90625,8 +91004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -90659,8 +91038,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -90730,8 +91109,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: + - *444 - *445 - - *446 - name: name in: path required: true @@ -90761,8 +91140,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: + - *444 - *445 - - *446 - name: name in: path required: true @@ -90827,8 +91206,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: + - *444 - *445 - - *446 - name: name in: path required: true @@ -90854,8 +91233,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: + - *444 - *445 - - *446 responses: '200': description: Response @@ -90891,8 +91270,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: + - *444 - *445 - - *446 responses: '202': *39 '403': @@ -90920,8 +91299,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: + - *444 - *445 - - *446 responses: '204': description: Response @@ -90947,9 +91326,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: + - *444 - *445 - - *446 - - *539 + - *538 responses: '200': description: Response @@ -91094,8 +91473,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: + - *444 - *445 - - *446 requestBody: required: true content: @@ -91160,8 +91539,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -91195,7 +91574,7 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *564 + schema: *563 examples: default: *665 '204': @@ -91222,8 +91601,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: + - *444 - *445 - - *446 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -91268,8 +91647,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *379 - required: *380 + properties: *378 + required: *379 examples: default: value: @@ -91325,8 +91704,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -91427,8 +91806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: + - *444 - *445 - - *446 - &668 name: milestone_number description: The number that identifies the milestone. @@ -91460,8 +91839,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: + - *444 - *445 - - *446 - *668 requestBody: required: false @@ -91518,8 +91897,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: + - *444 - *445 - - *446 - *668 responses: '204': @@ -91541,8 +91920,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: + - *444 - *445 - - *446 - *668 - *17 - *19 @@ -91574,8 +91953,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: + - *444 - *445 - - *446 - *669 - *670 - *191 @@ -91615,8 +91994,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: + - *444 - *445 - - *446 requestBody: required: false content: @@ -91674,8 +92053,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: + - *444 - *445 - - *446 responses: '200': description: Response @@ -91847,8 +92226,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -91927,8 +92306,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: + - *444 - *445 - - *446 requestBody: required: true content: @@ -92035,8 +92414,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: + - *444 - *445 - - *446 responses: '204': description: Response @@ -92062,8 +92441,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -92167,8 +92546,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: + - *444 - *445 - - *446 responses: '201': description: Response @@ -92213,8 +92592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: + - *444 - *445 - - *446 responses: '200': description: Response @@ -92270,8 +92649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: + - *444 - *445 - - *446 - name: build_id in: path required: true @@ -92304,8 +92683,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -92410,8 +92789,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: + - *444 - *445 - - *446 - &677 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit @@ -92470,8 +92849,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: + - *444 - *445 - - *446 - *677 responses: '204': *133 @@ -92499,8 +92878,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: + - *444 - *445 - - *446 responses: '200': description: Response @@ -92758,8 +93137,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: + - *444 - *445 - - *446 responses: '200': description: Private vulnerability reporting status @@ -92796,8 +93175,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: + - *444 - *445 - - *446 responses: '204': *133 '422': *14 @@ -92818,8 +93197,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: + - *444 - *445 - - *446 responses: '204': *133 '422': *14 @@ -92842,8 +93221,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects parameters: + - *444 - *445 - - *446 - name: state description: Indicates the state of the projects to return. in: query @@ -92864,7 +93243,7 @@ paths: application/json: schema: type: array - items: *373 + items: *372 examples: default: value: @@ -92904,7 +93283,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *456 + '410': *455 '422': *7 x-github: githubCloudOnly: false @@ -92927,8 +93306,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -92954,13 +93333,13 @@ paths: description: Response content: application/json: - schema: *373 + schema: *372 examples: - default: *455 + default: *454 '401': *25 '403': *29 '404': *6 - '410': *456 + '410': *455 '422': *7 x-github: githubCloudOnly: false @@ -92983,8 +93362,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: + - *444 - *445 - - *446 responses: '200': description: Response @@ -92992,7 +93371,7 @@ paths: application/json: schema: type: array - items: *388 + items: *387 examples: default: value: @@ -93023,8 +93402,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: + - *444 - *445 - - *446 requestBody: required: true content: @@ -93036,7 +93415,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *388 + items: *387 required: - properties examples: @@ -93086,8 +93465,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: + - *444 - *445 - - *446 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -93147,7 +93526,7 @@ paths: application/json: schema: type: array - items: *568 + items: *567 examples: default: *678 headers: @@ -93181,8 +93560,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -93358,8 +93737,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *379 - required: *380 + properties: *378 + required: *379 nullable: true active_lock_reason: type: string @@ -93404,7 +93783,7 @@ paths: nullable: true requested_teams: type: array - items: *412 + items: *411 nullable: true head: type: object @@ -93443,14 +93822,14 @@ paths: _links: type: object properties: - comments: *381 - commits: *381 - statuses: *381 - html: *381 - issue: *381 - review_comments: *381 - review_comment: *381 - self: *381 + comments: *380 + commits: *380 + statuses: *380 + html: *380 + issue: *380 + review_comments: *380 + review_comment: *380 + self: *380 required: - comments - commits @@ -94080,8 +94459,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: + - *444 - *445 - - *446 - name: sort in: query required: false @@ -94189,8 +94568,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: + - *444 - *445 - - *446 - *200 responses: '200': @@ -94274,8 +94653,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: + - *444 - *445 - - *446 - *200 requestBody: required: true @@ -94316,8 +94695,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: + - *444 - *445 - - *446 - *200 responses: '204': @@ -94339,8 +94718,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: + - *444 - *445 - - *446 - *200 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -94367,9 +94746,9 @@ paths: application/json: schema: type: array - items: *434 + items: *433 examples: - default: *436 + default: *435 headers: Link: *43 '404': *6 @@ -94390,8 +94769,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: + - *444 - *445 - - *446 - *200 requestBody: required: true @@ -94424,16 +94803,16 @@ paths: description: Reaction exists content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 '201': description: Reaction created content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 '422': *15 x-github: githubCloudOnly: false @@ -94455,10 +94834,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: + - *444 - *445 - - *446 - *200 - - *437 + - *436 responses: '204': description: Response @@ -94501,8 +94880,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: + - *444 - *445 - - *446 - &684 name: pull_number description: The number that identifies the pull request. @@ -94553,8 +94932,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: + - *444 - *445 - - *446 - *684 requestBody: required: false @@ -94621,8 +95000,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: + - *444 - *445 - - *446 - *684 requestBody: required: true @@ -94683,17 +95062,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *346 + schema: *345 examples: - default: *553 + default: *552 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *346 + schema: *345 examples: - default: *553 + default: *552 '401': *25 '403': *29 '404': *6 @@ -94723,8 +95102,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: + - *444 - *445 - - *446 - *684 - *211 - name: direction @@ -94781,8 +95160,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: + - *444 - *445 - - *446 - *684 requestBody: required: true @@ -94976,8 +95355,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: + - *444 - *445 - - *446 - *684 - *200 requestBody: @@ -95087,8 +95466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: + - *444 - *445 - - *446 - *684 - *17 - *19 @@ -95099,7 +95478,7 @@ paths: application/json: schema: type: array - items: *564 + items: *563 examples: default: *686 headers: @@ -95131,8 +95510,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: + - *444 - *445 - - *446 - *684 - *17 - *19 @@ -95143,7 +95522,7 @@ paths: application/json: schema: type: array - items: *577 + items: *576 examples: default: value: @@ -95181,8 +95560,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: + - *444 - *445 - - *446 - *684 responses: '204': @@ -95206,8 +95585,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: + - *444 - *445 - - *446 - *684 requestBody: required: false @@ -95319,8 +95698,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: + - *444 - *445 - - *446 - *684 responses: '200': @@ -95396,8 +95775,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: + - *444 - *445 - - *446 - *684 requestBody: required: false @@ -95435,7 +95814,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *567 examples: default: value: @@ -95971,8 +96350,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: + - *444 - *445 - - *446 - *684 requestBody: required: true @@ -96007,7 +96386,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *567 examples: default: value: @@ -96512,8 +96891,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: + - *444 - *445 - - *446 - *684 - *17 - *19 @@ -96675,8 +97054,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: + - *444 - *445 - - *446 - *684 requestBody: required: false @@ -96828,8 +97207,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: + - *444 - *445 - - *446 - *684 - &688 name: review_id @@ -96904,8 +97283,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: + - *444 - *445 - - *446 - *684 - *688 requestBody: @@ -96992,8 +97371,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: + - *444 - *445 - - *446 - *684 - *688 responses: @@ -97030,8 +97409,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: + - *444 - *445 - - *446 - *684 - *688 - *17 @@ -97116,9 +97495,9 @@ paths: _links: type: object properties: - self: *381 - html: *381 - pull_request: *381 + self: *380 + html: *380 + pull_request: *380 required: - self - html @@ -97268,8 +97647,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: + - *444 - *445 - - *446 - *684 - *688 requestBody: @@ -97362,8 +97741,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: + - *444 - *445 - - *446 - *684 - *688 requestBody: @@ -97424,8 +97803,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: + - *444 - *445 - - *446 - *684 requestBody: required: false @@ -97489,8 +97868,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: + - *444 - *445 - - *446 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -97547,8 +97926,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: + - *444 - *445 - - *446 - name: dir description: The alternate path to look for a README file in: path @@ -97592,8 +97971,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -97861,8 +98240,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -98045,8 +98424,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: + - *444 - *445 - - *446 - &695 name: asset_id description: The unique identifier of the asset. @@ -98096,7 +98475,7 @@ paths: type: User site_admin: false '404': *6 - '302': *579 + '302': *578 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98112,8 +98491,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: + - *444 - *445 - - *446 - *695 requestBody: required: false @@ -98160,8 +98539,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: + - *444 - *445 - - *446 - *695 responses: '204': @@ -98186,8 +98565,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: + - *444 - *445 - - *446 requestBody: required: true content: @@ -98272,8 +98651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: + - *444 - *445 - - *446 responses: '200': description: Response @@ -98298,8 +98677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: + - *444 - *445 - - *446 - name: tag description: tag parameter in: path @@ -98336,8 +98715,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: + - *444 - *445 - - *446 - &698 name: release_id description: The unique identifier of the release. @@ -98372,8 +98751,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: + - *444 - *445 - - *446 - *698 requestBody: required: false @@ -98461,8 +98840,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: + - *444 - *445 - - *446 - *698 responses: '204': @@ -98483,8 +98862,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: + - *444 - *445 - - *446 - *698 - *17 - *19 @@ -98577,8 +98956,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: + - *444 - *445 - - *446 - *698 - name: name in: query @@ -98660,8 +99039,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: + - *444 - *445 - - *446 - *698 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -98686,9 +99065,9 @@ paths: application/json: schema: type: array - items: *434 + items: *433 examples: - default: *436 + default: *435 headers: Link: *43 '404': *6 @@ -98709,8 +99088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: + - *444 - *445 - - *446 - *698 requestBody: required: true @@ -98741,16 +99120,16 @@ paths: description: Reaction exists content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 '201': description: Reaction created content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 '422': *15 x-github: githubCloudOnly: false @@ -98772,10 +99151,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: + - *444 - *445 - - *446 - *698 - - *437 + - *436 responses: '204': description: Response @@ -98799,9 +99178,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: + - *444 - *445 - - *446 - - *504 + - *503 - *17 - *19 responses: @@ -98938,8 +99317,8 @@ paths: category: repos subcategory: rules parameters: + - *444 - *445 - - *446 - *17 - *19 - name: includes_parents @@ -99005,8 +99384,8 @@ paths: category: repos subcategory: rules parameters: + - *444 - *445 - - *446 requestBody: description: Request body required: true @@ -99115,8 +99494,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: + - *444 - *445 - - *446 - *704 - *96 - *705 @@ -99151,8 +99530,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: + - *444 - *445 - - *446 - *709 responses: '200': @@ -99189,8 +99568,8 @@ paths: category: repos subcategory: rules parameters: + - *444 - *445 - - *446 - name: ruleset_id description: The ID of the ruleset. in: path @@ -99230,8 +99609,8 @@ paths: category: repos subcategory: rules parameters: + - *444 - *445 - - *446 - name: ruleset_id description: The ID of the ruleset. in: path @@ -99313,8 +99692,8 @@ paths: category: repos subcategory: rules parameters: + - *444 - *445 - - *446 - name: ruleset_id description: The ID of the ruleset. in: path @@ -99337,8 +99716,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: + - *444 - *445 - - *446 - *17 - *19 - name: ruleset_id @@ -99356,7 +99735,7 @@ paths: type: array items: *166 examples: - default: *397 + default: *396 '404': *6 '500': *40 x-github: @@ -99375,8 +99754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: + - *444 - *445 - - *446 - name: ruleset_id description: The ID of the ruleset. in: path @@ -99394,7 +99773,7 @@ paths: description: Response content: application/json: - schema: *398 + schema: *397 examples: default: value: @@ -99449,21 +99828,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: + - *444 - *445 - - *446 + - *398 - *399 - *400 - *401 - - *402 - *101 - *19 - *17 - *713 - *714 + - *402 - *403 - *404 - *405 - - *406 responses: '200': description: Response @@ -99593,6 +99972,13 @@ 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: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true examples: default: value: @@ -99685,6 +100071,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 @@ -99710,10 +100115,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: + - *444 - *445 - - *446 - - *533 - - *406 + - *532 + - *405 responses: '200': description: Response @@ -99771,9 +100176,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: + - *444 - *445 - - *446 - - *533 + - *532 requestBody: required: true content: @@ -99875,9 +100280,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: + - *444 - *445 - - *446 - - *533 + - *532 - *19 - *17 responses: @@ -100012,8 +100417,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: + - *444 - *445 - - *446 requestBody: required: true content: @@ -100088,8 +100493,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: + - *444 - *445 - - *446 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -100208,8 +100613,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: + - *444 - *445 - - *446 - *101 - name: sort description: The property to sort the results by. @@ -100278,8 +100683,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: + - *444 - *445 - - *446 requestBody: required: true content: @@ -100352,7 +100757,7 @@ paths: login: type: string description: The username of the user credited. - type: *411 + type: *410 required: - login - type @@ -100674,8 +101079,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: + - *444 - *445 - - *446 requestBody: required: true content: @@ -100926,8 +101331,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: + - *444 - *445 - - *446 - *737 responses: '200': @@ -100960,8 +101365,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: + - *444 - *445 - - *446 - *737 requestBody: required: true @@ -101035,7 +101440,7 @@ paths: login: type: string description: The username of the user credited. - type: *411 + type: *410 required: - login - type @@ -101162,8 +101567,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: + - *444 - *445 - - *446 - *737 responses: '202': *39 @@ -101191,17 +101596,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: + - *444 - *445 - - *446 - *737 responses: '202': description: Response content: application/json: - schema: *458 + schema: *457 examples: - default: *460 + default: *459 '400': *14 '422': *15 '403': *29 @@ -101227,8 +101632,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -101327,8 +101732,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: + - *444 - *445 - - *446 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -101370,8 +101775,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: + - *444 - *445 - - *446 responses: '200': description: Response @@ -101447,8 +101852,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: + - *444 - *445 - - *446 responses: '200': description: Response @@ -101544,8 +101949,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: + - *444 - *445 - - *446 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -101699,8 +102104,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: + - *444 - *445 - - *446 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -101743,8 +102148,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: + - *444 - *445 - - *446 - name: sha in: path required: true @@ -101852,8 +102257,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -101885,8 +102290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: + - *444 - *445 - - *446 responses: '200': description: if you subscribe to the repository @@ -101960,8 +102365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: + - *444 - *445 - - *446 requestBody: required: false content: @@ -102014,8 +102419,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: + - *444 - *445 - - *446 responses: '204': description: Response @@ -102035,8 +102440,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -102115,8 +102520,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: + - *444 - *445 - - *446 responses: '200': description: Response @@ -102176,8 +102581,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: + - *444 - *445 - - *446 requestBody: required: true content: @@ -102231,8 +102636,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: + - *444 - *445 - - *446 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -102269,8 +102674,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: + - *444 - *445 - - *446 - name: ref in: path required: true @@ -102306,8 +102711,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -102319,7 +102724,7 @@ paths: type: array items: *280 examples: - default: *356 + default: *355 headers: Link: *43 '404': *6 @@ -102339,8 +102744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: + - *444 - *445 - - *446 - *19 - *17 responses: @@ -102383,8 +102788,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -102438,8 +102843,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: + - *444 - *445 - - *446 - &745 name: per description: The time frame to display results for. @@ -102556,8 +102961,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: + - *444 - *445 - - *446 responses: '200': description: Response @@ -102647,8 +103052,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: + - *444 - *445 - - *446 responses: '200': description: Response @@ -102708,8 +103113,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: + - *444 - *445 - - *446 - *745 responses: '200': @@ -102806,8 +103211,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -103081,8 +103486,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: + - *444 - *445 - - *446 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -103105,8 +103510,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: + - *444 - *445 - - *446 responses: '204': description: Response @@ -103128,8 +103533,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: + - *444 - *445 - - *446 responses: '204': description: Response @@ -103155,8 +103560,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: + - *444 - *445 - - *446 - name: ref in: path required: true @@ -103248,9 +103653,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *457 examples: - default: *460 + default: *459 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105722,7 +106127,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *502 + properties: *501 nullable: true comment_count: type: integer @@ -105761,7 +106166,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *502 + properties: *501 nullable: true parents: type: array @@ -106080,8 +106485,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *379 - required: *380 + properties: *378 + required: *379 nullable: true comments: type: integer @@ -106139,7 +106544,7 @@ paths: timeline_url: type: string format: uri - type: *341 + type: *340 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -107381,9 +107786,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *425 examples: - default: *427 + default: *426 '404': *6 x-github: githubCloudOnly: false @@ -107473,16 +107878,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *426 + schema: *425 examples: - default: *427 + default: *426 '201': description: Response content: application/json: - schema: *426 + schema: *425 examples: - default: *427 + default: *426 '404': *6 '422': *15 '403': *29 @@ -107552,7 +107957,7 @@ paths: application/json: schema: type: array - items: *428 + items: *427 examples: default: *779 headers: @@ -107617,9 +108022,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *427 examples: - default: *429 + default: *428 x-github: triggersNotification: true githubCloudOnly: false @@ -107647,15 +108052,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - *778 - - *430 + - *429 responses: '200': description: Response content: application/json: - schema: *428 + schema: *427 examples: - default: *429 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107681,7 +108086,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - *778 - - *430 + - *429 requestBody: required: false content: @@ -107704,7 +108109,7 @@ paths: description: Response content: application/json: - schema: *428 + schema: *427 examples: default: *780 x-github: @@ -107732,7 +108137,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - *778 - - *430 + - *429 responses: '204': description: Response @@ -107762,7 +108167,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - *778 - - *430 + - *429 - *101 - *17 - *19 @@ -107773,7 +108178,7 @@ paths: application/json: schema: type: array - items: *431 + items: *430 examples: default: *781 headers: @@ -107805,7 +108210,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - *778 - - *430 + - *429 requestBody: required: true content: @@ -107827,9 +108232,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *430 examples: - default: *432 + default: *431 x-github: triggersNotification: true githubCloudOnly: false @@ -107857,16 +108262,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - *778 - - *430 - - *433 + - *429 + - *432 responses: '200': description: Response content: application/json: - schema: *431 + schema: *430 examples: - default: *432 + default: *431 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107892,8 +108297,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - *778 - - *430 - - *433 + - *429 + - *432 requestBody: required: true content: @@ -107915,7 +108320,7 @@ paths: description: Response content: application/json: - schema: *431 + schema: *430 examples: default: *782 x-github: @@ -107943,8 +108348,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - *778 - - *430 - - *433 + - *429 + - *432 responses: '204': description: Response @@ -107974,8 +108379,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - *778 - - *430 - - *433 + - *429 + - *432 - 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. @@ -108001,9 +108406,9 @@ paths: application/json: schema: type: array - items: *434 + items: *433 examples: - default: *436 + default: *435 headers: Link: *43 x-github: @@ -108033,8 +108438,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - *778 - - *430 - - *433 + - *429 + - *432 requestBody: required: true content: @@ -108066,9 +108471,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108095,7 +108500,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - *778 - - *430 + - *429 - 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. @@ -108121,9 +108526,9 @@ paths: application/json: schema: type: array - items: *434 + items: *433 examples: - default: *436 + default: *435 headers: Link: *43 x-github: @@ -108153,7 +108558,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - *778 - - *430 + - *429 requestBody: required: true content: @@ -108185,9 +108590,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108221,9 +108626,9 @@ paths: application/json: schema: type: array - items: *338 + items: *337 examples: - default: *339 + default: *338 headers: Link: *43 x-github: @@ -108421,7 +108826,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *441 examples: response-if-user-is-a-team-maintainer: *783 '404': *6 @@ -108482,7 +108887,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *441 examples: response-if-users-membership-with-team-is-now-pending: *784 '403': @@ -108557,7 +108962,7 @@ paths: application/json: schema: type: array - items: *443 + items: *442 examples: default: *785 headers: @@ -108586,13 +108991,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - *778 - - *444 + - *443 responses: '200': description: Response content: application/json: - schema: *443 + schema: *442 examples: default: *786 '404': @@ -108619,7 +109024,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - *778 - - *444 + - *443 requestBody: required: false content: @@ -108687,7 +109092,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - *778 - - *444 + - *443 responses: '204': description: Response @@ -108726,7 +109131,7 @@ paths: type: array items: *253 examples: - default: *363 + default: *362 headers: Link: *43 '404': *6 @@ -108757,8 +109162,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - *778 + - *444 - *445 - - *446 responses: '200': description: Alternative response with extra repository information @@ -108916,8 +109321,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - *778 + - *444 - *445 - - *446 requestBody: required: false content: @@ -108968,8 +109373,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - *778 + - *444 - *445 - - *446 responses: '204': description: Response @@ -109004,9 +109409,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *446 examples: - default: *448 + default: *447 '403': *29 '404': *6 x-github: @@ -109090,7 +109495,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *446 examples: default: value: @@ -109725,9 +110130,9 @@ paths: type: integer codespaces: type: array - items: *346 + items: *345 examples: - default: *347 + default: *346 '304': *37 '500': *40 '401': *25 @@ -109866,17 +110271,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *346 + schema: *345 examples: - default: *553 + default: *552 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *346 + schema: *345 examples: - default: *553 + default: *552 '401': *25 '403': *29 '404': *6 @@ -109960,7 +110365,7 @@ paths: - visibility - selected_repositories_url examples: - default: *556 + default: *555 headers: Link: *43 x-github: @@ -110326,15 +110731,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: - - *348 + - *347 responses: '200': description: Response content: application/json: - schema: *346 + schema: *345 examples: - default: *553 + default: *552 '304': *37 '500': *40 '401': *25 @@ -110360,7 +110765,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: - - *348 + - *347 requestBody: required: false content: @@ -110390,9 +110795,9 @@ paths: description: Response content: application/json: - schema: *346 + schema: *345 examples: - default: *553 + default: *552 '401': *25 '403': *29 '404': *6 @@ -110414,7 +110819,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: - - *348 + - *347 responses: '202': *39 '304': *37 @@ -110443,7 +110848,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: - - *348 + - *347 responses: '202': description: Response @@ -110522,7 +110927,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *348 + - *347 - name: export_id in: path required: true @@ -110558,7 +110963,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *348 + - *347 responses: '200': description: Response @@ -110605,7 +111010,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: - - *348 + - *347 requestBody: required: true content: @@ -110655,13 +111060,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *458 + repository: *457 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *554 - required: *555 + properties: *553 + required: *554 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -111435,15 +111840,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: - - *348 + - *347 responses: '200': description: Response content: application/json: - schema: *346 + schema: *345 examples: - default: *553 + default: *552 '304': *37 '500': *40 '400': *14 @@ -111475,15 +111880,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: - - *348 + - *347 responses: '200': description: Response content: application/json: - schema: *346 + schema: *345 examples: - default: *553 + default: *552 '500': *40 '401': *25 '403': *29 @@ -111513,7 +111918,7 @@ paths: application/json: schema: type: array - items: *357 + items: *356 examples: default: &808 value: @@ -112602,12 +113007,12 @@ paths: application/json: schema: anyOf: - - *336 + - *335 - type: object properties: {} additionalProperties: false examples: - default: *337 + default: *336 '204': description: Response when there are no restrictions x-github: @@ -112642,7 +113047,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *335 examples: default: value: @@ -112723,7 +113128,7 @@ paths: - closed - all default: open - - *344 + - *343 - name: sort description: What to sort results by. in: query @@ -112748,7 +113153,7 @@ paths: type: array items: *201 examples: - default: *345 + default: *344 headers: Link: *43 '404': *6 @@ -113153,7 +113558,7 @@ paths: application/json: schema: type: array - items: *349 + items: *348 examples: default: value: @@ -113261,7 +113666,7 @@ paths: description: Response content: application/json: - schema: *349 + schema: *348 examples: default: value: @@ -113344,7 +113749,7 @@ paths: description: Response content: application/json: - schema: *349 + schema: *348 examples: default: value: @@ -113412,7 +113817,7 @@ paths: application/json: schema: type: array - items: *351 + items: *350 examples: default: value: @@ -113665,7 +114070,7 @@ paths: description: Response content: application/json: - schema: *351 + schema: *350 examples: default: value: @@ -113845,7 +114250,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *352 + - *351 - name: exclude in: query required: false @@ -113858,7 +114263,7 @@ paths: description: Response content: application/json: - schema: *351 + schema: *350 examples: default: value: @@ -114052,7 +114457,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *352 + - *351 responses: '302': description: Response @@ -114078,7 +114483,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *352 + - *351 responses: '204': description: Response @@ -114107,7 +114512,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *352 + - *351 - *805 responses: '204': @@ -114132,7 +114537,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *352 + - *351 - *17 - *19 responses: @@ -114144,7 +114549,7 @@ paths: type: array items: *253 examples: - default: *363 + default: *362 headers: Link: *43 '404': *6 @@ -114233,7 +114638,7 @@ paths: application/json: schema: type: array - items: *357 + items: *356 examples: default: *808 '400': *809 @@ -114256,14 +114661,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: + - *358 - *359 - - *360 responses: '200': description: Response content: application/json: - schema: *357 + schema: *356 examples: default: &825 value: @@ -114378,8 +114783,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: + - *358 - *359 - - *360 responses: '204': description: Response @@ -114409,8 +114814,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: + - *358 - *359 - - *360 - name: token description: package token schema: @@ -114442,8 +114847,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: + - *358 - *359 - - *360 - *19 - *17 - name: state @@ -114463,7 +114868,7 @@ paths: application/json: schema: type: array - items: *361 + items: *360 examples: default: value: @@ -114512,15 +114917,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: + - *358 - *359 - - *360 - - *362 + - *361 responses: '200': description: Response content: application/json: - schema: *361 + schema: *360 examples: default: value: @@ -114556,9 +114961,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: + - *358 - *359 - - *360 - - *362 + - *361 responses: '204': description: Response @@ -114588,9 +114993,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: + - *358 - *359 - - *360 - - *362 + - *361 responses: '204': description: Response @@ -114646,7 +115051,7 @@ paths: description: Response content: application/json: - schema: *373 + schema: *372 examples: default: value: @@ -115137,9 +115542,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *457 examples: - default: *460 + default: *459 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -115202,7 +115607,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *340 + - *339 responses: '204': description: Response @@ -115225,7 +115630,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *340 + - *339 responses: '204': description: Response @@ -115794,8 +116199,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: + - *444 - *445 - - *446 responses: '204': description: Response if this repository is starred by you @@ -115823,8 +116228,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: + - *444 - *445 - - *446 responses: '204': description: Response @@ -115848,8 +116253,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: + - *444 - *445 - - *446 responses: '204': description: Response @@ -115884,7 +116289,7 @@ paths: type: array items: *253 examples: - default: *363 + default: *362 headers: Link: *43 '304': *37 @@ -115921,7 +116326,7 @@ paths: application/json: schema: type: array - items: *426 + items: *425 examples: default: value: @@ -116465,7 +116870,7 @@ paths: initiator: type: string examples: - default: *498 + default: *497 '201': description: Response content: @@ -116504,7 +116909,7 @@ paths: application/json: schema: type: array - items: *357 + items: *356 examples: default: *808 '403': *29 @@ -117151,7 +117556,7 @@ paths: application/json: schema: type: array - items: *357 + items: *356 examples: default: *808 '403': *29 @@ -117176,15 +117581,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: + - *358 - *359 - - *360 - *182 responses: '200': description: Response content: application/json: - schema: *357 + schema: *356 examples: default: *825 x-github: @@ -117207,8 +117612,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: + - *358 - *359 - - *360 - *182 responses: '204': @@ -117241,8 +117646,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: + - *358 - *359 - - *360 - *182 - name: token description: package token @@ -117275,8 +117680,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: + - *358 - *359 - - *360 - *182 responses: '200': @@ -117285,7 +117690,7 @@ paths: application/json: schema: type: array - items: *361 + items: *360 examples: default: value: @@ -117343,16 +117748,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: + - *358 - *359 - - *360 - - *362 + - *361 - *182 responses: '200': description: Response content: application/json: - schema: *361 + schema: *360 examples: default: value: @@ -117387,10 +117792,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: + - *358 - *359 - - *360 - *182 - - *362 + - *361 responses: '204': description: Response @@ -117422,10 +117827,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: + - *358 - *359 - - *360 - *182 - - *362 + - *361 responses: '204': description: Response @@ -117472,7 +117877,7 @@ paths: application/json: schema: type: array - items: *373 + items: *372 examples: default: value: @@ -117547,9 +117952,9 @@ paths: application/json: schema: type: array - items: *374 + items: *373 examples: - default: *375 + default: *374 headers: Link: *43 '304': *37 @@ -117571,16 +117976,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *376 + - *375 - *182 responses: '200': description: Response content: application/json: - schema: *374 + schema: *373 examples: - default: *375 + default: *374 headers: Link: *43 '304': *37 @@ -117602,7 +118007,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *376 + - *375 - *182 - *17 - *99 @@ -117614,9 +118019,9 @@ paths: application/json: schema: type: array - items: *377 + items: *376 examples: - default: *378 + default: *377 headers: Link: *43 '304': *37 @@ -117638,7 +118043,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *376 + - *375 - *826 - *182 responses: @@ -117646,9 +118051,9 @@ paths: description: Response content: application/json: - schema: *377 + schema: *376 examples: - default: *378 + default: *377 headers: Link: *43 '304': *37 @@ -117671,7 +118076,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: - - *376 + - *375 - *182 - *99 - *100 @@ -117701,9 +118106,9 @@ paths: application/json: schema: type: array - items: *384 + items: *383 examples: - default: *385 + default: *384 headers: Link: *43 '304': *37 @@ -117725,7 +118130,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *182 - - *376 + - *375 requestBody: required: true description: Details of the item to add to the project. @@ -117764,8 +118169,8 @@ paths: application/json: schema: *827 examples: - issue: *383 - pull_request: *383 + issue: *382 + pull_request: *382 '304': *37 '403': *29 '401': *25 @@ -117785,9 +118190,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: - - *376 + - *375 - *182 - - *386 + - *385 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -117804,9 +118209,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *383 examples: - default: *385 + default: *384 headers: Link: *43 '304': *37 @@ -117827,9 +118232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *376 + - *375 - *182 - - *386 + - *385 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -117899,13 +118304,13 @@ paths: description: Response content: application/json: - schema: *384 + schema: *383 examples: - text_field: *385 - number_field: *385 - date_field: *385 - single_select_field: *385 - iteration_field: *385 + text_field: *384 + number_field: *384 + date_field: *384 + single_select_field: *384 + iteration_field: *384 '401': *25 '403': *29 '404': *6 @@ -117925,9 +118330,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *376 + - *375 - *182 - - *386 + - *385 responses: '204': description: Response @@ -118175,7 +118580,7 @@ paths: type: array items: *253 examples: - default: *363 + default: *362 headers: Link: *43 x-github: @@ -118205,9 +118610,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *412 examples: - default: *414 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118235,9 +118640,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118395,9 +118800,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *419 examples: - default: *421 + default: *420 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118626,7 +119031,7 @@ paths: type: array items: *253 examples: - default: *363 + default: *362 headers: Link: *43 x-github: @@ -121387,7 +121792,7 @@ x-webhooks: type: string pull_requests: type: array - items: *515 + items: *514 repository: *253 status: example: completed @@ -121475,7 +121880,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *515 + items: *514 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -125205,7 +125610,7 @@ x-webhooks: required: - login - id - dismissed_comment: *528 + dismissed_comment: *527 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -125528,7 +125933,7 @@ x-webhooks: required: - login - id - dismissed_comment: *528 + dismissed_comment: *527 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -125858,7 +126263,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *528 + dismissed_comment: *527 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -126200,7 +126605,7 @@ x-webhooks: required: - login - id - dismissed_comment: *528 + dismissed_comment: *527 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -126471,7 +126876,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *528 + dismissed_comment: *527 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -126745,7 +127150,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *528 + dismissed_comment: *527 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -127668,11 +128073,11 @@ x-webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *388 + items: *387 old_property_values: type: array description: The old custom property values for the repository. - items: *388 + items: *387 required: - action - repository @@ -139605,7 +140010,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *341 + type: *340 updated_at: type: string format: date-time @@ -140992,7 +141397,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *341 + type: *340 updated_at: type: string format: date-time @@ -142232,7 +142637,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *341 + type: *340 updated_at: type: string format: date-time @@ -143842,7 +144247,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *341 + type: *340 updated_at: type: string format: date-time @@ -144839,7 +145244,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *341 + type: *340 updated_at: type: string format: date-time @@ -145961,7 +146366,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *341 + type: *340 updated_at: type: string format: date-time @@ -146969,7 +147374,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *341 + type: *340 updated_at: type: string format: date-time @@ -148093,7 +148498,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *341 + type: *340 title: description: Title of the issue type: string @@ -149085,7 +149490,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *341 + type: *340 title: description: Title of the issue type: string @@ -150101,7 +150506,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *341 + type: *340 title: description: Title of the issue type: string @@ -151089,7 +151494,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *341 + type: *340 updated_at: type: string format: date-time @@ -152134,7 +152539,7 @@ x-webhooks: required: - login - id - type: *341 + type: *340 required: - id - number @@ -153413,7 +153818,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *341 + type: *340 updated_at: type: string format: date-time @@ -154399,7 +154804,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *341 + type: *340 updated_at: type: string format: date-time @@ -155488,7 +155893,7 @@ x-webhooks: format: uri user_view_type: type: string - type: *341 + type: *340 organization: *833 repository: *834 sender: *4 @@ -156376,7 +156781,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *341 + type: *340 updated_at: type: string format: date-time @@ -157031,7 +157436,7 @@ x-webhooks: enterprise: *831 installation: *832 issue: *865 - type: *341 + type: *340 organization: *833 repository: *834 sender: *4 @@ -158183,7 +158588,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *341 + type: *340 updated_at: type: string format: date-time @@ -158428,7 +158833,7 @@ x-webhooks: enterprise: *831 installation: *832 issue: *865 - type: *341 + type: *340 organization: *833 repository: *834 sender: *4 @@ -166131,7 +166536,7 @@ x-webhooks: - closed installation: *832 organization: *833 - projects_v2: *374 + projects_v2: *373 sender: *4 required: - action @@ -166214,7 +166619,7 @@ x-webhooks: - created installation: *832 organization: *833 - projects_v2: *374 + projects_v2: *373 sender: *4 required: - action @@ -166297,7 +166702,7 @@ x-webhooks: - deleted installation: *832 organization: *833 - projects_v2: *374 + projects_v2: *373 sender: *4 required: - action @@ -166416,7 +166821,7 @@ x-webhooks: type: string installation: *832 organization: *833 - projects_v2: *374 + projects_v2: *373 sender: *4 required: - action @@ -166533,7 +166938,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *382 + content_type: *381 creator: *4 created_at: type: string @@ -167267,7 +167672,7 @@ x-webhooks: - reopened installation: *832 organization: *833 - projects_v2: *374 + projects_v2: *373 sender: *4 required: - action @@ -231377,6 +231782,13 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true + assigned_to: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true enterprise: *831 installation: *832 organization: *833 @@ -232611,11 +233023,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *391 + security_and_analysis: *390 enterprise: *831 installation: *832 organization: *833 - repository: *458 + repository: *457 sender: *4 required: - changes diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index c04e8687c3..87357c5b6d 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -54530,6 +54530,131 @@ "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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } } @@ -54697,7 +54822,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 + } } ] } @@ -128627,7 +128772,7 @@ { "name": "has", "in": "query", - "description": "Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple `has` filters can be passed to filter for alerts that have all of the values. Currently, only `patch` is supported.", + "description": "Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple `has` filters can be passed to filter for alerts that have all of the values.", "schema": { "oneOf": [ { @@ -128638,13 +128783,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", @@ -203765,6 +203919,131 @@ "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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } } @@ -203932,7 +204211,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 + } } ] } @@ -207583,6 +207882,1146 @@ } } }, + "/orgs/{org}/settings/immutable-releases": { + "get": { + "summary": "Get immutable releases settings for an organization", + "description": "Gets the immutable releases policy for repositories in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-immutable-releases-settings", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-immutable-releases-settings-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Immutable releases settings response", + "content": { + "application/json": { + "schema": { + "title": "Check immutable releases organization settings", + "description": "Check immutable releases settings for an organization.", + "type": "object", + "properties": { + "enforced_repositories": { + "type": "string", + "description": "The policy that controls how immutable releases are enforced in the organization.", + "enum": [ + "all", + "none", + "selected" + ], + "example": "all" + }, + "selected_repositories_url": { + "type": "string", + "description": "The API URL to use to get or set the selected repositories for immutable releases enforcement, when `enforced_repositories` is set to `selected`." + } + }, + "required": [ + "enforced_repositories" + ] + }, + "examples": { + "default": { + "value": { + "enforced_repositories": "all" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "put": { + "summary": "Set immutable releases settings for an organization", + "description": "Sets the immutable releases policy for repositories in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/set-immutable-releases-settings", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#set-immutable-releases-settings-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enforced_repositories": { + "type": "string", + "description": "The policy that controls how immutable releases are enforced in the organization.", + "enum": [ + "all", + "none", + "selected" + ], + "example": "all" + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids for which immutable releases enforcement should be applied. You can only provide a list of repository ids when the `enforced_repositories` is set to `selected`. You can add and remove individual repositories using the [Enable a selected repository for immutable releases in an organization](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) and [Disable a selected repository for immutable releases in an organization](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "enforced_repositories" + ] + }, + "examples": { + "default": { + "value": { + "enforced_repositories": "all" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/settings/immutable-releases/repositories": { + "get": { + "summary": "List selected repositories for immutable releases enforcement", + "description": "List all of the repositories that have been selected for immutable releases enforcement in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-immutable-releases-settings-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "repositories" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "title": "Minimal Repository", + "description": "Minimal Repository", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "example": 1296269 + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "type": "string", + "example": "Hello-World" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "has_discussions": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "example": "admin" + }, + "temp_clone_token": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "code_of_conduct": { + "title": "Code Of Conduct", + "description": "Code Of Conduct", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "contributor_covenant" + }, + "name": { + "type": "string", + "example": "Contributor Covenant" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/codes_of_conduct/contributor_covenant" + }, + "body": { + "type": "string", + "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/).\n" + }, + "html_url": { + "type": "string", + "format": "uri", + "nullable": true + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "node_id": { + "type": "string" + } + }, + "nullable": true + }, + "forks": { + "type": "integer", + "example": 0 + }, + "open_issues": { + "type": "integer", + "example": 0 + }, + "watchers": { + "type": "integer", + "example": 0 + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "example": false + }, + "security_and_analysis": { + "nullable": true, + "type": "object", + "properties": { + "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "code_security": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "dependabot_security_updates": { + "description": "Enable or disable Dependabot security updates for the repository.", + "type": "object", + "properties": { + "status": { + "description": "The enablement status of Dependabot security updates for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_push_protection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_non_provider_patterns": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_ai_detection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_validity_checks": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + } + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "repositories": [ + { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "put": { + "summary": "Set selected repositories for immutable releases enforcement", + "description": "Replaces all repositories that have been selected for immutable releases enforcement in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/set-immutable-releases-settings-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids for which immutable releases enforcement should be applied. You can only provide a list of repository ids when the `enforced_repositories` is set to `selected`. You can add and remove individual repositories using the [Enable a selected repository for immutable releases in an organization](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) and [Disable a selected repository for immutable releases in an organization](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 64780797 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/settings/immutable-releases/repositories/{repository_id}": { + "put": { + "summary": "Enable a selected repository for immutable releases in an organization", + "description": "Adds a repository to the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "operationId": "orgs/enable-selected-repository-immutable-releases-organization", + "tags": [ + "orgs" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "description": "The unique identifier of the repository.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "delete": { + "summary": "Disable a selected repository for immutable releases in an organization", + "description": "Removes a repository from the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "operationId": "orgs/disable-selected-repository-immutable-releases-organization", + "tags": [ + "orgs" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "description": "The unique identifier of the repository.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, "/orgs/{org}/settings/network-configurations": { "get": { "summary": "List hosted compute network configurations for an organization", @@ -364019,17 +365458,97 @@ } } }, - "/repos/{owner}/{repo}/hooks/{hook_id}/tests": { - "post": { - "summary": "Test the push repository webhook", - "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n> [!NOTE]\n> Previously `/repos/:owner/:repo/hooks/:hook_id/test`", + "/repos/{owner}/{repo}/hooks/{hook_id}/tests": { + "post": { + "summary": "Test the push repository webhook", + "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n> [!NOTE]\n> Previously `/repos/:owner/:repo/hooks/:hook_id/test`", + "tags": [ + "repos" + ], + "operationId": "repos/test-push-webhook", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook" + }, + "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" + } + }, + { + "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.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "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\nenforced by the repository owner. The authenticated user must have admin read access to the repository.", "tags": [ "repos" ], - "operationId": "repos/test-push-webhook", + "operationId": "repos/check-immutable-releases", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository" }, "parameters": [ { @@ -364049,23 +365568,93 @@ "schema": { "type": "string" } + } + ], + "responses": { + "200": { + "description": "Response if immutable releases are enabled", + "content": { + "application/json": { + "schema": { + "title": "Check immutable releases", + "description": "Check immutable releases", + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "example": true, + "description": "Whether immutable releases are enabled for the repository." + }, + "enforced_by_owner": { + "type": "boolean", + "example": false, + "description": "Whether immutable releases are enforced by the repository owner." + } + }, + "required": [ + "enabled", + "enforced_by_owner" + ] + }, + "examples": { + "default": { + "value": { + "enabled": true, + "enforced_by_owner": false + } + } + } + } + } }, + "404": { + "description": "Not Found if immutable releases are not enabled for the repository" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "repos" + } + }, + "put": { + "summary": "Enable immutable releases", + "description": "Enables immutable releases for a repository. The authenticated user must have admin access to the repository.", + "tags": [ + "repos" + ], + "operationId": "repos/enable-immutable-releases", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases" + }, + "parameters": [ { - "name": "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.", + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", "in": "path", "required": true, "schema": { - "type": "integer" + "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": "Response" + "description": "A header with no content is returned." }, - "404": { - "description": "Resource not found", + "409": { + "description": "Conflict", "content": { "application/json": { "schema": { @@ -364095,7 +365684,76 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "repos", - "subcategory": "webhooks" + "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" } } }, @@ -512154,6 +513812,131 @@ "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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } } @@ -512254,7 +514037,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 + } } ] } @@ -513147,6 +514950,131 @@ "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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } }, @@ -514105,6 +516033,131 @@ "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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } }, @@ -1260934,165 +1262987,316 @@ ], "nullable": true }, - "resolution_comment": { + "resolution_comment": { + "type": "string", + "description": "An optional comment to resolve an alert.", + "nullable": true + }, + "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", + "description": "Whether push protection was bypassed for the detected secret.", + "nullable": true + }, + "push_protection_bypassed_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypassed_at": { + "type": "string", + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "nullable": true + }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_reviewer_comment": { "type": "string", - "description": "An optional comment to resolve an alert.", + "description": "An optional comment when reviewing a push protection bypass.", "nullable": true }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { + "push_protection_bypass_request_comment": { "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).\"" + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true }, - "validity": { + "push_protection_bypass_request_html_url": { "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "push_protection_bypassed": { - "type": "boolean", - "description": "Whether push protection was bypassed for the detected secret.", + "format": "uri", + "description": "The URL to a push protection bypass request.", "nullable": true }, - "push_protection_bypassed_by": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", "nullable": true }, - "push_protection_bypassed_at": { - "type": "string", - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", "nullable": true }, - "push_protection_bypass_request_reviewer": { + "assigned_to": { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -1261216,32 +1263420,6 @@ "url" ], "nullable": true - }, - "push_protection_bypass_request_reviewer_comment": { - "type": "string", - "description": "An optional comment when reviewing a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_comment": { - "type": "string", - "description": "An optional comment when requesting a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_html_url": { - "type": "string", - "format": "uri", - "description": "The URL to a push protection bypass request.", - "nullable": true - }, - "publicly_leaked": { - "type": "boolean", - "description": "Whether the detected secret was publicly leaked.", - "nullable": true - }, - "multi_repo": { - "type": "boolean", - "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", - "nullable": true } } }, @@ -1263345,6 +1265523,131 @@ "type": "boolean", "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", "nullable": true + }, + "assigned_to": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } }, @@ -1265864,6 +1268167,131 @@ "type": "boolean", "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", "nullable": true + }, + "assigned_to": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } }, @@ -1267941,32 +1270369,157 @@ "url" ], "nullable": true - }, - "push_protection_bypass_request_reviewer_comment": { - "type": "string", - "description": "An optional comment when reviewing a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_comment": { - "type": "string", - "description": "An optional comment when requesting a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_html_url": { - "type": "string", - "format": "uri", - "description": "The URL to a push protection bypass request.", - "nullable": true - }, - "publicly_leaked": { - "type": "boolean", - "description": "Whether the detected secret was publicly leaked.", - "nullable": true - }, - "multi_repo": { - "type": "boolean", - "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", - "nullable": true + }, + "push_protection_bypass_request_reviewer_comment": { + "type": "string", + "description": "An optional comment when reviewing a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", + "nullable": true + }, + "assigned_to": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } }, @@ -1270070,6 +1272623,131 @@ "type": "boolean", "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", "nullable": true + }, + "assigned_to": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } }, @@ -1272173,6 +1274851,131 @@ "type": "boolean", "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", "nullable": true + }, + "assigned_to": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true } } }, diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index f90bd96d41..3e7188e196 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -863,7 +863,7 @@ paths: - subscriptions_url - type - url - type: &411 + type: &410 type: string description: The type of credit the user is receiving. enum: @@ -1585,7 +1585,7 @@ paths: schema: type: integer default: 30 - - &319 + - &318 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1601,7 +1601,7 @@ paths: application/json: schema: type: array - items: &320 + items: &319 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1681,7 +1681,7 @@ paths: - installation_id - repository_id examples: - default: &321 + default: &320 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1809,7 +1809,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &321 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1923,7 +1923,7 @@ paths: - request - response examples: - default: &323 + default: &322 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2872,7 +2872,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &389 + properties: &388 id: description: Unique identifier of the repository example: 42 @@ -3310,7 +3310,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &390 + required: &389 - archive_url - assignees_url - blobs_url @@ -12575,7 +12575,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &526 + instances_url: &525 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -12610,7 +12610,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &527 + dismissed_reason: &526 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -12619,13 +12619,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &528 + dismissed_comment: &527 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &529 + rule: &528 type: object properties: id: @@ -12678,7 +12678,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &530 + tool: &529 type: object properties: name: *102 @@ -12688,15 +12688,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *103 - most_recent_instance: &531 + most_recent_instance: &530 type: object properties: - ref: &524 + ref: &523 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &541 + analysis_key: &540 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -12707,7 +12707,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &542 + category: &541 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -15045,7 +15045,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &354 + properties: &353 id: description: Unique identifier of the team type: integer @@ -15117,7 +15117,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &355 + required: &354 - id - node_id - url @@ -16190,7 +16190,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 - - &306 + - &580 name: has in: query description: |- @@ -16204,7 +16204,7 @@ paths: type: string enum: - patch - - &307 + - &306 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -16214,7 +16214,7 @@ paths: enum: - development - runtime - - &308 + - &307 name: sort in: query description: |- @@ -16232,7 +16232,7 @@ paths: - *101 - *99 - *100 - - &309 + - &308 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -16245,7 +16245,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &310 + - &309 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -16265,7 +16265,7 @@ paths: application/json: schema: type: array - items: &311 + items: &310 type: object description: A Dependabot alert. properties: @@ -16586,7 +16586,7 @@ paths: - repository additionalProperties: false examples: - default: &312 + default: &311 value: - number: 2 state: dismissed @@ -17110,7 +17110,7 @@ paths: - name - created_on examples: - default: &422 + default: &421 value: total_count: 2 network_configurations: @@ -17333,7 +17333,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *41 - - &423 + - &422 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -17345,7 +17345,7 @@ paths: description: Response content: application/json: - schema: &424 + schema: &423 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -17379,7 +17379,7 @@ paths: - subnet_id - region examples: - default: &425 + default: &424 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -17675,7 +17675,7 @@ paths: required: true content: application/json: - schema: &387 + schema: &386 title: Custom Property Set Payload description: Custom property set payload type: object @@ -18739,7 +18739,7 @@ paths: nullable: true anyOf: - *136 - - &394 + - &393 title: Organization ruleset conditions type: object description: |- @@ -19145,7 +19145,7 @@ paths: type: string format: date-time examples: - default: &397 + default: &396 value: - version_id: 3 actor: @@ -19198,7 +19198,7 @@ paths: description: Response content: application/json: - schema: &398 + schema: &397 allOf: - *166 - type: object @@ -19253,7 +19253,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &399 + - &398 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -19264,7 +19264,7 @@ paths: enum: - open - resolved - - &400 + - &399 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -19274,7 +19274,7 @@ paths: required: false schema: type: string - - &401 + - &400 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -19283,7 +19283,7 @@ paths: required: false schema: type: string - - &402 + - &401 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. @@ -19299,7 +19299,7 @@ paths: - *17 - *99 - *100 - - &403 + - &402 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -19308,7 +19308,7 @@ paths: required: false schema: type: string - - &404 + - &403 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -19317,7 +19317,7 @@ paths: schema: type: boolean default: false - - &405 + - &404 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -19326,7 +19326,7 @@ paths: schema: type: boolean default: false - - &406 + - &405 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -19342,7 +19342,7 @@ paths: application/json: schema: type: array - items: &407 + items: &406 type: object properties: number: *113 @@ -19742,8 +19742,15 @@ 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: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true examples: - default: &408 + default: &407 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -19899,6 +19906,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: *43 '404': *6 @@ -19933,7 +19959,7 @@ paths: description: Response content: application/json: - schema: &409 + schema: &408 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -20016,7 +20042,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *168 examples: - default: &410 + default: &409 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -20160,7 +20186,7 @@ paths: description: Response content: application/json: - schema: &413 + schema: &412 type: object properties: total_minutes_used: @@ -20230,7 +20256,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &414 + default: &413 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -20261,7 +20287,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &415 + - &414 name: advanced_security_product in: query description: | @@ -20281,7 +20307,7 @@ paths: description: Success content: application/json: - schema: &416 + schema: &415 type: object properties: total_advanced_security_committers: @@ -20336,7 +20362,7 @@ paths: required: - repositories examples: - default: &417 + default: &416 value: total_advanced_security_committers: 2 total_count: 2 @@ -20946,7 +20972,7 @@ paths: description: Response content: application/json: - schema: &418 + schema: &417 type: object properties: total_gigabytes_bandwidth_used: @@ -20964,7 +20990,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &419 + default: &418 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -21205,7 +21231,7 @@ paths: description: Response content: application/json: - schema: &420 + schema: &419 type: object properties: days_left_in_billing_cycle: @@ -21223,7 +21249,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &421 + default: &420 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -22172,7 +22198,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &379 + properties: &378 url: type: string format: uri @@ -22242,7 +22268,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &380 + required: &379 - closed_issues - creator - description @@ -22321,7 +22347,7 @@ paths: timeline_url: type: string format: uri - type: &341 + type: &340 title: Issue Type description: The type of issue. type: object @@ -24989,7 +25015,7 @@ paths: - closed - all default: open - - &344 + - &343 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -25040,7 +25066,7 @@ paths: type: array items: *201 examples: - default: &345 + default: &344 value: - id: 1 node_id: MDU6SXNzdWUx @@ -26425,14 +26451,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: - - &445 + - &444 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &446 + - &445 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -26503,7 +26529,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &459 + '301': &458 description: Moved permanently content: application/json: @@ -26579,7 +26605,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &314 + properties: &313 id: type: integer format: int64 @@ -26855,7 +26881,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &391 + security_and_analysis: &390 nullable: true type: object properties: @@ -26937,7 +26963,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &315 + required: &314 - archive_url - assignees_url - blobs_url @@ -28944,7 +28970,7 @@ paths: type: integer repository_cache_usages: type: array - items: &464 + items: &463 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -31902,7 +31928,7 @@ paths: description: Response content: application/json: - schema: &484 + schema: &483 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -31931,7 +31957,7 @@ paths: - key_id - key examples: - default: &485 + default: &484 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32344,7 +32370,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *78 - - &469 + - &468 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)." @@ -33500,7 +33526,7 @@ paths: initiator: type: string examples: - default: &498 + default: &497 value: attestations: - bundle: @@ -34412,7 +34438,7 @@ paths: be returned. in: query required: false - schema: &525 + schema: &524 type: string description: Severity of a code scanning alert. enum: @@ -35428,7 +35454,7 @@ paths: type: integer codespaces: type: array - items: &346 + items: &345 type: object title: Codespace description: A codespace. @@ -35458,7 +35484,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &554 + properties: &553 name: type: string description: The name of the machine. @@ -35500,7 +35526,7 @@ paths: - ready - in_progress nullable: true - required: &555 + required: &554 - name - display_name - operating_system @@ -35705,7 +35731,7 @@ paths: - pulls_url - recent_folders examples: - default: &347 + default: &346 value: total_count: 3 codespaces: @@ -36368,7 +36394,7 @@ paths: - updated_at - visibility examples: - default: &556 + default: &555 value: total_count: 2 secrets: @@ -36406,7 +36432,7 @@ paths: description: Response content: application/json: - schema: &557 + schema: &556 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -36435,7 +36461,7 @@ paths: - key_id - key examples: - default: &558 + default: &557 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -36467,7 +36493,7 @@ paths: application/json: schema: *295 examples: - default: &560 + default: &559 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -38024,14 +38050,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 - *306 - *307 - - *308 - *101 - *99 - *100 + - *308 - *309 - - *310 - *17 responses: '200': @@ -38040,9 +38087,9 @@ paths: application/json: schema: type: array - items: *311 + items: *310 examples: - default: *312 + default: *311 '304': *37 '400': *14 '403': *29 @@ -38086,7 +38133,7 @@ paths: type: integer secrets: type: array - items: &313 + items: &312 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -38210,7 +38257,7 @@ paths: description: Response content: application/json: - schema: *313 + schema: *312 examples: default: value: @@ -39045,7 +39092,7 @@ paths: application/json: schema: type: array - items: &357 + items: &356 title: Package description: A software package type: object @@ -39095,8 +39142,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *314 - required: *315 + properties: *313 + required: *314 nullable: true created_at: type: string @@ -39115,7 +39162,7 @@ paths: - created_at - updated_at examples: - default: &358 + default: &357 value: - id: 197 name: hello_docker @@ -39299,7 +39346,7 @@ paths: description: Response content: application/json: - schema: &440 + schema: &439 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -39380,7 +39427,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &441 + default: &440 value: group_id: '123' group_name: Octocat admins @@ -39435,7 +39482,7 @@ paths: description: Response content: application/json: - schema: &438 + schema: &437 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -39472,7 +39519,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &439 + default: &438 value: groups: - group_id: '123' @@ -39516,7 +39563,7 @@ paths: application/json: schema: type: array - items: &338 + items: &337 title: Organization Invitation description: Organization Invitation type: object @@ -39563,7 +39610,7 @@ paths: - invitation_teams_url - node_id examples: - default: &339 + default: &338 value: - id: 1 login: monalisa @@ -39630,7 +39677,7 @@ paths: application/json: schema: type: array - items: &392 + items: &391 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -39644,7 +39691,7 @@ paths: - name - description examples: - default: &393 + default: &392 value: - name: add_assignee description: Assign or remove a user @@ -39685,7 +39732,7 @@ paths: application/json: schema: type: array - items: &316 + items: &315 title: Org Hook description: Org Hook type: object @@ -39854,9 +39901,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *315 examples: - default: &317 + default: &316 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -39901,7 +39948,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *78 - - &318 + - &317 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. @@ -39914,9 +39961,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *315 examples: - default: *317 + default: *316 '404': *6 x-github: githubCloudOnly: false @@ -39938,7 +39985,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *78 - - *318 + - *317 requestBody: required: false content: @@ -39983,7 +40030,7 @@ paths: description: Response content: application/json: - schema: *316 + schema: *315 examples: default: value: @@ -40023,7 +40070,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *78 - - *318 + - *317 responses: '204': description: Response @@ -40049,7 +40096,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *78 - - *318 + - *317 responses: '200': description: Response @@ -40078,7 +40125,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *78 - - *318 + - *317 requestBody: required: false content: @@ -40127,9 +40174,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *78 - - *318 + - *317 - *17 - - *319 + - *318 responses: '200': description: Response @@ -40137,9 +40184,9 @@ paths: application/json: schema: type: array - items: *320 + items: *319 examples: - default: *321 + default: *320 '400': *14 '422': *15 x-github: @@ -40163,16 +40210,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *78 - - *318 + - *317 - *16 responses: '200': description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '400': *14 '422': *15 x-github: @@ -40196,7 +40243,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *78 - - *318 + - *317 - *16 responses: '202': *39 @@ -40223,7 +40270,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *78 - - *318 + - *317 responses: '204': description: Response @@ -40246,7 +40293,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *78 - - &328 + - &327 name: actor_type in: path description: The type of the actor @@ -40259,14 +40306,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &329 + - &328 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &324 + - &323 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`.' @@ -40274,7 +40321,7 @@ paths: required: true schema: type: string - - &325 + - &324 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) @@ -40368,12 +40415,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *78 + - *323 - *324 - - *325 - *19 - *17 - *101 - - &334 + - &333 name: sort description: The property to sort the results by. in: query @@ -40452,14 +40499,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *78 + - *323 - *324 - - *325 responses: '200': description: Response content: application/json: - schema: &326 + schema: &325 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -40475,7 +40522,7 @@ paths: type: integer format: int64 examples: - default: &327 + default: &326 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -40496,23 +40543,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *78 - - &330 + - &329 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string + - *323 - *324 - - *325 responses: '200': description: Response content: application/json: - schema: *326 + schema: *325 examples: - default: *327 + default: *326 x-github: enabledForGitHubApps: true category: orgs @@ -40531,18 +40578,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *78 + - *323 - *324 - - *325 + - *327 - *328 - - *329 responses: '200': description: Response content: application/json: - schema: *326 + schema: *325 examples: - default: *327 + default: *326 x-github: enabledForGitHubApps: true category: orgs @@ -40560,9 +40607,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *78 + - *323 - *324 - - *325 - - &331 + - &330 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -40575,7 +40622,7 @@ paths: description: Response content: application/json: - schema: &332 + schema: &331 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -40591,7 +40638,7 @@ paths: type: integer format: int64 examples: - default: &333 + default: &332 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -40628,18 +40675,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *78 - - *330 + - *329 + - *323 - *324 - - *325 - - *331 + - *330 responses: '200': description: Response content: application/json: - schema: *332 + schema: *331 examples: - default: *333 + default: *332 x-github: enabledForGitHubApps: true category: orgs @@ -40657,19 +40704,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *78 + - *327 - *328 - - *329 + - *323 - *324 - - *325 - - *331 + - *330 responses: '200': description: Response content: application/json: - schema: *332 + schema: *331 examples: - default: *333 + default: *332 x-github: enabledForGitHubApps: true category: orgs @@ -40687,13 +40734,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *78 - - *330 + - *329 + - *323 - *324 - - *325 - *19 - *17 - *101 - - *334 + - *333 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -40940,12 +40987,12 @@ paths: application/json: schema: anyOf: - - &336 + - &335 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &335 + limit: &334 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -40970,7 +41017,7 @@ paths: properties: {} additionalProperties: false examples: - default: &337 + default: &336 value: limit: collaborators_only origin: organization @@ -41005,7 +41052,7 @@ paths: duration type: object properties: - limit: *335 + limit: *334 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -41029,9 +41076,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *335 examples: - default: *337 + default: *336 '422': *15 x-github: githubCloudOnly: false @@ -41109,9 +41156,9 @@ paths: application/json: schema: type: array - items: *338 + items: *337 examples: - default: *339 + default: *338 headers: Link: *43 '404': *6 @@ -41189,7 +41236,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *337 examples: default: value: @@ -41246,7 +41293,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *78 - - &340 + - &339 name: invitation_id description: The unique identifier of the invitation. in: path @@ -41280,7 +41327,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *78 - - *340 + - *339 - *17 - *19 responses: @@ -41292,7 +41339,7 @@ paths: type: array items: *280 examples: - default: &356 + default: &355 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -41335,7 +41382,7 @@ paths: application/json: schema: type: array - items: *341 + items: *340 examples: default: value: @@ -41420,9 +41467,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *340 examples: - default: &342 + default: &341 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -41455,7 +41502,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *78 - - &343 + - &342 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -41508,9 +41555,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *340 examples: - default: *342 + default: *341 '404': *6 '422': *7 x-github: @@ -41535,7 +41582,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *78 - - *343 + - *342 responses: '204': description: Response @@ -41598,7 +41645,7 @@ paths: - closed - all default: open - - *344 + - *343 - name: type description: Can be the name of an issue type. in: query @@ -41629,7 +41676,7 @@ paths: type: array items: *201 examples: - default: *345 + default: *344 headers: Link: *43 '404': *6 @@ -41788,9 +41835,9 @@ paths: type: integer codespaces: type: array - items: *346 + items: *345 examples: - default: *347 + default: *346 '304': *37 '500': *40 '401': *25 @@ -41817,7 +41864,7 @@ paths: parameters: - *78 - *182 - - &348 + - &347 name: codespace_name in: path required: true @@ -41852,15 +41899,15 @@ paths: parameters: - *78 - *182 - - *348 + - *347 responses: '200': description: Response content: application/json: - schema: *346 + schema: *345 examples: - default: &553 + default: &552 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -42116,7 +42163,7 @@ paths: description: Response content: application/json: - schema: &349 + schema: &348 title: Org Membership description: Org Membership type: object @@ -42183,7 +42230,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &350 + response-if-user-has-an-active-admin-membership-with-organization: &349 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -42280,9 +42327,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *348 examples: - response-if-user-already-had-membership-with-organization: *350 + response-if-user-already-had-membership-with-organization: *349 '422': *15 '403': *29 x-github: @@ -42353,7 +42400,7 @@ paths: application/json: schema: type: array - items: &351 + items: &350 title: Migration description: A migration. type: object @@ -42682,7 +42729,7 @@ paths: description: Response content: application/json: - schema: *351 + schema: *350 examples: default: value: @@ -42861,7 +42908,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *78 - - &352 + - &351 name: migration_id description: The unique identifier of the migration. in: path @@ -42888,7 +42935,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *351 + schema: *350 examples: default: value: @@ -43058,7 +43105,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *78 - - *352 + - *351 responses: '302': description: Response @@ -43080,7 +43127,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *78 - - *352 + - *351 responses: '204': description: Response @@ -43104,7 +43151,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *78 - - *352 + - *351 - &805 name: repo_name description: repo_name parameter @@ -43133,7 +43180,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *78 - - *352 + - *351 - *17 - *19 responses: @@ -43145,7 +43192,7 @@ paths: type: array items: *253 examples: - default: &363 + default: &362 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -43354,7 +43401,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &353 + items: &352 title: Organization Role description: Organization roles type: object @@ -43561,7 +43608,7 @@ paths: description: Response content: application/json: - schema: *353 + schema: *352 examples: default: value: @@ -43791,7 +43838,7 @@ paths: description: Response content: application/json: - schema: *353 + schema: *352 examples: default: value: @@ -43888,7 +43935,7 @@ paths: description: Response content: application/json: - schema: *353 + schema: *352 examples: default: value: @@ -44046,8 +44093,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *354 - required: *355 + properties: *353 + required: *354 nullable: true type: description: The ownership type of the team @@ -44079,7 +44126,7 @@ paths: - type - parent examples: - default: *356 + default: *355 headers: Link: *43 '404': @@ -44137,13 +44184,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &412 + items: &411 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *354 - required: *355 + properties: *353 + required: *354 name: nullable: true type: string @@ -44467,9 +44514,9 @@ paths: application/json: schema: type: array - items: *357 + items: *356 examples: - default: *358 + default: *357 '403': *29 '401': *25 '400': &809 @@ -44494,7 +44541,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &359 + - &358 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 @@ -44512,7 +44559,7 @@ paths: - docker - nuget - container - - &360 + - &359 name: package_name description: The name of the package. in: path @@ -44525,7 +44572,7 @@ paths: description: Response content: application/json: - schema: *357 + schema: *356 examples: default: value: @@ -44577,8 +44624,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: + - *358 - *359 - - *360 - *78 responses: '204': @@ -44611,8 +44658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: + - *358 - *359 - - *360 - *78 - name: token description: package token @@ -44645,8 +44692,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: + - *358 - *359 - - *360 - *78 - *19 - *17 @@ -44667,7 +44714,7 @@ paths: application/json: schema: type: array - items: &361 + items: &360 title: Package Version description: A version of a software package type: object @@ -44792,10 +44839,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: + - *358 - *359 - - *360 - *78 - - &362 + - &361 name: package_version_id description: Unique identifier of the package version. in: path @@ -44807,7 +44854,7 @@ paths: description: Response content: application/json: - schema: *361 + schema: *360 examples: default: value: @@ -44843,10 +44890,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: + - *358 - *359 - - *360 - *78 - - *362 + - *361 responses: '204': description: Response @@ -44878,10 +44925,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: + - *358 - *359 - - *360 - *78 - - *362 + - *361 responses: '204': description: Response @@ -44911,7 +44958,7 @@ paths: - *78 - *17 - *19 - - &364 + - &363 name: sort description: The property by which to sort the results. in: query @@ -44922,7 +44969,7 @@ paths: - created_at default: created_at - *101 - - &365 + - &364 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -44933,7 +44980,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &366 + - &365 name: repository description: The name of the repository to use to filter the results. in: query @@ -44941,7 +44988,7 @@ paths: schema: type: string example: Hello-World - - &367 + - &366 name: permission description: The permission to use to filter the results. in: query @@ -44949,7 +44996,7 @@ paths: schema: type: string example: issues_read - - &368 + - &367 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) @@ -44959,7 +45006,7 @@ paths: schema: type: string format: date-time - - &369 + - &368 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) @@ -44969,7 +45016,7 @@ paths: schema: type: string format: date-time - - &370 + - &369 name: token_id description: The ID of the token in: query @@ -45282,7 +45329,7 @@ paths: type: array items: *253 examples: - default: *363 + default: *362 headers: Link: *43 x-github: @@ -45308,14 +45355,14 @@ paths: - *78 - *17 - *19 - - *364 + - *363 - *101 + - *364 - *365 - *366 - *367 - *368 - *369 - - *370 responses: '500': *40 '422': *15 @@ -45597,7 +45644,7 @@ paths: type: array items: *253 examples: - default: *363 + default: *362 headers: Link: *43 x-github: @@ -45639,7 +45686,7 @@ paths: type: integer configurations: type: array - items: &371 + items: &370 title: Organization private registry description: Private registry configuration for an organization type: object @@ -45892,7 +45939,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &372 + org-private-registry-with-selected-visibility: &371 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -45988,9 +46035,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *371 + schema: *370 examples: - default: *372 + default: *371 '404': *6 x-github: githubCloudOnly: false @@ -46154,7 +46201,7 @@ paths: application/json: schema: type: array - items: &373 + items: &372 title: Project description: Projects are a way to organize columns and cards of work. @@ -46327,7 +46374,7 @@ paths: description: Response content: application/json: - schema: *373 + schema: *372 examples: default: value: @@ -46365,7 +46412,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &456 + '410': &455 description: Gone content: application/json: @@ -46408,7 +46455,7 @@ paths: application/json: schema: type: array - items: &374 + items: &373 title: Projects v2 Project description: A projects v2 project type: object @@ -46551,7 +46598,7 @@ paths: - deleted_at - deleted_by examples: - default: &375 + default: &374 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -46654,7 +46701,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &376 + - &375 name: project_number description: The project's number. in: path @@ -46667,9 +46714,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *373 examples: - default: *375 + default: *374 headers: Link: *43 '304': *37 @@ -46691,7 +46738,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *376 + - *375 - *78 - *17 - *99 @@ -46703,7 +46750,7 @@ paths: application/json: schema: type: array - items: &377 + items: &376 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -46850,7 +46897,7 @@ paths: - updated_at - project_url examples: - default: &378 + default: &377 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -46893,7 +46940,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *376 + - *375 - &826 name: field_id description: The unique identifier of the field. @@ -46907,9 +46954,9 @@ paths: description: Response content: application/json: - schema: *377 + schema: *376 examples: - default: *378 + default: *377 headers: Link: *43 '304': *37 @@ -46932,7 +46979,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: - - *376 + - *375 - *78 - 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) @@ -46962,7 +47009,7 @@ paths: application/json: schema: type: array - items: &384 + items: &383 title: Projects v2 Item description: An item belonging to a project type: object @@ -46978,7 +47025,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: &382 + content_type: &381 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -47028,7 +47075,7 @@ paths: - updated_at - archived_at examples: - default: &385 + default: &384 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -47723,7 +47770,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *78 - - *376 + - *375 requestBody: required: true description: Details of the item to add to the project. @@ -47774,7 +47821,7 @@ paths: content: oneOf: - *201 - - &568 + - &567 title: Pull Request Simple description: Pull Request Simple type: object @@ -47880,8 +47927,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *379 - required: *380 + properties: *378 + required: *379 nullable: true active_lock_reason: type: string @@ -47977,7 +48024,7 @@ paths: _links: type: object properties: - comments: &381 + comments: &380 title: Link description: Hypermedia Link type: object @@ -47986,13 +48033,13 @@ paths: type: string required: - href - commits: *381 - statuses: *381 - html: *381 - issue: *381 - review_comments: *381 - review_comment: *381 - self: *381 + commits: *380 + statuses: *380 + html: *380 + issue: *380 + review_comments: *380 + review_comment: *380 + self: *380 required: - comments - commits @@ -48105,7 +48152,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *382 + content_type: *381 creator: *4 created_at: type: string @@ -48138,7 +48185,7 @@ paths: - updated_at - archived_at examples: - issue: &383 + issue: &382 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -48193,7 +48240,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: *383 + pull_request: *382 '304': *37 '403': *29 '401': *25 @@ -48213,9 +48260,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: - - *376 + - *375 - *78 - - &386 + - &385 name: item_id description: The unique identifier of the project item. in: path @@ -48238,9 +48285,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *383 examples: - default: *385 + default: *384 headers: Link: *43 '304': *37 @@ -48261,9 +48308,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *376 + - *375 - *78 - - *386 + - *385 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -48333,13 +48380,13 @@ paths: description: Response content: application/json: - schema: *384 + schema: *383 examples: - text_field: *385 - number_field: *385 - date_field: *385 - single_select_field: *385 - iteration_field: *385 + text_field: *384 + number_field: *384 + date_field: *384 + single_select_field: *384 + iteration_field: *384 '401': *25 '403': *29 '404': *6 @@ -48359,9 +48406,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *376 + - *375 - *78 - - *386 + - *385 responses: '204': description: Response @@ -48524,7 +48571,7 @@ paths: required: true content: application/json: - schema: *387 + schema: *386 examples: default: value: @@ -48627,7 +48674,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &388 + items: &387 title: Custom Property Value description: Custom property name and associated value type: object @@ -48714,7 +48761,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *388 + items: *387 required: - repository_names - properties @@ -48907,7 +48954,7 @@ paths: type: array items: *253 examples: - default: *363 + default: *362 headers: Link: *43 x-github: @@ -49110,7 +49157,7 @@ paths: description: Response content: application/json: - schema: &458 + schema: &457 title: Full Repository description: Full Repository type: object @@ -49387,8 +49434,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *389 - required: *390 + properties: *388 + required: *389 nullable: true temp_clone_token: type: string @@ -49503,7 +49550,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &573 + properties: &572 url: type: string format: uri @@ -49519,12 +49566,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &574 + required: &573 - url - key - name - html_url - security_and_analysis: *391 + security_and_analysis: *390 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -49608,7 +49655,7 @@ paths: - network_count - subscribers_count examples: - default: &460 + default: &459 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -50134,9 +50181,9 @@ paths: application/json: schema: type: array - items: *392 + items: *391 examples: - default: *393 + default: *392 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -50252,11 +50299,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *141 - conditions: *394 + conditions: *393 rules: type: array description: An array of rules within the ruleset. - items: &396 + items: &395 title: Repository Rule type: object description: A repository rule. @@ -50320,7 +50367,7 @@ paths: application/json: schema: *162 examples: - default: &395 + default: &394 value: id: 21 name: super cool ruleset @@ -50703,7 +50750,7 @@ paths: application/json: schema: *162 examples: - default: *395 + default: *394 '404': *6 '500': *40 put: @@ -50752,11 +50799,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *141 - conditions: *394 + conditions: *393 rules: description: An array of rules within the ruleset. type: array - items: *396 + items: *395 examples: default: value: @@ -50793,7 +50840,7 @@ paths: application/json: schema: *162 examples: - default: *395 + default: *394 '404': *6 '500': *40 delete: @@ -50852,7 +50899,7 @@ paths: type: array items: *166 examples: - default: *397 + default: *396 '404': *6 '500': *40 x-github: @@ -50889,7 +50936,7 @@ paths: description: Response content: application/json: - schema: *398 + schema: *397 examples: default: value: @@ -50952,10 +50999,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *78 + - *398 - *399 - *400 - *401 - - *402 - *101 - *19 - *17 @@ -50979,10 +51026,10 @@ paths: required: false schema: type: string + - *402 - *403 - *404 - *405 - - *406 responses: '200': description: Response @@ -50990,9 +51037,9 @@ paths: application/json: schema: type: array - items: *407 + items: *406 examples: - default: *408 + default: *407 headers: Link: *43 '404': *6 @@ -51027,9 +51074,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *408 examples: - default: *410 + default: *409 '403': *29 '404': *6 patch: @@ -51402,7 +51449,7 @@ paths: login: type: string description: The username of the user credited. - type: *411 + type: *410 credits_detailed: type: array nullable: true @@ -51412,7 +51459,7 @@ paths: type: object properties: user: *4 - type: *411 + type: *410 state: type: string description: The state of the user's acceptance of the @@ -51860,9 +51907,9 @@ paths: application/json: schema: type: array - items: *412 + items: *411 examples: - default: *356 + default: *355 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51947,9 +51994,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *412 examples: - default: *414 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -51974,7 +52021,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *78 - - *415 + - *414 - *17 - *19 responses: @@ -51982,9 +52029,9 @@ paths: description: Success content: application/json: - schema: *416 + schema: *415 examples: - default: *417 + default: *416 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -52012,9 +52059,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -52042,14 +52089,255 @@ paths: description: Response content: application/json: - schema: *420 + schema: *419 examples: - default: *421 + default: *420 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: + - *78 + responses: + '200': + description: Immutable releases settings response + content: + application/json: + schema: + title: Check immutable releases organization settings + description: Check immutable releases settings for an organization. + type: object + properties: + enforced_repositories: + type: string + description: The policy that controls how immutable releases are + enforced in the organization. + enum: + - all + - none + - selected + example: all + selected_repositories_url: + type: string + description: The API URL to use to get or set the selected repositories + for immutable releases enforcement, when `enforced_repositories` + is set to `selected`. + required: + - enforced_repositories + examples: + default: + value: + enforced_repositories: all + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + put: + summary: Set immutable releases settings for an organization + description: |- + Sets the immutable releases policy for repositories in an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/set-immutable-releases-settings + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#set-immutable-releases-settings-for-an-organization + parameters: + - *78 + responses: + '204': + description: Response + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enforced_repositories: + type: string + description: The policy that controls how immutable releases are + enforced in the organization. + enum: + - all + - none + - selected + example: all + selected_repository_ids: + type: array + description: An array of repository ids for which immutable releases + enforcement should be applied. You can only provide a list of + repository ids when the `enforced_repositories` is set to `selected`. + You can add and remove individual repositories using the [Enable + a selected repository for immutable releases in an organization](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) + and [Disable a selected repository for immutable releases in an + organization](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) + endpoints. + items: + type: integer + required: + - enforced_repositories + examples: + default: + value: + enforced_repositories: all + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + "/orgs/{org}/settings/immutable-releases/repositories": + get: + summary: List selected repositories for immutable releases enforcement + description: |- + List all of the repositories that have been selected for immutable releases enforcement in an organization. + + 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: + - *78 + - *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: *253 + examples: + default: *267 + 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: + - *78 + 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: + - *78 + - *247 + 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: + - *78 + - *247 + 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 @@ -52084,7 +52372,7 @@ paths: type: array items: *126 examples: - default: *422 + default: *421 headers: Link: *43 x-github: @@ -52285,15 +52573,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: - *78 - - *423 + - *422 responses: '200': description: Response content: application/json: - schema: *424 + schema: *423 examples: - default: *425 + default: *424 headers: Link: *43 x-github: @@ -52331,7 +52619,7 @@ paths: description: Response content: application/json: - schema: &447 + schema: &446 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -52377,7 +52665,7 @@ paths: type: string nullable: true examples: - default: &448 + default: &447 value: groups: - group_id: '123' @@ -52491,7 +52779,7 @@ paths: type: array items: *280 examples: - default: *356 + default: *355 headers: Link: *43 '403': *29 @@ -52585,7 +52873,7 @@ paths: description: Response content: application/json: - schema: &426 + schema: &425 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -52648,8 +52936,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *354 - required: *355 + properties: *353 + required: *354 nullable: true members_count: type: integer @@ -52912,7 +53200,7 @@ paths: - repos_count - organization examples: - default: &427 + default: &426 value: id: 1 node_id: MDQ6VGVhbTE= @@ -52989,9 +53277,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *425 examples: - default: *427 + default: *426 '404': *6 x-github: githubCloudOnly: false @@ -53075,16 +53363,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *426 + schema: *425 examples: - default: *427 + default: *426 '201': description: Response content: application/json: - schema: *426 + schema: *425 examples: - default: *427 + default: *426 '404': *6 '422': *15 '403': *29 @@ -53154,7 +53442,7 @@ paths: application/json: schema: type: array - items: &428 + items: &427 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -53362,9 +53650,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *427 examples: - default: &429 + default: &428 value: author: login: octocat @@ -53438,7 +53726,7 @@ paths: parameters: - *78 - *184 - - &430 + - &429 name: discussion_number description: The number that identifies the discussion. in: path @@ -53450,9 +53738,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *427 examples: - default: *429 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53476,7 +53764,7 @@ paths: parameters: - *78 - *184 - - *430 + - *429 requestBody: required: false content: @@ -53499,7 +53787,7 @@ paths: description: Response content: application/json: - schema: *428 + schema: *427 examples: default: &780 value: @@ -53573,7 +53861,7 @@ paths: parameters: - *78 - *184 - - *430 + - *429 responses: '204': description: Response @@ -53601,7 +53889,7 @@ paths: parameters: - *78 - *184 - - *430 + - *429 - *101 - *17 - *19 @@ -53612,7 +53900,7 @@ paths: application/json: schema: type: array - items: &431 + items: &430 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -53754,7 +54042,7 @@ paths: parameters: - *78 - *184 - - *430 + - *429 requestBody: required: true content: @@ -53776,9 +54064,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *430 examples: - default: &432 + default: &431 value: author: login: octocat @@ -53846,8 +54134,8 @@ paths: parameters: - *78 - *184 - - *430 - - &433 + - *429 + - &432 name: comment_number description: The number that identifies the comment. in: path @@ -53859,9 +54147,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *430 examples: - default: *432 + default: *431 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53885,8 +54173,8 @@ paths: parameters: - *78 - *184 - - *430 - - *433 + - *429 + - *432 requestBody: required: true content: @@ -53908,7 +54196,7 @@ paths: description: Response content: application/json: - schema: *431 + schema: *430 examples: default: &782 value: @@ -53976,8 +54264,8 @@ paths: parameters: - *78 - *184 - - *430 - - *433 + - *429 + - *432 responses: '204': description: Response @@ -54005,8 +54293,8 @@ paths: parameters: - *78 - *184 - - *430 - - *433 + - *429 + - *432 - 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. @@ -54032,7 +54320,7 @@ paths: application/json: schema: type: array - items: &434 + items: &433 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -54075,7 +54363,7 @@ paths: - content - created_at examples: - default: &436 + default: &435 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -54127,8 +54415,8 @@ paths: parameters: - *78 - *184 - - *430 - - *433 + - *429 + - *432 requestBody: required: true content: @@ -54161,9 +54449,9 @@ paths: team discussion comment content: application/json: - schema: *434 + schema: *433 examples: - default: &435 + default: &434 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -54192,9 +54480,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54219,9 +54507,9 @@ paths: parameters: - *78 - *184 - - *430 - - *433 - - &437 + - *429 + - *432 + - &436 name: reaction_id description: The unique identifier of the reaction. in: path @@ -54255,7 +54543,7 @@ paths: parameters: - *78 - *184 - - *430 + - *429 - 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. @@ -54281,9 +54569,9 @@ paths: application/json: schema: type: array - items: *434 + items: *433 examples: - default: *436 + default: *435 headers: Link: *43 x-github: @@ -54311,7 +54599,7 @@ paths: parameters: - *78 - *184 - - *430 + - *429 requestBody: required: true content: @@ -54343,16 +54631,16 @@ paths: description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 '201': description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54377,8 +54665,8 @@ paths: parameters: - *78 - *184 - - *430 - - *437 + - *429 + - *436 responses: '204': description: Response @@ -54408,9 +54696,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *437 examples: - default: *439 + default: *438 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -54453,9 +54741,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *439 examples: - default: *441 + default: *440 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -54510,9 +54798,9 @@ paths: application/json: schema: type: array - items: *338 + items: *337 examples: - default: *339 + default: *338 headers: Link: *43 x-github: @@ -54596,7 +54884,7 @@ paths: description: Response content: application/json: - schema: &442 + schema: &441 title: Team Membership description: Team Membership type: object @@ -54686,7 +54974,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *441 examples: response-if-users-membership-with-team-is-now-pending: &784 summary: Response if user's membership with team is now pending @@ -54761,7 +55049,7 @@ paths: application/json: schema: type: array - items: &443 + items: &442 title: Team Project description: A team's access to a project. type: object @@ -54894,7 +55182,7 @@ paths: parameters: - *78 - *184 - - &444 + - &443 name: project_id description: The unique identifier of the project. in: path @@ -54906,7 +55194,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *442 examples: default: &786 value: @@ -54972,7 +55260,7 @@ paths: parameters: - *78 - *184 - - *444 + - *443 requestBody: required: false content: @@ -55040,7 +55328,7 @@ paths: parameters: - *78 - *184 - - *444 + - *443 responses: '204': description: Response @@ -55080,7 +55368,7 @@ paths: type: array items: *253 examples: - default: *363 + default: *362 headers: Link: *43 x-github: @@ -55111,8 +55399,8 @@ paths: parameters: - *78 - *184 + - *444 - *445 - - *446 responses: '200': description: Alternative response with repository permissions @@ -55689,8 +55977,8 @@ paths: parameters: - *78 - *184 + - *444 - *445 - - *446 requestBody: required: false content: @@ -55737,8 +56025,8 @@ paths: parameters: - *78 - *184 + - *444 - *445 - - *446 responses: '204': description: Response @@ -55771,9 +56059,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *446 examples: - default: *448 + default: *447 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -55839,7 +56127,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *446 examples: default: value: @@ -56011,7 +56299,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &449 + - &448 name: card_id description: The unique identifier of the card. in: path @@ -56023,7 +56311,7 @@ paths: description: Response content: application/json: - schema: &450 + schema: &449 title: Project Card description: Project cards represent a scope of work. type: object @@ -56090,7 +56378,7 @@ paths: - created_at - updated_at examples: - default: &451 + default: &450 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -56146,7 +56434,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *449 + - *448 requestBody: required: false content: @@ -56173,9 +56461,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *449 examples: - default: *451 + default: *450 '304': *37 '403': *29 '401': *25 @@ -56202,7 +56490,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *449 + - *448 responses: '204': description: Response @@ -56246,7 +56534,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *449 + - *448 requestBody: required: true content: @@ -56357,7 +56645,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &452 + - &451 name: column_id description: The unique identifier of the column. in: path @@ -56369,7 +56657,7 @@ paths: description: Response content: application/json: - schema: &453 + schema: &452 title: Project Column description: Project columns contain cards of work. type: object @@ -56415,7 +56703,7 @@ paths: - created_at - updated_at examples: - default: &454 + default: &453 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -56450,7 +56738,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *452 + - *451 requestBody: required: true content: @@ -56474,9 +56762,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *452 examples: - default: *454 + default: *453 '304': *37 '403': *29 '401': *25 @@ -56501,7 +56789,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *452 + - *451 responses: '204': description: Response @@ -56530,7 +56818,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *452 + - *451 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -56551,7 +56839,7 @@ paths: application/json: schema: type: array - items: *450 + items: *449 examples: default: value: @@ -56610,7 +56898,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *452 + - *451 requestBody: required: true content: @@ -56650,9 +56938,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *449 examples: - default: *451 + default: *450 '304': *37 '403': *29 '401': *25 @@ -56708,7 +56996,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *452 + - *451 requestBody: required: true content: @@ -56768,15 +57056,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project parameters: - - *444 + - *443 responses: '200': description: Response content: application/json: - schema: *373 + schema: *372 examples: - default: &455 + default: &454 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -56833,7 +57121,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project parameters: - - *444 + - *443 requestBody: required: false content: @@ -56879,9 +57167,9 @@ paths: description: Response content: application/json: - schema: *373 + schema: *372 examples: - default: *455 + default: *454 '404': description: Not Found if the authenticated user does not have access to the project @@ -56902,7 +57190,7 @@ paths: items: type: string '401': *25 - '410': *456 + '410': *455 '422': *7 x-github: githubCloudOnly: false @@ -56925,7 +57213,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project parameters: - - *444 + - *443 responses: '204': description: Delete Success @@ -56946,7 +57234,7 @@ paths: items: type: string '401': *25 - '410': *456 + '410': *455 '404': *6 x-github: githubCloudOnly: false @@ -56970,7 +57258,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *444 + - *443 - 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 @@ -57027,7 +57315,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *444 + - *443 - *182 requestBody: required: false @@ -57080,7 +57368,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *444 + - *443 - *182 responses: '204': @@ -57112,7 +57400,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: - - *444 + - *443 - *182 responses: '200': @@ -57186,7 +57474,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#list-project-columns parameters: - - *444 + - *443 - *17 - *19 responses: @@ -57196,7 +57484,7 @@ paths: application/json: schema: type: array - items: *453 + items: *452 examples: default: value: @@ -57234,7 +57522,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#create-a-project-column parameters: - - *444 + - *443 requestBody: required: true content: @@ -57257,7 +57545,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *452 examples: default: value: @@ -57322,7 +57610,7 @@ paths: resources: type: object properties: - core: &457 + core: &456 title: Rate Limit type: object properties: @@ -57339,21 +57627,21 @@ paths: - remaining - reset - used - graphql: *457 - search: *457 - code_search: *457 - source_import: *457 - integration_manifest: *457 - code_scanning_upload: *457 - actions_runner_registration: *457 - scim: *457 - dependency_snapshots: *457 - dependency_sbom: *457 - code_scanning_autofix: *457 + graphql: *456 + search: *456 + code_search: *456 + source_import: *456 + integration_manifest: *456 + code_scanning_upload: *456 + actions_runner_registration: *456 + scim: *456 + dependency_snapshots: *456 + dependency_sbom: *456 + code_scanning_autofix: *456 required: - core - search - rate: *457 + rate: *456 required: - rate - resources @@ -57458,14 +57746,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: + - *444 - *445 - - *446 responses: '200': description: Response content: application/json: - schema: *458 + schema: *457 examples: default-response: summary: Default response @@ -57970,7 +58258,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *459 + '301': *458 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57988,8 +58276,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: + - *444 - *445 - - *446 requestBody: required: false content: @@ -58246,10 +58534,10 @@ paths: description: Response content: application/json: - schema: *458 + schema: *457 examples: - default: *460 - '307': &461 + default: *459 + '307': &460 description: Temporary Redirect content: application/json: @@ -58278,8 +58566,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: + - *444 - *445 - - *446 responses: '204': description: Response @@ -58301,7 +58589,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': *461 + '307': *460 '404': *6 '409': *109 x-github: @@ -58325,11 +58613,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: + - *444 - *445 - - *446 - *17 - *19 - - &476 + - &475 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -58352,7 +58640,7 @@ paths: type: integer artifacts: type: array - items: &462 + items: &461 title: Artifact description: An artifact type: object @@ -58430,7 +58718,7 @@ paths: - expires_at - updated_at examples: - default: &477 + default: &476 value: total_count: 2 artifacts: @@ -58491,9 +58779,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: + - *444 - *445 - - *446 - - &463 + - &462 name: artifact_id description: The unique identifier of the artifact. in: path @@ -58505,7 +58793,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *461 examples: default: value: @@ -58543,9 +58831,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: + - *444 - *445 - - *446 - - *463 + - *462 responses: '204': description: Response @@ -58569,9 +58857,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: + - *444 - *445 - - *446 - - *463 + - *462 - name: archive_format in: path required: true @@ -58585,7 +58873,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': *456 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58608,14 +58896,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: + - *444 - *445 - - *446 responses: '200': description: Response content: application/json: - schema: *464 + schema: *463 examples: default: value: @@ -58641,11 +58929,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: + - *444 - *445 - - *446 - *17 - *19 - - &465 + - &464 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 @@ -58679,7 +58967,7 @@ paths: description: Response content: application/json: - schema: &466 + schema: &465 title: Repository actions caches description: Repository actions caches type: object @@ -58721,7 +59009,7 @@ paths: - total_count - actions_caches examples: - default: &467 + default: &466 value: total_count: 1 actions_caches: @@ -58753,23 +59041,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: + - *444 - *445 - - *446 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *465 + - *464 responses: '200': description: Response content: application/json: - schema: *466 + schema: *465 examples: - default: *467 + default: *466 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58789,8 +59077,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: + - *444 - *445 - - *446 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -58821,9 +59109,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: + - *444 - *445 - - *446 - - &468 + - &467 name: job_id description: The unique identifier of the job. in: path @@ -58835,7 +59123,7 @@ paths: description: Response content: application/json: - schema: &480 + schema: &479 title: Job description: Information of a job execution in a workflow run type: object @@ -59142,9 +59430,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: + - *444 - *445 - - *446 - - *468 + - *467 responses: '302': description: Response @@ -59172,9 +59460,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: + - *444 - *445 - - *446 - - *468 + - *467 requestBody: required: false content: @@ -59219,8 +59507,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: + - *444 - *445 - - *446 responses: '200': description: Status response @@ -59270,8 +59558,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: + - *444 - *445 - - *446 requestBody: required: true content: @@ -59334,8 +59622,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -59353,7 +59641,7 @@ paths: type: integer secrets: type: array - items: &482 + items: &481 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -59373,7 +59661,7 @@ paths: - created_at - updated_at examples: - default: &483 + default: &482 value: total_count: 2 secrets: @@ -59406,9 +59694,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: + - *444 - *445 - - *446 - - *469 + - *468 - *19 responses: '200': @@ -59425,7 +59713,7 @@ paths: type: integer variables: type: array - items: &486 + items: &485 title: Actions Variable type: object properties: @@ -59455,7 +59743,7 @@ paths: - created_at - updated_at examples: - default: &487 + default: &486 value: total_count: 2 variables: @@ -59488,8 +59776,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: + - *444 - *445 - - *446 responses: '200': description: Response @@ -59498,7 +59786,7 @@ paths: schema: type: object properties: - enabled: &470 + enabled: &469 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *51 @@ -59533,8 +59821,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: + - *444 - *445 - - *446 responses: '204': description: Response @@ -59545,7 +59833,7 @@ paths: schema: type: object properties: - enabled: *470 + enabled: *469 allowed_actions: *51 sha_pinning_required: *52 required: @@ -59578,14 +59866,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: + - *444 - *445 - - *446 responses: '200': description: Response content: application/json: - schema: &471 + schema: &470 type: object properties: access_level: @@ -59603,7 +59891,7 @@ paths: required: - access_level examples: - default: &472 + default: &471 value: access_level: organization x-github: @@ -59628,15 +59916,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: + - *444 - *445 - - *446 requestBody: required: true content: application/json: - schema: *471 + schema: *470 examples: - default: *472 + default: *471 responses: '204': description: Response @@ -59660,8 +59948,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: + - *444 - *445 - - *446 responses: '200': description: Response @@ -59691,8 +59979,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: + - *444 - *445 - - *446 responses: '204': description: Empty response for successful settings update @@ -59726,8 +60014,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: + - *444 - *445 - - *446 responses: '200': description: Response @@ -59754,8 +60042,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: + - *444 - *445 - - *446 responses: '204': description: Response @@ -59789,8 +60077,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: + - *444 - *445 - - *446 responses: '200': description: Response @@ -59818,8 +60106,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: + - *444 - *445 - - *446 requestBody: required: true content: @@ -59850,8 +60138,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: + - *444 - *445 - - *446 responses: '200': description: Response @@ -59882,8 +60170,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: + - *444 - *445 - - *446 responses: '204': description: Response @@ -59915,8 +60203,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: + - *444 - *445 - - *446 responses: '200': description: Response @@ -59945,8 +60233,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: + - *444 - *445 - - *446 responses: '204': description: Success response @@ -59986,8 +60274,8 @@ paths: in: query schema: type: string + - *444 - *445 - - *446 - *17 - *19 responses: @@ -60031,8 +60319,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: + - *444 - *445 - - *446 responses: '200': description: Response @@ -60064,8 +60352,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: + - *444 - *445 - - *446 requestBody: required: true content: @@ -60139,8 +60427,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: + - *444 - *445 - - *446 responses: '201': description: Response @@ -60176,8 +60464,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: + - *444 - *445 - - *446 responses: '201': description: Response @@ -60207,8 +60495,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: + - *444 - *445 - - *446 - *66 responses: '200': @@ -60238,8 +60526,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: + - *444 - *445 - - *446 - *66 responses: '204': @@ -60266,8 +60554,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: + - *444 - *445 - - *446 - *66 responses: '200': *72 @@ -60292,8 +60580,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: + - *444 - *445 - - *446 - *66 requestBody: required: true @@ -60342,8 +60630,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: + - *444 - *445 - - *446 - *66 requestBody: required: true @@ -60393,8 +60681,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: + - *444 - *445 - - *446 - *66 responses: '200': *260 @@ -60424,8 +60712,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: + - *444 - *445 - - *446 - *66 - *261 responses: @@ -60455,9 +60743,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: + - *444 - *445 - - *446 - - &490 + - &489 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. @@ -60465,7 +60753,7 @@ paths: required: false schema: type: string - - &491 + - &490 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -60473,7 +60761,7 @@ paths: required: false schema: type: string - - &492 + - &491 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -60482,7 +60770,7 @@ paths: required: false schema: type: string - - &493 + - &492 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 @@ -60509,7 +60797,7 @@ paths: - pending - *17 - *19 - - &494 + - &493 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)." @@ -60518,7 +60806,7 @@ paths: schema: type: string format: date-time - - &473 + - &472 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -60527,13 +60815,13 @@ paths: schema: type: boolean default: false - - &495 + - &494 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &496 + - &495 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -60556,7 +60844,7 @@ paths: type: integer workflow_runs: type: array - items: &474 + items: &473 title: Workflow Run description: An invocation of a workflow type: object @@ -60651,7 +60939,7 @@ paths: that triggered the run. type: array nullable: true - items: &515 + items: &514 title: Pull Request Minimal type: object properties: @@ -60770,7 +61058,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &519 + properties: &518 id: type: string description: SHA for the commit @@ -60821,7 +61109,7 @@ paths: - name - email nullable: true - required: &520 + required: &519 - id - tree_id - message @@ -60868,7 +61156,7 @@ paths: - workflow_url - pull_requests examples: - default: &497 + default: &496 value: total_count: 1 workflow_runs: @@ -61104,24 +61392,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: + - *444 - *445 - - *446 - - &475 + - &474 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *473 + - *472 responses: '200': description: Response content: application/json: - schema: *474 + schema: *473 examples: - default: &478 + default: &477 value: id: 30433642 name: Build @@ -61362,9 +61650,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: + - *444 - *445 - - *446 - - *475 + - *474 responses: '204': description: Response @@ -61387,9 +61675,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: + - *444 - *445 - - *446 - - *475 + - *474 responses: '200': description: Response @@ -61508,9 +61796,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: + - *444 - *445 - - *446 - - *475 + - *474 responses: '201': description: Response @@ -61543,12 +61831,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: + - *444 - *445 - - *446 - - *475 + - *474 - *17 - *19 - - *476 + - *475 responses: '200': description: Response @@ -61564,9 +61852,9 @@ paths: type: integer artifacts: type: array - items: *462 + items: *461 examples: - default: *477 + default: *476 headers: Link: *43 x-github: @@ -61590,25 +61878,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: + - *444 - *445 - - *446 - - *475 - - &479 + - *474 + - &478 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *473 + - *472 responses: '200': description: Response content: application/json: - schema: *474 + schema: *473 examples: - default: *478 + default: *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61631,10 +61919,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: + - *444 - *445 - - *446 - - *475 - - *479 + - *474 + - *478 - *17 - *19 responses: @@ -61652,9 +61940,9 @@ paths: type: integer jobs: type: array - items: *480 + items: *479 examples: - default: &481 + default: &480 value: total_count: 1 jobs: @@ -61767,10 +62055,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: + - *444 - *445 - - *446 - - *475 - - *479 + - *474 + - *478 responses: '302': description: Response @@ -61798,9 +62086,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: + - *444 - *445 - - *446 - - *475 + - *474 responses: '202': description: Response @@ -61833,9 +62121,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: + - *444 - *445 - - *446 - - *475 + - *474 requestBody: required: true content: @@ -61902,9 +62190,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: + - *444 - *445 - - *446 - - *475 + - *474 responses: '202': description: Response @@ -61937,9 +62225,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: + - *444 - *445 - - *446 - - *475 + - *474 - 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 @@ -61969,9 +62257,9 @@ paths: type: integer jobs: type: array - items: *480 + items: *479 examples: - default: *481 + default: *480 headers: Link: *43 x-github: @@ -61996,9 +62284,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: + - *444 - *445 - - *446 - - *475 + - *474 responses: '302': description: Response @@ -62025,9 +62313,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: + - *444 - *445 - - *446 - - *475 + - *474 responses: '204': description: Response @@ -62054,9 +62342,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: + - *444 - *445 - - *446 - - *475 + - *474 responses: '200': description: Response @@ -62201,9 +62489,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: + - *444 - *445 - - *446 - - *475 + - *474 requestBody: required: true content: @@ -62412,9 +62700,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: + - *444 - *445 - - *446 - - *475 + - *474 requestBody: required: false content: @@ -62458,9 +62746,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: + - *444 - *445 - - *446 - - *475 + - *474 requestBody: required: false content: @@ -62514,9 +62802,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: + - *444 - *445 - - *446 - - *475 + - *474 responses: '200': description: Response @@ -62653,8 +62941,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -62672,9 +62960,9 @@ paths: type: integer secrets: type: array - items: *482 + items: *481 examples: - default: *483 + default: *482 headers: Link: *43 x-github: @@ -62699,16 +62987,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: + - *444 - *445 - - *446 responses: '200': description: Response content: application/json: - schema: *484 + schema: *483 examples: - default: *485 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62730,15 +63018,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: + - *444 - *445 - - *446 - *263 responses: '200': description: Response content: application/json: - schema: *482 + schema: *481 examples: default: &616 value: @@ -62766,8 +63054,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: + - *444 - *445 - - *446 - *263 requestBody: required: true @@ -62825,8 +63113,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: + - *444 - *445 - - *446 - *263 responses: '204': @@ -62852,9 +63140,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: + - *444 - *445 - - *446 - - *469 + - *468 - *19 responses: '200': @@ -62871,9 +63159,9 @@ paths: type: integer variables: type: array - items: *486 + items: *485 examples: - default: *487 + default: *486 headers: Link: *43 x-github: @@ -62896,8 +63184,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -62949,15 +63237,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: + - *444 - *445 - - *446 - *266 responses: '200': description: Response content: application/json: - schema: *486 + schema: *485 examples: default: &617 value: @@ -62985,8 +63273,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: + - *444 - *445 - - *446 - *266 requestBody: required: true @@ -63029,8 +63317,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: + - *444 - *445 - - *446 - *266 responses: '204': @@ -63056,8 +63344,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -63075,7 +63363,7 @@ paths: type: integer workflows: type: array - items: &488 + items: &487 title: Workflow description: A GitHub Actions workflow type: object @@ -63182,9 +63470,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: + - *444 - *445 - - *446 - - &489 + - &488 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -63199,7 +63487,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *487 examples: default: value: @@ -63232,9 +63520,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: + - *444 - *445 - - *446 - - *489 + - *488 responses: '204': description: Response @@ -63259,9 +63547,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: + - *444 - *445 - - *446 - - *489 + - *488 responses: '204': description: Response @@ -63312,9 +63600,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: + - *444 - *445 - - *446 - - *489 + - *488 responses: '204': description: Response @@ -63341,19 +63629,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: + - *444 - *445 - - *446 + - *488 - *489 - *490 - *491 - *492 - - *493 - *17 - *19 + - *493 + - *472 - *494 - - *473 - *495 - - *496 responses: '200': description: Response @@ -63369,9 +63657,9 @@ paths: type: integer workflow_runs: type: array - items: *474 + items: *473 examples: - default: *497 + default: *496 headers: Link: *43 x-github: @@ -63404,9 +63692,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: + - *444 - *445 - - *446 - - *489 + - *488 responses: '200': description: Response @@ -63467,8 +63755,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: + - *444 - *445 - - *446 - *101 - *17 - *99 @@ -63632,8 +63920,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -63670,8 +63958,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: + - *444 - *445 - - *446 - name: assignee in: path required: true @@ -63707,8 +63995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -63820,8 +64108,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: + - *444 - *445 - - *446 - *17 - *99 - *100 @@ -63877,7 +64165,7 @@ paths: initiator: type: string examples: - default: *498 + default: *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63897,8 +64185,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: + - *444 - *445 - - *446 responses: '200': description: Response @@ -63906,7 +64194,7 @@ paths: application/json: schema: type: array - items: &499 + items: &498 title: Autolink reference description: An autolink reference. type: object @@ -63960,8 +64248,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: + - *444 - *445 - - *446 requestBody: required: true content: @@ -64000,9 +64288,9 @@ paths: description: response content: application/json: - schema: *499 + schema: *498 examples: - default: &500 + default: &499 value: id: 1 key_prefix: TICKET- @@ -64033,9 +64321,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: + - *444 - *445 - - *446 - - &501 + - &500 name: autolink_id description: The unique identifier of the autolink. in: path @@ -64047,9 +64335,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *498 examples: - default: *500 + default: *499 '404': *6 x-github: githubCloudOnly: false @@ -64069,9 +64357,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: + - *444 - *445 - - *446 - - *501 + - *500 responses: '204': description: Response @@ -64095,8 +64383,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: + - *444 - *445 - - *446 responses: '200': description: Response if Dependabot is enabled @@ -64144,8 +64432,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: + - *444 - *445 - - *446 responses: '204': description: Response @@ -64166,8 +64454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: + - *444 - *445 - - *446 responses: '204': description: Response @@ -64187,8 +64475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: + - *444 - *445 - - *446 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -64226,7 +64514,7 @@ paths: - url protected: type: boolean - protection: &503 + protection: &502 title: Branch Protection description: Branch Protection type: object @@ -64268,7 +64556,7 @@ paths: required: - contexts - checks - enforce_admins: &506 + enforce_admins: &505 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -64283,7 +64571,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &508 + required_pull_request_reviews: &507 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -64359,7 +64647,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &505 + restrictions: &504 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -64636,9 +64924,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: + - *444 - *445 - - *446 - - &504 + - &503 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). @@ -64652,14 +64940,14 @@ paths: description: Response content: application/json: - schema: &514 + schema: &513 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &564 + commit: &563 title: Commit description: Commit type: object @@ -64693,7 +64981,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &502 + properties: &501 name: type: string example: '"Chris Wanstrath"' @@ -64708,7 +64996,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *502 + properties: *501 nullable: true message: type: string @@ -64799,7 +65087,7 @@ paths: type: integer files: type: array - items: &577 + items: &576 title: Diff Entry description: Diff Entry type: object @@ -64883,7 +65171,7 @@ paths: - self protected: type: boolean - protection: *503 + protection: *502 protection_url: type: string format: uri @@ -64990,7 +65278,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *459 + '301': *458 '404': *6 x-github: githubCloudOnly: false @@ -65012,15 +65300,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: + - *444 - *445 - - *446 - - *504 + - *503 responses: '200': description: Response content: application/json: - schema: *503 + schema: *502 examples: default: value: @@ -65214,9 +65502,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: + - *444 - *445 - - *446 - - *504 + - *503 requestBody: required: true content: @@ -65471,7 +65759,7 @@ paths: url: type: string format: uri - required_status_checks: &511 + required_status_checks: &510 title: Status Check Policy description: Status Check Policy type: object @@ -65623,7 +65911,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *505 + restrictions: *504 required_conversation_resolution: type: object properties: @@ -65735,9 +66023,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: + - *444 - *445 - - *446 - - *504 + - *503 responses: '204': description: Response @@ -65762,17 +66050,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: + - *444 - *445 - - *446 - - *504 + - *503 responses: '200': description: Response content: application/json: - schema: *506 + schema: *505 examples: - default: &507 + default: &506 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -65794,17 +66082,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: + - *444 - *445 - - *446 - - *504 + - *503 responses: '200': description: Response content: application/json: - schema: *506 + schema: *505 examples: - default: *507 + default: *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65823,9 +66111,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: + - *444 - *445 - - *446 - - *504 + - *503 responses: '204': description: Response @@ -65850,17 +66138,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: + - *444 - *445 - - *446 - - *504 + - *503 responses: '200': description: Response content: application/json: - schema: *508 + schema: *507 examples: - default: &509 + default: &508 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -65956,9 +66244,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: + - *444 - *445 - - *446 - - *504 + - *503 requestBody: required: false content: @@ -66056,9 +66344,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *507 examples: - default: *509 + default: *508 '422': *15 x-github: githubCloudOnly: false @@ -66079,9 +66367,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: + - *444 - *445 - - *446 - - *504 + - *503 responses: '204': description: Response @@ -66108,17 +66396,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: + - *444 - *445 - - *446 - - *504 + - *503 responses: '200': description: Response content: application/json: - schema: *506 + schema: *505 examples: - default: &510 + default: &509 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -66141,17 +66429,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: + - *444 - *445 - - *446 - - *504 + - *503 responses: '200': description: Response content: application/json: - schema: *506 + schema: *505 examples: - default: *510 + default: *509 '404': *6 x-github: githubCloudOnly: false @@ -66171,9 +66459,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: + - *444 - *445 - - *446 - - *504 + - *503 responses: '204': description: Response @@ -66198,17 +66486,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: + - *444 - *445 - - *446 - - *504 + - *503 responses: '200': description: Response content: application/json: - schema: *511 + schema: *510 examples: - default: &512 + default: &511 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -66234,9 +66522,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: + - *444 - *445 - - *446 - - *504 + - *503 requestBody: required: false content: @@ -66288,9 +66576,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *510 examples: - default: *512 + default: *511 '404': *6 '422': *15 x-github: @@ -66312,9 +66600,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: + - *444 - *445 - - *446 - - *504 + - *503 responses: '204': description: Response @@ -66338,9 +66626,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: + - *444 - *445 - - *446 - - *504 + - *503 responses: '200': description: Response @@ -66374,9 +66662,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: + - *444 - *445 - - *446 - - *504 + - *503 requestBody: required: false content: @@ -66443,9 +66731,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: + - *444 - *445 - - *446 - - *504 + - *503 requestBody: required: false content: @@ -66509,9 +66797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: + - *444 - *445 - - *446 - - *504 + - *503 requestBody: content: application/json: @@ -66577,15 +66865,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: + - *444 - *445 - - *446 - - *504 + - *503 responses: '200': description: Response content: application/json: - schema: *505 + schema: *504 examples: default: value: @@ -66676,9 +66964,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: + - *444 - *445 - - *446 - - *504 + - *503 responses: '204': description: Response @@ -66701,9 +66989,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: + - *444 - *445 - - *446 - - *504 + - *503 responses: '200': description: Response @@ -66713,7 +67001,7 @@ paths: type: array items: *5 examples: - default: &513 + default: &512 value: - id: 1 slug: octoapp @@ -66770,9 +67058,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: + - *444 - *445 - - *446 - - *504 + - *503 requestBody: required: true content: @@ -66806,7 +67094,7 @@ paths: type: array items: *5 examples: - default: *513 + default: *512 '422': *15 x-github: githubCloudOnly: false @@ -66827,9 +67115,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: + - *444 - *445 - - *446 - - *504 + - *503 requestBody: required: true content: @@ -66863,7 +67151,7 @@ paths: type: array items: *5 examples: - default: *513 + default: *512 '422': *15 x-github: githubCloudOnly: false @@ -66884,9 +67172,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: + - *444 - *445 - - *446 - - *504 + - *503 requestBody: required: true content: @@ -66920,7 +67208,7 @@ paths: type: array items: *5 examples: - default: *513 + default: *512 '422': *15 x-github: githubCloudOnly: false @@ -66942,9 +67230,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: + - *444 - *445 - - *446 - - *504 + - *503 responses: '200': description: Response @@ -66954,7 +67242,7 @@ paths: type: array items: *280 examples: - default: *356 + default: *355 '404': *6 x-github: githubCloudOnly: false @@ -66974,9 +67262,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: + - *444 - *445 - - *446 - - *504 + - *503 requestBody: required: false content: @@ -67014,7 +67302,7 @@ paths: type: array items: *280 examples: - default: *356 + default: *355 '422': *15 x-github: githubCloudOnly: false @@ -67035,9 +67323,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: + - *444 - *445 - - *446 - - *504 + - *503 requestBody: required: false content: @@ -67075,7 +67363,7 @@ paths: type: array items: *280 examples: - default: *356 + default: *355 '422': *15 x-github: githubCloudOnly: false @@ -67096,9 +67384,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: + - *444 - *445 - - *446 - - *504 + - *503 requestBody: content: application/json: @@ -67135,7 +67423,7 @@ paths: type: array items: *280 examples: - default: *356 + default: *355 '422': *15 x-github: githubCloudOnly: false @@ -67157,9 +67445,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: + - *444 - *445 - - *446 - - *504 + - *503 responses: '200': description: Response @@ -67193,9 +67481,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: + - *444 - *445 - - *446 - - *504 + - *503 requestBody: required: true content: @@ -67253,9 +67541,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: + - *444 - *445 - - *446 - - *504 + - *503 requestBody: required: true content: @@ -67313,9 +67601,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: + - *444 - *445 - - *446 - - *504 + - *503 requestBody: required: true content: @@ -67375,9 +67663,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: + - *444 - *445 - - *446 - - *504 + - *503 requestBody: required: true content: @@ -67399,7 +67687,7 @@ paths: description: Response content: application/json: - schema: *514 + schema: *513 examples: default: value: @@ -67513,8 +67801,8 @@ paths: category: repos subcategory: bypass-requests parameters: + - *444 - *445 - - *446 - *94 - *95 - *96 @@ -67550,8 +67838,8 @@ paths: category: repos subcategory: bypass-requests parameters: + - *444 - *445 - - *446 - name: bypass_request_number in: path required: true @@ -67624,8 +67912,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: + - *444 - *445 - - *446 - *94 - *95 - *96 @@ -67665,8 +67953,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: + - *444 - *445 - - *446 - name: bypass_request_number in: path required: true @@ -67736,8 +68024,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: + - *444 - *445 - - *446 - name: bypass_request_number in: path required: true @@ -67808,8 +68096,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: + - *444 - *445 - - *446 - name: bypass_response_id in: path required: true @@ -67842,8 +68130,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -68122,7 +68410,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &515 title: CheckRun description: A check performed on the code of a given code change type: object @@ -68241,7 +68529,7 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *515 + items: *514 deployment: &843 title: Deployment description: A deployment created as the result of an Actions @@ -68522,9 +68810,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: + - *444 - *445 - - *446 - - &517 + - &516 name: check_run_id description: The unique identifier of the check run. in: path @@ -68536,9 +68824,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *515 examples: - default: &518 + default: &517 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -68638,9 +68926,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: + - *444 - *445 - - *446 - - *517 + - *516 requestBody: required: true content: @@ -68880,9 +69168,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *515 examples: - default: *518 + default: *517 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68902,9 +69190,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: + - *444 - *445 - - *446 - - *517 + - *516 - *17 - *19 responses: @@ -68999,9 +69287,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: + - *444 - *445 - - *446 - - *517 + - *516 responses: '201': description: Response @@ -69045,8 +69333,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -69068,7 +69356,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &521 + schema: &520 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -69132,7 +69420,7 @@ paths: nullable: true pull_requests: type: array - items: *515 + items: *514 nullable: true app: title: GitHub app @@ -69158,8 +69446,8 @@ paths: title: Simple Commit description: A commit. type: object - properties: *519 - required: *520 + properties: *518 + required: *519 latest_check_runs_count: type: integer check_runs_url: @@ -69187,7 +69475,7 @@ paths: - check_runs_url - pull_requests examples: - default: &522 + default: &521 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -69478,9 +69766,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *521 + schema: *520 examples: - default: *522 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69499,8 +69787,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -69809,9 +70097,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: + - *444 - *445 - - *446 - - &523 + - &522 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -69823,9 +70111,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *520 examples: - default: *522 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69848,17 +70136,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: + - *444 - *445 - - *446 - - *523 - - &570 + - *522 + - &569 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &571 + - &570 name: status description: Returns check runs with the specified `status`. in: query @@ -69897,9 +70185,9 @@ paths: type: integer check_runs: type: array - items: *516 + items: *515 examples: - default: &572 + default: &571 value: total_count: 1 check_runs: @@ -70001,9 +70289,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: + - *444 - *445 - - *446 - - *523 + - *522 responses: '201': description: Response @@ -70036,21 +70324,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: + - *444 - *445 - - *446 - *284 - *285 - *19 - *17 - - &539 + - &538 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: *524 - - &540 + schema: *523 + - &539 name: pr description: The number of the pull request for the results you want to list. in: query @@ -70081,7 +70369,7 @@ paths: be returned. in: query required: false - schema: *525 + schema: *524 responses: '200': description: Response @@ -70097,7 +70385,7 @@ paths: updated_at: *121 url: *118 html_url: *119 - instances_url: *526 + instances_url: *525 state: *104 fixed_at: *123 dismissed_by: @@ -70108,11 +70396,11 @@ paths: required: *21 nullable: true dismissed_at: *122 - dismissed_reason: *527 - dismissed_comment: *528 - rule: *529 - tool: *530 - most_recent_instance: *531 + dismissed_reason: *526 + dismissed_comment: *527 + rule: *528 + tool: *529 + most_recent_instance: *530 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -70238,7 +70526,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &532 + '403': &531 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -70265,9 +70553,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: + - *444 - *445 - - *446 - - &533 + - &532 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -70281,7 +70569,7 @@ paths: description: Response content: application/json: - schema: &534 + schema: &533 type: object properties: number: *113 @@ -70289,7 +70577,7 @@ paths: updated_at: *121 url: *118 html_url: *119 - instances_url: *526 + instances_url: *525 state: *104 fixed_at: *123 dismissed_by: @@ -70300,8 +70588,8 @@ paths: required: *21 nullable: true dismissed_at: *122 - dismissed_reason: *527 - dismissed_comment: *528 + dismissed_reason: *526 + dismissed_comment: *527 rule: type: object properties: @@ -70355,8 +70643,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *530 - most_recent_instance: *531 + tool: *529 + most_recent_instance: *530 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -70455,7 +70743,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *532 + '403': *531 '404': *6 '503': *167 x-github: @@ -70475,9 +70763,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: + - *444 - *445 - - *446 - - *533 + - *532 requestBody: required: true content: @@ -70492,8 +70780,8 @@ paths: enum: - open - dismissed - dismissed_reason: *527 - dismissed_comment: *528 + dismissed_reason: *526 + dismissed_comment: *527 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -70512,7 +70800,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *533 examples: default: value: @@ -70588,7 +70876,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &538 + '403': &537 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -70615,15 +70903,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: + - *444 - *445 - - *446 - - *533 + - *532 responses: '200': description: Response content: application/json: - schema: &535 + schema: &534 type: object properties: status: @@ -70649,13 +70937,13 @@ paths: - description - started_at examples: - default: &536 + default: &535 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &537 + '400': &536 description: Bad Request content: application/json: @@ -70666,7 +70954,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': *532 + '403': *531 '404': *6 '503': *167 x-github: @@ -70691,29 +70979,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: + - *444 - *445 - - *446 - - *533 + - *532 responses: '200': description: OK content: application/json: - schema: *535 + schema: *534 examples: - default: *536 + default: *535 '202': description: Accepted content: application/json: - schema: *535 + schema: *534 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *537 + '400': *536 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -70745,9 +71033,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: + - *444 - *445 - - *446 - - *533 + - *532 requestBody: required: false content: @@ -70792,8 +71080,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *537 - '403': *538 + '400': *536 + '403': *537 '404': *6 '422': description: Unprocessable Entity @@ -70817,13 +71105,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: + - *444 - *445 - - *446 - - *533 + - *532 - *19 - *17 + - *538 - *539 - - *540 responses: '200': description: Response @@ -70831,7 +71119,7 @@ paths: application/json: schema: type: array - items: *531 + items: *530 examples: default: value: @@ -70870,7 +71158,7 @@ paths: end_column: 50 classifications: - source - '403': *532 + '403': *531 '404': *6 '503': *167 x-github: @@ -70904,25 +71192,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: + - *444 - *445 - - *446 - *284 - *285 - *19 - *17 - - *540 + - *539 - 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: *524 + schema: *523 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &543 + schema: &542 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -70943,23 +71231,23 @@ paths: application/json: schema: type: array - items: &544 + items: &543 type: object properties: - ref: *524 - commit_sha: &552 + ref: *523 + commit_sha: &551 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: *541 + analysis_key: *540 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *542 + category: *541 error: type: string example: error reading field xyz @@ -70983,8 +71271,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *543 - tool: *530 + sarif_id: *542 + tool: *529 deletable: type: boolean warning: @@ -71045,7 +71333,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *532 + '403': *531 '404': *6 '503': *167 x-github: @@ -71081,8 +71369,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: + - *444 - *445 - - *446 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -71095,7 +71383,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *543 examples: response: summary: application/json response @@ -71149,7 +71437,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *532 + '403': *531 '404': *6 '422': description: Response if analysis could not be processed @@ -71236,8 +71524,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: + - *444 - *445 - - *446 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -71290,7 +71578,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': *538 + '403': *537 '404': *6 '503': *167 x-github: @@ -71312,8 +71600,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: + - *444 - *445 - - *446 responses: '200': description: Response @@ -71321,7 +71609,7 @@ paths: application/json: schema: type: array - items: &545 + items: &544 title: CodeQL Database description: A CodeQL database. type: object @@ -71432,7 +71720,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': *532 + '403': *531 '404': *6 '503': *167 x-github: @@ -71461,8 +71749,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: + - *444 - *445 - - *446 - name: language in: path description: The language of the CodeQL database. @@ -71474,7 +71762,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *544 examples: default: value: @@ -71506,9 +71794,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &579 + '302': &578 description: Found - '403': *532 + '403': *531 '404': *6 '503': *167 x-github: @@ -71530,8 +71818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: + - *444 - *445 - - *446 - name: language in: path description: The language of the CodeQL database. @@ -71541,7 +71829,7 @@ paths: responses: '204': description: Response - '403': *538 + '403': *537 '404': *6 '503': *167 x-github: @@ -71569,8 +71857,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: + - *444 - *445 - - *446 requestBody: required: true content: @@ -71579,7 +71867,7 @@ paths: type: object additionalProperties: false properties: - language: &546 + language: &545 type: string description: The language targeted by the CodeQL query enum: @@ -71658,7 +71946,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &550 + schema: &549 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -71668,7 +71956,7 @@ paths: description: The ID of the variant analysis. controller_repo: *110 actor: *4 - query_language: *546 + query_language: *545 query_pack_url: type: string description: The download url for the query pack. @@ -71715,7 +72003,7 @@ paths: items: type: object properties: - repository: &547 + repository: &546 title: Repository Identifier description: Repository Identifier type: object @@ -71751,7 +72039,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &551 + analysis_status: &550 type: string description: The new status of the CodeQL variant analysis repository task. @@ -71783,7 +72071,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &548 + access_mismatch_repos: &547 type: object properties: repository_count: @@ -71797,7 +72085,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: *547 + items: *546 required: - repository_count - repositories @@ -71819,8 +72107,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *548 - over_limit_repos: *548 + no_codeql_db_repos: *547 + over_limit_repos: *547 required: - access_mismatch_repos - not_found_repos @@ -71836,7 +72124,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &549 + value: &548 summary: Default response value: id: 1 @@ -71988,10 +72276,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *549 + value: *548 repository_lists: summary: Response for a successful variant analysis submission - value: *549 + value: *548 '404': *6 '422': description: Unable to process variant analysis submission @@ -72019,8 +72307,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: + - *444 - *445 - - *446 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -72032,9 +72320,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *549 examples: - default: *549 + default: *548 '404': *6 '503': *167 x-github: @@ -72057,7 +72345,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: - - *445 + - *444 - name: repo in: path description: The name of the controller repository. @@ -72092,7 +72380,7 @@ paths: type: object properties: repository: *110 - analysis_status: *551 + analysis_status: *550 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -72217,8 +72505,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: + - *444 - *445 - - *446 responses: '200': description: Response @@ -72303,7 +72591,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *532 + '403': *531 '404': *6 '503': *167 x-github: @@ -72324,8 +72612,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: + - *444 - *445 - - *446 requestBody: required: true content: @@ -72417,7 +72705,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *538 + '403': *537 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -72488,8 +72776,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: + - *444 - *445 - - *446 requestBody: required: true content: @@ -72497,7 +72785,7 @@ paths: schema: type: object properties: - commit_sha: *552 + commit_sha: *551 ref: type: string description: |- @@ -72555,7 +72843,7 @@ paths: schema: type: object properties: - id: *543 + id: *542 url: type: string description: The REST API URL for checking the status of the upload. @@ -72569,7 +72857,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': *538 + '403': *537 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -72592,8 +72880,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: + - *444 - *445 - - *446 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -72639,7 +72927,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': *532 + '403': *531 '404': description: Not Found if the sarif id does not match any upload '503': *167 @@ -72664,8 +72952,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: + - *444 - *445 - - *446 responses: '200': description: Response @@ -72746,8 +73034,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: + - *444 - *445 - - *446 - 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 @@ -72867,8 +73155,8 @@ paths: parameters: - *17 - *19 + - *444 - *445 - - *446 responses: '200': description: Response @@ -72884,7 +73172,7 @@ paths: type: integer codespaces: type: array - items: *346 + items: *345 examples: default: value: @@ -73182,8 +73470,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -73246,17 +73534,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *346 + schema: *345 examples: - default: *553 + default: *552 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *346 + schema: *345 examples: - default: *553 + default: *552 '400': *14 '401': *25 '403': *29 @@ -73285,8 +73573,8 @@ paths: parameters: - *17 - *19 + - *444 - *445 - - *446 responses: '200': description: Response @@ -73350,8 +73638,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: + - *444 - *445 - - *446 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -73390,8 +73678,8 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *554 - required: *555 + properties: *553 + required: *554 examples: default: &796 value: @@ -73433,8 +73721,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: + - *444 - *445 - - *446 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -73518,8 +73806,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: + - *444 - *445 - - *446 - 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 @@ -73585,8 +73873,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -73604,7 +73892,7 @@ paths: type: integer secrets: type: array - items: &559 + items: &558 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -73624,7 +73912,7 @@ paths: - created_at - updated_at examples: - default: *556 + default: *555 headers: Link: *43 x-github: @@ -73647,16 +73935,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: + - *444 - *445 - - *446 responses: '200': description: Response content: application/json: - schema: *557 + schema: *556 examples: - default: *558 + default: *557 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -73676,17 +73964,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: + - *444 - *445 - - *446 - *263 responses: '200': description: Response content: application/json: - schema: *559 + schema: *558 examples: - default: *560 + default: *559 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73706,8 +73994,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: + - *444 - *445 - - *446 - *263 requestBody: required: true @@ -73760,8 +74048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: + - *444 - *445 - - *446 - *263 responses: '204': @@ -73790,8 +74078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: + - *444 - *445 - - *446 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -73833,7 +74121,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &561 + properties: &560 login: type: string example: octocat @@ -73926,7 +74214,7 @@ paths: user_view_type: type: string example: public - required: &562 + required: &561 - avatar_url - events_url - followers_url @@ -74000,8 +74288,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: + - *444 - *445 - - *446 - *182 responses: '204': @@ -74048,8 +74336,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: + - *444 - *445 - - *446 - *182 requestBody: required: false @@ -74305,8 +74593,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: + - *444 - *445 - - *446 - *182 responses: '204': @@ -74338,8 +74626,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: + - *444 - *445 - - *446 - *182 responses: '200': @@ -74360,8 +74648,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *561 - required: *562 + properties: *560 + required: *561 nullable: true required: - permission @@ -74416,8 +74704,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -74427,7 +74715,7 @@ paths: application/json: schema: type: array - items: &563 + items: &562 title: Commit Comment description: Commit Comment type: object @@ -74485,7 +74773,7 @@ paths: - created_at - updated_at examples: - default: &566 + default: &565 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -74544,17 +74832,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: + - *444 - *445 - - *446 - *200 responses: '200': description: Response content: application/json: - schema: *563 + schema: *562 examples: - default: &567 + default: &566 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -74611,8 +74899,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: + - *444 - *445 - - *446 - *200 requestBody: required: true @@ -74635,7 +74923,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *562 examples: default: value: @@ -74686,8 +74974,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: + - *444 - *445 - - *446 - *200 responses: '204': @@ -74709,8 +74997,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: + - *444 - *445 - - *446 - *200 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -74737,9 +75025,9 @@ paths: application/json: schema: type: array - items: *434 + items: *433 examples: - default: *436 + default: *435 headers: Link: *43 '404': *6 @@ -74760,8 +75048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: + - *444 - *445 - - *446 - *200 requestBody: required: true @@ -74794,16 +75082,16 @@ paths: description: Reaction exists content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 '201': description: Reaction created content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 '422': *15 x-github: githubCloudOnly: false @@ -74825,10 +75113,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: + - *444 - *445 - - *446 - *200 - - *437 + - *436 responses: '204': description: Response @@ -74877,8 +75165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: + - *444 - *445 - - *446 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -74934,7 +75222,7 @@ paths: application/json: schema: type: array - items: *564 + items: *563 examples: default: &686 value: @@ -75030,9 +75318,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: + - *444 - *445 - - *446 - - &565 + - &564 name: commit_sha description: The SHA of the commit. in: path @@ -75104,9 +75392,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: + - *444 - *445 - - *446 - - *565 + - *564 - *17 - *19 responses: @@ -75116,9 +75404,9 @@ paths: application/json: schema: type: array - items: *563 + items: *562 examples: - default: *566 + default: *565 headers: Link: *43 x-github: @@ -75146,9 +75434,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: + - *444 - *445 - - *446 - - *565 + - *564 requestBody: required: true content: @@ -75183,9 +75471,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *562 examples: - default: *567 + default: *566 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -75213,9 +75501,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: + - *444 - *445 - - *446 - - *565 + - *564 - *17 - *19 responses: @@ -75225,7 +75513,7 @@ paths: application/json: schema: type: array - items: *568 + items: *567 examples: default: &678 value: @@ -75764,11 +76052,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: + - *444 - *445 - - *446 - *19 - *17 - - &569 + - &568 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)" @@ -75783,7 +76071,7 @@ paths: description: Response content: application/json: - schema: *564 + schema: *563 examples: default: &665 value: @@ -75898,11 +76186,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: + - *444 - *445 - - *446 + - *568 - *569 - *570 - - *571 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -75936,9 +76224,9 @@ paths: type: integer check_runs: type: array - items: *516 + items: *515 examples: - default: *572 + default: *571 headers: Link: *43 x-github: @@ -75963,9 +76251,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: + - *444 - *445 - - *446 - - *569 + - *568 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -75973,7 +76261,7 @@ paths: schema: type: integer example: 1 - - *570 + - *569 - *17 - *19 responses: @@ -75991,7 +76279,7 @@ paths: type: integer check_suites: type: array - items: *521 + items: *520 examples: default: value: @@ -76191,9 +76479,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: + - *444 - *445 - - *446 - - *569 + - *568 - *17 - *19 responses: @@ -76391,9 +76679,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: + - *444 - *445 - - *446 - - *569 + - *568 - *17 - *19 responses: @@ -76484,7 +76772,7 @@ paths: site_admin: false headers: Link: *43 - '301': *459 + '301': *458 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76512,8 +76800,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: + - *444 - *445 - - *446 responses: '200': description: Response @@ -76542,20 +76830,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *573 - required: *574 + properties: *572 + required: *573 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &575 + properties: &574 url: type: string format: uri html_url: type: string format: uri - required: &576 + required: &575 - url - html_url nullable: true @@ -76569,26 +76857,26 @@ paths: contributing: title: Community Health File type: object - properties: *575 - required: *576 + properties: *574 + required: *575 nullable: true readme: title: Community Health File type: object - properties: *575 - required: *576 + properties: *574 + required: *575 nullable: true issue_template: title: Community Health File type: object - properties: *575 - required: *576 + properties: *574 + required: *575 nullable: true pull_request_template: title: Community Health File type: object - properties: *575 - required: *576 + properties: *574 + required: *575 nullable: true required: - code_of_conduct @@ -76715,8 +77003,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: + - *444 - *445 - - *446 - *19 - *17 - name: basehead @@ -76759,8 +77047,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *564 - merge_base_commit: *564 + base_commit: *563 + merge_base_commit: *563 status: type: string enum: @@ -76780,10 +77068,10 @@ paths: example: 6 commits: type: array - items: *564 + items: *563 files: type: array - items: *577 + items: *576 required: - url - html_url @@ -77069,8 +77357,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: + - *444 - *445 - - *446 - name: path description: path parameter in: path @@ -77213,7 +77501,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &578 + response-if-content-is-a-file: &577 summary: Response if content is a file value: type: file @@ -77546,7 +77834,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *578 + response-if-content-is-a-file: *577 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -77615,7 +77903,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *579 + '302': *578 '304': *37 x-github: githubCloudOnly: false @@ -77638,8 +77926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: + - *444 - *445 - - *446 - name: path description: path parameter in: path @@ -77732,7 +78020,7 @@ paths: description: Response content: application/json: - schema: &580 + schema: &579 title: File Commit description: File Commit type: object @@ -77884,7 +78172,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *579 examples: example-for-creating-a-file: value: @@ -77991,8 +78279,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: + - *444 - *445 - - *446 - name: path description: path parameter in: path @@ -78053,7 +78341,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *579 examples: default: value: @@ -78108,8 +78396,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: + - *444 - *445 - - *446 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -78232,8 +78520,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: + - *444 - *445 - - *446 - *301 - *302 - *303 @@ -78245,9 +78533,9 @@ paths: schema: type: string - *305 + - *580 - *306 - *307 - - *308 - *101 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -78267,8 +78555,8 @@ paths: default: 30 - *99 - *100 + - *308 - *309 - - *310 responses: '200': description: Response @@ -78583,8 +78871,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: + - *444 - *445 - - *446 - &584 name: alert_number in: path @@ -78713,8 +79001,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: + - *444 - *445 - - *446 - *584 requestBody: required: true @@ -78889,8 +79177,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -78961,8 +79249,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: + - *444 - *445 - - *446 responses: '200': description: Response @@ -78990,8 +79278,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: + - *444 - *445 - - *446 - *263 responses: '200': @@ -79024,8 +79312,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: + - *444 - *445 - - *446 - *263 requestBody: required: true @@ -79078,8 +79366,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: + - *444 - *445 - - *446 - *263 responses: '204': @@ -79102,8 +79390,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: + - *444 - *445 - - *446 - 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 @@ -79263,8 +79551,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: + - *444 - *445 - - *446 responses: '200': description: Response @@ -79503,8 +79791,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: + - *444 - *445 - - *446 requestBody: required: true content: @@ -79754,8 +80042,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: + - *444 - *445 - - *446 - name: sha description: The SHA recorded at creation time. in: query @@ -79863,8 +80151,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -80018,8 +80306,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: + - *444 - *445 - - *446 - &591 name: deployment_id description: deployment_id parameter @@ -80097,8 +80385,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: + - *444 - *445 - - *446 - *591 responses: '204': @@ -80121,8 +80409,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: + - *444 - *445 - - *446 - *591 - *17 - *19 @@ -80294,8 +80582,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: + - *444 - *445 - - *446 - *591 requestBody: required: true @@ -80429,8 +80717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: + - *444 - *445 - - *446 - *591 - name: status_id in: path @@ -80471,8 +80759,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: + - *444 - *445 - - *446 - *594 - *595 - *596 @@ -80512,8 +80800,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: + - *444 - *445 - - *446 - name: alert_number in: path required: true @@ -80581,8 +80869,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: + - *444 - *445 - - *446 - name: alert_number in: path required: true @@ -80641,8 +80929,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: + - *444 - *445 - - *446 - *94 - *95 - *96 @@ -80683,8 +80971,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: + - *444 - *445 - - *446 - name: alert_number in: path required: true @@ -80754,8 +81042,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: + - *444 - *445 - - *446 - name: alert_number in: path required: true @@ -80824,8 +81112,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -80882,8 +81170,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -81129,8 +81417,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: + - *444 - *445 - - *446 - &605 name: environment_name in: path @@ -81230,8 +81518,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: + - *444 - *445 - - *446 - *605 requestBody: required: false @@ -81310,8 +81598,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: + - *444 - *445 - - *446 - *605 responses: '204': @@ -81337,8 +81625,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: + - *444 - *445 - - *446 - *605 - *17 - *19 @@ -81414,8 +81702,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: + - *444 - *445 - - *446 - *605 requestBody: required: true @@ -81506,8 +81794,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: + - *444 - *445 - - *446 - *605 - &611 name: branch_policy_id @@ -81542,8 +81830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: + - *444 - *445 - - *446 - *605 - *611 requestBody: @@ -81594,8 +81882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: + - *444 - *445 - - *446 - *605 - *611 responses: @@ -81623,8 +81911,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - *605 - - *446 - *445 + - *444 responses: '200': description: List of deployment protection rules @@ -81759,8 +82047,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - *605 - - *446 - *445 + - *444 requestBody: content: application/json: @@ -81819,8 +82107,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - *605 - - *446 - *445 + - *444 - *19 - *17 responses: @@ -81874,8 +82162,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: + - *444 - *445 - - *446 - *605 - &615 name: protection_rule_id @@ -81913,8 +82201,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - *605 - - *446 - *445 + - *444 - *615 responses: '204': @@ -81941,8 +82229,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: + - *444 - *445 - - *446 - *605 - *17 - *19 @@ -81961,9 +82249,9 @@ paths: type: integer secrets: type: array - items: *482 + items: *481 examples: - default: *483 + default: *482 headers: Link: *43 x-github: @@ -81988,17 +82276,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: + - *444 - *445 - - *446 - *605 responses: '200': description: Response content: application/json: - schema: *484 + schema: *483 examples: - default: *485 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82020,8 +82308,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: + - *444 - *445 - - *446 - *605 - *263 responses: @@ -82029,7 +82317,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *481 examples: default: *616 x-github: @@ -82053,8 +82341,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: + - *444 - *445 - - *446 - *605 - *263 requestBody: @@ -82113,8 +82401,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: + - *444 - *445 - - *446 - *605 - *263 responses: @@ -82141,10 +82429,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: + - *444 - *445 - - *446 - *605 - - *469 + - *468 - *19 responses: '200': @@ -82161,9 +82449,9 @@ paths: type: integer variables: type: array - items: *486 + items: *485 examples: - default: *487 + default: *486 headers: Link: *43 x-github: @@ -82186,8 +82474,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: + - *444 - *445 - - *446 - *605 requestBody: required: true @@ -82240,8 +82528,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: + - *444 - *445 - - *446 - *605 - *266 responses: @@ -82249,7 +82537,7 @@ paths: description: Response content: application/json: - schema: *486 + schema: *485 examples: default: *617 x-github: @@ -82272,8 +82560,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: + - *444 - *445 - - *446 - *266 - *605 requestBody: @@ -82317,8 +82605,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: + - *444 - *445 - - *446 - *266 - *605 responses: @@ -82342,8 +82630,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -82420,8 +82708,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: + - *444 - *445 - - *446 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -82580,8 +82868,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: + - *444 - *445 - - *446 requestBody: required: false content: @@ -82613,9 +82901,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *457 examples: - default: *460 + default: *459 '400': *14 '422': *15 '403': *29 @@ -82636,8 +82924,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -82722,8 +83010,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: + - *444 - *445 - - *446 - name: file_sha in: path required: true @@ -82822,8 +83110,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -83146,9 +83434,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: + - *444 - *445 - - *446 - - *565 + - *564 responses: '200': description: Response @@ -83210,8 +83498,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: + - *444 - *445 - - *446 - &620 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -83304,8 +83592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: + - *444 - *445 - - *446 - *620 responses: '200': @@ -83343,8 +83631,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -83401,8 +83689,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: + - *444 - *445 - - *446 - *620 requestBody: required: true @@ -83452,8 +83740,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: + - *444 - *445 - - *446 - *620 responses: '204': @@ -83509,8 +83797,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -83711,8 +83999,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: + - *444 - *445 - - *446 - name: tag_sha in: path required: true @@ -83749,8 +84037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -83919,8 +84207,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: + - *444 - *445 - - *446 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -84002,8 +84290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -84141,8 +84429,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: + - *444 - *445 - - *446 requestBody: required: false content: @@ -84244,9 +84532,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: + - *444 - *445 - - *446 - - *318 + - *317 responses: '200': description: Response @@ -84274,9 +84562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: + - *444 - *445 - - *446 - - *318 + - *317 requestBody: required: true content: @@ -84344,9 +84632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: + - *444 - *445 - - *446 - - *318 + - *317 responses: '204': description: Response @@ -84370,9 +84658,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: + - *444 - *445 - - *446 - - *318 + - *317 responses: '200': description: Response @@ -84399,9 +84687,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: + - *444 - *445 - - *446 - - *318 + - *317 requestBody: required: false content: @@ -84445,11 +84733,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: + - *444 - *445 - - *446 - - *318 + - *317 - *17 - - *319 + - *318 responses: '200': description: Response @@ -84457,9 +84745,9 @@ paths: application/json: schema: type: array - items: *320 + items: *319 examples: - default: *321 + default: *320 '400': *14 '422': *15 x-github: @@ -84478,18 +84766,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: + - *444 - *445 - - *446 - - *318 + - *317 - *16 responses: '200': description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '400': *14 '422': *15 x-github: @@ -84508,9 +84796,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: + - *444 - *445 - - *446 - - *318 + - *317 - *16 responses: '202': *39 @@ -84533,9 +84821,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: + - *444 - *445 - - *446 - - *318 + - *317 responses: '204': description: Response @@ -84560,9 +84848,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: + - *444 - *445 - - *446 - - *318 + - *317 responses: '204': description: Response @@ -84572,6 +84860,97 @@ paths: enabledForGitHubApps: true category: repos subcategory: webhooks + "/repos/{owner}/{repo}/immutable-releases": + get: + summary: Check if immutable releases are enabled for a repository + description: |- + Shows whether immutable releases are enabled or disabled. Also identifies whether immutability is being + enforced by the repository owner. The authenticated user must have admin read access to the repository. + tags: + - repos + operationId: repos/check-immutable-releases + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository + parameters: + - *444 + - *445 + responses: + '200': + description: Response if immutable releases are enabled + content: + application/json: + schema: + title: Check immutable releases + description: Check immutable releases + type: object + properties: + enabled: + type: boolean + example: true + description: Whether immutable releases are enabled for the repository. + enforced_by_owner: + type: boolean + example: false + description: Whether immutable releases are enforced by the repository + owner. + required: + - enabled + - enforced_by_owner + examples: + default: + value: + enabled: true + enforced_by_owner: false + '404': + description: Not Found if immutable releases are not enabled for the repository + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos + put: + summary: Enable immutable releases + description: Enables immutable releases for a repository. The authenticated + user must have admin access to the repository. + tags: + - repos + operationId: repos/enable-immutable-releases + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases + parameters: + - *444 + - *445 + responses: + '204': *133 + '409': *109 + 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: + - *444 + - *445 + responses: + '204': *133 + '409': *109 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos "/repos/{owner}/{repo}/import": get: summary: Get an import status @@ -84620,8 +84999,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: + - *444 - *445 - - *446 responses: '200': description: Response @@ -84771,8 +85150,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -84873,8 +85252,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: + - *444 - *445 - - *446 requestBody: required: false content: @@ -84994,8 +85373,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: + - *444 - *445 - - *446 responses: '204': description: Response @@ -85025,8 +85404,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: + - *444 - *445 - - *446 - &818 name: since description: A user ID. Only return users with an ID greater than this ID. @@ -85120,8 +85499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: + - *444 - *445 - - *446 - name: author_id in: path required: true @@ -85188,8 +85567,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: + - *444 - *445 - - *446 responses: '200': description: Response @@ -85258,8 +85637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -85313,8 +85692,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: + - *444 - *445 - - *446 responses: '200': description: Response @@ -85323,7 +85702,7 @@ paths: schema: *22 examples: default: *633 - '301': *459 + '301': *458 '404': *6 x-github: githubCloudOnly: false @@ -85343,8 +85722,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: + - *444 - *445 - - *446 responses: '200': description: Response @@ -85352,7 +85731,7 @@ paths: application/json: schema: anyOf: - - *336 + - *335 - type: object properties: {} additionalProperties: false @@ -85382,8 +85761,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -85400,7 +85779,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *335 examples: default: *635 '409': @@ -85424,8 +85803,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: + - *444 - *445 - - *446 responses: '204': description: Response @@ -85448,8 +85827,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -85592,9 +85971,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: + - *444 - *445 - - *446 - - *340 + - *339 requestBody: required: false content: @@ -85754,9 +86133,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: + - *444 - *445 - - *446 - - *340 + - *339 responses: '204': description: Response @@ -85787,8 +86166,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: + - *444 - *445 - - *446 - 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 @@ -85836,7 +86215,7 @@ paths: required: false schema: type: string - - *344 + - *343 - name: sort description: What to sort results by. in: query @@ -86009,7 +86388,7 @@ paths: state_reason: completed headers: Link: *43 - '301': *459 + '301': *458 '422': *15 '404': *6 x-github: @@ -86038,8 +86417,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -86279,7 +86658,7 @@ paths: '422': *15 '503': *167 '404': *6 - '410': *456 + '410': *455 x-github: triggersNotification: true githubCloudOnly: false @@ -86307,8 +86686,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: + - *444 - *445 - - *446 - *211 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -86389,8 +86768,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: + - *444 - *445 - - *446 - *200 responses: '200': @@ -86453,8 +86832,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: + - *444 - *445 - - *446 - *200 requestBody: required: true @@ -86497,8 +86876,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: + - *444 - *445 - - *446 - *200 responses: '204': @@ -86519,8 +86898,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: + - *444 - *445 - - *446 - *200 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -86547,9 +86926,9 @@ paths: application/json: schema: type: array - items: *434 + items: *433 examples: - default: *436 + default: *435 headers: Link: *43 '404': *6 @@ -86570,8 +86949,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: + - *444 - *445 - - *446 - *200 requestBody: required: true @@ -86604,16 +86983,16 @@ paths: description: Reaction exists content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 '201': description: Reaction created content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 '422': *15 x-github: githubCloudOnly: false @@ -86635,10 +87014,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: + - *444 - *445 - - *446 - *200 - - *437 + - *436 responses: '204': description: Response @@ -86658,8 +87037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -87020,8 +87399,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: + - *444 - *445 - - *446 - name: event_id in: path required: true @@ -87225,7 +87604,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *456 + '410': *455 '403': *29 x-github: githubCloudOnly: false @@ -87259,8 +87638,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: + - *444 - *445 - - *446 - &643 name: issue_number description: The number that identifies the issue. @@ -87276,9 +87655,9 @@ paths: schema: *201 examples: default: *642 - '301': *459 + '301': *458 '404': *6 - '410': *456 + '410': *455 '304': *37 x-github: githubCloudOnly: false @@ -87303,8 +87682,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: + - *444 - *445 - - *446 - *643 requestBody: required: false @@ -87415,9 +87794,9 @@ paths: '422': *15 '503': *167 '403': *29 - '301': *459 + '301': *458 '404': *6 - '410': *456 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87435,8 +87814,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: + - *444 - *445 - - *446 - *643 requestBody: required: false @@ -87481,8 +87860,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: + - *444 - *445 - - *446 - *643 requestBody: content: @@ -87532,8 +87911,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: + - *444 - *445 - - *446 - *643 - name: assignee in: path @@ -87574,8 +87953,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: + - *444 - *445 - - *446 - *643 - *191 - *17 @@ -87593,7 +87972,7 @@ paths: headers: Link: *43 '404': *6 - '410': *456 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87622,8 +88001,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: + - *444 - *445 - - *446 - *643 requestBody: required: true @@ -87655,7 +88034,7 @@ paths: schema: type: string '403': *29 - '410': *456 + '410': *455 '422': *15 '404': *6 x-github: @@ -87683,8 +88062,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: + - *444 - *445 - - *446 - *643 - *17 - *19 @@ -87700,9 +88079,9 @@ paths: default: *645 headers: Link: *43 - '301': *459 + '301': *458 '404': *6 - '410': *456 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87730,8 +88109,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: + - *444 - *445 - - *446 - *643 requestBody: required: true @@ -87762,9 +88141,9 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *459 + '301': *458 '403': *29 - '410': *456 + '410': *455 '422': *15 '404': *6 x-github: @@ -87795,8 +88174,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: + - *444 - *445 - - *446 - *643 - name: issue_id in: path @@ -87812,12 +88191,12 @@ paths: schema: *201 examples: default: *642 - '301': *459 + '301': *458 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *456 + '410': *455 x-github: triggersNotification: true githubCloudOnly: false @@ -87843,8 +88222,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: + - *444 - *445 - - *446 - *643 - *17 - *19 @@ -87860,9 +88239,9 @@ paths: default: *645 headers: Link: *43 - '301': *459 + '301': *458 '404': *6 - '410': *456 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87879,8 +88258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: + - *444 - *445 - - *446 - *643 - *17 - *19 @@ -88732,7 +89111,7 @@ paths: color: red headers: Link: *43 - '410': *456 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88749,8 +89128,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: + - *444 - *445 - - *446 - *643 - *17 - *19 @@ -88826,9 +89205,9 @@ paths: default: false headers: Link: *43 - '301': *459 + '301': *458 '404': *6 - '410': *456 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88845,8 +89224,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: + - *444 - *445 - - *446 - *643 requestBody: required: false @@ -88909,9 +89288,9 @@ paths: items: *646 examples: default: *647 - '301': *459 + '301': *458 '404': *6 - '410': *456 + '410': *455 '422': *15 x-github: githubCloudOnly: false @@ -88928,8 +89307,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: + - *444 - *445 - - *446 - *643 requestBody: required: false @@ -88993,9 +89372,9 @@ paths: items: *646 examples: default: *647 - '301': *459 + '301': *458 '404': *6 - '410': *456 + '410': *455 '422': *15 x-github: githubCloudOnly: false @@ -89012,15 +89391,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: + - *444 - *445 - - *446 - *643 responses: '204': description: Response - '301': *459 + '301': *458 '404': *6 - '410': *456 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89039,8 +89418,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: + - *444 - *445 - - *446 - *643 - name: name in: path @@ -89065,9 +89444,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *459 + '301': *458 '404': *6 - '410': *456 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89087,8 +89466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: + - *444 - *445 - - *446 - *643 requestBody: required: false @@ -89117,7 +89496,7 @@ paths: '204': description: Response '403': *29 - '410': *456 + '410': *455 '404': *6 '422': *15 x-github: @@ -89135,8 +89514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: + - *444 - *445 - - *446 - *643 responses: '204': @@ -89167,8 +89546,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: + - *444 - *445 - - *446 - *643 responses: '200': @@ -89178,9 +89557,9 @@ paths: schema: *201 examples: default: *642 - '301': *459 + '301': *458 '404': *6 - '410': *456 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89197,8 +89576,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: + - *444 - *445 - - *446 - *643 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -89225,13 +89604,13 @@ paths: application/json: schema: type: array - items: *434 + items: *433 examples: - default: *436 + default: *435 headers: Link: *43 '404': *6 - '410': *456 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89249,8 +89628,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: + - *444 - *445 - - *446 - *643 requestBody: required: true @@ -89283,16 +89662,16 @@ paths: description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 '201': description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 '422': *15 x-github: githubCloudOnly: false @@ -89314,10 +89693,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: + - *444 - *445 - - *446 - *643 - - *437 + - *436 responses: '204': description: Response @@ -89346,8 +89725,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: + - *444 - *445 - - *446 - *643 requestBody: required: true @@ -89405,8 +89784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: + - *444 - *445 - - *446 - *643 - *17 - *19 @@ -89423,7 +89802,7 @@ paths: headers: Link: *43 '404': *6 - '410': *456 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89451,8 +89830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: + - *444 - *445 - - *446 - *643 requestBody: required: true @@ -89489,7 +89868,7 @@ paths: schema: type: string '403': *29 - '410': *456 + '410': *455 '422': *15 '404': *6 x-github: @@ -89509,8 +89888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: + - *444 - *445 - - *446 - *643 requestBody: required: true @@ -89566,8 +89945,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: + - *444 - *445 - - *446 - *643 - *17 - *19 @@ -90113,7 +90492,7 @@ paths: type: string comments: type: array - items: *563 + items: *562 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -90402,7 +90781,7 @@ paths: headers: Link: *43 '404': *6 - '410': *456 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90419,8 +90798,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -90496,8 +90875,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -90569,8 +90948,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: + - *444 - *445 - - *446 - &663 name: key_id description: The unique identifier of the key. @@ -90603,8 +90982,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: + - *444 - *445 - - *446 - *663 responses: '204': @@ -90625,8 +91004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -90659,8 +91038,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -90730,8 +91109,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: + - *444 - *445 - - *446 - name: name in: path required: true @@ -90761,8 +91140,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: + - *444 - *445 - - *446 - name: name in: path required: true @@ -90827,8 +91206,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: + - *444 - *445 - - *446 - name: name in: path required: true @@ -90854,8 +91233,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: + - *444 - *445 - - *446 responses: '200': description: Response @@ -90891,8 +91270,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: + - *444 - *445 - - *446 responses: '202': *39 '403': @@ -90920,8 +91299,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: + - *444 - *445 - - *446 responses: '204': description: Response @@ -90947,9 +91326,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: + - *444 - *445 - - *446 - - *539 + - *538 responses: '200': description: Response @@ -91094,8 +91473,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: + - *444 - *445 - - *446 requestBody: required: true content: @@ -91160,8 +91539,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -91195,7 +91574,7 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *564 + schema: *563 examples: default: *665 '204': @@ -91222,8 +91601,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: + - *444 - *445 - - *446 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -91268,8 +91647,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *379 - required: *380 + properties: *378 + required: *379 examples: default: value: @@ -91325,8 +91704,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -91427,8 +91806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: + - *444 - *445 - - *446 - &668 name: milestone_number description: The number that identifies the milestone. @@ -91460,8 +91839,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: + - *444 - *445 - - *446 - *668 requestBody: required: false @@ -91518,8 +91897,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: + - *444 - *445 - - *446 - *668 responses: '204': @@ -91541,8 +91920,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: + - *444 - *445 - - *446 - *668 - *17 - *19 @@ -91574,8 +91953,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: + - *444 - *445 - - *446 - *669 - *670 - *191 @@ -91615,8 +91994,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: + - *444 - *445 - - *446 requestBody: required: false content: @@ -91674,8 +92053,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: + - *444 - *445 - - *446 responses: '200': description: Response @@ -91847,8 +92226,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -91927,8 +92306,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: + - *444 - *445 - - *446 requestBody: required: true content: @@ -92035,8 +92414,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: + - *444 - *445 - - *446 responses: '204': description: Response @@ -92062,8 +92441,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -92167,8 +92546,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: + - *444 - *445 - - *446 responses: '201': description: Response @@ -92213,8 +92592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: + - *444 - *445 - - *446 responses: '200': description: Response @@ -92270,8 +92649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: + - *444 - *445 - - *446 - name: build_id in: path required: true @@ -92304,8 +92683,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -92410,8 +92789,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: + - *444 - *445 - - *446 - &677 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit @@ -92470,8 +92849,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: + - *444 - *445 - - *446 - *677 responses: '204': *133 @@ -92499,8 +92878,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: + - *444 - *445 - - *446 responses: '200': description: Response @@ -92758,8 +93137,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: + - *444 - *445 - - *446 responses: '200': description: Private vulnerability reporting status @@ -92796,8 +93175,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: + - *444 - *445 - - *446 responses: '204': *133 '422': *14 @@ -92818,8 +93197,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: + - *444 - *445 - - *446 responses: '204': *133 '422': *14 @@ -92842,8 +93221,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects parameters: + - *444 - *445 - - *446 - name: state description: Indicates the state of the projects to return. in: query @@ -92864,7 +93243,7 @@ paths: application/json: schema: type: array - items: *373 + items: *372 examples: default: value: @@ -92904,7 +93283,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *456 + '410': *455 '422': *7 x-github: githubCloudOnly: false @@ -92927,8 +93306,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -92954,13 +93333,13 @@ paths: description: Response content: application/json: - schema: *373 + schema: *372 examples: - default: *455 + default: *454 '401': *25 '403': *29 '404': *6 - '410': *456 + '410': *455 '422': *7 x-github: githubCloudOnly: false @@ -92983,8 +93362,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: + - *444 - *445 - - *446 responses: '200': description: Response @@ -92992,7 +93371,7 @@ paths: application/json: schema: type: array - items: *388 + items: *387 examples: default: value: @@ -93023,8 +93402,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: + - *444 - *445 - - *446 requestBody: required: true content: @@ -93036,7 +93415,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *388 + items: *387 required: - properties examples: @@ -93086,8 +93465,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: + - *444 - *445 - - *446 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -93147,7 +93526,7 @@ paths: application/json: schema: type: array - items: *568 + items: *567 examples: default: *678 headers: @@ -93181,8 +93560,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -93358,8 +93737,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *379 - required: *380 + properties: *378 + required: *379 nullable: true active_lock_reason: type: string @@ -93404,7 +93783,7 @@ paths: nullable: true requested_teams: type: array - items: *412 + items: *411 nullable: true head: type: object @@ -93443,14 +93822,14 @@ paths: _links: type: object properties: - comments: *381 - commits: *381 - statuses: *381 - html: *381 - issue: *381 - review_comments: *381 - review_comment: *381 - self: *381 + comments: *380 + commits: *380 + statuses: *380 + html: *380 + issue: *380 + review_comments: *380 + review_comment: *380 + self: *380 required: - comments - commits @@ -94080,8 +94459,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: + - *444 - *445 - - *446 - name: sort in: query required: false @@ -94189,8 +94568,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: + - *444 - *445 - - *446 - *200 responses: '200': @@ -94274,8 +94653,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: + - *444 - *445 - - *446 - *200 requestBody: required: true @@ -94316,8 +94695,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: + - *444 - *445 - - *446 - *200 responses: '204': @@ -94339,8 +94718,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: + - *444 - *445 - - *446 - *200 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -94367,9 +94746,9 @@ paths: application/json: schema: type: array - items: *434 + items: *433 examples: - default: *436 + default: *435 headers: Link: *43 '404': *6 @@ -94390,8 +94769,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: + - *444 - *445 - - *446 - *200 requestBody: required: true @@ -94424,16 +94803,16 @@ paths: description: Reaction exists content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 '201': description: Reaction created content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 '422': *15 x-github: githubCloudOnly: false @@ -94455,10 +94834,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: + - *444 - *445 - - *446 - *200 - - *437 + - *436 responses: '204': description: Response @@ -94501,8 +94880,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: + - *444 - *445 - - *446 - &684 name: pull_number description: The number that identifies the pull request. @@ -94553,8 +94932,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: + - *444 - *445 - - *446 - *684 requestBody: required: false @@ -94621,8 +95000,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: + - *444 - *445 - - *446 - *684 requestBody: required: true @@ -94683,17 +95062,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *346 + schema: *345 examples: - default: *553 + default: *552 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *346 + schema: *345 examples: - default: *553 + default: *552 '401': *25 '403': *29 '404': *6 @@ -94723,8 +95102,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: + - *444 - *445 - - *446 - *684 - *211 - name: direction @@ -94781,8 +95160,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: + - *444 - *445 - - *446 - *684 requestBody: required: true @@ -94976,8 +95355,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: + - *444 - *445 - - *446 - *684 - *200 requestBody: @@ -95087,8 +95466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: + - *444 - *445 - - *446 - *684 - *17 - *19 @@ -95099,7 +95478,7 @@ paths: application/json: schema: type: array - items: *564 + items: *563 examples: default: *686 headers: @@ -95131,8 +95510,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: + - *444 - *445 - - *446 - *684 - *17 - *19 @@ -95143,7 +95522,7 @@ paths: application/json: schema: type: array - items: *577 + items: *576 examples: default: value: @@ -95181,8 +95560,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: + - *444 - *445 - - *446 - *684 responses: '204': @@ -95206,8 +95585,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: + - *444 - *445 - - *446 - *684 requestBody: required: false @@ -95319,8 +95698,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: + - *444 - *445 - - *446 - *684 responses: '200': @@ -95396,8 +95775,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: + - *444 - *445 - - *446 - *684 requestBody: required: false @@ -95435,7 +95814,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *567 examples: default: value: @@ -95971,8 +96350,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: + - *444 - *445 - - *446 - *684 requestBody: required: true @@ -96007,7 +96386,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *567 examples: default: value: @@ -96512,8 +96891,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: + - *444 - *445 - - *446 - *684 - *17 - *19 @@ -96675,8 +97054,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: + - *444 - *445 - - *446 - *684 requestBody: required: false @@ -96828,8 +97207,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: + - *444 - *445 - - *446 - *684 - &688 name: review_id @@ -96904,8 +97283,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: + - *444 - *445 - - *446 - *684 - *688 requestBody: @@ -96992,8 +97371,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: + - *444 - *445 - - *446 - *684 - *688 responses: @@ -97030,8 +97409,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: + - *444 - *445 - - *446 - *684 - *688 - *17 @@ -97116,9 +97495,9 @@ paths: _links: type: object properties: - self: *381 - html: *381 - pull_request: *381 + self: *380 + html: *380 + pull_request: *380 required: - self - html @@ -97268,8 +97647,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: + - *444 - *445 - - *446 - *684 - *688 requestBody: @@ -97362,8 +97741,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: + - *444 - *445 - - *446 - *684 - *688 requestBody: @@ -97424,8 +97803,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: + - *444 - *445 - - *446 - *684 requestBody: required: false @@ -97489,8 +97868,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: + - *444 - *445 - - *446 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -97547,8 +97926,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: + - *444 - *445 - - *446 - name: dir description: The alternate path to look for a README file in: path @@ -97592,8 +97971,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -97861,8 +98240,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -98045,8 +98424,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: + - *444 - *445 - - *446 - &695 name: asset_id description: The unique identifier of the asset. @@ -98096,7 +98475,7 @@ paths: type: User site_admin: false '404': *6 - '302': *579 + '302': *578 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98112,8 +98491,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: + - *444 - *445 - - *446 - *695 requestBody: required: false @@ -98160,8 +98539,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: + - *444 - *445 - - *446 - *695 responses: '204': @@ -98186,8 +98565,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: + - *444 - *445 - - *446 requestBody: required: true content: @@ -98272,8 +98651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: + - *444 - *445 - - *446 responses: '200': description: Response @@ -98298,8 +98677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: + - *444 - *445 - - *446 - name: tag description: tag parameter in: path @@ -98336,8 +98715,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: + - *444 - *445 - - *446 - &698 name: release_id description: The unique identifier of the release. @@ -98372,8 +98751,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: + - *444 - *445 - - *446 - *698 requestBody: required: false @@ -98461,8 +98840,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: + - *444 - *445 - - *446 - *698 responses: '204': @@ -98483,8 +98862,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: + - *444 - *445 - - *446 - *698 - *17 - *19 @@ -98577,8 +98956,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: + - *444 - *445 - - *446 - *698 - name: name in: query @@ -98660,8 +99039,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: + - *444 - *445 - - *446 - *698 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -98686,9 +99065,9 @@ paths: application/json: schema: type: array - items: *434 + items: *433 examples: - default: *436 + default: *435 headers: Link: *43 '404': *6 @@ -98709,8 +99088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: + - *444 - *445 - - *446 - *698 requestBody: required: true @@ -98741,16 +99120,16 @@ paths: description: Reaction exists content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 '201': description: Reaction created content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 '422': *15 x-github: githubCloudOnly: false @@ -98772,10 +99151,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: + - *444 - *445 - - *446 - *698 - - *437 + - *436 responses: '204': description: Response @@ -98799,9 +99178,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: + - *444 - *445 - - *446 - - *504 + - *503 - *17 - *19 responses: @@ -98938,8 +99317,8 @@ paths: category: repos subcategory: rules parameters: + - *444 - *445 - - *446 - *17 - *19 - name: includes_parents @@ -99005,8 +99384,8 @@ paths: category: repos subcategory: rules parameters: + - *444 - *445 - - *446 requestBody: description: Request body required: true @@ -99115,8 +99494,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: + - *444 - *445 - - *446 - *704 - *96 - *705 @@ -99151,8 +99530,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: + - *444 - *445 - - *446 - *709 responses: '200': @@ -99189,8 +99568,8 @@ paths: category: repos subcategory: rules parameters: + - *444 - *445 - - *446 - name: ruleset_id description: The ID of the ruleset. in: path @@ -99230,8 +99609,8 @@ paths: category: repos subcategory: rules parameters: + - *444 - *445 - - *446 - name: ruleset_id description: The ID of the ruleset. in: path @@ -99313,8 +99692,8 @@ paths: category: repos subcategory: rules parameters: + - *444 - *445 - - *446 - name: ruleset_id description: The ID of the ruleset. in: path @@ -99337,8 +99716,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: + - *444 - *445 - - *446 - *17 - *19 - name: ruleset_id @@ -99356,7 +99735,7 @@ paths: type: array items: *166 examples: - default: *397 + default: *396 '404': *6 '500': *40 x-github: @@ -99375,8 +99754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: + - *444 - *445 - - *446 - name: ruleset_id description: The ID of the ruleset. in: path @@ -99394,7 +99773,7 @@ paths: description: Response content: application/json: - schema: *398 + schema: *397 examples: default: value: @@ -99449,21 +99828,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: + - *444 - *445 - - *446 + - *398 - *399 - *400 - *401 - - *402 - *101 - *19 - *17 - *713 - *714 + - *402 - *403 - *404 - *405 - - *406 responses: '200': description: Response @@ -99593,6 +99972,13 @@ 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: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true examples: default: value: @@ -99685,6 +100071,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 @@ -99710,10 +100115,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: + - *444 - *445 - - *446 - - *533 - - *406 + - *532 + - *405 responses: '200': description: Response @@ -99771,9 +100176,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: + - *444 - *445 - - *446 - - *533 + - *532 requestBody: required: true content: @@ -99875,9 +100280,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: + - *444 - *445 - - *446 - - *533 + - *532 - *19 - *17 responses: @@ -100012,8 +100417,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: + - *444 - *445 - - *446 requestBody: required: true content: @@ -100088,8 +100493,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: + - *444 - *445 - - *446 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -100208,8 +100613,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: + - *444 - *445 - - *446 - *101 - name: sort description: The property to sort the results by. @@ -100278,8 +100683,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: + - *444 - *445 - - *446 requestBody: required: true content: @@ -100352,7 +100757,7 @@ paths: login: type: string description: The username of the user credited. - type: *411 + type: *410 required: - login - type @@ -100674,8 +101079,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: + - *444 - *445 - - *446 requestBody: required: true content: @@ -100926,8 +101331,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: + - *444 - *445 - - *446 - *737 responses: '200': @@ -100960,8 +101365,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: + - *444 - *445 - - *446 - *737 requestBody: required: true @@ -101035,7 +101440,7 @@ paths: login: type: string description: The username of the user credited. - type: *411 + type: *410 required: - login - type @@ -101162,8 +101567,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: + - *444 - *445 - - *446 - *737 responses: '202': *39 @@ -101191,17 +101596,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: + - *444 - *445 - - *446 - *737 responses: '202': description: Response content: application/json: - schema: *458 + schema: *457 examples: - default: *460 + default: *459 '400': *14 '422': *15 '403': *29 @@ -101227,8 +101632,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -101327,8 +101732,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: + - *444 - *445 - - *446 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -101370,8 +101775,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: + - *444 - *445 - - *446 responses: '200': description: Response @@ -101447,8 +101852,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: + - *444 - *445 - - *446 responses: '200': description: Response @@ -101544,8 +101949,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: + - *444 - *445 - - *446 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -101699,8 +102104,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: + - *444 - *445 - - *446 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -101743,8 +102148,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: + - *444 - *445 - - *446 - name: sha in: path required: true @@ -101852,8 +102257,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -101885,8 +102290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: + - *444 - *445 - - *446 responses: '200': description: if you subscribe to the repository @@ -101960,8 +102365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: + - *444 - *445 - - *446 requestBody: required: false content: @@ -102014,8 +102419,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: + - *444 - *445 - - *446 responses: '204': description: Response @@ -102035,8 +102440,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -102115,8 +102520,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: + - *444 - *445 - - *446 responses: '200': description: Response @@ -102176,8 +102581,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: + - *444 - *445 - - *446 requestBody: required: true content: @@ -102231,8 +102636,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: + - *444 - *445 - - *446 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -102269,8 +102674,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: + - *444 - *445 - - *446 - name: ref in: path required: true @@ -102306,8 +102711,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: + - *444 - *445 - - *446 - *17 - *19 responses: @@ -102319,7 +102724,7 @@ paths: type: array items: *280 examples: - default: *356 + default: *355 headers: Link: *43 '404': *6 @@ -102339,8 +102744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: + - *444 - *445 - - *446 - *19 - *17 responses: @@ -102383,8 +102788,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -102438,8 +102843,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: + - *444 - *445 - - *446 - &745 name: per description: The time frame to display results for. @@ -102556,8 +102961,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: + - *444 - *445 - - *446 responses: '200': description: Response @@ -102647,8 +103052,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: + - *444 - *445 - - *446 responses: '200': description: Response @@ -102708,8 +103113,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: + - *444 - *445 - - *446 - *745 responses: '200': @@ -102806,8 +103211,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: + - *444 - *445 - - *446 requestBody: required: true content: @@ -103081,8 +103486,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: + - *444 - *445 - - *446 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -103105,8 +103510,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: + - *444 - *445 - - *446 responses: '204': description: Response @@ -103128,8 +103533,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: + - *444 - *445 - - *446 responses: '204': description: Response @@ -103155,8 +103560,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: + - *444 - *445 - - *446 - name: ref in: path required: true @@ -103248,9 +103653,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *457 examples: - default: *460 + default: *459 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105722,7 +106127,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *502 + properties: *501 nullable: true comment_count: type: integer @@ -105761,7 +106166,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *502 + properties: *501 nullable: true parents: type: array @@ -106080,8 +106485,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *379 - required: *380 + properties: *378 + required: *379 nullable: true comments: type: integer @@ -106139,7 +106544,7 @@ paths: timeline_url: type: string format: uri - type: *341 + type: *340 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -107381,9 +107786,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *425 examples: - default: *427 + default: *426 '404': *6 x-github: githubCloudOnly: false @@ -107473,16 +107878,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *426 + schema: *425 examples: - default: *427 + default: *426 '201': description: Response content: application/json: - schema: *426 + schema: *425 examples: - default: *427 + default: *426 '404': *6 '422': *15 '403': *29 @@ -107552,7 +107957,7 @@ paths: application/json: schema: type: array - items: *428 + items: *427 examples: default: *779 headers: @@ -107617,9 +108022,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *427 examples: - default: *429 + default: *428 x-github: triggersNotification: true githubCloudOnly: false @@ -107647,15 +108052,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - *778 - - *430 + - *429 responses: '200': description: Response content: application/json: - schema: *428 + schema: *427 examples: - default: *429 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107681,7 +108086,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - *778 - - *430 + - *429 requestBody: required: false content: @@ -107704,7 +108109,7 @@ paths: description: Response content: application/json: - schema: *428 + schema: *427 examples: default: *780 x-github: @@ -107732,7 +108137,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - *778 - - *430 + - *429 responses: '204': description: Response @@ -107762,7 +108167,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - *778 - - *430 + - *429 - *101 - *17 - *19 @@ -107773,7 +108178,7 @@ paths: application/json: schema: type: array - items: *431 + items: *430 examples: default: *781 headers: @@ -107805,7 +108210,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - *778 - - *430 + - *429 requestBody: required: true content: @@ -107827,9 +108232,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *430 examples: - default: *432 + default: *431 x-github: triggersNotification: true githubCloudOnly: false @@ -107857,16 +108262,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - *778 - - *430 - - *433 + - *429 + - *432 responses: '200': description: Response content: application/json: - schema: *431 + schema: *430 examples: - default: *432 + default: *431 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107892,8 +108297,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - *778 - - *430 - - *433 + - *429 + - *432 requestBody: required: true content: @@ -107915,7 +108320,7 @@ paths: description: Response content: application/json: - schema: *431 + schema: *430 examples: default: *782 x-github: @@ -107943,8 +108348,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - *778 - - *430 - - *433 + - *429 + - *432 responses: '204': description: Response @@ -107974,8 +108379,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - *778 - - *430 - - *433 + - *429 + - *432 - 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. @@ -108001,9 +108406,9 @@ paths: application/json: schema: type: array - items: *434 + items: *433 examples: - default: *436 + default: *435 headers: Link: *43 x-github: @@ -108033,8 +108438,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - *778 - - *430 - - *433 + - *429 + - *432 requestBody: required: true content: @@ -108066,9 +108471,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108095,7 +108500,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - *778 - - *430 + - *429 - 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. @@ -108121,9 +108526,9 @@ paths: application/json: schema: type: array - items: *434 + items: *433 examples: - default: *436 + default: *435 headers: Link: *43 x-github: @@ -108153,7 +108558,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - *778 - - *430 + - *429 requestBody: required: true content: @@ -108185,9 +108590,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108221,9 +108626,9 @@ paths: application/json: schema: type: array - items: *338 + items: *337 examples: - default: *339 + default: *338 headers: Link: *43 x-github: @@ -108421,7 +108826,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *441 examples: response-if-user-is-a-team-maintainer: *783 '404': *6 @@ -108482,7 +108887,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *441 examples: response-if-users-membership-with-team-is-now-pending: *784 '403': @@ -108557,7 +108962,7 @@ paths: application/json: schema: type: array - items: *443 + items: *442 examples: default: *785 headers: @@ -108586,13 +108991,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - *778 - - *444 + - *443 responses: '200': description: Response content: application/json: - schema: *443 + schema: *442 examples: default: *786 '404': @@ -108619,7 +109024,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - *778 - - *444 + - *443 requestBody: required: false content: @@ -108687,7 +109092,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - *778 - - *444 + - *443 responses: '204': description: Response @@ -108726,7 +109131,7 @@ paths: type: array items: *253 examples: - default: *363 + default: *362 headers: Link: *43 '404': *6 @@ -108757,8 +109162,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - *778 + - *444 - *445 - - *446 responses: '200': description: Alternative response with extra repository information @@ -108916,8 +109321,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - *778 + - *444 - *445 - - *446 requestBody: required: false content: @@ -108968,8 +109373,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - *778 + - *444 - *445 - - *446 responses: '204': description: Response @@ -109004,9 +109409,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *446 examples: - default: *448 + default: *447 '403': *29 '404': *6 x-github: @@ -109090,7 +109495,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *446 examples: default: value: @@ -109725,9 +110130,9 @@ paths: type: integer codespaces: type: array - items: *346 + items: *345 examples: - default: *347 + default: *346 '304': *37 '500': *40 '401': *25 @@ -109866,17 +110271,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *346 + schema: *345 examples: - default: *553 + default: *552 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *346 + schema: *345 examples: - default: *553 + default: *552 '401': *25 '403': *29 '404': *6 @@ -109960,7 +110365,7 @@ paths: - visibility - selected_repositories_url examples: - default: *556 + default: *555 headers: Link: *43 x-github: @@ -110326,15 +110731,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: - - *348 + - *347 responses: '200': description: Response content: application/json: - schema: *346 + schema: *345 examples: - default: *553 + default: *552 '304': *37 '500': *40 '401': *25 @@ -110360,7 +110765,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: - - *348 + - *347 requestBody: required: false content: @@ -110390,9 +110795,9 @@ paths: description: Response content: application/json: - schema: *346 + schema: *345 examples: - default: *553 + default: *552 '401': *25 '403': *29 '404': *6 @@ -110414,7 +110819,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: - - *348 + - *347 responses: '202': *39 '304': *37 @@ -110443,7 +110848,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: - - *348 + - *347 responses: '202': description: Response @@ -110522,7 +110927,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *348 + - *347 - name: export_id in: path required: true @@ -110558,7 +110963,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *348 + - *347 responses: '200': description: Response @@ -110605,7 +111010,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: - - *348 + - *347 requestBody: required: true content: @@ -110655,13 +111060,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *458 + repository: *457 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *554 - required: *555 + properties: *553 + required: *554 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -111435,15 +111840,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: - - *348 + - *347 responses: '200': description: Response content: application/json: - schema: *346 + schema: *345 examples: - default: *553 + default: *552 '304': *37 '500': *40 '400': *14 @@ -111475,15 +111880,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: - - *348 + - *347 responses: '200': description: Response content: application/json: - schema: *346 + schema: *345 examples: - default: *553 + default: *552 '500': *40 '401': *25 '403': *29 @@ -111513,7 +111918,7 @@ paths: application/json: schema: type: array - items: *357 + items: *356 examples: default: &808 value: @@ -112602,12 +113007,12 @@ paths: application/json: schema: anyOf: - - *336 + - *335 - type: object properties: {} additionalProperties: false examples: - default: *337 + default: *336 '204': description: Response when there are no restrictions x-github: @@ -112642,7 +113047,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *335 examples: default: value: @@ -112723,7 +113128,7 @@ paths: - closed - all default: open - - *344 + - *343 - name: sort description: What to sort results by. in: query @@ -112748,7 +113153,7 @@ paths: type: array items: *201 examples: - default: *345 + default: *344 headers: Link: *43 '404': *6 @@ -113153,7 +113558,7 @@ paths: application/json: schema: type: array - items: *349 + items: *348 examples: default: value: @@ -113261,7 +113666,7 @@ paths: description: Response content: application/json: - schema: *349 + schema: *348 examples: default: value: @@ -113344,7 +113749,7 @@ paths: description: Response content: application/json: - schema: *349 + schema: *348 examples: default: value: @@ -113412,7 +113817,7 @@ paths: application/json: schema: type: array - items: *351 + items: *350 examples: default: value: @@ -113665,7 +114070,7 @@ paths: description: Response content: application/json: - schema: *351 + schema: *350 examples: default: value: @@ -113845,7 +114250,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *352 + - *351 - name: exclude in: query required: false @@ -113858,7 +114263,7 @@ paths: description: Response content: application/json: - schema: *351 + schema: *350 examples: default: value: @@ -114052,7 +114457,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *352 + - *351 responses: '302': description: Response @@ -114078,7 +114483,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *352 + - *351 responses: '204': description: Response @@ -114107,7 +114512,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *352 + - *351 - *805 responses: '204': @@ -114132,7 +114537,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *352 + - *351 - *17 - *19 responses: @@ -114144,7 +114549,7 @@ paths: type: array items: *253 examples: - default: *363 + default: *362 headers: Link: *43 '404': *6 @@ -114233,7 +114638,7 @@ paths: application/json: schema: type: array - items: *357 + items: *356 examples: default: *808 '400': *809 @@ -114256,14 +114661,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: + - *358 - *359 - - *360 responses: '200': description: Response content: application/json: - schema: *357 + schema: *356 examples: default: &825 value: @@ -114378,8 +114783,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: + - *358 - *359 - - *360 responses: '204': description: Response @@ -114409,8 +114814,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: + - *358 - *359 - - *360 - name: token description: package token schema: @@ -114442,8 +114847,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: + - *358 - *359 - - *360 - *19 - *17 - name: state @@ -114463,7 +114868,7 @@ paths: application/json: schema: type: array - items: *361 + items: *360 examples: default: value: @@ -114512,15 +114917,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: + - *358 - *359 - - *360 - - *362 + - *361 responses: '200': description: Response content: application/json: - schema: *361 + schema: *360 examples: default: value: @@ -114556,9 +114961,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: + - *358 - *359 - - *360 - - *362 + - *361 responses: '204': description: Response @@ -114588,9 +114993,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: + - *358 - *359 - - *360 - - *362 + - *361 responses: '204': description: Response @@ -114646,7 +115051,7 @@ paths: description: Response content: application/json: - schema: *373 + schema: *372 examples: default: value: @@ -115137,9 +115542,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *457 examples: - default: *460 + default: *459 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -115202,7 +115607,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *340 + - *339 responses: '204': description: Response @@ -115225,7 +115630,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *340 + - *339 responses: '204': description: Response @@ -115794,8 +116199,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: + - *444 - *445 - - *446 responses: '204': description: Response if this repository is starred by you @@ -115823,8 +116228,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: + - *444 - *445 - - *446 responses: '204': description: Response @@ -115848,8 +116253,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: + - *444 - *445 - - *446 responses: '204': description: Response @@ -115884,7 +116289,7 @@ paths: type: array items: *253 examples: - default: *363 + default: *362 headers: Link: *43 '304': *37 @@ -115921,7 +116326,7 @@ paths: application/json: schema: type: array - items: *426 + items: *425 examples: default: value: @@ -116465,7 +116870,7 @@ paths: initiator: type: string examples: - default: *498 + default: *497 '201': description: Response content: @@ -116504,7 +116909,7 @@ paths: application/json: schema: type: array - items: *357 + items: *356 examples: default: *808 '403': *29 @@ -117151,7 +117556,7 @@ paths: application/json: schema: type: array - items: *357 + items: *356 examples: default: *808 '403': *29 @@ -117176,15 +117581,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: + - *358 - *359 - - *360 - *182 responses: '200': description: Response content: application/json: - schema: *357 + schema: *356 examples: default: *825 x-github: @@ -117207,8 +117612,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: + - *358 - *359 - - *360 - *182 responses: '204': @@ -117241,8 +117646,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: + - *358 - *359 - - *360 - *182 - name: token description: package token @@ -117275,8 +117680,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: + - *358 - *359 - - *360 - *182 responses: '200': @@ -117285,7 +117690,7 @@ paths: application/json: schema: type: array - items: *361 + items: *360 examples: default: value: @@ -117343,16 +117748,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: + - *358 - *359 - - *360 - - *362 + - *361 - *182 responses: '200': description: Response content: application/json: - schema: *361 + schema: *360 examples: default: value: @@ -117387,10 +117792,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: + - *358 - *359 - - *360 - *182 - - *362 + - *361 responses: '204': description: Response @@ -117422,10 +117827,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: + - *358 - *359 - - *360 - *182 - - *362 + - *361 responses: '204': description: Response @@ -117472,7 +117877,7 @@ paths: application/json: schema: type: array - items: *373 + items: *372 examples: default: value: @@ -117547,9 +117952,9 @@ paths: application/json: schema: type: array - items: *374 + items: *373 examples: - default: *375 + default: *374 headers: Link: *43 '304': *37 @@ -117571,16 +117976,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *376 + - *375 - *182 responses: '200': description: Response content: application/json: - schema: *374 + schema: *373 examples: - default: *375 + default: *374 headers: Link: *43 '304': *37 @@ -117602,7 +118007,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *376 + - *375 - *182 - *17 - *99 @@ -117614,9 +118019,9 @@ paths: application/json: schema: type: array - items: *377 + items: *376 examples: - default: *378 + default: *377 headers: Link: *43 '304': *37 @@ -117638,7 +118043,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *376 + - *375 - *826 - *182 responses: @@ -117646,9 +118051,9 @@ paths: description: Response content: application/json: - schema: *377 + schema: *376 examples: - default: *378 + default: *377 headers: Link: *43 '304': *37 @@ -117671,7 +118076,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: - - *376 + - *375 - *182 - *99 - *100 @@ -117701,9 +118106,9 @@ paths: application/json: schema: type: array - items: *384 + items: *383 examples: - default: *385 + default: *384 headers: Link: *43 '304': *37 @@ -117725,7 +118130,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *182 - - *376 + - *375 requestBody: required: true description: Details of the item to add to the project. @@ -117764,8 +118169,8 @@ paths: application/json: schema: *827 examples: - issue: *383 - pull_request: *383 + issue: *382 + pull_request: *382 '304': *37 '403': *29 '401': *25 @@ -117785,9 +118190,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: - - *376 + - *375 - *182 - - *386 + - *385 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -117804,9 +118209,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *383 examples: - default: *385 + default: *384 headers: Link: *43 '304': *37 @@ -117827,9 +118232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *376 + - *375 - *182 - - *386 + - *385 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -117899,13 +118304,13 @@ paths: description: Response content: application/json: - schema: *384 + schema: *383 examples: - text_field: *385 - number_field: *385 - date_field: *385 - single_select_field: *385 - iteration_field: *385 + text_field: *384 + number_field: *384 + date_field: *384 + single_select_field: *384 + iteration_field: *384 '401': *25 '403': *29 '404': *6 @@ -117925,9 +118330,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *376 + - *375 - *182 - - *386 + - *385 responses: '204': description: Response @@ -118175,7 +118580,7 @@ paths: type: array items: *253 examples: - default: *363 + default: *362 headers: Link: *43 x-github: @@ -118205,9 +118610,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *412 examples: - default: *414 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118235,9 +118640,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118395,9 +118800,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *419 examples: - default: *421 + default: *420 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118626,7 +119031,7 @@ paths: type: array items: *253 examples: - default: *363 + default: *362 headers: Link: *43 x-github: @@ -121387,7 +121792,7 @@ x-webhooks: type: string pull_requests: type: array - items: *515 + items: *514 repository: *253 status: example: completed @@ -121475,7 +121880,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *515 + items: *514 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -125205,7 +125610,7 @@ x-webhooks: required: - login - id - dismissed_comment: *528 + dismissed_comment: *527 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -125528,7 +125933,7 @@ x-webhooks: required: - login - id - dismissed_comment: *528 + dismissed_comment: *527 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -125858,7 +126263,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *528 + dismissed_comment: *527 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -126200,7 +126605,7 @@ x-webhooks: required: - login - id - dismissed_comment: *528 + dismissed_comment: *527 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -126471,7 +126876,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *528 + dismissed_comment: *527 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -126745,7 +127150,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *528 + dismissed_comment: *527 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -127668,11 +128073,11 @@ x-webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *388 + items: *387 old_property_values: type: array description: The old custom property values for the repository. - items: *388 + items: *387 required: - action - repository @@ -139605,7 +140010,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *341 + type: *340 updated_at: type: string format: date-time @@ -140992,7 +141397,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *341 + type: *340 updated_at: type: string format: date-time @@ -142232,7 +142637,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *341 + type: *340 updated_at: type: string format: date-time @@ -143842,7 +144247,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *341 + type: *340 updated_at: type: string format: date-time @@ -144839,7 +145244,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *341 + type: *340 updated_at: type: string format: date-time @@ -145961,7 +146366,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *341 + type: *340 updated_at: type: string format: date-time @@ -146969,7 +147374,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *341 + type: *340 updated_at: type: string format: date-time @@ -148093,7 +148498,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *341 + type: *340 title: description: Title of the issue type: string @@ -149085,7 +149490,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *341 + type: *340 title: description: Title of the issue type: string @@ -150101,7 +150506,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *341 + type: *340 title: description: Title of the issue type: string @@ -151089,7 +151494,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *341 + type: *340 updated_at: type: string format: date-time @@ -152134,7 +152539,7 @@ x-webhooks: required: - login - id - type: *341 + type: *340 required: - id - number @@ -153413,7 +153818,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *341 + type: *340 updated_at: type: string format: date-time @@ -154399,7 +154804,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *341 + type: *340 updated_at: type: string format: date-time @@ -155488,7 +155893,7 @@ x-webhooks: format: uri user_view_type: type: string - type: *341 + type: *340 organization: *833 repository: *834 sender: *4 @@ -156376,7 +156781,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *341 + type: *340 updated_at: type: string format: date-time @@ -157031,7 +157436,7 @@ x-webhooks: enterprise: *831 installation: *832 issue: *865 - type: *341 + type: *340 organization: *833 repository: *834 sender: *4 @@ -158183,7 +158588,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *341 + type: *340 updated_at: type: string format: date-time @@ -158428,7 +158833,7 @@ x-webhooks: enterprise: *831 installation: *832 issue: *865 - type: *341 + type: *340 organization: *833 repository: *834 sender: *4 @@ -166131,7 +166536,7 @@ x-webhooks: - closed installation: *832 organization: *833 - projects_v2: *374 + projects_v2: *373 sender: *4 required: - action @@ -166214,7 +166619,7 @@ x-webhooks: - created installation: *832 organization: *833 - projects_v2: *374 + projects_v2: *373 sender: *4 required: - action @@ -166297,7 +166702,7 @@ x-webhooks: - deleted installation: *832 organization: *833 - projects_v2: *374 + projects_v2: *373 sender: *4 required: - action @@ -166416,7 +166821,7 @@ x-webhooks: type: string installation: *832 organization: *833 - projects_v2: *374 + projects_v2: *373 sender: *4 required: - action @@ -166533,7 +166938,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *382 + content_type: *381 creator: *4 created_at: type: string @@ -167267,7 +167672,7 @@ x-webhooks: - reopened installation: *832 organization: *833 - projects_v2: *374 + projects_v2: *373 sender: *4 required: - action @@ -231377,6 +231782,13 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true + assigned_to: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true enterprise: *831 installation: *832 organization: *833 @@ -232611,11 +233023,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *391 + security_and_analysis: *390 enterprise: *831 installation: *832 organization: *833 - repository: *458 + repository: *457 sender: *4 required: - changes diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index 08d53b4868..4a9b4c34ec 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -25462,7 +25462,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" @@ -35497,6 +35500,303 @@ } } }, + "/orgs/{org}/settings/immutable-releases": { + "get": { + "summary": "Get immutable releases settings for an organization", + "description": "Gets the immutable releases policy for repositories in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-immutable-releases-settings", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/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" + ], + "example": "all" + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids for which immutable releases enforcement should be applied. You can only provide a list of repository ids when the `enforced_repositories` is set to `selected`. You can add and remove individual repositories using the [Enable a selected repository for immutable releases in an organization](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) and [Disable a selected repository for immutable releases in an organization](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "enforced_repositories" + ] + }, + "examples": { + "default": { + "value": { + "enforced_repositories": "all" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/settings/immutable-releases/repositories": { + "get": { + "summary": "List selected repositories for immutable releases enforcement", + "description": "List all of the repositories that have been selected for immutable releases enforcement in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-immutable-releases-settings-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement" + }, + "parameters": [ + { + "$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", @@ -60641,6 +60941,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", @@ -125130,6 +125549,9 @@ "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": { + "$ref": "#/components/schemas/nullable-simple-user" } } }, @@ -136255,6 +136677,30 @@ ], "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" + ], + "example": "all" + }, + "selected_repositories_url": { + "type": "string", + "description": "The API URL to use to get or set the selected repositories for immutable releases enforcement, when `enforced_repositories` is set to `selected`." + } + }, + "required": [ + "enforced_repositories" + ] + }, "group-mapping": { "title": "GroupMapping", "description": "External Groups to be mapped to a team for membership", @@ -145536,6 +145982,27 @@ "test_url" ] }, + "check-immutable-releases": { + "title": "Check immutable releases", + "description": "Check immutable releases", + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "example": true, + "description": "Whether immutable releases are enabled for the repository." + }, + "enforced_by_owner": { + "type": "boolean", + "example": false, + "description": "Whether immutable releases are enforced by the repository owner." + } + }, + "required": [ + "enabled", + "enforced_by_owner" + ] + }, "import": { "title": "Import", "description": "A repository import from an external source.", @@ -150267,6 +150734,9 @@ "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": { + "$ref": "#/components/schemas/nullable-simple-user" } } }, @@ -167856,6 +168326,9 @@ "type": "boolean", "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", "nullable": true + }, + "assigned_to": { + "$ref": "#/components/schemas/nullable-simple-user" } } }, @@ -300017,7 +300490,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 + } } ] }, @@ -321942,7 +322435,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 + } } ] }, @@ -330025,6 +330538,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/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index bdddc7eec7..27ba453aa7 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -18374,7 +18374,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" @@ -25506,6 +25507,230 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/orgs/{org}/settings/immutable-releases": + get: + summary: Get immutable releases settings for an organization + description: |- + Gets the immutable releases policy for repositories in an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/get-immutable-releases-settings + externalDocs: + description: API method documentation + url: https://docs.github.com/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 + example: all + selected_repository_ids: + type: array + description: An array of repository ids for which immutable releases + enforcement should be applied. You can only provide a list of + repository ids when the `enforced_repositories` is set to `selected`. + You can add and remove individual repositories using the [Enable + a selected repository for immutable releases in an organization](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) + and [Disable a selected repository for immutable releases in an + organization](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) + endpoints. + items: + type: integer + required: + - enforced_repositories + examples: + default: + value: + enforced_repositories: all + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + "/orgs/{org}/settings/immutable-releases/repositories": + get: + summary: List selected repositories for immutable releases enforcement + description: |- + List all of the repositories that have been selected for immutable releases enforcement in an organization. + + 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 @@ -43960,6 +44185,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 @@ -90840,6 +91145,8 @@ 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: + "$ref": "#/components/schemas/nullable-simple-user" secret-scanning-row-version: type: string description: The version of the entity. This is used to confirm you're updating @@ -99640,6 +99947,27 @@ 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 + example: all + selected_repositories_url: + type: string + description: The API URL to use to get or set the selected repositories + for immutable releases enforcement, when `enforced_repositories` is set + to `selected`. + required: + - enforced_repositories group-mapping: title: GroupMapping description: External Groups to be mapped to a team for membership @@ -106870,6 +107198,22 @@ components: - updated_at - last_response - test_url + check-immutable-releases: + title: Check immutable releases + description: Check immutable releases + type: object + properties: + enabled: + type: boolean + example: true + description: Whether immutable releases are enabled for the repository. + enforced_by_owner: + type: boolean + example: false + description: Whether immutable releases are enforced by the repository owner. + required: + - enabled + - enforced_by_owner import: title: Import description: A repository import from an external source. @@ -110321,6 +110665,8 @@ 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: + "$ref": "#/components/schemas/nullable-simple-user" secret-scanning-alert-resolution-comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -123748,6 +124094,8 @@ components: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true + assigned_to: + "$ref": "#/components/schemas/nullable-simple-user" webhooks_security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -223910,6 +224258,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 @@ -242747,6 +243114,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 @@ -249734,6 +250120,30 @@ components: Can be: `jfrog-artifactory` schema: type: string + {"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}