diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index 5a5a25714..4eed1123a 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -21035,6 +21035,138 @@ } } }, + "/orgs/{org}/rulesets/{ruleset_id}/history": { + "get": { + "summary": "Get organization ruleset history", + "description": "Get the history of an organization ruleset.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-org-ruleset-history", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ruleset-version" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/ruleset-history" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "rules" + } + } + }, + "/orgs/{org}/rulesets/{ruleset_id}/history/{version_id}": { + "get": { + "summary": "Get organization ruleset version", + "description": "Get a version of an organization ruleset.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-org-ruleset-version", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version_id", + "description": "The ID of the version", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ruleset-version-with-state" + }, + "examples": { + "default": { + "$ref": "#/components/examples/org-ruleset-version-with-state" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "rules" + } + } + }, "/orgs/{org}/secret-scanning/alerts": { "get": { "summary": "List secret scanning alerts for an organization", @@ -29526,7 +29658,7 @@ "/repos/{owner}/{repo}/actions/runs/{run_id}/timing": { "get": { "summary": "Get workflow run usage", - "description": "Gets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "description": "> [!WARNING] \n> This endpoint is in the process of closing down. Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" for more information.\n\nGets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ "actions" ], @@ -30505,7 +30637,7 @@ "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": { "get": { "summary": "Get workflow usage", - "description": "Gets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "description": "> [!WARNING] \n> This endpoint is in the process of closing down. Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" for more information.\n\nGets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ "actions" ], @@ -48592,7 +48724,7 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "reactions", "subcategory": "reactions" } @@ -56309,6 +56441,144 @@ } } }, + "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": { + "get": { + "summary": "Get repository ruleset history", + "description": "Get the history of a repository ruleset.", + "tags": [ + "repos" + ], + "operationId": "repos/get-repo-ruleset-history", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/rules#get-repository-ruleset-history" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ruleset-version" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/ruleset-history" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "rules" + } + } + }, + "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}": { + "get": { + "summary": "Get repository ruleset version", + "description": "Get a version of a repository ruleset.", + "tags": [ + "repos" + ], + "operationId": "repos/get-repo-ruleset-version", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/rules#get-repository-ruleset-version" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version_id", + "description": "The ID of the version", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ruleset-version-with-state" + }, + "examples": { + "default": { + "$ref": "#/components/examples/repository-ruleset-version-with-state" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "rules" + } + } + }, "/repos/{owner}/{repo}/secret-scanning/alerts": { "get": { "summary": "List secret scanning alerts for a repository", @@ -109662,6 +109932,57 @@ } } }, + "ruleset-version": { + "title": "Ruleset version", + "type": "object", + "description": "The historical version of a ruleset", + "required": [ + "version_id", + "actor", + "updated_at" + ], + "properties": { + "version_id": { + "type": "integer", + "description": "The ID of the previous version of the ruleset" + }, + "actor": { + "type": "object", + "description": "The actor who updated the ruleset", + "properties": { + "id": { + "type": "integer" + }, + "type": { + "type": "string" + } + } + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + } + }, + "ruleset-version-with-state": { + "allOf": [ + { + "$ref": "#/components/schemas/ruleset-version" + }, + { + "type": "object", + "required": [ + "state" + ], + "properties": { + "state": { + "type": "object", + "description": "The state of the ruleset version" + } + } + } + ] + }, "repository-advisory-vulnerability": { "description": "A product affected by the vulnerability detailed in a repository security advisory.", "type": "object", @@ -285181,6 +285502,91 @@ ] } }, + "ruleset-history": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z" + }, + { + "version_id": 2, + "actor": { + "id": 2, + "type": "User" + }, + "updated_at": "2024-09-23T16:29:47Z" + }, + { + "version_id": 1, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-08-23T16:29:47Z" + } + ] + }, + "org-ruleset-version-with-state": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z", + "state": { + "id": 21, + "name": "super cool ruleset", + "target": "branch", + "source_type": "Organization", + "source": "my-org", + "enforcement": "active", + "bypass_actors": [ + { + "actor_id": 234, + "actor_type": "Team", + "bypass_mode": "always" + } + ], + "conditions": { + "ref_name": { + "include": [ + "refs/heads/main", + "refs/heads/master" + ], + "exclude": [ + "refs/heads/dev*" + ] + }, + "repository_name": { + "include": [ + "important_repository", + "another_important_repository" + ], + "exclude": [ + "unimportant_repository" + ], + "protected": true + } + }, + "rules": [ + { + "type": "commit_author_email_pattern", + "parameters": { + "operator": "contains", + "pattern": "github" + } + } + ] + } + } + ] + }, "list-repository-advisories": { "value": [ { @@ -299324,6 +299730,53 @@ "updated_at": "2023-08-23T16:29:47Z" } }, + "repository-ruleset-version-with-state": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z", + "state": { + "id": 42, + "name": "super cool ruleset", + "target": "branch", + "source_type": "Repository", + "source": "monalisa/my-repo", + "enforcement": "active", + "bypass_actors": [ + { + "actor_id": 234, + "actor_type": "Team", + "bypass_mode": "always" + } + ], + "conditions": { + "ref_name": { + "include": [ + "refs/heads/main", + "refs/heads/master" + ], + "exclude": [ + "refs/heads/dev*" + ] + } + }, + "rules": [ + { + "type": "commit_author_email_pattern", + "parameters": { + "operator": "contains", + "pattern": "github" + } + } + ] + } + } + ] + }, "secret-scanning-alert-list": { "value": [ { diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index 4694163e0..bdf7dc607 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -15240,6 +15240,90 @@ paths: "$ref": "#/components/responses/not_found" '500': "$ref": "#/components/responses/internal_error" + "/orgs/{org}/rulesets/{ruleset_id}/history": + get: + summary: Get organization ruleset history + description: Get the history of an organization ruleset. + tags: + - orgs + operationId: orgs/get-org-ruleset-history + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/ruleset-version" + examples: + default: + "$ref": "#/components/examples/ruleset-history" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: rules + "/orgs/{org}/rulesets/{ruleset_id}/history/{version_id}": + get: + summary: Get organization ruleset version + description: Get a version of an organization ruleset. + tags: + - orgs + operationId: orgs/get-org-ruleset-version + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version + parameters: + - "$ref": "#/components/parameters/org" + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + - name: version_id + description: The ID of the version + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/ruleset-version-with-state" + examples: + default: + "$ref": "#/components/examples/org-ruleset-version-with-state" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: rules "/orgs/{org}/secret-scanning/alerts": get: summary: List secret scanning alerts for an organization @@ -21379,12 +21463,19 @@ paths: "/repos/{owner}/{repo}/actions/runs/{run_id}/timing": get: summary: Get workflow run usage - description: |- - Gets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - Anyone with read access to the repository can use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + description: "> [!WARNING] \n> This endpoint is in the process of closing down. + Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints + closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" + for more information.\n\nGets the number of billable minutes and total run + time for a specific workflow run. Billable minutes only apply to workflows + in private repositories that use GitHub-hosted runners. Usage is listed for + each GitHub-hosted runner operating system in milliseconds. Any job re-runs + are also included in the usage. The usage does not include the multiplier + for macOS and Windows runners and is not rounded up to the nearest whole minute. + For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAnyone + with read access to the repository can use this endpoint.\n\nOAuth app tokens + and personal access tokens (classic) need the `repo` scope to use this endpoint + with a private repository." tags: - actions operationId: actions/get-workflow-run-usage @@ -22069,14 +22160,20 @@ paths: "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": get: summary: Get workflow usage - description: |- - Gets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. - - Anyone with read access to the repository can use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + description: "> [!WARNING] \n> This endpoint is in the process of closing down. + Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints + closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" + for more information.\n\nGets the number of billable minutes used by a specific + workflow during the current billing cycle. Billable minutes only apply to + workflows in private repositories that use GitHub-hosted runners. Usage is + listed for each GitHub-hosted runner operating system in milliseconds. Any + job re-runs are also included in the usage. The usage does not include the + multiplier for macOS and Windows runners and is not rounded up to the nearest + whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou + can replace `workflow_id` with the workflow file name. For example, you could + use `main.yaml`.\n\nAnyone with read access to the repository can use this + endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the + `repo` scope to use this endpoint with a private repository." tags: - actions operationId: actions/get-workflow-usage @@ -35352,7 +35449,7 @@ paths: "$ref": "#/components/responses/validation_failed" x-github: githubCloudOnly: false - enabledForGitHubApps: false + enabledForGitHubApps: true category: reactions subcategory: reactions "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": @@ -40832,6 +40929,92 @@ paths: "$ref": "#/components/responses/not_found" '500': "$ref": "#/components/responses/internal_error" + "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": + get: + summary: Get repository ruleset history + description: Get the history of a repository ruleset. + tags: + - repos + operationId: repos/get-repo-ruleset-history + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/ruleset-version" + examples: + default: + "$ref": "#/components/examples/ruleset-history" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: rules + "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}": + get: + summary: Get repository ruleset version + description: Get a version of a repository ruleset. + tags: + - repos + operationId: repos/get-repo-ruleset-version + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + - name: version_id + description: The ID of the version + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/ruleset-version-with-state" + examples: + default: + "$ref": "#/components/examples/repository-ruleset-version-with-state" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: rules "/repos/{owner}/{repo}/secret-scanning/alerts": get: summary: List secret scanning alerts for a repository @@ -79644,6 +79827,39 @@ components: - 'null' description: The detailed failure message for the rule. Null if the rule passed. + ruleset-version: + title: Ruleset version + type: object + description: The historical version of a ruleset + required: + - version_id + - actor + - updated_at + properties: + version_id: + type: integer + description: The ID of the previous version of the ruleset + actor: + type: object + description: The actor who updated the ruleset + properties: + id: + type: integer + type: + type: string + updated_at: + type: string + format: date-time + ruleset-version-with-state: + allOf: + - "$ref": "#/components/schemas/ruleset-version" + - type: object + required: + - state + properties: + state: + type: object + description: The state of the ruleset version repository-advisory-vulnerability: description: A product affected by the vulnerability detailed in a repository security advisory. @@ -211050,6 +211266,60 @@ components: enforcement: evaluate result: fail rule_type: commit_message_pattern + ruleset-history: + value: + - version_id: 3 + actor: + id: 1 + type: User + updated_at: 2024-010-23T16:29:47Z + - version_id: 2 + actor: + id: 2 + type: User + updated_at: '2024-09-23T16:29:47Z' + - version_id: 1 + actor: + id: 1 + type: User + updated_at: '2024-08-23T16:29:47Z' + org-ruleset-version-with-state: + value: + - version_id: 3 + actor: + id: 1 + type: User + updated_at: 2024-010-23T16:29:47Z + state: + id: 21 + name: super cool ruleset + target: branch + source_type: Organization + source: my-org + enforcement: active + bypass_actors: + - actor_id: 234 + actor_type: Team + bypass_mode: always + conditions: + ref_name: + include: + - refs/heads/main + - refs/heads/master + exclude: + - refs/heads/dev* + repository_name: + include: + - important_repository + - another_important_repository + exclude: + - unimportant_repository + protected: true + rules: + - type: commit_author_email_pattern + parameters: + operator: contains + pattern: github list-repository-advisories: value: - ghsa_id: GHSA-abcd-1234-efgh @@ -223169,6 +223439,36 @@ components: href: https://github.com/monalisa/my-repo/rules/42 created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' + repository-ruleset-version-with-state: + value: + - version_id: 3 + actor: + id: 1 + type: User + updated_at: 2024-010-23T16:29:47Z + state: + id: 42 + name: super cool ruleset + target: branch + source_type: Repository + source: monalisa/my-repo + enforcement: active + bypass_actors: + - actor_id: 234 + actor_type: Team + bypass_mode: always + conditions: + ref_name: + include: + - refs/heads/main + - refs/heads/master + exclude: + - refs/heads/dev* + rules: + - type: commit_author_email_pattern + parameters: + operator: contains + pattern: github secret-scanning-alert-list: value: - number: 2 diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 5a5a25714..4eed1123a 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -21035,6 +21035,138 @@ } } }, + "/orgs/{org}/rulesets/{ruleset_id}/history": { + "get": { + "summary": "Get organization ruleset history", + "description": "Get the history of an organization ruleset.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-org-ruleset-history", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ruleset-version" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/ruleset-history" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "rules" + } + } + }, + "/orgs/{org}/rulesets/{ruleset_id}/history/{version_id}": { + "get": { + "summary": "Get organization ruleset version", + "description": "Get a version of an organization ruleset.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-org-ruleset-version", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version_id", + "description": "The ID of the version", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ruleset-version-with-state" + }, + "examples": { + "default": { + "$ref": "#/components/examples/org-ruleset-version-with-state" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "rules" + } + } + }, "/orgs/{org}/secret-scanning/alerts": { "get": { "summary": "List secret scanning alerts for an organization", @@ -29526,7 +29658,7 @@ "/repos/{owner}/{repo}/actions/runs/{run_id}/timing": { "get": { "summary": "Get workflow run usage", - "description": "Gets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "description": "> [!WARNING] \n> This endpoint is in the process of closing down. Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" for more information.\n\nGets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ "actions" ], @@ -30505,7 +30637,7 @@ "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": { "get": { "summary": "Get workflow usage", - "description": "Gets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "description": "> [!WARNING] \n> This endpoint is in the process of closing down. Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" for more information.\n\nGets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ "actions" ], @@ -48592,7 +48724,7 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "reactions", "subcategory": "reactions" } @@ -56309,6 +56441,144 @@ } } }, + "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": { + "get": { + "summary": "Get repository ruleset history", + "description": "Get the history of a repository ruleset.", + "tags": [ + "repos" + ], + "operationId": "repos/get-repo-ruleset-history", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/rules#get-repository-ruleset-history" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ruleset-version" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/ruleset-history" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "rules" + } + } + }, + "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}": { + "get": { + "summary": "Get repository ruleset version", + "description": "Get a version of a repository ruleset.", + "tags": [ + "repos" + ], + "operationId": "repos/get-repo-ruleset-version", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/rules#get-repository-ruleset-version" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version_id", + "description": "The ID of the version", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ruleset-version-with-state" + }, + "examples": { + "default": { + "$ref": "#/components/examples/repository-ruleset-version-with-state" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "rules" + } + } + }, "/repos/{owner}/{repo}/secret-scanning/alerts": { "get": { "summary": "List secret scanning alerts for a repository", @@ -109662,6 +109932,57 @@ } } }, + "ruleset-version": { + "title": "Ruleset version", + "type": "object", + "description": "The historical version of a ruleset", + "required": [ + "version_id", + "actor", + "updated_at" + ], + "properties": { + "version_id": { + "type": "integer", + "description": "The ID of the previous version of the ruleset" + }, + "actor": { + "type": "object", + "description": "The actor who updated the ruleset", + "properties": { + "id": { + "type": "integer" + }, + "type": { + "type": "string" + } + } + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + } + }, + "ruleset-version-with-state": { + "allOf": [ + { + "$ref": "#/components/schemas/ruleset-version" + }, + { + "type": "object", + "required": [ + "state" + ], + "properties": { + "state": { + "type": "object", + "description": "The state of the ruleset version" + } + } + } + ] + }, "repository-advisory-vulnerability": { "description": "A product affected by the vulnerability detailed in a repository security advisory.", "type": "object", @@ -285181,6 +285502,91 @@ ] } }, + "ruleset-history": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z" + }, + { + "version_id": 2, + "actor": { + "id": 2, + "type": "User" + }, + "updated_at": "2024-09-23T16:29:47Z" + }, + { + "version_id": 1, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-08-23T16:29:47Z" + } + ] + }, + "org-ruleset-version-with-state": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z", + "state": { + "id": 21, + "name": "super cool ruleset", + "target": "branch", + "source_type": "Organization", + "source": "my-org", + "enforcement": "active", + "bypass_actors": [ + { + "actor_id": 234, + "actor_type": "Team", + "bypass_mode": "always" + } + ], + "conditions": { + "ref_name": { + "include": [ + "refs/heads/main", + "refs/heads/master" + ], + "exclude": [ + "refs/heads/dev*" + ] + }, + "repository_name": { + "include": [ + "important_repository", + "another_important_repository" + ], + "exclude": [ + "unimportant_repository" + ], + "protected": true + } + }, + "rules": [ + { + "type": "commit_author_email_pattern", + "parameters": { + "operator": "contains", + "pattern": "github" + } + } + ] + } + } + ] + }, "list-repository-advisories": { "value": [ { @@ -299324,6 +299730,53 @@ "updated_at": "2023-08-23T16:29:47Z" } }, + "repository-ruleset-version-with-state": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z", + "state": { + "id": 42, + "name": "super cool ruleset", + "target": "branch", + "source_type": "Repository", + "source": "monalisa/my-repo", + "enforcement": "active", + "bypass_actors": [ + { + "actor_id": 234, + "actor_type": "Team", + "bypass_mode": "always" + } + ], + "conditions": { + "ref_name": { + "include": [ + "refs/heads/main", + "refs/heads/master" + ], + "exclude": [ + "refs/heads/dev*" + ] + } + }, + "rules": [ + { + "type": "commit_author_email_pattern", + "parameters": { + "operator": "contains", + "pattern": "github" + } + } + ] + } + } + ] + }, "secret-scanning-alert-list": { "value": [ { diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index 4694163e0..bdf7dc607 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -15240,6 +15240,90 @@ paths: "$ref": "#/components/responses/not_found" '500': "$ref": "#/components/responses/internal_error" + "/orgs/{org}/rulesets/{ruleset_id}/history": + get: + summary: Get organization ruleset history + description: Get the history of an organization ruleset. + tags: + - orgs + operationId: orgs/get-org-ruleset-history + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/ruleset-version" + examples: + default: + "$ref": "#/components/examples/ruleset-history" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: rules + "/orgs/{org}/rulesets/{ruleset_id}/history/{version_id}": + get: + summary: Get organization ruleset version + description: Get a version of an organization ruleset. + tags: + - orgs + operationId: orgs/get-org-ruleset-version + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version + parameters: + - "$ref": "#/components/parameters/org" + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + - name: version_id + description: The ID of the version + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/ruleset-version-with-state" + examples: + default: + "$ref": "#/components/examples/org-ruleset-version-with-state" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: rules "/orgs/{org}/secret-scanning/alerts": get: summary: List secret scanning alerts for an organization @@ -21379,12 +21463,19 @@ paths: "/repos/{owner}/{repo}/actions/runs/{run_id}/timing": get: summary: Get workflow run usage - description: |- - Gets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - Anyone with read access to the repository can use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + description: "> [!WARNING] \n> This endpoint is in the process of closing down. + Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints + closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" + for more information.\n\nGets the number of billable minutes and total run + time for a specific workflow run. Billable minutes only apply to workflows + in private repositories that use GitHub-hosted runners. Usage is listed for + each GitHub-hosted runner operating system in milliseconds. Any job re-runs + are also included in the usage. The usage does not include the multiplier + for macOS and Windows runners and is not rounded up to the nearest whole minute. + For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAnyone + with read access to the repository can use this endpoint.\n\nOAuth app tokens + and personal access tokens (classic) need the `repo` scope to use this endpoint + with a private repository." tags: - actions operationId: actions/get-workflow-run-usage @@ -22069,14 +22160,20 @@ paths: "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": get: summary: Get workflow usage - description: |- - Gets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. - - Anyone with read access to the repository can use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + description: "> [!WARNING] \n> This endpoint is in the process of closing down. + Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints + closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" + for more information.\n\nGets the number of billable minutes used by a specific + workflow during the current billing cycle. Billable minutes only apply to + workflows in private repositories that use GitHub-hosted runners. Usage is + listed for each GitHub-hosted runner operating system in milliseconds. Any + job re-runs are also included in the usage. The usage does not include the + multiplier for macOS and Windows runners and is not rounded up to the nearest + whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou + can replace `workflow_id` with the workflow file name. For example, you could + use `main.yaml`.\n\nAnyone with read access to the repository can use this + endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the + `repo` scope to use this endpoint with a private repository." tags: - actions operationId: actions/get-workflow-usage @@ -35352,7 +35449,7 @@ paths: "$ref": "#/components/responses/validation_failed" x-github: githubCloudOnly: false - enabledForGitHubApps: false + enabledForGitHubApps: true category: reactions subcategory: reactions "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": @@ -40832,6 +40929,92 @@ paths: "$ref": "#/components/responses/not_found" '500': "$ref": "#/components/responses/internal_error" + "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": + get: + summary: Get repository ruleset history + description: Get the history of a repository ruleset. + tags: + - repos + operationId: repos/get-repo-ruleset-history + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/ruleset-version" + examples: + default: + "$ref": "#/components/examples/ruleset-history" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: rules + "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}": + get: + summary: Get repository ruleset version + description: Get a version of a repository ruleset. + tags: + - repos + operationId: repos/get-repo-ruleset-version + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + - name: version_id + description: The ID of the version + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/ruleset-version-with-state" + examples: + default: + "$ref": "#/components/examples/repository-ruleset-version-with-state" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: rules "/repos/{owner}/{repo}/secret-scanning/alerts": get: summary: List secret scanning alerts for a repository @@ -79644,6 +79827,39 @@ components: - 'null' description: The detailed failure message for the rule. Null if the rule passed. + ruleset-version: + title: Ruleset version + type: object + description: The historical version of a ruleset + required: + - version_id + - actor + - updated_at + properties: + version_id: + type: integer + description: The ID of the previous version of the ruleset + actor: + type: object + description: The actor who updated the ruleset + properties: + id: + type: integer + type: + type: string + updated_at: + type: string + format: date-time + ruleset-version-with-state: + allOf: + - "$ref": "#/components/schemas/ruleset-version" + - type: object + required: + - state + properties: + state: + type: object + description: The state of the ruleset version repository-advisory-vulnerability: description: A product affected by the vulnerability detailed in a repository security advisory. @@ -211050,6 +211266,60 @@ components: enforcement: evaluate result: fail rule_type: commit_message_pattern + ruleset-history: + value: + - version_id: 3 + actor: + id: 1 + type: User + updated_at: 2024-010-23T16:29:47Z + - version_id: 2 + actor: + id: 2 + type: User + updated_at: '2024-09-23T16:29:47Z' + - version_id: 1 + actor: + id: 1 + type: User + updated_at: '2024-08-23T16:29:47Z' + org-ruleset-version-with-state: + value: + - version_id: 3 + actor: + id: 1 + type: User + updated_at: 2024-010-23T16:29:47Z + state: + id: 21 + name: super cool ruleset + target: branch + source_type: Organization + source: my-org + enforcement: active + bypass_actors: + - actor_id: 234 + actor_type: Team + bypass_mode: always + conditions: + ref_name: + include: + - refs/heads/main + - refs/heads/master + exclude: + - refs/heads/dev* + repository_name: + include: + - important_repository + - another_important_repository + exclude: + - unimportant_repository + protected: true + rules: + - type: commit_author_email_pattern + parameters: + operator: contains + pattern: github list-repository-advisories: value: - ghsa_id: GHSA-abcd-1234-efgh @@ -223169,6 +223439,36 @@ components: href: https://github.com/monalisa/my-repo/rules/42 created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' + repository-ruleset-version-with-state: + value: + - version_id: 3 + actor: + id: 1 + type: User + updated_at: 2024-010-23T16:29:47Z + state: + id: 42 + name: super cool ruleset + target: branch + source_type: Repository + source: monalisa/my-repo + enforcement: active + bypass_actors: + - actor_id: 234 + actor_type: Team + bypass_mode: always + conditions: + ref_name: + include: + - refs/heads/main + - refs/heads/master + exclude: + - refs/heads/dev* + rules: + - type: commit_author_email_pattern + parameters: + operator: contains + pattern: github secret-scanning-alert-list: value: - number: 2 diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index f3fba11ab..21eb26161 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -149789,6 +149789,407 @@ } } }, + "/orgs/{org}/rulesets/{ruleset_id}/history": { + "get": { + "summary": "Get organization ruleset history", + "description": "Get the history of an organization ruleset.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-org-ruleset-history", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Ruleset version", + "type": "object", + "description": "The historical version of a ruleset", + "required": [ + "version_id", + "actor", + "updated_at" + ], + "properties": { + "version_id": { + "type": "integer", + "description": "The ID of the previous version of the ruleset" + }, + "actor": { + "type": "object", + "description": "The actor who updated the ruleset", + "properties": { + "id": { + "type": "integer" + }, + "type": { + "type": "string" + } + } + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z" + }, + { + "version_id": 2, + "actor": { + "id": 2, + "type": "User" + }, + "updated_at": "2024-09-23T16:29:47Z" + }, + { + "version_id": 1, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-08-23T16:29:47Z" + } + ] + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "rules" + } + } + }, + "/orgs/{org}/rulesets/{ruleset_id}/history/{version_id}": { + "get": { + "summary": "Get organization ruleset version", + "description": "Get a version of an organization ruleset.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-org-ruleset-version", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version_id", + "description": "The ID of the version", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "title": "Ruleset version", + "type": "object", + "description": "The historical version of a ruleset", + "required": [ + "version_id", + "actor", + "updated_at" + ], + "properties": { + "version_id": { + "type": "integer", + "description": "The ID of the previous version of the ruleset" + }, + "actor": { + "type": "object", + "description": "The actor who updated the ruleset", + "properties": { + "id": { + "type": "integer" + }, + "type": { + "type": "string" + } + } + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + } + }, + { + "type": "object", + "required": [ + "state" + ], + "properties": { + "state": { + "type": "object", + "description": "The state of the ruleset version" + } + } + } + ] + }, + "examples": { + "default": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z", + "state": { + "id": 21, + "name": "super cool ruleset", + "target": "branch", + "source_type": "Organization", + "source": "my-org", + "enforcement": "active", + "bypass_actors": [ + { + "actor_id": 234, + "actor_type": "Team", + "bypass_mode": "always" + } + ], + "conditions": { + "ref_name": { + "include": [ + "refs/heads/main", + "refs/heads/master" + ], + "exclude": [ + "refs/heads/dev*" + ] + }, + "repository_name": { + "include": [ + "important_repository", + "another_important_repository" + ], + "exclude": [ + "unimportant_repository" + ], + "protected": true + } + }, + "rules": [ + { + "type": "commit_author_email_pattern", + "parameters": { + "operator": "contains", + "pattern": "github" + } + } + ] + } + } + ] + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "rules" + } + } + }, "/orgs/{org}/secret-scanning/alerts": { "get": { "summary": "List secret scanning alerts for an organization", @@ -206609,7 +207010,7 @@ "/repos/{owner}/{repo}/actions/runs/{run_id}/timing": { "get": { "summary": "Get workflow run usage", - "description": "Gets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "description": "> [!WARNING] \n> This endpoint is in the process of closing down. Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" for more information.\n\nGets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ "actions" ], @@ -211336,7 +211737,7 @@ "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": { "get": { "summary": "Get workflow usage", - "description": "Gets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "description": "> [!WARNING] \n> This endpoint is in the process of closing down. Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" for more information.\n\nGets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ "actions" ], @@ -383034,7 +383435,7 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "reactions", "subcategory": "reactions" } @@ -486700,6 +487101,415 @@ } } }, + "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": { + "get": { + "summary": "Get repository ruleset history", + "description": "Get the history of a repository ruleset.", + "tags": [ + "repos" + ], + "operationId": "repos/get-repo-ruleset-history", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/rules#get-repository-ruleset-history" + }, + "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": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Ruleset version", + "type": "object", + "description": "The historical version of a ruleset", + "required": [ + "version_id", + "actor", + "updated_at" + ], + "properties": { + "version_id": { + "type": "integer", + "description": "The ID of the previous version of the ruleset" + }, + "actor": { + "type": "object", + "description": "The actor who updated the ruleset", + "properties": { + "id": { + "type": "integer" + }, + "type": { + "type": "string" + } + } + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z" + }, + { + "version_id": 2, + "actor": { + "id": 2, + "type": "User" + }, + "updated_at": "2024-09-23T16:29:47Z" + }, + { + "version_id": 1, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-08-23T16:29:47Z" + } + ] + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "rules" + } + } + }, + "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}": { + "get": { + "summary": "Get repository ruleset version", + "description": "Get a version of a repository ruleset.", + "tags": [ + "repos" + ], + "operationId": "repos/get-repo-ruleset-version", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/rules#get-repository-ruleset-version" + }, + "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": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version_id", + "description": "The ID of the version", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "title": "Ruleset version", + "type": "object", + "description": "The historical version of a ruleset", + "required": [ + "version_id", + "actor", + "updated_at" + ], + "properties": { + "version_id": { + "type": "integer", + "description": "The ID of the previous version of the ruleset" + }, + "actor": { + "type": "object", + "description": "The actor who updated the ruleset", + "properties": { + "id": { + "type": "integer" + }, + "type": { + "type": "string" + } + } + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + } + }, + { + "type": "object", + "required": [ + "state" + ], + "properties": { + "state": { + "type": "object", + "description": "The state of the ruleset version" + } + } + } + ] + }, + "examples": { + "default": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z", + "state": { + "id": 42, + "name": "super cool ruleset", + "target": "branch", + "source_type": "Repository", + "source": "monalisa/my-repo", + "enforcement": "active", + "bypass_actors": [ + { + "actor_id": 234, + "actor_type": "Team", + "bypass_mode": "always" + } + ], + "conditions": { + "ref_name": { + "include": [ + "refs/heads/main", + "refs/heads/master" + ], + "exclude": [ + "refs/heads/dev*" + ] + } + }, + "rules": [ + { + "type": "commit_author_email_pattern", + "parameters": { + "operator": "contains", + "pattern": "github" + } + } + ] + } + } + ] + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "rules" + } + } + }, "/repos/{owner}/{repo}/secret-scanning/alerts": { "get": { "summary": "List secret scanning alerts for a repository", diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index f8ccb00cb..57223c813 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -897,7 +897,7 @@ paths: - subscriptions_url - type - url - type: &236 + type: &237 type: string description: The type of credit the user is receiving. enum: @@ -1063,7 +1063,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &550 + - &553 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -8852,7 +8852,7 @@ paths: - development - runtime - - security_advisory: &404 + security_advisory: &405 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9120,7 +9120,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &405 + auto_dismissed_at: &406 type: - string - 'null' @@ -9494,7 +9494,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &227 + - &228 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9505,7 +9505,7 @@ paths: enum: - open - resolved - - &228 + - &229 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -9515,7 +9515,7 @@ paths: required: false schema: type: string - - &229 + - &230 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9524,7 +9524,7 @@ paths: required: false schema: type: string - - &230 + - &231 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. @@ -9540,7 +9540,7 @@ paths: - *17 - *37 - *38 - - &231 + - &232 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9549,7 +9549,7 @@ paths: required: false schema: type: string - - &232 + - &233 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9558,7 +9558,7 @@ paths: schema: type: boolean default: false - - &233 + - &234 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9574,7 +9574,7 @@ paths: application/json: schema: type: array - items: &234 + items: &235 type: object properties: number: *52 @@ -9590,14 +9590,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &542 + state: &545 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &543 + resolution: &546 type: - string - 'null' @@ -9696,7 +9696,7 @@ paths: description: Whether the detected secret was found in multiple repositories in the same organization or enterprise. examples: - default: &235 + default: &236 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -10149,7 +10149,7 @@ paths: milestone: anyOf: - type: 'null' - - &392 + - &393 title: Milestone description: A collection of related issues and pull requests. @@ -10413,7 +10413,7 @@ paths: - author_association - created_at - updated_at - comment: &451 + comment: &452 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -10988,7 +10988,7 @@ paths: url: type: string format: uri - user: &573 + user: &576 title: Public User description: Public User type: object @@ -14345,14 +14345,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &260 + - &261 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &261 + - &262 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14423,7 +14423,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &272 + '301': &273 description: Moved permanently content: application/json: @@ -14445,7 +14445,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &480 + - &481 name: all description: If `true`, show notifications marked as read. in: query @@ -14453,7 +14453,7 @@ paths: schema: type: boolean default: false - - &481 + - &482 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14463,7 +14463,7 @@ paths: type: boolean default: false - *64 - - &482 + - &483 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -14981,7 +14981,7 @@ paths: - url - subscription_url examples: - default: &483 + default: &484 value: - id: '1' repository: @@ -15602,7 +15602,7 @@ paths: - avatar_url - description examples: - default: &590 + default: &593 value: - login: github id: 1 @@ -16578,7 +16578,7 @@ paths: type: integer repository_cache_usages: type: array - items: &277 + items: &278 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -17496,7 +17496,7 @@ paths: - all - local_only - selected - selected_actions_url: &283 + selected_actions_url: &284 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` @@ -17586,7 +17586,7 @@ paths: type: array items: *59 examples: - default: &584 + default: &587 value: total_count: 1 repositories: @@ -17914,7 +17914,7 @@ paths: description: Response content: application/json: - schema: &287 + schema: &288 type: object properties: default_workflow_permissions: &108 @@ -17965,7 +17965,7 @@ paths: required: false content: application/json: - schema: &288 + schema: &289 type: object properties: default_workflow_permissions: *108 @@ -18458,7 +18458,7 @@ paths: type: array items: *115 examples: - default: &576 + default: &579 value: total_count: 1 repositories: @@ -19105,7 +19105,7 @@ paths: application/json: schema: type: array - items: &289 + items: &290 title: Runner Application description: Runner Application type: object @@ -19130,7 +19130,7 @@ paths: - download_url - filename examples: - default: &290 + default: &291 value: - os: osx architecture: x64 @@ -19216,7 +19216,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &291 + '201': &292 description: Response content: application/json: @@ -19331,7 +19331,7 @@ paths: - token - expires_at examples: - default: &292 + default: &293 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -19370,7 +19370,7 @@ paths: application/json: schema: *119 examples: - default: &293 + default: &294 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -19404,7 +19404,7 @@ paths: application/json: schema: *117 examples: - default: &294 + default: &295 value: id: 23 name: MBP @@ -19629,7 +19629,7 @@ paths: - *90 - *116 responses: - '200': &295 + '200': &296 description: Response content: application/json: @@ -19686,7 +19686,7 @@ paths: parameters: - *90 - *116 - - &296 + - &297 name: name description: The name of a self-hosted runner's custom label. in: path @@ -19818,7 +19818,7 @@ paths: description: Response content: application/json: - schema: &308 + schema: &309 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -19853,7 +19853,7 @@ paths: - key_id - key examples: - default: &309 + default: &310 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -20266,7 +20266,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *90 - - &282 + - &283 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)." @@ -20798,7 +20798,7 @@ paths: bundle_url: type: string examples: - default: &322 + default: &323 value: attestations: - bundle: @@ -21035,7 +21035,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *90 - - &347 + - &348 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`, @@ -21045,7 +21045,7 @@ paths: schema: &131 type: string description: The name of the tool used to generate the code scanning analysis. - - &348 + - &349 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 @@ -21069,7 +21069,7 @@ paths: be returned. in: query required: false - schema: &350 + schema: &351 type: string description: State of a code scanning alert. enum: @@ -21092,7 +21092,7 @@ paths: be returned. in: query required: false - schema: &351 + schema: &352 type: string description: Severity of a code scanning alert. enum: @@ -21118,7 +21118,7 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: &352 + instances_url: &353 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -21140,7 +21140,7 @@ paths: - type: 'null' - *4 dismissed_at: *130 - dismissed_reason: &353 + dismissed_reason: &354 type: - string - 'null' @@ -21151,14 +21151,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &354 + dismissed_comment: &355 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &355 + rule: &356 type: object properties: id: @@ -21219,7 +21219,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &356 + tool: &357 type: object properties: name: *131 @@ -21230,15 +21230,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *132 - most_recent_instance: &357 + most_recent_instance: &358 type: object properties: - ref: &349 + ref: &350 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &367 + analysis_key: &368 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -21249,7 +21249,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &368 + category: &369 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -22468,7 +22468,7 @@ paths: machine: anyOf: - type: 'null' - - &380 + - &381 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -23420,7 +23420,7 @@ paths: - updated_at - visibility examples: - default: &381 + default: &382 value: total_count: 2 secrets: @@ -23458,7 +23458,7 @@ paths: description: Response content: application/json: - schema: &382 + schema: &383 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -23493,7 +23493,7 @@ paths: - key_id - key examples: - default: &383 + default: &384 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23525,7 +23525,7 @@ paths: application/json: schema: *141 examples: - default: &385 + default: &386 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -24722,7 +24722,7 @@ paths: application/json: schema: type: array - items: &240 + items: &241 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -25037,7 +25037,7 @@ paths: - date additionalProperties: true examples: - default: &241 + default: &242 value: - date: '2024-06-24' total_active_users: 24 @@ -25139,7 +25139,7 @@ paths: '500': *140 '403': *27 '404': *6 - '422': &242 + '422': &243 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -25207,7 +25207,7 @@ paths: application/json: schema: type: array - items: &243 + items: &244 title: Copilot Usage Metrics description: Summary of Copilot usage. type: object @@ -25295,7 +25295,7 @@ paths: - breakdown additionalProperties: false examples: - default: &244 + default: &245 value: - day: '2023-10-15' total_suggestions_count: 1000 @@ -25530,7 +25530,7 @@ paths: description: Response content: application/json: - schema: &408 + schema: &409 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -25549,7 +25549,7 @@ paths: - key_id - key examples: - default: &409 + default: &410 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27370,7 +27370,7 @@ paths: application/json: schema: *20 examples: - default: &447 + default: &448 value: id: 1 account: @@ -27598,7 +27598,7 @@ paths: required: true content: application/json: - schema: &448 + schema: &449 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -28210,7 +28210,7 @@ paths: application/json: schema: *184 examples: - default: &379 + default: &380 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -29448,7 +29448,7 @@ paths: parameters: - *90 - *191 - - &589 + - &592 name: repo_name description: repo_name parameter in: path @@ -30491,7 +30491,7 @@ paths: - nuget - container - *90 - - &591 + - &594 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -30532,7 +30532,7 @@ paths: default: *198 '403': *27 '401': *23 - '400': &593 + '400': &596 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -32396,7 +32396,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &269 + '410': &270 description: Gone content: application/json: @@ -33307,7 +33307,7 @@ paths: description: Response content: application/json: - schema: &271 + schema: &272 title: Full Repository description: Full Repository type: object @@ -33772,7 +33772,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &398 + code_of_conduct: &399 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -33886,7 +33886,7 @@ paths: - network_count - subscribers_count examples: - default: &273 + default: &274 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -34407,7 +34407,7 @@ paths: - *90 - *17 - *19 - - &529 + - &530 name: targets description: | A comma-separated list of rule targets to filter by. @@ -34693,7 +34693,7 @@ paths: type: object description: A repository rule. oneOf: - - &511 + - &512 title: creation description: Only allow users with bypass permission to create matching refs. @@ -34705,7 +34705,7 @@ paths: type: string enum: - creation - - &512 + - &513 title: update description: Only allow users with bypass permission to update matching refs. @@ -34726,7 +34726,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &514 + - &515 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -34738,7 +34738,7 @@ paths: type: string enum: - deletion - - &515 + - &516 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -34750,7 +34750,7 @@ paths: type: string enum: - required_linear_history - - &516 + - &517 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -34828,7 +34828,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &517 + - &518 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -34852,7 +34852,7 @@ paths: type: string required: - required_deployment_environments - - &518 + - &519 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -34864,7 +34864,7 @@ paths: type: string enum: - required_signatures - - &519 + - &520 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -34917,7 +34917,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &520 + - &521 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -34965,7 +34965,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &521 + - &522 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -34977,7 +34977,7 @@ paths: type: string enum: - non_fast_forward - - &522 + - &523 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -35013,7 +35013,7 @@ paths: required: - operator - pattern - - &523 + - &524 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -35049,7 +35049,7 @@ paths: required: - operator - pattern - - &524 + - &525 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -35085,7 +35085,7 @@ paths: required: - operator - pattern - - &525 + - &526 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -35121,7 +35121,7 @@ paths: required: - operator - pattern - - &526 + - &527 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -35247,7 +35247,7 @@ paths: maximum: 100 required: - max_file_size - - &527 + - &528 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -35297,7 +35297,7 @@ paths: - repository_id required: - workflows - - &528 + - &529 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -35535,7 +35535,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *90 - - &530 + - &531 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -35550,7 +35550,7 @@ paths: in: query schema: type: string - - &531 + - &532 name: time_period description: |- The time period to filter by. @@ -35566,14 +35566,14 @@ paths: - week - month default: day - - &532 + - &533 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &533 + - &534 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -35593,7 +35593,7 @@ paths: description: Response content: application/json: - schema: &534 + schema: &535 title: Rule Suites description: Response type: array @@ -35649,7 +35649,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &535 + default: &536 value: - id: 21 actor_id: 12 @@ -35693,7 +35693,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *90 - - &536 + - &537 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -35709,7 +35709,7 @@ paths: description: Response content: application/json: - schema: &537 + schema: &538 title: Rule Suite description: Response type: object @@ -35816,7 +35816,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &538 + default: &539 value: id: 21 actor_id: 12 @@ -36011,6 +36011,165 @@ paths: description: Response '404': *6 '500': *140 + "/orgs/{org}/rulesets/{ruleset_id}/history": + get: + summary: Get organization ruleset history + description: Get the history of an organization ruleset. + tags: + - orgs + operationId: orgs/get-org-ruleset-history + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history + parameters: + - *90 + - *17 + - *19 + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: &227 + title: Ruleset version + type: object + description: The historical version of a ruleset + required: + - version_id + - actor + - updated_at + properties: + version_id: + type: integer + description: The ID of the previous version of the ruleset + actor: + type: object + description: The actor who updated the ruleset + properties: + id: + type: integer + type: + type: string + updated_at: + type: string + format: date-time + examples: + default: &541 + value: + - version_id: 3 + actor: + id: 1 + type: User + updated_at: 2024-010-23T16:29:47Z + - version_id: 2 + actor: + id: 2 + type: User + updated_at: '2024-09-23T16:29:47Z' + - version_id: 1 + actor: + id: 1 + type: User + updated_at: '2024-08-23T16:29:47Z' + '404': *6 + '500': *140 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: rules + "/orgs/{org}/rulesets/{ruleset_id}/history/{version_id}": + get: + summary: Get organization ruleset version + description: Get a version of an organization ruleset. + tags: + - orgs + operationId: orgs/get-org-ruleset-version + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version + parameters: + - *90 + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + - name: version_id + description: The ID of the version + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: &542 + allOf: + - *227 + - type: object + required: + - state + properties: + state: + type: object + description: The state of the ruleset version + examples: + default: + value: + - version_id: 3 + actor: + id: 1 + type: User + updated_at: 2024-010-23T16:29:47Z + state: + id: 21 + name: super cool ruleset + target: branch + source_type: Organization + source: my-org + enforcement: active + bypass_actors: + - actor_id: 234 + actor_type: Team + bypass_mode: always + conditions: + ref_name: + include: + - refs/heads/main + - refs/heads/master + exclude: + - refs/heads/dev* + repository_name: + include: + - important_repository + - another_important_repository + exclude: + - unimportant_repository + protected: true + rules: + - type: commit_author_email_pattern + parameters: + operator: contains + pattern: github + '404': *6 + '500': *140 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: rules "/orgs/{org}/secret-scanning/alerts": get: summary: List secret scanning alerts for an organization @@ -36028,14 +36187,14 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *90 - - *227 - *228 - *229 - *230 + - *231 - *46 - *19 - *17 - - &540 + - &543 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -36045,7 +36204,7 @@ paths: required: false schema: type: string - - &541 + - &544 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -36055,9 +36214,9 @@ paths: required: false schema: type: string - - *231 - *232 - *233 + - *234 responses: '200': description: Response @@ -36065,9 +36224,9 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: *235 + default: *236 headers: Link: *57 '404': *6 @@ -36137,7 +36296,7 @@ paths: application/json: schema: type: array - items: &548 + items: &551 description: A repository security advisory. type: object properties: @@ -36381,7 +36540,7 @@ paths: login: type: string description: The username of the user credited. - type: *236 + type: *237 credits_detailed: type: - array @@ -36392,7 +36551,7 @@ paths: type: object properties: user: *4 - type: *236 + type: *237 state: type: string description: The state of the user's acceptance of the @@ -36456,7 +36615,7 @@ paths: - private_fork additionalProperties: false examples: - default: &549 + default: &552 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -36930,7 +37089,7 @@ paths: description: Response content: application/json: - schema: &607 + schema: &610 type: object properties: total_minutes_used: @@ -37000,7 +37159,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &608 + default: &611 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -37036,7 +37195,7 @@ paths: description: Response content: application/json: - schema: &609 + schema: &612 type: object properties: total_gigabytes_bandwidth_used: @@ -37054,7 +37213,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &610 + default: &613 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -37086,7 +37245,7 @@ paths: description: Response content: application/json: - schema: &611 + schema: &614 type: object properties: days_left_in_billing_cycle: @@ -37104,7 +37263,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &612 + default: &615 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -37146,7 +37305,7 @@ paths: type: integer network_configurations: type: array - items: &237 + items: &238 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -37271,9 +37430,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: - default: &238 + default: &239 value: id: 123456789ABCDEF name: My network configuration @@ -37302,7 +37461,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *90 - - &239 + - &240 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -37314,9 +37473,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: - default: *238 + default: *239 headers: Link: *57 x-github: @@ -37338,7 +37497,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *90 - - *239 + - *240 requestBody: required: true content: @@ -37377,9 +37536,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: - default: *238 + default: *239 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37399,7 +37558,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *90 - - *239 + - *240 responses: '204': description: Response @@ -37544,13 +37703,13 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: - default: *241 + default: *242 '500': *140 '403': *27 '404': *6 - '422': *242 + '422': *243 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37617,9 +37776,9 @@ paths: application/json: schema: type: array - items: *243 + items: *244 examples: - default: *244 + default: *245 '500': *140 '401': *23 '403': *27 @@ -37747,7 +37906,7 @@ paths: description: Response content: application/json: - schema: &245 + schema: &246 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -38127,7 +38286,7 @@ paths: - repos_count - organization examples: - default: &246 + default: &247 value: id: 1 node_id: MDQ6VGVhbTE= @@ -38204,9 +38363,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *246 examples: - default: *246 + default: *247 '404': *6 x-github: githubCloudOnly: false @@ -38291,16 +38450,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *245 + schema: *246 examples: - default: *246 + default: *247 '201': description: Response content: application/json: - schema: *245 + schema: *246 examples: - default: *246 + default: *247 '404': *6 '422': *15 '403': *27 @@ -38370,7 +38529,7 @@ paths: application/json: schema: type: array - items: &247 + items: &248 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -38481,7 +38640,7 @@ paths: - updated_at - url examples: - default: &563 + default: &566 value: - author: login: octocat @@ -38590,9 +38749,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: &248 + default: &249 value: author: login: octocat @@ -38666,7 +38825,7 @@ paths: parameters: - *90 - *192 - - &249 + - &250 name: discussion_number description: The number that identifies the discussion. in: path @@ -38678,9 +38837,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38704,7 +38863,7 @@ paths: parameters: - *90 - *192 - - *249 + - *250 requestBody: required: false content: @@ -38727,9 +38886,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: &564 + default: &567 value: author: login: octocat @@ -38801,7 +38960,7 @@ paths: parameters: - *90 - *192 - - *249 + - *250 responses: '204': description: Response @@ -38829,7 +38988,7 @@ paths: parameters: - *90 - *192 - - *249 + - *250 - *46 - *17 - *19 @@ -38840,7 +38999,7 @@ paths: application/json: schema: type: array - items: &250 + items: &251 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -38920,7 +39079,7 @@ paths: - updated_at - url examples: - default: &565 + default: &568 value: - author: login: octocat @@ -38990,7 +39149,7 @@ paths: parameters: - *90 - *192 - - *249 + - *250 requestBody: required: true content: @@ -39012,9 +39171,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: &251 + default: &252 value: author: login: octocat @@ -39082,8 +39241,8 @@ paths: parameters: - *90 - *192 - - *249 - - &252 + - *250 + - &253 name: comment_number description: The number that identifies the comment. in: path @@ -39095,9 +39254,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39121,8 +39280,8 @@ paths: parameters: - *90 - *192 - - *249 - - *252 + - *250 + - *253 requestBody: required: true content: @@ -39144,9 +39303,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: &566 + default: &569 value: author: login: octocat @@ -39212,8 +39371,8 @@ paths: parameters: - *90 - *192 - - *249 - - *252 + - *250 + - *253 responses: '204': description: Response @@ -39241,8 +39400,8 @@ paths: parameters: - *90 - *192 - - *249 - - *252 + - *250 + - *253 - 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. @@ -39268,7 +39427,7 @@ paths: application/json: schema: type: array - items: &253 + items: &254 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -39312,7 +39471,7 @@ paths: - content - created_at examples: - default: &255 + default: &256 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -39364,8 +39523,8 @@ paths: parameters: - *90 - *192 - - *249 - - *252 + - *250 + - *253 requestBody: required: true content: @@ -39398,9 +39557,9 @@ paths: team discussion comment content: application/json: - schema: *253 + schema: *254 examples: - default: &254 + default: &255 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -39429,9 +39588,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39456,9 +39615,9 @@ paths: parameters: - *90 - *192 - - *249 - - *252 - - &256 + - *250 + - *253 + - &257 name: reaction_id description: The unique identifier of the reaction. in: path @@ -39492,7 +39651,7 @@ paths: parameters: - *90 - *192 - - *249 + - *250 - 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. @@ -39518,9 +39677,9 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: *255 + default: *256 headers: Link: *57 x-github: @@ -39548,7 +39707,7 @@ paths: parameters: - *90 - *192 - - *249 + - *250 requestBody: required: true content: @@ -39580,16 +39739,16 @@ paths: description: Response content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 '201': description: Response content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39614,8 +39773,8 @@ paths: parameters: - *90 - *192 - - *249 - - *256 + - *250 + - *257 responses: '204': description: Response @@ -39736,7 +39895,7 @@ paths: description: Response content: application/json: - schema: &257 + schema: &258 title: Team Membership description: Team Membership type: object @@ -39764,7 +39923,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &567 + response-if-user-is-a-team-maintainer: &570 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -39827,9 +39986,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *258 examples: - response-if-users-membership-with-team-is-now-pending: &568 + response-if-users-membership-with-team-is-now-pending: &571 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -39903,7 +40062,7 @@ paths: application/json: schema: type: array - items: &258 + items: &259 title: Team Project description: A team's access to a project. type: object @@ -39972,7 +40131,7 @@ paths: - updated_at - permissions examples: - default: &569 + default: &572 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -40035,7 +40194,7 @@ paths: parameters: - *90 - *192 - - &259 + - &260 name: project_id description: The unique identifier of the project. in: path @@ -40047,9 +40206,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - default: &570 + default: &573 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -40111,7 +40270,7 @@ paths: parameters: - *90 - *192 - - *259 + - *260 requestBody: required: false content: @@ -40178,7 +40337,7 @@ paths: parameters: - *90 - *192 - - *259 + - *260 responses: '204': description: Response @@ -40246,14 +40405,14 @@ paths: parameters: - *90 - *192 - - *260 - *261 + - *262 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &571 + schema: &574 title: Team Repository description: A team's access to a repository. type: object @@ -40896,8 +41055,8 @@ paths: parameters: - *90 - *192 - - *260 - *261 + - *262 requestBody: required: false content: @@ -40944,8 +41103,8 @@ paths: parameters: - *90 - *192 - - *260 - *261 + - *262 responses: '204': description: Response @@ -40982,7 +41141,7 @@ paths: type: array items: *180 examples: - response-if-child-teams-exist: &572 + response-if-child-teams-exist: &575 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -41109,7 +41268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#get-a-project-card parameters: - - &262 + - &263 name: card_id description: The unique identifier of the card. in: path @@ -41121,7 +41280,7 @@ paths: description: Response content: application/json: - schema: &263 + schema: &264 title: Project Card description: Project cards represent a scope of work. type: object @@ -41196,7 +41355,7 @@ paths: - created_at - updated_at examples: - default: &264 + default: &265 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -41252,7 +41411,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#update-an-existing-project-card parameters: - - *262 + - *263 requestBody: required: false content: @@ -41282,9 +41441,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *264 examples: - default: *264 + default: *265 '304': *35 '403': *27 '401': *23 @@ -41311,7 +41470,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#delete-a-project-card parameters: - - *262 + - *263 responses: '204': description: Response @@ -41355,7 +41514,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#move-a-project-card parameters: - - *262 + - *263 requestBody: required: true content: @@ -41468,7 +41627,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#get-a-project-column parameters: - - &265 + - &266 name: column_id description: The unique identifier of the column. in: path @@ -41480,7 +41639,7 @@ paths: description: Response content: application/json: - schema: &266 + schema: &267 title: Project Column description: Project columns contain cards of work. type: object @@ -41534,7 +41693,7 @@ paths: - created_at - updated_at examples: - default: &267 + default: &268 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -41569,7 +41728,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#update-an-existing-project-column parameters: - - *265 + - *266 requestBody: required: true content: @@ -41594,9 +41753,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 '304': *35 '403': *27 '401': *23 @@ -41621,7 +41780,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#delete-a-project-column parameters: - - *265 + - *266 responses: '204': description: Response @@ -41650,7 +41809,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#list-project-cards parameters: - - *265 + - *266 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -41671,7 +41830,7 @@ paths: application/json: schema: type: array - items: *263 + items: *264 examples: default: value: @@ -41730,7 +41889,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#create-a-project-card parameters: - - *265 + - *266 requestBody: required: true content: @@ -41774,9 +41933,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *264 examples: - default: *264 + default: *265 '304': *35 '403': *27 '401': *23 @@ -41832,7 +41991,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#move-a-project-column parameters: - - *265 + - *266 requestBody: required: true content: @@ -41893,7 +42052,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-a-project parameters: - - *259 + - *260 responses: '200': description: Response @@ -41901,7 +42060,7 @@ paths: application/json: schema: *212 examples: - default: &268 + default: &269 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -41958,7 +42117,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#update-a-project parameters: - - *259 + - *260 requestBody: required: false content: @@ -42009,7 +42168,7 @@ paths: application/json: schema: *212 examples: - default: *268 + default: *269 '404': description: Not Found if the authenticated user does not have access to the project @@ -42030,7 +42189,7 @@ paths: items: type: string '401': *23 - '410': *269 + '410': *270 '422': *7 x-github: githubCloudOnly: false @@ -42053,7 +42212,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#delete-a-project parameters: - - *259 + - *260 responses: '204': description: Delete Success @@ -42074,7 +42233,7 @@ paths: items: type: string '401': *23 - '410': *269 + '410': *270 '404': *6 x-github: githubCloudOnly: false @@ -42098,7 +42257,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#list-project-collaborators parameters: - - *259 + - *260 - 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 @@ -42155,7 +42314,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - - *259 + - *260 - *128 requestBody: required: false @@ -42210,7 +42369,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *259 + - *260 - *128 responses: '204': @@ -42242,7 +42401,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *259 + - *260 - *128 responses: '200': @@ -42313,7 +42472,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#list-project-columns parameters: - - *259 + - *260 - *17 - *19 responses: @@ -42323,7 +42482,7 @@ paths: application/json: schema: type: array - items: *266 + items: *267 examples: default: value: @@ -42361,7 +42520,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#create-a-project-column parameters: - - *259 + - *260 requestBody: required: true content: @@ -42385,7 +42544,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *267 examples: default: value: @@ -42449,7 +42608,7 @@ paths: resources: type: object properties: - core: &270 + core: &271 title: Rate Limit type: object properties: @@ -42466,20 +42625,20 @@ paths: - remaining - reset - used - graphql: *270 - search: *270 - code_search: *270 - source_import: *270 - integration_manifest: *270 - code_scanning_upload: *270 - actions_runner_registration: *270 - scim: *270 - dependency_snapshots: *270 - code_scanning_autofix: *270 + graphql: *271 + search: *271 + code_search: *271 + source_import: *271 + integration_manifest: *271 + code_scanning_upload: *271 + actions_runner_registration: *271 + scim: *271 + dependency_snapshots: *271 + code_scanning_autofix: *271 required: - core - search - rate: *270 + rate: *271 required: - rate - resources @@ -42583,14 +42742,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *260 - *261 + - *262 responses: '200': description: Response content: application/json: - schema: *271 + schema: *272 examples: default-response: summary: Default response @@ -43091,7 +43250,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *272 + '301': *273 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43109,8 +43268,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *260 - *261 + - *262 requestBody: required: false content: @@ -43347,10 +43506,10 @@ paths: description: Response content: application/json: - schema: *271 + schema: *272 examples: - default: *273 - '307': &274 + default: *274 + '307': &275 description: Temporary Redirect content: application/json: @@ -43379,8 +43538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *260 - *261 + - *262 responses: '204': description: Response @@ -43402,7 +43561,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *274 + '307': *275 '404': *6 x-github: githubCloudOnly: false @@ -43425,11 +43584,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *260 - *261 + - *262 - *17 - *19 - - &300 + - &301 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -43452,7 +43611,7 @@ paths: type: integer artifacts: type: array - items: &275 + items: &276 title: Artifact description: An artifact type: object @@ -43538,7 +43697,7 @@ paths: - expires_at - updated_at examples: - default: &301 + default: &302 value: total_count: 2 artifacts: @@ -43597,9 +43756,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *260 - *261 - - &276 + - *262 + - &277 name: artifact_id description: The unique identifier of the artifact. in: path @@ -43611,7 +43770,7 @@ paths: description: Response content: application/json: - schema: *275 + schema: *276 examples: default: value: @@ -43648,9 +43807,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *260 - *261 - - *276 + - *262 + - *277 responses: '204': description: Response @@ -43674,9 +43833,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *260 - *261 - - *276 + - *262 + - *277 - name: archive_format in: path required: true @@ -43690,7 +43849,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': *269 + '410': *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43713,14 +43872,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *260 - *261 + - *262 responses: '200': description: Response content: application/json: - schema: *277 + schema: *278 examples: default: value: @@ -43746,11 +43905,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *260 - *261 + - *262 - *17 - *19 - - &278 + - &279 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 @@ -43784,7 +43943,7 @@ paths: description: Response content: application/json: - schema: &279 + schema: &280 title: Repository actions caches description: Repository actions caches type: object @@ -43834,7 +43993,7 @@ paths: - total_count - actions_caches examples: - default: &280 + default: &281 value: total_count: 1 actions_caches: @@ -43866,23 +44025,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: - - *260 - *261 + - *262 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *278 + - *279 responses: '200': description: Response content: application/json: - schema: *279 + schema: *280 examples: - default: *280 + default: *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43902,8 +44061,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: - - *260 - *261 + - *262 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -43934,9 +44093,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *260 - *261 - - &281 + - *262 + - &282 name: job_id description: The unique identifier of the job. in: path @@ -43948,7 +44107,7 @@ paths: description: Response content: application/json: - schema: &304 + schema: &305 title: Job description: Information of a job execution in a workflow run type: object @@ -44295,9 +44454,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *260 - *261 - - *281 + - *262 + - *282 responses: '302': description: Response @@ -44325,9 +44484,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *260 - *261 - - *281 + - *262 + - *282 requestBody: required: false content: @@ -44373,8 +44532,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: - - *260 - *261 + - *262 responses: '200': description: Status response @@ -44424,8 +44583,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: - - *260 - *261 + - *262 requestBody: required: true content: @@ -44488,8 +44647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -44507,7 +44666,7 @@ paths: type: integer secrets: type: array - items: &306 + items: &307 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -44528,7 +44687,7 @@ paths: - created_at - updated_at examples: - default: &307 + default: &308 value: total_count: 2 secrets: @@ -44561,9 +44720,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *260 - *261 - - *282 + - *262 + - *283 - *19 responses: '200': @@ -44580,7 +44739,7 @@ paths: type: integer variables: type: array - items: &310 + items: &311 title: Actions Variable type: object properties: @@ -44614,7 +44773,7 @@ paths: - created_at - updated_at examples: - default: &311 + default: &312 value: total_count: 2 variables: @@ -44647,8 +44806,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -44657,11 +44816,11 @@ paths: schema: type: object properties: - enabled: &284 + enabled: &285 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *104 - selected_actions_url: *283 + selected_actions_url: *284 required: - enabled examples: @@ -44688,8 +44847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *260 - *261 + - *262 responses: '204': description: Response @@ -44700,7 +44859,7 @@ paths: schema: type: object properties: - enabled: *284 + enabled: *285 allowed_actions: *104 required: - enabled @@ -44730,14 +44889,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: - - *260 - *261 + - *262 responses: '200': description: Response content: application/json: - schema: &285 + schema: &286 type: object properties: access_level: @@ -44754,7 +44913,7 @@ paths: required: - access_level examples: - default: &286 + default: &287 value: access_level: organization x-github: @@ -44778,15 +44937,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: - - *260 - *261 + - *262 requestBody: required: true content: application/json: - schema: *285 + schema: *286 examples: - default: *286 + default: *287 responses: '204': description: Response @@ -44810,8 +44969,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -44838,8 +44997,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *260 - *261 + - *262 responses: '204': description: Response @@ -44871,14 +45030,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *260 - *261 + - *262 responses: '200': description: Response content: application/json: - schema: *287 + schema: *288 examples: default: *110 x-github: @@ -44901,8 +45060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *260 - *261 + - *262 responses: '204': description: Success response @@ -44913,7 +45072,7 @@ paths: required: true content: application/json: - schema: *288 + schema: *289 examples: default: *110 x-github: @@ -44942,8 +45101,8 @@ paths: in: query schema: type: string - - *260 - *261 + - *262 - *17 - *19 responses: @@ -44987,8 +45146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -44996,9 +45155,9 @@ paths: application/json: schema: type: array - items: *289 + items: *290 examples: - default: *290 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45020,8 +45179,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: - - *260 - *261 + - *262 requestBody: required: true content: @@ -45064,7 +45223,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *291 + '201': *292 '404': *6 '422': *7 '409': *44 @@ -45095,8 +45254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *260 - *261 + - *262 responses: '201': description: Response @@ -45104,7 +45263,7 @@ paths: application/json: schema: *119 examples: - default: *292 + default: *293 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45132,8 +45291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *260 - *261 + - *262 responses: '201': description: Response @@ -45141,7 +45300,7 @@ paths: application/json: schema: *119 examples: - default: *293 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45163,8 +45322,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: - - *260 - *261 + - *262 - *116 responses: '200': @@ -45173,7 +45332,7 @@ paths: application/json: schema: *117 examples: - default: *294 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45194,8 +45353,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: - - *260 - *261 + - *262 - *116 responses: '204': @@ -45221,8 +45380,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: - - *260 - *261 + - *262 - *116 responses: '200': *121 @@ -45247,8 +45406,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: - - *260 - *261 + - *262 - *116 requestBody: required: true @@ -45297,8 +45456,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: - - *260 - *261 + - *262 - *116 requestBody: required: true @@ -45348,11 +45507,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: - - *260 - *261 + - *262 - *116 responses: - '200': *295 + '200': *296 '404': *6 x-github: githubCloudOnly: false @@ -45379,10 +45538,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: - - *260 - *261 + - *262 - *116 - - *296 + - *297 responses: '200': *121 '404': *6 @@ -45410,9 +45569,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *260 - *261 - - &314 + - *262 + - &315 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. @@ -45420,7 +45579,7 @@ paths: required: false schema: type: string - - &315 + - &316 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -45428,7 +45587,7 @@ paths: required: false schema: type: string - - &316 + - &317 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -45437,7 +45596,7 @@ paths: required: false schema: type: string - - &317 + - &318 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 @@ -45464,7 +45623,7 @@ paths: - pending - *17 - *19 - - &318 + - &319 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)." @@ -45473,7 +45632,7 @@ paths: schema: type: string format: date-time - - &297 + - &298 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -45482,13 +45641,13 @@ paths: schema: type: boolean default: false - - &319 + - &320 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &320 + - &321 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -45511,7 +45670,7 @@ paths: type: integer workflow_runs: type: array - items: &298 + items: &299 title: Workflow Run description: An invocation of a workflow type: object @@ -45628,7 +45787,7 @@ paths: type: - array - 'null' - items: &339 + items: &340 title: Pull Request Minimal type: object properties: @@ -45755,7 +45914,7 @@ paths: head_commit: anyOf: - type: 'null' - - &343 + - &344 title: Simple Commit description: A commit. type: object @@ -45870,7 +46029,7 @@ paths: - workflow_url - pull_requests examples: - default: &321 + default: &322 value: total_count: 1 workflow_runs: @@ -46106,24 +46265,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *260 - *261 - - &299 + - *262 + - &300 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *297 + - *298 responses: '200': description: Response content: application/json: - schema: *298 + schema: *299 examples: - default: &302 + default: &303 value: id: 30433642 name: Build @@ -46364,9 +46523,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *260 - *261 - - *299 + - *262 + - *300 responses: '204': description: Response @@ -46389,9 +46548,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *260 - *261 - - *299 + - *262 + - *300 responses: '200': description: Response @@ -46519,9 +46678,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: - - *260 - *261 - - *299 + - *262 + - *300 responses: '201': description: Response @@ -46554,12 +46713,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *260 - *261 - - *299 + - *262 + - *300 - *17 - *19 - - *300 + - *301 responses: '200': description: Response @@ -46575,9 +46734,9 @@ paths: type: integer artifacts: type: array - items: *275 + items: *276 examples: - default: *301 + default: *302 headers: Link: *57 x-github: @@ -46601,25 +46760,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *260 - *261 - - *299 - - &303 + - *262 + - *300 + - &304 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *297 + - *298 responses: '200': description: Response content: application/json: - schema: *298 + schema: *299 examples: - default: *302 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46642,10 +46801,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *260 - *261 - - *299 - - *303 + - *262 + - *300 + - *304 - *17 - *19 responses: @@ -46663,9 +46822,9 @@ paths: type: integer jobs: type: array - items: *304 + items: *305 examples: - default: &305 + default: &306 value: total_count: 1 jobs: @@ -46778,10 +46937,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *260 - *261 - - *299 - - *303 + - *262 + - *300 + - *304 responses: '302': description: Response @@ -46809,9 +46968,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *260 - *261 - - *299 + - *262 + - *300 responses: '202': description: Response @@ -46844,9 +47003,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: - - *260 - *261 - - *299 + - *262 + - *300 requestBody: required: true content: @@ -46913,9 +47072,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *260 - *261 - - *299 + - *262 + - *300 responses: '202': description: Response @@ -46948,9 +47107,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *260 - *261 - - *299 + - *262 + - *300 - 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 @@ -46980,9 +47139,9 @@ paths: type: integer jobs: type: array - items: *304 + items: *305 examples: - default: *305 + default: *306 headers: Link: *57 x-github: @@ -47007,9 +47166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *260 - *261 - - *299 + - *262 + - *300 responses: '302': description: Response @@ -47036,9 +47195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *260 - *261 - - *299 + - *262 + - *300 responses: '204': description: Response @@ -47065,9 +47224,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *260 - *261 - - *299 + - *262 + - *300 responses: '200': description: Response @@ -47136,7 +47295,7 @@ paths: items: type: object properties: - type: &417 + type: &418 type: string description: The type of reviewer. enum: @@ -47222,9 +47381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *260 - *261 - - *299 + - *262 + - *300 requestBody: required: true content: @@ -47274,7 +47433,7 @@ paths: application/json: schema: type: array - items: &412 + items: &413 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -47386,7 +47545,7 @@ paths: - created_at - updated_at examples: - default: &413 + default: &414 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -47442,9 +47601,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *260 - *261 - - *299 + - *262 + - *300 requestBody: required: false content: @@ -47489,9 +47648,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *260 - *261 - - *299 + - *262 + - *300 requestBody: required: false content: @@ -47525,12 +47684,19 @@ paths: "/repos/{owner}/{repo}/actions/runs/{run_id}/timing": get: summary: Get workflow run usage - description: |- - Gets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - Anyone with read access to the repository can use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + description: "> [!WARNING] \n> This endpoint is in the process of closing down. + Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints + closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" + for more information.\n\nGets the number of billable minutes and total run + time for a specific workflow run. Billable minutes only apply to workflows + in private repositories that use GitHub-hosted runners. Usage is listed for + each GitHub-hosted runner operating system in milliseconds. Any job re-runs + are also included in the usage. The usage does not include the multiplier + for macOS and Windows runners and is not rounded up to the nearest whole minute. + For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAnyone + with read access to the repository can use this endpoint.\n\nOAuth app tokens + and personal access tokens (classic) need the `repo` scope to use this endpoint + with a private repository." tags: - actions operationId: actions/get-workflow-run-usage @@ -47538,9 +47704,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *260 - *261 - - *299 + - *262 + - *300 responses: '200': description: Response @@ -47677,8 +47843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -47696,9 +47862,9 @@ paths: type: integer secrets: type: array - items: *306 + items: *307 examples: - default: *307 + default: *308 headers: Link: *57 x-github: @@ -47723,16 +47889,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *260 - *261 + - *262 responses: '200': description: Response content: application/json: - schema: *308 + schema: *309 examples: - default: *309 + default: *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47754,17 +47920,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *260 - *261 + - *262 - *123 responses: '200': description: Response content: application/json: - schema: *306 + schema: *307 examples: - default: &430 + default: &431 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -47790,8 +47956,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *260 - *261 + - *262 - *123 requestBody: required: true @@ -47849,8 +48015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *260 - *261 + - *262 - *123 responses: '204': @@ -47876,9 +48042,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *260 - *261 - - *282 + - *262 + - *283 - *19 responses: '200': @@ -47895,9 +48061,9 @@ paths: type: integer variables: type: array - items: *310 + items: *311 examples: - default: *311 + default: *312 headers: Link: *57 x-github: @@ -47920,8 +48086,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -47973,17 +48139,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *260 - *261 + - *262 - *126 responses: '200': description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: &431 + default: &432 value: name: USERNAME value: octocat @@ -48009,8 +48175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *260 - *261 + - *262 - *126 requestBody: required: true @@ -48053,8 +48219,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *260 - *261 + - *262 - *126 responses: '204': @@ -48080,8 +48246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -48099,7 +48265,7 @@ paths: type: integer workflows: type: array - items: &312 + items: &313 title: Workflow description: A GitHub Actions workflow type: object @@ -48217,9 +48383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *260 - *261 - - &313 + - *262 + - &314 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -48234,7 +48400,7 @@ paths: description: Response content: application/json: - schema: *312 + schema: *313 examples: default: value: @@ -48267,9 +48433,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *260 - *261 - - *313 + - *262 + - *314 responses: '204': description: Response @@ -48294,9 +48460,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *260 - *261 - - *313 + - *262 + - *314 responses: '204': description: Response @@ -48347,9 +48513,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *260 - *261 - - *313 + - *262 + - *314 responses: '204': description: Response @@ -48376,19 +48542,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *260 - *261 - - *313 + - *262 - *314 - *315 - *316 - *317 + - *318 - *17 - *19 - - *318 - - *297 - *319 + - *298 - *320 + - *321 responses: '200': description: Response @@ -48404,9 +48570,9 @@ paths: type: integer workflow_runs: type: array - items: *298 + items: *299 examples: - default: *321 + default: *322 headers: Link: *57 x-github: @@ -48417,14 +48583,20 @@ paths: "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": get: summary: Get workflow usage - description: |- - Gets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. - - Anyone with read access to the repository can use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + description: "> [!WARNING] \n> This endpoint is in the process of closing down. + Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints + closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" + for more information.\n\nGets the number of billable minutes used by a specific + workflow during the current billing cycle. Billable minutes only apply to + workflows in private repositories that use GitHub-hosted runners. Usage is + listed for each GitHub-hosted runner operating system in milliseconds. Any + job re-runs are also included in the usage. The usage does not include the + multiplier for macOS and Windows runners and is not rounded up to the nearest + whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou + can replace `workflow_id` with the workflow file name. For example, you could + use `main.yaml`.\n\nAnyone with read access to the repository can use this + endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the + `repo` scope to use this endpoint with a private repository." tags: - actions operationId: actions/get-workflow-usage @@ -48432,9 +48604,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *260 - *261 - - *313 + - *262 + - *314 responses: '200': description: Response @@ -48495,8 +48667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *260 - *261 + - *262 - *46 - *17 - *37 @@ -48664,8 +48836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -48702,8 +48874,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *260 - *261 + - *262 - name: assignee in: path required: true @@ -48739,8 +48911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -48852,8 +49024,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *260 - *261 + - *262 - *17 - *37 - *38 @@ -48899,7 +49071,7 @@ paths: bundle_url: type: string examples: - default: *322 + default: *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48919,8 +49091,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -48928,7 +49100,7 @@ paths: application/json: schema: type: array - items: &323 + items: &324 title: Autolink reference description: An autolink reference. type: object @@ -48982,8 +49154,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -49022,9 +49194,9 @@ paths: description: response content: application/json: - schema: *323 + schema: *324 examples: - default: &324 + default: &325 value: id: 1 key_prefix: TICKET- @@ -49055,9 +49227,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *260 - *261 - - &325 + - *262 + - &326 name: autolink_id description: The unique identifier of the autolink. in: path @@ -49069,9 +49241,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: *324 + default: *325 '404': *6 x-github: githubCloudOnly: false @@ -49091,9 +49263,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *260 - *261 - - *325 + - *262 + - *326 responses: '204': description: Response @@ -49117,8 +49289,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: - - *260 - *261 + - *262 responses: '200': description: Response if Dependabot is enabled @@ -49168,8 +49340,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *260 - *261 + - *262 responses: '204': description: Response @@ -49190,8 +49362,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *260 - *261 + - *262 responses: '204': description: Response @@ -49211,8 +49383,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *260 - *261 + - *262 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -49250,7 +49422,7 @@ paths: - url protected: type: boolean - protection: &327 + protection: &328 title: Branch Protection description: Branch Protection type: object @@ -49293,7 +49465,7 @@ paths: required: - contexts - checks - enforce_admins: &330 + enforce_admins: &331 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -49310,7 +49482,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &332 + required_pull_request_reviews: &333 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -49394,7 +49566,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &329 + restrictions: &330 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -49719,9 +49891,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *260 - *261 - - &328 + - *262 + - &329 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). @@ -49735,14 +49907,14 @@ paths: description: Response content: application/json: - schema: &338 + schema: &339 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &388 + commit: &389 title: Commit description: Commit type: object @@ -49781,7 +49953,7 @@ paths: author: anyOf: - type: 'null' - - &326 + - &327 title: Git User description: Metaproperties for Git author/committer information. @@ -49802,7 +49974,7 @@ paths: committer: anyOf: - type: 'null' - - *326 + - *327 message: type: string examples: @@ -49826,7 +49998,7 @@ paths: required: - sha - url - verification: &437 + verification: &438 title: Verification type: object properties: @@ -49906,7 +50078,7 @@ paths: type: integer files: type: array - items: &400 + items: &401 title: Diff Entry description: Diff Entry type: object @@ -50000,7 +50172,7 @@ paths: - self protected: type: boolean - protection: *327 + protection: *328 protection_url: type: string format: uri @@ -50109,7 +50281,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *272 + '301': *273 '404': *6 x-github: githubCloudOnly: false @@ -50131,15 +50303,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '200': description: Response content: application/json: - schema: *327 + schema: *328 examples: default: value: @@ -50333,9 +50505,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *260 - *261 - - *328 + - *262 + - *329 requestBody: required: true content: @@ -50595,7 +50767,7 @@ paths: url: type: string format: uri - required_status_checks: &335 + required_status_checks: &336 title: Status Check Policy description: Status Check Policy type: object @@ -50754,7 +50926,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *329 + restrictions: *330 required_conversation_resolution: type: object properties: @@ -50866,9 +51038,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '204': description: Response @@ -50893,17 +51065,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '200': description: Response content: application/json: - schema: *330 + schema: *331 examples: - default: &331 + default: &332 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -50925,17 +51097,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '200': description: Response content: application/json: - schema: *330 + schema: *331 examples: - default: *331 + default: *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50954,9 +51126,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '204': description: Response @@ -50981,17 +51153,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '200': description: Response content: application/json: - schema: *332 + schema: *333 examples: - default: &333 + default: &334 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -51087,9 +51259,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *260 - *261 - - *328 + - *262 + - *329 requestBody: required: false content: @@ -51187,9 +51359,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *333 examples: - default: *333 + default: *334 '422': *15 x-github: githubCloudOnly: false @@ -51210,9 +51382,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '204': description: Response @@ -51239,17 +51411,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '200': description: Response content: application/json: - schema: *330 + schema: *331 examples: - default: &334 + default: &335 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -51272,17 +51444,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '200': description: Response content: application/json: - schema: *330 + schema: *331 examples: - default: *334 + default: *335 '404': *6 x-github: githubCloudOnly: false @@ -51302,9 +51474,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '204': description: Response @@ -51329,17 +51501,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '200': description: Response content: application/json: - schema: *335 + schema: *336 examples: - default: &336 + default: &337 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -51365,9 +51537,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *260 - *261 - - *328 + - *262 + - *329 requestBody: required: false content: @@ -51419,9 +51591,9 @@ paths: description: Response content: application/json: - schema: *335 + schema: *336 examples: - default: *336 + default: *337 '404': *6 '422': *15 x-github: @@ -51443,9 +51615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '204': description: Response @@ -51469,9 +51641,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '200': description: Response @@ -51505,9 +51677,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *260 - *261 - - *328 + - *262 + - *329 requestBody: required: false content: @@ -51574,9 +51746,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *260 - *261 - - *328 + - *262 + - *329 requestBody: required: false content: @@ -51640,9 +51812,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *260 - *261 - - *328 + - *262 + - *329 requestBody: content: application/json: @@ -51708,15 +51880,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '200': description: Response content: application/json: - schema: *329 + schema: *330 examples: default: value: @@ -51807,9 +51979,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '204': description: Response @@ -51832,9 +52004,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '200': description: Response @@ -51844,7 +52016,7 @@ paths: type: array items: *5 examples: - default: &337 + default: &338 value: - id: 1 slug: octoapp @@ -51901,9 +52073,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *260 - *261 - - *328 + - *262 + - *329 requestBody: required: true content: @@ -51937,7 +52109,7 @@ paths: type: array items: *5 examples: - default: *337 + default: *338 '422': *15 x-github: githubCloudOnly: false @@ -51958,9 +52130,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *260 - *261 - - *328 + - *262 + - *329 requestBody: required: true content: @@ -51994,7 +52166,7 @@ paths: type: array items: *5 examples: - default: *337 + default: *338 '422': *15 x-github: githubCloudOnly: false @@ -52015,9 +52187,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *260 - *261 - - *328 + - *262 + - *329 requestBody: required: true content: @@ -52051,7 +52223,7 @@ paths: type: array items: *5 examples: - default: *337 + default: *338 '422': *15 x-github: githubCloudOnly: false @@ -52073,9 +52245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '200': description: Response @@ -52105,9 +52277,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *260 - *261 - - *328 + - *262 + - *329 requestBody: required: false content: @@ -52166,9 +52338,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *260 - *261 - - *328 + - *262 + - *329 requestBody: required: false content: @@ -52227,9 +52399,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *260 - *261 - - *328 + - *262 + - *329 requestBody: content: application/json: @@ -52288,9 +52460,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '200': description: Response @@ -52324,9 +52496,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *260 - *261 - - *328 + - *262 + - *329 requestBody: required: true content: @@ -52384,9 +52556,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *260 - *261 - - *328 + - *262 + - *329 requestBody: required: true content: @@ -52444,9 +52616,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *260 - *261 - - *328 + - *262 + - *329 requestBody: required: true content: @@ -52506,9 +52678,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *260 - *261 - - *328 + - *262 + - *329 requestBody: required: true content: @@ -52530,7 +52702,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *339 examples: default: value: @@ -52646,8 +52818,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -52926,7 +53098,7 @@ paths: description: Response content: application/json: - schema: &340 + schema: &341 title: CheckRun description: A check performed on the code of a given code change type: object @@ -53061,8 +53233,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *339 - deployment: &621 + items: *340 + deployment: &624 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -53349,9 +53521,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *260 - *261 - - &341 + - *262 + - &342 name: check_run_id description: The unique identifier of the check run. in: path @@ -53363,9 +53535,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *341 examples: - default: &342 + default: &343 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -53465,9 +53637,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *260 - *261 - - *341 + - *262 + - *342 requestBody: required: true content: @@ -53707,9 +53879,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *341 examples: - default: *342 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53729,9 +53901,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *260 - *261 - - *341 + - *262 + - *342 - *17 - *19 responses: @@ -53843,9 +54015,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *260 - *261 - - *341 + - *262 + - *342 responses: '201': description: Response @@ -53889,8 +54061,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -53912,7 +54084,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &344 + schema: &345 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -53994,7 +54166,7 @@ paths: type: - array - 'null' - items: *339 + items: *340 app: anyOf: - type: 'null' @@ -54010,7 +54182,7 @@ paths: - string - 'null' format: date-time - head_commit: *343 + head_commit: *344 latest_check_runs_count: type: integer check_runs_url: @@ -54038,7 +54210,7 @@ paths: - check_runs_url - pull_requests examples: - default: &345 + default: &346 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -54329,9 +54501,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *344 + schema: *345 examples: - default: *345 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54350,8 +54522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -54660,9 +54832,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *260 - *261 - - &346 + - *262 + - &347 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -54674,9 +54846,9 @@ paths: description: Response content: application/json: - schema: *344 + schema: *345 examples: - default: *345 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54699,17 +54871,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *260 - *261 - - *346 - - &395 + - *262 + - *347 + - &396 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &396 + - &397 name: status description: Returns check runs with the specified `status`. in: query @@ -54748,9 +54920,9 @@ paths: type: integer check_runs: type: array - items: *340 + items: *341 examples: - default: &397 + default: &398 value: total_count: 1 check_runs: @@ -54852,9 +55024,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *260 - *261 - - *346 + - *262 + - *347 responses: '201': description: Response @@ -54887,21 +55059,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *260 - *261 - - *347 + - *262 - *348 + - *349 - *19 - *17 - - &365 + - &366 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: *349 - - &366 + schema: *350 + - &367 name: pr description: The number of the pull request for the results you want to list. in: query @@ -54926,13 +55098,13 @@ paths: be returned. in: query required: false - schema: *350 + schema: *351 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *351 + schema: *352 responses: '200': description: Response @@ -54948,7 +55120,7 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: *352 + instances_url: *353 state: *133 fixed_at: *129 dismissed_by: @@ -54956,11 +55128,11 @@ paths: - type: 'null' - *4 dismissed_at: *130 - dismissed_reason: *353 - dismissed_comment: *354 - rule: *355 - tool: *356 - most_recent_instance: *357 + dismissed_reason: *354 + dismissed_comment: *355 + rule: *356 + tool: *357 + most_recent_instance: *358 required: - number - created_at @@ -55076,7 +55248,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &358 + '403': &359 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -55103,9 +55275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *260 - *261 - - &359 + - *262 + - &360 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -55119,7 +55291,7 @@ paths: description: Response content: application/json: - schema: &360 + schema: &361 type: object properties: number: *52 @@ -55127,7 +55299,7 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: *352 + instances_url: *353 state: *133 fixed_at: *129 dismissed_by: @@ -55135,8 +55307,8 @@ paths: - type: 'null' - *4 dismissed_at: *130 - dismissed_reason: *353 - dismissed_comment: *354 + dismissed_reason: *354 + dismissed_comment: *355 rule: type: object properties: @@ -55198,8 +55370,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *356 - most_recent_instance: *357 + tool: *357 + most_recent_instance: *358 required: - number - created_at @@ -55288,7 +55460,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *358 + '403': *359 '404': *6 '503': *62 x-github: @@ -55308,9 +55480,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *260 - *261 - - *359 + - *262 + - *360 requestBody: required: true content: @@ -55325,8 +55497,8 @@ paths: enum: - open - dismissed - dismissed_reason: *353 - dismissed_comment: *354 + dismissed_reason: *354 + dismissed_comment: *355 required: - state examples: @@ -55341,7 +55513,7 @@ paths: description: Response content: application/json: - schema: *360 + schema: *361 examples: default: value: @@ -55416,7 +55588,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &364 + '403': &365 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -55443,15 +55615,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: - - *260 - *261 - - *359 + - *262 + - *360 responses: '200': description: Response content: application/json: - schema: &361 + schema: &362 type: object properties: status: @@ -55478,13 +55650,13 @@ paths: - description - started_at examples: - default: &362 + default: &363 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &363 + '400': &364 description: Bad Request content: application/json: @@ -55495,7 +55667,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': *358 + '403': *359 '404': *6 '503': *62 x-github: @@ -55520,29 +55692,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: - - *260 - *261 - - *359 + - *262 + - *360 responses: '200': description: OK content: application/json: - schema: *361 + schema: *362 examples: - default: *362 + default: *363 '202': description: Accepted content: application/json: - schema: *361 + schema: *362 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *363 + '400': *364 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -55574,9 +55746,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: - - *260 - *261 - - *359 + - *262 + - *360 requestBody: required: false content: @@ -55622,8 +55794,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *363 - '403': *364 + '400': *364 + '403': *365 '404': *6 '422': description: Unprocessable Entity @@ -55647,13 +55819,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *260 - *261 - - *359 + - *262 + - *360 - *19 - *17 - - *365 - *366 + - *367 responses: '200': description: Response @@ -55661,7 +55833,7 @@ paths: application/json: schema: type: array - items: *357 + items: *358 examples: default: value: @@ -55700,7 +55872,7 @@ paths: end_column: 50 classifications: - source - '403': *358 + '403': *359 '404': *6 '503': *62 x-github: @@ -55734,25 +55906,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *260 - *261 - - *347 + - *262 - *348 + - *349 - *19 - *17 - - *366 + - *367 - 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: *349 + schema: *350 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &369 + schema: &370 type: string description: An identifier for the upload. examples: @@ -55774,23 +55946,23 @@ paths: application/json: schema: type: array - items: &370 + items: &371 type: object properties: - ref: *349 - commit_sha: &378 + ref: *350 + commit_sha: &379 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: *367 + analysis_key: *368 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *368 + category: *369 error: type: string examples: @@ -55815,8 +55987,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *369 - tool: *356 + sarif_id: *370 + tool: *357 deletable: type: boolean warning: @@ -55878,7 +56050,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *358 + '403': *359 '404': *6 '503': *62 x-github: @@ -55914,8 +56086,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: - - *260 - *261 + - *262 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -55928,7 +56100,7 @@ paths: description: Response content: application/json: - schema: *370 + schema: *371 examples: response: summary: application/json response @@ -55982,7 +56154,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *358 + '403': *359 '404': *6 '503': *62 x-github: @@ -56064,8 +56236,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: - - *260 - *261 + - *262 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -56121,7 +56293,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': *364 + '403': *365 '404': *6 '503': *62 x-github: @@ -56143,8 +56315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -56152,7 +56324,7 @@ paths: application/json: schema: type: array - items: &371 + items: &372 title: CodeQL Database description: A CodeQL database. type: object @@ -56264,7 +56436,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': *358 + '403': *359 '404': *6 '503': *62 x-github: @@ -56293,8 +56465,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *260 - *261 + - *262 - name: language in: path description: The language of the CodeQL database. @@ -56306,7 +56478,7 @@ paths: description: Response content: application/json: - schema: *371 + schema: *372 examples: default: value: @@ -56338,9 +56510,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': &402 + '302': &403 description: Found - '403': *358 + '403': *359 '404': *6 '503': *62 x-github: @@ -56362,8 +56534,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *260 - *261 + - *262 - name: language in: path description: The language of the CodeQL database. @@ -56373,7 +56545,7 @@ paths: responses: '204': description: Response - '403': *364 + '403': *365 '404': *6 '503': *62 x-github: @@ -56401,8 +56573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -56411,7 +56583,7 @@ paths: type: object additionalProperties: false properties: - language: &372 + language: &373 type: string description: The language targeted by the CodeQL query enum: @@ -56489,7 +56661,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &376 + schema: &377 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -56499,7 +56671,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *372 + query_language: *373 query_pack_url: type: string description: The download url for the query pack. @@ -56547,7 +56719,7 @@ paths: items: type: object properties: - repository: &373 + repository: &374 title: Repository Identifier description: Repository Identifier type: object @@ -56589,7 +56761,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &377 + analysis_status: &378 type: string description: The new status of the CodeQL variant analysis repository task. @@ -56621,7 +56793,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &374 + access_mismatch_repos: &375 type: object properties: repository_count: @@ -56636,7 +56808,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: *373 + items: *374 required: - repository_count - repositories @@ -56659,8 +56831,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *374 - over_limit_repos: *374 + no_codeql_db_repos: *375 + over_limit_repos: *375 required: - access_mismatch_repos - not_found_repos @@ -56676,7 +56848,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &375 + value: &376 summary: Default response value: id: 1 @@ -56828,10 +57000,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *375 + value: *376 repository_lists: summary: Response for a successful variant analysis submission - value: *375 + value: *376 '404': *6 '422': description: Unable to process variant analysis submission @@ -56859,8 +57031,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: - - *260 - *261 + - *262 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -56872,9 +57044,9 @@ paths: description: Response content: application/json: - schema: *376 + schema: *377 examples: - default: *375 + default: *376 '404': *6 '503': *62 x-github: @@ -56897,7 +57069,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: - - *260 + - *261 - name: repo in: path description: The name of the controller repository. @@ -56932,7 +57104,7 @@ paths: type: object properties: repository: *51 - analysis_status: *377 + analysis_status: *378 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -57057,8 +57229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -57140,7 +57312,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *358 + '403': *359 '404': *6 '503': *62 x-github: @@ -57161,8 +57333,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -57246,7 +57418,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *364 + '403': *365 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -57311,8 +57483,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -57320,7 +57492,7 @@ paths: schema: type: object properties: - commit_sha: *378 + commit_sha: *379 ref: type: string description: |- @@ -57380,7 +57552,7 @@ paths: schema: type: object properties: - id: *369 + id: *370 url: type: string description: The REST API URL for checking the status of the upload. @@ -57394,7 +57566,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': *364 + '403': *365 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -57417,8 +57589,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *260 - *261 + - *262 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -57466,7 +57638,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': *358 + '403': *359 '404': description: Not Found if the sarif id does not match any upload '503': *62 @@ -57491,8 +57663,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: - - *260 - *261 + - *262 responses: '200': description: Response @@ -57570,8 +57742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *260 - *261 + - *262 - 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 @@ -57699,8 +57871,8 @@ paths: parameters: - *17 - *19 - - *260 - *261 + - *262 responses: '200': description: Response @@ -58014,8 +58186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -58081,7 +58253,7 @@ paths: application/json: schema: *184 examples: - default: *379 + default: *380 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -58089,7 +58261,7 @@ paths: application/json: schema: *184 examples: - default: *379 + default: *380 '400': *14 '401': *23 '403': *27 @@ -58118,8 +58290,8 @@ paths: parameters: - *17 - *19 - - *260 - *261 + - *262 responses: '200': description: Response @@ -58183,8 +58355,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *260 - *261 + - *262 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -58221,9 +58393,9 @@ paths: type: integer machines: type: array - items: *380 + items: *381 examples: - default: &579 + default: &582 value: total_count: 2 machines: @@ -58263,8 +58435,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *260 - *261 + - *262 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -58351,8 +58523,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: - - *260 - *261 + - *262 - 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 @@ -58421,8 +58593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -58440,7 +58612,7 @@ paths: type: integer secrets: type: array - items: &384 + items: &385 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -58461,7 +58633,7 @@ paths: - created_at - updated_at examples: - default: *381 + default: *382 headers: Link: *57 x-github: @@ -58484,16 +58656,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *260 - *261 + - *262 responses: '200': description: Response content: application/json: - schema: *382 + schema: *383 examples: - default: *383 + default: *384 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -58513,17 +58685,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *260 - *261 + - *262 - *123 responses: '200': description: Response content: application/json: - schema: *384 + schema: *385 examples: - default: *385 + default: *386 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58543,8 +58715,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *260 - *261 + - *262 - *123 requestBody: required: true @@ -58597,8 +58769,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *260 - *261 + - *262 - *123 responses: '204': @@ -58627,8 +58799,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *260 - *261 + - *262 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -58666,7 +58838,7 @@ paths: application/json: schema: type: array - items: &386 + items: &387 title: Collaborator description: Collaborator type: object @@ -58859,8 +59031,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *260 - *261 + - *262 - *128 responses: '204': @@ -58903,8 +59075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *260 - *261 + - *262 - *128 requestBody: required: false @@ -58931,7 +59103,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &450 + schema: &451 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -59152,8 +59324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *260 - *261 + - *262 - *128 responses: '204': @@ -59183,8 +59355,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *260 - *261 + - *262 - *128 responses: '200': @@ -59205,7 +59377,7 @@ paths: user: anyOf: - type: 'null' - - *386 + - *387 required: - permission - role_name @@ -59259,8 +59431,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -59270,7 +59442,7 @@ paths: application/json: schema: type: array - items: &387 + items: &388 title: Commit Comment description: Commit Comment type: object @@ -59328,7 +59500,7 @@ paths: - created_at - updated_at examples: - default: &390 + default: &391 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -59387,17 +59559,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *260 - *261 + - *262 - *73 responses: '200': description: Response content: application/json: - schema: *387 + schema: *388 examples: - default: &391 + default: &392 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -59454,8 +59626,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *260 - *261 + - *262 - *73 requestBody: required: true @@ -59478,7 +59650,7 @@ paths: description: Response content: application/json: - schema: *387 + schema: *388 examples: default: value: @@ -59529,8 +59701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *260 - *261 + - *262 - *73 responses: '204': @@ -59552,8 +59724,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *260 - *261 + - *262 - *73 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -59580,9 +59752,9 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: *255 + default: *256 headers: Link: *57 '404': *6 @@ -59603,8 +59775,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *260 - *261 + - *262 - *73 requestBody: required: true @@ -59637,16 +59809,16 @@ paths: description: Reaction exists content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 '201': description: Reaction created content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 '422': *15 x-github: githubCloudOnly: false @@ -59668,10 +59840,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *260 - *261 + - *262 - *73 - - *256 + - *257 responses: '204': description: Response @@ -59720,8 +59892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *260 - *261 + - *262 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -59777,9 +59949,9 @@ paths: application/json: schema: type: array - items: *388 + items: *389 examples: - default: &498 + default: &499 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -59873,9 +60045,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *260 - *261 - - &389 + - *262 + - &390 name: commit_sha description: The SHA of the commit. in: path @@ -59947,9 +60119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *260 - *261 - - *389 + - *262 + - *390 - *17 - *19 responses: @@ -59959,9 +60131,9 @@ paths: application/json: schema: type: array - items: *387 + items: *388 examples: - default: *390 + default: *391 headers: Link: *57 x-github: @@ -59989,9 +60161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *260 - *261 - - *389 + - *262 + - *390 requestBody: required: true content: @@ -60026,9 +60198,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *388 examples: - default: *391 + default: *392 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -60056,9 +60228,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *260 - *261 - - *389 + - *262 + - *390 - *17 - *19 responses: @@ -60068,7 +60240,7 @@ paths: application/json: schema: type: array - items: &489 + items: &490 title: Pull Request Simple description: Pull Request Simple type: object @@ -60188,7 +60360,7 @@ paths: milestone: anyOf: - type: 'null' - - *392 + - *393 active_lock_reason: type: - string @@ -60287,7 +60459,7 @@ paths: _links: type: object properties: - comments: &393 + comments: &394 title: Link description: Hypermedia Link type: object @@ -60296,13 +60468,13 @@ paths: type: string required: - href - commits: *393 - statuses: *393 - html: *393 - issue: *393 - review_comments: *393 - review_comment: *393 - self: *393 + commits: *394 + statuses: *394 + html: *394 + issue: *394 + review_comments: *394 + review_comment: *394 + self: *394 required: - comments - commits @@ -60313,7 +60485,7 @@ paths: - review_comment - self author_association: *60 - auto_merge: &491 + auto_merge: &492 title: Auto merge description: The status of auto merging a pull request. type: @@ -60378,7 +60550,7 @@ paths: - author_association - auto_merge examples: - default: &490 + default: &491 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -60915,11 +61087,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *260 - *261 + - *262 - *19 - *17 - - &394 + - &395 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)" @@ -60934,9 +61106,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *389 examples: - default: &477 + default: &478 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -61049,11 +61221,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *260 - *261 - - *394 + - *262 - *395 - *396 + - *397 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -61087,9 +61259,9 @@ paths: type: integer check_runs: type: array - items: *340 + items: *341 examples: - default: *397 + default: *398 headers: Link: *57 x-github: @@ -61114,9 +61286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *260 - *261 - - *394 + - *262 + - *395 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -61124,7 +61296,7 @@ paths: schema: type: integer example: 1 - - *395 + - *396 - *17 - *19 responses: @@ -61142,7 +61314,7 @@ paths: type: integer check_suites: type: array - items: *344 + items: *345 examples: default: value: @@ -61342,9 +61514,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *260 - *261 - - *394 + - *262 + - *395 - *17 - *19 responses: @@ -61546,9 +61718,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *260 - *261 - - *394 + - *262 + - *395 - *17 - *19 responses: @@ -61558,7 +61730,7 @@ paths: application/json: schema: type: array - items: &553 + items: &556 title: Status description: The status of a commit. type: object @@ -61639,7 +61811,7 @@ paths: site_admin: false headers: Link: *57 - '301': *272 + '301': *273 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61667,8 +61839,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -61701,11 +61873,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *398 + - *399 code_of_conduct_file: anyOf: - type: 'null' - - &399 + - &400 title: Community Health File type: object properties: @@ -61725,19 +61897,19 @@ paths: contributing: anyOf: - type: 'null' - - *399 + - *400 readme: anyOf: - type: 'null' - - *399 + - *400 issue_template: anyOf: - type: 'null' - - *399 + - *400 pull_request_template: anyOf: - type: 'null' - - *399 + - *400 required: - code_of_conduct - code_of_conduct_file @@ -61866,8 +62038,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *260 - *261 + - *262 - *19 - *17 - name: basehead @@ -61915,8 +62087,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *388 - merge_base_commit: *388 + base_commit: *389 + merge_base_commit: *389 status: type: string enum: @@ -61940,10 +62112,10 @@ paths: - 6 commits: type: array - items: *388 + items: *389 files: type: array - items: *400 + items: *401 required: - url - html_url @@ -62229,8 +62401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *260 - *261 + - *262 - name: path description: path parameter in: path @@ -62381,7 +62553,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &401 + response-if-content-is-a-file: &402 summary: Response if content is a file value: type: file @@ -62518,7 +62690,7 @@ paths: - size - type - url - - &503 + - &504 title: Content File description: Content File type: object @@ -62736,7 +62908,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *401 + response-if-content-is-a-file: *402 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -62805,7 +62977,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *402 + '302': *403 '304': *35 x-github: githubCloudOnly: false @@ -62828,8 +63000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *260 - *261 + - *262 - name: path description: path parameter in: path @@ -62924,7 +63096,7 @@ paths: description: Response content: application/json: - schema: &403 + schema: &404 title: File Commit description: File Commit type: object @@ -63080,7 +63252,7 @@ paths: description: Response content: application/json: - schema: *403 + schema: *404 examples: example-for-creating-a-file: value: @@ -63134,7 +63306,7 @@ paths: schema: oneOf: - *3 - - &432 + - &433 description: Repository rule violation was detected type: object properties: @@ -63155,7 +63327,7 @@ paths: items: type: object properties: - placeholder_id: &545 + placeholder_id: &548 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -63187,8 +63359,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *260 - *261 + - *262 - name: path description: path parameter in: path @@ -63249,7 +63421,7 @@ paths: description: Response content: application/json: - schema: *403 + schema: *404 examples: default: value: @@ -63304,8 +63476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *260 - *261 + - *262 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -63429,8 +63601,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *260 - *261 + - *262 - *143 - *144 - *145 @@ -63472,7 +63644,7 @@ paths: application/json: schema: type: array - items: &406 + items: &407 type: object description: A Dependabot alert. properties: @@ -63507,7 +63679,7 @@ paths: - development - runtime - - security_advisory: *404 + security_advisory: *405 security_vulnerability: *50 url: *55 html_url: *56 @@ -63538,7 +63710,7 @@ paths: dismissal. maxLength: 280 fixed_at: *129 - auto_dismissed_at: *405 + auto_dismissed_at: *406 required: - number - state @@ -63768,9 +63940,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *260 - *261 - - &407 + - *262 + - &408 name: alert_number in: path description: |- @@ -63785,7 +63957,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *407 examples: default: value: @@ -63898,9 +64070,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *260 - *261 - - *407 + - *262 + - *408 requestBody: required: true content: @@ -63945,7 +64117,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *407 examples: default: value: @@ -64074,8 +64246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -64093,7 +64265,7 @@ paths: type: integer secrets: type: array - items: &410 + items: &411 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -64147,16 +64319,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *260 - *261 + - *262 responses: '200': description: Response content: application/json: - schema: *408 + schema: *409 examples: - default: *409 + default: *410 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64176,15 +64348,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *260 - *261 + - *262 - *123 responses: '200': description: Response content: application/json: - schema: *410 + schema: *411 examples: default: value: @@ -64210,8 +64382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *260 - *261 + - *262 - *123 requestBody: required: true @@ -64264,8 +64436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *260 - *261 + - *262 - *123 responses: '204': @@ -64288,8 +64460,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: - - *260 - *261 + - *262 - 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 @@ -64463,8 +64635,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: - - *260 - *261 + - *262 responses: '200': description: Response @@ -64724,8 +64896,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: - - *260 - *261 + - *262 requestBody: required: true content: @@ -64808,7 +64980,7 @@ paths: - version - url additionalProperties: false - metadata: &411 + metadata: &412 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -64847,7 +65019,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *411 + metadata: *412 resolved: type: object description: A collection of resolved package dependencies. @@ -64861,7 +65033,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *411 + metadata: *412 relationship: type: string description: A notation of whether a dependency is requested @@ -64994,8 +65166,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *260 - *261 + - *262 - name: sha description: The SHA recorded at creation time. in: query @@ -65036,9 +65208,9 @@ paths: application/json: schema: type: array - items: *412 + items: *413 examples: - default: *413 + default: *414 headers: Link: *57 x-github: @@ -65104,8 +65276,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -65187,7 +65359,7 @@ paths: description: Response content: application/json: - schema: *412 + schema: *413 examples: simple-example: summary: Simple example @@ -65260,9 +65432,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *260 - *261 - - &414 + - *262 + - &415 name: deployment_id description: deployment_id parameter in: path @@ -65274,7 +65446,7 @@ paths: description: Response content: application/json: - schema: *412 + schema: *413 examples: default: value: @@ -65339,9 +65511,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *260 - *261 - - *414 + - *262 + - *415 responses: '204': description: Response @@ -65363,9 +65535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *260 - *261 - - *414 + - *262 + - *415 - *17 - *19 responses: @@ -65375,7 +65547,7 @@ paths: application/json: schema: type: array - items: &415 + items: &416 title: Deployment Status description: The status of a deployment. type: object @@ -65539,9 +65711,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *260 - *261 - - *414 + - *262 + - *415 requestBody: required: true content: @@ -65616,9 +65788,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *416 examples: - default: &416 + default: &417 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -65674,9 +65846,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *260 - *261 - - *414 + - *262 + - *415 - name: status_id in: path required: true @@ -65687,9 +65859,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *416 examples: - default: *416 + default: *417 '404': *6 x-github: githubCloudOnly: false @@ -65714,8 +65886,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -65772,8 +65944,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -65791,7 +65963,7 @@ paths: - 5 environments: type: array - items: &418 + items: &419 title: Environment description: Details of a deployment environment type: object @@ -65853,7 +66025,7 @@ paths: type: string examples: - wait_timer - wait_timer: &420 + wait_timer: &421 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -65895,7 +66067,7 @@ paths: items: type: object properties: - type: *417 + type: *418 reviewer: anyOf: - *4 @@ -65922,7 +66094,7 @@ paths: - id - node_id - type - deployment_branch_policy: &421 + deployment_branch_policy: &422 type: - object - 'null' @@ -66039,9 +66211,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *260 - *261 - - &419 + - *262 + - &420 name: environment_name in: path required: true @@ -66054,9 +66226,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *419 examples: - default: &422 + default: &423 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -66140,9 +66312,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *260 - *261 - - *419 + - *262 + - *420 requestBody: required: false content: @@ -66152,7 +66324,7 @@ paths: - object - 'null' properties: - wait_timer: *420 + wait_timer: *421 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -66171,14 +66343,14 @@ paths: items: type: object properties: - type: *417 + type: *418 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *421 + deployment_branch_policy: *422 additionalProperties: false examples: default: @@ -66198,9 +66370,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *419 examples: - default: *422 + default: *423 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -66224,9 +66396,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *260 - *261 - - *419 + - *262 + - *420 responses: '204': description: Default response @@ -66251,9 +66423,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *260 - *261 - - *419 + - *262 + - *420 - *17 - *19 responses: @@ -66272,7 +66444,7 @@ paths: - 2 branch_policies: type: array - items: &423 + items: &424 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -66333,9 +66505,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *260 - *261 - - *419 + - *262 + - *420 requestBody: required: true content: @@ -66383,9 +66555,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: - example-wildcard: &424 + example-wildcard: &425 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -66427,10 +66599,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *260 - *261 - - *419 - - &425 + - *262 + - *420 + - &426 name: branch_policy_id in: path required: true @@ -66442,9 +66614,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: - default: *424 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66463,10 +66635,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *260 - *261 - - *419 - - *425 + - *262 + - *420 + - *426 requestBody: required: true content: @@ -66495,9 +66667,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: - default: *424 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66516,10 +66688,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *260 - *261 - - *419 - - *425 + - *262 + - *420 + - *426 responses: '204': description: Response @@ -66544,9 +66716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *419 + - *420 + - *262 - *261 - - *260 responses: '200': description: List of deployment protection rules @@ -66563,7 +66735,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &426 + items: &427 title: Deployment protection rule description: Deployment protection rule type: object @@ -66585,7 +66757,7 @@ paths: for the environment. examples: - true - app: &427 + app: &428 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -66688,9 +66860,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *419 + - *420 + - *262 - *261 - - *260 requestBody: content: application/json: @@ -66711,9 +66883,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *426 + schema: *427 examples: - default: &428 + default: &429 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -66748,9 +66920,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *419 + - *420 + - *262 - *261 - - *260 - *19 - *17 responses: @@ -66770,7 +66942,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *427 + items: *428 examples: default: value: @@ -66805,10 +66977,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *260 - *261 - - *419 - - &429 + - *262 + - *420 + - &430 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -66820,9 +66992,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *427 examples: - default: *428 + default: *429 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66843,10 +67015,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *419 + - *420 + - *262 - *261 - - *260 - - *429 + - *430 responses: '204': description: Response @@ -66872,9 +67044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *260 - *261 - - *419 + - *262 + - *420 - *17 - *19 responses: @@ -66892,9 +67064,9 @@ paths: type: integer secrets: type: array - items: *306 + items: *307 examples: - default: *307 + default: *308 headers: Link: *57 x-github: @@ -66919,17 +67091,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *260 - *261 - - *419 + - *262 + - *420 responses: '200': description: Response content: application/json: - schema: *308 + schema: *309 examples: - default: *309 + default: *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66951,18 +67123,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *260 - *261 - - *419 + - *262 + - *420 - *123 responses: '200': description: Response content: application/json: - schema: *306 + schema: *307 examples: - default: *430 + default: *431 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66984,9 +67156,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *260 - *261 - - *419 + - *262 + - *420 - *123 requestBody: required: true @@ -67044,9 +67216,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *260 - *261 - - *419 + - *262 + - *420 - *123 responses: '204': @@ -67072,10 +67244,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *260 - *261 - - *419 - - *282 + - *262 + - *420 + - *283 - *19 responses: '200': @@ -67092,9 +67264,9 @@ paths: type: integer variables: type: array - items: *310 + items: *311 examples: - default: *311 + default: *312 headers: Link: *57 x-github: @@ -67117,9 +67289,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *260 - *261 - - *419 + - *262 + - *420 requestBody: required: true content: @@ -67171,18 +67343,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *260 - *261 - - *419 + - *262 + - *420 - *126 responses: '200': description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: *431 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67203,10 +67375,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *260 - *261 + - *262 - *126 - - *419 + - *420 requestBody: required: true content: @@ -67248,10 +67420,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *260 - *261 + - *262 - *126 - - *419 + - *420 responses: '204': description: Response @@ -67273,8 +67445,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -67351,8 +67523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *260 - *261 + - *262 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -67511,8 +67683,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *260 - *261 + - *262 requestBody: required: false content: @@ -67545,9 +67717,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *272 examples: - default: *273 + default: *274 '400': *14 '422': *15 '403': *27 @@ -67568,8 +67740,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -67629,7 +67801,7 @@ paths: schema: oneOf: - *93 - - *432 + - *433 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67654,8 +67826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *260 - *261 + - *262 - name: file_sha in: path required: true @@ -67755,8 +67927,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -67865,7 +68037,7 @@ paths: description: Response content: application/json: - schema: &433 + schema: &434 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -68092,15 +68264,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *260 - *261 - - *389 + - *262 + - *390 responses: '200': description: Response content: application/json: - schema: *433 + schema: *434 examples: default: value: @@ -68156,9 +68328,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *260 - *261 - - &434 + - *262 + - &435 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -68175,7 +68347,7 @@ paths: application/json: schema: type: array - items: &435 + items: &436 title: Git Reference description: Git references within a repository type: object @@ -68251,17 +68423,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *260 - *261 - - *434 + - *262 + - *435 responses: '200': description: Response content: application/json: - schema: *435 + schema: *436 examples: - default: &436 + default: &437 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -68290,8 +68462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -68320,9 +68492,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *436 examples: - default: *436 + default: *437 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -68348,9 +68520,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *260 - *261 - - *434 + - *262 + - *435 requestBody: required: true content: @@ -68379,9 +68551,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *436 examples: - default: *436 + default: *437 '422': *15 '409': *44 x-github: @@ -68399,9 +68571,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *260 - *261 - - *434 + - *262 + - *435 responses: '204': description: Response @@ -68454,8 +68626,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -68522,7 +68694,7 @@ paths: description: Response content: application/json: - schema: &438 + schema: &439 title: Git Tag description: Metadata for a Git tag type: object @@ -68578,7 +68750,7 @@ paths: - sha - type - url - verification: *437 + verification: *438 required: - sha - url @@ -68588,7 +68760,7 @@ paths: - tag - message examples: - default: &439 + default: &440 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -68661,8 +68833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *260 - *261 + - *262 - name: tag_sha in: path required: true @@ -68673,9 +68845,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *439 examples: - default: *439 + default: *440 '404': *6 '409': *44 x-github: @@ -68699,8 +68871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -68774,7 +68946,7 @@ paths: description: Response content: application/json: - schema: &440 + schema: &441 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -68892,8 +69064,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *260 - *261 + - *262 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -68916,7 +69088,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: default-response: summary: Default response @@ -68975,8 +69147,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -68986,7 +69158,7 @@ paths: application/json: schema: type: array - items: &441 + items: &442 title: Webhook description: Webhooks for repositories. type: object @@ -69049,7 +69221,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &652 + last_response: &655 title: Hook Response type: object properties: @@ -69126,8 +69298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *260 - *261 + - *262 requestBody: required: false content: @@ -69180,9 +69352,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *442 examples: - default: &442 + default: &443 value: type: Repository id: 12345678 @@ -69230,17 +69402,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *260 - *261 + - *262 - *157 responses: '200': description: Response content: application/json: - schema: *441 + schema: *442 examples: - default: *442 + default: *443 '404': *6 x-github: githubCloudOnly: false @@ -69260,8 +69432,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *260 - *261 + - *262 - *157 requestBody: required: true @@ -69307,9 +69479,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *442 examples: - default: *442 + default: *443 '422': *15 '404': *6 x-github: @@ -69330,8 +69502,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *260 - *261 + - *262 - *157 responses: '204': @@ -69356,8 +69528,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *260 - *261 + - *262 - *157 responses: '200': @@ -69385,8 +69557,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *260 - *261 + - *262 - *157 requestBody: required: false @@ -69431,8 +69603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *260 - *261 + - *262 - *157 - *17 - *158 @@ -69464,8 +69636,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *260 - *261 + - *262 - *157 - *16 responses: @@ -69494,8 +69666,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *260 - *261 + - *262 - *157 - *16 responses: @@ -69519,8 +69691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *260 - *261 + - *262 - *157 responses: '204': @@ -69546,8 +69718,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *260 - *261 + - *262 - *157 responses: '204': @@ -69606,14 +69778,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *260 - *261 + - *262 responses: '200': description: Response content: application/json: - schema: &443 + schema: &444 title: Import description: A repository import from an external source. type: object @@ -69720,7 +69892,7 @@ paths: - html_url - authors_url examples: - default: &446 + default: &447 value: vcs: subversion use_lfs: true @@ -69736,7 +69908,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &444 + '503': &445 description: Unavailable due to service under maintenance. content: application/json: @@ -69765,8 +69937,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -69814,7 +69986,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: default: value: @@ -69839,7 +70011,7 @@ paths: type: string '422': *15 '404': *6 - '503': *444 + '503': *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69867,8 +70039,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *260 - *261 + - *262 requestBody: required: false content: @@ -69920,7 +70092,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: example-1: summary: Example 1 @@ -69968,7 +70140,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *444 + '503': *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69991,12 +70163,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *260 - *261 + - *262 responses: '204': description: Response - '503': *444 + '503': *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70022,9 +70194,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *260 - *261 - - &602 + - *262 + - &605 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -70038,7 +70210,7 @@ paths: application/json: schema: type: array - items: &445 + items: &446 title: Porter Author description: Porter Author type: object @@ -70092,7 +70264,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *444 + '503': *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70117,8 +70289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *260 - *261 + - *262 - name: author_id in: path required: true @@ -70148,7 +70320,7 @@ paths: description: Response content: application/json: - schema: *445 + schema: *446 examples: default: value: @@ -70161,7 +70333,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *444 + '503': *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70185,8 +70357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -70227,7 +70399,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *444 + '503': *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70255,8 +70427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -70283,11 +70455,11 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: - default: *446 + default: *447 '422': *15 - '503': *444 + '503': *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70310,8 +70482,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -70319,8 +70491,8 @@ paths: application/json: schema: *20 examples: - default: *447 - '301': *272 + default: *448 + '301': *273 '404': *6 x-github: githubCloudOnly: false @@ -70340,8 +70512,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -70354,7 +70526,7 @@ paths: properties: {} additionalProperties: false examples: - default: &449 + default: &450 value: limit: collaborators_only origin: repository @@ -70379,13 +70551,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *260 - *261 + - *262 requestBody: required: true content: application/json: - schema: *448 + schema: *449 examples: default: summary: Example request body @@ -70399,7 +70571,7 @@ paths: application/json: schema: *175 examples: - default: *449 + default: *450 '409': description: Response x-github: @@ -70421,8 +70593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *260 - *261 + - *262 responses: '204': description: Response @@ -70445,8 +70617,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -70456,9 +70628,9 @@ paths: application/json: schema: type: array - items: *450 + items: *451 examples: - default: &595 + default: &598 value: - id: 1 repository: @@ -70589,8 +70761,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *260 - *261 + - *262 - *179 requestBody: required: false @@ -70620,7 +70792,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *451 examples: default: value: @@ -70751,8 +70923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *260 - *261 + - *262 - *179 responses: '204': @@ -70784,8 +70956,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *260 - *261 + - *262 - 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 @@ -70850,7 +71022,7 @@ paths: type: array items: *74 examples: - default: &459 + default: &460 value: - id: 1 node_id: MDU6SXNzdWUx @@ -70998,7 +71170,7 @@ paths: state_reason: completed headers: Link: *57 - '301': *272 + '301': *273 '422': *15 '404': *6 x-github: @@ -71027,8 +71199,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -71111,7 +71283,7 @@ paths: application/json: schema: *74 examples: - default: &454 + default: &455 value: id: 1 node_id: MDU6SXNzdWUx @@ -71267,7 +71439,7 @@ paths: '422': *15 '503': *62 '404': *6 - '410': *269 + '410': *270 x-github: triggersNotification: true githubCloudOnly: false @@ -71295,8 +71467,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *260 - *261 + - *262 - *83 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -71317,9 +71489,9 @@ paths: application/json: schema: type: array - items: *451 + items: *452 examples: - default: &456 + default: &457 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -71377,17 +71549,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *260 - *261 + - *262 - *73 responses: '200': description: Response content: application/json: - schema: *451 + schema: *452 examples: - default: &452 + default: &453 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -71441,8 +71613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *260 - *261 + - *262 - *73 requestBody: required: true @@ -71465,9 +71637,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: - default: *452 + default: *453 '422': *15 x-github: githubCloudOnly: false @@ -71485,8 +71657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *260 - *261 + - *262 - *73 responses: '204': @@ -71507,8 +71679,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *260 - *261 + - *262 - *73 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -71535,9 +71707,9 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: *255 + default: *256 headers: Link: *57 '404': *6 @@ -71558,8 +71730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *260 - *261 + - *262 - *73 requestBody: required: true @@ -71592,16 +71764,16 @@ paths: description: Reaction exists content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 '201': description: Reaction created content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 '422': *15 x-github: githubCloudOnly: false @@ -71623,10 +71795,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *260 - *261 + - *262 - *73 - - *256 + - *257 responses: '204': description: Response @@ -71646,8 +71818,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -71657,7 +71829,7 @@ paths: application/json: schema: type: array - items: &453 + items: &454 title: Issue Event description: Issue Event type: object @@ -71996,8 +72168,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *260 - *261 + - *262 - name: event_id in: path required: true @@ -72008,7 +72180,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *454 examples: default: value: @@ -72201,7 +72373,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *269 + '410': *270 '403': *27 x-github: githubCloudOnly: false @@ -72235,9 +72407,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *260 - *261 - - &455 + - *262 + - &456 name: issue_number description: The number that identifies the issue. in: path @@ -72251,10 +72423,10 @@ paths: application/json: schema: *74 examples: - default: *454 - '301': *272 + default: *455 + '301': *273 '404': *6 - '410': *269 + '410': *270 '304': *35 x-github: githubCloudOnly: false @@ -72279,9 +72451,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 requestBody: required: false content: @@ -72391,13 +72563,13 @@ paths: application/json: schema: *74 examples: - default: *454 + default: *455 '422': *15 '503': *62 '403': *27 - '301': *272 + '301': *273 '404': *6 - '410': *269 + '410': *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72415,9 +72587,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 requestBody: required: false content: @@ -72445,7 +72617,7 @@ paths: application/json: schema: *74 examples: - default: *454 + default: *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72461,9 +72633,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 requestBody: content: application/json: @@ -72490,7 +72662,7 @@ paths: application/json: schema: *74 examples: - default: *454 + default: *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72512,9 +72684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 - name: assignee in: path required: true @@ -72554,9 +72726,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *260 - *261 - - *455 + - *262 + - *456 - *64 - *17 - *19 @@ -72567,13 +72739,13 @@ paths: application/json: schema: type: array - items: *451 + items: *452 examples: - default: *456 + default: *457 headers: Link: *57 '404': *6 - '410': *269 + '410': *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72602,9 +72774,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *260 - *261 - - *455 + - *262 + - *456 requestBody: required: true content: @@ -72626,16 +72798,16 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: - default: *452 + default: *453 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *269 + '410': *270 '422': *15 '404': *6 x-github: @@ -72655,9 +72827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *260 - *261 - - *455 + - *262 + - *456 - *17 - *19 responses: @@ -72671,7 +72843,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &460 + - &461 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -72720,7 +72892,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &461 + - &462 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -72848,7 +73020,7 @@ paths: - performed_via_github_app - assignee - assigner - - &462 + - &463 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -72894,7 +73066,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &463 + - &464 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -72940,7 +73112,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &464 + - &465 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -72989,7 +73161,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &465 + - &466 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -73031,7 +73203,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &466 + - &467 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -73073,7 +73245,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &467 + - &468 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -73129,7 +73301,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &468 + - &469 title: Locked Issue Event description: Locked Issue Event type: object @@ -73174,7 +73346,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &469 + - &470 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -73235,7 +73407,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &470 + - &471 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -73296,7 +73468,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &471 + - &472 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -73357,7 +73529,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &472 + - &473 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -73450,7 +73622,7 @@ paths: color: red headers: Link: *57 - '410': *269 + '410': *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73467,9 +73639,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 - *17 - *19 responses: @@ -73479,7 +73651,7 @@ paths: application/json: schema: type: array - items: &457 + items: &458 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -73534,7 +73706,7 @@ paths: - color - default examples: - default: &458 + default: &459 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -73552,9 +73724,9 @@ paths: default: false headers: Link: *57 - '301': *272 + '301': *273 '404': *6 - '410': *269 + '410': *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73571,9 +73743,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 requestBody: required: false content: @@ -73632,12 +73804,12 @@ paths: application/json: schema: type: array - items: *457 + items: *458 examples: - default: *458 - '301': *272 + default: *459 + '301': *273 '404': *6 - '410': *269 + '410': *270 '422': *15 x-github: githubCloudOnly: false @@ -73654,9 +73826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 requestBody: required: false content: @@ -73716,12 +73888,12 @@ paths: application/json: schema: type: array - items: *457 + items: *458 examples: - default: *458 - '301': *272 + default: *459 + '301': *273 '404': *6 - '410': *269 + '410': *270 '422': *15 x-github: githubCloudOnly: false @@ -73738,15 +73910,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 responses: '204': description: Response - '301': *272 + '301': *273 '404': *6 - '410': *269 + '410': *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73765,9 +73937,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 - name: name in: path required: true @@ -73780,7 +73952,7 @@ paths: application/json: schema: type: array - items: *457 + items: *458 examples: default: value: @@ -73791,9 +73963,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *272 + '301': *273 '404': *6 - '410': *269 + '410': *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73813,9 +73985,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 requestBody: required: false content: @@ -73844,7 +74016,7 @@ paths: '204': description: Response '403': *27 - '410': *269 + '410': *270 '404': *6 '422': *15 x-github: @@ -73862,9 +74034,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 responses: '204': description: Response @@ -73886,9 +74058,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -73914,13 +74086,13 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: *255 + default: *256 headers: Link: *57 '404': *6 - '410': *269 + '410': *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73938,9 +74110,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 requestBody: required: true content: @@ -73972,20 +74144,20 @@ paths: description: Response content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 '201': description: Response content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 '422': *15 x-github: githubCloudOnly: false - enabledForGitHubApps: false + enabledForGitHubApps: true category: reactions subcategory: reactions "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": @@ -74003,10 +74175,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *260 - *261 - - *455 - - *256 + - *262 + - *456 + - *257 responses: '204': description: Response @@ -74035,9 +74207,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 requestBody: required: true content: @@ -74061,7 +74233,7 @@ paths: application/json: schema: *74 examples: - default: *454 + default: *455 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -74094,9 +74266,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *260 - *261 - - *455 + - *262 + - *456 - *17 - *19 responses: @@ -74108,11 +74280,11 @@ paths: type: array items: *74 examples: - default: *459 + default: *460 headers: Link: *57 '404': *6 - '410': *269 + '410': *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74140,9 +74312,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 requestBody: required: true content: @@ -74171,14 +74343,14 @@ paths: application/json: schema: *74 examples: - default: *454 + default: *455 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *269 + '410': *270 '422': *15 '404': *6 x-github: @@ -74198,9 +74370,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 requestBody: required: true content: @@ -74233,7 +74405,7 @@ paths: application/json: schema: *74 examples: - default: *454 + default: *455 '403': *27 '404': *6 '422': *7 @@ -74255,9 +74427,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 - *17 - *19 responses: @@ -74272,7 +74444,6 @@ paths: description: Timeline Event type: object anyOf: - - *460 - *461 - *462 - *463 @@ -74285,6 +74456,7 @@ paths: - *470 - *471 - *472 + - *473 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -74608,7 +74780,7 @@ paths: type: string comments: type: array - items: &492 + items: &493 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -74846,7 +75018,7 @@ paths: type: string comments: type: array - items: *387 + items: *388 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -75121,7 +75293,7 @@ paths: headers: Link: *57 '404': *6 - '410': *269 + '410': *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75138,8 +75310,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -75149,7 +75321,7 @@ paths: application/json: schema: type: array - items: &473 + items: &474 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -75216,8 +75388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -75253,9 +75425,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *474 examples: - default: &474 + default: &475 value: id: 1 key: ssh-rsa AAA... @@ -75289,9 +75461,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *260 - *261 - - &475 + - *262 + - &476 name: key_id description: The unique identifier of the key. in: path @@ -75303,9 +75475,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *474 examples: - default: *474 + default: *475 '404': *6 x-github: githubCloudOnly: false @@ -75323,9 +75495,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *260 - *261 - - *475 + - *262 + - *476 responses: '204': description: Response @@ -75345,8 +75517,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -75356,9 +75528,9 @@ paths: application/json: schema: type: array - items: *457 + items: *458 examples: - default: *458 + default: *459 headers: Link: *57 '404': *6 @@ -75379,8 +75551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -75416,9 +75588,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: &476 + default: &477 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -75450,8 +75622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *260 - *261 + - *262 - name: name in: path required: true @@ -75462,9 +75634,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: *476 + default: *477 '404': *6 x-github: githubCloudOnly: false @@ -75481,8 +75653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *260 - *261 + - *262 - name: name in: path required: true @@ -75521,7 +75693,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *458 examples: default: value: @@ -75547,8 +75719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *260 - *261 + - *262 - name: name in: path required: true @@ -75574,8 +75746,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -75614,9 +75786,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *260 - *261 - - *365 + - *262 + - *366 responses: '200': description: Response @@ -75763,8 +75935,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -75829,8 +76001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -75864,9 +76036,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *388 + schema: *389 examples: - default: *477 + default: *478 '204': description: Response when already merged '404': @@ -75891,8 +76063,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *260 - *261 + - *262 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -75933,7 +76105,7 @@ paths: application/json: schema: type: array - items: *392 + items: *393 examples: default: value: @@ -75989,8 +76161,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -76030,9 +76202,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *393 examples: - default: &478 + default: &479 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -76091,9 +76263,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *260 - *261 - - &479 + - *262 + - &480 name: milestone_number description: The number that identifies the milestone. in: path @@ -76105,9 +76277,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *393 examples: - default: *478 + default: *479 '404': *6 x-github: githubCloudOnly: false @@ -76124,9 +76296,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *260 - *261 - - *479 + - *262 + - *480 requestBody: required: false content: @@ -76164,9 +76336,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *393 examples: - default: *478 + default: *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76182,9 +76354,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *260 - *261 - - *479 + - *262 + - *480 responses: '204': description: Response @@ -76205,9 +76377,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *260 - *261 - - *479 + - *262 + - *480 - *17 - *19 responses: @@ -76217,9 +76389,9 @@ paths: application/json: schema: type: array - items: *457 + items: *458 examples: - default: *458 + default: *459 headers: Link: *57 x-github: @@ -76238,12 +76410,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *260 - *261 - - *480 + - *262 - *481 - - *64 - *482 + - *64 + - *483 - *17 - *19 responses: @@ -76255,7 +76427,7 @@ paths: type: array items: *86 examples: - default: *483 + default: *484 headers: Link: *57 x-github: @@ -76279,8 +76451,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *260 - *261 + - *262 requestBody: required: false content: @@ -76338,14 +76510,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *260 - *261 + - *262 responses: '200': description: Response content: application/json: - schema: &484 + schema: &485 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -76489,7 +76661,7 @@ paths: - custom_404 - public examples: - default: &485 + default: &486 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -76530,8 +76702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -76586,9 +76758,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *485 examples: - default: *485 + default: *486 '422': *15 '409': *44 x-github: @@ -76611,8 +76783,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -76712,8 +76884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *260 - *261 + - *262 responses: '204': description: Response @@ -76739,8 +76911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -76750,7 +76922,7 @@ paths: application/json: schema: type: array - items: &486 + items: &487 title: Page Build description: Page Build type: object @@ -76842,8 +77014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *260 - *261 + - *262 responses: '201': description: Response @@ -76890,16 +77062,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *260 - *261 + - *262 responses: '200': description: Response content: application/json: - schema: *486 + schema: *487 examples: - default: &487 + default: &488 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -76947,8 +77119,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *260 - *261 + - *262 - name: build_id in: path required: true @@ -76959,9 +77131,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *487 examples: - default: *487 + default: *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76981,8 +77153,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -77090,9 +77262,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *260 - *261 - - &488 + - *262 + - &489 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -77150,9 +77322,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *260 - *261 - - *488 + - *262 + - *489 responses: '204': *137 '404': *6 @@ -77179,8 +77351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -77475,8 +77647,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: - - *260 - *261 + - *262 responses: '200': description: Private vulnerability reporting status @@ -77513,8 +77685,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *260 - *261 + - *262 responses: '204': *137 '422': *14 @@ -77535,8 +77707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *260 - *261 + - *262 responses: '204': *137 '422': *14 @@ -77559,8 +77731,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-repository-projects parameters: - - *260 - *261 + - *262 - name: state description: Indicates the state of the projects to return. in: query @@ -77621,7 +77793,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *269 + '410': *270 '422': *7 x-github: githubCloudOnly: false @@ -77644,8 +77816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-a-repository-project parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -77673,11 +77845,11 @@ paths: application/json: schema: *212 examples: - default: *268 + default: *269 '401': *23 '403': *27 '404': *6 - '410': *269 + '410': *270 '422': *7 x-github: githubCloudOnly: false @@ -77700,8 +77872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -77740,8 +77912,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: - - *260 - *261 + - *262 requestBody: required: true content: @@ -77803,8 +77975,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *260 - *261 + - *262 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -77864,9 +78036,9 @@ paths: application/json: schema: type: array - items: *489 + items: *490 examples: - default: *490 + default: *491 headers: Link: *57 '304': *35 @@ -77898,8 +78070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -77966,7 +78138,7 @@ paths: description: Response content: application/json: - schema: &494 + schema: &495 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -78095,7 +78267,7 @@ paths: milestone: anyOf: - type: 'null' - - *392 + - *393 active_lock_reason: type: - string @@ -78188,14 +78360,14 @@ paths: _links: type: object properties: - comments: *393 - commits: *393 - statuses: *393 - html: *393 - issue: *393 - review_comments: *393 - review_comment: *393 - self: *393 + comments: *394 + commits: *394 + statuses: *394 + html: *394 + issue: *394 + review_comments: *394 + review_comment: *394 + self: *394 required: - comments - commits @@ -78206,7 +78378,7 @@ paths: - review_comment - self author_association: *60 - auto_merge: *491 + auto_merge: *492 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -78308,7 +78480,7 @@ paths: - merged_by - review_comments examples: - default: &495 + default: &496 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -78835,8 +79007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *260 - *261 + - *262 - name: sort in: query required: false @@ -78865,9 +79037,9 @@ paths: application/json: schema: type: array - items: *492 + items: *493 examples: - default: &497 + default: &498 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -78944,17 +79116,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *260 - *261 + - *262 - *73 responses: '200': description: Response content: application/json: - schema: *492 + schema: *493 examples: - default: &493 + default: &494 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -79029,8 +79201,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *260 - *261 + - *262 - *73 requestBody: required: true @@ -79053,9 +79225,9 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: - default: *493 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79071,8 +79243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *260 - *261 + - *262 - *73 responses: '204': @@ -79094,8 +79266,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *260 - *261 + - *262 - *73 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -79122,9 +79294,9 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: *255 + default: *256 headers: Link: *57 '404': *6 @@ -79145,8 +79317,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *260 - *261 + - *262 - *73 requestBody: required: true @@ -79179,16 +79351,16 @@ paths: description: Reaction exists content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 '201': description: Reaction created content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 '422': *15 x-github: githubCloudOnly: false @@ -79210,10 +79382,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *260 - *261 + - *262 - *73 - - *256 + - *257 responses: '204': description: Response @@ -79256,9 +79428,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *260 - *261 - - &496 + - *262 + - &497 name: pull_number description: The number that identifies the pull request. in: path @@ -79271,9 +79443,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *494 + schema: *495 examples: - default: *495 + default: *496 '304': *35 '404': *6 '406': @@ -79308,9 +79480,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *260 - *261 - - *496 + - *262 + - *497 requestBody: required: false content: @@ -79352,9 +79524,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *495 examples: - default: *495 + default: *496 '422': *15 '403': *27 x-github: @@ -79376,9 +79548,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *260 - *261 - - *496 + - *262 + - *497 requestBody: required: true content: @@ -79441,7 +79613,7 @@ paths: application/json: schema: *184 examples: - default: *379 + default: *380 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -79449,7 +79621,7 @@ paths: application/json: schema: *184 examples: - default: *379 + default: *380 '401': *23 '403': *27 '404': *6 @@ -79479,9 +79651,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *260 - *261 - - *496 + - *262 + - *497 - *83 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -79502,9 +79674,9 @@ paths: application/json: schema: type: array - items: *492 + items: *493 examples: - default: *497 + default: *498 headers: Link: *57 x-github: @@ -79537,9 +79709,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *260 - *261 - - *496 + - *262 + - *497 requestBody: required: true content: @@ -79645,7 +79817,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: example-for-a-multi-line-comment: value: @@ -79733,9 +79905,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *260 - *261 - - *496 + - *262 + - *497 - *73 requestBody: required: true @@ -79758,7 +79930,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: default: value: @@ -79844,9 +80016,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *260 - *261 - - *496 + - *262 + - *497 - *17 - *19 responses: @@ -79856,9 +80028,9 @@ paths: application/json: schema: type: array - items: *388 + items: *389 examples: - default: *498 + default: *499 headers: Link: *57 x-github: @@ -79888,9 +80060,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *260 - *261 - - *496 + - *262 + - *497 - *17 - *19 responses: @@ -79900,7 +80072,7 @@ paths: application/json: schema: type: array - items: *400 + items: *401 examples: default: value: @@ -79938,9 +80110,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *260 - *261 - - *496 + - *262 + - *497 responses: '204': description: Response if pull request has been merged @@ -79963,9 +80135,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *260 - *261 - - *496 + - *262 + - *497 requestBody: required: false content: @@ -80077,9 +80249,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *260 - *261 - - *496 + - *262 + - *497 responses: '200': description: Response @@ -80154,9 +80326,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *260 - *261 - - *496 + - *262 + - *497 requestBody: required: false content: @@ -80193,7 +80365,7 @@ paths: description: Response content: application/json: - schema: *489 + schema: *490 examples: default: value: @@ -80729,9 +80901,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *260 - *261 - - *496 + - *262 + - *497 requestBody: required: true content: @@ -80765,7 +80937,7 @@ paths: description: Response content: application/json: - schema: *489 + schema: *490 examples: default: value: @@ -81270,9 +81442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *260 - *261 - - *496 + - *262 + - *497 - *17 - *19 responses: @@ -81282,7 +81454,7 @@ paths: application/json: schema: type: array - items: &499 + items: &500 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -81438,9 +81610,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *260 - *261 - - *496 + - *262 + - *497 requestBody: required: false content: @@ -81530,9 +81702,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: &501 + default: &502 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -81595,10 +81767,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *260 - *261 - - *496 - - &500 + - *262 + - *497 + - &501 name: review_id description: The unique identifier of the review. in: path @@ -81610,9 +81782,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: &502 + default: &503 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -81671,10 +81843,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *260 - *261 - - *496 - - *500 + - *262 + - *497 + - *501 requestBody: required: true content: @@ -81697,7 +81869,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: default: value: @@ -81759,18 +81931,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *260 - *261 - - *496 - - *500 + - *262 + - *497 + - *501 responses: '200': description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: *501 + default: *502 '422': *7 '404': *6 x-github: @@ -81797,10 +81969,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *260 - *261 - - *496 - - *500 + - *262 + - *497 + - *501 - *17 - *19 responses: @@ -81898,9 +82070,9 @@ paths: _links: type: object properties: - self: *393 - html: *393 - pull_request: *393 + self: *394 + html: *394 + pull_request: *394 required: - self - html @@ -82051,10 +82223,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *260 - *261 - - *496 - - *500 + - *262 + - *497 + - *501 requestBody: required: true content: @@ -82083,7 +82255,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: default: value: @@ -82146,10 +82318,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *260 - *261 - - *496 - - *500 + - *262 + - *497 + - *501 requestBody: required: true content: @@ -82184,9 +82356,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: *502 + default: *503 '404': *6 '422': *7 '403': *27 @@ -82208,9 +82380,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *260 - *261 - - *496 + - *262 + - *497 requestBody: required: false content: @@ -82274,8 +82446,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *260 - *261 + - *262 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -82288,9 +82460,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *504 examples: - default: &504 + default: &505 value: type: file encoding: base64 @@ -82332,8 +82504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *260 - *261 + - *262 - name: dir description: The alternate path to look for a README file in: path @@ -82353,9 +82525,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *504 examples: - default: *504 + default: *505 '404': *6 '422': *15 x-github: @@ -82377,8 +82549,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -82388,7 +82560,7 @@ paths: application/json: schema: type: array - items: &505 + items: &506 title: Release description: A release. type: object @@ -82460,7 +82632,7 @@ paths: author: *4 assets: type: array - items: &506 + items: &507 title: Release Asset description: Data related to a release. type: object @@ -82640,8 +82812,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -82717,9 +82889,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: &509 + default: &510 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -82822,9 +82994,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *260 - *261 - - &507 + - *262 + - &508 name: asset_id description: The unique identifier of the asset. in: path @@ -82836,9 +83008,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: &508 + default: &509 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -82872,7 +83044,7 @@ paths: type: User site_admin: false '404': *6 - '302': *402 + '302': *403 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82888,9 +83060,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *260 - *261 - - *507 + - *262 + - *508 requestBody: required: false content: @@ -82919,9 +83091,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: *508 + default: *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82937,9 +83109,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *260 - *261 - - *507 + - *262 + - *508 responses: '204': description: Response @@ -82963,8 +83135,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -83050,16 +83222,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *260 - *261 + - *262 responses: '200': description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: *509 + default: *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83076,8 +83248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *260 - *261 + - *262 - name: tag description: tag parameter in: path @@ -83090,9 +83262,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: *509 + default: *510 '404': *6 x-github: githubCloudOnly: false @@ -83114,9 +83286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *260 - *261 - - &510 + - *262 + - &511 name: release_id description: The unique identifier of the release. in: path @@ -83130,9 +83302,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *505 + schema: *506 examples: - default: *509 + default: *510 '401': description: Unauthorized x-github: @@ -83150,9 +83322,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *260 - *261 - - *510 + - *262 + - *511 requestBody: required: false content: @@ -83216,9 +83388,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: *509 + default: *510 '404': description: Not Found if the discussion category name is invalid content: @@ -83239,9 +83411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *260 - *261 - - *510 + - *262 + - *511 responses: '204': description: Response @@ -83261,9 +83433,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *260 - *261 - - *510 + - *262 + - *511 - *17 - *19 responses: @@ -83273,7 +83445,7 @@ paths: application/json: schema: type: array - items: *506 + items: *507 examples: default: value: @@ -83353,9 +83525,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *260 - *261 - - *510 + - *262 + - *511 - name: name in: query required: true @@ -83381,7 +83553,7 @@ paths: description: Response for successful upload content: application/json: - schema: *506 + schema: *507 examples: response-for-successful-upload: value: @@ -83435,9 +83607,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *260 - *261 - - *510 + - *262 + - *511 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -83461,9 +83633,9 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: *255 + default: *256 headers: Link: *57 '404': *6 @@ -83484,9 +83656,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *260 - *261 - - *510 + - *262 + - *511 requestBody: required: true content: @@ -83516,16 +83688,16 @@ paths: description: Reaction exists content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 '201': description: Reaction created content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 '422': *15 x-github: githubCloudOnly: false @@ -83547,10 +83719,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *260 - *261 - - *510 - - *256 + - *262 + - *511 + - *257 responses: '204': description: Response @@ -83574,9 +83746,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *260 - *261 - - *328 + - *262 + - *329 - *17 - *19 responses: @@ -83592,8 +83764,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *511 - - &513 + - *512 + - &514 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -83613,53 +83785,53 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *512 - *513 - - allOf: - *514 - - *513 - allOf: - *515 - - *513 + - *514 - allOf: - *516 - - *513 + - *514 - allOf: - *517 - - *513 + - *514 - allOf: - *518 - - *513 + - *514 - allOf: - *519 - - *513 + - *514 - allOf: - *520 - - *513 + - *514 - allOf: - *521 - - *513 + - *514 - allOf: - *522 - - *513 + - *514 - allOf: - *523 - - *513 + - *514 - allOf: - *524 - - *513 + - *514 - allOf: - *525 - - *513 + - *514 - allOf: - *526 - - *513 + - *514 - allOf: - *527 - - *513 + - *514 - allOf: - *528 - - *513 + - *514 + - allOf: + - *529 + - *514 examples: default: value: @@ -83698,8 +83870,8 @@ paths: category: repos subcategory: rules parameters: - - *260 - *261 + - *262 - *17 - *19 - name: includes_parents @@ -83710,7 +83882,7 @@ paths: schema: type: boolean default: true - - *529 + - *530 responses: '200': description: Response @@ -83765,8 +83937,8 @@ paths: category: repos subcategory: rules parameters: - - *260 - *261 + - *262 requestBody: description: Request body required: true @@ -83828,7 +84000,7 @@ paths: application/json: schema: *225 examples: - default: &539 + default: &540 value: id: 42 name: super cool ruleset @@ -83875,12 +84047,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *260 - *261 - - *530 + - *262 - *531 - *532 - *533 + - *534 - *17 - *19 responses: @@ -83888,9 +84060,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *535 examples: - default: *535 + default: *536 '404': *6 '500': *140 x-github: @@ -83911,17 +84083,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *260 - *261 - - *536 + - *262 + - *537 responses: '200': description: Response content: application/json: - schema: *537 + schema: *538 examples: - default: *538 + default: *539 '404': *6 '500': *140 x-github: @@ -83949,8 +84121,8 @@ paths: category: repos subcategory: rules parameters: - - *260 - *261 + - *262 - name: ruleset_id description: The ID of the ruleset. in: path @@ -83972,7 +84144,7 @@ paths: application/json: schema: *225 examples: - default: *539 + default: *540 '404': *6 '500': *140 put: @@ -83990,8 +84162,8 @@ paths: category: repos subcategory: rules parameters: - - *260 - *261 + - *262 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84055,7 +84227,7 @@ paths: application/json: schema: *225 examples: - default: *539 + default: *540 '404': *6 '500': *140 delete: @@ -84073,8 +84245,8 @@ paths: category: repos subcategory: rules parameters: - - *260 - *261 + - *262 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84086,6 +84258,113 @@ paths: description: Response '404': *6 '500': *140 + "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": + get: + summary: Get repository ruleset history + description: Get the history of a repository ruleset. + tags: + - repos + operationId: repos/get-repo-ruleset-history + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history + parameters: + - *261 + - *262 + - *17 + - *19 + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *227 + examples: + default: *541 + '404': *6 + '500': *140 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: rules + "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}": + get: + summary: Get repository ruleset version + description: Get a version of a repository ruleset. + tags: + - repos + operationId: repos/get-repo-ruleset-version + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version + parameters: + - *261 + - *262 + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + - name: version_id + description: The ID of the version + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: *542 + examples: + default: + value: + - version_id: 3 + actor: + id: 1 + type: User + updated_at: 2024-010-23T16:29:47Z + state: + id: 42 + name: super cool ruleset + target: branch + source_type: Repository + source: monalisa/my-repo + enforcement: active + bypass_actors: + - actor_id: 234 + actor_type: Team + bypass_mode: always + conditions: + ref_name: + include: + - refs/heads/main + - refs/heads/master + exclude: + - refs/heads/dev* + rules: + - type: commit_author_email_pattern + parameters: + operator: contains + pattern: github + '404': *6 + '500': *140 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: rules "/repos/{owner}/{repo}/secret-scanning/alerts": get: summary: List secret scanning alerts for a repository @@ -84102,20 +84381,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *260 - *261 - - *227 + - *262 - *228 - *229 - *230 + - *231 - *46 - *19 - *17 - - *540 - - *541 - - *231 + - *543 + - *544 - *232 - *233 + - *234 responses: '200': description: Response @@ -84123,7 +84402,7 @@ paths: application/json: schema: type: array - items: &544 + items: &547 type: object properties: number: *52 @@ -84139,8 +84418,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *542 - resolution: *543 + state: *545 + resolution: *546 resolved_at: type: - string @@ -84353,15 +84632,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *260 - *261 - - *359 + - *262 + - *360 responses: '200': description: Response content: application/json: - schema: *544 + schema: *547 examples: default: value: @@ -84413,9 +84692,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *260 - *261 - - *359 + - *262 + - *360 requestBody: required: true content: @@ -84423,8 +84702,8 @@ paths: schema: type: object properties: - state: *542 - resolution: *543 + state: *545 + resolution: *546 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -84443,7 +84722,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *547 examples: default: value: @@ -84518,9 +84797,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *260 - *261 - - *359 + - *262 + - *360 - *19 - *17 responses: @@ -84531,7 +84810,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &673 + items: &676 type: object properties: type: @@ -84910,8 +85189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -84919,14 +85198,14 @@ paths: schema: type: object properties: - reason: &546 + reason: &549 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *545 + placeholder_id: *548 required: - reason - placeholder_id @@ -84943,7 +85222,7 @@ paths: schema: type: object properties: - reason: *546 + reason: *549 expire_at: type: - string @@ -84987,8 +85266,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: - - *260 - *261 + - *262 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -85003,7 +85282,7 @@ paths: properties: incremental_scans: type: array - items: &547 + items: &550 description: Information on a single scan performed by secret scanning on the repository type: object @@ -85031,15 +85310,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *547 + items: *550 backfill_scans: type: array - items: *547 + items: *550 custom_pattern_backfill_scans: type: array items: allOf: - - *547 + - *550 - type: object properties: pattern_name: @@ -85109,8 +85388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *260 - *261 + - *262 - *46 - name: sort description: The property to sort the results by. @@ -85154,9 +85433,9 @@ paths: application/json: schema: type: array - items: *548 + items: *551 examples: - default: *549 + default: *552 '400': *14 '404': *6 x-github: @@ -85179,8 +85458,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -85260,7 +85539,7 @@ paths: login: type: string description: The username of the user credited. - type: *236 + type: *237 required: - login - type @@ -85350,9 +85629,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *551 examples: - default: &551 + default: &554 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -85585,8 +85864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -85699,7 +85978,7 @@ paths: description: Response content: application/json: - schema: *548 + schema: *551 examples: default: value: @@ -85846,17 +86125,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *260 - *261 - - *550 + - *262 + - *553 responses: '200': description: Response content: application/json: - schema: *548 + schema: *551 examples: - default: *551 + default: *554 '403': *27 '404': *6 x-github: @@ -85880,9 +86159,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *260 - *261 - - *550 + - *262 + - *553 requestBody: required: true content: @@ -85962,7 +86241,7 @@ paths: login: type: string description: The username of the user credited. - type: *236 + type: *237 required: - login - type @@ -86053,10 +86332,10 @@ paths: description: Response content: application/json: - schema: *548 + schema: *551 examples: - default: *551 - add_credit: *551 + default: *554 + add_credit: *554 '403': *27 '404': *6 '422': @@ -86094,9 +86373,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *260 - *261 - - *550 + - *262 + - *553 responses: '202': *45 '400': *14 @@ -86123,17 +86402,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *260 - *261 - - *550 + - *262 + - *553 responses: '202': description: Response content: application/json: - schema: *271 + schema: *272 examples: - default: *273 + default: *274 '400': *14 '422': *15 '403': *27 @@ -86159,8 +86438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -86256,8 +86535,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *260 - *261 + - *262 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -86266,7 +86545,7 @@ paths: application/json: schema: type: array - items: &552 + items: &555 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -86299,8 +86578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -86378,8 +86657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -86473,8 +86752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *260 - *261 + - *262 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -86628,8 +86907,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *260 - *261 + - *262 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -86639,7 +86918,7 @@ paths: application/json: schema: type: array - items: *552 + items: *555 examples: default: value: @@ -86672,8 +86951,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *260 - *261 + - *262 - name: sha in: path required: true @@ -86729,7 +87008,7 @@ paths: description: Response content: application/json: - schema: *553 + schema: *556 examples: default: value: @@ -86783,8 +87062,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -86816,14 +87095,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *260 - *261 + - *262 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &554 + schema: &557 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -86896,8 +87175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *260 - *261 + - *262 requestBody: required: false content: @@ -86923,7 +87202,7 @@ paths: description: Response content: application/json: - schema: *554 + schema: *557 examples: default: value: @@ -86950,8 +87229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *260 - *261 + - *262 responses: '204': description: Response @@ -86971,8 +87250,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -87054,8 +87333,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -87063,7 +87342,7 @@ paths: application/json: schema: type: array - items: &555 + items: &558 title: Tag protection description: Tag protection type: object @@ -87120,8 +87399,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: - - *260 - *261 + - *262 requestBody: required: true content: @@ -87144,7 +87423,7 @@ paths: description: Response content: application/json: - schema: *555 + schema: *558 examples: default: value: @@ -87175,8 +87454,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: - - *260 - *261 + - *262 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -87213,8 +87492,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *260 - *261 + - *262 - name: ref in: path required: true @@ -87250,8 +87529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -87283,8 +87562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *260 - *261 + - *262 - *19 - *17 responses: @@ -87292,7 +87571,7 @@ paths: description: Response content: application/json: - schema: &556 + schema: &559 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -87304,7 +87583,7 @@ paths: required: - names examples: - default: &557 + default: &560 value: names: - octocat @@ -87327,8 +87606,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -87359,9 +87638,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *559 examples: - default: *557 + default: *560 '404': *6 '422': *7 x-github: @@ -87382,9 +87661,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *260 - *261 - - &558 + - *262 + - &561 name: per description: The time frame to display results for. in: query @@ -87415,7 +87694,7 @@ paths: - 128 clones: type: array - items: &559 + items: &562 title: Traffic type: object properties: @@ -87502,8 +87781,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -87597,8 +87876,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -87661,9 +87940,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *260 - *261 - - *558 + - *262 + - *561 responses: '200': description: Response @@ -87684,7 +87963,7 @@ paths: - 3782 views: type: array - items: *559 + items: *562 required: - uniques - count @@ -87761,8 +88040,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -88036,8 +88315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *260 - *261 + - *262 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -88060,8 +88339,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *260 - *261 + - *262 responses: '204': description: Response @@ -88083,8 +88362,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *260 - *261 + - *262 responses: '204': description: Response @@ -88110,8 +88389,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *260 - *261 + - *262 - name: ref in: path required: true @@ -88203,9 +88482,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *272 examples: - default: *273 + default: *274 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -88454,7 +88733,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &560 + text_matches: &563 title: Search Result Text Matches type: array items: @@ -88617,7 +88896,7 @@ paths: enum: - author-date - committer-date - - &561 + - &564 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -88686,7 +88965,7 @@ paths: committer: anyOf: - type: 'null' - - *326 + - *327 comment_count: type: integer message: @@ -88705,7 +88984,7 @@ paths: url: type: string format: uri - verification: *437 + verification: *438 required: - author - committer @@ -88720,7 +88999,7 @@ paths: committer: anyOf: - type: 'null' - - *326 + - *327 parents: type: array items: @@ -88737,7 +89016,7 @@ paths: type: number node_id: type: string - text_matches: *560 + text_matches: *563 required: - sha - node_id @@ -88929,7 +89208,7 @@ paths: - interactions - created - updated - - *561 + - *564 - *17 - *19 responses: @@ -89045,7 +89324,7 @@ paths: milestone: anyOf: - type: 'null' - - *392 + - *393 comments: type: integer created_at: @@ -89059,7 +89338,7 @@ paths: - string - 'null' format: date-time - text_matches: *560 + text_matches: *563 pull_request: type: object properties: @@ -89281,7 +89560,7 @@ paths: enum: - created - updated - - *561 + - *564 - *17 - *19 responses: @@ -89326,7 +89605,7 @@ paths: - 'null' score: type: number - text_matches: *560 + text_matches: *563 required: - id - node_id @@ -89411,7 +89690,7 @@ paths: - forks - help-wanted-issues - updated - - *561 + - *564 - *17 - *19 responses: @@ -89648,7 +89927,7 @@ paths: - admin - pull - push - text_matches: *560 + text_matches: *563 temp_clone_token: type: string allow_merge_commit: @@ -89956,7 +90235,7 @@ paths: - string - 'null' format: uri - text_matches: *560 + text_matches: *563 related: type: - array @@ -90149,7 +90428,7 @@ paths: - followers - repositories - joined - - *561 + - *564 - *17 - *19 responses: @@ -90259,7 +90538,7 @@ paths: type: - boolean - 'null' - text_matches: *560 + text_matches: *563 blog: type: - string @@ -90341,7 +90620,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &562 + - &565 name: team_id description: The unique identifier of the team. in: path @@ -90353,9 +90632,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *246 examples: - default: *246 + default: *247 '404': *6 x-github: githubCloudOnly: false @@ -90382,7 +90661,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *562 + - *565 requestBody: required: true content: @@ -90446,16 +90725,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *245 + schema: *246 examples: - default: *246 + default: *247 '201': description: Response content: application/json: - schema: *245 + schema: *246 examples: - default: *246 + default: *247 '404': *6 '422': *15 '403': *27 @@ -90483,7 +90762,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *562 + - *565 responses: '204': description: Response @@ -90514,7 +90793,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *562 + - *565 - *46 - *17 - *19 @@ -90525,9 +90804,9 @@ paths: application/json: schema: type: array - items: *247 + items: *248 examples: - default: *563 + default: *566 headers: Link: *57 x-github: @@ -90556,7 +90835,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *562 + - *565 requestBody: required: true content: @@ -90590,9 +90869,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 x-github: triggersNotification: true githubCloudOnly: false @@ -90619,16 +90898,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *562 - - *249 + - *565 + - *250 responses: '200': description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90653,8 +90932,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *562 - - *249 + - *565 + - *250 requestBody: required: false content: @@ -90677,9 +90956,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *564 + default: *567 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90704,8 +90983,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *562 - - *249 + - *565 + - *250 responses: '204': description: Response @@ -90734,8 +91013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *562 - - *249 + - *565 + - *250 - *46 - *17 - *19 @@ -90746,9 +91025,9 @@ paths: application/json: schema: type: array - items: *250 + items: *251 examples: - default: *565 + default: *568 headers: Link: *57 x-github: @@ -90777,8 +91056,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *562 - - *249 + - *565 + - *250 requestBody: required: true content: @@ -90800,9 +91079,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 x-github: triggersNotification: true githubCloudOnly: false @@ -90829,17 +91108,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *562 - - *249 - - *252 + - *565 + - *250 + - *253 responses: '200': description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90864,9 +91143,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *562 - - *249 - - *252 + - *565 + - *250 + - *253 requestBody: required: true content: @@ -90888,9 +91167,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *566 + default: *569 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90915,9 +91194,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *562 - - *249 - - *252 + - *565 + - *250 + - *253 responses: '204': description: Response @@ -90946,9 +91225,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *562 - - *249 - - *252 + - *565 + - *250 + - *253 - 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. @@ -90974,9 +91253,9 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: *255 + default: *256 headers: Link: *57 x-github: @@ -91005,9 +91284,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *562 - - *249 - - *252 + - *565 + - *250 + - *253 requestBody: required: true content: @@ -91039,9 +91318,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91067,8 +91346,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *562 - - *249 + - *565 + - *250 - 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. @@ -91094,9 +91373,9 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: *255 + default: *256 headers: Link: *57 x-github: @@ -91125,8 +91404,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *562 - - *249 + - *565 + - *250 requestBody: required: true content: @@ -91158,9 +91437,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -91184,7 +91463,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *562 + - *565 - *17 - *19 responses: @@ -91222,7 +91501,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *562 + - *565 - name: role description: Filters members returned by their role in the team. in: query @@ -91273,7 +91552,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *562 + - *565 - *128 responses: '204': @@ -91310,7 +91589,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *562 + - *565 - *128 responses: '204': @@ -91350,7 +91629,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *562 + - *565 - *128 responses: '204': @@ -91387,16 +91666,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *562 + - *565 - *128 responses: '200': description: Response content: application/json: - schema: *257 + schema: *258 examples: - response-if-user-is-a-team-maintainer: *567 + response-if-user-is-a-team-maintainer: *570 '404': *6 x-github: githubCloudOnly: false @@ -91429,7 +91708,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *562 + - *565 - *128 requestBody: required: false @@ -91455,9 +91734,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *258 examples: - response-if-users-membership-with-team-is-now-pending: *568 + response-if-users-membership-with-team-is-now-pending: *571 '403': description: Forbidden if team synchronization is set up '422': @@ -91491,7 +91770,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *562 + - *565 - *128 responses: '204': @@ -91521,7 +91800,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *562 + - *565 - *17 - *19 responses: @@ -91531,9 +91810,9 @@ paths: application/json: schema: type: array - items: *258 + items: *259 examples: - default: *569 + default: *572 headers: Link: *57 '404': *6 @@ -91560,16 +91839,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *562 - - *259 + - *565 + - *260 responses: '200': description: Response content: application/json: - schema: *258 + schema: *259 examples: - default: *570 + default: *573 '404': description: Not Found if project is not managed by this team x-github: @@ -91594,8 +91873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *562 - - *259 + - *565 + - *260 requestBody: required: false content: @@ -91663,8 +91942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *562 - - *259 + - *565 + - *260 responses: '204': description: Response @@ -91691,7 +91970,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *562 + - *565 - *17 - *19 responses: @@ -91733,15 +92012,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *562 - - *260 + - *565 - *261 + - *262 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *571 + schema: *574 examples: alternative-response-with-extra-repository-information: value: @@ -91892,9 +92171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *562 - - *260 + - *565 - *261 + - *262 requestBody: required: false content: @@ -91944,9 +92223,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *562 - - *260 + - *565 - *261 + - *262 responses: '204': description: Response @@ -91971,7 +92250,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *562 + - *565 - *17 - *19 responses: @@ -91983,7 +92262,7 @@ paths: type: array items: *180 examples: - response-if-child-teams-exist: *572 + response-if-child-teams-exist: *575 headers: Link: *57 '404': *6 @@ -92016,7 +92295,7 @@ paths: application/json: schema: oneOf: - - &574 + - &577 title: Private User description: Private User type: object @@ -92266,7 +92545,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *573 + - *576 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -92426,7 +92705,7 @@ paths: description: Response content: application/json: - schema: *574 + schema: *577 examples: default: value: @@ -92772,7 +93051,7 @@ paths: application/json: schema: *184 examples: - default: *379 + default: *380 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -92780,7 +93059,7 @@ paths: application/json: schema: *184 examples: - default: *379 + default: *380 '401': *23 '403': *27 '404': *6 @@ -92824,7 +93103,7 @@ paths: type: integer secrets: type: array - items: &575 + items: &578 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -92866,7 +93145,7 @@ paths: - visibility - selected_repositories_url examples: - default: *381 + default: *382 headers: Link: *57 x-github: @@ -92944,7 +93223,7 @@ paths: description: Response content: application/json: - schema: *575 + schema: *578 examples: default: value: @@ -93090,7 +93369,7 @@ paths: type: array items: *115 examples: - default: *576 + default: *579 '401': *23 '403': *27 '404': *6 @@ -93242,7 +93521,7 @@ paths: application/json: schema: *184 examples: - default: *379 + default: *380 '304': *35 '500': *140 '401': *23 @@ -93300,7 +93579,7 @@ paths: application/json: schema: *184 examples: - default: *379 + default: *380 '401': *23 '403': *27 '404': *6 @@ -93357,7 +93636,7 @@ paths: description: Response content: application/json: - schema: &577 + schema: &580 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -93410,7 +93689,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &578 + default: &581 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -93455,9 +93734,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *580 examples: - default: *578 + default: *581 '404': *6 x-github: githubCloudOnly: false @@ -93494,9 +93773,9 @@ paths: type: integer machines: type: array - items: *380 + items: *381 examples: - default: *579 + default: *582 '304': *35 '500': *140 '401': *23 @@ -93581,11 +93860,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *271 + repository: *272 machine: anyOf: - type: 'null' - - *380 + - *381 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -94390,7 +94669,7 @@ paths: application/json: schema: *184 examples: - default: *379 + default: *380 '304': *35 '500': *140 '400': *14 @@ -94430,7 +94709,7 @@ paths: application/json: schema: *184 examples: - default: *379 + default: *380 '500': *140 '401': *23 '403': *27 @@ -94462,7 +94741,7 @@ paths: type: array items: *197 examples: - default: &592 + default: &595 value: - id: 197 name: hello_docker @@ -94563,7 +94842,7 @@ paths: application/json: schema: type: array - items: &580 + items: &583 title: Email description: Email type: object @@ -94633,9 +94912,9 @@ paths: application/json: schema: type: array - items: *580 + items: *583 examples: - default: &594 + default: &597 value: - email: octocat@github.com verified: true @@ -94712,7 +94991,7 @@ paths: application/json: schema: type: array - items: *580 + items: *583 examples: default: value: @@ -94970,7 +95249,7 @@ paths: application/json: schema: type: array - items: &581 + items: &584 title: GPG Key description: A unique encryption key type: object @@ -95115,7 +95394,7 @@ paths: - subkeys - revoked examples: - default: &605 + default: &608 value: - id: 3 name: Octocat's GPG Key @@ -95200,9 +95479,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *584 examples: - default: &582 + default: &585 value: id: 3 name: Octocat's GPG Key @@ -95259,7 +95538,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &583 + - &586 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -95271,9 +95550,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *584 examples: - default: *582 + default: *585 '404': *6 '304': *35 '403': *27 @@ -95296,7 +95575,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *583 + - *586 responses: '204': description: Response @@ -95487,7 +95766,7 @@ paths: type: array items: *59 examples: - default: *584 + default: *587 headers: Link: *57 '404': *6 @@ -95601,7 +95880,7 @@ paths: required: true content: application/json: - schema: *448 + schema: *449 examples: default: value: @@ -95751,7 +96030,7 @@ paths: application/json: schema: type: array - items: &585 + items: &588 title: Key description: Key type: object @@ -95849,9 +96128,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *588 examples: - default: &586 + default: &589 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -95884,15 +96163,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *475 + - *476 responses: '200': description: Response content: application/json: - schema: *585 + schema: *588 examples: - default: *586 + default: *589 '404': *6 '304': *35 '403': *27 @@ -95915,7 +96194,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *475 + - *476 responses: '204': description: Response @@ -95948,7 +96227,7 @@ paths: application/json: schema: type: array - items: &587 + items: &590 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -96027,7 +96306,7 @@ paths: - account - plan examples: - default: &588 + default: &591 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -96089,9 +96368,9 @@ paths: application/json: schema: type: array - items: *587 + items: *590 examples: - default: *588 + default: *591 headers: Link: *57 '304': *35 @@ -97095,7 +97374,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *191 - - *589 + - *592 responses: '204': description: Response @@ -97168,7 +97447,7 @@ paths: type: array items: *142 examples: - default: *590 + default: *593 headers: Link: *57 '304': *35 @@ -97210,7 +97489,7 @@ paths: - docker - nuget - container - - *591 + - *594 - *19 - *17 responses: @@ -97222,8 +97501,8 @@ paths: type: array items: *197 examples: - default: *592 - '400': *593 + default: *595 + '400': *596 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97252,7 +97531,7 @@ paths: application/json: schema: *197 examples: - default: &606 + default: &609 value: id: 40201 name: octo-name @@ -97707,9 +97986,9 @@ paths: application/json: schema: type: array - items: *580 + items: *583 examples: - default: *594 + default: *597 headers: Link: *57 '304': *35 @@ -97822,7 +98101,7 @@ paths: type: array items: *59 examples: - default: &601 + default: &604 summary: Default response value: - id: 1296269 @@ -98138,9 +98417,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *272 examples: - default: *273 + default: *274 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -98178,9 +98457,9 @@ paths: application/json: schema: type: array - items: *450 + items: *451 examples: - default: *595 + default: *598 headers: Link: *57 '304': *35 @@ -98259,7 +98538,7 @@ paths: application/json: schema: type: array - items: &596 + items: &599 title: Social account description: Social media account type: object @@ -98276,7 +98555,7 @@ paths: - provider - url examples: - default: &597 + default: &600 value: - provider: twitter url: https://twitter.com/github @@ -98339,9 +98618,9 @@ paths: application/json: schema: type: array - items: *596 + items: *599 examples: - default: *597 + default: *600 '422': *15 '304': *35 '404': *6 @@ -98429,7 +98708,7 @@ paths: application/json: schema: type: array - items: &598 + items: &601 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -98449,7 +98728,7 @@ paths: - title - created_at examples: - default: &613 + default: &616 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -98516,9 +98795,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *601 examples: - default: &599 + default: &602 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -98549,7 +98828,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &600 + - &603 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -98561,9 +98840,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *601 examples: - default: *599 + default: *602 '404': *6 '304': *35 '403': *27 @@ -98586,7 +98865,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *600 + - *603 responses: '204': description: Response @@ -98615,7 +98894,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &614 + - &617 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -98640,11 +98919,11 @@ paths: type: array items: *59 examples: - default-response: *601 + default-response: *604 application/vnd.github.v3.star+json: schema: type: array - items: &615 + items: &618 title: Starred Repository description: Starred Repository type: object @@ -98800,8 +99079,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: - - *260 - *261 + - *262 responses: '204': description: Response if this repository is starred by you @@ -98829,8 +99108,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *260 - *261 + - *262 responses: '204': description: Response @@ -98854,8 +99133,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *260 - *261 + - *262 responses: '204': description: Response @@ -98927,7 +99206,7 @@ paths: application/json: schema: type: array - items: *245 + items: *246 examples: default: value: @@ -99013,10 +99292,10 @@ paths: application/json: schema: oneOf: - - *574 - - *573 + - *577 + - *576 examples: - default-response: &603 + default-response: &606 summary: Default response value: login: octocat @@ -99051,7 +99330,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &604 + response-with-git-hub-plan-information: &607 summary: Response with GitHub plan information value: login: octocat @@ -99111,7 +99390,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *602 + - *605 - *17 responses: '200': @@ -99160,11 +99439,11 @@ paths: application/json: schema: oneOf: - - *574 - - *573 + - *577 + - *576 examples: - default-response: *603 - response-with-git-hub-plan-information: *604 + default-response: *606 + response-with-git-hub-plan-information: *607 '404': *6 x-github: githubCloudOnly: false @@ -99330,7 +99609,7 @@ paths: type: array items: *197 examples: - default: *592 + default: *595 '403': *27 '401': *23 x-github: @@ -99734,9 +100013,9 @@ paths: application/json: schema: type: array - items: *581 + items: *584 examples: - default: *605 + default: *608 headers: Link: *57 x-github: @@ -99840,7 +100119,7 @@ paths: application/json: schema: *20 examples: - default: *447 + default: *448 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99918,7 +100197,7 @@ paths: type: array items: *142 examples: - default: *590 + default: *593 headers: Link: *57 x-github: @@ -99957,7 +100236,7 @@ paths: - docker - nuget - container - - *591 + - *594 - *128 - *19 - *17 @@ -99970,10 +100249,10 @@ paths: type: array items: *197 examples: - default: *592 + default: *595 '403': *27 '401': *23 - '400': *593 + '400': *596 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100003,7 +100282,7 @@ paths: application/json: schema: *197 examples: - default: *606 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100602,9 +100881,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *610 examples: - default: *608 + default: *611 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100632,9 +100911,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *612 examples: - default: *610 + default: *613 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100662,9 +100941,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *614 examples: - default: *612 + default: *615 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100692,9 +100971,9 @@ paths: application/json: schema: type: array - items: *596 + items: *599 examples: - default: *597 + default: *600 headers: Link: *57 x-github: @@ -100724,9 +101003,9 @@ paths: application/json: schema: type: array - items: *598 + items: *601 examples: - default: *613 + default: *616 headers: Link: *57 x-github: @@ -100751,7 +101030,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *128 - - *614 + - *617 - *46 - *17 - *19 @@ -100763,11 +101042,11 @@ paths: schema: anyOf: - type: array - items: *615 + items: *618 - type: array items: *59 examples: - default-response: *601 + default-response: *604 headers: Link: *57 x-github: @@ -100927,7 +101206,7 @@ webhooks: type: string enum: - disabled - enterprise: &616 + enterprise: &619 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -100996,7 +101275,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &617 + installation: &620 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -101017,7 +101296,7 @@ webhooks: required: - id - node_id - organization: &618 + organization: &621 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -101090,7 +101369,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &619 + repository: &622 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -102003,10 +102282,10 @@ webhooks: type: string enum: - enabled - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -102082,11 +102361,11 @@ webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - rule: &620 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 + rule: &623 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -102309,11 +102588,11 @@ webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - rule: *620 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 + rule: *623 sender: *4 required: - action @@ -102501,11 +102780,11 @@ webhooks: - everyone required: - from - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - rule: *620 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 + rule: *623 sender: *4 required: - action @@ -102589,7 +102868,7 @@ webhooks: type: string enum: - completed - check_run: &622 + check_run: &625 title: CheckRun description: A check performed on the code of a given code change type: object @@ -102657,7 +102936,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *339 + items: *340 repository: *115 status: type: string @@ -102702,7 +102981,7 @@ webhooks: - examples: - neutral - deployment: *621 + deployment: *624 details_url: type: string examples: @@ -102762,7 +103041,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *339 + items: *340 started_at: type: string format: date-time @@ -102800,9 +103079,9 @@ webhooks: - output - app - pull_requests - installation: *617 - organization: *618 - repository: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - check_run @@ -103195,10 +103474,10 @@ webhooks: type: string enum: - created - check_run: *622 - installation: *617 - organization: *618 - repository: *619 + check_run: *625 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - check_run @@ -103594,10 +103873,10 @@ webhooks: type: string enum: - requested_action - check_run: *622 - installation: *617 - organization: *618 - repository: *619 + check_run: *625 + installation: *620 + organization: *621 + repository: *622 requested_action: description: The action requested by the user. type: object @@ -104002,10 +104281,10 @@ webhooks: type: string enum: - rerequested - check_run: *622 - installation: *617 - organization: *618 - repository: *619 + check_run: *625 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - check_run @@ -104997,10 +105276,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -105685,10 +105964,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -106367,10 +106646,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -106536,7 +106815,7 @@ webhooks: required: - login - id - dismissed_comment: *354 + dismissed_comment: *355 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -106688,20 +106967,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &623 + commit_oid: &626 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *616 - installation: *617 - organization: *618 - ref: &624 + enterprise: *619 + installation: *620 + organization: *621 + ref: &627 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *619 + repository: *622 sender: *4 required: - action @@ -106865,7 +107144,7 @@ webhooks: required: - login - id - dismissed_comment: *354 + dismissed_comment: *355 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -107035,12 +107314,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *623 - enterprise: *616 - installation: *617 - organization: *618 - ref: *624 - repository: *619 + commit_oid: *626 + enterprise: *619 + installation: *620 + organization: *621 + ref: *627 + repository: *622 sender: *4 required: - action @@ -107138,7 +107417,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *354 + dismissed_comment: *355 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -107317,12 +107596,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *623 - enterprise: *616 - installation: *617 - organization: *618 - ref: *624 - repository: *619 + commit_oid: *626 + enterprise: *619 + installation: *620 + organization: *621 + ref: *627 + repository: *622 sender: *4 required: - action @@ -107488,7 +107767,7 @@ webhooks: required: - login - id - dismissed_comment: *354 + dismissed_comment: *355 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -107665,12 +107944,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *623 - enterprise: *616 - installation: *617 - organization: *618 - ref: *624 - repository: *619 + commit_oid: *626 + enterprise: *619 + installation: *620 + organization: *621 + ref: *627 + repository: *622 sender: *4 required: - action @@ -107770,7 +108049,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *354 + dismissed_comment: *355 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -107950,9 +108229,9 @@ webhooks: type: - string - 'null' - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -107960,7 +108239,7 @@ webhooks: type: - string - 'null' - repository: *619 + repository: *622 sender: *4 required: - action @@ -108056,7 +108335,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *354 + dismissed_comment: *355 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -108203,12 +108482,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *623 - enterprise: *616 - installation: *617 - organization: *618 - ref: *624 - repository: *619 + commit_oid: *626 + enterprise: *619 + installation: *620 + organization: *621 + ref: *627 + repository: *622 sender: *4 required: - action @@ -108470,10 +108749,10 @@ webhooks: - updated_at - author_association - body - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -108554,18 +108833,18 @@ webhooks: type: - string - 'null' - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *618 - pusher_type: &625 + organization: *621 + pusher_type: &628 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &626 + ref: &629 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -108575,7 +108854,7 @@ webhooks: enum: - tag - branch - repository: *619 + repository: *622 sender: *4 required: - ref @@ -108658,9 +108937,9 @@ webhooks: enum: - created definition: *213 - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 sender: *4 required: - action @@ -108745,9 +109024,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 sender: *4 required: - action @@ -108825,9 +109104,9 @@ webhooks: enum: - updated definition: *213 - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 sender: *4 required: - action @@ -108904,10 +109183,10 @@ webhooks: type: string enum: - updated - enterprise: *616 - installation: *617 - repository: *619 - organization: *618 + enterprise: *619 + installation: *620 + repository: *622 + organization: *621 sender: *4 new_property_values: type: array @@ -108992,18 +109271,18 @@ webhooks: title: delete event type: object properties: - enterprise: *616 - installation: *617 - organization: *618 - pusher_type: *625 - ref: *626 + enterprise: *619 + installation: *620 + organization: *621 + pusher_type: *628 + ref: *629 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *619 + repository: *622 sender: *4 required: - ref @@ -109087,11 +109366,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *406 - installation: *617 - organization: *618 - enterprise: *616 - repository: *619 + alert: *407 + installation: *620 + organization: *621 + enterprise: *619 + repository: *622 sender: *4 required: - action @@ -109175,11 +109454,11 @@ webhooks: type: string enum: - auto_reopened - alert: *406 - installation: *617 - organization: *618 - enterprise: *616 - repository: *619 + alert: *407 + installation: *620 + organization: *621 + enterprise: *619 + repository: *622 sender: *4 required: - action @@ -109263,11 +109542,11 @@ webhooks: type: string enum: - created - alert: *406 - installation: *617 - organization: *618 - enterprise: *616 - repository: *619 + alert: *407 + installation: *620 + organization: *621 + enterprise: *619 + repository: *622 sender: *4 required: - action @@ -109349,11 +109628,11 @@ webhooks: type: string enum: - dismissed - alert: *406 - installation: *617 - organization: *618 - enterprise: *616 - repository: *619 + alert: *407 + installation: *620 + organization: *621 + enterprise: *619 + repository: *622 sender: *4 required: - action @@ -109435,11 +109714,11 @@ webhooks: type: string enum: - fixed - alert: *406 - installation: *617 - organization: *618 - enterprise: *616 - repository: *619 + alert: *407 + installation: *620 + organization: *621 + enterprise: *619 + repository: *622 sender: *4 required: - action @@ -109522,11 +109801,11 @@ webhooks: type: string enum: - reintroduced - alert: *406 - installation: *617 - organization: *618 - enterprise: *616 - repository: *619 + alert: *407 + installation: *620 + organization: *621 + enterprise: *619 + repository: *622 sender: *4 required: - action @@ -109608,11 +109887,11 @@ webhooks: type: string enum: - reopened - alert: *406 - installation: *617 - organization: *618 - enterprise: *616 - repository: *619 + alert: *407 + installation: *620 + organization: *621 + enterprise: *619 + repository: *622 sender: *4 required: - action @@ -109689,9 +109968,9 @@ webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - key: &627 + enterprise: *619 + installation: *620 + key: &630 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -109729,8 +110008,8 @@ webhooks: - verified - created_at - read_only - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -109807,11 +110086,11 @@ webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - key: *627 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + key: *630 + organization: *621 + repository: *622 sender: *4 required: - action @@ -110383,12 +110662,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 - workflow: &631 + workflow: &634 title: Workflow type: - object @@ -111126,13 +111405,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *412 + deployment: *413 pull_requests: type: array - items: *494 - repository: *619 - organization: *618 - installation: *617 + items: *495 + repository: *622 + organization: *621 + installation: *620 sender: *4 responses: '200': @@ -111203,7 +111482,7 @@ webhooks: type: string enum: - approved - approver: &628 + approver: &631 type: object properties: avatar_url: @@ -111246,11 +111525,11 @@ webhooks: type: string comment: type: string - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - reviewers: &629 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 + reviewers: &632 type: array items: type: object @@ -111331,7 +111610,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &630 + workflow_job_run: &633 type: object properties: conclusion: @@ -112077,18 +112356,18 @@ webhooks: type: string enum: - rejected - approver: *628 + approver: *631 comment: type: string - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - reviewers: *629 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 + reviewers: *632 sender: *4 since: type: string - workflow_job_run: *630 + workflow_job_run: *633 workflow_job_runs: type: array items: @@ -112805,13 +113084,13 @@ webhooks: type: string enum: - requested - enterprise: *616 + enterprise: *619 environment: type: string - installation: *617 - organization: *618 - repository: *619 - requestor: &636 + installation: *620 + organization: *621 + repository: *622 + requestor: &639 title: User type: - object @@ -114754,12 +115033,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 - workflow: *631 + workflow: *634 workflow_run: title: Deployment Workflow Run type: @@ -115450,7 +115729,7 @@ webhooks: type: string enum: - answered - answer: &634 + answer: &637 type: object properties: author_association: @@ -115610,7 +115889,7 @@ webhooks: - created_at - updated_at - body - discussion: &632 + discussion: &635 title: Discussion description: A Discussion in a repository. type: object @@ -115906,7 +116185,7 @@ webhooks: - id labels: type: array - items: *457 + items: *458 required: - repository_url - category @@ -115928,10 +116207,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -116058,11 +116337,11 @@ webhooks: - from required: - category - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *635 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -116145,11 +116424,11 @@ webhooks: type: string enum: - closed - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *635 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -116231,7 +116510,7 @@ webhooks: type: string enum: - created - comment: &633 + comment: &636 type: object properties: author_association: @@ -116391,11 +116670,11 @@ webhooks: - updated_at - body - reactions - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *635 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -116478,12 +116757,12 @@ webhooks: type: string enum: - deleted - comment: *633 - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + comment: *636 + discussion: *635 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -116578,12 +116857,12 @@ webhooks: - from required: - body - comment: *633 - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + comment: *636 + discussion: *635 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -116667,11 +116946,11 @@ webhooks: type: string enum: - created - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *635 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -116753,11 +117032,11 @@ webhooks: type: string enum: - deleted - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *635 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -116857,11 +117136,11 @@ webhooks: type: string required: - from - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *635 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -116943,10 +117222,10 @@ webhooks: type: string enum: - labeled - discussion: *632 - enterprise: *616 - installation: *617 - label: &635 + discussion: *635 + enterprise: *619 + installation: *620 + label: &638 title: Label type: object properties: @@ -116979,8 +117258,8 @@ webhooks: - color - default - description - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -117063,11 +117342,11 @@ webhooks: type: string enum: - locked - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *635 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -117149,11 +117428,11 @@ webhooks: type: string enum: - pinned - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *635 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -117235,11 +117514,11 @@ webhooks: type: string enum: - reopened - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *635 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -117324,16 +117603,16 @@ webhooks: changes: type: object properties: - new_discussion: *632 - new_repository: *619 + new_discussion: *635 + new_repository: *622 required: - new_discussion - new_repository - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *635 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -117416,10 +117695,10 @@ webhooks: type: string enum: - unanswered - discussion: *632 - old_answer: *634 - organization: *618 - repository: *619 + discussion: *635 + old_answer: *637 + organization: *621 + repository: *622 sender: *4 required: - action @@ -117501,12 +117780,12 @@ webhooks: type: string enum: - unlabeled - discussion: *632 - enterprise: *616 - installation: *617 - label: *635 - organization: *618 - repository: *619 + discussion: *635 + enterprise: *619 + installation: *620 + label: *638 + organization: *621 + repository: *622 sender: *4 required: - action @@ -117589,11 +117868,11 @@ webhooks: type: string enum: - unlocked - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *635 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -117675,11 +117954,11 @@ webhooks: type: string enum: - unpinned - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *635 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -117752,7 +118031,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *616 + enterprise: *619 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -118430,9 +118709,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *617 - organization: *618 - repository: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - forkee @@ -118578,9 +118857,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 pages: description: The pages that were updated. type: array @@ -118618,7 +118897,7 @@ webhooks: - action - sha - html_url - repository: *619 + repository: *622 sender: *4 required: - pages @@ -118694,10 +118973,10 @@ webhooks: type: string enum: - created - enterprise: *616 + enterprise: *619 installation: *20 - organization: *618 - repositories: &637 + organization: *621 + repositories: &640 description: An array of repository objects that the installation can access. type: array @@ -118723,8 +119002,8 @@ webhooks: - name - full_name - private - repository: *619 - requester: *636 + repository: *622 + requester: *639 sender: *4 required: - action @@ -118799,11 +119078,11 @@ webhooks: type: string enum: - deleted - enterprise: *616 + enterprise: *619 installation: *20 - organization: *618 - repositories: *637 - repository: *619 + organization: *621 + repositories: *640 + repository: *622 requester: type: - 'null' @@ -118880,11 +119159,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *616 + enterprise: *619 installation: *20 - organization: *618 - repositories: *637 - repository: *619 + organization: *621 + repositories: *640 + repository: *622 requester: type: - 'null' @@ -118961,10 +119240,10 @@ webhooks: type: string enum: - added - enterprise: *616 + enterprise: *619 installation: *20 - organization: *618 - repositories_added: &638 + organization: *621 + repositories_added: &641 description: An array of repository objects, which were added to the installation. type: array @@ -119010,15 +119289,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *619 - repository_selection: &639 + repository: *622 + repository_selection: &642 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *636 + requester: *639 sender: *4 required: - action @@ -119097,10 +119376,10 @@ webhooks: type: string enum: - removed - enterprise: *616 + enterprise: *619 installation: *20 - organization: *618 - repositories_added: *638 + organization: *621 + repositories_added: *641 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -119127,9 +119406,9 @@ webhooks: - name - full_name - private - repository: *619 - repository_selection: *639 - requester: *636 + repository: *622 + repository_selection: *642 + requester: *639 sender: *4 required: - action @@ -119208,11 +119487,11 @@ webhooks: type: string enum: - suspend - enterprise: *616 + enterprise: *619 installation: *20 - organization: *618 - repositories: *637 - repository: *619 + organization: *621 + repositories: *640 + repository: *622 requester: type: - 'null' @@ -119394,10 +119673,10 @@ webhooks: type: string required: - from - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 target_type: type: string @@ -119476,11 +119755,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *616 + enterprise: *619 installation: *20 - organization: *618 - repositories: *637 - repository: *619 + organization: *621 + repositories: *640 + repository: *622 requester: type: - 'null' @@ -119728,8 +120007,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -120919,8 +121198,8 @@ webhooks: - state - locked - assignee - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -121000,7 +121279,7 @@ webhooks: type: string enum: - deleted - comment: &640 + comment: &643 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -121167,8 +121446,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -122356,8 +122635,8 @@ webhooks: - state - locked - assignee - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -122437,7 +122716,7 @@ webhooks: type: string enum: - edited - changes: &665 + changes: &668 description: The changes to the comment. type: object properties: @@ -122449,9 +122728,9 @@ webhooks: type: string required: - from - comment: *640 - enterprise: *616 - installation: *617 + comment: *643 + enterprise: *619 + installation: *620 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -123640,8 +123919,8 @@ webhooks: - state - locked - assignee - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -123723,10 +124002,10 @@ webhooks: type: string enum: - assigned - assignee: *636 - enterprise: *616 - installation: *617 - issue: &643 + assignee: *639 + enterprise: *619 + installation: *620 + issue: &646 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -124670,8 +124949,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -124751,8 +125030,8 @@ webhooks: type: string enum: - closed - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -125844,8 +126123,8 @@ webhooks: required: - state - closed_at - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -125924,8 +126203,8 @@ webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -126862,8 +127141,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -126942,8 +127221,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127884,7 +128163,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &641 + milestone: &644 title: Milestone description: A collection of related issues and pull requests. type: object @@ -128027,8 +128306,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -128127,8 +128406,8 @@ webhooks: type: string required: - from - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129072,9 +129351,9 @@ webhooks: - active_lock_reason - body - reactions - label: *635 - organization: *618 - repository: *619 + label: *638 + organization: *621 + repository: *622 sender: *4 required: - action @@ -129154,8 +129433,8 @@ webhooks: type: string enum: - labeled - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130098,9 +130377,9 @@ webhooks: - active_lock_reason - body - reactions - label: *635 - organization: *618 - repository: *619 + label: *638 + organization: *621 + repository: *622 sender: *4 required: - action @@ -130180,8 +130459,8 @@ webhooks: type: string enum: - locked - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131126,8 +131405,8 @@ webhooks: format: uri user_view_type: type: string - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -131206,8 +131485,8 @@ webhooks: type: string enum: - milestoned - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132146,9 +132425,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *641 - organization: *618 - repository: *619 + milestone: *644 + organization: *621 + repository: *622 sender: *4 required: - action @@ -133648,8 +133927,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134592,8 +134871,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -134673,9 +134952,9 @@ webhooks: type: string enum: - pinned - enterprise: *616 - installation: *617 - issue: &642 + enterprise: *619 + installation: *620 + issue: &645 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -135612,8 +135891,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -135692,8 +135971,8 @@ webhooks: type: string enum: - reopened - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136637,8 +136916,8 @@ webhooks: format: uri user_view_type: type: string - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -138138,11 +138417,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *616 - installation: *617 - issue: *642 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + issue: *645 + organization: *621 + repository: *622 sender: *4 required: - action @@ -138223,7 +138502,7 @@ webhooks: type: string enum: - unassigned - assignee: &668 + assignee: &671 title: User type: - object @@ -138295,11 +138574,11 @@ webhooks: required: - login - id - enterprise: *616 - installation: *617 - issue: *643 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + issue: *646 + organization: *621 + repository: *622 sender: *4 required: - action @@ -138378,12 +138657,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *616 - installation: *617 - issue: *643 - label: *635 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + issue: *646 + label: *638 + organization: *621 + repository: *622 sender: *4 required: - action @@ -138463,8 +138742,8 @@ webhooks: type: string enum: - unlocked - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139407,8 +139686,8 @@ webhooks: format: uri user_view_type: type: string - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -139488,11 +139767,11 @@ webhooks: type: string enum: - unpinned - enterprise: *616 - installation: *617 - issue: *642 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + issue: *645 + organization: *621 + repository: *622 sender: *4 required: - action @@ -139571,11 +139850,11 @@ webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - label: *635 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + label: *638 + organization: *621 + repository: *622 sender: *4 required: - action @@ -139653,11 +139932,11 @@ webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - label: *635 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + label: *638 + organization: *621 + repository: *622 sender: *4 required: - action @@ -139767,11 +140046,11 @@ webhooks: type: string required: - from - enterprise: *616 - installation: *617 - label: *635 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + label: *638 + organization: *621 + repository: *622 sender: *4 required: - action @@ -139853,9 +140132,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *616 - installation: *617 - marketplace_purchase: &644 + enterprise: *619 + installation: *620 + marketplace_purchase: &647 title: Marketplace Purchase type: object required: @@ -139943,8 +140222,8 @@ webhooks: type: integer unit_count: type: integer - organization: *618 - previous_marketplace_purchase: &645 + organization: *621 + previous_marketplace_purchase: &648 title: Marketplace Purchase type: object properties: @@ -140028,7 +140307,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *619 + repository: *622 sender: *4 required: - action @@ -140108,10 +140387,10 @@ webhooks: - changed effective_date: type: string - enterprise: *616 - installation: *617 - marketplace_purchase: *644 - organization: *618 + enterprise: *619 + installation: *620 + marketplace_purchase: *647 + organization: *621 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -140199,7 +140478,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *619 + repository: *622 sender: *4 required: - action @@ -140281,10 +140560,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *616 - installation: *617 - marketplace_purchase: *644 - organization: *618 + enterprise: *619 + installation: *620 + marketplace_purchase: *647 + organization: *621 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -140370,7 +140649,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *619 + repository: *622 sender: *4 required: - action @@ -140451,8 +140730,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 marketplace_purchase: title: Marketplace Purchase type: object @@ -140538,9 +140817,9 @@ webhooks: type: integer unit_count: type: integer - organization: *618 - previous_marketplace_purchase: *645 - repository: *619 + organization: *621 + previous_marketplace_purchase: *648 + repository: *622 sender: *4 required: - action @@ -140620,12 +140899,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *616 - installation: *617 - marketplace_purchase: *644 - organization: *618 - previous_marketplace_purchase: *645 - repository: *619 + enterprise: *619 + installation: *620 + marketplace_purchase: *647 + organization: *621 + previous_marketplace_purchase: *648 + repository: *622 sender: *4 required: - action @@ -140727,11 +141006,11 @@ webhooks: type: string required: - to - enterprise: *616 - installation: *617 - member: *636 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + member: *639 + organization: *621 + repository: *622 sender: *4 required: - action @@ -140833,11 +141112,11 @@ webhooks: type: - string - 'null' - enterprise: *616 - installation: *617 - member: *636 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + member: *639 + organization: *621 + repository: *622 sender: *4 required: - action @@ -140916,11 +141195,11 @@ webhooks: type: string enum: - removed - enterprise: *616 - installation: *617 - member: *636 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + member: *639 + organization: *621 + repository: *622 sender: *4 required: - action @@ -140998,11 +141277,11 @@ webhooks: type: string enum: - added - enterprise: *616 - installation: *617 - member: *636 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + member: *639 + organization: *621 + repository: *622 scope: description: The scope of the membership. Currently, can only be `team`. @@ -141080,7 +141359,7 @@ webhooks: required: - login - id - team: &646 + team: &649 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -141273,11 +141552,11 @@ webhooks: type: string enum: - removed - enterprise: *616 - installation: *617 - member: *636 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + member: *639 + organization: *621 + repository: *622 scope: description: The scope of the membership. Currently, can only be `team`. @@ -141356,7 +141635,7 @@ webhooks: required: - login - id - team: *646 + team: *649 required: - action - scope @@ -141438,8 +141717,8 @@ webhooks: type: string enum: - checks_requested - installation: *617 - merge_group: &647 + installation: *620 + merge_group: &650 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -141458,15 +141737,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *343 + head_commit: *344 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -141552,10 +141831,10 @@ webhooks: - merged - invalidated - dequeued - installation: *617 - merge_group: *647 - organization: *618 - repository: *619 + installation: *620 + merge_group: *650 + organization: *621 + repository: *622 sender: *4 required: - action @@ -141628,7 +141907,7 @@ webhooks: type: string enum: - deleted - enterprise: *616 + enterprise: *619 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -141736,12 +142015,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *617 - organization: *618 + installation: *620 + organization: *621 repository: anyOf: - type: 'null' - - *619 + - *622 sender: *4 required: - action @@ -141821,11 +142100,11 @@ webhooks: type: string enum: - closed - enterprise: *616 - installation: *617 - milestone: *641 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + milestone: *644 + organization: *621 + repository: *622 sender: *4 required: - action @@ -141904,9 +142183,9 @@ webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - milestone: &648 + enterprise: *619 + installation: *620 + milestone: &651 title: Milestone description: A collection of related issues and pull requests. type: object @@ -142048,8 +142327,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -142128,11 +142407,11 @@ webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - milestone: *641 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + milestone: *644 + organization: *621 + repository: *622 sender: *4 required: - action @@ -142242,11 +142521,11 @@ webhooks: type: string required: - from - enterprise: *616 - installation: *617 - milestone: *641 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + milestone: *644 + organization: *621 + repository: *622 sender: *4 required: - action @@ -142326,11 +142605,11 @@ webhooks: type: string enum: - opened - enterprise: *616 - installation: *617 - milestone: *648 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + milestone: *651 + organization: *621 + repository: *622 sender: *4 required: - action @@ -142409,11 +142688,11 @@ webhooks: type: string enum: - blocked - blocked_user: *636 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + blocked_user: *639 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -142492,11 +142771,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *636 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + blocked_user: *639 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -142575,9 +142854,9 @@ webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - membership: &649 + enterprise: *619 + installation: *620 + membership: &652 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -142671,8 +142950,8 @@ webhooks: - role - organization_url - user - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -142750,11 +143029,11 @@ webhooks: type: string enum: - member_added - enterprise: *616 - installation: *617 - membership: *649 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + membership: *652 + organization: *621 + repository: *622 sender: *4 required: - action @@ -142833,8 +143112,8 @@ webhooks: type: string enum: - member_invited - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -142956,10 +143235,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 - user: *636 + user: *639 required: - action - invitation @@ -143037,11 +143316,11 @@ webhooks: type: string enum: - member_removed - enterprise: *616 - installation: *617 - membership: *649 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + membership: *652 + organization: *621 + repository: *622 sender: *4 required: - action @@ -143128,11 +143407,11 @@ webhooks: properties: from: type: string - enterprise: *616 - installation: *617 - membership: *649 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + membership: *652 + organization: *621 + repository: *622 sender: *4 required: - action @@ -143208,9 +143487,9 @@ webhooks: type: string enum: - published - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 package: description: Information about the package. type: object @@ -143733,7 +144012,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &650 + items: &653 title: Ruby Gems metadata type: object properties: @@ -143830,7 +144109,7 @@ webhooks: - owner - package_version - registry - repository: *619 + repository: *622 sender: *4 required: - action @@ -143906,9 +144185,9 @@ webhooks: type: string enum: - updated - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 package: description: Information about the package. type: object @@ -144270,7 +144549,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *650 + items: *653 source_url: type: string format: uri @@ -144341,7 +144620,7 @@ webhooks: - owner - package_version - registry - repository: *619 + repository: *622 sender: *4 required: - action @@ -144522,12 +144801,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *616 + enterprise: *619 id: type: integer - installation: *617 - organization: *618 - repository: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - id @@ -144607,7 +144886,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &651 + personal_access_token_request: &654 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -144757,10 +145036,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *616 - organization: *618 + enterprise: *619 + organization: *621 sender: *4 - installation: *617 + installation: *620 required: - action - personal_access_token_request @@ -144839,11 +145118,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *651 - enterprise: *616 - organization: *618 + personal_access_token_request: *654 + enterprise: *619 + organization: *621 sender: *4 - installation: *617 + installation: *620 required: - action - personal_access_token_request @@ -144921,11 +145200,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *651 - enterprise: *616 - organization: *618 + personal_access_token_request: *654 + enterprise: *619 + organization: *621 sender: *4 - installation: *617 + installation: *620 required: - action - personal_access_token_request @@ -145002,11 +145281,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *651 - organization: *618 - enterprise: *616 + personal_access_token_request: *654 + organization: *621 + enterprise: *619 sender: *4 - installation: *617 + installation: *620 required: - action - personal_access_token_request @@ -145110,7 +145389,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *652 + last_response: *655 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -145142,8 +145421,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 zen: description: Random string of GitHub zen. @@ -145388,10 +145667,10 @@ webhooks: - from required: - note - enterprise: *616 - installation: *617 - organization: *618 - project_card: &653 + enterprise: *619 + installation: *620 + organization: *621 + project_card: &656 title: Project Card type: object properties: @@ -145514,7 +145793,7 @@ webhooks: - creator - created_at - updated_at - repository: *619 + repository: *622 sender: *4 required: - action @@ -145595,11 +145874,11 @@ webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - project_card: *653 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + project_card: *656 + repository: *622 sender: *4 required: - action @@ -145679,9 +145958,9 @@ webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 project_card: title: Project Card type: object @@ -145811,7 +146090,7 @@ webhooks: repository: anyOf: - type: 'null' - - *619 + - *622 sender: *4 required: - action @@ -145905,11 +146184,11 @@ webhooks: - from required: - note - enterprise: *616 - installation: *617 - organization: *618 - project_card: *653 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + project_card: *656 + repository: *622 sender: *4 required: - action @@ -146003,9 +146282,9 @@ webhooks: - from required: - column_id - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 project_card: allOf: - title: Project Card @@ -146202,7 +146481,7 @@ webhooks: type: string required: - after_id - repository: *619 + repository: *622 sender: *4 required: - action @@ -146282,10 +146561,10 @@ webhooks: type: string enum: - closed - enterprise: *616 - installation: *617 - organization: *618 - project: &655 + enterprise: *619 + installation: *620 + organization: *621 + project: &658 title: Project type: object properties: @@ -146412,7 +146691,7 @@ webhooks: - creator - created_at - updated_at - repository: *619 + repository: *622 sender: *4 required: - action @@ -146492,10 +146771,10 @@ webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - project_column: &654 + enterprise: *619 + installation: *620 + organization: *621 + project_column: &657 title: Project Column type: object properties: @@ -146535,7 +146814,7 @@ webhooks: - name - created_at - updated_at - repository: *619 + repository: *622 sender: *4 required: - action @@ -146614,14 +146893,14 @@ webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 - project_column: *654 + enterprise: *619 + installation: *620 + organization: *621 + project_column: *657 repository: anyOf: - type: 'null' - - *619 + - *622 sender: *4 required: - action @@ -146710,11 +146989,11 @@ webhooks: type: string required: - from - enterprise: *616 - installation: *617 - organization: *618 - project_column: *654 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + project_column: *657 + repository: *622 sender: *4 required: - action @@ -146794,11 +147073,11 @@ webhooks: type: string enum: - moved - enterprise: *616 - installation: *617 - organization: *618 - project_column: *654 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + project_column: *657 + repository: *622 sender: *4 required: - action @@ -146878,11 +147157,11 @@ webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - project: *655 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + project: *658 + repository: *622 sender: *4 required: - action @@ -146962,14 +147241,14 @@ webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 - project: *655 + enterprise: *619 + installation: *620 + organization: *621 + project: *658 repository: anyOf: - type: 'null' - - *619 + - *622 sender: *4 required: - action @@ -147070,11 +147349,11 @@ webhooks: type: string required: - from - enterprise: *616 - installation: *617 - organization: *618 - project: *655 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + project: *658 + repository: *622 sender: *4 required: - action @@ -147153,11 +147432,11 @@ webhooks: type: string enum: - reopened - enterprise: *616 - installation: *617 - organization: *618 - project: *655 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + project: *658 + repository: *622 sender: *4 required: - action @@ -147238,9 +147517,9 @@ webhooks: type: string enum: - closed - installation: *617 - organization: *618 - projects_v2: &656 + installation: *620 + organization: *621 + projects_v2: &659 title: Projects v2 Project description: A projects v2 project type: object @@ -147388,9 +147667,9 @@ webhooks: type: string enum: - created - installation: *617 - organization: *618 - projects_v2: *656 + installation: *620 + organization: *621 + projects_v2: *659 sender: *4 required: - action @@ -147471,9 +147750,9 @@ webhooks: type: string enum: - deleted - installation: *617 - organization: *618 - projects_v2: *656 + installation: *620 + organization: *621 + projects_v2: *659 sender: *4 required: - action @@ -147594,9 +147873,9 @@ webhooks: type: string to: type: string - installation: *617 - organization: *618 - projects_v2: *656 + installation: *620 + organization: *621 + projects_v2: *659 sender: *4 required: - action @@ -147679,7 +147958,7 @@ webhooks: type: string enum: - archived - changes: &660 + changes: &663 type: object properties: archived_at: @@ -147695,9 +147974,9 @@ webhooks: - string - 'null' format: date-time - installation: *617 - organization: *618 - projects_v2_item: &657 + installation: *620 + organization: *621 + projects_v2_item: &660 title: Projects v2 Item description: An item belonging to a project type: object @@ -147836,9 +148115,9 @@ webhooks: - 'null' to: type: string - installation: *617 - organization: *618 - projects_v2_item: *657 + installation: *620 + organization: *621 + projects_v2_item: *660 sender: *4 required: - action @@ -147920,9 +148199,9 @@ webhooks: type: string enum: - created - installation: *617 - organization: *618 - projects_v2_item: *657 + installation: *620 + organization: *621 + projects_v2_item: *660 sender: *4 required: - action @@ -148003,9 +148282,9 @@ webhooks: type: string enum: - deleted - installation: *617 - organization: *618 - projects_v2_item: *657 + installation: *620 + organization: *621 + projects_v2_item: *660 sender: *4 required: - action @@ -148110,7 +148389,7 @@ webhooks: oneOf: - type: string - type: integer - - &658 + - &661 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -148130,7 +148409,7 @@ webhooks: required: - id - name - - &659 + - &662 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -148159,8 +148438,8 @@ webhooks: oneOf: - type: string - type: integer - - *658 - - *659 + - *661 + - *662 type: - 'null' - string @@ -148183,9 +148462,9 @@ webhooks: - 'null' required: - body - installation: *617 - organization: *618 - projects_v2_item: *657 + installation: *620 + organization: *621 + projects_v2_item: *660 sender: *4 required: - action @@ -148282,9 +148561,9 @@ webhooks: type: - string - 'null' - installation: *617 - organization: *618 - projects_v2_item: *657 + installation: *620 + organization: *621 + projects_v2_item: *660 sender: *4 required: - action @@ -148367,10 +148646,10 @@ webhooks: type: string enum: - restored - changes: *660 - installation: *617 - organization: *618 - projects_v2_item: *657 + changes: *663 + installation: *620 + organization: *621 + projects_v2_item: *660 sender: *4 required: - action @@ -148452,9 +148731,9 @@ webhooks: type: string enum: - reopened - installation: *617 - organization: *618 - projects_v2: *656 + installation: *620 + organization: *621 + projects_v2: *659 sender: *4 required: - action @@ -148535,9 +148814,9 @@ webhooks: type: string enum: - created - installation: *617 - organization: *618 - projects_v2_status_update: &661 + installation: *620 + organization: *621 + projects_v2_status_update: &664 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -148672,9 +148951,9 @@ webhooks: type: string enum: - deleted - installation: *617 - organization: *618 - projects_v2_status_update: *661 + installation: *620 + organization: *621 + projects_v2_status_update: *664 sender: *4 required: - action @@ -148820,9 +149099,9 @@ webhooks: - string - 'null' format: date - installation: *617 - organization: *618 - projects_v2_status_update: *661 + installation: *620 + organization: *621 + projects_v2_status_update: *664 sender: *4 required: - action @@ -148893,10 +149172,10 @@ webhooks: title: public event type: object properties: - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - repository @@ -148973,13 +149252,13 @@ webhooks: type: string enum: - assigned - assignee: *636 - enterprise: *616 - installation: *617 - number: &662 + assignee: *639 + enterprise: *619 + installation: *620 + number: &665 description: The pull request number. type: integer - organization: *618 + organization: *621 pull_request: title: Pull Request type: object @@ -151328,7 +151607,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *622 sender: *4 required: - action @@ -151410,11 +151689,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 number: type: integer - organization: *618 + organization: *621 pull_request: title: Pull Request type: object @@ -153756,7 +154035,7 @@ webhooks: - draft reason: type: string - repository: *619 + repository: *622 sender: *4 required: - action @@ -153838,11 +154117,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 number: type: integer - organization: *618 + organization: *621 pull_request: title: Pull Request type: object @@ -156184,7 +156463,7 @@ webhooks: - draft reason: type: string - repository: *619 + repository: *622 sender: *4 required: - action @@ -156266,13 +156545,13 @@ webhooks: type: string enum: - closed - enterprise: *616 - installation: *617 - number: *662 - organization: *618 - pull_request: &663 + enterprise: *619 + installation: *620 + number: *665 + organization: *621 + pull_request: &666 allOf: - - *494 + - *495 - type: object properties: allow_auto_merge: @@ -156334,7 +156613,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *619 + repository: *622 sender: *4 required: - action @@ -156415,12 +156694,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *616 - installation: *617 - number: *662 - organization: *618 - pull_request: *663 - repository: *619 + enterprise: *619 + installation: *620 + number: *665 + organization: *621 + pull_request: *666 + repository: *622 sender: *4 required: - action @@ -156500,11 +156779,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *616 - milestone: *392 - number: *662 - organization: *618 - pull_request: &664 + enterprise: *619 + milestone: *393 + number: *665 + organization: *621 + pull_request: &667 title: Pull Request type: object properties: @@ -158831,7 +159110,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *622 sender: *4 required: - action @@ -158910,11 +159189,11 @@ webhooks: type: string enum: - dequeued - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 number: type: integer - organization: *618 + organization: *621 pull_request: title: Pull Request type: object @@ -161260,7 +161539,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *619 + repository: *622 sender: *4 required: - action @@ -161384,12 +161663,12 @@ webhooks: type: string required: - from - enterprise: *616 - installation: *617 - number: *662 - organization: *618 - pull_request: *663 - repository: *619 + enterprise: *619 + installation: *620 + number: *665 + organization: *621 + pull_request: *666 + repository: *622 sender: *4 required: - action @@ -161469,11 +161748,11 @@ webhooks: type: string enum: - enqueued - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 number: type: integer - organization: *618 + organization: *621 pull_request: title: Pull Request type: object @@ -163804,7 +164083,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *622 sender: *4 required: - action @@ -163884,11 +164163,11 @@ webhooks: type: string enum: - labeled - enterprise: *616 - installation: *617 - label: *635 - number: *662 - organization: *618 + enterprise: *619 + installation: *620 + label: *638 + number: *665 + organization: *621 pull_request: title: Pull Request type: object @@ -166236,7 +166515,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *622 sender: *4 required: - action @@ -166317,10 +166596,10 @@ webhooks: type: string enum: - locked - enterprise: *616 - installation: *617 - number: *662 - organization: *618 + enterprise: *619 + installation: *620 + number: *665 + organization: *621 pull_request: title: Pull Request type: object @@ -168666,7 +168945,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *622 sender: *4 required: - action @@ -168746,12 +169025,12 @@ webhooks: type: string enum: - milestoned - enterprise: *616 - milestone: *392 - number: *662 - organization: *618 - pull_request: *664 - repository: *619 + enterprise: *619 + milestone: *393 + number: *665 + organization: *621 + pull_request: *667 + repository: *622 sender: *4 required: - action @@ -168830,12 +169109,12 @@ webhooks: type: string enum: - opened - enterprise: *616 - installation: *617 - number: *662 - organization: *618 - pull_request: *663 - repository: *619 + enterprise: *619 + installation: *620 + number: *665 + organization: *621 + pull_request: *666 + repository: *622 sender: *4 required: - action @@ -168916,12 +169195,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *616 - installation: *617 - number: *662 - organization: *618 - pull_request: *663 - repository: *619 + enterprise: *619 + installation: *620 + number: *665 + organization: *621 + pull_request: *666 + repository: *622 sender: *4 required: - action @@ -169001,12 +169280,12 @@ webhooks: type: string enum: - reopened - enterprise: *616 - installation: *617 - number: *662 - organization: *618 - pull_request: *663 - repository: *619 + enterprise: *619 + installation: *620 + number: *665 + organization: *621 + pull_request: *666 + repository: *622 sender: *4 required: - action @@ -169381,9 +169660,9 @@ webhooks: - start_side - side - reactions - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 pull_request: type: object properties: @@ -171613,7 +171892,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *619 + repository: *622 sender: *4 required: - action @@ -171693,7 +171972,7 @@ webhooks: type: string enum: - deleted - comment: &666 + comment: &669 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -171986,9 +172265,9 @@ webhooks: - start_side - side - reactions - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 pull_request: type: object properties: @@ -174206,7 +174485,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *619 + repository: *622 sender: *4 required: - action @@ -174286,11 +174565,11 @@ webhooks: type: string enum: - edited - changes: *665 - comment: *666 - enterprise: *616 - installation: *617 - organization: *618 + changes: *668 + comment: *669 + enterprise: *619 + installation: *620 + organization: *621 pull_request: type: object properties: @@ -176511,7 +176790,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *619 + repository: *622 sender: *4 required: - action @@ -176592,9 +176871,9 @@ webhooks: type: string enum: - dismissed - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 pull_request: title: Simple Pull Request type: object @@ -178827,7 +179106,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *619 + repository: *622 review: description: The review that was affected. type: object @@ -179073,9 +179352,9 @@ webhooks: type: string required: - from - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 pull_request: title: Simple Pull Request type: object @@ -181189,8 +181468,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *619 - review: &667 + repository: *622 + review: &670 description: The review that was affected. type: object properties: @@ -181423,12 +181702,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 number: description: The pull request number. type: integer - organization: *618 + organization: *621 pull_request: title: Pull Request type: object @@ -183775,7 +184054,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *622 requested_reviewer: title: User type: @@ -183861,12 +184140,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 number: description: The pull request number. type: integer - organization: *618 + organization: *621 pull_request: title: Pull Request type: object @@ -186220,7 +186499,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *622 requested_team: title: Team description: Groups of organization members that gives permissions @@ -186415,12 +186694,12 @@ webhooks: type: string enum: - review_requested - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 number: description: The pull request number. type: integer - organization: *618 + organization: *621 pull_request: title: Pull Request type: object @@ -188769,7 +189048,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *622 requested_reviewer: title: User type: @@ -188856,12 +189135,12 @@ webhooks: type: string enum: - review_requested - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 number: description: The pull request number. type: integer - organization: *618 + organization: *621 pull_request: title: Pull Request type: object @@ -191201,7 +191480,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *622 requested_team: title: Team description: Groups of organization members that gives permissions @@ -191385,9 +191664,9 @@ webhooks: type: string enum: - submitted - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 pull_request: title: Simple Pull Request type: object @@ -193623,8 +193902,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *619 - review: *667 + repository: *622 + review: *670 sender: *4 required: - action @@ -193704,9 +193983,9 @@ webhooks: type: string enum: - resolved - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 pull_request: title: Simple Pull Request type: object @@ -195837,7 +196116,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *619 + repository: *622 sender: *4 thread: type: object @@ -196229,9 +196508,9 @@ webhooks: type: string enum: - unresolved - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 pull_request: title: Simple Pull Request type: object @@ -198345,7 +198624,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *619 + repository: *622 sender: *4 thread: type: object @@ -198739,10 +199018,10 @@ webhooks: type: string before: type: string - enterprise: *616 - installation: *617 - number: *662 - organization: *618 + enterprise: *619 + installation: *620 + number: *665 + organization: *621 pull_request: title: Pull Request type: object @@ -201077,7 +201356,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *622 sender: *4 required: - action @@ -201159,11 +201438,11 @@ webhooks: type: string enum: - unassigned - assignee: *668 - enterprise: *616 - installation: *617 - number: *662 - organization: *618 + assignee: *671 + enterprise: *619 + installation: *620 + number: *665 + organization: *621 pull_request: title: Pull Request type: object @@ -203513,7 +203792,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *622 sender: *4 required: - action @@ -203592,11 +203871,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *616 - installation: *617 - label: *635 - number: *662 - organization: *618 + enterprise: *619 + installation: *620 + label: *638 + number: *665 + organization: *621 pull_request: title: Pull Request type: object @@ -205935,7 +206214,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *622 sender: *4 required: - action @@ -206016,10 +206295,10 @@ webhooks: type: string enum: - unlocked - enterprise: *616 - installation: *617 - number: *662 - organization: *618 + enterprise: *619 + installation: *620 + number: *665 + organization: *621 pull_request: title: Pull Request type: object @@ -208348,7 +208627,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *622 sender: *4 required: - action @@ -208551,7 +208830,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *616 + enterprise: *619 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -208646,8 +208925,8 @@ webhooks: - url - author - committer - installation: *617 - organization: *618 + installation: *620 + organization: *621 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -209235,9 +209514,9 @@ webhooks: type: string enum: - published - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 registry_package: type: object properties: @@ -209714,7 +209993,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *650 + items: *653 summary: type: string tag_name: @@ -209770,7 +210049,7 @@ webhooks: - owner - package_version - registry - repository: *619 + repository: *622 sender: *4 required: - action @@ -209848,9 +210127,9 @@ webhooks: type: string enum: - updated - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 registry_package: type: object properties: @@ -210162,7 +210441,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *650 + items: *653 summary: type: string tag_name: @@ -210212,7 +210491,7 @@ webhooks: - owner - package_version - registry - repository: *619 + repository: *622 sender: *4 required: - action @@ -210289,10 +210568,10 @@ webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - release: &669 + enterprise: *619 + installation: *620 + organization: *621 + release: &672 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -210608,7 +210887,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *619 + repository: *622 sender: *4 required: - action @@ -210685,11 +210964,11 @@ webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 - release: *669 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + release: *672 + repository: *622 sender: *4 required: - action @@ -210797,11 +211076,11 @@ webhooks: type: boolean required: - to - enterprise: *616 - installation: *617 - organization: *618 - release: *669 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + release: *672 + repository: *622 sender: *4 required: - action @@ -210879,9 +211158,9 @@ webhooks: type: string enum: - prereleased - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -211202,7 +211481,7 @@ webhooks: - string - 'null' format: uri - repository: *619 + repository: *622 sender: *4 required: - action @@ -211278,10 +211557,10 @@ webhooks: type: string enum: - published - enterprise: *616 - installation: *617 - organization: *618 - release: &670 + enterprise: *619 + installation: *620 + organization: *621 + release: &673 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -211599,7 +211878,7 @@ webhooks: - string - 'null' format: uri - repository: *619 + repository: *622 sender: *4 required: - action @@ -211675,11 +211954,11 @@ webhooks: type: string enum: - released - enterprise: *616 - installation: *617 - organization: *618 - release: *669 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + release: *672 + repository: *622 sender: *4 required: - action @@ -211755,11 +212034,11 @@ webhooks: type: string enum: - unpublished - enterprise: *616 - installation: *617 - organization: *618 - release: *670 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + release: *673 + repository: *622 sender: *4 required: - action @@ -211835,11 +212114,11 @@ webhooks: type: string enum: - published - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - repository_advisory: *548 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 + repository_advisory: *551 sender: *4 required: - action @@ -211915,11 +212194,11 @@ webhooks: type: string enum: - reported - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - repository_advisory: *548 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 + repository_advisory: *551 sender: *4 required: - action @@ -211995,10 +212274,10 @@ webhooks: type: string enum: - archived - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -212075,10 +212354,10 @@ webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -212156,10 +212435,10 @@ webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -212244,10 +212523,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -212362,10 +212641,10 @@ webhooks: - 'null' items: type: string - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -212437,10 +212716,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 status: type: string @@ -212521,10 +212800,10 @@ webhooks: type: string enum: - privatized - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -212601,10 +212880,10 @@ webhooks: type: string enum: - publicized - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -212698,10 +212977,10 @@ webhooks: - name required: - repository - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -212781,10 +213060,10 @@ webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 repository_ruleset: *225 sender: *4 required: @@ -212863,10 +213142,10 @@ webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 repository_ruleset: *225 sender: *4 required: @@ -212945,10 +213224,10 @@ webhooks: type: string enum: - edited - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 repository_ruleset: *225 changes: type: object @@ -213256,10 +213535,10 @@ webhooks: - from required: - owner - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -213337,10 +213616,10 @@ webhooks: type: string enum: - unarchived - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -213418,7 +213697,7 @@ webhooks: type: string enum: - create - alert: &671 + alert: &674 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -213542,10 +213821,10 @@ webhooks: type: string enum: - open - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -213755,10 +214034,10 @@ webhooks: type: string enum: - dismissed - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -213836,11 +214115,11 @@ webhooks: type: string enum: - reopen - alert: *671 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + alert: *674 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -214042,10 +214321,10 @@ webhooks: enum: - fixed - open - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -214123,7 +214402,7 @@ webhooks: type: string enum: - created - alert: &672 + alert: &675 type: object properties: number: *52 @@ -214233,10 +214512,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -214317,11 +214596,11 @@ webhooks: type: string enum: - created - alert: *672 - installation: *617 - location: *673 - organization: *618 - repository: *619 + alert: *675 + installation: *620 + location: *676 + organization: *621 + repository: *622 sender: *4 required: - location @@ -214559,11 +214838,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *672 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + alert: *675 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -214641,11 +214920,11 @@ webhooks: type: string enum: - reopened - alert: *672 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + alert: *675 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -214723,11 +215002,11 @@ webhooks: type: string enum: - resolved - alert: *672 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + alert: *675 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -214805,11 +215084,11 @@ webhooks: type: string enum: - validated - alert: *672 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + alert: *675 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -214939,10 +215218,10 @@ webhooks: - organization - enterprise - - repository: *619 - enterprise: *616 - installation: *617 - organization: *618 + repository: *622 + enterprise: *619 + installation: *620 + organization: *621 sender: *4 required: - action @@ -215020,11 +215299,11 @@ webhooks: type: string enum: - published - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - security_advisory: &674 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 + security_advisory: &677 description: The details of the security advisory, including summary, description, and severity. type: object @@ -215210,11 +215489,11 @@ webhooks: type: string enum: - updated - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - security_advisory: *674 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 + security_advisory: *677 sender: *4 required: - action @@ -215287,10 +215566,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -215477,10 +215756,10 @@ webhooks: type: object properties: security_and_analysis: *218 - enterprise: *616 - installation: *617 - organization: *618 - repository: *271 + enterprise: *619 + installation: *620 + organization: *621 + repository: *272 sender: *4 required: - changes @@ -215558,12 +215837,12 @@ webhooks: type: string enum: - cancelled - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 - sponsorship: &675 + sponsorship: &678 type: object properties: created_at: @@ -215868,12 +216147,12 @@ webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 - sponsorship: *675 + sponsorship: *678 required: - action - sponsorship @@ -215961,12 +216240,12 @@ webhooks: type: string required: - from - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 - sponsorship: *675 + sponsorship: *678 required: - action - changes @@ -216043,17 +216322,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &676 + effective_date: &679 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 - sponsorship: *675 + sponsorship: *678 required: - action - sponsorship @@ -216127,7 +216406,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &677 + changes: &680 type: object properties: tier: @@ -216171,13 +216450,13 @@ webhooks: - from required: - tier - effective_date: *676 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + effective_date: *679 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 - sponsorship: *675 + sponsorship: *678 required: - action - changes @@ -216254,13 +216533,13 @@ webhooks: type: string enum: - tier_changed - changes: *677 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + changes: *680 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 - sponsorship: *675 + sponsorship: *678 required: - action - changes @@ -216334,10 +216613,10 @@ webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -216421,10 +216700,10 @@ webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -216858,15 +217137,15 @@ webhooks: type: - string - 'null' - enterprise: *616 + enterprise: *619 id: description: The unique identifier of the status. type: integer - installation: *617 + installation: *620 name: type: string - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 sha: description: The Commit SHA. @@ -216982,9 +217261,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *74 - installation: *617 - organization: *618 - repository: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -217074,9 +217353,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *74 - installation: *617 - organization: *618 - repository: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -217166,9 +217445,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *74 - installation: *617 - organization: *618 - repository: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -217258,9 +217537,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *74 - installation: *617 - organization: *618 - repository: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -217337,12 +217616,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 - team: &678 + team: &681 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -217535,9 +217814,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 repository: title: Repository description: A git repository @@ -218007,7 +218286,7 @@ webhooks: - topics - visibility sender: *4 - team: *678 + team: *681 required: - action - team @@ -218083,9 +218362,9 @@ webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 repository: title: Repository description: A git repository @@ -218555,7 +218834,7 @@ webhooks: - topics - visibility sender: *4 - team: *678 + team: *681 required: - action - team @@ -218632,9 +218911,9 @@ webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 repository: title: Repository description: A git repository @@ -219104,7 +219383,7 @@ webhooks: - topics - visibility sender: *4 - team: *678 + team: *681 required: - action - team @@ -219248,9 +219527,9 @@ webhooks: - from required: - permissions - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 repository: title: Repository description: A git repository @@ -219720,7 +219999,7 @@ webhooks: - topics - visibility sender: *4 - team: *678 + team: *681 required: - action - changes @@ -219798,9 +220077,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 repository: title: Repository description: A git repository @@ -220270,7 +220549,7 @@ webhooks: - topics - visibility sender: *4 - team: *678 + team: *681 required: - action - team @@ -220346,10 +220625,10 @@ webhooks: type: string enum: - started - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -220422,17 +220701,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *616 + enterprise: *619 inputs: type: - object - 'null' additionalProperties: true - installation: *617 - organization: *618 + installation: *620 + organization: *621 ref: type: string - repository: *619 + repository: *622 sender: *4 workflow: type: string @@ -220514,10 +220793,10 @@ webhooks: type: string enum: - completed - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 workflow_job: allOf: @@ -220773,7 +221052,7 @@ webhooks: type: string required: - conclusion - deployment: *412 + deployment: *413 required: - action - repository @@ -220852,10 +221131,10 @@ webhooks: type: string enum: - in_progress - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 workflow_job: allOf: @@ -221137,7 +221416,7 @@ webhooks: required: - status - steps - deployment: *412 + deployment: *413 required: - action - repository @@ -221216,10 +221495,10 @@ webhooks: type: string enum: - queued - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 workflow_job: type: object @@ -221365,7 +221644,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *412 + deployment: *413 required: - action - repository @@ -221444,10 +221723,10 @@ webhooks: type: string enum: - waiting - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 workflow_job: type: object @@ -221594,7 +221873,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *412 + deployment: *413 required: - action - repository @@ -221674,12 +221953,12 @@ webhooks: type: string enum: - completed - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 - workflow: *631 + workflow: *634 workflow_run: title: Workflow Run type: object @@ -222698,12 +222977,12 @@ webhooks: type: string enum: - in_progress - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 - workflow: *631 + workflow: *634 workflow_run: title: Workflow Run type: object @@ -223707,12 +223986,12 @@ webhooks: type: string enum: - requested - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 - workflow: *631 + workflow: *634 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index f3fba11ab..21eb26161 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -149789,6 +149789,407 @@ } } }, + "/orgs/{org}/rulesets/{ruleset_id}/history": { + "get": { + "summary": "Get organization ruleset history", + "description": "Get the history of an organization ruleset.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-org-ruleset-history", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Ruleset version", + "type": "object", + "description": "The historical version of a ruleset", + "required": [ + "version_id", + "actor", + "updated_at" + ], + "properties": { + "version_id": { + "type": "integer", + "description": "The ID of the previous version of the ruleset" + }, + "actor": { + "type": "object", + "description": "The actor who updated the ruleset", + "properties": { + "id": { + "type": "integer" + }, + "type": { + "type": "string" + } + } + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z" + }, + { + "version_id": 2, + "actor": { + "id": 2, + "type": "User" + }, + "updated_at": "2024-09-23T16:29:47Z" + }, + { + "version_id": 1, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-08-23T16:29:47Z" + } + ] + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "rules" + } + } + }, + "/orgs/{org}/rulesets/{ruleset_id}/history/{version_id}": { + "get": { + "summary": "Get organization ruleset version", + "description": "Get a version of an organization ruleset.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-org-ruleset-version", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version_id", + "description": "The ID of the version", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "title": "Ruleset version", + "type": "object", + "description": "The historical version of a ruleset", + "required": [ + "version_id", + "actor", + "updated_at" + ], + "properties": { + "version_id": { + "type": "integer", + "description": "The ID of the previous version of the ruleset" + }, + "actor": { + "type": "object", + "description": "The actor who updated the ruleset", + "properties": { + "id": { + "type": "integer" + }, + "type": { + "type": "string" + } + } + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + } + }, + { + "type": "object", + "required": [ + "state" + ], + "properties": { + "state": { + "type": "object", + "description": "The state of the ruleset version" + } + } + } + ] + }, + "examples": { + "default": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z", + "state": { + "id": 21, + "name": "super cool ruleset", + "target": "branch", + "source_type": "Organization", + "source": "my-org", + "enforcement": "active", + "bypass_actors": [ + { + "actor_id": 234, + "actor_type": "Team", + "bypass_mode": "always" + } + ], + "conditions": { + "ref_name": { + "include": [ + "refs/heads/main", + "refs/heads/master" + ], + "exclude": [ + "refs/heads/dev*" + ] + }, + "repository_name": { + "include": [ + "important_repository", + "another_important_repository" + ], + "exclude": [ + "unimportant_repository" + ], + "protected": true + } + }, + "rules": [ + { + "type": "commit_author_email_pattern", + "parameters": { + "operator": "contains", + "pattern": "github" + } + } + ] + } + } + ] + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "rules" + } + } + }, "/orgs/{org}/secret-scanning/alerts": { "get": { "summary": "List secret scanning alerts for an organization", @@ -206609,7 +207010,7 @@ "/repos/{owner}/{repo}/actions/runs/{run_id}/timing": { "get": { "summary": "Get workflow run usage", - "description": "Gets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "description": "> [!WARNING] \n> This endpoint is in the process of closing down. Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" for more information.\n\nGets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ "actions" ], @@ -211336,7 +211737,7 @@ "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": { "get": { "summary": "Get workflow usage", - "description": "Gets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "description": "> [!WARNING] \n> This endpoint is in the process of closing down. Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" for more information.\n\nGets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ "actions" ], @@ -383034,7 +383435,7 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "reactions", "subcategory": "reactions" } @@ -486700,6 +487101,415 @@ } } }, + "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": { + "get": { + "summary": "Get repository ruleset history", + "description": "Get the history of a repository ruleset.", + "tags": [ + "repos" + ], + "operationId": "repos/get-repo-ruleset-history", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/rules#get-repository-ruleset-history" + }, + "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": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Ruleset version", + "type": "object", + "description": "The historical version of a ruleset", + "required": [ + "version_id", + "actor", + "updated_at" + ], + "properties": { + "version_id": { + "type": "integer", + "description": "The ID of the previous version of the ruleset" + }, + "actor": { + "type": "object", + "description": "The actor who updated the ruleset", + "properties": { + "id": { + "type": "integer" + }, + "type": { + "type": "string" + } + } + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z" + }, + { + "version_id": 2, + "actor": { + "id": 2, + "type": "User" + }, + "updated_at": "2024-09-23T16:29:47Z" + }, + { + "version_id": 1, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-08-23T16:29:47Z" + } + ] + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "rules" + } + } + }, + "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}": { + "get": { + "summary": "Get repository ruleset version", + "description": "Get a version of a repository ruleset.", + "tags": [ + "repos" + ], + "operationId": "repos/get-repo-ruleset-version", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/rules#get-repository-ruleset-version" + }, + "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": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version_id", + "description": "The ID of the version", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "title": "Ruleset version", + "type": "object", + "description": "The historical version of a ruleset", + "required": [ + "version_id", + "actor", + "updated_at" + ], + "properties": { + "version_id": { + "type": "integer", + "description": "The ID of the previous version of the ruleset" + }, + "actor": { + "type": "object", + "description": "The actor who updated the ruleset", + "properties": { + "id": { + "type": "integer" + }, + "type": { + "type": "string" + } + } + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + } + }, + { + "type": "object", + "required": [ + "state" + ], + "properties": { + "state": { + "type": "object", + "description": "The state of the ruleset version" + } + } + } + ] + }, + "examples": { + "default": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z", + "state": { + "id": 42, + "name": "super cool ruleset", + "target": "branch", + "source_type": "Repository", + "source": "monalisa/my-repo", + "enforcement": "active", + "bypass_actors": [ + { + "actor_id": 234, + "actor_type": "Team", + "bypass_mode": "always" + } + ], + "conditions": { + "ref_name": { + "include": [ + "refs/heads/main", + "refs/heads/master" + ], + "exclude": [ + "refs/heads/dev*" + ] + } + }, + "rules": [ + { + "type": "commit_author_email_pattern", + "parameters": { + "operator": "contains", + "pattern": "github" + } + } + ] + } + } + ] + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "rules" + } + } + }, "/repos/{owner}/{repo}/secret-scanning/alerts": { "get": { "summary": "List secret scanning alerts for a repository", diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index f8ccb00cb..57223c813 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -897,7 +897,7 @@ paths: - subscriptions_url - type - url - type: &236 + type: &237 type: string description: The type of credit the user is receiving. enum: @@ -1063,7 +1063,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &550 + - &553 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -8852,7 +8852,7 @@ paths: - development - runtime - - security_advisory: &404 + security_advisory: &405 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9120,7 +9120,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &405 + auto_dismissed_at: &406 type: - string - 'null' @@ -9494,7 +9494,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &227 + - &228 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9505,7 +9505,7 @@ paths: enum: - open - resolved - - &228 + - &229 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -9515,7 +9515,7 @@ paths: required: false schema: type: string - - &229 + - &230 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9524,7 +9524,7 @@ paths: required: false schema: type: string - - &230 + - &231 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. @@ -9540,7 +9540,7 @@ paths: - *17 - *37 - *38 - - &231 + - &232 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9549,7 +9549,7 @@ paths: required: false schema: type: string - - &232 + - &233 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9558,7 +9558,7 @@ paths: schema: type: boolean default: false - - &233 + - &234 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9574,7 +9574,7 @@ paths: application/json: schema: type: array - items: &234 + items: &235 type: object properties: number: *52 @@ -9590,14 +9590,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &542 + state: &545 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &543 + resolution: &546 type: - string - 'null' @@ -9696,7 +9696,7 @@ paths: description: Whether the detected secret was found in multiple repositories in the same organization or enterprise. examples: - default: &235 + default: &236 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -10149,7 +10149,7 @@ paths: milestone: anyOf: - type: 'null' - - &392 + - &393 title: Milestone description: A collection of related issues and pull requests. @@ -10413,7 +10413,7 @@ paths: - author_association - created_at - updated_at - comment: &451 + comment: &452 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -10988,7 +10988,7 @@ paths: url: type: string format: uri - user: &573 + user: &576 title: Public User description: Public User type: object @@ -14345,14 +14345,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &260 + - &261 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &261 + - &262 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14423,7 +14423,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &272 + '301': &273 description: Moved permanently content: application/json: @@ -14445,7 +14445,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &480 + - &481 name: all description: If `true`, show notifications marked as read. in: query @@ -14453,7 +14453,7 @@ paths: schema: type: boolean default: false - - &481 + - &482 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14463,7 +14463,7 @@ paths: type: boolean default: false - *64 - - &482 + - &483 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -14981,7 +14981,7 @@ paths: - url - subscription_url examples: - default: &483 + default: &484 value: - id: '1' repository: @@ -15602,7 +15602,7 @@ paths: - avatar_url - description examples: - default: &590 + default: &593 value: - login: github id: 1 @@ -16578,7 +16578,7 @@ paths: type: integer repository_cache_usages: type: array - items: &277 + items: &278 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -17496,7 +17496,7 @@ paths: - all - local_only - selected - selected_actions_url: &283 + selected_actions_url: &284 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` @@ -17586,7 +17586,7 @@ paths: type: array items: *59 examples: - default: &584 + default: &587 value: total_count: 1 repositories: @@ -17914,7 +17914,7 @@ paths: description: Response content: application/json: - schema: &287 + schema: &288 type: object properties: default_workflow_permissions: &108 @@ -17965,7 +17965,7 @@ paths: required: false content: application/json: - schema: &288 + schema: &289 type: object properties: default_workflow_permissions: *108 @@ -18458,7 +18458,7 @@ paths: type: array items: *115 examples: - default: &576 + default: &579 value: total_count: 1 repositories: @@ -19105,7 +19105,7 @@ paths: application/json: schema: type: array - items: &289 + items: &290 title: Runner Application description: Runner Application type: object @@ -19130,7 +19130,7 @@ paths: - download_url - filename examples: - default: &290 + default: &291 value: - os: osx architecture: x64 @@ -19216,7 +19216,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &291 + '201': &292 description: Response content: application/json: @@ -19331,7 +19331,7 @@ paths: - token - expires_at examples: - default: &292 + default: &293 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -19370,7 +19370,7 @@ paths: application/json: schema: *119 examples: - default: &293 + default: &294 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -19404,7 +19404,7 @@ paths: application/json: schema: *117 examples: - default: &294 + default: &295 value: id: 23 name: MBP @@ -19629,7 +19629,7 @@ paths: - *90 - *116 responses: - '200': &295 + '200': &296 description: Response content: application/json: @@ -19686,7 +19686,7 @@ paths: parameters: - *90 - *116 - - &296 + - &297 name: name description: The name of a self-hosted runner's custom label. in: path @@ -19818,7 +19818,7 @@ paths: description: Response content: application/json: - schema: &308 + schema: &309 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -19853,7 +19853,7 @@ paths: - key_id - key examples: - default: &309 + default: &310 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -20266,7 +20266,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *90 - - &282 + - &283 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)." @@ -20798,7 +20798,7 @@ paths: bundle_url: type: string examples: - default: &322 + default: &323 value: attestations: - bundle: @@ -21035,7 +21035,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *90 - - &347 + - &348 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`, @@ -21045,7 +21045,7 @@ paths: schema: &131 type: string description: The name of the tool used to generate the code scanning analysis. - - &348 + - &349 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 @@ -21069,7 +21069,7 @@ paths: be returned. in: query required: false - schema: &350 + schema: &351 type: string description: State of a code scanning alert. enum: @@ -21092,7 +21092,7 @@ paths: be returned. in: query required: false - schema: &351 + schema: &352 type: string description: Severity of a code scanning alert. enum: @@ -21118,7 +21118,7 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: &352 + instances_url: &353 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -21140,7 +21140,7 @@ paths: - type: 'null' - *4 dismissed_at: *130 - dismissed_reason: &353 + dismissed_reason: &354 type: - string - 'null' @@ -21151,14 +21151,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &354 + dismissed_comment: &355 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &355 + rule: &356 type: object properties: id: @@ -21219,7 +21219,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &356 + tool: &357 type: object properties: name: *131 @@ -21230,15 +21230,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *132 - most_recent_instance: &357 + most_recent_instance: &358 type: object properties: - ref: &349 + ref: &350 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &367 + analysis_key: &368 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -21249,7 +21249,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &368 + category: &369 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -22468,7 +22468,7 @@ paths: machine: anyOf: - type: 'null' - - &380 + - &381 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -23420,7 +23420,7 @@ paths: - updated_at - visibility examples: - default: &381 + default: &382 value: total_count: 2 secrets: @@ -23458,7 +23458,7 @@ paths: description: Response content: application/json: - schema: &382 + schema: &383 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -23493,7 +23493,7 @@ paths: - key_id - key examples: - default: &383 + default: &384 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23525,7 +23525,7 @@ paths: application/json: schema: *141 examples: - default: &385 + default: &386 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -24722,7 +24722,7 @@ paths: application/json: schema: type: array - items: &240 + items: &241 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -25037,7 +25037,7 @@ paths: - date additionalProperties: true examples: - default: &241 + default: &242 value: - date: '2024-06-24' total_active_users: 24 @@ -25139,7 +25139,7 @@ paths: '500': *140 '403': *27 '404': *6 - '422': &242 + '422': &243 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -25207,7 +25207,7 @@ paths: application/json: schema: type: array - items: &243 + items: &244 title: Copilot Usage Metrics description: Summary of Copilot usage. type: object @@ -25295,7 +25295,7 @@ paths: - breakdown additionalProperties: false examples: - default: &244 + default: &245 value: - day: '2023-10-15' total_suggestions_count: 1000 @@ -25530,7 +25530,7 @@ paths: description: Response content: application/json: - schema: &408 + schema: &409 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -25549,7 +25549,7 @@ paths: - key_id - key examples: - default: &409 + default: &410 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27370,7 +27370,7 @@ paths: application/json: schema: *20 examples: - default: &447 + default: &448 value: id: 1 account: @@ -27598,7 +27598,7 @@ paths: required: true content: application/json: - schema: &448 + schema: &449 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -28210,7 +28210,7 @@ paths: application/json: schema: *184 examples: - default: &379 + default: &380 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -29448,7 +29448,7 @@ paths: parameters: - *90 - *191 - - &589 + - &592 name: repo_name description: repo_name parameter in: path @@ -30491,7 +30491,7 @@ paths: - nuget - container - *90 - - &591 + - &594 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -30532,7 +30532,7 @@ paths: default: *198 '403': *27 '401': *23 - '400': &593 + '400': &596 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -32396,7 +32396,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &269 + '410': &270 description: Gone content: application/json: @@ -33307,7 +33307,7 @@ paths: description: Response content: application/json: - schema: &271 + schema: &272 title: Full Repository description: Full Repository type: object @@ -33772,7 +33772,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &398 + code_of_conduct: &399 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -33886,7 +33886,7 @@ paths: - network_count - subscribers_count examples: - default: &273 + default: &274 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -34407,7 +34407,7 @@ paths: - *90 - *17 - *19 - - &529 + - &530 name: targets description: | A comma-separated list of rule targets to filter by. @@ -34693,7 +34693,7 @@ paths: type: object description: A repository rule. oneOf: - - &511 + - &512 title: creation description: Only allow users with bypass permission to create matching refs. @@ -34705,7 +34705,7 @@ paths: type: string enum: - creation - - &512 + - &513 title: update description: Only allow users with bypass permission to update matching refs. @@ -34726,7 +34726,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &514 + - &515 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -34738,7 +34738,7 @@ paths: type: string enum: - deletion - - &515 + - &516 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -34750,7 +34750,7 @@ paths: type: string enum: - required_linear_history - - &516 + - &517 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -34828,7 +34828,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &517 + - &518 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -34852,7 +34852,7 @@ paths: type: string required: - required_deployment_environments - - &518 + - &519 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -34864,7 +34864,7 @@ paths: type: string enum: - required_signatures - - &519 + - &520 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -34917,7 +34917,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &520 + - &521 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -34965,7 +34965,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &521 + - &522 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -34977,7 +34977,7 @@ paths: type: string enum: - non_fast_forward - - &522 + - &523 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -35013,7 +35013,7 @@ paths: required: - operator - pattern - - &523 + - &524 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -35049,7 +35049,7 @@ paths: required: - operator - pattern - - &524 + - &525 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -35085,7 +35085,7 @@ paths: required: - operator - pattern - - &525 + - &526 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -35121,7 +35121,7 @@ paths: required: - operator - pattern - - &526 + - &527 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -35247,7 +35247,7 @@ paths: maximum: 100 required: - max_file_size - - &527 + - &528 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -35297,7 +35297,7 @@ paths: - repository_id required: - workflows - - &528 + - &529 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -35535,7 +35535,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *90 - - &530 + - &531 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -35550,7 +35550,7 @@ paths: in: query schema: type: string - - &531 + - &532 name: time_period description: |- The time period to filter by. @@ -35566,14 +35566,14 @@ paths: - week - month default: day - - &532 + - &533 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &533 + - &534 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -35593,7 +35593,7 @@ paths: description: Response content: application/json: - schema: &534 + schema: &535 title: Rule Suites description: Response type: array @@ -35649,7 +35649,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &535 + default: &536 value: - id: 21 actor_id: 12 @@ -35693,7 +35693,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *90 - - &536 + - &537 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -35709,7 +35709,7 @@ paths: description: Response content: application/json: - schema: &537 + schema: &538 title: Rule Suite description: Response type: object @@ -35816,7 +35816,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &538 + default: &539 value: id: 21 actor_id: 12 @@ -36011,6 +36011,165 @@ paths: description: Response '404': *6 '500': *140 + "/orgs/{org}/rulesets/{ruleset_id}/history": + get: + summary: Get organization ruleset history + description: Get the history of an organization ruleset. + tags: + - orgs + operationId: orgs/get-org-ruleset-history + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history + parameters: + - *90 + - *17 + - *19 + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: &227 + title: Ruleset version + type: object + description: The historical version of a ruleset + required: + - version_id + - actor + - updated_at + properties: + version_id: + type: integer + description: The ID of the previous version of the ruleset + actor: + type: object + description: The actor who updated the ruleset + properties: + id: + type: integer + type: + type: string + updated_at: + type: string + format: date-time + examples: + default: &541 + value: + - version_id: 3 + actor: + id: 1 + type: User + updated_at: 2024-010-23T16:29:47Z + - version_id: 2 + actor: + id: 2 + type: User + updated_at: '2024-09-23T16:29:47Z' + - version_id: 1 + actor: + id: 1 + type: User + updated_at: '2024-08-23T16:29:47Z' + '404': *6 + '500': *140 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: rules + "/orgs/{org}/rulesets/{ruleset_id}/history/{version_id}": + get: + summary: Get organization ruleset version + description: Get a version of an organization ruleset. + tags: + - orgs + operationId: orgs/get-org-ruleset-version + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version + parameters: + - *90 + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + - name: version_id + description: The ID of the version + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: &542 + allOf: + - *227 + - type: object + required: + - state + properties: + state: + type: object + description: The state of the ruleset version + examples: + default: + value: + - version_id: 3 + actor: + id: 1 + type: User + updated_at: 2024-010-23T16:29:47Z + state: + id: 21 + name: super cool ruleset + target: branch + source_type: Organization + source: my-org + enforcement: active + bypass_actors: + - actor_id: 234 + actor_type: Team + bypass_mode: always + conditions: + ref_name: + include: + - refs/heads/main + - refs/heads/master + exclude: + - refs/heads/dev* + repository_name: + include: + - important_repository + - another_important_repository + exclude: + - unimportant_repository + protected: true + rules: + - type: commit_author_email_pattern + parameters: + operator: contains + pattern: github + '404': *6 + '500': *140 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: rules "/orgs/{org}/secret-scanning/alerts": get: summary: List secret scanning alerts for an organization @@ -36028,14 +36187,14 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *90 - - *227 - *228 - *229 - *230 + - *231 - *46 - *19 - *17 - - &540 + - &543 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -36045,7 +36204,7 @@ paths: required: false schema: type: string - - &541 + - &544 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -36055,9 +36214,9 @@ paths: required: false schema: type: string - - *231 - *232 - *233 + - *234 responses: '200': description: Response @@ -36065,9 +36224,9 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: *235 + default: *236 headers: Link: *57 '404': *6 @@ -36137,7 +36296,7 @@ paths: application/json: schema: type: array - items: &548 + items: &551 description: A repository security advisory. type: object properties: @@ -36381,7 +36540,7 @@ paths: login: type: string description: The username of the user credited. - type: *236 + type: *237 credits_detailed: type: - array @@ -36392,7 +36551,7 @@ paths: type: object properties: user: *4 - type: *236 + type: *237 state: type: string description: The state of the user's acceptance of the @@ -36456,7 +36615,7 @@ paths: - private_fork additionalProperties: false examples: - default: &549 + default: &552 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -36930,7 +37089,7 @@ paths: description: Response content: application/json: - schema: &607 + schema: &610 type: object properties: total_minutes_used: @@ -37000,7 +37159,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &608 + default: &611 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -37036,7 +37195,7 @@ paths: description: Response content: application/json: - schema: &609 + schema: &612 type: object properties: total_gigabytes_bandwidth_used: @@ -37054,7 +37213,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &610 + default: &613 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -37086,7 +37245,7 @@ paths: description: Response content: application/json: - schema: &611 + schema: &614 type: object properties: days_left_in_billing_cycle: @@ -37104,7 +37263,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &612 + default: &615 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -37146,7 +37305,7 @@ paths: type: integer network_configurations: type: array - items: &237 + items: &238 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -37271,9 +37430,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: - default: &238 + default: &239 value: id: 123456789ABCDEF name: My network configuration @@ -37302,7 +37461,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *90 - - &239 + - &240 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -37314,9 +37473,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: - default: *238 + default: *239 headers: Link: *57 x-github: @@ -37338,7 +37497,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *90 - - *239 + - *240 requestBody: required: true content: @@ -37377,9 +37536,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: - default: *238 + default: *239 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37399,7 +37558,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *90 - - *239 + - *240 responses: '204': description: Response @@ -37544,13 +37703,13 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: - default: *241 + default: *242 '500': *140 '403': *27 '404': *6 - '422': *242 + '422': *243 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37617,9 +37776,9 @@ paths: application/json: schema: type: array - items: *243 + items: *244 examples: - default: *244 + default: *245 '500': *140 '401': *23 '403': *27 @@ -37747,7 +37906,7 @@ paths: description: Response content: application/json: - schema: &245 + schema: &246 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -38127,7 +38286,7 @@ paths: - repos_count - organization examples: - default: &246 + default: &247 value: id: 1 node_id: MDQ6VGVhbTE= @@ -38204,9 +38363,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *246 examples: - default: *246 + default: *247 '404': *6 x-github: githubCloudOnly: false @@ -38291,16 +38450,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *245 + schema: *246 examples: - default: *246 + default: *247 '201': description: Response content: application/json: - schema: *245 + schema: *246 examples: - default: *246 + default: *247 '404': *6 '422': *15 '403': *27 @@ -38370,7 +38529,7 @@ paths: application/json: schema: type: array - items: &247 + items: &248 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -38481,7 +38640,7 @@ paths: - updated_at - url examples: - default: &563 + default: &566 value: - author: login: octocat @@ -38590,9 +38749,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: &248 + default: &249 value: author: login: octocat @@ -38666,7 +38825,7 @@ paths: parameters: - *90 - *192 - - &249 + - &250 name: discussion_number description: The number that identifies the discussion. in: path @@ -38678,9 +38837,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38704,7 +38863,7 @@ paths: parameters: - *90 - *192 - - *249 + - *250 requestBody: required: false content: @@ -38727,9 +38886,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: &564 + default: &567 value: author: login: octocat @@ -38801,7 +38960,7 @@ paths: parameters: - *90 - *192 - - *249 + - *250 responses: '204': description: Response @@ -38829,7 +38988,7 @@ paths: parameters: - *90 - *192 - - *249 + - *250 - *46 - *17 - *19 @@ -38840,7 +38999,7 @@ paths: application/json: schema: type: array - items: &250 + items: &251 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -38920,7 +39079,7 @@ paths: - updated_at - url examples: - default: &565 + default: &568 value: - author: login: octocat @@ -38990,7 +39149,7 @@ paths: parameters: - *90 - *192 - - *249 + - *250 requestBody: required: true content: @@ -39012,9 +39171,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: &251 + default: &252 value: author: login: octocat @@ -39082,8 +39241,8 @@ paths: parameters: - *90 - *192 - - *249 - - &252 + - *250 + - &253 name: comment_number description: The number that identifies the comment. in: path @@ -39095,9 +39254,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39121,8 +39280,8 @@ paths: parameters: - *90 - *192 - - *249 - - *252 + - *250 + - *253 requestBody: required: true content: @@ -39144,9 +39303,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: &566 + default: &569 value: author: login: octocat @@ -39212,8 +39371,8 @@ paths: parameters: - *90 - *192 - - *249 - - *252 + - *250 + - *253 responses: '204': description: Response @@ -39241,8 +39400,8 @@ paths: parameters: - *90 - *192 - - *249 - - *252 + - *250 + - *253 - 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. @@ -39268,7 +39427,7 @@ paths: application/json: schema: type: array - items: &253 + items: &254 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -39312,7 +39471,7 @@ paths: - content - created_at examples: - default: &255 + default: &256 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -39364,8 +39523,8 @@ paths: parameters: - *90 - *192 - - *249 - - *252 + - *250 + - *253 requestBody: required: true content: @@ -39398,9 +39557,9 @@ paths: team discussion comment content: application/json: - schema: *253 + schema: *254 examples: - default: &254 + default: &255 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -39429,9 +39588,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39456,9 +39615,9 @@ paths: parameters: - *90 - *192 - - *249 - - *252 - - &256 + - *250 + - *253 + - &257 name: reaction_id description: The unique identifier of the reaction. in: path @@ -39492,7 +39651,7 @@ paths: parameters: - *90 - *192 - - *249 + - *250 - 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. @@ -39518,9 +39677,9 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: *255 + default: *256 headers: Link: *57 x-github: @@ -39548,7 +39707,7 @@ paths: parameters: - *90 - *192 - - *249 + - *250 requestBody: required: true content: @@ -39580,16 +39739,16 @@ paths: description: Response content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 '201': description: Response content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39614,8 +39773,8 @@ paths: parameters: - *90 - *192 - - *249 - - *256 + - *250 + - *257 responses: '204': description: Response @@ -39736,7 +39895,7 @@ paths: description: Response content: application/json: - schema: &257 + schema: &258 title: Team Membership description: Team Membership type: object @@ -39764,7 +39923,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &567 + response-if-user-is-a-team-maintainer: &570 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -39827,9 +39986,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *258 examples: - response-if-users-membership-with-team-is-now-pending: &568 + response-if-users-membership-with-team-is-now-pending: &571 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -39903,7 +40062,7 @@ paths: application/json: schema: type: array - items: &258 + items: &259 title: Team Project description: A team's access to a project. type: object @@ -39972,7 +40131,7 @@ paths: - updated_at - permissions examples: - default: &569 + default: &572 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -40035,7 +40194,7 @@ paths: parameters: - *90 - *192 - - &259 + - &260 name: project_id description: The unique identifier of the project. in: path @@ -40047,9 +40206,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - default: &570 + default: &573 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -40111,7 +40270,7 @@ paths: parameters: - *90 - *192 - - *259 + - *260 requestBody: required: false content: @@ -40178,7 +40337,7 @@ paths: parameters: - *90 - *192 - - *259 + - *260 responses: '204': description: Response @@ -40246,14 +40405,14 @@ paths: parameters: - *90 - *192 - - *260 - *261 + - *262 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &571 + schema: &574 title: Team Repository description: A team's access to a repository. type: object @@ -40896,8 +41055,8 @@ paths: parameters: - *90 - *192 - - *260 - *261 + - *262 requestBody: required: false content: @@ -40944,8 +41103,8 @@ paths: parameters: - *90 - *192 - - *260 - *261 + - *262 responses: '204': description: Response @@ -40982,7 +41141,7 @@ paths: type: array items: *180 examples: - response-if-child-teams-exist: &572 + response-if-child-teams-exist: &575 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -41109,7 +41268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#get-a-project-card parameters: - - &262 + - &263 name: card_id description: The unique identifier of the card. in: path @@ -41121,7 +41280,7 @@ paths: description: Response content: application/json: - schema: &263 + schema: &264 title: Project Card description: Project cards represent a scope of work. type: object @@ -41196,7 +41355,7 @@ paths: - created_at - updated_at examples: - default: &264 + default: &265 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -41252,7 +41411,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#update-an-existing-project-card parameters: - - *262 + - *263 requestBody: required: false content: @@ -41282,9 +41441,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *264 examples: - default: *264 + default: *265 '304': *35 '403': *27 '401': *23 @@ -41311,7 +41470,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#delete-a-project-card parameters: - - *262 + - *263 responses: '204': description: Response @@ -41355,7 +41514,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#move-a-project-card parameters: - - *262 + - *263 requestBody: required: true content: @@ -41468,7 +41627,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#get-a-project-column parameters: - - &265 + - &266 name: column_id description: The unique identifier of the column. in: path @@ -41480,7 +41639,7 @@ paths: description: Response content: application/json: - schema: &266 + schema: &267 title: Project Column description: Project columns contain cards of work. type: object @@ -41534,7 +41693,7 @@ paths: - created_at - updated_at examples: - default: &267 + default: &268 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -41569,7 +41728,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#update-an-existing-project-column parameters: - - *265 + - *266 requestBody: required: true content: @@ -41594,9 +41753,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 '304': *35 '403': *27 '401': *23 @@ -41621,7 +41780,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#delete-a-project-column parameters: - - *265 + - *266 responses: '204': description: Response @@ -41650,7 +41809,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#list-project-cards parameters: - - *265 + - *266 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -41671,7 +41830,7 @@ paths: application/json: schema: type: array - items: *263 + items: *264 examples: default: value: @@ -41730,7 +41889,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#create-a-project-card parameters: - - *265 + - *266 requestBody: required: true content: @@ -41774,9 +41933,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *264 examples: - default: *264 + default: *265 '304': *35 '403': *27 '401': *23 @@ -41832,7 +41991,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#move-a-project-column parameters: - - *265 + - *266 requestBody: required: true content: @@ -41893,7 +42052,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-a-project parameters: - - *259 + - *260 responses: '200': description: Response @@ -41901,7 +42060,7 @@ paths: application/json: schema: *212 examples: - default: &268 + default: &269 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -41958,7 +42117,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#update-a-project parameters: - - *259 + - *260 requestBody: required: false content: @@ -42009,7 +42168,7 @@ paths: application/json: schema: *212 examples: - default: *268 + default: *269 '404': description: Not Found if the authenticated user does not have access to the project @@ -42030,7 +42189,7 @@ paths: items: type: string '401': *23 - '410': *269 + '410': *270 '422': *7 x-github: githubCloudOnly: false @@ -42053,7 +42212,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#delete-a-project parameters: - - *259 + - *260 responses: '204': description: Delete Success @@ -42074,7 +42233,7 @@ paths: items: type: string '401': *23 - '410': *269 + '410': *270 '404': *6 x-github: githubCloudOnly: false @@ -42098,7 +42257,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#list-project-collaborators parameters: - - *259 + - *260 - 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 @@ -42155,7 +42314,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - - *259 + - *260 - *128 requestBody: required: false @@ -42210,7 +42369,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *259 + - *260 - *128 responses: '204': @@ -42242,7 +42401,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *259 + - *260 - *128 responses: '200': @@ -42313,7 +42472,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#list-project-columns parameters: - - *259 + - *260 - *17 - *19 responses: @@ -42323,7 +42482,7 @@ paths: application/json: schema: type: array - items: *266 + items: *267 examples: default: value: @@ -42361,7 +42520,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#create-a-project-column parameters: - - *259 + - *260 requestBody: required: true content: @@ -42385,7 +42544,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *267 examples: default: value: @@ -42449,7 +42608,7 @@ paths: resources: type: object properties: - core: &270 + core: &271 title: Rate Limit type: object properties: @@ -42466,20 +42625,20 @@ paths: - remaining - reset - used - graphql: *270 - search: *270 - code_search: *270 - source_import: *270 - integration_manifest: *270 - code_scanning_upload: *270 - actions_runner_registration: *270 - scim: *270 - dependency_snapshots: *270 - code_scanning_autofix: *270 + graphql: *271 + search: *271 + code_search: *271 + source_import: *271 + integration_manifest: *271 + code_scanning_upload: *271 + actions_runner_registration: *271 + scim: *271 + dependency_snapshots: *271 + code_scanning_autofix: *271 required: - core - search - rate: *270 + rate: *271 required: - rate - resources @@ -42583,14 +42742,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *260 - *261 + - *262 responses: '200': description: Response content: application/json: - schema: *271 + schema: *272 examples: default-response: summary: Default response @@ -43091,7 +43250,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *272 + '301': *273 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43109,8 +43268,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *260 - *261 + - *262 requestBody: required: false content: @@ -43347,10 +43506,10 @@ paths: description: Response content: application/json: - schema: *271 + schema: *272 examples: - default: *273 - '307': &274 + default: *274 + '307': &275 description: Temporary Redirect content: application/json: @@ -43379,8 +43538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *260 - *261 + - *262 responses: '204': description: Response @@ -43402,7 +43561,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *274 + '307': *275 '404': *6 x-github: githubCloudOnly: false @@ -43425,11 +43584,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *260 - *261 + - *262 - *17 - *19 - - &300 + - &301 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -43452,7 +43611,7 @@ paths: type: integer artifacts: type: array - items: &275 + items: &276 title: Artifact description: An artifact type: object @@ -43538,7 +43697,7 @@ paths: - expires_at - updated_at examples: - default: &301 + default: &302 value: total_count: 2 artifacts: @@ -43597,9 +43756,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *260 - *261 - - &276 + - *262 + - &277 name: artifact_id description: The unique identifier of the artifact. in: path @@ -43611,7 +43770,7 @@ paths: description: Response content: application/json: - schema: *275 + schema: *276 examples: default: value: @@ -43648,9 +43807,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *260 - *261 - - *276 + - *262 + - *277 responses: '204': description: Response @@ -43674,9 +43833,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *260 - *261 - - *276 + - *262 + - *277 - name: archive_format in: path required: true @@ -43690,7 +43849,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': *269 + '410': *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43713,14 +43872,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *260 - *261 + - *262 responses: '200': description: Response content: application/json: - schema: *277 + schema: *278 examples: default: value: @@ -43746,11 +43905,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *260 - *261 + - *262 - *17 - *19 - - &278 + - &279 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 @@ -43784,7 +43943,7 @@ paths: description: Response content: application/json: - schema: &279 + schema: &280 title: Repository actions caches description: Repository actions caches type: object @@ -43834,7 +43993,7 @@ paths: - total_count - actions_caches examples: - default: &280 + default: &281 value: total_count: 1 actions_caches: @@ -43866,23 +44025,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: - - *260 - *261 + - *262 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *278 + - *279 responses: '200': description: Response content: application/json: - schema: *279 + schema: *280 examples: - default: *280 + default: *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43902,8 +44061,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: - - *260 - *261 + - *262 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -43934,9 +44093,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *260 - *261 - - &281 + - *262 + - &282 name: job_id description: The unique identifier of the job. in: path @@ -43948,7 +44107,7 @@ paths: description: Response content: application/json: - schema: &304 + schema: &305 title: Job description: Information of a job execution in a workflow run type: object @@ -44295,9 +44454,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *260 - *261 - - *281 + - *262 + - *282 responses: '302': description: Response @@ -44325,9 +44484,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *260 - *261 - - *281 + - *262 + - *282 requestBody: required: false content: @@ -44373,8 +44532,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: - - *260 - *261 + - *262 responses: '200': description: Status response @@ -44424,8 +44583,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: - - *260 - *261 + - *262 requestBody: required: true content: @@ -44488,8 +44647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -44507,7 +44666,7 @@ paths: type: integer secrets: type: array - items: &306 + items: &307 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -44528,7 +44687,7 @@ paths: - created_at - updated_at examples: - default: &307 + default: &308 value: total_count: 2 secrets: @@ -44561,9 +44720,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *260 - *261 - - *282 + - *262 + - *283 - *19 responses: '200': @@ -44580,7 +44739,7 @@ paths: type: integer variables: type: array - items: &310 + items: &311 title: Actions Variable type: object properties: @@ -44614,7 +44773,7 @@ paths: - created_at - updated_at examples: - default: &311 + default: &312 value: total_count: 2 variables: @@ -44647,8 +44806,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -44657,11 +44816,11 @@ paths: schema: type: object properties: - enabled: &284 + enabled: &285 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *104 - selected_actions_url: *283 + selected_actions_url: *284 required: - enabled examples: @@ -44688,8 +44847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *260 - *261 + - *262 responses: '204': description: Response @@ -44700,7 +44859,7 @@ paths: schema: type: object properties: - enabled: *284 + enabled: *285 allowed_actions: *104 required: - enabled @@ -44730,14 +44889,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: - - *260 - *261 + - *262 responses: '200': description: Response content: application/json: - schema: &285 + schema: &286 type: object properties: access_level: @@ -44754,7 +44913,7 @@ paths: required: - access_level examples: - default: &286 + default: &287 value: access_level: organization x-github: @@ -44778,15 +44937,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: - - *260 - *261 + - *262 requestBody: required: true content: application/json: - schema: *285 + schema: *286 examples: - default: *286 + default: *287 responses: '204': description: Response @@ -44810,8 +44969,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -44838,8 +44997,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *260 - *261 + - *262 responses: '204': description: Response @@ -44871,14 +45030,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *260 - *261 + - *262 responses: '200': description: Response content: application/json: - schema: *287 + schema: *288 examples: default: *110 x-github: @@ -44901,8 +45060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *260 - *261 + - *262 responses: '204': description: Success response @@ -44913,7 +45072,7 @@ paths: required: true content: application/json: - schema: *288 + schema: *289 examples: default: *110 x-github: @@ -44942,8 +45101,8 @@ paths: in: query schema: type: string - - *260 - *261 + - *262 - *17 - *19 responses: @@ -44987,8 +45146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -44996,9 +45155,9 @@ paths: application/json: schema: type: array - items: *289 + items: *290 examples: - default: *290 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45020,8 +45179,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: - - *260 - *261 + - *262 requestBody: required: true content: @@ -45064,7 +45223,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *291 + '201': *292 '404': *6 '422': *7 '409': *44 @@ -45095,8 +45254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *260 - *261 + - *262 responses: '201': description: Response @@ -45104,7 +45263,7 @@ paths: application/json: schema: *119 examples: - default: *292 + default: *293 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45132,8 +45291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *260 - *261 + - *262 responses: '201': description: Response @@ -45141,7 +45300,7 @@ paths: application/json: schema: *119 examples: - default: *293 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45163,8 +45322,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: - - *260 - *261 + - *262 - *116 responses: '200': @@ -45173,7 +45332,7 @@ paths: application/json: schema: *117 examples: - default: *294 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45194,8 +45353,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: - - *260 - *261 + - *262 - *116 responses: '204': @@ -45221,8 +45380,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: - - *260 - *261 + - *262 - *116 responses: '200': *121 @@ -45247,8 +45406,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: - - *260 - *261 + - *262 - *116 requestBody: required: true @@ -45297,8 +45456,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: - - *260 - *261 + - *262 - *116 requestBody: required: true @@ -45348,11 +45507,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: - - *260 - *261 + - *262 - *116 responses: - '200': *295 + '200': *296 '404': *6 x-github: githubCloudOnly: false @@ -45379,10 +45538,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: - - *260 - *261 + - *262 - *116 - - *296 + - *297 responses: '200': *121 '404': *6 @@ -45410,9 +45569,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *260 - *261 - - &314 + - *262 + - &315 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. @@ -45420,7 +45579,7 @@ paths: required: false schema: type: string - - &315 + - &316 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -45428,7 +45587,7 @@ paths: required: false schema: type: string - - &316 + - &317 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -45437,7 +45596,7 @@ paths: required: false schema: type: string - - &317 + - &318 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 @@ -45464,7 +45623,7 @@ paths: - pending - *17 - *19 - - &318 + - &319 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)." @@ -45473,7 +45632,7 @@ paths: schema: type: string format: date-time - - &297 + - &298 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -45482,13 +45641,13 @@ paths: schema: type: boolean default: false - - &319 + - &320 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &320 + - &321 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -45511,7 +45670,7 @@ paths: type: integer workflow_runs: type: array - items: &298 + items: &299 title: Workflow Run description: An invocation of a workflow type: object @@ -45628,7 +45787,7 @@ paths: type: - array - 'null' - items: &339 + items: &340 title: Pull Request Minimal type: object properties: @@ -45755,7 +45914,7 @@ paths: head_commit: anyOf: - type: 'null' - - &343 + - &344 title: Simple Commit description: A commit. type: object @@ -45870,7 +46029,7 @@ paths: - workflow_url - pull_requests examples: - default: &321 + default: &322 value: total_count: 1 workflow_runs: @@ -46106,24 +46265,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *260 - *261 - - &299 + - *262 + - &300 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *297 + - *298 responses: '200': description: Response content: application/json: - schema: *298 + schema: *299 examples: - default: &302 + default: &303 value: id: 30433642 name: Build @@ -46364,9 +46523,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *260 - *261 - - *299 + - *262 + - *300 responses: '204': description: Response @@ -46389,9 +46548,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *260 - *261 - - *299 + - *262 + - *300 responses: '200': description: Response @@ -46519,9 +46678,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: - - *260 - *261 - - *299 + - *262 + - *300 responses: '201': description: Response @@ -46554,12 +46713,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *260 - *261 - - *299 + - *262 + - *300 - *17 - *19 - - *300 + - *301 responses: '200': description: Response @@ -46575,9 +46734,9 @@ paths: type: integer artifacts: type: array - items: *275 + items: *276 examples: - default: *301 + default: *302 headers: Link: *57 x-github: @@ -46601,25 +46760,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *260 - *261 - - *299 - - &303 + - *262 + - *300 + - &304 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *297 + - *298 responses: '200': description: Response content: application/json: - schema: *298 + schema: *299 examples: - default: *302 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46642,10 +46801,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *260 - *261 - - *299 - - *303 + - *262 + - *300 + - *304 - *17 - *19 responses: @@ -46663,9 +46822,9 @@ paths: type: integer jobs: type: array - items: *304 + items: *305 examples: - default: &305 + default: &306 value: total_count: 1 jobs: @@ -46778,10 +46937,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *260 - *261 - - *299 - - *303 + - *262 + - *300 + - *304 responses: '302': description: Response @@ -46809,9 +46968,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *260 - *261 - - *299 + - *262 + - *300 responses: '202': description: Response @@ -46844,9 +47003,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: - - *260 - *261 - - *299 + - *262 + - *300 requestBody: required: true content: @@ -46913,9 +47072,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *260 - *261 - - *299 + - *262 + - *300 responses: '202': description: Response @@ -46948,9 +47107,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *260 - *261 - - *299 + - *262 + - *300 - 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 @@ -46980,9 +47139,9 @@ paths: type: integer jobs: type: array - items: *304 + items: *305 examples: - default: *305 + default: *306 headers: Link: *57 x-github: @@ -47007,9 +47166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *260 - *261 - - *299 + - *262 + - *300 responses: '302': description: Response @@ -47036,9 +47195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *260 - *261 - - *299 + - *262 + - *300 responses: '204': description: Response @@ -47065,9 +47224,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *260 - *261 - - *299 + - *262 + - *300 responses: '200': description: Response @@ -47136,7 +47295,7 @@ paths: items: type: object properties: - type: &417 + type: &418 type: string description: The type of reviewer. enum: @@ -47222,9 +47381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *260 - *261 - - *299 + - *262 + - *300 requestBody: required: true content: @@ -47274,7 +47433,7 @@ paths: application/json: schema: type: array - items: &412 + items: &413 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -47386,7 +47545,7 @@ paths: - created_at - updated_at examples: - default: &413 + default: &414 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -47442,9 +47601,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *260 - *261 - - *299 + - *262 + - *300 requestBody: required: false content: @@ -47489,9 +47648,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *260 - *261 - - *299 + - *262 + - *300 requestBody: required: false content: @@ -47525,12 +47684,19 @@ paths: "/repos/{owner}/{repo}/actions/runs/{run_id}/timing": get: summary: Get workflow run usage - description: |- - Gets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - Anyone with read access to the repository can use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + description: "> [!WARNING] \n> This endpoint is in the process of closing down. + Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints + closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" + for more information.\n\nGets the number of billable minutes and total run + time for a specific workflow run. Billable minutes only apply to workflows + in private repositories that use GitHub-hosted runners. Usage is listed for + each GitHub-hosted runner operating system in milliseconds. Any job re-runs + are also included in the usage. The usage does not include the multiplier + for macOS and Windows runners and is not rounded up to the nearest whole minute. + For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAnyone + with read access to the repository can use this endpoint.\n\nOAuth app tokens + and personal access tokens (classic) need the `repo` scope to use this endpoint + with a private repository." tags: - actions operationId: actions/get-workflow-run-usage @@ -47538,9 +47704,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *260 - *261 - - *299 + - *262 + - *300 responses: '200': description: Response @@ -47677,8 +47843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -47696,9 +47862,9 @@ paths: type: integer secrets: type: array - items: *306 + items: *307 examples: - default: *307 + default: *308 headers: Link: *57 x-github: @@ -47723,16 +47889,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *260 - *261 + - *262 responses: '200': description: Response content: application/json: - schema: *308 + schema: *309 examples: - default: *309 + default: *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47754,17 +47920,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *260 - *261 + - *262 - *123 responses: '200': description: Response content: application/json: - schema: *306 + schema: *307 examples: - default: &430 + default: &431 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -47790,8 +47956,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *260 - *261 + - *262 - *123 requestBody: required: true @@ -47849,8 +48015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *260 - *261 + - *262 - *123 responses: '204': @@ -47876,9 +48042,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *260 - *261 - - *282 + - *262 + - *283 - *19 responses: '200': @@ -47895,9 +48061,9 @@ paths: type: integer variables: type: array - items: *310 + items: *311 examples: - default: *311 + default: *312 headers: Link: *57 x-github: @@ -47920,8 +48086,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -47973,17 +48139,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *260 - *261 + - *262 - *126 responses: '200': description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: &431 + default: &432 value: name: USERNAME value: octocat @@ -48009,8 +48175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *260 - *261 + - *262 - *126 requestBody: required: true @@ -48053,8 +48219,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *260 - *261 + - *262 - *126 responses: '204': @@ -48080,8 +48246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -48099,7 +48265,7 @@ paths: type: integer workflows: type: array - items: &312 + items: &313 title: Workflow description: A GitHub Actions workflow type: object @@ -48217,9 +48383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *260 - *261 - - &313 + - *262 + - &314 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -48234,7 +48400,7 @@ paths: description: Response content: application/json: - schema: *312 + schema: *313 examples: default: value: @@ -48267,9 +48433,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *260 - *261 - - *313 + - *262 + - *314 responses: '204': description: Response @@ -48294,9 +48460,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *260 - *261 - - *313 + - *262 + - *314 responses: '204': description: Response @@ -48347,9 +48513,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *260 - *261 - - *313 + - *262 + - *314 responses: '204': description: Response @@ -48376,19 +48542,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *260 - *261 - - *313 + - *262 - *314 - *315 - *316 - *317 + - *318 - *17 - *19 - - *318 - - *297 - *319 + - *298 - *320 + - *321 responses: '200': description: Response @@ -48404,9 +48570,9 @@ paths: type: integer workflow_runs: type: array - items: *298 + items: *299 examples: - default: *321 + default: *322 headers: Link: *57 x-github: @@ -48417,14 +48583,20 @@ paths: "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": get: summary: Get workflow usage - description: |- - Gets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. - - Anyone with read access to the repository can use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + description: "> [!WARNING] \n> This endpoint is in the process of closing down. + Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints + closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" + for more information.\n\nGets the number of billable minutes used by a specific + workflow during the current billing cycle. Billable minutes only apply to + workflows in private repositories that use GitHub-hosted runners. Usage is + listed for each GitHub-hosted runner operating system in milliseconds. Any + job re-runs are also included in the usage. The usage does not include the + multiplier for macOS and Windows runners and is not rounded up to the nearest + whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou + can replace `workflow_id` with the workflow file name. For example, you could + use `main.yaml`.\n\nAnyone with read access to the repository can use this + endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the + `repo` scope to use this endpoint with a private repository." tags: - actions operationId: actions/get-workflow-usage @@ -48432,9 +48604,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *260 - *261 - - *313 + - *262 + - *314 responses: '200': description: Response @@ -48495,8 +48667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *260 - *261 + - *262 - *46 - *17 - *37 @@ -48664,8 +48836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -48702,8 +48874,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *260 - *261 + - *262 - name: assignee in: path required: true @@ -48739,8 +48911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -48852,8 +49024,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *260 - *261 + - *262 - *17 - *37 - *38 @@ -48899,7 +49071,7 @@ paths: bundle_url: type: string examples: - default: *322 + default: *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48919,8 +49091,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -48928,7 +49100,7 @@ paths: application/json: schema: type: array - items: &323 + items: &324 title: Autolink reference description: An autolink reference. type: object @@ -48982,8 +49154,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -49022,9 +49194,9 @@ paths: description: response content: application/json: - schema: *323 + schema: *324 examples: - default: &324 + default: &325 value: id: 1 key_prefix: TICKET- @@ -49055,9 +49227,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *260 - *261 - - &325 + - *262 + - &326 name: autolink_id description: The unique identifier of the autolink. in: path @@ -49069,9 +49241,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: *324 + default: *325 '404': *6 x-github: githubCloudOnly: false @@ -49091,9 +49263,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *260 - *261 - - *325 + - *262 + - *326 responses: '204': description: Response @@ -49117,8 +49289,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: - - *260 - *261 + - *262 responses: '200': description: Response if Dependabot is enabled @@ -49168,8 +49340,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *260 - *261 + - *262 responses: '204': description: Response @@ -49190,8 +49362,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *260 - *261 + - *262 responses: '204': description: Response @@ -49211,8 +49383,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *260 - *261 + - *262 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -49250,7 +49422,7 @@ paths: - url protected: type: boolean - protection: &327 + protection: &328 title: Branch Protection description: Branch Protection type: object @@ -49293,7 +49465,7 @@ paths: required: - contexts - checks - enforce_admins: &330 + enforce_admins: &331 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -49310,7 +49482,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &332 + required_pull_request_reviews: &333 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -49394,7 +49566,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &329 + restrictions: &330 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -49719,9 +49891,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *260 - *261 - - &328 + - *262 + - &329 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). @@ -49735,14 +49907,14 @@ paths: description: Response content: application/json: - schema: &338 + schema: &339 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &388 + commit: &389 title: Commit description: Commit type: object @@ -49781,7 +49953,7 @@ paths: author: anyOf: - type: 'null' - - &326 + - &327 title: Git User description: Metaproperties for Git author/committer information. @@ -49802,7 +49974,7 @@ paths: committer: anyOf: - type: 'null' - - *326 + - *327 message: type: string examples: @@ -49826,7 +49998,7 @@ paths: required: - sha - url - verification: &437 + verification: &438 title: Verification type: object properties: @@ -49906,7 +50078,7 @@ paths: type: integer files: type: array - items: &400 + items: &401 title: Diff Entry description: Diff Entry type: object @@ -50000,7 +50172,7 @@ paths: - self protected: type: boolean - protection: *327 + protection: *328 protection_url: type: string format: uri @@ -50109,7 +50281,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *272 + '301': *273 '404': *6 x-github: githubCloudOnly: false @@ -50131,15 +50303,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '200': description: Response content: application/json: - schema: *327 + schema: *328 examples: default: value: @@ -50333,9 +50505,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *260 - *261 - - *328 + - *262 + - *329 requestBody: required: true content: @@ -50595,7 +50767,7 @@ paths: url: type: string format: uri - required_status_checks: &335 + required_status_checks: &336 title: Status Check Policy description: Status Check Policy type: object @@ -50754,7 +50926,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *329 + restrictions: *330 required_conversation_resolution: type: object properties: @@ -50866,9 +51038,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '204': description: Response @@ -50893,17 +51065,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '200': description: Response content: application/json: - schema: *330 + schema: *331 examples: - default: &331 + default: &332 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -50925,17 +51097,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '200': description: Response content: application/json: - schema: *330 + schema: *331 examples: - default: *331 + default: *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50954,9 +51126,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '204': description: Response @@ -50981,17 +51153,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '200': description: Response content: application/json: - schema: *332 + schema: *333 examples: - default: &333 + default: &334 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -51087,9 +51259,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *260 - *261 - - *328 + - *262 + - *329 requestBody: required: false content: @@ -51187,9 +51359,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *333 examples: - default: *333 + default: *334 '422': *15 x-github: githubCloudOnly: false @@ -51210,9 +51382,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '204': description: Response @@ -51239,17 +51411,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '200': description: Response content: application/json: - schema: *330 + schema: *331 examples: - default: &334 + default: &335 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -51272,17 +51444,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '200': description: Response content: application/json: - schema: *330 + schema: *331 examples: - default: *334 + default: *335 '404': *6 x-github: githubCloudOnly: false @@ -51302,9 +51474,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '204': description: Response @@ -51329,17 +51501,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '200': description: Response content: application/json: - schema: *335 + schema: *336 examples: - default: &336 + default: &337 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -51365,9 +51537,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *260 - *261 - - *328 + - *262 + - *329 requestBody: required: false content: @@ -51419,9 +51591,9 @@ paths: description: Response content: application/json: - schema: *335 + schema: *336 examples: - default: *336 + default: *337 '404': *6 '422': *15 x-github: @@ -51443,9 +51615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '204': description: Response @@ -51469,9 +51641,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '200': description: Response @@ -51505,9 +51677,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *260 - *261 - - *328 + - *262 + - *329 requestBody: required: false content: @@ -51574,9 +51746,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *260 - *261 - - *328 + - *262 + - *329 requestBody: required: false content: @@ -51640,9 +51812,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *260 - *261 - - *328 + - *262 + - *329 requestBody: content: application/json: @@ -51708,15 +51880,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '200': description: Response content: application/json: - schema: *329 + schema: *330 examples: default: value: @@ -51807,9 +51979,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '204': description: Response @@ -51832,9 +52004,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '200': description: Response @@ -51844,7 +52016,7 @@ paths: type: array items: *5 examples: - default: &337 + default: &338 value: - id: 1 slug: octoapp @@ -51901,9 +52073,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *260 - *261 - - *328 + - *262 + - *329 requestBody: required: true content: @@ -51937,7 +52109,7 @@ paths: type: array items: *5 examples: - default: *337 + default: *338 '422': *15 x-github: githubCloudOnly: false @@ -51958,9 +52130,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *260 - *261 - - *328 + - *262 + - *329 requestBody: required: true content: @@ -51994,7 +52166,7 @@ paths: type: array items: *5 examples: - default: *337 + default: *338 '422': *15 x-github: githubCloudOnly: false @@ -52015,9 +52187,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *260 - *261 - - *328 + - *262 + - *329 requestBody: required: true content: @@ -52051,7 +52223,7 @@ paths: type: array items: *5 examples: - default: *337 + default: *338 '422': *15 x-github: githubCloudOnly: false @@ -52073,9 +52245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '200': description: Response @@ -52105,9 +52277,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *260 - *261 - - *328 + - *262 + - *329 requestBody: required: false content: @@ -52166,9 +52338,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *260 - *261 - - *328 + - *262 + - *329 requestBody: required: false content: @@ -52227,9 +52399,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *260 - *261 - - *328 + - *262 + - *329 requestBody: content: application/json: @@ -52288,9 +52460,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *260 - *261 - - *328 + - *262 + - *329 responses: '200': description: Response @@ -52324,9 +52496,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *260 - *261 - - *328 + - *262 + - *329 requestBody: required: true content: @@ -52384,9 +52556,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *260 - *261 - - *328 + - *262 + - *329 requestBody: required: true content: @@ -52444,9 +52616,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *260 - *261 - - *328 + - *262 + - *329 requestBody: required: true content: @@ -52506,9 +52678,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *260 - *261 - - *328 + - *262 + - *329 requestBody: required: true content: @@ -52530,7 +52702,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *339 examples: default: value: @@ -52646,8 +52818,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -52926,7 +53098,7 @@ paths: description: Response content: application/json: - schema: &340 + schema: &341 title: CheckRun description: A check performed on the code of a given code change type: object @@ -53061,8 +53233,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *339 - deployment: &621 + items: *340 + deployment: &624 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -53349,9 +53521,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *260 - *261 - - &341 + - *262 + - &342 name: check_run_id description: The unique identifier of the check run. in: path @@ -53363,9 +53535,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *341 examples: - default: &342 + default: &343 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -53465,9 +53637,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *260 - *261 - - *341 + - *262 + - *342 requestBody: required: true content: @@ -53707,9 +53879,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *341 examples: - default: *342 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53729,9 +53901,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *260 - *261 - - *341 + - *262 + - *342 - *17 - *19 responses: @@ -53843,9 +54015,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *260 - *261 - - *341 + - *262 + - *342 responses: '201': description: Response @@ -53889,8 +54061,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -53912,7 +54084,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &344 + schema: &345 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -53994,7 +54166,7 @@ paths: type: - array - 'null' - items: *339 + items: *340 app: anyOf: - type: 'null' @@ -54010,7 +54182,7 @@ paths: - string - 'null' format: date-time - head_commit: *343 + head_commit: *344 latest_check_runs_count: type: integer check_runs_url: @@ -54038,7 +54210,7 @@ paths: - check_runs_url - pull_requests examples: - default: &345 + default: &346 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -54329,9 +54501,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *344 + schema: *345 examples: - default: *345 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54350,8 +54522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -54660,9 +54832,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *260 - *261 - - &346 + - *262 + - &347 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -54674,9 +54846,9 @@ paths: description: Response content: application/json: - schema: *344 + schema: *345 examples: - default: *345 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54699,17 +54871,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *260 - *261 - - *346 - - &395 + - *262 + - *347 + - &396 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &396 + - &397 name: status description: Returns check runs with the specified `status`. in: query @@ -54748,9 +54920,9 @@ paths: type: integer check_runs: type: array - items: *340 + items: *341 examples: - default: &397 + default: &398 value: total_count: 1 check_runs: @@ -54852,9 +55024,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *260 - *261 - - *346 + - *262 + - *347 responses: '201': description: Response @@ -54887,21 +55059,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *260 - *261 - - *347 + - *262 - *348 + - *349 - *19 - *17 - - &365 + - &366 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: *349 - - &366 + schema: *350 + - &367 name: pr description: The number of the pull request for the results you want to list. in: query @@ -54926,13 +55098,13 @@ paths: be returned. in: query required: false - schema: *350 + schema: *351 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *351 + schema: *352 responses: '200': description: Response @@ -54948,7 +55120,7 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: *352 + instances_url: *353 state: *133 fixed_at: *129 dismissed_by: @@ -54956,11 +55128,11 @@ paths: - type: 'null' - *4 dismissed_at: *130 - dismissed_reason: *353 - dismissed_comment: *354 - rule: *355 - tool: *356 - most_recent_instance: *357 + dismissed_reason: *354 + dismissed_comment: *355 + rule: *356 + tool: *357 + most_recent_instance: *358 required: - number - created_at @@ -55076,7 +55248,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &358 + '403': &359 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -55103,9 +55275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *260 - *261 - - &359 + - *262 + - &360 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -55119,7 +55291,7 @@ paths: description: Response content: application/json: - schema: &360 + schema: &361 type: object properties: number: *52 @@ -55127,7 +55299,7 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: *352 + instances_url: *353 state: *133 fixed_at: *129 dismissed_by: @@ -55135,8 +55307,8 @@ paths: - type: 'null' - *4 dismissed_at: *130 - dismissed_reason: *353 - dismissed_comment: *354 + dismissed_reason: *354 + dismissed_comment: *355 rule: type: object properties: @@ -55198,8 +55370,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *356 - most_recent_instance: *357 + tool: *357 + most_recent_instance: *358 required: - number - created_at @@ -55288,7 +55460,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *358 + '403': *359 '404': *6 '503': *62 x-github: @@ -55308,9 +55480,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *260 - *261 - - *359 + - *262 + - *360 requestBody: required: true content: @@ -55325,8 +55497,8 @@ paths: enum: - open - dismissed - dismissed_reason: *353 - dismissed_comment: *354 + dismissed_reason: *354 + dismissed_comment: *355 required: - state examples: @@ -55341,7 +55513,7 @@ paths: description: Response content: application/json: - schema: *360 + schema: *361 examples: default: value: @@ -55416,7 +55588,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &364 + '403': &365 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -55443,15 +55615,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: - - *260 - *261 - - *359 + - *262 + - *360 responses: '200': description: Response content: application/json: - schema: &361 + schema: &362 type: object properties: status: @@ -55478,13 +55650,13 @@ paths: - description - started_at examples: - default: &362 + default: &363 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &363 + '400': &364 description: Bad Request content: application/json: @@ -55495,7 +55667,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': *358 + '403': *359 '404': *6 '503': *62 x-github: @@ -55520,29 +55692,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: - - *260 - *261 - - *359 + - *262 + - *360 responses: '200': description: OK content: application/json: - schema: *361 + schema: *362 examples: - default: *362 + default: *363 '202': description: Accepted content: application/json: - schema: *361 + schema: *362 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *363 + '400': *364 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -55574,9 +55746,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: - - *260 - *261 - - *359 + - *262 + - *360 requestBody: required: false content: @@ -55622,8 +55794,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *363 - '403': *364 + '400': *364 + '403': *365 '404': *6 '422': description: Unprocessable Entity @@ -55647,13 +55819,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *260 - *261 - - *359 + - *262 + - *360 - *19 - *17 - - *365 - *366 + - *367 responses: '200': description: Response @@ -55661,7 +55833,7 @@ paths: application/json: schema: type: array - items: *357 + items: *358 examples: default: value: @@ -55700,7 +55872,7 @@ paths: end_column: 50 classifications: - source - '403': *358 + '403': *359 '404': *6 '503': *62 x-github: @@ -55734,25 +55906,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *260 - *261 - - *347 + - *262 - *348 + - *349 - *19 - *17 - - *366 + - *367 - 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: *349 + schema: *350 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &369 + schema: &370 type: string description: An identifier for the upload. examples: @@ -55774,23 +55946,23 @@ paths: application/json: schema: type: array - items: &370 + items: &371 type: object properties: - ref: *349 - commit_sha: &378 + ref: *350 + commit_sha: &379 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: *367 + analysis_key: *368 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *368 + category: *369 error: type: string examples: @@ -55815,8 +55987,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *369 - tool: *356 + sarif_id: *370 + tool: *357 deletable: type: boolean warning: @@ -55878,7 +56050,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *358 + '403': *359 '404': *6 '503': *62 x-github: @@ -55914,8 +56086,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: - - *260 - *261 + - *262 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -55928,7 +56100,7 @@ paths: description: Response content: application/json: - schema: *370 + schema: *371 examples: response: summary: application/json response @@ -55982,7 +56154,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *358 + '403': *359 '404': *6 '503': *62 x-github: @@ -56064,8 +56236,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: - - *260 - *261 + - *262 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -56121,7 +56293,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': *364 + '403': *365 '404': *6 '503': *62 x-github: @@ -56143,8 +56315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -56152,7 +56324,7 @@ paths: application/json: schema: type: array - items: &371 + items: &372 title: CodeQL Database description: A CodeQL database. type: object @@ -56264,7 +56436,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': *358 + '403': *359 '404': *6 '503': *62 x-github: @@ -56293,8 +56465,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *260 - *261 + - *262 - name: language in: path description: The language of the CodeQL database. @@ -56306,7 +56478,7 @@ paths: description: Response content: application/json: - schema: *371 + schema: *372 examples: default: value: @@ -56338,9 +56510,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': &402 + '302': &403 description: Found - '403': *358 + '403': *359 '404': *6 '503': *62 x-github: @@ -56362,8 +56534,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *260 - *261 + - *262 - name: language in: path description: The language of the CodeQL database. @@ -56373,7 +56545,7 @@ paths: responses: '204': description: Response - '403': *364 + '403': *365 '404': *6 '503': *62 x-github: @@ -56401,8 +56573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -56411,7 +56583,7 @@ paths: type: object additionalProperties: false properties: - language: &372 + language: &373 type: string description: The language targeted by the CodeQL query enum: @@ -56489,7 +56661,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &376 + schema: &377 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -56499,7 +56671,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *372 + query_language: *373 query_pack_url: type: string description: The download url for the query pack. @@ -56547,7 +56719,7 @@ paths: items: type: object properties: - repository: &373 + repository: &374 title: Repository Identifier description: Repository Identifier type: object @@ -56589,7 +56761,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &377 + analysis_status: &378 type: string description: The new status of the CodeQL variant analysis repository task. @@ -56621,7 +56793,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &374 + access_mismatch_repos: &375 type: object properties: repository_count: @@ -56636,7 +56808,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: *373 + items: *374 required: - repository_count - repositories @@ -56659,8 +56831,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *374 - over_limit_repos: *374 + no_codeql_db_repos: *375 + over_limit_repos: *375 required: - access_mismatch_repos - not_found_repos @@ -56676,7 +56848,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &375 + value: &376 summary: Default response value: id: 1 @@ -56828,10 +57000,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *375 + value: *376 repository_lists: summary: Response for a successful variant analysis submission - value: *375 + value: *376 '404': *6 '422': description: Unable to process variant analysis submission @@ -56859,8 +57031,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: - - *260 - *261 + - *262 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -56872,9 +57044,9 @@ paths: description: Response content: application/json: - schema: *376 + schema: *377 examples: - default: *375 + default: *376 '404': *6 '503': *62 x-github: @@ -56897,7 +57069,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: - - *260 + - *261 - name: repo in: path description: The name of the controller repository. @@ -56932,7 +57104,7 @@ paths: type: object properties: repository: *51 - analysis_status: *377 + analysis_status: *378 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -57057,8 +57229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -57140,7 +57312,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *358 + '403': *359 '404': *6 '503': *62 x-github: @@ -57161,8 +57333,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -57246,7 +57418,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *364 + '403': *365 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -57311,8 +57483,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -57320,7 +57492,7 @@ paths: schema: type: object properties: - commit_sha: *378 + commit_sha: *379 ref: type: string description: |- @@ -57380,7 +57552,7 @@ paths: schema: type: object properties: - id: *369 + id: *370 url: type: string description: The REST API URL for checking the status of the upload. @@ -57394,7 +57566,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': *364 + '403': *365 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -57417,8 +57589,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *260 - *261 + - *262 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -57466,7 +57638,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': *358 + '403': *359 '404': description: Not Found if the sarif id does not match any upload '503': *62 @@ -57491,8 +57663,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: - - *260 - *261 + - *262 responses: '200': description: Response @@ -57570,8 +57742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *260 - *261 + - *262 - 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 @@ -57699,8 +57871,8 @@ paths: parameters: - *17 - *19 - - *260 - *261 + - *262 responses: '200': description: Response @@ -58014,8 +58186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -58081,7 +58253,7 @@ paths: application/json: schema: *184 examples: - default: *379 + default: *380 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -58089,7 +58261,7 @@ paths: application/json: schema: *184 examples: - default: *379 + default: *380 '400': *14 '401': *23 '403': *27 @@ -58118,8 +58290,8 @@ paths: parameters: - *17 - *19 - - *260 - *261 + - *262 responses: '200': description: Response @@ -58183,8 +58355,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *260 - *261 + - *262 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -58221,9 +58393,9 @@ paths: type: integer machines: type: array - items: *380 + items: *381 examples: - default: &579 + default: &582 value: total_count: 2 machines: @@ -58263,8 +58435,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *260 - *261 + - *262 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -58351,8 +58523,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: - - *260 - *261 + - *262 - 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 @@ -58421,8 +58593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -58440,7 +58612,7 @@ paths: type: integer secrets: type: array - items: &384 + items: &385 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -58461,7 +58633,7 @@ paths: - created_at - updated_at examples: - default: *381 + default: *382 headers: Link: *57 x-github: @@ -58484,16 +58656,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *260 - *261 + - *262 responses: '200': description: Response content: application/json: - schema: *382 + schema: *383 examples: - default: *383 + default: *384 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -58513,17 +58685,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *260 - *261 + - *262 - *123 responses: '200': description: Response content: application/json: - schema: *384 + schema: *385 examples: - default: *385 + default: *386 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58543,8 +58715,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *260 - *261 + - *262 - *123 requestBody: required: true @@ -58597,8 +58769,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *260 - *261 + - *262 - *123 responses: '204': @@ -58627,8 +58799,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *260 - *261 + - *262 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -58666,7 +58838,7 @@ paths: application/json: schema: type: array - items: &386 + items: &387 title: Collaborator description: Collaborator type: object @@ -58859,8 +59031,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *260 - *261 + - *262 - *128 responses: '204': @@ -58903,8 +59075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *260 - *261 + - *262 - *128 requestBody: required: false @@ -58931,7 +59103,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &450 + schema: &451 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -59152,8 +59324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *260 - *261 + - *262 - *128 responses: '204': @@ -59183,8 +59355,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *260 - *261 + - *262 - *128 responses: '200': @@ -59205,7 +59377,7 @@ paths: user: anyOf: - type: 'null' - - *386 + - *387 required: - permission - role_name @@ -59259,8 +59431,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -59270,7 +59442,7 @@ paths: application/json: schema: type: array - items: &387 + items: &388 title: Commit Comment description: Commit Comment type: object @@ -59328,7 +59500,7 @@ paths: - created_at - updated_at examples: - default: &390 + default: &391 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -59387,17 +59559,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *260 - *261 + - *262 - *73 responses: '200': description: Response content: application/json: - schema: *387 + schema: *388 examples: - default: &391 + default: &392 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -59454,8 +59626,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *260 - *261 + - *262 - *73 requestBody: required: true @@ -59478,7 +59650,7 @@ paths: description: Response content: application/json: - schema: *387 + schema: *388 examples: default: value: @@ -59529,8 +59701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *260 - *261 + - *262 - *73 responses: '204': @@ -59552,8 +59724,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *260 - *261 + - *262 - *73 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -59580,9 +59752,9 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: *255 + default: *256 headers: Link: *57 '404': *6 @@ -59603,8 +59775,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *260 - *261 + - *262 - *73 requestBody: required: true @@ -59637,16 +59809,16 @@ paths: description: Reaction exists content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 '201': description: Reaction created content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 '422': *15 x-github: githubCloudOnly: false @@ -59668,10 +59840,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *260 - *261 + - *262 - *73 - - *256 + - *257 responses: '204': description: Response @@ -59720,8 +59892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *260 - *261 + - *262 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -59777,9 +59949,9 @@ paths: application/json: schema: type: array - items: *388 + items: *389 examples: - default: &498 + default: &499 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -59873,9 +60045,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *260 - *261 - - &389 + - *262 + - &390 name: commit_sha description: The SHA of the commit. in: path @@ -59947,9 +60119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *260 - *261 - - *389 + - *262 + - *390 - *17 - *19 responses: @@ -59959,9 +60131,9 @@ paths: application/json: schema: type: array - items: *387 + items: *388 examples: - default: *390 + default: *391 headers: Link: *57 x-github: @@ -59989,9 +60161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *260 - *261 - - *389 + - *262 + - *390 requestBody: required: true content: @@ -60026,9 +60198,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *388 examples: - default: *391 + default: *392 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -60056,9 +60228,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *260 - *261 - - *389 + - *262 + - *390 - *17 - *19 responses: @@ -60068,7 +60240,7 @@ paths: application/json: schema: type: array - items: &489 + items: &490 title: Pull Request Simple description: Pull Request Simple type: object @@ -60188,7 +60360,7 @@ paths: milestone: anyOf: - type: 'null' - - *392 + - *393 active_lock_reason: type: - string @@ -60287,7 +60459,7 @@ paths: _links: type: object properties: - comments: &393 + comments: &394 title: Link description: Hypermedia Link type: object @@ -60296,13 +60468,13 @@ paths: type: string required: - href - commits: *393 - statuses: *393 - html: *393 - issue: *393 - review_comments: *393 - review_comment: *393 - self: *393 + commits: *394 + statuses: *394 + html: *394 + issue: *394 + review_comments: *394 + review_comment: *394 + self: *394 required: - comments - commits @@ -60313,7 +60485,7 @@ paths: - review_comment - self author_association: *60 - auto_merge: &491 + auto_merge: &492 title: Auto merge description: The status of auto merging a pull request. type: @@ -60378,7 +60550,7 @@ paths: - author_association - auto_merge examples: - default: &490 + default: &491 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -60915,11 +61087,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *260 - *261 + - *262 - *19 - *17 - - &394 + - &395 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)" @@ -60934,9 +61106,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *389 examples: - default: &477 + default: &478 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -61049,11 +61221,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *260 - *261 - - *394 + - *262 - *395 - *396 + - *397 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -61087,9 +61259,9 @@ paths: type: integer check_runs: type: array - items: *340 + items: *341 examples: - default: *397 + default: *398 headers: Link: *57 x-github: @@ -61114,9 +61286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *260 - *261 - - *394 + - *262 + - *395 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -61124,7 +61296,7 @@ paths: schema: type: integer example: 1 - - *395 + - *396 - *17 - *19 responses: @@ -61142,7 +61314,7 @@ paths: type: integer check_suites: type: array - items: *344 + items: *345 examples: default: value: @@ -61342,9 +61514,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *260 - *261 - - *394 + - *262 + - *395 - *17 - *19 responses: @@ -61546,9 +61718,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *260 - *261 - - *394 + - *262 + - *395 - *17 - *19 responses: @@ -61558,7 +61730,7 @@ paths: application/json: schema: type: array - items: &553 + items: &556 title: Status description: The status of a commit. type: object @@ -61639,7 +61811,7 @@ paths: site_admin: false headers: Link: *57 - '301': *272 + '301': *273 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61667,8 +61839,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -61701,11 +61873,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *398 + - *399 code_of_conduct_file: anyOf: - type: 'null' - - &399 + - &400 title: Community Health File type: object properties: @@ -61725,19 +61897,19 @@ paths: contributing: anyOf: - type: 'null' - - *399 + - *400 readme: anyOf: - type: 'null' - - *399 + - *400 issue_template: anyOf: - type: 'null' - - *399 + - *400 pull_request_template: anyOf: - type: 'null' - - *399 + - *400 required: - code_of_conduct - code_of_conduct_file @@ -61866,8 +62038,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *260 - *261 + - *262 - *19 - *17 - name: basehead @@ -61915,8 +62087,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *388 - merge_base_commit: *388 + base_commit: *389 + merge_base_commit: *389 status: type: string enum: @@ -61940,10 +62112,10 @@ paths: - 6 commits: type: array - items: *388 + items: *389 files: type: array - items: *400 + items: *401 required: - url - html_url @@ -62229,8 +62401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *260 - *261 + - *262 - name: path description: path parameter in: path @@ -62381,7 +62553,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &401 + response-if-content-is-a-file: &402 summary: Response if content is a file value: type: file @@ -62518,7 +62690,7 @@ paths: - size - type - url - - &503 + - &504 title: Content File description: Content File type: object @@ -62736,7 +62908,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *401 + response-if-content-is-a-file: *402 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -62805,7 +62977,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *402 + '302': *403 '304': *35 x-github: githubCloudOnly: false @@ -62828,8 +63000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *260 - *261 + - *262 - name: path description: path parameter in: path @@ -62924,7 +63096,7 @@ paths: description: Response content: application/json: - schema: &403 + schema: &404 title: File Commit description: File Commit type: object @@ -63080,7 +63252,7 @@ paths: description: Response content: application/json: - schema: *403 + schema: *404 examples: example-for-creating-a-file: value: @@ -63134,7 +63306,7 @@ paths: schema: oneOf: - *3 - - &432 + - &433 description: Repository rule violation was detected type: object properties: @@ -63155,7 +63327,7 @@ paths: items: type: object properties: - placeholder_id: &545 + placeholder_id: &548 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -63187,8 +63359,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *260 - *261 + - *262 - name: path description: path parameter in: path @@ -63249,7 +63421,7 @@ paths: description: Response content: application/json: - schema: *403 + schema: *404 examples: default: value: @@ -63304,8 +63476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *260 - *261 + - *262 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -63429,8 +63601,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *260 - *261 + - *262 - *143 - *144 - *145 @@ -63472,7 +63644,7 @@ paths: application/json: schema: type: array - items: &406 + items: &407 type: object description: A Dependabot alert. properties: @@ -63507,7 +63679,7 @@ paths: - development - runtime - - security_advisory: *404 + security_advisory: *405 security_vulnerability: *50 url: *55 html_url: *56 @@ -63538,7 +63710,7 @@ paths: dismissal. maxLength: 280 fixed_at: *129 - auto_dismissed_at: *405 + auto_dismissed_at: *406 required: - number - state @@ -63768,9 +63940,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *260 - *261 - - &407 + - *262 + - &408 name: alert_number in: path description: |- @@ -63785,7 +63957,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *407 examples: default: value: @@ -63898,9 +64070,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *260 - *261 - - *407 + - *262 + - *408 requestBody: required: true content: @@ -63945,7 +64117,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *407 examples: default: value: @@ -64074,8 +64246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -64093,7 +64265,7 @@ paths: type: integer secrets: type: array - items: &410 + items: &411 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -64147,16 +64319,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *260 - *261 + - *262 responses: '200': description: Response content: application/json: - schema: *408 + schema: *409 examples: - default: *409 + default: *410 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64176,15 +64348,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *260 - *261 + - *262 - *123 responses: '200': description: Response content: application/json: - schema: *410 + schema: *411 examples: default: value: @@ -64210,8 +64382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *260 - *261 + - *262 - *123 requestBody: required: true @@ -64264,8 +64436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *260 - *261 + - *262 - *123 responses: '204': @@ -64288,8 +64460,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: - - *260 - *261 + - *262 - 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 @@ -64463,8 +64635,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: - - *260 - *261 + - *262 responses: '200': description: Response @@ -64724,8 +64896,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: - - *260 - *261 + - *262 requestBody: required: true content: @@ -64808,7 +64980,7 @@ paths: - version - url additionalProperties: false - metadata: &411 + metadata: &412 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -64847,7 +65019,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *411 + metadata: *412 resolved: type: object description: A collection of resolved package dependencies. @@ -64861,7 +65033,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *411 + metadata: *412 relationship: type: string description: A notation of whether a dependency is requested @@ -64994,8 +65166,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *260 - *261 + - *262 - name: sha description: The SHA recorded at creation time. in: query @@ -65036,9 +65208,9 @@ paths: application/json: schema: type: array - items: *412 + items: *413 examples: - default: *413 + default: *414 headers: Link: *57 x-github: @@ -65104,8 +65276,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -65187,7 +65359,7 @@ paths: description: Response content: application/json: - schema: *412 + schema: *413 examples: simple-example: summary: Simple example @@ -65260,9 +65432,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *260 - *261 - - &414 + - *262 + - &415 name: deployment_id description: deployment_id parameter in: path @@ -65274,7 +65446,7 @@ paths: description: Response content: application/json: - schema: *412 + schema: *413 examples: default: value: @@ -65339,9 +65511,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *260 - *261 - - *414 + - *262 + - *415 responses: '204': description: Response @@ -65363,9 +65535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *260 - *261 - - *414 + - *262 + - *415 - *17 - *19 responses: @@ -65375,7 +65547,7 @@ paths: application/json: schema: type: array - items: &415 + items: &416 title: Deployment Status description: The status of a deployment. type: object @@ -65539,9 +65711,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *260 - *261 - - *414 + - *262 + - *415 requestBody: required: true content: @@ -65616,9 +65788,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *416 examples: - default: &416 + default: &417 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -65674,9 +65846,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *260 - *261 - - *414 + - *262 + - *415 - name: status_id in: path required: true @@ -65687,9 +65859,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *416 examples: - default: *416 + default: *417 '404': *6 x-github: githubCloudOnly: false @@ -65714,8 +65886,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -65772,8 +65944,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -65791,7 +65963,7 @@ paths: - 5 environments: type: array - items: &418 + items: &419 title: Environment description: Details of a deployment environment type: object @@ -65853,7 +66025,7 @@ paths: type: string examples: - wait_timer - wait_timer: &420 + wait_timer: &421 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -65895,7 +66067,7 @@ paths: items: type: object properties: - type: *417 + type: *418 reviewer: anyOf: - *4 @@ -65922,7 +66094,7 @@ paths: - id - node_id - type - deployment_branch_policy: &421 + deployment_branch_policy: &422 type: - object - 'null' @@ -66039,9 +66211,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *260 - *261 - - &419 + - *262 + - &420 name: environment_name in: path required: true @@ -66054,9 +66226,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *419 examples: - default: &422 + default: &423 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -66140,9 +66312,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *260 - *261 - - *419 + - *262 + - *420 requestBody: required: false content: @@ -66152,7 +66324,7 @@ paths: - object - 'null' properties: - wait_timer: *420 + wait_timer: *421 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -66171,14 +66343,14 @@ paths: items: type: object properties: - type: *417 + type: *418 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *421 + deployment_branch_policy: *422 additionalProperties: false examples: default: @@ -66198,9 +66370,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *419 examples: - default: *422 + default: *423 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -66224,9 +66396,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *260 - *261 - - *419 + - *262 + - *420 responses: '204': description: Default response @@ -66251,9 +66423,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *260 - *261 - - *419 + - *262 + - *420 - *17 - *19 responses: @@ -66272,7 +66444,7 @@ paths: - 2 branch_policies: type: array - items: &423 + items: &424 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -66333,9 +66505,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *260 - *261 - - *419 + - *262 + - *420 requestBody: required: true content: @@ -66383,9 +66555,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: - example-wildcard: &424 + example-wildcard: &425 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -66427,10 +66599,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *260 - *261 - - *419 - - &425 + - *262 + - *420 + - &426 name: branch_policy_id in: path required: true @@ -66442,9 +66614,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: - default: *424 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66463,10 +66635,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *260 - *261 - - *419 - - *425 + - *262 + - *420 + - *426 requestBody: required: true content: @@ -66495,9 +66667,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: - default: *424 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66516,10 +66688,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *260 - *261 - - *419 - - *425 + - *262 + - *420 + - *426 responses: '204': description: Response @@ -66544,9 +66716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *419 + - *420 + - *262 - *261 - - *260 responses: '200': description: List of deployment protection rules @@ -66563,7 +66735,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &426 + items: &427 title: Deployment protection rule description: Deployment protection rule type: object @@ -66585,7 +66757,7 @@ paths: for the environment. examples: - true - app: &427 + app: &428 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -66688,9 +66860,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *419 + - *420 + - *262 - *261 - - *260 requestBody: content: application/json: @@ -66711,9 +66883,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *426 + schema: *427 examples: - default: &428 + default: &429 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -66748,9 +66920,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *419 + - *420 + - *262 - *261 - - *260 - *19 - *17 responses: @@ -66770,7 +66942,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *427 + items: *428 examples: default: value: @@ -66805,10 +66977,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *260 - *261 - - *419 - - &429 + - *262 + - *420 + - &430 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -66820,9 +66992,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *427 examples: - default: *428 + default: *429 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66843,10 +67015,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *419 + - *420 + - *262 - *261 - - *260 - - *429 + - *430 responses: '204': description: Response @@ -66872,9 +67044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *260 - *261 - - *419 + - *262 + - *420 - *17 - *19 responses: @@ -66892,9 +67064,9 @@ paths: type: integer secrets: type: array - items: *306 + items: *307 examples: - default: *307 + default: *308 headers: Link: *57 x-github: @@ -66919,17 +67091,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *260 - *261 - - *419 + - *262 + - *420 responses: '200': description: Response content: application/json: - schema: *308 + schema: *309 examples: - default: *309 + default: *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66951,18 +67123,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *260 - *261 - - *419 + - *262 + - *420 - *123 responses: '200': description: Response content: application/json: - schema: *306 + schema: *307 examples: - default: *430 + default: *431 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66984,9 +67156,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *260 - *261 - - *419 + - *262 + - *420 - *123 requestBody: required: true @@ -67044,9 +67216,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *260 - *261 - - *419 + - *262 + - *420 - *123 responses: '204': @@ -67072,10 +67244,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *260 - *261 - - *419 - - *282 + - *262 + - *420 + - *283 - *19 responses: '200': @@ -67092,9 +67264,9 @@ paths: type: integer variables: type: array - items: *310 + items: *311 examples: - default: *311 + default: *312 headers: Link: *57 x-github: @@ -67117,9 +67289,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *260 - *261 - - *419 + - *262 + - *420 requestBody: required: true content: @@ -67171,18 +67343,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *260 - *261 - - *419 + - *262 + - *420 - *126 responses: '200': description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: *431 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67203,10 +67375,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *260 - *261 + - *262 - *126 - - *419 + - *420 requestBody: required: true content: @@ -67248,10 +67420,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *260 - *261 + - *262 - *126 - - *419 + - *420 responses: '204': description: Response @@ -67273,8 +67445,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -67351,8 +67523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *260 - *261 + - *262 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -67511,8 +67683,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *260 - *261 + - *262 requestBody: required: false content: @@ -67545,9 +67717,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *272 examples: - default: *273 + default: *274 '400': *14 '422': *15 '403': *27 @@ -67568,8 +67740,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -67629,7 +67801,7 @@ paths: schema: oneOf: - *93 - - *432 + - *433 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67654,8 +67826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *260 - *261 + - *262 - name: file_sha in: path required: true @@ -67755,8 +67927,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -67865,7 +68037,7 @@ paths: description: Response content: application/json: - schema: &433 + schema: &434 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -68092,15 +68264,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *260 - *261 - - *389 + - *262 + - *390 responses: '200': description: Response content: application/json: - schema: *433 + schema: *434 examples: default: value: @@ -68156,9 +68328,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *260 - *261 - - &434 + - *262 + - &435 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -68175,7 +68347,7 @@ paths: application/json: schema: type: array - items: &435 + items: &436 title: Git Reference description: Git references within a repository type: object @@ -68251,17 +68423,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *260 - *261 - - *434 + - *262 + - *435 responses: '200': description: Response content: application/json: - schema: *435 + schema: *436 examples: - default: &436 + default: &437 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -68290,8 +68462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -68320,9 +68492,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *436 examples: - default: *436 + default: *437 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -68348,9 +68520,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *260 - *261 - - *434 + - *262 + - *435 requestBody: required: true content: @@ -68379,9 +68551,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *436 examples: - default: *436 + default: *437 '422': *15 '409': *44 x-github: @@ -68399,9 +68571,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *260 - *261 - - *434 + - *262 + - *435 responses: '204': description: Response @@ -68454,8 +68626,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -68522,7 +68694,7 @@ paths: description: Response content: application/json: - schema: &438 + schema: &439 title: Git Tag description: Metadata for a Git tag type: object @@ -68578,7 +68750,7 @@ paths: - sha - type - url - verification: *437 + verification: *438 required: - sha - url @@ -68588,7 +68760,7 @@ paths: - tag - message examples: - default: &439 + default: &440 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -68661,8 +68833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *260 - *261 + - *262 - name: tag_sha in: path required: true @@ -68673,9 +68845,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *439 examples: - default: *439 + default: *440 '404': *6 '409': *44 x-github: @@ -68699,8 +68871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -68774,7 +68946,7 @@ paths: description: Response content: application/json: - schema: &440 + schema: &441 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -68892,8 +69064,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *260 - *261 + - *262 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -68916,7 +69088,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: default-response: summary: Default response @@ -68975,8 +69147,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -68986,7 +69158,7 @@ paths: application/json: schema: type: array - items: &441 + items: &442 title: Webhook description: Webhooks for repositories. type: object @@ -69049,7 +69221,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &652 + last_response: &655 title: Hook Response type: object properties: @@ -69126,8 +69298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *260 - *261 + - *262 requestBody: required: false content: @@ -69180,9 +69352,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *442 examples: - default: &442 + default: &443 value: type: Repository id: 12345678 @@ -69230,17 +69402,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *260 - *261 + - *262 - *157 responses: '200': description: Response content: application/json: - schema: *441 + schema: *442 examples: - default: *442 + default: *443 '404': *6 x-github: githubCloudOnly: false @@ -69260,8 +69432,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *260 - *261 + - *262 - *157 requestBody: required: true @@ -69307,9 +69479,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *442 examples: - default: *442 + default: *443 '422': *15 '404': *6 x-github: @@ -69330,8 +69502,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *260 - *261 + - *262 - *157 responses: '204': @@ -69356,8 +69528,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *260 - *261 + - *262 - *157 responses: '200': @@ -69385,8 +69557,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *260 - *261 + - *262 - *157 requestBody: required: false @@ -69431,8 +69603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *260 - *261 + - *262 - *157 - *17 - *158 @@ -69464,8 +69636,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *260 - *261 + - *262 - *157 - *16 responses: @@ -69494,8 +69666,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *260 - *261 + - *262 - *157 - *16 responses: @@ -69519,8 +69691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *260 - *261 + - *262 - *157 responses: '204': @@ -69546,8 +69718,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *260 - *261 + - *262 - *157 responses: '204': @@ -69606,14 +69778,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *260 - *261 + - *262 responses: '200': description: Response content: application/json: - schema: &443 + schema: &444 title: Import description: A repository import from an external source. type: object @@ -69720,7 +69892,7 @@ paths: - html_url - authors_url examples: - default: &446 + default: &447 value: vcs: subversion use_lfs: true @@ -69736,7 +69908,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &444 + '503': &445 description: Unavailable due to service under maintenance. content: application/json: @@ -69765,8 +69937,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -69814,7 +69986,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: default: value: @@ -69839,7 +70011,7 @@ paths: type: string '422': *15 '404': *6 - '503': *444 + '503': *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69867,8 +70039,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *260 - *261 + - *262 requestBody: required: false content: @@ -69920,7 +70092,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: example-1: summary: Example 1 @@ -69968,7 +70140,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *444 + '503': *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69991,12 +70163,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *260 - *261 + - *262 responses: '204': description: Response - '503': *444 + '503': *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70022,9 +70194,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *260 - *261 - - &602 + - *262 + - &605 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -70038,7 +70210,7 @@ paths: application/json: schema: type: array - items: &445 + items: &446 title: Porter Author description: Porter Author type: object @@ -70092,7 +70264,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *444 + '503': *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70117,8 +70289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *260 - *261 + - *262 - name: author_id in: path required: true @@ -70148,7 +70320,7 @@ paths: description: Response content: application/json: - schema: *445 + schema: *446 examples: default: value: @@ -70161,7 +70333,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *444 + '503': *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70185,8 +70357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -70227,7 +70399,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *444 + '503': *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70255,8 +70427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -70283,11 +70455,11 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: - default: *446 + default: *447 '422': *15 - '503': *444 + '503': *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70310,8 +70482,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -70319,8 +70491,8 @@ paths: application/json: schema: *20 examples: - default: *447 - '301': *272 + default: *448 + '301': *273 '404': *6 x-github: githubCloudOnly: false @@ -70340,8 +70512,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -70354,7 +70526,7 @@ paths: properties: {} additionalProperties: false examples: - default: &449 + default: &450 value: limit: collaborators_only origin: repository @@ -70379,13 +70551,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *260 - *261 + - *262 requestBody: required: true content: application/json: - schema: *448 + schema: *449 examples: default: summary: Example request body @@ -70399,7 +70571,7 @@ paths: application/json: schema: *175 examples: - default: *449 + default: *450 '409': description: Response x-github: @@ -70421,8 +70593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *260 - *261 + - *262 responses: '204': description: Response @@ -70445,8 +70617,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -70456,9 +70628,9 @@ paths: application/json: schema: type: array - items: *450 + items: *451 examples: - default: &595 + default: &598 value: - id: 1 repository: @@ -70589,8 +70761,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *260 - *261 + - *262 - *179 requestBody: required: false @@ -70620,7 +70792,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *451 examples: default: value: @@ -70751,8 +70923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *260 - *261 + - *262 - *179 responses: '204': @@ -70784,8 +70956,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *260 - *261 + - *262 - 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 @@ -70850,7 +71022,7 @@ paths: type: array items: *74 examples: - default: &459 + default: &460 value: - id: 1 node_id: MDU6SXNzdWUx @@ -70998,7 +71170,7 @@ paths: state_reason: completed headers: Link: *57 - '301': *272 + '301': *273 '422': *15 '404': *6 x-github: @@ -71027,8 +71199,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -71111,7 +71283,7 @@ paths: application/json: schema: *74 examples: - default: &454 + default: &455 value: id: 1 node_id: MDU6SXNzdWUx @@ -71267,7 +71439,7 @@ paths: '422': *15 '503': *62 '404': *6 - '410': *269 + '410': *270 x-github: triggersNotification: true githubCloudOnly: false @@ -71295,8 +71467,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *260 - *261 + - *262 - *83 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -71317,9 +71489,9 @@ paths: application/json: schema: type: array - items: *451 + items: *452 examples: - default: &456 + default: &457 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -71377,17 +71549,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *260 - *261 + - *262 - *73 responses: '200': description: Response content: application/json: - schema: *451 + schema: *452 examples: - default: &452 + default: &453 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -71441,8 +71613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *260 - *261 + - *262 - *73 requestBody: required: true @@ -71465,9 +71637,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: - default: *452 + default: *453 '422': *15 x-github: githubCloudOnly: false @@ -71485,8 +71657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *260 - *261 + - *262 - *73 responses: '204': @@ -71507,8 +71679,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *260 - *261 + - *262 - *73 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -71535,9 +71707,9 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: *255 + default: *256 headers: Link: *57 '404': *6 @@ -71558,8 +71730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *260 - *261 + - *262 - *73 requestBody: required: true @@ -71592,16 +71764,16 @@ paths: description: Reaction exists content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 '201': description: Reaction created content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 '422': *15 x-github: githubCloudOnly: false @@ -71623,10 +71795,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *260 - *261 + - *262 - *73 - - *256 + - *257 responses: '204': description: Response @@ -71646,8 +71818,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -71657,7 +71829,7 @@ paths: application/json: schema: type: array - items: &453 + items: &454 title: Issue Event description: Issue Event type: object @@ -71996,8 +72168,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *260 - *261 + - *262 - name: event_id in: path required: true @@ -72008,7 +72180,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *454 examples: default: value: @@ -72201,7 +72373,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *269 + '410': *270 '403': *27 x-github: githubCloudOnly: false @@ -72235,9 +72407,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *260 - *261 - - &455 + - *262 + - &456 name: issue_number description: The number that identifies the issue. in: path @@ -72251,10 +72423,10 @@ paths: application/json: schema: *74 examples: - default: *454 - '301': *272 + default: *455 + '301': *273 '404': *6 - '410': *269 + '410': *270 '304': *35 x-github: githubCloudOnly: false @@ -72279,9 +72451,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 requestBody: required: false content: @@ -72391,13 +72563,13 @@ paths: application/json: schema: *74 examples: - default: *454 + default: *455 '422': *15 '503': *62 '403': *27 - '301': *272 + '301': *273 '404': *6 - '410': *269 + '410': *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72415,9 +72587,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 requestBody: required: false content: @@ -72445,7 +72617,7 @@ paths: application/json: schema: *74 examples: - default: *454 + default: *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72461,9 +72633,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 requestBody: content: application/json: @@ -72490,7 +72662,7 @@ paths: application/json: schema: *74 examples: - default: *454 + default: *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72512,9 +72684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 - name: assignee in: path required: true @@ -72554,9 +72726,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *260 - *261 - - *455 + - *262 + - *456 - *64 - *17 - *19 @@ -72567,13 +72739,13 @@ paths: application/json: schema: type: array - items: *451 + items: *452 examples: - default: *456 + default: *457 headers: Link: *57 '404': *6 - '410': *269 + '410': *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72602,9 +72774,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *260 - *261 - - *455 + - *262 + - *456 requestBody: required: true content: @@ -72626,16 +72798,16 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: - default: *452 + default: *453 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *269 + '410': *270 '422': *15 '404': *6 x-github: @@ -72655,9 +72827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *260 - *261 - - *455 + - *262 + - *456 - *17 - *19 responses: @@ -72671,7 +72843,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &460 + - &461 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -72720,7 +72892,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &461 + - &462 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -72848,7 +73020,7 @@ paths: - performed_via_github_app - assignee - assigner - - &462 + - &463 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -72894,7 +73066,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &463 + - &464 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -72940,7 +73112,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &464 + - &465 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -72989,7 +73161,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &465 + - &466 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -73031,7 +73203,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &466 + - &467 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -73073,7 +73245,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &467 + - &468 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -73129,7 +73301,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &468 + - &469 title: Locked Issue Event description: Locked Issue Event type: object @@ -73174,7 +73346,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &469 + - &470 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -73235,7 +73407,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &470 + - &471 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -73296,7 +73468,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &471 + - &472 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -73357,7 +73529,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &472 + - &473 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -73450,7 +73622,7 @@ paths: color: red headers: Link: *57 - '410': *269 + '410': *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73467,9 +73639,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 - *17 - *19 responses: @@ -73479,7 +73651,7 @@ paths: application/json: schema: type: array - items: &457 + items: &458 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -73534,7 +73706,7 @@ paths: - color - default examples: - default: &458 + default: &459 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -73552,9 +73724,9 @@ paths: default: false headers: Link: *57 - '301': *272 + '301': *273 '404': *6 - '410': *269 + '410': *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73571,9 +73743,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 requestBody: required: false content: @@ -73632,12 +73804,12 @@ paths: application/json: schema: type: array - items: *457 + items: *458 examples: - default: *458 - '301': *272 + default: *459 + '301': *273 '404': *6 - '410': *269 + '410': *270 '422': *15 x-github: githubCloudOnly: false @@ -73654,9 +73826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 requestBody: required: false content: @@ -73716,12 +73888,12 @@ paths: application/json: schema: type: array - items: *457 + items: *458 examples: - default: *458 - '301': *272 + default: *459 + '301': *273 '404': *6 - '410': *269 + '410': *270 '422': *15 x-github: githubCloudOnly: false @@ -73738,15 +73910,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 responses: '204': description: Response - '301': *272 + '301': *273 '404': *6 - '410': *269 + '410': *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73765,9 +73937,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 - name: name in: path required: true @@ -73780,7 +73952,7 @@ paths: application/json: schema: type: array - items: *457 + items: *458 examples: default: value: @@ -73791,9 +73963,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *272 + '301': *273 '404': *6 - '410': *269 + '410': *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73813,9 +73985,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 requestBody: required: false content: @@ -73844,7 +74016,7 @@ paths: '204': description: Response '403': *27 - '410': *269 + '410': *270 '404': *6 '422': *15 x-github: @@ -73862,9 +74034,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 responses: '204': description: Response @@ -73886,9 +74058,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -73914,13 +74086,13 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: *255 + default: *256 headers: Link: *57 '404': *6 - '410': *269 + '410': *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73938,9 +74110,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 requestBody: required: true content: @@ -73972,20 +74144,20 @@ paths: description: Response content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 '201': description: Response content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 '422': *15 x-github: githubCloudOnly: false - enabledForGitHubApps: false + enabledForGitHubApps: true category: reactions subcategory: reactions "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": @@ -74003,10 +74175,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *260 - *261 - - *455 - - *256 + - *262 + - *456 + - *257 responses: '204': description: Response @@ -74035,9 +74207,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 requestBody: required: true content: @@ -74061,7 +74233,7 @@ paths: application/json: schema: *74 examples: - default: *454 + default: *455 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -74094,9 +74266,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *260 - *261 - - *455 + - *262 + - *456 - *17 - *19 responses: @@ -74108,11 +74280,11 @@ paths: type: array items: *74 examples: - default: *459 + default: *460 headers: Link: *57 '404': *6 - '410': *269 + '410': *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74140,9 +74312,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 requestBody: required: true content: @@ -74171,14 +74343,14 @@ paths: application/json: schema: *74 examples: - default: *454 + default: *455 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *269 + '410': *270 '422': *15 '404': *6 x-github: @@ -74198,9 +74370,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 requestBody: required: true content: @@ -74233,7 +74405,7 @@ paths: application/json: schema: *74 examples: - default: *454 + default: *455 '403': *27 '404': *6 '422': *7 @@ -74255,9 +74427,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *260 - *261 - - *455 + - *262 + - *456 - *17 - *19 responses: @@ -74272,7 +74444,6 @@ paths: description: Timeline Event type: object anyOf: - - *460 - *461 - *462 - *463 @@ -74285,6 +74456,7 @@ paths: - *470 - *471 - *472 + - *473 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -74608,7 +74780,7 @@ paths: type: string comments: type: array - items: &492 + items: &493 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -74846,7 +75018,7 @@ paths: type: string comments: type: array - items: *387 + items: *388 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -75121,7 +75293,7 @@ paths: headers: Link: *57 '404': *6 - '410': *269 + '410': *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75138,8 +75310,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -75149,7 +75321,7 @@ paths: application/json: schema: type: array - items: &473 + items: &474 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -75216,8 +75388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -75253,9 +75425,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *474 examples: - default: &474 + default: &475 value: id: 1 key: ssh-rsa AAA... @@ -75289,9 +75461,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *260 - *261 - - &475 + - *262 + - &476 name: key_id description: The unique identifier of the key. in: path @@ -75303,9 +75475,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *474 examples: - default: *474 + default: *475 '404': *6 x-github: githubCloudOnly: false @@ -75323,9 +75495,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *260 - *261 - - *475 + - *262 + - *476 responses: '204': description: Response @@ -75345,8 +75517,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -75356,9 +75528,9 @@ paths: application/json: schema: type: array - items: *457 + items: *458 examples: - default: *458 + default: *459 headers: Link: *57 '404': *6 @@ -75379,8 +75551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -75416,9 +75588,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: &476 + default: &477 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -75450,8 +75622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *260 - *261 + - *262 - name: name in: path required: true @@ -75462,9 +75634,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: *476 + default: *477 '404': *6 x-github: githubCloudOnly: false @@ -75481,8 +75653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *260 - *261 + - *262 - name: name in: path required: true @@ -75521,7 +75693,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *458 examples: default: value: @@ -75547,8 +75719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *260 - *261 + - *262 - name: name in: path required: true @@ -75574,8 +75746,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -75614,9 +75786,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *260 - *261 - - *365 + - *262 + - *366 responses: '200': description: Response @@ -75763,8 +75935,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -75829,8 +76001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -75864,9 +76036,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *388 + schema: *389 examples: - default: *477 + default: *478 '204': description: Response when already merged '404': @@ -75891,8 +76063,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *260 - *261 + - *262 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -75933,7 +76105,7 @@ paths: application/json: schema: type: array - items: *392 + items: *393 examples: default: value: @@ -75989,8 +76161,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -76030,9 +76202,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *393 examples: - default: &478 + default: &479 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -76091,9 +76263,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *260 - *261 - - &479 + - *262 + - &480 name: milestone_number description: The number that identifies the milestone. in: path @@ -76105,9 +76277,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *393 examples: - default: *478 + default: *479 '404': *6 x-github: githubCloudOnly: false @@ -76124,9 +76296,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *260 - *261 - - *479 + - *262 + - *480 requestBody: required: false content: @@ -76164,9 +76336,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *393 examples: - default: *478 + default: *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76182,9 +76354,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *260 - *261 - - *479 + - *262 + - *480 responses: '204': description: Response @@ -76205,9 +76377,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *260 - *261 - - *479 + - *262 + - *480 - *17 - *19 responses: @@ -76217,9 +76389,9 @@ paths: application/json: schema: type: array - items: *457 + items: *458 examples: - default: *458 + default: *459 headers: Link: *57 x-github: @@ -76238,12 +76410,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *260 - *261 - - *480 + - *262 - *481 - - *64 - *482 + - *64 + - *483 - *17 - *19 responses: @@ -76255,7 +76427,7 @@ paths: type: array items: *86 examples: - default: *483 + default: *484 headers: Link: *57 x-github: @@ -76279,8 +76451,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *260 - *261 + - *262 requestBody: required: false content: @@ -76338,14 +76510,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *260 - *261 + - *262 responses: '200': description: Response content: application/json: - schema: &484 + schema: &485 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -76489,7 +76661,7 @@ paths: - custom_404 - public examples: - default: &485 + default: &486 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -76530,8 +76702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -76586,9 +76758,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *485 examples: - default: *485 + default: *486 '422': *15 '409': *44 x-github: @@ -76611,8 +76783,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -76712,8 +76884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *260 - *261 + - *262 responses: '204': description: Response @@ -76739,8 +76911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -76750,7 +76922,7 @@ paths: application/json: schema: type: array - items: &486 + items: &487 title: Page Build description: Page Build type: object @@ -76842,8 +77014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *260 - *261 + - *262 responses: '201': description: Response @@ -76890,16 +77062,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *260 - *261 + - *262 responses: '200': description: Response content: application/json: - schema: *486 + schema: *487 examples: - default: &487 + default: &488 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -76947,8 +77119,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *260 - *261 + - *262 - name: build_id in: path required: true @@ -76959,9 +77131,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *487 examples: - default: *487 + default: *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76981,8 +77153,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -77090,9 +77262,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *260 - *261 - - &488 + - *262 + - &489 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -77150,9 +77322,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *260 - *261 - - *488 + - *262 + - *489 responses: '204': *137 '404': *6 @@ -77179,8 +77351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -77475,8 +77647,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: - - *260 - *261 + - *262 responses: '200': description: Private vulnerability reporting status @@ -77513,8 +77685,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *260 - *261 + - *262 responses: '204': *137 '422': *14 @@ -77535,8 +77707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *260 - *261 + - *262 responses: '204': *137 '422': *14 @@ -77559,8 +77731,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-repository-projects parameters: - - *260 - *261 + - *262 - name: state description: Indicates the state of the projects to return. in: query @@ -77621,7 +77793,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *269 + '410': *270 '422': *7 x-github: githubCloudOnly: false @@ -77644,8 +77816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-a-repository-project parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -77673,11 +77845,11 @@ paths: application/json: schema: *212 examples: - default: *268 + default: *269 '401': *23 '403': *27 '404': *6 - '410': *269 + '410': *270 '422': *7 x-github: githubCloudOnly: false @@ -77700,8 +77872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -77740,8 +77912,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: - - *260 - *261 + - *262 requestBody: required: true content: @@ -77803,8 +77975,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *260 - *261 + - *262 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -77864,9 +78036,9 @@ paths: application/json: schema: type: array - items: *489 + items: *490 examples: - default: *490 + default: *491 headers: Link: *57 '304': *35 @@ -77898,8 +78070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -77966,7 +78138,7 @@ paths: description: Response content: application/json: - schema: &494 + schema: &495 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -78095,7 +78267,7 @@ paths: milestone: anyOf: - type: 'null' - - *392 + - *393 active_lock_reason: type: - string @@ -78188,14 +78360,14 @@ paths: _links: type: object properties: - comments: *393 - commits: *393 - statuses: *393 - html: *393 - issue: *393 - review_comments: *393 - review_comment: *393 - self: *393 + comments: *394 + commits: *394 + statuses: *394 + html: *394 + issue: *394 + review_comments: *394 + review_comment: *394 + self: *394 required: - comments - commits @@ -78206,7 +78378,7 @@ paths: - review_comment - self author_association: *60 - auto_merge: *491 + auto_merge: *492 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -78308,7 +78480,7 @@ paths: - merged_by - review_comments examples: - default: &495 + default: &496 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -78835,8 +79007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *260 - *261 + - *262 - name: sort in: query required: false @@ -78865,9 +79037,9 @@ paths: application/json: schema: type: array - items: *492 + items: *493 examples: - default: &497 + default: &498 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -78944,17 +79116,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *260 - *261 + - *262 - *73 responses: '200': description: Response content: application/json: - schema: *492 + schema: *493 examples: - default: &493 + default: &494 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -79029,8 +79201,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *260 - *261 + - *262 - *73 requestBody: required: true @@ -79053,9 +79225,9 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: - default: *493 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79071,8 +79243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *260 - *261 + - *262 - *73 responses: '204': @@ -79094,8 +79266,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *260 - *261 + - *262 - *73 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -79122,9 +79294,9 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: *255 + default: *256 headers: Link: *57 '404': *6 @@ -79145,8 +79317,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *260 - *261 + - *262 - *73 requestBody: required: true @@ -79179,16 +79351,16 @@ paths: description: Reaction exists content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 '201': description: Reaction created content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 '422': *15 x-github: githubCloudOnly: false @@ -79210,10 +79382,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *260 - *261 + - *262 - *73 - - *256 + - *257 responses: '204': description: Response @@ -79256,9 +79428,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *260 - *261 - - &496 + - *262 + - &497 name: pull_number description: The number that identifies the pull request. in: path @@ -79271,9 +79443,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *494 + schema: *495 examples: - default: *495 + default: *496 '304': *35 '404': *6 '406': @@ -79308,9 +79480,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *260 - *261 - - *496 + - *262 + - *497 requestBody: required: false content: @@ -79352,9 +79524,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *495 examples: - default: *495 + default: *496 '422': *15 '403': *27 x-github: @@ -79376,9 +79548,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *260 - *261 - - *496 + - *262 + - *497 requestBody: required: true content: @@ -79441,7 +79613,7 @@ paths: application/json: schema: *184 examples: - default: *379 + default: *380 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -79449,7 +79621,7 @@ paths: application/json: schema: *184 examples: - default: *379 + default: *380 '401': *23 '403': *27 '404': *6 @@ -79479,9 +79651,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *260 - *261 - - *496 + - *262 + - *497 - *83 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -79502,9 +79674,9 @@ paths: application/json: schema: type: array - items: *492 + items: *493 examples: - default: *497 + default: *498 headers: Link: *57 x-github: @@ -79537,9 +79709,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *260 - *261 - - *496 + - *262 + - *497 requestBody: required: true content: @@ -79645,7 +79817,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: example-for-a-multi-line-comment: value: @@ -79733,9 +79905,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *260 - *261 - - *496 + - *262 + - *497 - *73 requestBody: required: true @@ -79758,7 +79930,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: default: value: @@ -79844,9 +80016,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *260 - *261 - - *496 + - *262 + - *497 - *17 - *19 responses: @@ -79856,9 +80028,9 @@ paths: application/json: schema: type: array - items: *388 + items: *389 examples: - default: *498 + default: *499 headers: Link: *57 x-github: @@ -79888,9 +80060,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *260 - *261 - - *496 + - *262 + - *497 - *17 - *19 responses: @@ -79900,7 +80072,7 @@ paths: application/json: schema: type: array - items: *400 + items: *401 examples: default: value: @@ -79938,9 +80110,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *260 - *261 - - *496 + - *262 + - *497 responses: '204': description: Response if pull request has been merged @@ -79963,9 +80135,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *260 - *261 - - *496 + - *262 + - *497 requestBody: required: false content: @@ -80077,9 +80249,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *260 - *261 - - *496 + - *262 + - *497 responses: '200': description: Response @@ -80154,9 +80326,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *260 - *261 - - *496 + - *262 + - *497 requestBody: required: false content: @@ -80193,7 +80365,7 @@ paths: description: Response content: application/json: - schema: *489 + schema: *490 examples: default: value: @@ -80729,9 +80901,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *260 - *261 - - *496 + - *262 + - *497 requestBody: required: true content: @@ -80765,7 +80937,7 @@ paths: description: Response content: application/json: - schema: *489 + schema: *490 examples: default: value: @@ -81270,9 +81442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *260 - *261 - - *496 + - *262 + - *497 - *17 - *19 responses: @@ -81282,7 +81454,7 @@ paths: application/json: schema: type: array - items: &499 + items: &500 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -81438,9 +81610,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *260 - *261 - - *496 + - *262 + - *497 requestBody: required: false content: @@ -81530,9 +81702,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: &501 + default: &502 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -81595,10 +81767,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *260 - *261 - - *496 - - &500 + - *262 + - *497 + - &501 name: review_id description: The unique identifier of the review. in: path @@ -81610,9 +81782,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: &502 + default: &503 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -81671,10 +81843,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *260 - *261 - - *496 - - *500 + - *262 + - *497 + - *501 requestBody: required: true content: @@ -81697,7 +81869,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: default: value: @@ -81759,18 +81931,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *260 - *261 - - *496 - - *500 + - *262 + - *497 + - *501 responses: '200': description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: *501 + default: *502 '422': *7 '404': *6 x-github: @@ -81797,10 +81969,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *260 - *261 - - *496 - - *500 + - *262 + - *497 + - *501 - *17 - *19 responses: @@ -81898,9 +82070,9 @@ paths: _links: type: object properties: - self: *393 - html: *393 - pull_request: *393 + self: *394 + html: *394 + pull_request: *394 required: - self - html @@ -82051,10 +82223,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *260 - *261 - - *496 - - *500 + - *262 + - *497 + - *501 requestBody: required: true content: @@ -82083,7 +82255,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: default: value: @@ -82146,10 +82318,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *260 - *261 - - *496 - - *500 + - *262 + - *497 + - *501 requestBody: required: true content: @@ -82184,9 +82356,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: *502 + default: *503 '404': *6 '422': *7 '403': *27 @@ -82208,9 +82380,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *260 - *261 - - *496 + - *262 + - *497 requestBody: required: false content: @@ -82274,8 +82446,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *260 - *261 + - *262 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -82288,9 +82460,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *504 examples: - default: &504 + default: &505 value: type: file encoding: base64 @@ -82332,8 +82504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *260 - *261 + - *262 - name: dir description: The alternate path to look for a README file in: path @@ -82353,9 +82525,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *504 examples: - default: *504 + default: *505 '404': *6 '422': *15 x-github: @@ -82377,8 +82549,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -82388,7 +82560,7 @@ paths: application/json: schema: type: array - items: &505 + items: &506 title: Release description: A release. type: object @@ -82460,7 +82632,7 @@ paths: author: *4 assets: type: array - items: &506 + items: &507 title: Release Asset description: Data related to a release. type: object @@ -82640,8 +82812,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -82717,9 +82889,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: &509 + default: &510 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -82822,9 +82994,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *260 - *261 - - &507 + - *262 + - &508 name: asset_id description: The unique identifier of the asset. in: path @@ -82836,9 +83008,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: &508 + default: &509 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -82872,7 +83044,7 @@ paths: type: User site_admin: false '404': *6 - '302': *402 + '302': *403 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82888,9 +83060,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *260 - *261 - - *507 + - *262 + - *508 requestBody: required: false content: @@ -82919,9 +83091,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: *508 + default: *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82937,9 +83109,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *260 - *261 - - *507 + - *262 + - *508 responses: '204': description: Response @@ -82963,8 +83135,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -83050,16 +83222,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *260 - *261 + - *262 responses: '200': description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: *509 + default: *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83076,8 +83248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *260 - *261 + - *262 - name: tag description: tag parameter in: path @@ -83090,9 +83262,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: *509 + default: *510 '404': *6 x-github: githubCloudOnly: false @@ -83114,9 +83286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *260 - *261 - - &510 + - *262 + - &511 name: release_id description: The unique identifier of the release. in: path @@ -83130,9 +83302,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *505 + schema: *506 examples: - default: *509 + default: *510 '401': description: Unauthorized x-github: @@ -83150,9 +83322,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *260 - *261 - - *510 + - *262 + - *511 requestBody: required: false content: @@ -83216,9 +83388,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: *509 + default: *510 '404': description: Not Found if the discussion category name is invalid content: @@ -83239,9 +83411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *260 - *261 - - *510 + - *262 + - *511 responses: '204': description: Response @@ -83261,9 +83433,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *260 - *261 - - *510 + - *262 + - *511 - *17 - *19 responses: @@ -83273,7 +83445,7 @@ paths: application/json: schema: type: array - items: *506 + items: *507 examples: default: value: @@ -83353,9 +83525,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *260 - *261 - - *510 + - *262 + - *511 - name: name in: query required: true @@ -83381,7 +83553,7 @@ paths: description: Response for successful upload content: application/json: - schema: *506 + schema: *507 examples: response-for-successful-upload: value: @@ -83435,9 +83607,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *260 - *261 - - *510 + - *262 + - *511 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -83461,9 +83633,9 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: *255 + default: *256 headers: Link: *57 '404': *6 @@ -83484,9 +83656,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *260 - *261 - - *510 + - *262 + - *511 requestBody: required: true content: @@ -83516,16 +83688,16 @@ paths: description: Reaction exists content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 '201': description: Reaction created content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 '422': *15 x-github: githubCloudOnly: false @@ -83547,10 +83719,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *260 - *261 - - *510 - - *256 + - *262 + - *511 + - *257 responses: '204': description: Response @@ -83574,9 +83746,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *260 - *261 - - *328 + - *262 + - *329 - *17 - *19 responses: @@ -83592,8 +83764,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *511 - - &513 + - *512 + - &514 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -83613,53 +83785,53 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *512 - *513 - - allOf: - *514 - - *513 - allOf: - *515 - - *513 + - *514 - allOf: - *516 - - *513 + - *514 - allOf: - *517 - - *513 + - *514 - allOf: - *518 - - *513 + - *514 - allOf: - *519 - - *513 + - *514 - allOf: - *520 - - *513 + - *514 - allOf: - *521 - - *513 + - *514 - allOf: - *522 - - *513 + - *514 - allOf: - *523 - - *513 + - *514 - allOf: - *524 - - *513 + - *514 - allOf: - *525 - - *513 + - *514 - allOf: - *526 - - *513 + - *514 - allOf: - *527 - - *513 + - *514 - allOf: - *528 - - *513 + - *514 + - allOf: + - *529 + - *514 examples: default: value: @@ -83698,8 +83870,8 @@ paths: category: repos subcategory: rules parameters: - - *260 - *261 + - *262 - *17 - *19 - name: includes_parents @@ -83710,7 +83882,7 @@ paths: schema: type: boolean default: true - - *529 + - *530 responses: '200': description: Response @@ -83765,8 +83937,8 @@ paths: category: repos subcategory: rules parameters: - - *260 - *261 + - *262 requestBody: description: Request body required: true @@ -83828,7 +84000,7 @@ paths: application/json: schema: *225 examples: - default: &539 + default: &540 value: id: 42 name: super cool ruleset @@ -83875,12 +84047,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *260 - *261 - - *530 + - *262 - *531 - *532 - *533 + - *534 - *17 - *19 responses: @@ -83888,9 +84060,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *535 examples: - default: *535 + default: *536 '404': *6 '500': *140 x-github: @@ -83911,17 +84083,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *260 - *261 - - *536 + - *262 + - *537 responses: '200': description: Response content: application/json: - schema: *537 + schema: *538 examples: - default: *538 + default: *539 '404': *6 '500': *140 x-github: @@ -83949,8 +84121,8 @@ paths: category: repos subcategory: rules parameters: - - *260 - *261 + - *262 - name: ruleset_id description: The ID of the ruleset. in: path @@ -83972,7 +84144,7 @@ paths: application/json: schema: *225 examples: - default: *539 + default: *540 '404': *6 '500': *140 put: @@ -83990,8 +84162,8 @@ paths: category: repos subcategory: rules parameters: - - *260 - *261 + - *262 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84055,7 +84227,7 @@ paths: application/json: schema: *225 examples: - default: *539 + default: *540 '404': *6 '500': *140 delete: @@ -84073,8 +84245,8 @@ paths: category: repos subcategory: rules parameters: - - *260 - *261 + - *262 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84086,6 +84258,113 @@ paths: description: Response '404': *6 '500': *140 + "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": + get: + summary: Get repository ruleset history + description: Get the history of a repository ruleset. + tags: + - repos + operationId: repos/get-repo-ruleset-history + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history + parameters: + - *261 + - *262 + - *17 + - *19 + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *227 + examples: + default: *541 + '404': *6 + '500': *140 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: rules + "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}": + get: + summary: Get repository ruleset version + description: Get a version of a repository ruleset. + tags: + - repos + operationId: repos/get-repo-ruleset-version + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version + parameters: + - *261 + - *262 + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + - name: version_id + description: The ID of the version + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: *542 + examples: + default: + value: + - version_id: 3 + actor: + id: 1 + type: User + updated_at: 2024-010-23T16:29:47Z + state: + id: 42 + name: super cool ruleset + target: branch + source_type: Repository + source: monalisa/my-repo + enforcement: active + bypass_actors: + - actor_id: 234 + actor_type: Team + bypass_mode: always + conditions: + ref_name: + include: + - refs/heads/main + - refs/heads/master + exclude: + - refs/heads/dev* + rules: + - type: commit_author_email_pattern + parameters: + operator: contains + pattern: github + '404': *6 + '500': *140 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: rules "/repos/{owner}/{repo}/secret-scanning/alerts": get: summary: List secret scanning alerts for a repository @@ -84102,20 +84381,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *260 - *261 - - *227 + - *262 - *228 - *229 - *230 + - *231 - *46 - *19 - *17 - - *540 - - *541 - - *231 + - *543 + - *544 - *232 - *233 + - *234 responses: '200': description: Response @@ -84123,7 +84402,7 @@ paths: application/json: schema: type: array - items: &544 + items: &547 type: object properties: number: *52 @@ -84139,8 +84418,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *542 - resolution: *543 + state: *545 + resolution: *546 resolved_at: type: - string @@ -84353,15 +84632,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *260 - *261 - - *359 + - *262 + - *360 responses: '200': description: Response content: application/json: - schema: *544 + schema: *547 examples: default: value: @@ -84413,9 +84692,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *260 - *261 - - *359 + - *262 + - *360 requestBody: required: true content: @@ -84423,8 +84702,8 @@ paths: schema: type: object properties: - state: *542 - resolution: *543 + state: *545 + resolution: *546 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -84443,7 +84722,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *547 examples: default: value: @@ -84518,9 +84797,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *260 - *261 - - *359 + - *262 + - *360 - *19 - *17 responses: @@ -84531,7 +84810,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &673 + items: &676 type: object properties: type: @@ -84910,8 +85189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -84919,14 +85198,14 @@ paths: schema: type: object properties: - reason: &546 + reason: &549 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *545 + placeholder_id: *548 required: - reason - placeholder_id @@ -84943,7 +85222,7 @@ paths: schema: type: object properties: - reason: *546 + reason: *549 expire_at: type: - string @@ -84987,8 +85266,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: - - *260 - *261 + - *262 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -85003,7 +85282,7 @@ paths: properties: incremental_scans: type: array - items: &547 + items: &550 description: Information on a single scan performed by secret scanning on the repository type: object @@ -85031,15 +85310,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *547 + items: *550 backfill_scans: type: array - items: *547 + items: *550 custom_pattern_backfill_scans: type: array items: allOf: - - *547 + - *550 - type: object properties: pattern_name: @@ -85109,8 +85388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *260 - *261 + - *262 - *46 - name: sort description: The property to sort the results by. @@ -85154,9 +85433,9 @@ paths: application/json: schema: type: array - items: *548 + items: *551 examples: - default: *549 + default: *552 '400': *14 '404': *6 x-github: @@ -85179,8 +85458,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -85260,7 +85539,7 @@ paths: login: type: string description: The username of the user credited. - type: *236 + type: *237 required: - login - type @@ -85350,9 +85629,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *551 examples: - default: &551 + default: &554 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -85585,8 +85864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -85699,7 +85978,7 @@ paths: description: Response content: application/json: - schema: *548 + schema: *551 examples: default: value: @@ -85846,17 +86125,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *260 - *261 - - *550 + - *262 + - *553 responses: '200': description: Response content: application/json: - schema: *548 + schema: *551 examples: - default: *551 + default: *554 '403': *27 '404': *6 x-github: @@ -85880,9 +86159,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *260 - *261 - - *550 + - *262 + - *553 requestBody: required: true content: @@ -85962,7 +86241,7 @@ paths: login: type: string description: The username of the user credited. - type: *236 + type: *237 required: - login - type @@ -86053,10 +86332,10 @@ paths: description: Response content: application/json: - schema: *548 + schema: *551 examples: - default: *551 - add_credit: *551 + default: *554 + add_credit: *554 '403': *27 '404': *6 '422': @@ -86094,9 +86373,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *260 - *261 - - *550 + - *262 + - *553 responses: '202': *45 '400': *14 @@ -86123,17 +86402,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *260 - *261 - - *550 + - *262 + - *553 responses: '202': description: Response content: application/json: - schema: *271 + schema: *272 examples: - default: *273 + default: *274 '400': *14 '422': *15 '403': *27 @@ -86159,8 +86438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -86256,8 +86535,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *260 - *261 + - *262 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -86266,7 +86545,7 @@ paths: application/json: schema: type: array - items: &552 + items: &555 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -86299,8 +86578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -86378,8 +86657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -86473,8 +86752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *260 - *261 + - *262 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -86628,8 +86907,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *260 - *261 + - *262 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -86639,7 +86918,7 @@ paths: application/json: schema: type: array - items: *552 + items: *555 examples: default: value: @@ -86672,8 +86951,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *260 - *261 + - *262 - name: sha in: path required: true @@ -86729,7 +87008,7 @@ paths: description: Response content: application/json: - schema: *553 + schema: *556 examples: default: value: @@ -86783,8 +87062,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -86816,14 +87095,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *260 - *261 + - *262 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &554 + schema: &557 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -86896,8 +87175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *260 - *261 + - *262 requestBody: required: false content: @@ -86923,7 +87202,7 @@ paths: description: Response content: application/json: - schema: *554 + schema: *557 examples: default: value: @@ -86950,8 +87229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *260 - *261 + - *262 responses: '204': description: Response @@ -86971,8 +87250,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -87054,8 +87333,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -87063,7 +87342,7 @@ paths: application/json: schema: type: array - items: &555 + items: &558 title: Tag protection description: Tag protection type: object @@ -87120,8 +87399,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: - - *260 - *261 + - *262 requestBody: required: true content: @@ -87144,7 +87423,7 @@ paths: description: Response content: application/json: - schema: *555 + schema: *558 examples: default: value: @@ -87175,8 +87454,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: - - *260 - *261 + - *262 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -87213,8 +87492,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *260 - *261 + - *262 - name: ref in: path required: true @@ -87250,8 +87529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *260 - *261 + - *262 - *17 - *19 responses: @@ -87283,8 +87562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *260 - *261 + - *262 - *19 - *17 responses: @@ -87292,7 +87571,7 @@ paths: description: Response content: application/json: - schema: &556 + schema: &559 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -87304,7 +87583,7 @@ paths: required: - names examples: - default: &557 + default: &560 value: names: - octocat @@ -87327,8 +87606,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -87359,9 +87638,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *559 examples: - default: *557 + default: *560 '404': *6 '422': *7 x-github: @@ -87382,9 +87661,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *260 - *261 - - &558 + - *262 + - &561 name: per description: The time frame to display results for. in: query @@ -87415,7 +87694,7 @@ paths: - 128 clones: type: array - items: &559 + items: &562 title: Traffic type: object properties: @@ -87502,8 +87781,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -87597,8 +87876,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *260 - *261 + - *262 responses: '200': description: Response @@ -87661,9 +87940,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *260 - *261 - - *558 + - *262 + - *561 responses: '200': description: Response @@ -87684,7 +87963,7 @@ paths: - 3782 views: type: array - items: *559 + items: *562 required: - uniques - count @@ -87761,8 +88040,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *260 - *261 + - *262 requestBody: required: true content: @@ -88036,8 +88315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *260 - *261 + - *262 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -88060,8 +88339,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *260 - *261 + - *262 responses: '204': description: Response @@ -88083,8 +88362,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *260 - *261 + - *262 responses: '204': description: Response @@ -88110,8 +88389,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *260 - *261 + - *262 - name: ref in: path required: true @@ -88203,9 +88482,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *272 examples: - default: *273 + default: *274 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -88454,7 +88733,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &560 + text_matches: &563 title: Search Result Text Matches type: array items: @@ -88617,7 +88896,7 @@ paths: enum: - author-date - committer-date - - &561 + - &564 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -88686,7 +88965,7 @@ paths: committer: anyOf: - type: 'null' - - *326 + - *327 comment_count: type: integer message: @@ -88705,7 +88984,7 @@ paths: url: type: string format: uri - verification: *437 + verification: *438 required: - author - committer @@ -88720,7 +88999,7 @@ paths: committer: anyOf: - type: 'null' - - *326 + - *327 parents: type: array items: @@ -88737,7 +89016,7 @@ paths: type: number node_id: type: string - text_matches: *560 + text_matches: *563 required: - sha - node_id @@ -88929,7 +89208,7 @@ paths: - interactions - created - updated - - *561 + - *564 - *17 - *19 responses: @@ -89045,7 +89324,7 @@ paths: milestone: anyOf: - type: 'null' - - *392 + - *393 comments: type: integer created_at: @@ -89059,7 +89338,7 @@ paths: - string - 'null' format: date-time - text_matches: *560 + text_matches: *563 pull_request: type: object properties: @@ -89281,7 +89560,7 @@ paths: enum: - created - updated - - *561 + - *564 - *17 - *19 responses: @@ -89326,7 +89605,7 @@ paths: - 'null' score: type: number - text_matches: *560 + text_matches: *563 required: - id - node_id @@ -89411,7 +89690,7 @@ paths: - forks - help-wanted-issues - updated - - *561 + - *564 - *17 - *19 responses: @@ -89648,7 +89927,7 @@ paths: - admin - pull - push - text_matches: *560 + text_matches: *563 temp_clone_token: type: string allow_merge_commit: @@ -89956,7 +90235,7 @@ paths: - string - 'null' format: uri - text_matches: *560 + text_matches: *563 related: type: - array @@ -90149,7 +90428,7 @@ paths: - followers - repositories - joined - - *561 + - *564 - *17 - *19 responses: @@ -90259,7 +90538,7 @@ paths: type: - boolean - 'null' - text_matches: *560 + text_matches: *563 blog: type: - string @@ -90341,7 +90620,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &562 + - &565 name: team_id description: The unique identifier of the team. in: path @@ -90353,9 +90632,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *246 examples: - default: *246 + default: *247 '404': *6 x-github: githubCloudOnly: false @@ -90382,7 +90661,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *562 + - *565 requestBody: required: true content: @@ -90446,16 +90725,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *245 + schema: *246 examples: - default: *246 + default: *247 '201': description: Response content: application/json: - schema: *245 + schema: *246 examples: - default: *246 + default: *247 '404': *6 '422': *15 '403': *27 @@ -90483,7 +90762,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *562 + - *565 responses: '204': description: Response @@ -90514,7 +90793,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *562 + - *565 - *46 - *17 - *19 @@ -90525,9 +90804,9 @@ paths: application/json: schema: type: array - items: *247 + items: *248 examples: - default: *563 + default: *566 headers: Link: *57 x-github: @@ -90556,7 +90835,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *562 + - *565 requestBody: required: true content: @@ -90590,9 +90869,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 x-github: triggersNotification: true githubCloudOnly: false @@ -90619,16 +90898,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *562 - - *249 + - *565 + - *250 responses: '200': description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90653,8 +90932,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *562 - - *249 + - *565 + - *250 requestBody: required: false content: @@ -90677,9 +90956,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *564 + default: *567 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90704,8 +90983,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *562 - - *249 + - *565 + - *250 responses: '204': description: Response @@ -90734,8 +91013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *562 - - *249 + - *565 + - *250 - *46 - *17 - *19 @@ -90746,9 +91025,9 @@ paths: application/json: schema: type: array - items: *250 + items: *251 examples: - default: *565 + default: *568 headers: Link: *57 x-github: @@ -90777,8 +91056,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *562 - - *249 + - *565 + - *250 requestBody: required: true content: @@ -90800,9 +91079,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 x-github: triggersNotification: true githubCloudOnly: false @@ -90829,17 +91108,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *562 - - *249 - - *252 + - *565 + - *250 + - *253 responses: '200': description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90864,9 +91143,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *562 - - *249 - - *252 + - *565 + - *250 + - *253 requestBody: required: true content: @@ -90888,9 +91167,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *566 + default: *569 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90915,9 +91194,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *562 - - *249 - - *252 + - *565 + - *250 + - *253 responses: '204': description: Response @@ -90946,9 +91225,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *562 - - *249 - - *252 + - *565 + - *250 + - *253 - 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. @@ -90974,9 +91253,9 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: *255 + default: *256 headers: Link: *57 x-github: @@ -91005,9 +91284,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *562 - - *249 - - *252 + - *565 + - *250 + - *253 requestBody: required: true content: @@ -91039,9 +91318,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91067,8 +91346,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *562 - - *249 + - *565 + - *250 - 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. @@ -91094,9 +91373,9 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: *255 + default: *256 headers: Link: *57 x-github: @@ -91125,8 +91404,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *562 - - *249 + - *565 + - *250 requestBody: required: true content: @@ -91158,9 +91437,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -91184,7 +91463,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *562 + - *565 - *17 - *19 responses: @@ -91222,7 +91501,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *562 + - *565 - name: role description: Filters members returned by their role in the team. in: query @@ -91273,7 +91552,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *562 + - *565 - *128 responses: '204': @@ -91310,7 +91589,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *562 + - *565 - *128 responses: '204': @@ -91350,7 +91629,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *562 + - *565 - *128 responses: '204': @@ -91387,16 +91666,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *562 + - *565 - *128 responses: '200': description: Response content: application/json: - schema: *257 + schema: *258 examples: - response-if-user-is-a-team-maintainer: *567 + response-if-user-is-a-team-maintainer: *570 '404': *6 x-github: githubCloudOnly: false @@ -91429,7 +91708,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *562 + - *565 - *128 requestBody: required: false @@ -91455,9 +91734,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *258 examples: - response-if-users-membership-with-team-is-now-pending: *568 + response-if-users-membership-with-team-is-now-pending: *571 '403': description: Forbidden if team synchronization is set up '422': @@ -91491,7 +91770,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *562 + - *565 - *128 responses: '204': @@ -91521,7 +91800,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *562 + - *565 - *17 - *19 responses: @@ -91531,9 +91810,9 @@ paths: application/json: schema: type: array - items: *258 + items: *259 examples: - default: *569 + default: *572 headers: Link: *57 '404': *6 @@ -91560,16 +91839,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *562 - - *259 + - *565 + - *260 responses: '200': description: Response content: application/json: - schema: *258 + schema: *259 examples: - default: *570 + default: *573 '404': description: Not Found if project is not managed by this team x-github: @@ -91594,8 +91873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *562 - - *259 + - *565 + - *260 requestBody: required: false content: @@ -91663,8 +91942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *562 - - *259 + - *565 + - *260 responses: '204': description: Response @@ -91691,7 +91970,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *562 + - *565 - *17 - *19 responses: @@ -91733,15 +92012,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *562 - - *260 + - *565 - *261 + - *262 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *571 + schema: *574 examples: alternative-response-with-extra-repository-information: value: @@ -91892,9 +92171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *562 - - *260 + - *565 - *261 + - *262 requestBody: required: false content: @@ -91944,9 +92223,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *562 - - *260 + - *565 - *261 + - *262 responses: '204': description: Response @@ -91971,7 +92250,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *562 + - *565 - *17 - *19 responses: @@ -91983,7 +92262,7 @@ paths: type: array items: *180 examples: - response-if-child-teams-exist: *572 + response-if-child-teams-exist: *575 headers: Link: *57 '404': *6 @@ -92016,7 +92295,7 @@ paths: application/json: schema: oneOf: - - &574 + - &577 title: Private User description: Private User type: object @@ -92266,7 +92545,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *573 + - *576 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -92426,7 +92705,7 @@ paths: description: Response content: application/json: - schema: *574 + schema: *577 examples: default: value: @@ -92772,7 +93051,7 @@ paths: application/json: schema: *184 examples: - default: *379 + default: *380 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -92780,7 +93059,7 @@ paths: application/json: schema: *184 examples: - default: *379 + default: *380 '401': *23 '403': *27 '404': *6 @@ -92824,7 +93103,7 @@ paths: type: integer secrets: type: array - items: &575 + items: &578 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -92866,7 +93145,7 @@ paths: - visibility - selected_repositories_url examples: - default: *381 + default: *382 headers: Link: *57 x-github: @@ -92944,7 +93223,7 @@ paths: description: Response content: application/json: - schema: *575 + schema: *578 examples: default: value: @@ -93090,7 +93369,7 @@ paths: type: array items: *115 examples: - default: *576 + default: *579 '401': *23 '403': *27 '404': *6 @@ -93242,7 +93521,7 @@ paths: application/json: schema: *184 examples: - default: *379 + default: *380 '304': *35 '500': *140 '401': *23 @@ -93300,7 +93579,7 @@ paths: application/json: schema: *184 examples: - default: *379 + default: *380 '401': *23 '403': *27 '404': *6 @@ -93357,7 +93636,7 @@ paths: description: Response content: application/json: - schema: &577 + schema: &580 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -93410,7 +93689,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &578 + default: &581 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -93455,9 +93734,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *580 examples: - default: *578 + default: *581 '404': *6 x-github: githubCloudOnly: false @@ -93494,9 +93773,9 @@ paths: type: integer machines: type: array - items: *380 + items: *381 examples: - default: *579 + default: *582 '304': *35 '500': *140 '401': *23 @@ -93581,11 +93860,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *271 + repository: *272 machine: anyOf: - type: 'null' - - *380 + - *381 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -94390,7 +94669,7 @@ paths: application/json: schema: *184 examples: - default: *379 + default: *380 '304': *35 '500': *140 '400': *14 @@ -94430,7 +94709,7 @@ paths: application/json: schema: *184 examples: - default: *379 + default: *380 '500': *140 '401': *23 '403': *27 @@ -94462,7 +94741,7 @@ paths: type: array items: *197 examples: - default: &592 + default: &595 value: - id: 197 name: hello_docker @@ -94563,7 +94842,7 @@ paths: application/json: schema: type: array - items: &580 + items: &583 title: Email description: Email type: object @@ -94633,9 +94912,9 @@ paths: application/json: schema: type: array - items: *580 + items: *583 examples: - default: &594 + default: &597 value: - email: octocat@github.com verified: true @@ -94712,7 +94991,7 @@ paths: application/json: schema: type: array - items: *580 + items: *583 examples: default: value: @@ -94970,7 +95249,7 @@ paths: application/json: schema: type: array - items: &581 + items: &584 title: GPG Key description: A unique encryption key type: object @@ -95115,7 +95394,7 @@ paths: - subkeys - revoked examples: - default: &605 + default: &608 value: - id: 3 name: Octocat's GPG Key @@ -95200,9 +95479,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *584 examples: - default: &582 + default: &585 value: id: 3 name: Octocat's GPG Key @@ -95259,7 +95538,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &583 + - &586 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -95271,9 +95550,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *584 examples: - default: *582 + default: *585 '404': *6 '304': *35 '403': *27 @@ -95296,7 +95575,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *583 + - *586 responses: '204': description: Response @@ -95487,7 +95766,7 @@ paths: type: array items: *59 examples: - default: *584 + default: *587 headers: Link: *57 '404': *6 @@ -95601,7 +95880,7 @@ paths: required: true content: application/json: - schema: *448 + schema: *449 examples: default: value: @@ -95751,7 +96030,7 @@ paths: application/json: schema: type: array - items: &585 + items: &588 title: Key description: Key type: object @@ -95849,9 +96128,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *588 examples: - default: &586 + default: &589 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -95884,15 +96163,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *475 + - *476 responses: '200': description: Response content: application/json: - schema: *585 + schema: *588 examples: - default: *586 + default: *589 '404': *6 '304': *35 '403': *27 @@ -95915,7 +96194,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *475 + - *476 responses: '204': description: Response @@ -95948,7 +96227,7 @@ paths: application/json: schema: type: array - items: &587 + items: &590 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -96027,7 +96306,7 @@ paths: - account - plan examples: - default: &588 + default: &591 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -96089,9 +96368,9 @@ paths: application/json: schema: type: array - items: *587 + items: *590 examples: - default: *588 + default: *591 headers: Link: *57 '304': *35 @@ -97095,7 +97374,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *191 - - *589 + - *592 responses: '204': description: Response @@ -97168,7 +97447,7 @@ paths: type: array items: *142 examples: - default: *590 + default: *593 headers: Link: *57 '304': *35 @@ -97210,7 +97489,7 @@ paths: - docker - nuget - container - - *591 + - *594 - *19 - *17 responses: @@ -97222,8 +97501,8 @@ paths: type: array items: *197 examples: - default: *592 - '400': *593 + default: *595 + '400': *596 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97252,7 +97531,7 @@ paths: application/json: schema: *197 examples: - default: &606 + default: &609 value: id: 40201 name: octo-name @@ -97707,9 +97986,9 @@ paths: application/json: schema: type: array - items: *580 + items: *583 examples: - default: *594 + default: *597 headers: Link: *57 '304': *35 @@ -97822,7 +98101,7 @@ paths: type: array items: *59 examples: - default: &601 + default: &604 summary: Default response value: - id: 1296269 @@ -98138,9 +98417,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *272 examples: - default: *273 + default: *274 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -98178,9 +98457,9 @@ paths: application/json: schema: type: array - items: *450 + items: *451 examples: - default: *595 + default: *598 headers: Link: *57 '304': *35 @@ -98259,7 +98538,7 @@ paths: application/json: schema: type: array - items: &596 + items: &599 title: Social account description: Social media account type: object @@ -98276,7 +98555,7 @@ paths: - provider - url examples: - default: &597 + default: &600 value: - provider: twitter url: https://twitter.com/github @@ -98339,9 +98618,9 @@ paths: application/json: schema: type: array - items: *596 + items: *599 examples: - default: *597 + default: *600 '422': *15 '304': *35 '404': *6 @@ -98429,7 +98708,7 @@ paths: application/json: schema: type: array - items: &598 + items: &601 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -98449,7 +98728,7 @@ paths: - title - created_at examples: - default: &613 + default: &616 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -98516,9 +98795,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *601 examples: - default: &599 + default: &602 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -98549,7 +98828,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &600 + - &603 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -98561,9 +98840,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *601 examples: - default: *599 + default: *602 '404': *6 '304': *35 '403': *27 @@ -98586,7 +98865,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *600 + - *603 responses: '204': description: Response @@ -98615,7 +98894,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &614 + - &617 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -98640,11 +98919,11 @@ paths: type: array items: *59 examples: - default-response: *601 + default-response: *604 application/vnd.github.v3.star+json: schema: type: array - items: &615 + items: &618 title: Starred Repository description: Starred Repository type: object @@ -98800,8 +99079,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: - - *260 - *261 + - *262 responses: '204': description: Response if this repository is starred by you @@ -98829,8 +99108,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *260 - *261 + - *262 responses: '204': description: Response @@ -98854,8 +99133,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *260 - *261 + - *262 responses: '204': description: Response @@ -98927,7 +99206,7 @@ paths: application/json: schema: type: array - items: *245 + items: *246 examples: default: value: @@ -99013,10 +99292,10 @@ paths: application/json: schema: oneOf: - - *574 - - *573 + - *577 + - *576 examples: - default-response: &603 + default-response: &606 summary: Default response value: login: octocat @@ -99051,7 +99330,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &604 + response-with-git-hub-plan-information: &607 summary: Response with GitHub plan information value: login: octocat @@ -99111,7 +99390,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *602 + - *605 - *17 responses: '200': @@ -99160,11 +99439,11 @@ paths: application/json: schema: oneOf: - - *574 - - *573 + - *577 + - *576 examples: - default-response: *603 - response-with-git-hub-plan-information: *604 + default-response: *606 + response-with-git-hub-plan-information: *607 '404': *6 x-github: githubCloudOnly: false @@ -99330,7 +99609,7 @@ paths: type: array items: *197 examples: - default: *592 + default: *595 '403': *27 '401': *23 x-github: @@ -99734,9 +100013,9 @@ paths: application/json: schema: type: array - items: *581 + items: *584 examples: - default: *605 + default: *608 headers: Link: *57 x-github: @@ -99840,7 +100119,7 @@ paths: application/json: schema: *20 examples: - default: *447 + default: *448 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99918,7 +100197,7 @@ paths: type: array items: *142 examples: - default: *590 + default: *593 headers: Link: *57 x-github: @@ -99957,7 +100236,7 @@ paths: - docker - nuget - container - - *591 + - *594 - *128 - *19 - *17 @@ -99970,10 +100249,10 @@ paths: type: array items: *197 examples: - default: *592 + default: *595 '403': *27 '401': *23 - '400': *593 + '400': *596 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100003,7 +100282,7 @@ paths: application/json: schema: *197 examples: - default: *606 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100602,9 +100881,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *610 examples: - default: *608 + default: *611 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100632,9 +100911,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *612 examples: - default: *610 + default: *613 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100662,9 +100941,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *614 examples: - default: *612 + default: *615 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100692,9 +100971,9 @@ paths: application/json: schema: type: array - items: *596 + items: *599 examples: - default: *597 + default: *600 headers: Link: *57 x-github: @@ -100724,9 +101003,9 @@ paths: application/json: schema: type: array - items: *598 + items: *601 examples: - default: *613 + default: *616 headers: Link: *57 x-github: @@ -100751,7 +101030,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *128 - - *614 + - *617 - *46 - *17 - *19 @@ -100763,11 +101042,11 @@ paths: schema: anyOf: - type: array - items: *615 + items: *618 - type: array items: *59 examples: - default-response: *601 + default-response: *604 headers: Link: *57 x-github: @@ -100927,7 +101206,7 @@ webhooks: type: string enum: - disabled - enterprise: &616 + enterprise: &619 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -100996,7 +101275,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &617 + installation: &620 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -101017,7 +101296,7 @@ webhooks: required: - id - node_id - organization: &618 + organization: &621 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -101090,7 +101369,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &619 + repository: &622 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -102003,10 +102282,10 @@ webhooks: type: string enum: - enabled - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -102082,11 +102361,11 @@ webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - rule: &620 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 + rule: &623 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -102309,11 +102588,11 @@ webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - rule: *620 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 + rule: *623 sender: *4 required: - action @@ -102501,11 +102780,11 @@ webhooks: - everyone required: - from - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - rule: *620 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 + rule: *623 sender: *4 required: - action @@ -102589,7 +102868,7 @@ webhooks: type: string enum: - completed - check_run: &622 + check_run: &625 title: CheckRun description: A check performed on the code of a given code change type: object @@ -102657,7 +102936,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *339 + items: *340 repository: *115 status: type: string @@ -102702,7 +102981,7 @@ webhooks: - examples: - neutral - deployment: *621 + deployment: *624 details_url: type: string examples: @@ -102762,7 +103041,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *339 + items: *340 started_at: type: string format: date-time @@ -102800,9 +103079,9 @@ webhooks: - output - app - pull_requests - installation: *617 - organization: *618 - repository: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - check_run @@ -103195,10 +103474,10 @@ webhooks: type: string enum: - created - check_run: *622 - installation: *617 - organization: *618 - repository: *619 + check_run: *625 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - check_run @@ -103594,10 +103873,10 @@ webhooks: type: string enum: - requested_action - check_run: *622 - installation: *617 - organization: *618 - repository: *619 + check_run: *625 + installation: *620 + organization: *621 + repository: *622 requested_action: description: The action requested by the user. type: object @@ -104002,10 +104281,10 @@ webhooks: type: string enum: - rerequested - check_run: *622 - installation: *617 - organization: *618 - repository: *619 + check_run: *625 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - check_run @@ -104997,10 +105276,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -105685,10 +105964,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -106367,10 +106646,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -106536,7 +106815,7 @@ webhooks: required: - login - id - dismissed_comment: *354 + dismissed_comment: *355 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -106688,20 +106967,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &623 + commit_oid: &626 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *616 - installation: *617 - organization: *618 - ref: &624 + enterprise: *619 + installation: *620 + organization: *621 + ref: &627 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *619 + repository: *622 sender: *4 required: - action @@ -106865,7 +107144,7 @@ webhooks: required: - login - id - dismissed_comment: *354 + dismissed_comment: *355 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -107035,12 +107314,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *623 - enterprise: *616 - installation: *617 - organization: *618 - ref: *624 - repository: *619 + commit_oid: *626 + enterprise: *619 + installation: *620 + organization: *621 + ref: *627 + repository: *622 sender: *4 required: - action @@ -107138,7 +107417,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *354 + dismissed_comment: *355 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -107317,12 +107596,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *623 - enterprise: *616 - installation: *617 - organization: *618 - ref: *624 - repository: *619 + commit_oid: *626 + enterprise: *619 + installation: *620 + organization: *621 + ref: *627 + repository: *622 sender: *4 required: - action @@ -107488,7 +107767,7 @@ webhooks: required: - login - id - dismissed_comment: *354 + dismissed_comment: *355 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -107665,12 +107944,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *623 - enterprise: *616 - installation: *617 - organization: *618 - ref: *624 - repository: *619 + commit_oid: *626 + enterprise: *619 + installation: *620 + organization: *621 + ref: *627 + repository: *622 sender: *4 required: - action @@ -107770,7 +108049,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *354 + dismissed_comment: *355 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -107950,9 +108229,9 @@ webhooks: type: - string - 'null' - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -107960,7 +108239,7 @@ webhooks: type: - string - 'null' - repository: *619 + repository: *622 sender: *4 required: - action @@ -108056,7 +108335,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *354 + dismissed_comment: *355 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -108203,12 +108482,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *623 - enterprise: *616 - installation: *617 - organization: *618 - ref: *624 - repository: *619 + commit_oid: *626 + enterprise: *619 + installation: *620 + organization: *621 + ref: *627 + repository: *622 sender: *4 required: - action @@ -108470,10 +108749,10 @@ webhooks: - updated_at - author_association - body - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -108554,18 +108833,18 @@ webhooks: type: - string - 'null' - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *618 - pusher_type: &625 + organization: *621 + pusher_type: &628 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &626 + ref: &629 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -108575,7 +108854,7 @@ webhooks: enum: - tag - branch - repository: *619 + repository: *622 sender: *4 required: - ref @@ -108658,9 +108937,9 @@ webhooks: enum: - created definition: *213 - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 sender: *4 required: - action @@ -108745,9 +109024,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 sender: *4 required: - action @@ -108825,9 +109104,9 @@ webhooks: enum: - updated definition: *213 - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 sender: *4 required: - action @@ -108904,10 +109183,10 @@ webhooks: type: string enum: - updated - enterprise: *616 - installation: *617 - repository: *619 - organization: *618 + enterprise: *619 + installation: *620 + repository: *622 + organization: *621 sender: *4 new_property_values: type: array @@ -108992,18 +109271,18 @@ webhooks: title: delete event type: object properties: - enterprise: *616 - installation: *617 - organization: *618 - pusher_type: *625 - ref: *626 + enterprise: *619 + installation: *620 + organization: *621 + pusher_type: *628 + ref: *629 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *619 + repository: *622 sender: *4 required: - ref @@ -109087,11 +109366,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *406 - installation: *617 - organization: *618 - enterprise: *616 - repository: *619 + alert: *407 + installation: *620 + organization: *621 + enterprise: *619 + repository: *622 sender: *4 required: - action @@ -109175,11 +109454,11 @@ webhooks: type: string enum: - auto_reopened - alert: *406 - installation: *617 - organization: *618 - enterprise: *616 - repository: *619 + alert: *407 + installation: *620 + organization: *621 + enterprise: *619 + repository: *622 sender: *4 required: - action @@ -109263,11 +109542,11 @@ webhooks: type: string enum: - created - alert: *406 - installation: *617 - organization: *618 - enterprise: *616 - repository: *619 + alert: *407 + installation: *620 + organization: *621 + enterprise: *619 + repository: *622 sender: *4 required: - action @@ -109349,11 +109628,11 @@ webhooks: type: string enum: - dismissed - alert: *406 - installation: *617 - organization: *618 - enterprise: *616 - repository: *619 + alert: *407 + installation: *620 + organization: *621 + enterprise: *619 + repository: *622 sender: *4 required: - action @@ -109435,11 +109714,11 @@ webhooks: type: string enum: - fixed - alert: *406 - installation: *617 - organization: *618 - enterprise: *616 - repository: *619 + alert: *407 + installation: *620 + organization: *621 + enterprise: *619 + repository: *622 sender: *4 required: - action @@ -109522,11 +109801,11 @@ webhooks: type: string enum: - reintroduced - alert: *406 - installation: *617 - organization: *618 - enterprise: *616 - repository: *619 + alert: *407 + installation: *620 + organization: *621 + enterprise: *619 + repository: *622 sender: *4 required: - action @@ -109608,11 +109887,11 @@ webhooks: type: string enum: - reopened - alert: *406 - installation: *617 - organization: *618 - enterprise: *616 - repository: *619 + alert: *407 + installation: *620 + organization: *621 + enterprise: *619 + repository: *622 sender: *4 required: - action @@ -109689,9 +109968,9 @@ webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - key: &627 + enterprise: *619 + installation: *620 + key: &630 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -109729,8 +110008,8 @@ webhooks: - verified - created_at - read_only - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -109807,11 +110086,11 @@ webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - key: *627 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + key: *630 + organization: *621 + repository: *622 sender: *4 required: - action @@ -110383,12 +110662,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 - workflow: &631 + workflow: &634 title: Workflow type: - object @@ -111126,13 +111405,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *412 + deployment: *413 pull_requests: type: array - items: *494 - repository: *619 - organization: *618 - installation: *617 + items: *495 + repository: *622 + organization: *621 + installation: *620 sender: *4 responses: '200': @@ -111203,7 +111482,7 @@ webhooks: type: string enum: - approved - approver: &628 + approver: &631 type: object properties: avatar_url: @@ -111246,11 +111525,11 @@ webhooks: type: string comment: type: string - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - reviewers: &629 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 + reviewers: &632 type: array items: type: object @@ -111331,7 +111610,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &630 + workflow_job_run: &633 type: object properties: conclusion: @@ -112077,18 +112356,18 @@ webhooks: type: string enum: - rejected - approver: *628 + approver: *631 comment: type: string - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - reviewers: *629 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 + reviewers: *632 sender: *4 since: type: string - workflow_job_run: *630 + workflow_job_run: *633 workflow_job_runs: type: array items: @@ -112805,13 +113084,13 @@ webhooks: type: string enum: - requested - enterprise: *616 + enterprise: *619 environment: type: string - installation: *617 - organization: *618 - repository: *619 - requestor: &636 + installation: *620 + organization: *621 + repository: *622 + requestor: &639 title: User type: - object @@ -114754,12 +115033,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 - workflow: *631 + workflow: *634 workflow_run: title: Deployment Workflow Run type: @@ -115450,7 +115729,7 @@ webhooks: type: string enum: - answered - answer: &634 + answer: &637 type: object properties: author_association: @@ -115610,7 +115889,7 @@ webhooks: - created_at - updated_at - body - discussion: &632 + discussion: &635 title: Discussion description: A Discussion in a repository. type: object @@ -115906,7 +116185,7 @@ webhooks: - id labels: type: array - items: *457 + items: *458 required: - repository_url - category @@ -115928,10 +116207,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -116058,11 +116337,11 @@ webhooks: - from required: - category - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *635 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -116145,11 +116424,11 @@ webhooks: type: string enum: - closed - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *635 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -116231,7 +116510,7 @@ webhooks: type: string enum: - created - comment: &633 + comment: &636 type: object properties: author_association: @@ -116391,11 +116670,11 @@ webhooks: - updated_at - body - reactions - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *635 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -116478,12 +116757,12 @@ webhooks: type: string enum: - deleted - comment: *633 - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + comment: *636 + discussion: *635 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -116578,12 +116857,12 @@ webhooks: - from required: - body - comment: *633 - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + comment: *636 + discussion: *635 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -116667,11 +116946,11 @@ webhooks: type: string enum: - created - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *635 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -116753,11 +117032,11 @@ webhooks: type: string enum: - deleted - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *635 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -116857,11 +117136,11 @@ webhooks: type: string required: - from - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *635 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -116943,10 +117222,10 @@ webhooks: type: string enum: - labeled - discussion: *632 - enterprise: *616 - installation: *617 - label: &635 + discussion: *635 + enterprise: *619 + installation: *620 + label: &638 title: Label type: object properties: @@ -116979,8 +117258,8 @@ webhooks: - color - default - description - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -117063,11 +117342,11 @@ webhooks: type: string enum: - locked - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *635 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -117149,11 +117428,11 @@ webhooks: type: string enum: - pinned - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *635 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -117235,11 +117514,11 @@ webhooks: type: string enum: - reopened - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *635 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -117324,16 +117603,16 @@ webhooks: changes: type: object properties: - new_discussion: *632 - new_repository: *619 + new_discussion: *635 + new_repository: *622 required: - new_discussion - new_repository - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *635 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -117416,10 +117695,10 @@ webhooks: type: string enum: - unanswered - discussion: *632 - old_answer: *634 - organization: *618 - repository: *619 + discussion: *635 + old_answer: *637 + organization: *621 + repository: *622 sender: *4 required: - action @@ -117501,12 +117780,12 @@ webhooks: type: string enum: - unlabeled - discussion: *632 - enterprise: *616 - installation: *617 - label: *635 - organization: *618 - repository: *619 + discussion: *635 + enterprise: *619 + installation: *620 + label: *638 + organization: *621 + repository: *622 sender: *4 required: - action @@ -117589,11 +117868,11 @@ webhooks: type: string enum: - unlocked - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *635 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -117675,11 +117954,11 @@ webhooks: type: string enum: - unpinned - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *635 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -117752,7 +118031,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *616 + enterprise: *619 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -118430,9 +118709,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *617 - organization: *618 - repository: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - forkee @@ -118578,9 +118857,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 pages: description: The pages that were updated. type: array @@ -118618,7 +118897,7 @@ webhooks: - action - sha - html_url - repository: *619 + repository: *622 sender: *4 required: - pages @@ -118694,10 +118973,10 @@ webhooks: type: string enum: - created - enterprise: *616 + enterprise: *619 installation: *20 - organization: *618 - repositories: &637 + organization: *621 + repositories: &640 description: An array of repository objects that the installation can access. type: array @@ -118723,8 +119002,8 @@ webhooks: - name - full_name - private - repository: *619 - requester: *636 + repository: *622 + requester: *639 sender: *4 required: - action @@ -118799,11 +119078,11 @@ webhooks: type: string enum: - deleted - enterprise: *616 + enterprise: *619 installation: *20 - organization: *618 - repositories: *637 - repository: *619 + organization: *621 + repositories: *640 + repository: *622 requester: type: - 'null' @@ -118880,11 +119159,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *616 + enterprise: *619 installation: *20 - organization: *618 - repositories: *637 - repository: *619 + organization: *621 + repositories: *640 + repository: *622 requester: type: - 'null' @@ -118961,10 +119240,10 @@ webhooks: type: string enum: - added - enterprise: *616 + enterprise: *619 installation: *20 - organization: *618 - repositories_added: &638 + organization: *621 + repositories_added: &641 description: An array of repository objects, which were added to the installation. type: array @@ -119010,15 +119289,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *619 - repository_selection: &639 + repository: *622 + repository_selection: &642 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *636 + requester: *639 sender: *4 required: - action @@ -119097,10 +119376,10 @@ webhooks: type: string enum: - removed - enterprise: *616 + enterprise: *619 installation: *20 - organization: *618 - repositories_added: *638 + organization: *621 + repositories_added: *641 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -119127,9 +119406,9 @@ webhooks: - name - full_name - private - repository: *619 - repository_selection: *639 - requester: *636 + repository: *622 + repository_selection: *642 + requester: *639 sender: *4 required: - action @@ -119208,11 +119487,11 @@ webhooks: type: string enum: - suspend - enterprise: *616 + enterprise: *619 installation: *20 - organization: *618 - repositories: *637 - repository: *619 + organization: *621 + repositories: *640 + repository: *622 requester: type: - 'null' @@ -119394,10 +119673,10 @@ webhooks: type: string required: - from - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 target_type: type: string @@ -119476,11 +119755,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *616 + enterprise: *619 installation: *20 - organization: *618 - repositories: *637 - repository: *619 + organization: *621 + repositories: *640 + repository: *622 requester: type: - 'null' @@ -119728,8 +120007,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -120919,8 +121198,8 @@ webhooks: - state - locked - assignee - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -121000,7 +121279,7 @@ webhooks: type: string enum: - deleted - comment: &640 + comment: &643 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -121167,8 +121446,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -122356,8 +122635,8 @@ webhooks: - state - locked - assignee - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -122437,7 +122716,7 @@ webhooks: type: string enum: - edited - changes: &665 + changes: &668 description: The changes to the comment. type: object properties: @@ -122449,9 +122728,9 @@ webhooks: type: string required: - from - comment: *640 - enterprise: *616 - installation: *617 + comment: *643 + enterprise: *619 + installation: *620 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -123640,8 +123919,8 @@ webhooks: - state - locked - assignee - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -123723,10 +124002,10 @@ webhooks: type: string enum: - assigned - assignee: *636 - enterprise: *616 - installation: *617 - issue: &643 + assignee: *639 + enterprise: *619 + installation: *620 + issue: &646 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -124670,8 +124949,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -124751,8 +125030,8 @@ webhooks: type: string enum: - closed - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -125844,8 +126123,8 @@ webhooks: required: - state - closed_at - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -125924,8 +126203,8 @@ webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -126862,8 +127141,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -126942,8 +127221,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127884,7 +128163,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &641 + milestone: &644 title: Milestone description: A collection of related issues and pull requests. type: object @@ -128027,8 +128306,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -128127,8 +128406,8 @@ webhooks: type: string required: - from - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129072,9 +129351,9 @@ webhooks: - active_lock_reason - body - reactions - label: *635 - organization: *618 - repository: *619 + label: *638 + organization: *621 + repository: *622 sender: *4 required: - action @@ -129154,8 +129433,8 @@ webhooks: type: string enum: - labeled - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130098,9 +130377,9 @@ webhooks: - active_lock_reason - body - reactions - label: *635 - organization: *618 - repository: *619 + label: *638 + organization: *621 + repository: *622 sender: *4 required: - action @@ -130180,8 +130459,8 @@ webhooks: type: string enum: - locked - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131126,8 +131405,8 @@ webhooks: format: uri user_view_type: type: string - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -131206,8 +131485,8 @@ webhooks: type: string enum: - milestoned - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132146,9 +132425,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *641 - organization: *618 - repository: *619 + milestone: *644 + organization: *621 + repository: *622 sender: *4 required: - action @@ -133648,8 +133927,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134592,8 +134871,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -134673,9 +134952,9 @@ webhooks: type: string enum: - pinned - enterprise: *616 - installation: *617 - issue: &642 + enterprise: *619 + installation: *620 + issue: &645 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -135612,8 +135891,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -135692,8 +135971,8 @@ webhooks: type: string enum: - reopened - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136637,8 +136916,8 @@ webhooks: format: uri user_view_type: type: string - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -138138,11 +138417,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *616 - installation: *617 - issue: *642 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + issue: *645 + organization: *621 + repository: *622 sender: *4 required: - action @@ -138223,7 +138502,7 @@ webhooks: type: string enum: - unassigned - assignee: &668 + assignee: &671 title: User type: - object @@ -138295,11 +138574,11 @@ webhooks: required: - login - id - enterprise: *616 - installation: *617 - issue: *643 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + issue: *646 + organization: *621 + repository: *622 sender: *4 required: - action @@ -138378,12 +138657,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *616 - installation: *617 - issue: *643 - label: *635 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + issue: *646 + label: *638 + organization: *621 + repository: *622 sender: *4 required: - action @@ -138463,8 +138742,8 @@ webhooks: type: string enum: - unlocked - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139407,8 +139686,8 @@ webhooks: format: uri user_view_type: type: string - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -139488,11 +139767,11 @@ webhooks: type: string enum: - unpinned - enterprise: *616 - installation: *617 - issue: *642 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + issue: *645 + organization: *621 + repository: *622 sender: *4 required: - action @@ -139571,11 +139850,11 @@ webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - label: *635 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + label: *638 + organization: *621 + repository: *622 sender: *4 required: - action @@ -139653,11 +139932,11 @@ webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - label: *635 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + label: *638 + organization: *621 + repository: *622 sender: *4 required: - action @@ -139767,11 +140046,11 @@ webhooks: type: string required: - from - enterprise: *616 - installation: *617 - label: *635 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + label: *638 + organization: *621 + repository: *622 sender: *4 required: - action @@ -139853,9 +140132,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *616 - installation: *617 - marketplace_purchase: &644 + enterprise: *619 + installation: *620 + marketplace_purchase: &647 title: Marketplace Purchase type: object required: @@ -139943,8 +140222,8 @@ webhooks: type: integer unit_count: type: integer - organization: *618 - previous_marketplace_purchase: &645 + organization: *621 + previous_marketplace_purchase: &648 title: Marketplace Purchase type: object properties: @@ -140028,7 +140307,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *619 + repository: *622 sender: *4 required: - action @@ -140108,10 +140387,10 @@ webhooks: - changed effective_date: type: string - enterprise: *616 - installation: *617 - marketplace_purchase: *644 - organization: *618 + enterprise: *619 + installation: *620 + marketplace_purchase: *647 + organization: *621 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -140199,7 +140478,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *619 + repository: *622 sender: *4 required: - action @@ -140281,10 +140560,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *616 - installation: *617 - marketplace_purchase: *644 - organization: *618 + enterprise: *619 + installation: *620 + marketplace_purchase: *647 + organization: *621 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -140370,7 +140649,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *619 + repository: *622 sender: *4 required: - action @@ -140451,8 +140730,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 marketplace_purchase: title: Marketplace Purchase type: object @@ -140538,9 +140817,9 @@ webhooks: type: integer unit_count: type: integer - organization: *618 - previous_marketplace_purchase: *645 - repository: *619 + organization: *621 + previous_marketplace_purchase: *648 + repository: *622 sender: *4 required: - action @@ -140620,12 +140899,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *616 - installation: *617 - marketplace_purchase: *644 - organization: *618 - previous_marketplace_purchase: *645 - repository: *619 + enterprise: *619 + installation: *620 + marketplace_purchase: *647 + organization: *621 + previous_marketplace_purchase: *648 + repository: *622 sender: *4 required: - action @@ -140727,11 +141006,11 @@ webhooks: type: string required: - to - enterprise: *616 - installation: *617 - member: *636 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + member: *639 + organization: *621 + repository: *622 sender: *4 required: - action @@ -140833,11 +141112,11 @@ webhooks: type: - string - 'null' - enterprise: *616 - installation: *617 - member: *636 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + member: *639 + organization: *621 + repository: *622 sender: *4 required: - action @@ -140916,11 +141195,11 @@ webhooks: type: string enum: - removed - enterprise: *616 - installation: *617 - member: *636 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + member: *639 + organization: *621 + repository: *622 sender: *4 required: - action @@ -140998,11 +141277,11 @@ webhooks: type: string enum: - added - enterprise: *616 - installation: *617 - member: *636 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + member: *639 + organization: *621 + repository: *622 scope: description: The scope of the membership. Currently, can only be `team`. @@ -141080,7 +141359,7 @@ webhooks: required: - login - id - team: &646 + team: &649 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -141273,11 +141552,11 @@ webhooks: type: string enum: - removed - enterprise: *616 - installation: *617 - member: *636 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + member: *639 + organization: *621 + repository: *622 scope: description: The scope of the membership. Currently, can only be `team`. @@ -141356,7 +141635,7 @@ webhooks: required: - login - id - team: *646 + team: *649 required: - action - scope @@ -141438,8 +141717,8 @@ webhooks: type: string enum: - checks_requested - installation: *617 - merge_group: &647 + installation: *620 + merge_group: &650 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -141458,15 +141737,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *343 + head_commit: *344 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -141552,10 +141831,10 @@ webhooks: - merged - invalidated - dequeued - installation: *617 - merge_group: *647 - organization: *618 - repository: *619 + installation: *620 + merge_group: *650 + organization: *621 + repository: *622 sender: *4 required: - action @@ -141628,7 +141907,7 @@ webhooks: type: string enum: - deleted - enterprise: *616 + enterprise: *619 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -141736,12 +142015,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *617 - organization: *618 + installation: *620 + organization: *621 repository: anyOf: - type: 'null' - - *619 + - *622 sender: *4 required: - action @@ -141821,11 +142100,11 @@ webhooks: type: string enum: - closed - enterprise: *616 - installation: *617 - milestone: *641 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + milestone: *644 + organization: *621 + repository: *622 sender: *4 required: - action @@ -141904,9 +142183,9 @@ webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - milestone: &648 + enterprise: *619 + installation: *620 + milestone: &651 title: Milestone description: A collection of related issues and pull requests. type: object @@ -142048,8 +142327,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -142128,11 +142407,11 @@ webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - milestone: *641 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + milestone: *644 + organization: *621 + repository: *622 sender: *4 required: - action @@ -142242,11 +142521,11 @@ webhooks: type: string required: - from - enterprise: *616 - installation: *617 - milestone: *641 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + milestone: *644 + organization: *621 + repository: *622 sender: *4 required: - action @@ -142326,11 +142605,11 @@ webhooks: type: string enum: - opened - enterprise: *616 - installation: *617 - milestone: *648 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + milestone: *651 + organization: *621 + repository: *622 sender: *4 required: - action @@ -142409,11 +142688,11 @@ webhooks: type: string enum: - blocked - blocked_user: *636 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + blocked_user: *639 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -142492,11 +142771,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *636 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + blocked_user: *639 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -142575,9 +142854,9 @@ webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - membership: &649 + enterprise: *619 + installation: *620 + membership: &652 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -142671,8 +142950,8 @@ webhooks: - role - organization_url - user - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 required: - action @@ -142750,11 +143029,11 @@ webhooks: type: string enum: - member_added - enterprise: *616 - installation: *617 - membership: *649 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + membership: *652 + organization: *621 + repository: *622 sender: *4 required: - action @@ -142833,8 +143112,8 @@ webhooks: type: string enum: - member_invited - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -142956,10 +143235,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 - user: *636 + user: *639 required: - action - invitation @@ -143037,11 +143316,11 @@ webhooks: type: string enum: - member_removed - enterprise: *616 - installation: *617 - membership: *649 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + membership: *652 + organization: *621 + repository: *622 sender: *4 required: - action @@ -143128,11 +143407,11 @@ webhooks: properties: from: type: string - enterprise: *616 - installation: *617 - membership: *649 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + membership: *652 + organization: *621 + repository: *622 sender: *4 required: - action @@ -143208,9 +143487,9 @@ webhooks: type: string enum: - published - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 package: description: Information about the package. type: object @@ -143733,7 +144012,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &650 + items: &653 title: Ruby Gems metadata type: object properties: @@ -143830,7 +144109,7 @@ webhooks: - owner - package_version - registry - repository: *619 + repository: *622 sender: *4 required: - action @@ -143906,9 +144185,9 @@ webhooks: type: string enum: - updated - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 package: description: Information about the package. type: object @@ -144270,7 +144549,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *650 + items: *653 source_url: type: string format: uri @@ -144341,7 +144620,7 @@ webhooks: - owner - package_version - registry - repository: *619 + repository: *622 sender: *4 required: - action @@ -144522,12 +144801,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *616 + enterprise: *619 id: type: integer - installation: *617 - organization: *618 - repository: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - id @@ -144607,7 +144886,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &651 + personal_access_token_request: &654 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -144757,10 +145036,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *616 - organization: *618 + enterprise: *619 + organization: *621 sender: *4 - installation: *617 + installation: *620 required: - action - personal_access_token_request @@ -144839,11 +145118,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *651 - enterprise: *616 - organization: *618 + personal_access_token_request: *654 + enterprise: *619 + organization: *621 sender: *4 - installation: *617 + installation: *620 required: - action - personal_access_token_request @@ -144921,11 +145200,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *651 - enterprise: *616 - organization: *618 + personal_access_token_request: *654 + enterprise: *619 + organization: *621 sender: *4 - installation: *617 + installation: *620 required: - action - personal_access_token_request @@ -145002,11 +145281,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *651 - organization: *618 - enterprise: *616 + personal_access_token_request: *654 + organization: *621 + enterprise: *619 sender: *4 - installation: *617 + installation: *620 required: - action - personal_access_token_request @@ -145110,7 +145389,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *652 + last_response: *655 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -145142,8 +145421,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 zen: description: Random string of GitHub zen. @@ -145388,10 +145667,10 @@ webhooks: - from required: - note - enterprise: *616 - installation: *617 - organization: *618 - project_card: &653 + enterprise: *619 + installation: *620 + organization: *621 + project_card: &656 title: Project Card type: object properties: @@ -145514,7 +145793,7 @@ webhooks: - creator - created_at - updated_at - repository: *619 + repository: *622 sender: *4 required: - action @@ -145595,11 +145874,11 @@ webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - project_card: *653 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + project_card: *656 + repository: *622 sender: *4 required: - action @@ -145679,9 +145958,9 @@ webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 project_card: title: Project Card type: object @@ -145811,7 +146090,7 @@ webhooks: repository: anyOf: - type: 'null' - - *619 + - *622 sender: *4 required: - action @@ -145905,11 +146184,11 @@ webhooks: - from required: - note - enterprise: *616 - installation: *617 - organization: *618 - project_card: *653 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + project_card: *656 + repository: *622 sender: *4 required: - action @@ -146003,9 +146282,9 @@ webhooks: - from required: - column_id - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 project_card: allOf: - title: Project Card @@ -146202,7 +146481,7 @@ webhooks: type: string required: - after_id - repository: *619 + repository: *622 sender: *4 required: - action @@ -146282,10 +146561,10 @@ webhooks: type: string enum: - closed - enterprise: *616 - installation: *617 - organization: *618 - project: &655 + enterprise: *619 + installation: *620 + organization: *621 + project: &658 title: Project type: object properties: @@ -146412,7 +146691,7 @@ webhooks: - creator - created_at - updated_at - repository: *619 + repository: *622 sender: *4 required: - action @@ -146492,10 +146771,10 @@ webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - project_column: &654 + enterprise: *619 + installation: *620 + organization: *621 + project_column: &657 title: Project Column type: object properties: @@ -146535,7 +146814,7 @@ webhooks: - name - created_at - updated_at - repository: *619 + repository: *622 sender: *4 required: - action @@ -146614,14 +146893,14 @@ webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 - project_column: *654 + enterprise: *619 + installation: *620 + organization: *621 + project_column: *657 repository: anyOf: - type: 'null' - - *619 + - *622 sender: *4 required: - action @@ -146710,11 +146989,11 @@ webhooks: type: string required: - from - enterprise: *616 - installation: *617 - organization: *618 - project_column: *654 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + project_column: *657 + repository: *622 sender: *4 required: - action @@ -146794,11 +147073,11 @@ webhooks: type: string enum: - moved - enterprise: *616 - installation: *617 - organization: *618 - project_column: *654 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + project_column: *657 + repository: *622 sender: *4 required: - action @@ -146878,11 +147157,11 @@ webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - project: *655 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + project: *658 + repository: *622 sender: *4 required: - action @@ -146962,14 +147241,14 @@ webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 - project: *655 + enterprise: *619 + installation: *620 + organization: *621 + project: *658 repository: anyOf: - type: 'null' - - *619 + - *622 sender: *4 required: - action @@ -147070,11 +147349,11 @@ webhooks: type: string required: - from - enterprise: *616 - installation: *617 - organization: *618 - project: *655 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + project: *658 + repository: *622 sender: *4 required: - action @@ -147153,11 +147432,11 @@ webhooks: type: string enum: - reopened - enterprise: *616 - installation: *617 - organization: *618 - project: *655 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + project: *658 + repository: *622 sender: *4 required: - action @@ -147238,9 +147517,9 @@ webhooks: type: string enum: - closed - installation: *617 - organization: *618 - projects_v2: &656 + installation: *620 + organization: *621 + projects_v2: &659 title: Projects v2 Project description: A projects v2 project type: object @@ -147388,9 +147667,9 @@ webhooks: type: string enum: - created - installation: *617 - organization: *618 - projects_v2: *656 + installation: *620 + organization: *621 + projects_v2: *659 sender: *4 required: - action @@ -147471,9 +147750,9 @@ webhooks: type: string enum: - deleted - installation: *617 - organization: *618 - projects_v2: *656 + installation: *620 + organization: *621 + projects_v2: *659 sender: *4 required: - action @@ -147594,9 +147873,9 @@ webhooks: type: string to: type: string - installation: *617 - organization: *618 - projects_v2: *656 + installation: *620 + organization: *621 + projects_v2: *659 sender: *4 required: - action @@ -147679,7 +147958,7 @@ webhooks: type: string enum: - archived - changes: &660 + changes: &663 type: object properties: archived_at: @@ -147695,9 +147974,9 @@ webhooks: - string - 'null' format: date-time - installation: *617 - organization: *618 - projects_v2_item: &657 + installation: *620 + organization: *621 + projects_v2_item: &660 title: Projects v2 Item description: An item belonging to a project type: object @@ -147836,9 +148115,9 @@ webhooks: - 'null' to: type: string - installation: *617 - organization: *618 - projects_v2_item: *657 + installation: *620 + organization: *621 + projects_v2_item: *660 sender: *4 required: - action @@ -147920,9 +148199,9 @@ webhooks: type: string enum: - created - installation: *617 - organization: *618 - projects_v2_item: *657 + installation: *620 + organization: *621 + projects_v2_item: *660 sender: *4 required: - action @@ -148003,9 +148282,9 @@ webhooks: type: string enum: - deleted - installation: *617 - organization: *618 - projects_v2_item: *657 + installation: *620 + organization: *621 + projects_v2_item: *660 sender: *4 required: - action @@ -148110,7 +148389,7 @@ webhooks: oneOf: - type: string - type: integer - - &658 + - &661 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -148130,7 +148409,7 @@ webhooks: required: - id - name - - &659 + - &662 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -148159,8 +148438,8 @@ webhooks: oneOf: - type: string - type: integer - - *658 - - *659 + - *661 + - *662 type: - 'null' - string @@ -148183,9 +148462,9 @@ webhooks: - 'null' required: - body - installation: *617 - organization: *618 - projects_v2_item: *657 + installation: *620 + organization: *621 + projects_v2_item: *660 sender: *4 required: - action @@ -148282,9 +148561,9 @@ webhooks: type: - string - 'null' - installation: *617 - organization: *618 - projects_v2_item: *657 + installation: *620 + organization: *621 + projects_v2_item: *660 sender: *4 required: - action @@ -148367,10 +148646,10 @@ webhooks: type: string enum: - restored - changes: *660 - installation: *617 - organization: *618 - projects_v2_item: *657 + changes: *663 + installation: *620 + organization: *621 + projects_v2_item: *660 sender: *4 required: - action @@ -148452,9 +148731,9 @@ webhooks: type: string enum: - reopened - installation: *617 - organization: *618 - projects_v2: *656 + installation: *620 + organization: *621 + projects_v2: *659 sender: *4 required: - action @@ -148535,9 +148814,9 @@ webhooks: type: string enum: - created - installation: *617 - organization: *618 - projects_v2_status_update: &661 + installation: *620 + organization: *621 + projects_v2_status_update: &664 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -148672,9 +148951,9 @@ webhooks: type: string enum: - deleted - installation: *617 - organization: *618 - projects_v2_status_update: *661 + installation: *620 + organization: *621 + projects_v2_status_update: *664 sender: *4 required: - action @@ -148820,9 +149099,9 @@ webhooks: - string - 'null' format: date - installation: *617 - organization: *618 - projects_v2_status_update: *661 + installation: *620 + organization: *621 + projects_v2_status_update: *664 sender: *4 required: - action @@ -148893,10 +149172,10 @@ webhooks: title: public event type: object properties: - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - repository @@ -148973,13 +149252,13 @@ webhooks: type: string enum: - assigned - assignee: *636 - enterprise: *616 - installation: *617 - number: &662 + assignee: *639 + enterprise: *619 + installation: *620 + number: &665 description: The pull request number. type: integer - organization: *618 + organization: *621 pull_request: title: Pull Request type: object @@ -151328,7 +151607,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *622 sender: *4 required: - action @@ -151410,11 +151689,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 number: type: integer - organization: *618 + organization: *621 pull_request: title: Pull Request type: object @@ -153756,7 +154035,7 @@ webhooks: - draft reason: type: string - repository: *619 + repository: *622 sender: *4 required: - action @@ -153838,11 +154117,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 number: type: integer - organization: *618 + organization: *621 pull_request: title: Pull Request type: object @@ -156184,7 +156463,7 @@ webhooks: - draft reason: type: string - repository: *619 + repository: *622 sender: *4 required: - action @@ -156266,13 +156545,13 @@ webhooks: type: string enum: - closed - enterprise: *616 - installation: *617 - number: *662 - organization: *618 - pull_request: &663 + enterprise: *619 + installation: *620 + number: *665 + organization: *621 + pull_request: &666 allOf: - - *494 + - *495 - type: object properties: allow_auto_merge: @@ -156334,7 +156613,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *619 + repository: *622 sender: *4 required: - action @@ -156415,12 +156694,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *616 - installation: *617 - number: *662 - organization: *618 - pull_request: *663 - repository: *619 + enterprise: *619 + installation: *620 + number: *665 + organization: *621 + pull_request: *666 + repository: *622 sender: *4 required: - action @@ -156500,11 +156779,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *616 - milestone: *392 - number: *662 - organization: *618 - pull_request: &664 + enterprise: *619 + milestone: *393 + number: *665 + organization: *621 + pull_request: &667 title: Pull Request type: object properties: @@ -158831,7 +159110,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *622 sender: *4 required: - action @@ -158910,11 +159189,11 @@ webhooks: type: string enum: - dequeued - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 number: type: integer - organization: *618 + organization: *621 pull_request: title: Pull Request type: object @@ -161260,7 +161539,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *619 + repository: *622 sender: *4 required: - action @@ -161384,12 +161663,12 @@ webhooks: type: string required: - from - enterprise: *616 - installation: *617 - number: *662 - organization: *618 - pull_request: *663 - repository: *619 + enterprise: *619 + installation: *620 + number: *665 + organization: *621 + pull_request: *666 + repository: *622 sender: *4 required: - action @@ -161469,11 +161748,11 @@ webhooks: type: string enum: - enqueued - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 number: type: integer - organization: *618 + organization: *621 pull_request: title: Pull Request type: object @@ -163804,7 +164083,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *622 sender: *4 required: - action @@ -163884,11 +164163,11 @@ webhooks: type: string enum: - labeled - enterprise: *616 - installation: *617 - label: *635 - number: *662 - organization: *618 + enterprise: *619 + installation: *620 + label: *638 + number: *665 + organization: *621 pull_request: title: Pull Request type: object @@ -166236,7 +166515,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *622 sender: *4 required: - action @@ -166317,10 +166596,10 @@ webhooks: type: string enum: - locked - enterprise: *616 - installation: *617 - number: *662 - organization: *618 + enterprise: *619 + installation: *620 + number: *665 + organization: *621 pull_request: title: Pull Request type: object @@ -168666,7 +168945,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *622 sender: *4 required: - action @@ -168746,12 +169025,12 @@ webhooks: type: string enum: - milestoned - enterprise: *616 - milestone: *392 - number: *662 - organization: *618 - pull_request: *664 - repository: *619 + enterprise: *619 + milestone: *393 + number: *665 + organization: *621 + pull_request: *667 + repository: *622 sender: *4 required: - action @@ -168830,12 +169109,12 @@ webhooks: type: string enum: - opened - enterprise: *616 - installation: *617 - number: *662 - organization: *618 - pull_request: *663 - repository: *619 + enterprise: *619 + installation: *620 + number: *665 + organization: *621 + pull_request: *666 + repository: *622 sender: *4 required: - action @@ -168916,12 +169195,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *616 - installation: *617 - number: *662 - organization: *618 - pull_request: *663 - repository: *619 + enterprise: *619 + installation: *620 + number: *665 + organization: *621 + pull_request: *666 + repository: *622 sender: *4 required: - action @@ -169001,12 +169280,12 @@ webhooks: type: string enum: - reopened - enterprise: *616 - installation: *617 - number: *662 - organization: *618 - pull_request: *663 - repository: *619 + enterprise: *619 + installation: *620 + number: *665 + organization: *621 + pull_request: *666 + repository: *622 sender: *4 required: - action @@ -169381,9 +169660,9 @@ webhooks: - start_side - side - reactions - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 pull_request: type: object properties: @@ -171613,7 +171892,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *619 + repository: *622 sender: *4 required: - action @@ -171693,7 +171972,7 @@ webhooks: type: string enum: - deleted - comment: &666 + comment: &669 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -171986,9 +172265,9 @@ webhooks: - start_side - side - reactions - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 pull_request: type: object properties: @@ -174206,7 +174485,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *619 + repository: *622 sender: *4 required: - action @@ -174286,11 +174565,11 @@ webhooks: type: string enum: - edited - changes: *665 - comment: *666 - enterprise: *616 - installation: *617 - organization: *618 + changes: *668 + comment: *669 + enterprise: *619 + installation: *620 + organization: *621 pull_request: type: object properties: @@ -176511,7 +176790,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *619 + repository: *622 sender: *4 required: - action @@ -176592,9 +176871,9 @@ webhooks: type: string enum: - dismissed - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 pull_request: title: Simple Pull Request type: object @@ -178827,7 +179106,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *619 + repository: *622 review: description: The review that was affected. type: object @@ -179073,9 +179352,9 @@ webhooks: type: string required: - from - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 pull_request: title: Simple Pull Request type: object @@ -181189,8 +181468,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *619 - review: &667 + repository: *622 + review: &670 description: The review that was affected. type: object properties: @@ -181423,12 +181702,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 number: description: The pull request number. type: integer - organization: *618 + organization: *621 pull_request: title: Pull Request type: object @@ -183775,7 +184054,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *622 requested_reviewer: title: User type: @@ -183861,12 +184140,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 number: description: The pull request number. type: integer - organization: *618 + organization: *621 pull_request: title: Pull Request type: object @@ -186220,7 +186499,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *622 requested_team: title: Team description: Groups of organization members that gives permissions @@ -186415,12 +186694,12 @@ webhooks: type: string enum: - review_requested - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 number: description: The pull request number. type: integer - organization: *618 + organization: *621 pull_request: title: Pull Request type: object @@ -188769,7 +189048,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *622 requested_reviewer: title: User type: @@ -188856,12 +189135,12 @@ webhooks: type: string enum: - review_requested - enterprise: *616 - installation: *617 + enterprise: *619 + installation: *620 number: description: The pull request number. type: integer - organization: *618 + organization: *621 pull_request: title: Pull Request type: object @@ -191201,7 +191480,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *622 requested_team: title: Team description: Groups of organization members that gives permissions @@ -191385,9 +191664,9 @@ webhooks: type: string enum: - submitted - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 pull_request: title: Simple Pull Request type: object @@ -193623,8 +193902,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *619 - review: *667 + repository: *622 + review: *670 sender: *4 required: - action @@ -193704,9 +193983,9 @@ webhooks: type: string enum: - resolved - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 pull_request: title: Simple Pull Request type: object @@ -195837,7 +196116,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *619 + repository: *622 sender: *4 thread: type: object @@ -196229,9 +196508,9 @@ webhooks: type: string enum: - unresolved - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 pull_request: title: Simple Pull Request type: object @@ -198345,7 +198624,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *619 + repository: *622 sender: *4 thread: type: object @@ -198739,10 +199018,10 @@ webhooks: type: string before: type: string - enterprise: *616 - installation: *617 - number: *662 - organization: *618 + enterprise: *619 + installation: *620 + number: *665 + organization: *621 pull_request: title: Pull Request type: object @@ -201077,7 +201356,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *622 sender: *4 required: - action @@ -201159,11 +201438,11 @@ webhooks: type: string enum: - unassigned - assignee: *668 - enterprise: *616 - installation: *617 - number: *662 - organization: *618 + assignee: *671 + enterprise: *619 + installation: *620 + number: *665 + organization: *621 pull_request: title: Pull Request type: object @@ -203513,7 +203792,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *622 sender: *4 required: - action @@ -203592,11 +203871,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *616 - installation: *617 - label: *635 - number: *662 - organization: *618 + enterprise: *619 + installation: *620 + label: *638 + number: *665 + organization: *621 pull_request: title: Pull Request type: object @@ -205935,7 +206214,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *622 sender: *4 required: - action @@ -206016,10 +206295,10 @@ webhooks: type: string enum: - unlocked - enterprise: *616 - installation: *617 - number: *662 - organization: *618 + enterprise: *619 + installation: *620 + number: *665 + organization: *621 pull_request: title: Pull Request type: object @@ -208348,7 +208627,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *622 sender: *4 required: - action @@ -208551,7 +208830,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *616 + enterprise: *619 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -208646,8 +208925,8 @@ webhooks: - url - author - committer - installation: *617 - organization: *618 + installation: *620 + organization: *621 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -209235,9 +209514,9 @@ webhooks: type: string enum: - published - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 registry_package: type: object properties: @@ -209714,7 +209993,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *650 + items: *653 summary: type: string tag_name: @@ -209770,7 +210049,7 @@ webhooks: - owner - package_version - registry - repository: *619 + repository: *622 sender: *4 required: - action @@ -209848,9 +210127,9 @@ webhooks: type: string enum: - updated - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 registry_package: type: object properties: @@ -210162,7 +210441,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *650 + items: *653 summary: type: string tag_name: @@ -210212,7 +210491,7 @@ webhooks: - owner - package_version - registry - repository: *619 + repository: *622 sender: *4 required: - action @@ -210289,10 +210568,10 @@ webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - release: &669 + enterprise: *619 + installation: *620 + organization: *621 + release: &672 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -210608,7 +210887,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *619 + repository: *622 sender: *4 required: - action @@ -210685,11 +210964,11 @@ webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 - release: *669 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + release: *672 + repository: *622 sender: *4 required: - action @@ -210797,11 +211076,11 @@ webhooks: type: boolean required: - to - enterprise: *616 - installation: *617 - organization: *618 - release: *669 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + release: *672 + repository: *622 sender: *4 required: - action @@ -210879,9 +211158,9 @@ webhooks: type: string enum: - prereleased - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -211202,7 +211481,7 @@ webhooks: - string - 'null' format: uri - repository: *619 + repository: *622 sender: *4 required: - action @@ -211278,10 +211557,10 @@ webhooks: type: string enum: - published - enterprise: *616 - installation: *617 - organization: *618 - release: &670 + enterprise: *619 + installation: *620 + organization: *621 + release: &673 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -211599,7 +211878,7 @@ webhooks: - string - 'null' format: uri - repository: *619 + repository: *622 sender: *4 required: - action @@ -211675,11 +211954,11 @@ webhooks: type: string enum: - released - enterprise: *616 - installation: *617 - organization: *618 - release: *669 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + release: *672 + repository: *622 sender: *4 required: - action @@ -211755,11 +212034,11 @@ webhooks: type: string enum: - unpublished - enterprise: *616 - installation: *617 - organization: *618 - release: *670 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + release: *673 + repository: *622 sender: *4 required: - action @@ -211835,11 +212114,11 @@ webhooks: type: string enum: - published - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - repository_advisory: *548 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 + repository_advisory: *551 sender: *4 required: - action @@ -211915,11 +212194,11 @@ webhooks: type: string enum: - reported - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - repository_advisory: *548 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 + repository_advisory: *551 sender: *4 required: - action @@ -211995,10 +212274,10 @@ webhooks: type: string enum: - archived - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -212075,10 +212354,10 @@ webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -212156,10 +212435,10 @@ webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -212244,10 +212523,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -212362,10 +212641,10 @@ webhooks: - 'null' items: type: string - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -212437,10 +212716,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 status: type: string @@ -212521,10 +212800,10 @@ webhooks: type: string enum: - privatized - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -212601,10 +212880,10 @@ webhooks: type: string enum: - publicized - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -212698,10 +212977,10 @@ webhooks: - name required: - repository - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -212781,10 +213060,10 @@ webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 repository_ruleset: *225 sender: *4 required: @@ -212863,10 +213142,10 @@ webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 repository_ruleset: *225 sender: *4 required: @@ -212945,10 +213224,10 @@ webhooks: type: string enum: - edited - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 repository_ruleset: *225 changes: type: object @@ -213256,10 +213535,10 @@ webhooks: - from required: - owner - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -213337,10 +213616,10 @@ webhooks: type: string enum: - unarchived - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -213418,7 +213697,7 @@ webhooks: type: string enum: - create - alert: &671 + alert: &674 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -213542,10 +213821,10 @@ webhooks: type: string enum: - open - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -213755,10 +214034,10 @@ webhooks: type: string enum: - dismissed - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -213836,11 +214115,11 @@ webhooks: type: string enum: - reopen - alert: *671 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + alert: *674 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -214042,10 +214321,10 @@ webhooks: enum: - fixed - open - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -214123,7 +214402,7 @@ webhooks: type: string enum: - created - alert: &672 + alert: &675 type: object properties: number: *52 @@ -214233,10 +214512,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -214317,11 +214596,11 @@ webhooks: type: string enum: - created - alert: *672 - installation: *617 - location: *673 - organization: *618 - repository: *619 + alert: *675 + installation: *620 + location: *676 + organization: *621 + repository: *622 sender: *4 required: - location @@ -214559,11 +214838,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *672 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + alert: *675 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -214641,11 +214920,11 @@ webhooks: type: string enum: - reopened - alert: *672 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + alert: *675 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -214723,11 +215002,11 @@ webhooks: type: string enum: - resolved - alert: *672 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + alert: *675 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -214805,11 +215084,11 @@ webhooks: type: string enum: - validated - alert: *672 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + alert: *675 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -214939,10 +215218,10 @@ webhooks: - organization - enterprise - - repository: *619 - enterprise: *616 - installation: *617 - organization: *618 + repository: *622 + enterprise: *619 + installation: *620 + organization: *621 sender: *4 required: - action @@ -215020,11 +215299,11 @@ webhooks: type: string enum: - published - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - security_advisory: &674 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 + security_advisory: &677 description: The details of the security advisory, including summary, description, and severity. type: object @@ -215210,11 +215489,11 @@ webhooks: type: string enum: - updated - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - security_advisory: *674 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 + security_advisory: *677 sender: *4 required: - action @@ -215287,10 +215566,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -215477,10 +215756,10 @@ webhooks: type: object properties: security_and_analysis: *218 - enterprise: *616 - installation: *617 - organization: *618 - repository: *271 + enterprise: *619 + installation: *620 + organization: *621 + repository: *272 sender: *4 required: - changes @@ -215558,12 +215837,12 @@ webhooks: type: string enum: - cancelled - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 - sponsorship: &675 + sponsorship: &678 type: object properties: created_at: @@ -215868,12 +216147,12 @@ webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 - sponsorship: *675 + sponsorship: *678 required: - action - sponsorship @@ -215961,12 +216240,12 @@ webhooks: type: string required: - from - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 - sponsorship: *675 + sponsorship: *678 required: - action - changes @@ -216043,17 +216322,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &676 + effective_date: &679 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 - sponsorship: *675 + sponsorship: *678 required: - action - sponsorship @@ -216127,7 +216406,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &677 + changes: &680 type: object properties: tier: @@ -216171,13 +216450,13 @@ webhooks: - from required: - tier - effective_date: *676 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + effective_date: *679 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 - sponsorship: *675 + sponsorship: *678 required: - action - changes @@ -216254,13 +216533,13 @@ webhooks: type: string enum: - tier_changed - changes: *677 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + changes: *680 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 - sponsorship: *675 + sponsorship: *678 required: - action - changes @@ -216334,10 +216613,10 @@ webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -216421,10 +216700,10 @@ webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -216858,15 +217137,15 @@ webhooks: type: - string - 'null' - enterprise: *616 + enterprise: *619 id: description: The unique identifier of the status. type: integer - installation: *617 + installation: *620 name: type: string - organization: *618 - repository: *619 + organization: *621 + repository: *622 sender: *4 sha: description: The Commit SHA. @@ -216982,9 +217261,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *74 - installation: *617 - organization: *618 - repository: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -217074,9 +217353,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *74 - installation: *617 - organization: *618 - repository: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -217166,9 +217445,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *74 - installation: *617 - organization: *618 - repository: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -217258,9 +217537,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *74 - installation: *617 - organization: *618 - repository: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -217337,12 +217616,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 - team: &678 + team: &681 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -217535,9 +217814,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 repository: title: Repository description: A git repository @@ -218007,7 +218286,7 @@ webhooks: - topics - visibility sender: *4 - team: *678 + team: *681 required: - action - team @@ -218083,9 +218362,9 @@ webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 repository: title: Repository description: A git repository @@ -218555,7 +218834,7 @@ webhooks: - topics - visibility sender: *4 - team: *678 + team: *681 required: - action - team @@ -218632,9 +218911,9 @@ webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 repository: title: Repository description: A git repository @@ -219104,7 +219383,7 @@ webhooks: - topics - visibility sender: *4 - team: *678 + team: *681 required: - action - team @@ -219248,9 +219527,9 @@ webhooks: - from required: - permissions - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 repository: title: Repository description: A git repository @@ -219720,7 +219999,7 @@ webhooks: - topics - visibility sender: *4 - team: *678 + team: *681 required: - action - changes @@ -219798,9 +220077,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *619 + installation: *620 + organization: *621 repository: title: Repository description: A git repository @@ -220270,7 +220549,7 @@ webhooks: - topics - visibility sender: *4 - team: *678 + team: *681 required: - action - team @@ -220346,10 +220625,10 @@ webhooks: type: string enum: - started - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 required: - action @@ -220422,17 +220701,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *616 + enterprise: *619 inputs: type: - object - 'null' additionalProperties: true - installation: *617 - organization: *618 + installation: *620 + organization: *621 ref: type: string - repository: *619 + repository: *622 sender: *4 workflow: type: string @@ -220514,10 +220793,10 @@ webhooks: type: string enum: - completed - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 workflow_job: allOf: @@ -220773,7 +221052,7 @@ webhooks: type: string required: - conclusion - deployment: *412 + deployment: *413 required: - action - repository @@ -220852,10 +221131,10 @@ webhooks: type: string enum: - in_progress - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 workflow_job: allOf: @@ -221137,7 +221416,7 @@ webhooks: required: - status - steps - deployment: *412 + deployment: *413 required: - action - repository @@ -221216,10 +221495,10 @@ webhooks: type: string enum: - queued - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 workflow_job: type: object @@ -221365,7 +221644,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *412 + deployment: *413 required: - action - repository @@ -221444,10 +221723,10 @@ webhooks: type: string enum: - waiting - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 workflow_job: type: object @@ -221594,7 +221873,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *412 + deployment: *413 required: - action - repository @@ -221674,12 +221953,12 @@ webhooks: type: string enum: - completed - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 - workflow: *631 + workflow: *634 workflow_run: title: Workflow Run type: object @@ -222698,12 +222977,12 @@ webhooks: type: string enum: - in_progress - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 - workflow: *631 + workflow: *634 workflow_run: title: Workflow Run type: object @@ -223707,12 +223986,12 @@ webhooks: type: string enum: - requested - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *619 + installation: *620 + organization: *621 + repository: *622 sender: *4 - workflow: *631 + workflow: *634 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index a7f667eb1..23f8b2fac 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -27181,6 +27181,17 @@ "examples": [ "\"2021-01-01T00:00:00.000-07:00\"" ] + }, + "user_dismissible": { + "type": [ + "boolean", + "null" + ], + "description": "Whether an announcement can be dismissed by the user.", + "default": false, + "examples": [ + false + ] } }, "required": [ @@ -27997,6 +28008,45 @@ "ssl_verify" ] }, + { + "title": "HecConfig", + "description": "Hec Config for Audit Log Stream Configuration", + "type": "object", + "properties": { + "domain": { + "description": "Domain of Hec instance.", + "type": "string" + }, + "port": { + "description": "The port number for connecting to HEC.", + "type": "integer" + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "encrypted_token": { + "description": "Encrypted Token.", + "type": "string" + }, + "path": { + "description": "Path to send events to.", + "type": "string" + }, + "ssl_verify": { + "description": "SSL verification helps ensure your events are sent to your HEC endpoint securely.", + "type": "boolean" + } + }, + "required": [ + "domain", + "encrypted_token", + "path", + "key_id", + "port", + "ssl_verify" + ] + }, { "title": "GoogleCloudConfig", "description": "Google Cloud Config for audit log streaming configuration.", @@ -28465,6 +28515,45 @@ "ssl_verify" ] }, + { + "title": "HecConfig", + "description": "Hec Config for Audit Log Stream Configuration", + "type": "object", + "properties": { + "domain": { + "description": "Domain of Hec instance.", + "type": "string" + }, + "port": { + "description": "The port number for connecting to HEC.", + "type": "integer" + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "encrypted_token": { + "description": "Encrypted Token.", + "type": "string" + }, + "path": { + "description": "Path to send events to.", + "type": "string" + }, + "ssl_verify": { + "description": "SSL verification helps ensure your events are sent to your HEC endpoint securely.", + "type": "boolean" + } + }, + "required": [ + "domain", + "encrypted_token", + "path", + "key_id", + "port", + "ssl_verify" + ] + }, { "title": "GoogleCloudConfig", "description": "Google Cloud Config for audit log streaming configuration.", @@ -48033,6 +48122,387 @@ } } }, + "/enterprises/{enterprise}/rulesets/{ruleset_id}/history": { + "get": { + "summary": "Get enterprise ruleset history", + "description": "Get the history of an enterprise ruleset.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-enterprise-ruleset-history", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-enterprise-ruleset-history" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Ruleset version", + "type": "object", + "description": "The historical version of a ruleset", + "required": [ + "version_id", + "actor", + "updated_at" + ], + "properties": { + "version_id": { + "type": "integer", + "description": "The ID of the previous version of the ruleset" + }, + "actor": { + "type": "object", + "description": "The actor who updated the ruleset", + "properties": { + "id": { + "type": "integer" + }, + "type": { + "type": "string" + } + } + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z" + }, + { + "version_id": 2, + "actor": { + "id": 2, + "type": "User" + }, + "updated_at": "2024-09-23T16:29:47Z" + }, + { + "version_id": 1, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-08-23T16:29:47Z" + } + ] + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "rules" + } + } + }, + "/enterprises/{enterprise}/rulesets/{ruleset_id}/history/{version_id}": { + "get": { + "summary": "Get enterprise ruleset version", + "description": "Get a version of an enterprise ruleset.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-enterprise-ruleset-version", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-enterprise-ruleset-version" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version_id", + "description": "The ID of the version", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "title": "Ruleset version", + "type": "object", + "description": "The historical version of a ruleset", + "required": [ + "version_id", + "actor", + "updated_at" + ], + "properties": { + "version_id": { + "type": "integer", + "description": "The ID of the previous version of the ruleset" + }, + "actor": { + "type": "object", + "description": "The actor who updated the ruleset", + "properties": { + "id": { + "type": "integer" + }, + "type": { + "type": "string" + } + } + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + } + }, + { + "type": "object", + "required": [ + "state" + ], + "properties": { + "state": { + "type": "object", + "description": "The state of the ruleset version" + } + } + } + ] + }, + "examples": { + "default": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z", + "state": { + "id": 21, + "name": "super cool ruleset", + "target": "repository", + "source_type": "Enterprise", + "source": "my-enterprise", + "enforcement": "active", + "conditions": { + "organization_name": { + "include": [ + "important_organization" + ] + }, + "repository_name": { + "include": [ + "~ALL" + ] + } + }, + "rules": [ + { + "type": "repository_delete" + } + ] + } + } + ] + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "rules" + } + } + }, "/enterprises/{enterprise}/secret-scanning/alerts": { "get": { "summary": "List secret scanning alerts for an enterprise", @@ -101142,6 +101612,17 @@ "examples": [ "\"2021-01-01T00:00:00.000-07:00\"" ] + }, + "user_dismissible": { + "type": [ + "boolean", + "null" + ], + "description": "Whether an announcement can be dismissed by the user.", + "default": false, + "examples": [ + false + ] } }, "required": [ @@ -183000,23 +183481,298 @@ } } } - }, - "delete": { - "summary": "Delete an organization repository ruleset", - "description": "Delete a ruleset for an organization.", + }, + "delete": { + "summary": "Delete an organization repository ruleset", + "description": "Delete a ruleset for an organization.", + "tags": [ + "repos" + ], + "operationId": "repos/delete-org-ruleset", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#delete-an-organization-repository-ruleset" + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "rules" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "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" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + } + } + }, + "/orgs/{org}/rulesets/{ruleset_id}/history": { + "get": { + "summary": "Get organization ruleset history", + "description": "Get the history of an organization ruleset.", "tags": [ - "repos" + "orgs" ], - "operationId": "repos/delete-org-ruleset", + "operationId": "orgs/get-org-ruleset-history", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#delete-an-organization-repository-ruleset" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-history" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Ruleset version", + "type": "object", + "description": "The historical version of a ruleset", + "required": [ + "version_id", + "actor", + "updated_at" + ], + "properties": { + "version_id": { + "type": "integer", + "description": "The ID of the previous version of the ruleset" + }, + "actor": { + "type": "object", + "description": "The actor who updated the ruleset", + "properties": { + "id": { + "type": "integer" + }, + "type": { + "type": "string" + } + } + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z" + }, + { + "version_id": 2, + "actor": { + "id": 2, + "type": "User" + }, + "updated_at": "2024-09-23T16:29:47Z" + }, + { + "version_id": 1, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-08-23T16:29:47Z" + } + ] + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "orgs", "subcategory": "rules" + } + } + }, + "/orgs/{org}/rulesets/{ruleset_id}/history/{version_id}": { + "get": { + "summary": "Get organization ruleset version", + "description": "Get a version of an organization ruleset.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-org-ruleset-version", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-version" }, "parameters": [ { @@ -183036,11 +183792,131 @@ "schema": { "type": "integer" } + }, + { + "name": "version_id", + "description": "The ID of the version", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } } ], "responses": { - "204": { - "description": "Response" + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "title": "Ruleset version", + "type": "object", + "description": "The historical version of a ruleset", + "required": [ + "version_id", + "actor", + "updated_at" + ], + "properties": { + "version_id": { + "type": "integer", + "description": "The ID of the previous version of the ruleset" + }, + "actor": { + "type": "object", + "description": "The actor who updated the ruleset", + "properties": { + "id": { + "type": "integer" + }, + "type": { + "type": "string" + } + } + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + } + }, + { + "type": "object", + "required": [ + "state" + ], + "properties": { + "state": { + "type": "object", + "description": "The state of the ruleset version" + } + } + } + ] + }, + "examples": { + "default": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z", + "state": { + "id": 21, + "name": "super cool ruleset", + "target": "branch", + "source_type": "Organization", + "source": "my-org", + "enforcement": "active", + "bypass_actors": [ + { + "actor_id": 234, + "actor_type": "Team", + "bypass_mode": "always" + } + ], + "conditions": { + "ref_name": { + "include": [ + "refs/heads/main", + "refs/heads/master" + ], + "exclude": [ + "refs/heads/dev*" + ] + }, + "repository_name": { + "include": [ + "important_repository", + "another_important_repository" + ], + "exclude": [ + "unimportant_repository" + ], + "protected": true + } + }, + "rules": [ + { + "type": "commit_author_email_pattern", + "parameters": { + "operator": "contains", + "pattern": "github" + } + } + ] + } + } + ] + } + } + } + } }, "404": { "description": "Resource not found", @@ -183094,6 +183970,12 @@ } } } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "rules" } } }, @@ -241116,7 +241998,7 @@ "/repos/{owner}/{repo}/actions/runs/{run_id}/timing": { "get": { "summary": "Get workflow run usage", - "description": "Gets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub Enterprise Cloud-hosted runners. Usage is listed for each GitHub Enterprise Cloud-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "description": "> [!WARNING] \n> This endpoint is in the process of closing down. Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" for more information.\n\nGets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub Enterprise Cloud-hosted runners. Usage is listed for each GitHub Enterprise Cloud-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ "actions" ], @@ -245867,7 +246749,7 @@ "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": { "get": { "summary": "Get workflow usage", - "description": "Gets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub Enterprise Cloud-hosted runners. Usage is listed for each GitHub Enterprise Cloud-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "description": "> [!WARNING] \n> This endpoint is in the process of closing down. Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" for more information.\n\nGets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub Enterprise Cloud-hosted runners. Usage is listed for each GitHub Enterprise Cloud-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ "actions" ], @@ -418542,7 +419424,7 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "reactions", "subcategory": "reactions" } @@ -522357,6 +523239,415 @@ } } }, + "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": { + "get": { + "summary": "Get repository ruleset history", + "description": "Get the history of a repository ruleset.", + "tags": [ + "repos" + ], + "operationId": "repos/get-repo-ruleset-history", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history" + }, + "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": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Ruleset version", + "type": "object", + "description": "The historical version of a ruleset", + "required": [ + "version_id", + "actor", + "updated_at" + ], + "properties": { + "version_id": { + "type": "integer", + "description": "The ID of the previous version of the ruleset" + }, + "actor": { + "type": "object", + "description": "The actor who updated the ruleset", + "properties": { + "id": { + "type": "integer" + }, + "type": { + "type": "string" + } + } + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z" + }, + { + "version_id": 2, + "actor": { + "id": 2, + "type": "User" + }, + "updated_at": "2024-09-23T16:29:47Z" + }, + { + "version_id": 1, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-08-23T16:29:47Z" + } + ] + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "rules" + } + } + }, + "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}": { + "get": { + "summary": "Get repository ruleset version", + "description": "Get a version of a repository ruleset.", + "tags": [ + "repos" + ], + "operationId": "repos/get-repo-ruleset-version", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version" + }, + "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": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version_id", + "description": "The ID of the version", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "title": "Ruleset version", + "type": "object", + "description": "The historical version of a ruleset", + "required": [ + "version_id", + "actor", + "updated_at" + ], + "properties": { + "version_id": { + "type": "integer", + "description": "The ID of the previous version of the ruleset" + }, + "actor": { + "type": "object", + "description": "The actor who updated the ruleset", + "properties": { + "id": { + "type": "integer" + }, + "type": { + "type": "string" + } + } + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + } + }, + { + "type": "object", + "required": [ + "state" + ], + "properties": { + "state": { + "type": "object", + "description": "The state of the ruleset version" + } + } + } + ] + }, + "examples": { + "default": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z", + "state": { + "id": 42, + "name": "super cool ruleset", + "target": "branch", + "source_type": "Repository", + "source": "monalisa/my-repo", + "enforcement": "active", + "bypass_actors": [ + { + "actor_id": 234, + "actor_type": "Team", + "bypass_mode": "always" + } + ], + "conditions": { + "ref_name": { + "include": [ + "refs/heads/main", + "refs/heads/master" + ], + "exclude": [ + "refs/heads/dev*" + ] + } + }, + "rules": [ + { + "type": "commit_author_email_pattern", + "parameters": { + "operator": "contains", + "pattern": "github" + } + } + ] + } + } + ] + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "rules" + } + } + }, "/repos/{owner}/{repo}/secret-scanning/alerts": { "get": { "summary": "List secret scanning alerts for a repository", diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index ac6ae09a1..ace982b30 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -438,7 +438,7 @@ paths: The EPSS percentile represents the relative rank of the CVE's likelihood of being exploited compared to other CVEs. schema: type: string - - &80 + - &82 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For @@ -447,7 +447,7 @@ paths: required: false schema: type: string - - &81 + - &83 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For @@ -456,7 +456,7 @@ paths: required: false schema: type: string - - &82 + - &84 name: direction description: The direction to sort the results by. in: query @@ -695,7 +695,7 @@ paths: required: - vector_string - score - cvss_severities: &96 + cvss_severities: &98 type: - object - 'null' @@ -742,7 +742,7 @@ paths: required: - vector_string - score - epss: &97 + epss: &99 type: - object - 'null' @@ -905,7 +905,7 @@ paths: - subscriptions_url - type - url - type: &320 + type: &325 type: string description: The type of credit the user is receiving. enum: @@ -1038,7 +1038,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &171 + schema: &174 title: Validation Error Simple description: Validation Error Simple type: object @@ -1071,7 +1071,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &629 + - &634 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1667,7 +1667,7 @@ paths: schema: type: integer default: 30 - - &250 + - &253 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 @@ -1683,7 +1683,7 @@ paths: application/json: schema: type: array - items: &251 + items: &254 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1776,7 +1776,7 @@ paths: - installation_id - repository_id examples: - default: &252 + default: &255 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1808,7 +1808,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &639 + schema: &644 title: Scim Error description: Scim Error type: object @@ -1839,7 +1839,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &170 + schema: &173 title: Validation Error description: Validation Error type: object @@ -1911,7 +1911,7 @@ paths: description: Response content: application/json: - schema: &253 + schema: &256 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2046,7 +2046,7 @@ paths: - request - response examples: - default: &254 + default: &257 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2106,7 +2106,7 @@ paths: parameters: - *16 responses: - '202': &91 + '202': &93 description: Accepted content: application/json: @@ -2250,7 +2250,7 @@ paths: parameters: - *17 - *19 - - &135 + - &138 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -3012,7 +3012,7 @@ paths: license: anyOf: - type: 'null' - - &146 + - &149 title: License Simple description: License Simple type: object @@ -7607,7 +7607,7 @@ paths: description: Response content: application/json: - schema: &172 + schema: &175 type: object properties: total_active_caches_count: @@ -7622,7 +7622,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &173 + default: &176 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7834,7 +7834,7 @@ paths: - public_ip_enabled - platform examples: - default: &174 + default: &177 value: total_count: 2 runners: @@ -8131,7 +8131,7 @@ paths: description: Response content: application/json: - schema: &175 + schema: &178 type: object properties: public_ips: @@ -8158,7 +8158,7 @@ paths: required: - public_ips examples: - default: &176 + default: &179 value: public_ips: current_usage: 17 @@ -8198,7 +8198,7 @@ paths: type: array items: *42 examples: - default: &177 + default: &180 value: id: 4-core cpu_cores: 4 @@ -8463,7 +8463,7 @@ paths: - all - local_only - selected - selected_actions_url: &180 + selected_actions_url: &183 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` @@ -8844,7 +8844,7 @@ paths: description: Success response content: application/json: - schema: &183 + schema: &186 type: object properties: default_workflow_permissions: &50 @@ -8892,7 +8892,7 @@ paths: required: true content: application/json: - schema: &184 + schema: &187 type: object properties: default_workflow_permissions: *50 @@ -9737,7 +9737,7 @@ paths: application/json: schema: type: array - items: &188 + items: &191 title: Runner Application description: Runner Application type: object @@ -9762,7 +9762,7 @@ paths: - download_url - filename examples: - default: &189 + default: &192 value: - os: osx architecture: x64 @@ -9846,7 +9846,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &190 + '201': &193 description: Response content: application/json: @@ -9885,7 +9885,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': &90 + '409': &92 description: Conflict content: application/json: @@ -9965,7 +9965,7 @@ paths: - token - expires_at examples: - default: &191 + default: &194 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10005,7 +10005,7 @@ paths: application/json: schema: *62 examples: - default: &192 + default: &195 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10037,7 +10037,7 @@ paths: application/json: schema: *59 examples: - default: &193 + default: &196 value: id: 23 name: MBP @@ -10252,7 +10252,7 @@ paths: - *38 - *58 responses: - '200': &194 + '200': &197 description: Response content: application/json: @@ -10308,7 +10308,7 @@ paths: parameters: - *38 - *58 - - &195 + - &198 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10341,7 +10341,7 @@ paths: description: Response content: application/json: - schema: &68 + schema: &69 title: Announcement Banner description: Announcement at either the repository, organization, or enterprise level @@ -10368,7 +10368,7 @@ paths: it to an empty string.' examples: - '"2021-01-01T00:00:00.000-07:00"' - user_dismissible: + user_dismissible: &67 type: - boolean - 'null' @@ -10381,7 +10381,7 @@ paths: - expires_at - user_dismissible examples: - default: &67 + default: &68 summary: Announcement banner value: announcement: Very **important** announcement about _something_. @@ -10405,17 +10405,18 @@ paths: required: true content: application/json: - schema: &202 + schema: &205 title: Enterprise Announcement description: Enterprise global announcement type: object properties: announcement: *65 expires_at: *66 + user_dismissible: *67 required: - announcement examples: - default: *67 + default: *68 parameters: - *38 responses: @@ -10423,9 +10424,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *69 examples: - default: *67 + default: *68 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -10476,7 +10477,7 @@ paths: required: false schema: type: string - - &203 + - &206 name: include description: |- The event types to include: @@ -10494,7 +10495,7 @@ paths: - web - git - all - - &204 + - &207 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. @@ -10502,7 +10503,7 @@ paths: required: false schema: type: string - - &205 + - &208 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. @@ -10510,7 +10511,7 @@ paths: required: false schema: type: string - - &206 + - &209 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -10532,7 +10533,7 @@ paths: application/json: schema: type: array - items: &207 + items: &210 type: object properties: "@timestamp": @@ -10654,7 +10655,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &208 + default: &211 value: - "@timestamp": 1606929874512 action: team.add_member @@ -10834,7 +10835,7 @@ paths: vendor_specific: type: object oneOf: - - &72 + - &73 title: AzureBlobConfig description: Azure Blob Config for audit log streaming configuration. type: object @@ -10848,7 +10849,7 @@ paths: required: - key_id - encrypted_sas_url - - &73 + - &74 title: AzureHubConfig description: Azure Event Hubs Config for audit log streaming configuration. type: object @@ -10867,7 +10868,7 @@ paths: - name - encrypted_connstring - key_id - - &74 + - &75 title: AmazonS3OIDCConfig description: Amazon S3 OIDC Config for audit log streaming configuration. type: object @@ -10895,7 +10896,7 @@ paths: - bucket - key_id - region - - &75 + - &76 title: AmazonS3AccessKeysConfig description: Amazon S3 Access Keys Config for audit log streaming configuration. @@ -10929,7 +10930,7 @@ paths: - encrypted_secret_key - key_id - region - - &76 + - &77 title: SplunkConfig description: Splunk Config for Audit Log Stream Configuration type: object @@ -10957,7 +10958,39 @@ paths: - key_id - port - ssl_verify - - &77 + - &78 + title: HecConfig + description: Hec Config for Audit Log Stream Configuration + type: object + properties: + domain: + description: Domain of Hec instance. + type: string + port: + description: The port number for connecting to HEC. + type: integer + key_id: + type: string + description: Key ID obtained from the audit log stream key + endpoint used to encrypt secrets. + encrypted_token: + description: Encrypted Token. + type: string + path: + description: Path to send events to. + type: string + ssl_verify: + description: SSL verification helps ensure your events are + sent to your HEC endpoint securely. + type: boolean + required: + - domain + - encrypted_token + - path + - key_id + - port + - ssl_verify + - &79 title: GoogleCloudConfig description: Google Cloud Config for audit log streaming configuration. type: object @@ -10975,7 +11008,7 @@ paths: - bucket - key_id - encrypted_json_credentials - - &78 + - &80 title: DatadogConfig description: Datadog Config for audit log streaming configuration. type: object @@ -11006,7 +11039,7 @@ paths: - stream_type - vendor_specific examples: - default: &79 + default: &81 value: enabled: false stream_type: Azure Event Hubs @@ -11020,7 +11053,7 @@ paths: description: The audit log stream configuration was created successfully. content: application/json: - schema: &69 + schema: &70 title: Get an audit log streaming configuration description: Get an audit log streaming configuration for an enterprise. type: object @@ -11052,7 +11085,7 @@ paths: - created_at - updated_at examples: - default: &70 + default: &71 value: id: 1 stream_type: Splunk @@ -11081,7 +11114,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-one-audit-log-streaming-configuration-via-a-stream-id parameters: - *38 - - &71 + - &72 name: stream_id description: The ID of the audit log stream configuration. in: path @@ -11093,9 +11126,9 @@ paths: description: Lists one audit log stream configuration via stream ID. content: application/json: - schema: *69 + schema: *70 examples: - default: *70 + default: *71 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -11115,7 +11148,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#update-an-existing-audit-log-stream-configuration parameters: - *38 - - *71 + - *72 requestBody: required: true content: @@ -11141,27 +11174,28 @@ paths: vendor_specific: type: object oneOf: - - *72 - *73 - *74 - *75 - *76 - *77 - *78 + - *79 + - *80 required: - enabled - stream_type - vendor_specific examples: - default: *79 + default: *81 responses: '200': description: Successful update content: application/json: - schema: *69 + schema: *70 examples: - default: *70 + default: *71 '422': description: Validation error content: @@ -11192,7 +11226,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#delete-an-audit-log-streaming-configuration-for-an-enterprise parameters: - *38 - - *71 + - *72 responses: '204': description: The audit log stream configuration was deleted successfully. @@ -11224,7 +11258,7 @@ paths: in: query schema: type: string - - &210 + - &213 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -11232,7 +11266,7 @@ paths: required: false schema: type: string - - &211 + - &214 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -11240,7 +11274,7 @@ paths: required: false schema: type: string - - &212 + - &215 name: time_period description: |- The time period to filter by. @@ -11256,7 +11290,7 @@ paths: - week - month default: day - - &213 + - &216 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -11281,7 +11315,7 @@ paths: application/json: schema: type: array - items: &214 + items: &217 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -11442,7 +11476,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &215 + default: &218 value: - id: 21 number: 42 @@ -11511,7 +11545,7 @@ paths: url: https://api.github.com/repos/octo-org/smile/bypass-requests/push-rules/2 html_url: https://github.com/octo-org/smile/exemptions/2 '404': *6 - '500': &93 + '500': &95 description: Internal Error content: application/json: @@ -11533,17 +11567,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *38 - - &216 + - &219 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`, but not both. in: query required: false - schema: &83 + schema: &85 type: string description: The name of the tool used to generate the code scanning analysis. - - &217 + - &220 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 @@ -11551,23 +11585,23 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &84 + schema: &86 type: - string - 'null' description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *80 - - *81 + - *82 + - *83 - *19 - *17 - - *82 + - *84 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: &218 + schema: &221 type: string description: State of a code scanning alert. enum: @@ -11592,42 +11626,42 @@ paths: application/json: schema: type: array - items: &219 + items: &222 type: object properties: - number: &94 + number: &96 type: integer description: The security alert number. readOnly: true - created_at: &101 + created_at: &103 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &102 + updated_at: &104 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - url: &99 + url: &101 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &100 + html_url: &102 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &432 + instances_url: &437 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &85 + state: &87 type: - string - 'null' @@ -11637,7 +11671,7 @@ paths: - dismissed - fixed - - fixed_at: &104 + fixed_at: &106 type: - string - 'null' @@ -11649,7 +11683,7 @@ paths: anyOf: - type: 'null' - *4 - dismissed_at: &103 + dismissed_at: &105 type: - string - 'null' @@ -11657,7 +11691,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &433 + dismissed_reason: &438 type: - string - 'null' @@ -11668,14 +11702,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &434 + dismissed_comment: &439 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &435 + rule: &440 type: object properties: id: @@ -11736,26 +11770,26 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &436 + tool: &441 type: object properties: - name: *83 + name: *85 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *84 - most_recent_instance: &437 + guid: *86 + most_recent_instance: &442 type: object properties: - ref: &430 + ref: &435 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &447 + analysis_key: &452 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -11766,13 +11800,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &448 + category: &453 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *85 + state: *87 commit_sha: type: string message: @@ -11813,7 +11847,7 @@ paths: - test - library - - repository: &92 + repository: &94 title: Simple Repository description: A GitHub repository. type: object @@ -12150,7 +12184,7 @@ paths: - most_recent_instance - repository examples: - default: &220 + default: &223 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -12381,7 +12415,7 @@ paths: headers: Link: *37 '404': *6 - '503': &125 + '503': &128 description: Service unavailable content: application/json: @@ -12425,8 +12459,8 @@ paths: schema: type: integer default: 30 - - *80 - - *81 + - *82 + - *83 responses: '200': description: Response @@ -12434,7 +12468,7 @@ paths: application/json: schema: type: array - items: &86 + items: &88 type: object description: A code security configuration properties: @@ -12768,7 +12802,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: &89 + code_scanning_default_setup_options: &91 type: - object - 'null' @@ -12854,9 +12888,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *86 + schema: *88 examples: - default: &87 + default: &89 value: id: 1325 target_type: enterprise @@ -12911,7 +12945,7 @@ paths: description: Response content: application/json: - schema: &222 + schema: &225 type: array description: A list of default code security configurations items: @@ -12925,9 +12959,9 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *86 + configuration: *88 examples: - default: &223 + default: &226 value: - default_for_new_repos: public configuration: @@ -13012,7 +13046,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise parameters: - *38 - - &88 + - &90 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -13024,9 +13058,9 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *87 + default: *89 '304': *35 '403': *27 '404': *6 @@ -13051,7 +13085,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise parameters: - *38 - - *88 + - *90 requestBody: required: true content: @@ -13118,7 +13152,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *89 + code_scanning_default_setup_options: *91 secret_scanning: type: string description: The enablement status of secret scanning @@ -13173,13 +13207,13 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *87 + default: *89 '304': *35 '403': *27 '404': *6 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13203,14 +13237,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise parameters: - *38 - - *88 + - *90 responses: - '204': &112 + '204': &114 description: A header with no content is returned. '400': *14 '403': *27 '404': *6 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13235,7 +13269,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories parameters: - *38 - - *88 + - *90 requestBody: required: true content: @@ -13259,10 +13293,10 @@ paths: value: scope: all responses: - '202': *91 + '202': *93 '403': *27 '404': *6 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -13287,7 +13321,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-enterprise parameters: - *38 - - *88 + - *90 requestBody: required: true content: @@ -13327,12 +13361,12 @@ paths: - none - private_and_internal - public - configuration: *86 + configuration: *88 examples: default: value: default_for_new_repos: all - configuration: &221 + configuration: &224 value: id: 1325 target_type: organization @@ -13384,7 +13418,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration parameters: - *38 - - *88 + - *90 - 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)." @@ -13393,8 +13427,8 @@ paths: schema: type: integer default: 30 - - *80 - - *81 + - *82 + - *83 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -13412,7 +13446,7 @@ paths: application/json: schema: type: array - items: &224 + items: &227 type: object description: Repositories associated with a code security configuration and attachment status @@ -13430,13 +13464,13 @@ paths: - failed - updating - removed_by_enterprise - repository: *92 + repository: *94 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: &225 + repository: &228 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -13919,7 +13953,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &227 + items: &230 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -13934,7 +13968,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &272 + - &275 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -13993,7 +14027,7 @@ paths: parent: anyOf: - type: 'null' - - &285 + - &288 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -14197,7 +14231,7 @@ paths: - created_at additionalProperties: false examples: - default: &228 + default: &231 value: total_seats: 2 seats: @@ -14266,7 +14300,7 @@ paths: site_admin: false headers: Link: *37 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -14328,7 +14362,7 @@ paths: application/json: schema: type: array - items: &127 + items: &130 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -14643,7 +14677,7 @@ paths: - date additionalProperties: true examples: - default: &128 + default: &131 value: - date: '2024-06-24' total_active_users: 24 @@ -14742,10 +14776,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *93 + '500': *95 '403': *27 '404': *6 - '422': &129 + '422': &132 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -14815,7 +14849,7 @@ paths: application/json: schema: type: array - items: &130 + items: &133 title: Copilot Usage Metrics description: Summary of Copilot usage. type: object @@ -14967,7 +15001,7 @@ paths: lines_suggested: 1100 lines_accepted: 1000 active_users: 5 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -14995,7 +15029,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *38 - - &235 + - &238 name: state in: query description: |- @@ -15004,7 +15038,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &236 + - &239 name: severity in: query description: |- @@ -15013,7 +15047,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &237 + - &240 name: ecosystem in: query description: |- @@ -15022,14 +15056,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &238 + - &241 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &239 + - &242 name: epss_percentage in: query description: |- @@ -15041,7 +15075,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 - - &240 + - &243 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -15051,7 +15085,7 @@ paths: enum: - development - runtime - - &241 + - &244 name: sort in: query description: |- @@ -15066,10 +15100,10 @@ paths: - updated - epss_percentage default: created + - *84 - *82 - - *80 - - *81 - - &242 + - *83 + - &245 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -15082,7 +15116,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &243 + - &246 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -15102,11 +15136,11 @@ paths: application/json: schema: type: array - items: &244 + items: &247 type: object description: A Dependabot alert. properties: - number: *94 + number: *96 state: type: string description: The state of the Dependabot alert. @@ -15121,7 +15155,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &95 + package: &97 type: object description: Details for the vulnerable package. readOnly: true @@ -15154,7 +15188,7 @@ paths: - development - runtime - - security_advisory: &484 + security_advisory: &489 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -15185,13 +15219,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &98 + items: &100 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *95 + package: *97 severity: type: string description: The severity of the vulnerability. @@ -15259,8 +15293,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *96 - epss: *97 + cvss_severities: *98 + epss: *99 cwes: type: array description: Details for the advisory pertaining to Common @@ -15360,12 +15394,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *98 - url: *99 - html_url: *100 - created_at: *101 - updated_at: *102 - dismissed_at: *103 + security_vulnerability: *100 + url: *101 + html_url: *102 + created_at: *103 + updated_at: *104 + dismissed_at: *105 dismissed_by: anyOf: - type: 'null' @@ -15389,8 +15423,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *104 - auto_dismissed_at: &485 + fixed_at: *106 + auto_dismissed_at: &490 type: - string - 'null' @@ -15398,7 +15432,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - repository: *92 + repository: *94 required: - number - state @@ -15417,7 +15451,7 @@ paths: - repository additionalProperties: false examples: - default: &245 + default: &248 value: - number: 2 state: dismissed @@ -15843,7 +15877,7 @@ paths: type: integer network_configurations: type: array - items: &105 + items: &107 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -15888,7 +15922,7 @@ paths: - name - created_on examples: - default: &329 + default: &334 value: total_count: 2 network_configurations: @@ -15966,9 +16000,9 @@ paths: description: Response content: application/json: - schema: *105 + schema: *107 examples: - default: &106 + default: &108 value: id: 123456789ABCDEF name: My network configuration @@ -15995,7 +16029,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *38 - - &107 + - &109 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -16007,9 +16041,9 @@ paths: description: Response content: application/json: - schema: *105 + schema: *107 examples: - default: *106 + default: *108 headers: Link: *37 x-github: @@ -16029,7 +16063,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *38 - - *107 + - *109 requestBody: required: true content: @@ -16068,9 +16102,9 @@ paths: description: Response content: application/json: - schema: *105 + schema: *107 examples: - default: *106 + default: *108 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -16088,7 +16122,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise parameters: - *38 - - *107 + - *109 responses: '204': description: Response @@ -16111,7 +16145,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: - *38 - - &330 + - &335 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -16123,7 +16157,7 @@ paths: description: Response content: application/json: - schema: &331 + schema: &336 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -16162,7 +16196,7 @@ paths: - subnet_id - region examples: - default: &332 + default: &337 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -16200,7 +16234,7 @@ paths: application/json: schema: type: array - items: &108 + items: &110 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -16276,7 +16310,7 @@ paths: - property_name - value_type examples: - default: &109 + default: &111 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -16332,7 +16366,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *108 + items: *110 minItems: 1 maxItems: 100 required: @@ -16362,9 +16396,9 @@ paths: application/json: schema: type: array - items: *108 + items: *110 examples: - default: *109 + default: *111 '403': *27 '404': *6 x-github: @@ -16389,7 +16423,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *38 - - &110 + - &112 name: custom_property_name description: The custom property name in: path @@ -16401,9 +16435,9 @@ paths: description: Response content: application/json: - schema: *108 + schema: *110 examples: - default: &111 + default: &113 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -16439,12 +16473,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise parameters: - *38 - - *110 + - *112 requestBody: required: true content: application/json: - schema: &303 + schema: &306 title: Custom Property Set Payload description: Custom property set payload type: object @@ -16506,9 +16540,9 @@ paths: description: Response content: application/json: - schema: *108 + schema: *110 examples: - default: *111 + default: *113 '403': *27 '404': *6 x-github: @@ -16533,9 +16567,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *38 - - *110 + - *112 responses: - '204': *112 + '204': *114 '403': *27 '404': *6 x-github: @@ -16575,7 +16609,7 @@ paths: - push - repository default: branch - enforcement: &119 + enforcement: &121 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -16588,7 +16622,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &120 + items: &122 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -16626,7 +16660,7 @@ paths: - always - pull_request default: always - conditions: &124 + conditions: &126 title: Enterprise ruleset conditions type: object description: Conditions for an enterprise ruleset. The conditions @@ -16640,7 +16674,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &113 + - &115 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -16666,7 +16700,7 @@ paths: type: string required: - organization_name - - &116 + - &118 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -16695,7 +16729,7 @@ paths: is prevented. required: - repository_name - - &115 + - &117 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -16723,8 +16757,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *113 - - &118 + - *115 + - &120 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -16737,7 +16771,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &114 + items: &116 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -16768,16 +16802,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *114 + items: *116 required: - repository_property - - *115 + - *117 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &117 + - &119 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -16794,25 +16828,25 @@ paths: type: integer required: - organization_id - - *116 - - *115 + - *118 + - *117 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: + - *119 + - *120 - *117 - - *118 - - *115 rules: type: array description: An array of rules within the ruleset. - items: &121 + items: &123 title: Repository Rule type: object description: A repository rule. oneOf: - - &591 + - &596 title: creation description: Only allow users with bypass permission to create matching refs. @@ -16824,7 +16858,7 @@ paths: type: string enum: - creation - - &592 + - &597 title: update description: Only allow users with bypass permission to update matching refs. @@ -16845,7 +16879,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &594 + - &599 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -16857,7 +16891,7 @@ paths: type: string enum: - deletion - - &595 + - &600 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -16869,7 +16903,7 @@ paths: type: string enum: - required_linear_history - - &596 + - &601 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -16945,7 +16979,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &597 + - &602 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -16969,7 +17003,7 @@ paths: type: string required: - required_deployment_environments - - &598 + - &603 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -16981,7 +17015,7 @@ paths: type: string enum: - required_signatures - - &599 + - &604 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. @@ -17032,7 +17066,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &600 + - &605 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -17079,7 +17113,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &601 + - &606 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -17091,7 +17125,7 @@ paths: type: string enum: - non_fast_forward - - &602 + - &607 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -17127,7 +17161,7 @@ paths: required: - operator - pattern - - &603 + - &608 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -17163,7 +17197,7 @@ paths: required: - operator - pattern - - &604 + - &609 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -17199,7 +17233,7 @@ paths: required: - operator - pattern - - &605 + - &610 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -17235,7 +17269,7 @@ paths: required: - operator - pattern - - &606 + - &611 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -17361,7 +17395,7 @@ paths: maximum: 100 required: - max_file_size - - &607 + - &612 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -17410,7 +17444,7 @@ paths: - repository_id required: - workflows - - &608 + - &613 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -17496,7 +17530,7 @@ paths: description: Response content: application/json: - schema: &122 + schema: &124 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -17531,11 +17565,11 @@ paths: source: type: string description: The name of the source - enforcement: *119 + enforcement: *121 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *120 + items: *122 current_user_can_bypass: type: string description: |- @@ -17566,8 +17600,8 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - *115 - - &308 + - *117 + - &311 title: Organization ruleset conditions type: object description: |- @@ -17581,14 +17615,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *115 - - *116 + - *117 + - *118 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *115 + - *117 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -17610,14 +17644,14 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *115 - - *118 + - *117 + - *120 type: - 'null' - object rules: type: array - items: *121 + items: *123 created_at: type: string format: date-time @@ -17625,7 +17659,7 @@ paths: type: string format: date-time examples: - default: &123 + default: &125 value: id: 21 name: super cool ruleset @@ -17651,7 +17685,7 @@ paths: created_at: '2024-08-15T08:43:03Z' updated_at: '2024-09-23T16:29:47Z' '404': *6 - '500': *93 + '500': *95 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -17684,11 +17718,11 @@ paths: description: Response content: application/json: - schema: *122 + schema: *124 examples: - default: *123 + default: *125 '404': *6 - '500': *93 + '500': *95 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -17730,16 +17764,16 @@ paths: - tag - push - repository - enforcement: *119 + enforcement: *121 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *120 - conditions: *124 + items: *122 + conditions: *126 rules: description: An array of rules within the ruleset. type: array - items: *121 + items: *123 examples: default: value: @@ -17763,11 +17797,11 @@ paths: description: Response content: application/json: - schema: *122 + schema: *124 examples: - default: *123 + default: *125 '404': *6 - '500': *93 + '500': *95 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -17794,12 +17828,157 @@ paths: '204': description: Response '404': *6 - '500': *93 + '500': *95 x-github: githubCloudOnly: true enabledForGitHubApps: true category: enterprise-admin subcategory: rules + "/enterprises/{enterprise}/rulesets/{ruleset_id}/history": + get: + summary: Get enterprise ruleset history + description: Get the history of an enterprise ruleset. + tags: + - enterprise-admin + operationId: enterprise-admin/get-enterprise-ruleset-history + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-enterprise-ruleset-history + parameters: + - *38 + - *17 + - *19 + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: &127 + title: Ruleset version + type: object + description: The historical version of a ruleset + required: + - version_id + - actor + - updated_at + properties: + version_id: + type: integer + description: The ID of the previous version of the ruleset + actor: + type: object + description: The actor who updated the ruleset + properties: + id: + type: integer + type: + type: string + updated_at: + type: string + format: date-time + examples: + default: &314 + value: + - version_id: 3 + actor: + id: 1 + type: User + updated_at: 2024-010-23T16:29:47Z + - version_id: 2 + actor: + id: 2 + type: User + updated_at: '2024-09-23T16:29:47Z' + - version_id: 1 + actor: + id: 1 + type: User + updated_at: '2024-08-23T16:29:47Z' + '404': *6 + '500': *95 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: rules + "/enterprises/{enterprise}/rulesets/{ruleset_id}/history/{version_id}": + get: + summary: Get enterprise ruleset version + description: Get a version of an enterprise ruleset. + tags: + - enterprise-admin + operationId: enterprise-admin/get-enterprise-ruleset-version + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-enterprise-ruleset-version + parameters: + - *38 + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + - name: version_id + description: The ID of the version + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: &315 + allOf: + - *127 + - type: object + required: + - state + properties: + state: + type: object + description: The state of the ruleset version + examples: + default: + value: + - version_id: 3 + actor: + id: 1 + type: User + updated_at: 2024-010-23T16:29:47Z + state: + id: 21 + name: super cool ruleset + target: repository + source_type: Enterprise + source: my-enterprise + enforcement: active + conditions: + organization_name: + include: + - important_organization + repository_name: + include: + - "~ALL" + rules: + - type: repository_delete + '404': *6 + '500': *95 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: rules "/enterprises/{enterprise}/secret-scanning/alerts": get: summary: List secret scanning alerts for an enterprise @@ -17814,7 +17993,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *38 - - &311 + - &316 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -17825,7 +18004,7 @@ paths: enum: - open - resolved - - &312 + - &317 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -17835,7 +18014,7 @@ paths: required: false schema: type: string - - &313 + - &318 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -17844,7 +18023,7 @@ paths: required: false schema: type: string - - &314 + - &319 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. @@ -17856,11 +18035,11 @@ paths: - created - updated default: created - - *82 + - *84 - *17 - - *80 - - *81 - - &315 + - *82 + - *83 + - &320 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -17869,7 +18048,7 @@ paths: required: false schema: type: string - - &316 + - &321 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -17878,7 +18057,7 @@ paths: schema: type: boolean default: false - - &317 + - &322 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -17894,30 +18073,30 @@ paths: application/json: schema: type: array - items: &318 + items: &323 type: object properties: - number: *94 - created_at: *101 + number: *96 + created_at: *103 updated_at: anyOf: - type: 'null' - - *102 - url: *99 - html_url: *100 + - *104 + url: *101 + html_url: *102 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &621 + state: &626 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &622 + resolution: &627 type: - string - 'null' @@ -17951,7 +18130,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *92 + repository: *94 push_protection_bypassed: type: - boolean @@ -18016,7 +18195,7 @@ paths: description: Whether the detected secret was found in multiple repositories in the same organization or enterprise. examples: - default: &319 + default: &324 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -18251,7 +18430,7 @@ paths: headers: Link: *37 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -18279,7 +18458,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &326 type: object properties: total_minutes_used: @@ -18349,7 +18528,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &322 + default: &327 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -18387,7 +18566,7 @@ paths: description: Success content: application/json: - schema: &323 + schema: &328 type: object properties: total_advanced_security_committers: @@ -18450,7 +18629,7 @@ paths: required: - repositories examples: - default: &324 + default: &329 value: total_advanced_security_committers: 2 total_count: 2 @@ -18537,8 +18716,8 @@ paths: name: Monalisa '400': *14 '403': *27 - '500': *93 - '503': *125 + '500': *95 + '503': *128 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -18559,7 +18738,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-users-to-a-cost-center parameters: - *38 - - &126 + - &129 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -18601,9 +18780,9 @@ paths: message: Resources successfully added to the cost center. '400': *14 '403': *27 - '409': *90 - '500': *93 - '503': *125 + '409': *92 + '500': *95 + '503': *128 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -18623,7 +18802,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-users-from-a-cost-center parameters: - *38 - - *126 + - *129 requestBody: required: true content: @@ -18660,8 +18839,8 @@ paths: message: Resources successfully removed from the cost center. '400': *14 '403': *27 - '500': *93 - '503': *125 + '500': *95 + '503': *128 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -18689,7 +18868,7 @@ paths: description: Response content: application/json: - schema: &325 + schema: &330 type: object properties: total_gigabytes_bandwidth_used: @@ -18707,7 +18886,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &326 + default: &331 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -18739,7 +18918,7 @@ paths: description: Response content: application/json: - schema: &327 + schema: &332 type: object properties: days_left_in_billing_cycle: @@ -18757,7 +18936,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &328 + default: &333 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -18782,7 +18961,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *38 - - &161 + - &164 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -18791,7 +18970,7 @@ paths: required: false schema: type: integer - - &162 + - &165 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -18800,7 +18979,7 @@ paths: required: false schema: type: integer - - &163 + - &166 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -18809,7 +18988,7 @@ paths: required: false schema: type: integer - - &164 + - &167 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -18830,7 +19009,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &165 + schema: &168 type: object properties: usageItems: @@ -18883,7 +19062,7 @@ paths: - netAmount - organizationName examples: - default: &166 + default: &169 value: usageItems: - date: '2023-08-01' @@ -18899,8 +19078,8 @@ paths: repositoryName: github/example '400': *14 '403': *27 - '500': *93 - '503': *125 + '500': *95 + '503': *128 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -18971,13 +19150,13 @@ paths: application/json: schema: type: array - items: *127 + items: *130 examples: - default: *128 - '500': *93 + default: *131 + '500': *95 '403': *27 '404': *6 - '422': *129 + '422': *132 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -19012,7 +19191,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team parameters: - *38 - - &284 + - &287 name: team_slug description: The slug of the team name. in: path @@ -19050,9 +19229,9 @@ paths: application/json: schema: type: array - items: *130 + items: *133 examples: - default: &229 + default: &232 value: - day: '2023-10-15' total_suggestions_count: 1000 @@ -19116,7 +19295,7 @@ paths: lines_suggested: 200 lines_accepted: 150 active_users: 3 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -19208,7 +19387,7 @@ paths: application/json: schema: type: array - items: &156 + items: &159 title: Event description: Event type: object @@ -19219,7 +19398,7 @@ paths: type: - string - 'null' - actor: &131 + actor: &134 title: Actor description: Actor type: object @@ -19260,13 +19439,13 @@ paths: - id - name - url - org: *131 + org: *134 payload: type: object properties: action: type: string - issue: &145 + issue: &148 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -19386,7 +19565,7 @@ paths: milestone: anyOf: - type: 'null' - - &472 + - &477 title: Milestone description: A collection of related issues and pull requests. @@ -19563,7 +19742,7 @@ paths: anyOf: - type: 'null' - *5 - author_association: &132 + author_association: &135 title: author_association type: string description: How the author is associated with the repository. @@ -19578,7 +19757,7 @@ paths: - OWNER examples: - OWNER - reactions: &133 + reactions: &136 title: Reaction Rollup type: object properties: @@ -19650,7 +19829,7 @@ paths: - author_association - created_at - updated_at - comment: &531 + comment: &536 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -19700,12 +19879,12 @@ paths: issue_url: type: string format: uri - author_association: *132 + author_association: *135 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *133 + reactions: *136 required: - id - node_id @@ -19802,7 +19981,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19892,7 +20071,7 @@ paths: _links: type: object properties: - timeline: &134 + timeline: &137 title: Link With Type description: Hypermedia Link with Type type: object @@ -19904,17 +20083,17 @@ paths: required: - href - type - user: *134 - security_advisories: *134 - current_user: *134 - current_user_public: *134 - current_user_actor: *134 - current_user_organization: *134 + user: *137 + security_advisories: *137 + current_user: *137 + current_user_public: *137 + current_user_actor: *137 + current_user_organization: *137 current_user_organizations: type: array - items: *134 - repository_discussions: *134 - repository_discussions_category: *134 + items: *137 + repository_discussions: *137 + repository_discussions_category: *137 required: - timeline - user @@ -19976,7 +20155,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *135 + - *138 - *17 - *19 responses: @@ -19986,7 +20165,7 @@ paths: application/json: schema: type: array - items: &136 + items: &139 title: Base Gist description: Base Gist type: object @@ -20083,7 +20262,7 @@ paths: - created_at - updated_at examples: - default: &137 + default: &140 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -20207,7 +20386,7 @@ paths: description: Response content: application/json: - schema: &138 + schema: &141 title: Gist Simple description: Gist Simple type: object @@ -20225,7 +20404,7 @@ paths: url: type: string format: uri - user: &678 + user: &683 title: Public User description: Public User type: object @@ -20599,7 +20778,7 @@ paths: truncated: type: boolean examples: - default: &139 + default: &142 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -20703,7 +20882,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *135 + - *138 - *17 - *19 responses: @@ -20713,9 +20892,9 @@ paths: application/json: schema: type: array - items: *136 + items: *139 examples: - default: *137 + default: *140 headers: Link: *37 '422': *15 @@ -20737,7 +20916,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *135 + - *138 - *17 - *19 responses: @@ -20747,9 +20926,9 @@ paths: application/json: schema: type: array - items: *136 + items: *139 examples: - default: *137 + default: *140 headers: Link: *37 '401': *23 @@ -20777,7 +20956,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &140 + - &143 name: gist_id description: The unique identifier of the gist. in: path @@ -20789,10 +20968,10 @@ paths: description: Response content: application/json: - schema: *138 + schema: *141 examples: - default: *139 - '403': &143 + default: *142 + '403': &146 description: Forbidden Gist content: application/json: @@ -20841,7 +21020,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *140 + - *143 requestBody: required: true content: @@ -20905,9 +21084,9 @@ paths: description: Response content: application/json: - schema: *138 + schema: *141 examples: - updateGist: *139 + updateGist: *142 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -21065,7 +21244,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *140 + - *143 responses: '204': description: Response @@ -21094,7 +21273,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *140 + - *143 - *17 - *19 responses: @@ -21104,7 +21283,7 @@ paths: application/json: schema: type: array - items: &141 + items: &144 title: Gist Comment description: A comment made to a gist. type: object @@ -21142,7 +21321,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *132 + author_association: *135 required: - url - id @@ -21207,7 +21386,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *140 + - *143 requestBody: required: true content: @@ -21233,9 +21412,9 @@ paths: description: Response content: application/json: - schema: *141 + schema: *144 examples: - default: &142 + default: &145 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -21293,8 +21472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *140 - - &144 + - *143 + - &147 name: comment_id description: The unique identifier of the comment. in: path @@ -21307,12 +21486,12 @@ paths: description: Response content: application/json: - schema: *141 + schema: *144 examples: - default: *142 + default: *145 '304': *35 '404': *6 - '403': *143 + '403': *146 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21334,8 +21513,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *140 - - *144 + - *143 + - *147 requestBody: required: true content: @@ -21361,9 +21540,9 @@ paths: description: Response content: application/json: - schema: *141 + schema: *144 examples: - default: *142 + default: *145 '404': *6 x-github: githubCloudOnly: false @@ -21380,8 +21559,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *140 - - *144 + - *143 + - *147 responses: '204': description: Response @@ -21404,7 +21583,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *140 + - *143 - *17 - *19 responses: @@ -21505,7 +21684,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *140 + - *143 - *17 - *19 responses: @@ -21515,7 +21694,7 @@ paths: application/json: schema: type: array - items: *138 + items: *141 examples: default: value: @@ -21580,13 +21759,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *140 + - *143 responses: '201': description: Response content: application/json: - schema: *136 + schema: *139 examples: default: value: @@ -21657,7 +21836,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *140 + - *143 responses: '204': description: Response if gist is starred @@ -21687,7 +21866,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *140 + - *143 responses: '204': description: Response @@ -21709,7 +21888,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *140 + - *143 responses: '204': description: Response @@ -21738,7 +21917,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *140 + - *143 - name: sha in: path required: true @@ -21749,9 +21928,9 @@ paths: description: Response content: application/json: - schema: *138 + schema: *141 examples: - default: *139 + default: *142 '422': *15 '404': *6 '403': *27 @@ -22120,7 +22299,7 @@ paths: - closed - all default: open - - &273 + - &276 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -22138,8 +22317,8 @@ paths: - updated - comments default: created - - *82 - - *135 + - *84 + - *138 - name: collab in: query required: false @@ -22169,9 +22348,9 @@ paths: application/json: schema: type: array - items: *145 + items: *148 examples: - default: &274 + default: &277 value: - id: 1 node_id: MDU6SXNzdWUx @@ -22451,7 +22630,7 @@ paths: application/json: schema: type: array - items: *146 + items: *149 examples: default: value: @@ -22748,7 +22927,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &147 + X-CommonMarker-Version: &150 example: 0.17.4 schema: type: string @@ -22803,7 +22982,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *147 + X-CommonMarker-Version: *150 content: text/html: schema: @@ -22832,7 +23011,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &150 + - &153 name: account_id description: account_id parameter in: path @@ -22844,7 +23023,7 @@ paths: description: Response content: application/json: - schema: &149 + schema: &152 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -22878,7 +23057,7 @@ paths: - 'null' id: type: integer - plan: &148 + plan: &151 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -22981,7 +23160,7 @@ paths: - 'null' updated_at: type: string - plan: *148 + plan: *151 required: - url - id @@ -22989,7 +23168,7 @@ paths: - login - marketplace_purchase examples: - default: &151 + default: &154 value: url: https://api.github.com/orgs/github type: Organization @@ -23074,9 +23253,9 @@ paths: application/json: schema: type: array - items: *148 + items: *151 examples: - default: &152 + default: &155 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -23116,14 +23295,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &153 + - &156 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &154 + - &157 name: sort description: The property to sort the results by. in: query @@ -23153,9 +23332,9 @@ paths: application/json: schema: type: array - items: *149 + items: *152 examples: - default: &155 + default: &158 value: - url: https://api.github.com/orgs/github type: Organization @@ -23229,15 +23408,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *150 + - *153 responses: '200': description: Response content: application/json: - schema: *149 + schema: *152 examples: - default: *151 + default: *154 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -23269,9 +23448,9 @@ paths: application/json: schema: type: array - items: *148 + items: *151 examples: - default: *152 + default: *155 headers: Link: *37 '401': *23 @@ -23294,8 +23473,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *153 - - *154 + - *156 + - *157 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -23315,9 +23494,9 @@ paths: application/json: schema: type: array - items: *149 + items: *152 examples: - default: *155 + default: *158 headers: Link: *37 '401': *23 @@ -23582,14 +23761,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: - - &352 + - &357 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &353 + - &358 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -23606,7 +23785,7 @@ paths: application/json: schema: type: array - items: *156 + items: *159 examples: default: value: @@ -23660,7 +23839,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &366 + '301': &371 description: Moved permanently content: application/json: @@ -23682,7 +23861,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &560 + - &565 name: all description: If `true`, show notifications marked as read. in: query @@ -23690,7 +23869,7 @@ paths: schema: type: boolean default: false - - &561 + - &566 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -23699,8 +23878,8 @@ paths: schema: type: boolean default: false - - *135 - - &562 + - *138 + - &567 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -23725,14 +23904,14 @@ paths: application/json: schema: type: array - items: &157 + items: &160 title: Thread description: Thread type: object properties: id: type: string - repository: &187 + repository: &190 title: Minimal Repository description: Minimal Repository type: object @@ -24071,7 +24250,7 @@ paths: type: boolean examples: - false - security_and_analysis: &305 + security_and_analysis: &308 type: - object - 'null' @@ -24226,7 +24405,7 @@ paths: - url - subscription_url examples: - default: &563 + default: &568 value: - id: '1' repository: @@ -24392,7 +24571,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &158 + - &161 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -24406,7 +24585,7 @@ paths: description: Response content: application/json: - schema: *157 + schema: *160 examples: default: value: @@ -24509,7 +24688,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *158 + - *161 responses: '205': description: Reset Content @@ -24532,7 +24711,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *158 + - *161 responses: '204': description: No content @@ -24555,13 +24734,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *158 + - *161 responses: '200': description: Response content: application/json: - schema: &159 + schema: &162 title: Thread Subscription description: Thread Subscription type: object @@ -24605,7 +24784,7 @@ paths: - url - subscribed examples: - default: &160 + default: &163 value: subscribed: true ignored: false @@ -24636,7 +24815,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *158 + - *161 requestBody: required: false content: @@ -24657,9 +24836,9 @@ paths: description: Response content: application/json: - schema: *159 + schema: *162 examples: - default: *160 + default: *163 '304': *35 '403': *27 '401': *23 @@ -24682,7 +24861,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *158 + - *161 responses: '204': description: Response @@ -24779,7 +24958,7 @@ paths: type: array items: *56 examples: - default: &695 + default: &700 value: - login: github id: 1 @@ -24844,7 +25023,7 @@ paths: - 3 custom_roles: type: array - items: &230 + items: &233 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -24893,7 +25072,7 @@ paths: - created_at - updated_at examples: - default: &231 + default: &234 value: id: 8030 name: Security Engineer @@ -24939,29 +25118,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - &167 + - &170 name: org description: The organization name. The name is not case sensitive. in: path required: true schema: type: string - - *161 - - *162 - - *163 - *164 + - *165 + - *166 + - *167 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *165 + schema: *168 examples: - default: *166 + default: *169 '400': *14 '403': *27 - '500': *93 - '503': *125 + '500': *95 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24987,13 +25166,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - *167 + - *170 responses: '200': description: Response content: application/json: - schema: &168 + schema: &171 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -25363,7 +25542,7 @@ paths: - updated_at - archived_at examples: - default-response: &169 + default-response: &172 value: login: github id: 1 @@ -25456,7 +25635,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *167 + - *170 requestBody: required: false content: @@ -25680,18 +25859,18 @@ paths: description: Response content: application/json: - schema: *168 + schema: *171 examples: - default: *169 + default: *172 '422': description: Validation failed content: application/json: schema: oneOf: - - *170 - - *171 - '409': *90 + - *173 + - *174 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25714,9 +25893,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *167 + - *170 responses: - '202': *91 + '202': *93 '404': *6 '403': *27 x-github: @@ -25739,15 +25918,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response content: application/json: - schema: *172 + schema: *175 examples: - default: *173 + default: *176 headers: Link: *37 x-github: @@ -25770,7 +25949,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *167 + - *170 - *17 - *19 responses: @@ -25788,7 +25967,7 @@ paths: type: integer repository_cache_usages: type: array - items: &371 + items: &376 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -25846,7 +26025,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *167 + - *170 - *17 - *19 responses: @@ -25866,7 +26045,7 @@ paths: type: array items: *39 examples: - default: *174 + default: *177 headers: Link: *37 x-github: @@ -25886,7 +26065,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *167 + - *170 requestBody: required: true content: @@ -25980,7 +26159,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *167 + - *170 responses: '200': description: Response @@ -26016,7 +26195,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *167 + - *170 responses: '200': description: Response @@ -26051,15 +26230,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response content: application/json: - schema: *175 + schema: *178 examples: - default: *176 + default: *179 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26077,7 +26256,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response @@ -26095,7 +26274,7 @@ paths: type: array items: *42 examples: - default: *177 + default: *180 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26113,7 +26292,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *167 + - *170 responses: '200': description: Response @@ -26157,7 +26336,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *167 + - *170 - *44 responses: '200': @@ -26186,7 +26365,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *167 + - *170 - *44 requestBody: required: true @@ -26250,7 +26429,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *167 + - *170 - *44 responses: '202': @@ -26279,13 +26458,13 @@ 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-an-organization parameters: - - *167 + - *170 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &178 + schema: &181 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -26299,7 +26478,7 @@ paths: required: - include_claim_keys examples: - default: &179 + default: &182 value: include_claim_keys: - repo @@ -26321,20 +26500,20 @@ 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-an-organization parameters: - - *167 + - *170 requestBody: required: true content: application/json: - schema: *178 + schema: *181 examples: - default: *179 + default: *182 responses: '201': description: Empty response content: application/json: - schema: &198 + schema: &201 title: Empty Object description: An object without any properties. type: object @@ -26364,7 +26543,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response @@ -26373,7 +26552,7 @@ paths: schema: type: object properties: - enabled_repositories: &181 + enabled_repositories: &184 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -26387,7 +26566,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *46 - selected_actions_url: *180 + selected_actions_url: *183 required: - enabled_repositories examples: @@ -26416,7 +26595,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *167 + - *170 responses: '204': description: Response @@ -26427,7 +26606,7 @@ paths: schema: type: object properties: - enabled_repositories: *181 + enabled_repositories: *184 allowed_actions: *46 required: - enabled_repositories @@ -26455,7 +26634,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *167 + - *170 - *17 - *19 responses: @@ -26475,7 +26654,7 @@ paths: type: array items: *61 examples: - default: &689 + default: &694 value: total_count: 1 repositories: @@ -26615,7 +26794,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *167 + - *170 responses: '204': description: Response @@ -26659,8 +26838,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *167 - - &182 + - *170 + - &185 name: repository_id description: The unique identifier of the repository. in: path @@ -26688,8 +26867,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *167 - - *182 + - *170 + - *185 responses: '204': description: Response @@ -26712,7 +26891,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response @@ -26743,7 +26922,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *167 + - *170 responses: '204': description: Response @@ -26775,13 +26954,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response content: application/json: - schema: *183 + schema: *186 examples: default: *52 x-github: @@ -26804,7 +26983,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *167 + - *170 responses: '204': description: Success response @@ -26815,7 +26994,7 @@ paths: required: false content: application/json: - schema: *184 + schema: *187 examples: default: *52 x-github: @@ -26837,7 +27016,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *167 + - *170 - *17 - *19 - name: visible_to_repository @@ -26862,7 +27041,7 @@ paths: type: number runner_groups: type: array - items: &185 + items: &188 type: object properties: id: @@ -26979,7 +27158,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *167 + - *170 requestBody: required: true content: @@ -27052,9 +27231,9 @@ paths: description: Response content: application/json: - schema: *185 + schema: *188 examples: - default: &186 + default: &189 value: id: 2 name: octo-runner-group @@ -27089,14 +27268,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *167 + - *170 - *55 responses: '200': description: Response content: application/json: - schema: *185 + schema: *188 examples: default: value: @@ -27132,7 +27311,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *167 + - *170 - *55 requestBody: required: true @@ -27189,9 +27368,9 @@ paths: description: Response content: application/json: - schema: *185 + schema: *188 examples: - default: *186 + default: *189 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -27210,7 +27389,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *167 + - *170 - *55 responses: '204': @@ -27234,7 +27413,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *167 + - *170 - *55 - *17 - *19 @@ -27255,7 +27434,7 @@ paths: type: array items: *39 examples: - default: *174 + default: *177 headers: Link: *37 x-github: @@ -27277,7 +27456,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *167 + - *170 - *55 - *19 - *17 @@ -27296,9 +27475,9 @@ paths: type: number repositories: type: array - items: *187 + items: *190 examples: - default: &681 + default: &686 value: total_count: 1 repositories: @@ -27550,7 +27729,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *167 + - *170 - *55 requestBody: required: true @@ -27595,9 +27774,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *167 + - *170 - *55 - - *182 + - *185 responses: '204': description: Response @@ -27619,9 +27798,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *167 + - *170 - *55 - - *182 + - *185 responses: '204': description: Response @@ -27644,7 +27823,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *167 + - *170 - *55 - *17 - *19 @@ -27686,7 +27865,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *167 + - *170 - *55 requestBody: required: true @@ -27731,7 +27910,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *167 + - *170 - *55 - *58 responses: @@ -27755,7 +27934,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *167 + - *170 - *55 - *58 responses: @@ -27787,7 +27966,7 @@ paths: in: query schema: type: string - - *167 + - *170 - *17 - *19 responses: @@ -27831,7 +28010,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response @@ -27839,9 +28018,9 @@ paths: application/json: schema: type: array - items: *188 + items: *191 examples: - default: *189 + default: *192 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27863,7 +28042,7 @@ 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-an-organization parameters: - - *167 + - *170 requestBody: required: true content: @@ -27906,10 +28085,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *190 + '201': *193 '404': *6 '422': *7 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27937,7 +28116,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *167 + - *170 responses: '201': description: Response @@ -27945,7 +28124,7 @@ paths: application/json: schema: *62 examples: - default: *191 + default: *194 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27973,7 +28152,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *167 + - *170 responses: '201': description: Response @@ -27981,7 +28160,7 @@ paths: application/json: schema: *62 examples: - default: *192 + default: *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28003,7 +28182,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *167 + - *170 - *58 responses: '200': @@ -28012,7 +28191,7 @@ paths: application/json: schema: *59 examples: - default: *193 + default: *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28033,7 +28212,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *167 + - *170 - *58 responses: '204': @@ -28059,7 +28238,7 @@ 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-an-organization parameters: - - *167 + - *170 - *58 responses: '200': *64 @@ -28084,7 +28263,7 @@ 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-an-organization parameters: - - *167 + - *170 - *58 requestBody: required: true @@ -28133,7 +28312,7 @@ 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-an-organization parameters: - - *167 + - *170 - *58 requestBody: required: true @@ -28183,10 +28362,10 @@ 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-an-organization parameters: - - *167 + - *170 - *58 responses: - '200': *194 + '200': *197 '404': *6 x-github: githubCloudOnly: false @@ -28213,9 +28392,9 @@ 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-an-organization parameters: - - *167 + - *170 - *58 - - *195 + - *198 responses: '200': *64 '404': *6 @@ -28242,7 +28421,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *167 + - *170 - *17 - *19 responses: @@ -28260,7 +28439,7 @@ paths: type: integer secrets: type: array - items: &196 + items: &199 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -28335,13 +28514,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *167 + - *170 responses: '200': description: Response content: application/json: - schema: &391 + schema: &396 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -28376,7 +28555,7 @@ paths: - key_id - key examples: - default: &392 + default: &397 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28401,8 +28580,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *167 - - &197 + - *170 + - &200 name: secret_name description: The name of the secret. in: path @@ -28414,7 +28593,7 @@ paths: description: Response content: application/json: - schema: *196 + schema: *199 examples: default: value: @@ -28444,8 +28623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 requestBody: required: true content: @@ -28502,7 +28681,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -28528,8 +28707,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 responses: '204': description: Response @@ -28555,8 +28734,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 - *19 - *17 responses: @@ -28574,9 +28753,9 @@ paths: type: integer repositories: type: array - items: *187 + items: *190 examples: - default: &201 + default: &204 value: total_count: 1 repositories: @@ -28668,8 +28847,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 requestBody: required: true content: @@ -28721,8 +28900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 - name: repository_id in: path required: true @@ -28755,8 +28934,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 - name: repository_id in: path required: true @@ -28788,8 +28967,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *167 - - &376 + - *170 + - &381 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)." @@ -28813,7 +28992,7 @@ paths: type: integer variables: type: array - items: &199 + items: &202 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -28903,7 +29082,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *167 + - *170 requestBody: required: true content: @@ -28951,7 +29130,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -28976,8 +29155,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *167 - - &200 + - *170 + - &203 name: name description: The name of the variable. in: path @@ -28989,7 +29168,7 @@ paths: description: Response content: application/json: - schema: *199 + schema: *202 examples: default: value: @@ -29019,8 +29198,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *167 - - *200 + - *170 + - *203 requestBody: required: true content: @@ -29082,8 +29261,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *167 - - *200 + - *170 + - *203 responses: '204': description: Response @@ -29109,8 +29288,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *167 - - *200 + - *170 + - *203 - *19 - *17 responses: @@ -29128,9 +29307,9 @@ paths: type: integer repositories: type: array - items: *187 + items: *190 examples: - default: *201 + default: *204 '409': description: Response when the visibility of the variable is not set to `selected` @@ -29156,8 +29335,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *167 - - *200 + - *170 + - *203 requestBody: required: true content: @@ -29206,8 +29385,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *167 - - *200 + - *170 + - *203 - name: repository_id in: path required: true @@ -29241,8 +29420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *167 - - *200 + - *170 + - *203 - name: repository_id in: path required: true @@ -29273,15 +29452,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *167 + - *170 responses: '200': description: Response content: application/json: - schema: *68 + schema: *69 examples: - default: *67 + default: *68 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29300,19 +29479,19 @@ paths: required: true content: application/json: - schema: *202 + schema: *205 examples: - default: *67 + default: *68 parameters: - - *167 + - *170 responses: '200': description: Response content: application/json: - schema: *68 + schema: *69 examples: - default: *67 + default: *68 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29328,7 +29507,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *167 + - *170 responses: '204': description: Response @@ -29354,9 +29533,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations parameters: - *17 - - *80 - - *81 - - *167 + - *82 + - *83 + - *170 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -29399,7 +29578,7 @@ paths: bundle_url: type: string examples: - default: &405 + default: &410 value: attestations: - bundle: @@ -29517,7 +29696,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-the-audit-log-for-an-organization parameters: - - *167 + - *170 - name: phrase description: A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log). @@ -29525,10 +29704,10 @@ paths: required: false schema: type: string - - *203 - - *204 - - *205 - *206 + - *207 + - *208 + - *209 - *17 responses: '200': @@ -29537,9 +29716,9 @@ paths: application/json: schema: type: array - items: *207 + items: *210 examples: - default: *208 + default: *211 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29556,7 +29735,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *167 + - *170 - *17 - *19 responses: @@ -29568,7 +29747,7 @@ paths: type: array items: *4 examples: - default: &275 + default: &278 value: - login: octocat id: 1 @@ -29606,8 +29785,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *167 - - &209 + - *170 + - &212 name: username description: The handle for the GitHub user account. in: path @@ -29638,8 +29817,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *167 - - *209 + - *170 + - *212 responses: '204': description: Response @@ -29659,8 +29838,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *167 - - *209 + - *170 + - *212 responses: '204': description: Response @@ -29686,17 +29865,17 @@ paths: category: orgs subcategory: bypass-requests parameters: - - *167 - - &309 + - *170 + - &312 name: repository_name description: The name of the repository to filter on. in: query schema: type: string - - *210 - - *211 - - *212 - *213 + - *214 + - *215 + - *216 - *17 - *19 responses: @@ -29706,11 +29885,11 @@ paths: application/json: schema: type: array - items: *214 + items: *217 examples: - default: *215 + default: *218 '404': *6 - '500': *93 + '500': *95 "/orgs/{org}/code-scanning/alerts": get: summary: List code scanning alerts for an organization @@ -29727,20 +29906,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *167 - - *216 - - *217 - - *80 - - *81 + - *170 + - *219 + - *220 + - *82 + - *83 - *19 - *17 - - *82 + - *84 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: *218 + schema: *221 - name: sort description: The property by which to sort the results. in: query @@ -29756,7 +29935,7 @@ paths: be returned. in: query required: false - schema: &431 + schema: &436 type: string description: Severity of a code scanning alert. enum: @@ -29774,13 +29953,13 @@ paths: application/json: schema: type: array - items: *219 + items: *222 examples: - default: *220 + default: *223 headers: Link: *37 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29802,7 +29981,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *167 + - *170 - name: target_type in: query description: The target type of the code security configuration @@ -29821,8 +30000,8 @@ paths: schema: type: integer default: 30 - - *80 - - *81 + - *82 + - *83 responses: '200': description: Response @@ -29830,7 +30009,7 @@ paths: application/json: schema: type: array - items: *86 + items: *88 examples: default: value: @@ -29909,7 +30088,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *167 + - *170 requestBody: required: true content: @@ -29982,7 +30161,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: *89 + code_scanning_default_setup_options: *91 secret_scanning: type: string description: The enablement status of secret scanning @@ -30082,9 +30261,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *86 + schema: *88 examples: - default: *221 + default: *224 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30106,15 +30285,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *167 + - *170 responses: '200': description: Response content: application/json: - schema: *222 + schema: *225 examples: - default: *223 + default: *226 '304': *35 '403': *27 '404': *6 @@ -30140,7 +30319,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *167 + - *170 requestBody: required: true content: @@ -30163,11 +30342,11 @@ paths: - 32 - 91 responses: - '204': *112 + '204': *114 '400': *14 '403': *27 '404': *6 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30189,16 +30368,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *167 - - *88 + - *170 + - *90 responses: '200': description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *221 + default: *224 '304': *35 '403': *27 '404': *6 @@ -30222,8 +30401,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *167 - - *88 + - *170 + - *90 requestBody: required: true content: @@ -30289,7 +30468,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *89 + code_scanning_default_setup_options: *91 secret_scanning: type: string description: The enablement status of secret scanning @@ -30376,7 +30555,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *86 + schema: *88 examples: default: value: @@ -30430,14 +30609,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *167 - - *88 + - *170 + - *90 responses: - '204': *112 + '204': *114 '400': *14 '403': *27 '404': *6 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30461,8 +30640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *167 - - *88 + - *170 + - *90 requestBody: required: true content: @@ -30501,7 +30680,7 @@ paths: - 32 - 91 responses: - '202': *91 + '202': *93 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30525,8 +30704,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *167 - - *88 + - *170 + - *90 requestBody: required: true content: @@ -30566,12 +30745,12 @@ paths: - none - private_and_internal - public - configuration: *86 + configuration: *88 examples: default: value: default_for_new_repos: all - configuration: *221 + configuration: *224 '403': *27 '404': *6 x-github: @@ -30595,8 +30774,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *167 - - *88 + - *170 + - *90 - 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)." @@ -30605,8 +30784,8 @@ paths: schema: type: integer default: 30 - - *80 - - *81 + - *82 + - *83 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -30624,13 +30803,13 @@ paths: application/json: schema: type: array - items: *224 + items: *227 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *225 + repository: *228 '403': *27 '404': *6 x-github: @@ -30654,7 +30833,7 @@ paths: parameters: - *17 - *19 - - *167 + - *170 responses: '200': description: Response @@ -30670,7 +30849,7 @@ paths: type: integer codespaces: type: array - items: &276 + items: &279 type: object title: Codespace description: A codespace. @@ -30701,11 +30880,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *187 + repository: *190 machine: anyOf: - type: 'null' - - &460 + - &465 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -30992,7 +31171,7 @@ paths: - pulls_url - recent_folders examples: - default: &277 + default: &280 value: total_count: 3 codespaces: @@ -31402,7 +31581,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *35 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -31424,7 +31603,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *167 + - *170 deprecated: true requestBody: required: true @@ -31468,7 +31647,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *93 + '500': *95 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -31491,7 +31670,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *167 + - *170 deprecated: true requestBody: required: true @@ -31523,7 +31702,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *93 + '500': *95 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -31546,7 +31725,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *167 + - *170 requestBody: required: true content: @@ -31577,7 +31756,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *93 + '500': *95 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -31598,7 +31777,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *167 + - *170 - *17 - *19 responses: @@ -31616,7 +31795,7 @@ paths: type: integer secrets: type: array - items: &226 + items: &229 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -31657,7 +31836,7 @@ paths: - updated_at - visibility examples: - default: &461 + default: &466 value: total_count: 2 secrets: @@ -31689,13 +31868,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *167 + - *170 responses: '200': description: Response content: application/json: - schema: &462 + schema: &467 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -31730,7 +31909,7 @@ paths: - key_id - key examples: - default: &463 + default: &468 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -31753,16 +31932,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 responses: '200': description: Response content: application/json: - schema: *226 + schema: *229 examples: - default: &465 + default: &470 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -31789,8 +31968,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 requestBody: required: true content: @@ -31845,7 +32024,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -31871,8 +32050,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 responses: '204': description: Response @@ -31897,8 +32076,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 - *19 - *17 responses: @@ -31916,9 +32095,9 @@ paths: type: integer repositories: type: array - items: *187 + items: *190 examples: - default: *201 + default: *204 '404': *6 x-github: githubCloudOnly: false @@ -31940,8 +32119,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 requestBody: required: true content: @@ -31991,8 +32170,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 - name: repository_id in: path required: true @@ -32025,8 +32204,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 - name: repository_id in: path required: true @@ -32065,7 +32244,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *167 + - *170 responses: '200': description: OK @@ -32176,7 +32355,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -32208,7 +32387,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *167 + - *170 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -32231,12 +32410,12 @@ paths: currently being billed. seats: type: array - items: *227 + items: *230 examples: - default: *228 + default: *231 headers: Link: *37 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -32269,7 +32448,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *167 + - *170 requestBody: content: application/json: @@ -32311,7 +32490,7 @@ paths: default: value: seats_created: 5 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -32347,7 +32526,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *167 + - *170 requestBody: content: application/json: @@ -32389,7 +32568,7 @@ paths: default: value: seats_cancelled: 5 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -32427,7 +32606,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *167 + - *170 requestBody: content: application/json: @@ -32468,7 +32647,7 @@ paths: default: value: seats_created: 5 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -32504,7 +32683,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *167 + - *170 requestBody: content: application/json: @@ -32546,7 +32725,7 @@ paths: default: value: seats_cancelled: 5 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -32585,7 +32764,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *167 + - *170 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -32617,13 +32796,13 @@ paths: application/json: schema: type: array - items: *127 + items: *130 examples: - default: *128 - '500': *93 + default: *131 + '500': *95 '403': *27 '404': *6 - '422': *129 + '422': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32654,7 +32833,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members parameters: - - *167 + - *170 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -32686,10 +32865,10 @@ paths: application/json: schema: type: array - items: *130 + items: *133 examples: - default: *229 - '500': *93 + default: *232 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -32714,7 +32893,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization parameters: - - *167 + - *170 - *17 - name: page description: Page token @@ -32873,7 +33052,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization parameters: - - *167 + - *170 - name: credential_id in: path required: true @@ -32904,7 +33083,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization parameters: - - *167 + - *170 responses: '200': description: Response - list of custom role names @@ -32920,7 +33099,7 @@ paths: - 3 custom_roles: type: array - items: *230 + items: *233 examples: default: value: @@ -33007,12 +33186,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *167 + - *170 requestBody: required: true content: application/json: - schema: &233 + schema: &236 type: object properties: name: @@ -33054,9 +33233,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *233 examples: - default: *231 + default: *234 '422': *15 '404': *6 x-github: @@ -33080,8 +33259,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *167 - - &232 + - *170 + - &235 name: role_id description: The unique identifier of the role. in: path @@ -33093,9 +33272,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *233 examples: - default: *231 + default: *234 '404': *6 x-github: githubCloudOnly: true @@ -33117,13 +33296,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *167 - - *232 + - *170 + - *235 requestBody: required: true content: application/json: - schema: &234 + schema: &237 type: object properties: name: @@ -33162,9 +33341,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *233 examples: - default: *231 + default: *234 '422': *15 '404': *6 x-github: @@ -33188,8 +33367,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *167 - - *232 + - *170 + - *235 responses: '204': description: Response @@ -33217,12 +33396,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---create-a-custom-role parameters: - - *167 + - *170 requestBody: required: true content: application/json: - schema: *233 + schema: *236 examples: default: value: @@ -33236,9 +33415,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *233 examples: - default: *231 + default: *234 '422': *15 '404': *6 x-github: @@ -33268,16 +33447,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - - *167 - - *232 + - *170 + - *235 responses: '200': description: Response content: application/json: - schema: *230 + schema: *233 examples: - default: *231 + default: *234 '404': *6 x-github: githubCloudOnly: true @@ -33305,13 +33484,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - - *167 - - *232 + - *170 + - *235 requestBody: required: true content: application/json: - schema: *234 + schema: *237 examples: default: value: @@ -33326,9 +33505,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *233 examples: - default: *231 + default: *234 '422': *15 '404': *6 x-github: @@ -33358,8 +33537,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - - *167 - - *232 + - *170 + - *235 responses: '204': description: Response @@ -33387,19 +33566,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *167 - - *235 - - *236 - - *237 + - *170 - *238 - *239 - *240 - *241 - - *82 - - *80 - - *81 - *242 - *243 + - *244 + - *84 + - *82 + - *83 + - *245 + - *246 - *17 responses: '200': @@ -33408,9 +33587,9 @@ paths: application/json: schema: type: array - items: *244 + items: *247 examples: - default: *245 + default: *248 '304': *35 '400': *14 '403': *27 @@ -33436,7 +33615,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *167 + - *170 - *17 - *19 responses: @@ -33454,7 +33633,7 @@ paths: type: integer secrets: type: array - items: &246 + items: &249 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -33527,13 +33706,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *167 + - *170 responses: '200': description: Response content: application/json: - schema: &488 + schema: &493 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -33552,7 +33731,7 @@ paths: - key_id - key examples: - default: &489 + default: &494 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33575,14 +33754,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 responses: '200': description: Response content: application/json: - schema: *246 + schema: *249 examples: default: value: @@ -33610,8 +33789,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 requestBody: required: true content: @@ -33666,7 +33845,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -33690,8 +33869,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 responses: '204': description: Response @@ -33715,8 +33894,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 - *19 - *17 responses: @@ -33734,9 +33913,9 @@ paths: type: integer repositories: type: array - items: *187 + items: *190 examples: - default: *201 + default: *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33757,8 +33936,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 requestBody: required: true content: @@ -33808,8 +33987,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 - name: repository_id in: path required: true @@ -33840,8 +34019,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 - name: repository_id in: path required: true @@ -33871,7 +34050,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *167 + - *170 responses: '200': description: Response @@ -33879,7 +34058,7 @@ paths: application/json: schema: type: array - items: &287 + items: &290 title: Package description: A software package type: object @@ -33932,7 +34111,7 @@ paths: repository: anyOf: - type: 'null' - - *187 + - *190 created_at: type: string format: date-time @@ -33950,7 +34129,7 @@ paths: - created_at - updated_at examples: - default: &288 + default: &291 value: - id: 197 name: hello_docker @@ -34028,7 +34207,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *167 + - *170 - *17 - *19 responses: @@ -34038,7 +34217,7 @@ paths: application/json: schema: type: array - items: *156 + items: *159 examples: 200-response: value: @@ -34108,7 +34287,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *167 + - *170 - name: group_id description: The unique identifier of the group. in: path @@ -34134,7 +34313,7 @@ paths: description: Response content: application/json: - schema: &347 + schema: &352 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -34224,7 +34403,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &348 + default: &353 value: group_id: '123' group_name: Octocat admins @@ -34262,7 +34441,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-external-groups-in-an-organization parameters: - - *167 + - *170 - *17 - name: page description: Page token @@ -34279,7 +34458,7 @@ paths: description: Response content: application/json: - schema: &345 + schema: &350 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -34319,7 +34498,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &346 + default: &351 value: groups: - group_id: '123' @@ -34353,7 +34532,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *167 + - *170 - *17 - *19 responses: @@ -34363,7 +34542,7 @@ paths: application/json: schema: type: array - items: &269 + items: &272 title: Organization Invitation description: Organization Invitation type: object @@ -34417,7 +34596,7 @@ paths: - invitation_teams_url - node_id examples: - default: &270 + default: &273 value: - id: 1 login: monalisa @@ -34476,7 +34655,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---list-fine-grained-permissions-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response @@ -34484,7 +34663,7 @@ paths: application/json: schema: type: array - items: &306 + items: &309 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -34498,7 +34677,7 @@ paths: - name - description examples: - default: &307 + default: &310 value: - name: add_assignee description: Assign or remove a user @@ -34529,7 +34708,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *167 + - *170 - *17 - *19 responses: @@ -34539,7 +34718,7 @@ paths: application/json: schema: type: array - items: &247 + items: &250 title: Org Hook description: Org Hook type: object @@ -34660,7 +34839,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *167 + - *170 requestBody: required: true content: @@ -34722,9 +34901,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *250 examples: - default: &248 + default: &251 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -34768,8 +34947,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *167 - - &249 + - *170 + - &252 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. @@ -34782,9 +34961,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *250 examples: - default: *248 + default: *251 '404': *6 x-github: githubCloudOnly: false @@ -34805,8 +34984,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *167 - - *249 + - *170 + - *252 requestBody: required: false content: @@ -34852,7 +35031,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *250 examples: default: value: @@ -34891,8 +35070,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *167 - - *249 + - *170 + - *252 responses: '204': description: Response @@ -34917,8 +35096,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *167 - - *249 + - *170 + - *252 responses: '200': description: Response @@ -34946,8 +35125,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *167 - - *249 + - *170 + - *252 requestBody: required: false content: @@ -34995,10 +35174,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *167 - - *249 + - *170 + - *252 - *17 - - *250 + - *253 responses: '200': description: Response @@ -35006,9 +35185,9 @@ paths: application/json: schema: type: array - items: *251 + items: *254 examples: - default: *252 + default: *255 '400': *14 '422': *15 x-github: @@ -35031,17 +35210,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *167 - - *249 + - *170 + - *252 - *16 responses: '200': description: Response content: application/json: - schema: *253 + schema: *256 examples: - default: *254 + default: *257 '400': *14 '422': *15 x-github: @@ -35064,11 +35243,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *167 - - *249 + - *170 + - *252 - *16 responses: - '202': *91 + '202': *93 '400': *14 '422': *15 x-github: @@ -35091,8 +35270,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *167 - - *249 + - *170 + - *252 responses: '204': description: Response @@ -35114,8 +35293,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *167 - - &259 + - *170 + - &262 name: actor_type in: path description: The type of the actor @@ -35128,14 +35307,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &260 + - &263 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &255 + - &258 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`.' @@ -35143,7 +35322,7 @@ paths: required: true schema: type: string - - &256 + - &259 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) @@ -35154,7 +35333,7 @@ paths: type: string - *19 - *17 - - *82 + - *84 - name: sort description: The property to sort the results by. in: query @@ -35237,13 +35416,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *167 - - *255 - - *256 + - *170 + - *258 + - *259 - *19 - *17 - - *82 - - &265 + - *84 + - &268 name: sort description: The property to sort the results by. in: query @@ -35322,15 +35501,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *167 - - *255 - - *256 + - *170 + - *258 + - *259 responses: '200': description: Response content: application/json: - schema: &257 + schema: &260 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -35346,7 +35525,7 @@ paths: type: integer format: int64 examples: - default: &258 + default: &261 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -35366,24 +35545,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *167 - - &261 + - *170 + - &264 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *255 - - *256 + - *258 + - *259 responses: '200': description: Response content: application/json: - schema: *257 + schema: *260 examples: - default: *258 + default: *261 x-github: enabledForGitHubApps: true category: orgs @@ -35401,19 +35580,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *167 - - *255 - - *256 + - *170 + - *258 - *259 - - *260 + - *262 + - *263 responses: '200': description: Response content: application/json: - schema: *257 + schema: *260 examples: - default: *258 + default: *261 x-github: enabledForGitHubApps: true category: orgs @@ -35430,10 +35609,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *167 - - *255 - - *256 - - &262 + - *170 + - *258 + - *259 + - &265 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -35446,7 +35625,7 @@ paths: description: Response content: application/json: - schema: &263 + schema: &266 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -35462,7 +35641,7 @@ paths: type: integer format: int64 examples: - default: &264 + default: &267 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -35498,19 +35677,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *167 - - *261 - - *255 - - *256 - - *262 + - *170 + - *264 + - *258 + - *259 + - *265 responses: '200': description: Response content: application/json: - schema: *263 + schema: *266 examples: - default: *264 + default: *267 x-github: enabledForGitHubApps: true category: orgs @@ -35527,20 +35706,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *167 - - *259 - - *260 - - *255 - - *256 + - *170 - *262 + - *263 + - *258 + - *259 + - *265 responses: '200': description: Response content: application/json: - schema: *263 + schema: *266 examples: - default: *264 + default: *267 x-github: enabledForGitHubApps: true category: orgs @@ -35557,14 +35736,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *167 - - *261 - - *255 - - *256 + - *170 + - *264 + - *258 + - *259 - *19 - *17 - - *82 - - *265 + - *84 + - *268 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -35640,7 +35819,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *167 + - *170 responses: '200': description: Response @@ -35648,7 +35827,7 @@ paths: application/json: schema: *20 examples: - default: &527 + default: &532 value: id: 1 account: @@ -35717,7 +35896,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *167 + - *170 - *17 - *19 responses: @@ -35806,7 +35985,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response @@ -35814,12 +35993,12 @@ paths: application/json: schema: anyOf: - - &267 + - &270 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &266 + limit: &269 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -35847,7 +36026,7 @@ paths: properties: {} additionalProperties: false examples: - default: &268 + default: &271 value: limit: collaborators_only origin: organization @@ -35871,18 +36050,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *167 + - *170 requestBody: required: true content: application/json: - schema: &528 + schema: &533 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *266 + limit: *269 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -35907,9 +36086,9 @@ paths: description: Response content: application/json: - schema: *267 + schema: *270 examples: - default: *268 + default: *271 '422': *15 x-github: githubCloudOnly: false @@ -35927,7 +36106,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *167 + - *170 responses: '204': description: Response @@ -35953,7 +36132,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *167 + - *170 - *17 - *19 - name: role @@ -35987,9 +36166,9 @@ paths: application/json: schema: type: array - items: *269 + items: *272 examples: - default: *270 + default: *273 headers: Link: *37 '404': *6 @@ -36013,7 +36192,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *167 + - *170 requestBody: required: false content: @@ -36067,7 +36246,7 @@ paths: description: Response content: application/json: - schema: *269 + schema: *272 examples: default: value: @@ -36123,8 +36302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *167 - - &271 + - *170 + - &274 name: invitation_id description: The unique identifier of the invitation. in: path @@ -36157,8 +36336,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *167 - - *271 + - *170 + - *274 - *17 - *19 responses: @@ -36168,9 +36347,9 @@ paths: application/json: schema: type: array - items: *272 + items: *275 examples: - default: &286 + default: &289 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -36215,7 +36394,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *167 + - *170 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -36245,7 +36424,7 @@ paths: - closed - all default: open - - *273 + - *276 - name: sort description: What to sort results by. in: query @@ -36257,8 +36436,8 @@ paths: - updated - comments default: created - - *82 - - *135 + - *84 + - *138 - *17 - *19 responses: @@ -36268,9 +36447,9 @@ paths: application/json: schema: type: array - items: *145 + items: *148 examples: - default: *274 + default: *277 headers: Link: *37 '404': *6 @@ -36292,7 +36471,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *167 + - *170 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -36328,7 +36507,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 headers: Link: *37 '422': *15 @@ -36348,8 +36527,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *167 - - *209 + - *170 + - *212 responses: '204': description: Response if requester is an organization member and user is @@ -36380,8 +36559,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *167 - - *209 + - *170 + - *212 responses: '204': description: Response @@ -36407,8 +36586,8 @@ paths: parameters: - *17 - *19 - - *167 - - *209 + - *170 + - *212 responses: '200': description: Response @@ -36424,11 +36603,11 @@ paths: type: integer codespaces: type: array - items: *276 + items: *279 examples: - default: *277 + default: *280 '304': *35 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -36451,9 +36630,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *167 - - *209 - - &278 + - *170 + - *212 + - &281 name: codespace_name in: path required: true @@ -36461,9 +36640,9 @@ paths: schema: type: string responses: - '202': *91 + '202': *93 '304': *35 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -36486,17 +36665,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *167 - - *209 - - *278 + - *170 + - *212 + - *281 responses: '200': description: Response content: application/json: - schema: *276 + schema: *279 examples: - default: &459 + default: &464 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -36638,7 +36817,7 @@ paths: recent_folders: [] template: '304': *35 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -36669,14 +36848,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *167 - - *209 + - *170 + - *212 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *227 + schema: *230 examples: default: value: @@ -36719,7 +36898,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -36744,14 +36923,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *167 - - *209 + - *170 + - *212 responses: '200': description: Response content: application/json: - schema: &279 + schema: &282 title: Org Membership description: Org Membership type: object @@ -36804,7 +36983,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &280 + response-if-user-has-an-active-admin-membership-with-organization: &283 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -36872,8 +37051,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *167 - - *209 + - *170 + - *212 requestBody: required: false content: @@ -36901,9 +37080,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *282 examples: - response-if-user-already-had-membership-with-organization: *280 + response-if-user-already-had-membership-with-organization: *283 '422': *15 '403': *27 x-github: @@ -36924,8 +37103,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *167 - - *209 + - *170 + - *212 responses: '204': description: Response @@ -36950,7 +37129,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *167 + - *170 - *17 - *19 - name: exclude @@ -36972,7 +37151,7 @@ paths: application/json: schema: type: array - items: &281 + items: &284 title: Migration description: A migration. type: object @@ -37229,7 +37408,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *167 + - *170 requestBody: required: true content: @@ -37310,7 +37489,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *284 examples: default: value: @@ -37488,8 +37667,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *167 - - &282 + - *170 + - &285 name: migration_id description: The unique identifier of the migration. in: path @@ -37517,7 +37696,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *281 + schema: *284 examples: default: value: @@ -37686,8 +37865,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *167 - - *282 + - *170 + - *285 responses: '302': description: Response @@ -37708,8 +37887,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *167 - - *282 + - *170 + - *285 responses: '204': description: Response @@ -37732,9 +37911,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *167 - - *282 - - &694 + - *170 + - *285 + - &699 name: repo_name description: repo_name parameter in: path @@ -37761,8 +37940,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *167 - - *282 + - *170 + - *285 - *17 - *19 responses: @@ -37772,9 +37951,9 @@ paths: application/json: schema: type: array - items: *187 + items: *190 examples: - default: &293 + default: &296 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -37913,7 +38092,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-organization-fine-grained-permissions-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response @@ -37967,7 +38146,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response - list of organization roles @@ -37983,7 +38162,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &283 + items: &286 title: Organization Role description: Organization roles type: object @@ -38145,7 +38324,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *167 + - *170 requestBody: required: true content: @@ -38192,7 +38371,7 @@ paths: description: Response content: application/json: - schema: *283 + schema: *286 examples: default: value: @@ -38221,7 +38400,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *15 '404': *6 - '409': *90 + '409': *92 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -38243,8 +38422,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *167 - - *284 + - *170 + - *287 responses: '204': description: Response @@ -38269,9 +38448,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *167 - - *284 - - *232 + - *170 + - *287 + - *235 responses: '204': description: Response @@ -38300,9 +38479,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *167 - - *284 - - *232 + - *170 + - *287 + - *235 responses: '204': description: Response @@ -38327,8 +38506,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *167 - - *209 + - *170 + - *212 responses: '204': description: Response @@ -38353,9 +38532,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *167 - - *209 - - *232 + - *170 + - *212 + - *235 responses: '204': description: Response @@ -38385,9 +38564,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *167 - - *209 - - *232 + - *170 + - *212 + - *235 responses: '204': description: Response @@ -38415,14 +38594,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *167 - - *232 + - *170 + - *235 responses: '200': description: Response content: application/json: - schema: *283 + schema: *286 examples: default: value: @@ -38479,8 +38658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *167 - - *232 + - *170 + - *235 requestBody: required: true content: @@ -38519,7 +38698,7 @@ paths: description: Response content: application/json: - schema: *283 + schema: *286 examples: default: value: @@ -38547,7 +38726,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *15 - '409': *90 + '409': *92 '404': *6 x-github: githubCloudOnly: true @@ -38572,8 +38751,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *167 - - *232 + - *170 + - *235 responses: '204': description: Response @@ -38598,8 +38777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *167 - - *232 + - *170 + - *235 - *17 - *19 responses: @@ -38678,7 +38857,7 @@ paths: parent: anyOf: - type: 'null' - - *285 + - *288 required: - id - node_id @@ -38692,7 +38871,7 @@ paths: - slug - parent examples: - default: *286 + default: *289 headers: Link: *37 '404': @@ -38721,8 +38900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *167 - - *232 + - *170 + - *235 - *17 - *19 responses: @@ -38751,7 +38930,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *285 + items: *288 name: type: - string @@ -38868,7 +39047,7 @@ paths: - type - url examples: - default: *275 + default: *278 headers: Link: *37 '404': @@ -38892,7 +39071,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *167 + - *170 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -38916,7 +39095,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 headers: Link: *37 x-github: @@ -38941,8 +39120,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *167 - - *209 + - *170 + - *212 requestBody: required: false content: @@ -38999,8 +39178,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *167 - - *209 + - *170 + - *212 responses: '204': description: Response @@ -39057,8 +39236,8 @@ paths: - docker - nuget - container - - *167 - - &696 + - *170 + - &701 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -39094,12 +39273,12 @@ paths: application/json: schema: type: array - items: *287 + items: *290 examples: - default: *288 + default: *291 '403': *27 '401': *23 - '400': &698 + '400': &703 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -39121,7 +39300,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &289 + - &292 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 @@ -39139,20 +39318,20 @@ paths: - docker - nuget - container - - &290 + - &293 name: package_name description: The name of the package. in: path required: true schema: type: string - - *167 + - *170 responses: '200': description: Response content: application/json: - schema: *287 + schema: *290 examples: default: value: @@ -39204,9 +39383,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *289 - - *290 - - *167 + - *292 + - *293 + - *170 responses: '204': description: Response @@ -39238,9 +39417,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *289 - - *290 - - *167 + - *292 + - *293 + - *170 - name: token description: package token schema: @@ -39272,9 +39451,9 @@ 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: - - *289 - - *290 - - *167 + - *292 + - *293 + - *170 - *19 - *17 - name: state @@ -39294,7 +39473,7 @@ paths: application/json: schema: type: array - items: &291 + items: &294 title: Package Version description: A version of a software package type: object @@ -39429,10 +39608,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: - - *289 - - *290 - - *167 - - &292 + - *292 + - *293 + - *170 + - &295 name: package_version_id description: Unique identifier of the package version. in: path @@ -39444,7 +39623,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -39480,10 +39659,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *289 - - *290 - - *167 - *292 + - *293 + - *170 + - *295 responses: '204': description: Response @@ -39515,10 +39694,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *289 - - *290 - - *167 - *292 + - *293 + - *170 + - *295 responses: '204': description: Response @@ -39545,10 +39724,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *167 + - *170 - *17 - *19 - - &294 + - &297 name: sort description: The property by which to sort the results. in: query @@ -39558,8 +39737,8 @@ paths: enum: - created_at default: created_at - - *82 - - &295 + - *84 + - &298 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -39571,7 +39750,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &296 + - &299 name: repository description: The name of the repository to use to filter the results. in: query @@ -39580,7 +39759,7 @@ paths: type: string examples: - Hello-World - - &297 + - &300 name: permission description: The permission to use to filter the results. in: query @@ -39589,7 +39768,7 @@ paths: type: string examples: - issues_read - - &298 + - &301 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) @@ -39599,7 +39778,7 @@ paths: schema: type: string format: date-time - - &299 + - &302 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) @@ -39610,7 +39789,7 @@ paths: type: string format: date-time responses: - '500': *93 + '500': *95 '422': *15 '404': *6 '403': *27 @@ -39765,7 +39944,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *167 + - *170 requestBody: required: true content: @@ -39807,11 +39986,11 @@ paths: action: deny reason: Access is too broad. responses: - '500': *93 + '500': *95 '422': *15 '404': *6 '403': *27 - '202': *91 + '202': *93 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39832,7 +40011,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *167 + - *170 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -39869,11 +40048,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *93 + '500': *95 '422': *15 '404': *6 '403': *27 - '204': *112 + '204': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39894,7 +40073,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *167 + - *170 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -39905,7 +40084,7 @@ paths: - *17 - *19 responses: - '500': *93 + '500': *95 '404': *6 '403': *27 '200': @@ -39914,9 +40093,9 @@ paths: application/json: schema: type: array - items: *187 + items: *190 examples: - default: *293 + default: *296 headers: Link: *37 x-github: @@ -39939,18 +40118,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *167 + - *170 - *17 - *19 - - *294 - - *82 - - *295 - - *296 - *297 + - *84 - *298 - *299 + - *300 + - *301 + - *302 responses: - '500': *93 + '500': *95 '422': *15 '404': *6 '403': *27 @@ -40099,7 +40278,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *167 + - *170 requestBody: required: true content: @@ -40134,9 +40313,9 @@ paths: - 1296269 - 1296280 responses: - '500': *93 + '500': *95 '404': *6 - '202': *91 + '202': *93 '403': *27 '422': *15 x-github: @@ -40159,7 +40338,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *167 + - *170 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -40187,9 +40366,9 @@ paths: value: action: revoke responses: - '500': *93 + '500': *95 '404': *6 - '204': *112 + '204': *114 '403': *27 '422': *15 x-github: @@ -40211,7 +40390,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *167 + - *170 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -40221,7 +40400,7 @@ paths: - *17 - *19 responses: - '500': *93 + '500': *95 '404': *6 '403': *27 '200': @@ -40230,9 +40409,9 @@ paths: application/json: schema: type: array - items: *187 + items: *190 examples: - default: *293 + default: *296 headers: Link: *37 x-github: @@ -40258,7 +40437,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *167 + - *170 - *17 - *19 responses: @@ -40276,7 +40455,7 @@ paths: type: integer configurations: type: array - items: &300 + items: &303 title: Organization private registry description: Private registry configuration for an organization type: object @@ -40355,7 +40534,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *167 + - *170 requestBody: required: true content: @@ -40488,7 +40667,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &301 + org-private-registry-with-selected-visibility: &304 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -40531,7 +40710,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response @@ -40583,16 +40762,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *167 - - *197 + - *170 + - *200 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *300 + schema: *303 examples: - default: *301 + default: *304 '404': *6 x-github: githubCloudOnly: false @@ -40615,8 +40794,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *167 - - *197 + - *170 + - *200 requestBody: required: true content: @@ -40696,8 +40875,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *167 - - *197 + - *170 + - *200 responses: '204': description: Response @@ -40722,7 +40901,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-organization-projects parameters: - - *167 + - *170 - name: state description: Indicates the state of the projects to return. in: query @@ -40743,7 +40922,7 @@ paths: application/json: schema: type: array - items: &302 + items: &305 title: Project description: Projects are a way to organize columns and cards of work. @@ -40899,7 +41078,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-an-organization-project parameters: - - *167 + - *170 requestBody: required: true content: @@ -40925,7 +41104,7 @@ paths: description: Response content: application/json: - schema: *302 + schema: *305 examples: default: value: @@ -40963,7 +41142,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &363 + '410': &368 description: Gone content: application/json: @@ -40990,7 +41169,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response @@ -40998,9 +41177,9 @@ paths: application/json: schema: type: array - items: *108 + items: *110 examples: - default: *109 + default: *111 '403': *27 '404': *6 x-github: @@ -41023,7 +41202,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *167 + - *170 requestBody: required: true content: @@ -41034,7 +41213,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *108 + items: *110 minItems: 1 maxItems: 100 required: @@ -41064,9 +41243,9 @@ paths: application/json: schema: type: array - items: *108 + items: *110 examples: - default: *109 + default: *111 '403': *27 '404': *6 x-github: @@ -41087,16 +41266,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *167 - - *110 + - *170 + - *112 responses: '200': description: Response content: application/json: - schema: *108 + schema: *110 examples: - default: *111 + default: *113 '403': *27 '404': *6 x-github: @@ -41119,13 +41298,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *167 - - *110 + - *170 + - *112 requestBody: required: true content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -41141,9 +41320,9 @@ paths: description: Response content: application/json: - schema: *108 + schema: *110 examples: - default: *111 + default: *113 '403': *27 '404': *6 x-github: @@ -41166,10 +41345,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *167 - - *110 + - *170 + - *112 responses: - '204': *112 + '204': *114 '403': *27 '404': *6 x-github: @@ -41190,7 +41369,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *167 + - *170 - *17 - *19 - name: repository_query @@ -41231,7 +41410,7 @@ paths: - octocat/Hello-World properties: type: array - items: &304 + items: &307 title: Custom Property Value description: Custom property name and associated value type: object @@ -41301,7 +41480,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *167 + - *170 requestBody: required: true content: @@ -41321,7 +41500,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *304 + items: *307 required: - repository_names - properties @@ -41362,7 +41541,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *167 + - *170 - *17 - *19 responses: @@ -41374,7 +41553,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 headers: Link: *37 x-github: @@ -41393,8 +41572,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *167 - - *209 + - *170 + - *212 responses: '204': description: Response if user is a public member @@ -41418,8 +41597,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *167 - - *209 + - *170 + - *212 responses: '204': description: Response @@ -41440,8 +41619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *167 - - *209 + - *170 + - *212 responses: '204': description: Response @@ -41465,7 +41644,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *167 + - *170 - name: type description: Specifies the types of repositories you want returned. `internal` is not yet supported when a GitHub App calls this endpoint with an installation @@ -41512,9 +41691,9 @@ paths: application/json: schema: type: array - items: *187 + items: *190 examples: - default: *293 + default: *296 headers: Link: *37 x-github: @@ -41535,7 +41714,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *167 + - *170 requestBody: required: true content: @@ -41718,7 +41897,7 @@ paths: description: Response content: application/json: - schema: &365 + schema: &370 title: Full Repository description: Full Repository type: object @@ -42164,7 +42343,7 @@ paths: license: anyOf: - type: 'null' - - *146 + - *149 organization: anyOf: - type: 'null' @@ -42183,7 +42362,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &478 + code_of_conduct: &483 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -42213,7 +42392,7 @@ paths: - key - name - html_url - security_and_analysis: *305 + security_and_analysis: *308 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -42297,7 +42476,7 @@ paths: - network_count - subscribers_count examples: - default: &367 + default: &372 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -42815,7 +42994,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response @@ -42823,9 +43002,9 @@ paths: application/json: schema: type: array - items: *306 + items: *309 examples: - default: *307 + default: *310 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -42847,10 +43026,10 @@ paths: category: orgs subcategory: rules parameters: - - *167 + - *170 - *17 - *19 - - &609 + - &614 name: targets description: | A comma-separated list of rule targets to filter by. @@ -42869,7 +43048,7 @@ paths: application/json: schema: type: array - items: *122 + items: *124 examples: default: value: @@ -42900,7 +43079,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *93 + '500': *95 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -42916,7 +43095,7 @@ paths: category: orgs subcategory: rules parameters: - - *167 + - *170 requestBody: description: Request body required: true @@ -42937,16 +43116,16 @@ paths: - push - repository default: branch - enforcement: *119 + enforcement: *121 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *120 - conditions: *308 + items: *122 + conditions: *311 rules: type: array description: An array of rules within the ruleset. - items: *121 + items: *123 required: - name - enforcement @@ -42984,9 +43163,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *124 examples: - default: &310 + default: &313 value: id: 21 name: super cool ruleset @@ -43026,7 +43205,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *93 + '500': *95 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -43040,8 +43219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *167 - - &610 + - *170 + - &615 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -43051,16 +43230,16 @@ paths: schema: type: string x-multi-segment: true - - *309 - - *212 - - &611 + - *312 + - *215 + - &616 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &612 + - &617 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -43080,7 +43259,7 @@ paths: description: Response content: application/json: - schema: &613 + schema: &618 title: Rule Suites description: Response type: array @@ -43136,7 +43315,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &614 + default: &619 value: - id: 21 actor_id: 12 @@ -43160,7 +43339,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *93 + '500': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43179,8 +43358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *167 - - &615 + - *170 + - &620 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -43196,7 +43375,7 @@ paths: description: Response content: application/json: - schema: &616 + schema: &621 title: Rule Suite description: Response type: object @@ -43303,7 +43482,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &617 + default: &622 value: id: 21 actor_id: 12 @@ -43338,7 +43517,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *93 + '500': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43364,7 +43543,7 @@ paths: category: orgs subcategory: rules parameters: - - *167 + - *170 - name: ruleset_id description: The ID of the ruleset. in: path @@ -43376,11 +43555,11 @@ paths: description: Response content: application/json: - schema: *122 + schema: *124 examples: - default: *310 + default: *313 '404': *6 - '500': *93 + '500': *95 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -43396,7 +43575,7 @@ paths: category: orgs subcategory: rules parameters: - - *167 + - *170 - name: ruleset_id description: The ID of the ruleset. in: path @@ -43422,16 +43601,16 @@ paths: - tag - push - repository - enforcement: *119 + enforcement: *121 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *120 - conditions: *308 + items: *122 + conditions: *311 rules: description: An array of rules within the ruleset. type: array - items: *121 + items: *123 examples: default: value: @@ -43466,11 +43645,11 @@ paths: description: Response content: application/json: - schema: *122 + schema: *124 examples: - default: *310 + default: *313 '404': *6 - '500': *93 + '500': *95 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -43486,7 +43665,7 @@ paths: category: orgs subcategory: rules parameters: - - *167 + - *170 - name: ruleset_id description: The ID of the ruleset. in: path @@ -43497,7 +43676,119 @@ paths: '204': description: Response '404': *6 - '500': *93 + '500': *95 + "/orgs/{org}/rulesets/{ruleset_id}/history": + get: + summary: Get organization ruleset history + description: Get the history of an organization ruleset. + tags: + - orgs + operationId: orgs/get-org-ruleset-history + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-history + parameters: + - *170 + - *17 + - *19 + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *127 + examples: + default: *314 + '404': *6 + '500': *95 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: rules + "/orgs/{org}/rulesets/{ruleset_id}/history/{version_id}": + get: + summary: Get organization ruleset version + description: Get a version of an organization ruleset. + tags: + - orgs + operationId: orgs/get-org-ruleset-version + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-version + parameters: + - *170 + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + - name: version_id + description: The ID of the version + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: *315 + examples: + default: + value: + - version_id: 3 + actor: + id: 1 + type: User + updated_at: 2024-010-23T16:29:47Z + state: + id: 21 + name: super cool ruleset + target: branch + source_type: Organization + source: my-org + enforcement: active + bypass_actors: + - actor_id: 234 + actor_type: Team + bypass_mode: always + conditions: + ref_name: + include: + - refs/heads/main + - refs/heads/master + exclude: + - refs/heads/dev* + repository_name: + include: + - important_repository + - another_important_repository + exclude: + - unimportant_repository + protected: true + rules: + - type: commit_author_email_pattern + parameters: + operator: contains + pattern: github + '404': *6 + '500': *95 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: rules "/orgs/{org}/secret-scanning/alerts": get: summary: List secret scanning alerts for an organization @@ -43514,15 +43805,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *167 - - *311 - - *312 - - *313 - - *314 - - *82 + - *170 + - *316 + - *317 + - *318 + - *319 + - *84 - *19 - *17 - - &619 + - &624 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -43532,7 +43823,7 @@ paths: required: false schema: type: string - - &620 + - &625 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -43542,9 +43833,9 @@ paths: required: false schema: type: string - - *315 - - *316 - - *317 + - *320 + - *321 + - *322 responses: '200': description: Response @@ -43552,13 +43843,13 @@ paths: application/json: schema: type: array - items: *318 + items: *323 examples: - default: *319 + default: *324 headers: Link: *37 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43580,8 +43871,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *167 - - *82 + - *170 + - *84 - name: sort description: The property to sort the results by. in: query @@ -43593,8 +43884,8 @@ paths: - updated - published default: created - - *80 - - *81 + - *82 + - *83 - name: per_page description: The number of advisories to return per page. 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)." @@ -43624,7 +43915,7 @@ paths: application/json: schema: type: array - items: &627 + items: &632 description: A repository security advisory. type: object properties: @@ -43832,7 +44123,7 @@ paths: required: - vector_string - score - cvss_severities: *96 + cvss_severities: *98 cwes: type: - array @@ -43868,7 +44159,7 @@ paths: login: type: string description: The username of the user credited. - type: *320 + type: *325 credits_detailed: type: - array @@ -43879,7 +44170,7 @@ paths: type: object properties: user: *4 - type: *320 + type: *325 state: type: string description: The state of the user's acceptance of the @@ -43905,13 +44196,13 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *272 + items: *275 private_fork: readOnly: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *92 + - *94 type: - 'null' required: @@ -43943,7 +44234,7 @@ paths: - private_fork additionalProperties: false examples: - default: &628 + default: &633 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -44322,7 +44613,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *167 + - *170 responses: '200': description: Response @@ -44330,9 +44621,9 @@ paths: application/json: schema: type: array - items: *285 + items: *288 examples: - default: *286 + default: *289 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44355,8 +44646,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *167 - - *284 + - *170 + - *287 responses: '204': description: Response @@ -44381,8 +44672,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *167 - - *284 + - *170 + - *287 responses: '204': description: Response @@ -44411,15 +44702,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response content: application/json: - schema: *321 + schema: *326 examples: - default: *322 + default: *327 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -44443,7 +44734,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - - *167 + - *170 - *17 - *19 responses: @@ -44451,9 +44742,9 @@ paths: description: Success content: application/json: - schema: *323 + schema: *328 examples: - default: *324 + default: *329 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -44475,15 +44766,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response content: application/json: - schema: *325 + schema: *330 examples: - default: *326 + default: *331 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -44505,15 +44796,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response content: application/json: - schema: *327 + schema: *332 examples: - default: *328 + default: *333 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -44533,7 +44824,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *167 + - *170 - *17 - *19 responses: @@ -44551,9 +44842,9 @@ paths: type: integer network_configurations: type: array - items: *105 + items: *107 examples: - default: *329 + default: *334 headers: Link: *37 x-github: @@ -44574,7 +44865,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *167 + - *170 requestBody: required: true content: @@ -44616,9 +44907,9 @@ paths: description: Response content: application/json: - schema: *105 + schema: *107 examples: - default: *106 + default: *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44638,16 +44929,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *167 - - *107 + - *170 + - *109 responses: '200': description: Response content: application/json: - schema: *105 + schema: *107 examples: - default: *106 + default: *108 headers: Link: *37 x-github: @@ -44668,8 +44959,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *167 - - *107 + - *170 + - *109 requestBody: required: true content: @@ -44708,9 +44999,9 @@ paths: description: Response content: application/json: - schema: *105 + schema: *107 examples: - default: *106 + default: *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44729,8 +45020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *167 - - *107 + - *170 + - *109 responses: '204': description: Response @@ -44753,16 +45044,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *167 - - *330 + - *170 + - *335 responses: '200': description: Response content: application/json: - schema: *331 + schema: *336 examples: - default: *332 + default: *337 headers: Link: *37 x-github: @@ -44781,7 +45072,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-an-organization parameters: - - *167 + - *170 - *17 - name: page description: Page token @@ -44800,7 +45091,7 @@ paths: description: Response content: application/json: - schema: &354 + schema: &359 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -44852,7 +45143,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &355 + default: &360 value: groups: - group_id: '123' @@ -44897,8 +45188,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *167 - - *284 + - *170 + - *287 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -44930,13 +45221,13 @@ paths: application/json: schema: type: array - items: *127 + items: *130 examples: - default: *128 - '500': *93 + default: *131 + '500': *95 '403': *27 '404': *6 - '422': *129 + '422': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44970,8 +45261,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team parameters: - - *167 - - *284 + - *170 + - *287 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -45003,10 +45294,10 @@ paths: application/json: schema: type: array - items: *130 + items: *133 examples: - default: *229 - '500': *93 + default: *232 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -45027,7 +45318,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *167 + - *170 - *17 - *19 responses: @@ -45037,9 +45328,9 @@ paths: application/json: schema: type: array - items: *272 + items: *275 examples: - default: *286 + default: *289 headers: Link: *37 '403': *27 @@ -45061,7 +45352,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *167 + - *170 requestBody: required: true content: @@ -45133,7 +45424,7 @@ paths: description: Response content: application/json: - schema: &333 + schema: &338 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -45207,7 +45498,7 @@ paths: parent: anyOf: - type: 'null' - - *285 + - *288 members_count: type: integer examples: @@ -45513,7 +45804,7 @@ paths: - repos_count - organization examples: - default: &334 + default: &339 value: id: 1 node_id: MDQ6VGVhbTE= @@ -45583,16 +45874,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *167 - - *284 + - *170 + - *287 responses: '200': description: Response content: application/json: - schema: *333 + schema: *338 examples: - default: *334 + default: *339 '404': *6 x-github: githubCloudOnly: false @@ -45613,8 +45904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *167 - - *284 + - *170 + - *287 requestBody: required: false content: @@ -45677,16 +45968,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *333 + schema: *338 examples: - default: *334 + default: *339 '201': description: Response content: application/json: - schema: *333 + schema: *338 examples: - default: *334 + default: *339 '404': *6 '422': *15 '403': *27 @@ -45711,8 +46002,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *167 - - *284 + - *170 + - *287 responses: '204': description: Response @@ -45738,9 +46029,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *167 - - *284 - - *82 + - *170 + - *287 + - *84 - *17 - *19 - name: pinned @@ -45756,7 +46047,7 @@ paths: application/json: schema: type: array - items: &335 + items: &340 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -45847,7 +46138,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *133 + reactions: *136 required: - author - body @@ -45867,7 +46158,7 @@ paths: - updated_at - url examples: - default: &668 + default: &673 value: - author: login: octocat @@ -45941,8 +46232,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *167 - - *284 + - *170 + - *287 requestBody: required: true content: @@ -45976,9 +46267,9 @@ paths: description: Response content: application/json: - schema: *335 + schema: *340 examples: - default: &336 + default: &341 value: author: login: octocat @@ -46050,9 +46341,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *167 - - *284 - - &337 + - *170 + - *287 + - &342 name: discussion_number description: The number that identifies the discussion. in: path @@ -46064,9 +46355,9 @@ paths: description: Response content: application/json: - schema: *335 + schema: *340 examples: - default: *336 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46088,9 +46379,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *167 - - *284 - - *337 + - *170 + - *287 + - *342 requestBody: required: false content: @@ -46113,9 +46404,9 @@ paths: description: Response content: application/json: - schema: *335 + schema: *340 examples: - default: &669 + default: &674 value: author: login: octocat @@ -46185,9 +46476,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *167 - - *284 - - *337 + - *170 + - *287 + - *342 responses: '204': description: Response @@ -46213,10 +46504,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *167 - - *284 - - *337 - - *82 + - *170 + - *287 + - *342 + - *84 - *17 - *19 responses: @@ -46226,7 +46517,7 @@ paths: application/json: schema: type: array - items: &338 + items: &343 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -46291,7 +46582,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *133 + reactions: *136 required: - author - body @@ -46306,7 +46597,7 @@ paths: - updated_at - url examples: - default: &670 + default: &675 value: - author: login: octocat @@ -46374,9 +46665,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *167 - - *284 - - *337 + - *170 + - *287 + - *342 requestBody: required: true content: @@ -46398,9 +46689,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *343 examples: - default: &339 + default: &344 value: author: login: octocat @@ -46466,10 +46757,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *167 - - *284 - - *337 - - &340 + - *170 + - *287 + - *342 + - &345 name: comment_number description: The number that identifies the comment. in: path @@ -46481,9 +46772,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *343 examples: - default: *339 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46505,10 +46796,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *167 - - *284 - - *337 - - *340 + - *170 + - *287 + - *342 + - *345 requestBody: required: true content: @@ -46530,9 +46821,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *343 examples: - default: &671 + default: &676 value: author: login: octocat @@ -46596,10 +46887,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *167 - - *284 - - *337 - - *340 + - *170 + - *287 + - *342 + - *345 responses: '204': description: Response @@ -46625,10 +46916,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *167 - - *284 - - *337 - - *340 + - *170 + - *287 + - *342 + - *345 - 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. @@ -46654,7 +46945,7 @@ paths: application/json: schema: type: array - items: &341 + items: &346 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -46698,7 +46989,7 @@ paths: - content - created_at examples: - default: &343 + default: &348 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46748,10 +47039,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *167 - - *284 - - *337 - - *340 + - *170 + - *287 + - *342 + - *345 requestBody: required: true content: @@ -46784,9 +47075,9 @@ paths: team discussion comment content: application/json: - schema: *341 + schema: *346 examples: - default: &342 + default: &347 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46815,9 +47106,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *346 examples: - default: *342 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46840,11 +47131,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *167 - - *284 - - *337 - - *340 - - &344 + - *170 + - *287 + - *342 + - *345 + - &349 name: reaction_id description: The unique identifier of the reaction. in: path @@ -46876,9 +47167,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *167 - - *284 - - *337 + - *170 + - *287 + - *342 - 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. @@ -46904,9 +47195,9 @@ paths: application/json: schema: type: array - items: *341 + items: *346 examples: - default: *343 + default: *348 headers: Link: *37 x-github: @@ -46932,9 +47223,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *167 - - *284 - - *337 + - *170 + - *287 + - *342 requestBody: required: true content: @@ -46966,16 +47257,16 @@ paths: description: Response content: application/json: - schema: *341 + schema: *346 examples: - default: *342 + default: *347 '201': description: Response content: application/json: - schema: *341 + schema: *346 examples: - default: *342 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -46998,10 +47289,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *167 - - *284 - - *337 - - *344 + - *170 + - *287 + - *342 + - *349 responses: '204': description: Response @@ -47024,16 +47315,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - - *167 - - *284 + - *170 + - *287 responses: '200': description: Response content: application/json: - schema: *345 + schema: *350 examples: - default: *346 + default: *351 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -47052,8 +47343,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - - *167 - - *284 + - *170 + - *287 requestBody: required: true content: @@ -47077,9 +47368,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *352 examples: - default: *348 + default: *353 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -47098,8 +47389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - - *167 - - *284 + - *170 + - *287 responses: '204': description: Response @@ -47123,8 +47414,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *167 - - *284 + - *170 + - *287 - *17 - *19 responses: @@ -47134,9 +47425,9 @@ paths: application/json: schema: type: array - items: *269 + items: *272 examples: - default: *270 + default: *273 headers: Link: *37 x-github: @@ -47158,8 +47449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *167 - - *284 + - *170 + - *287 - name: role description: Filters members returned by their role in the team. in: query @@ -47182,7 +47473,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 headers: Link: *37 x-github: @@ -47212,15 +47503,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *167 - - *284 - - *209 + - *170 + - *287 + - *212 responses: '200': description: Response content: application/json: - schema: &349 + schema: &354 title: Team Membership description: Team Membership type: object @@ -47248,7 +47539,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &672 + response-if-user-is-a-team-maintainer: &677 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47284,9 +47575,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *167 - - *284 - - *209 + - *170 + - *287 + - *212 requestBody: required: false content: @@ -47311,9 +47602,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *354 examples: - response-if-users-membership-with-team-is-now-pending: &673 + response-if-users-membership-with-team-is-now-pending: &678 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47348,9 +47639,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *167 - - *284 - - *209 + - *170 + - *287 + - *212 responses: '204': description: Response @@ -47376,8 +47667,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *167 - - *284 + - *170 + - *287 - *17 - *19 responses: @@ -47387,7 +47678,7 @@ paths: application/json: schema: type: array - items: &350 + items: &355 title: Team Project description: A team's access to a project. type: object @@ -47456,7 +47747,7 @@ paths: - updated_at - permissions examples: - default: &674 + default: &679 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47517,9 +47808,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *167 - - *284 - - &351 + - *170 + - *287 + - &356 name: project_id description: The unique identifier of the project. in: path @@ -47531,9 +47822,9 @@ paths: description: Response content: application/json: - schema: *350 + schema: *355 examples: - default: &675 + default: &680 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47593,9 +47884,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *167 - - *284 - - *351 + - *170 + - *287 + - *356 requestBody: required: false content: @@ -47660,9 +47951,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *167 - - *284 - - *351 + - *170 + - *287 + - *356 responses: '204': description: Response @@ -47686,8 +47977,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *167 - - *284 + - *170 + - *287 - *17 - *19 responses: @@ -47697,9 +47988,9 @@ paths: application/json: schema: type: array - items: *187 + items: *190 examples: - default: *293 + default: *296 headers: Link: *37 x-github: @@ -47728,16 +48019,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *167 - - *284 - - *352 - - *353 + - *170 + - *287 + - *357 + - *358 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &676 + schema: &681 title: Team Repository description: A team's access to a repository. type: object @@ -47763,7 +48054,7 @@ paths: license: anyOf: - type: 'null' - - *146 + - *149 forks: type: integer permissions: @@ -48378,10 +48669,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *167 - - *284 - - *352 - - *353 + - *170 + - *287 + - *357 + - *358 requestBody: required: false content: @@ -48426,10 +48717,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *167 - - *284 - - *352 - - *353 + - *170 + - *287 + - *357 + - *358 responses: '204': description: Response @@ -48455,16 +48746,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - - *167 - - *284 + - *170 + - *287 responses: '200': description: Response content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -48486,8 +48777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - - *167 - - *284 + - *170 + - *287 requestBody: required: true content: @@ -48530,7 +48821,7 @@ paths: description: Response content: application/json: - schema: *354 + schema: *359 examples: default: value: @@ -48562,8 +48853,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *167 - - *284 + - *170 + - *287 - *17 - *19 responses: @@ -48573,9 +48864,9 @@ paths: application/json: schema: type: array - items: *272 + items: *275 examples: - response-if-child-teams-exist: &677 + response-if-child-teams-exist: &682 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -48628,7 +48919,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *167 + - *170 - name: security_product in: path description: The security feature to enable or disable. @@ -48702,7 +48993,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &356 + - &361 name: card_id description: The unique identifier of the card. in: path @@ -48714,7 +49005,7 @@ paths: description: Response content: application/json: - schema: &357 + schema: &362 title: Project Card description: Project cards represent a scope of work. type: object @@ -48789,7 +49080,7 @@ paths: - created_at - updated_at examples: - default: &358 + default: &363 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -48845,7 +49136,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *356 + - *361 requestBody: required: false content: @@ -48875,9 +49166,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *362 examples: - default: *358 + default: *363 '304': *35 '403': *27 '401': *23 @@ -48904,7 +49195,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *356 + - *361 responses: '204': description: Response @@ -48948,7 +49239,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *356 + - *361 requestBody: required: true content: @@ -49061,7 +49352,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &359 + - &364 name: column_id description: The unique identifier of the column. in: path @@ -49073,7 +49364,7 @@ paths: description: Response content: application/json: - schema: &360 + schema: &365 title: Project Column description: Project columns contain cards of work. type: object @@ -49127,7 +49418,7 @@ paths: - created_at - updated_at examples: - default: &361 + default: &366 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -49162,7 +49453,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *359 + - *364 requestBody: required: true content: @@ -49187,9 +49478,9 @@ paths: description: Response content: application/json: - schema: *360 + schema: *365 examples: - default: *361 + default: *366 '304': *35 '403': *27 '401': *23 @@ -49214,7 +49505,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *359 + - *364 responses: '204': description: Response @@ -49243,7 +49534,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *359 + - *364 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -49264,7 +49555,7 @@ paths: application/json: schema: type: array - items: *357 + items: *362 examples: default: value: @@ -49323,7 +49614,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *359 + - *364 requestBody: required: true content: @@ -49367,9 +49658,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *362 examples: - default: *358 + default: *363 '304': *35 '403': *27 '401': *23 @@ -49379,8 +49670,8 @@ paths: application/json: schema: oneOf: - - *170 - - *171 + - *173 + - *174 '503': description: Response content: @@ -49425,7 +49716,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *359 + - *364 requestBody: required: true content: @@ -49486,15 +49777,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *351 + - *356 responses: '200': description: Response content: application/json: - schema: *302 + schema: *305 examples: - default: &362 + default: &367 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -49551,7 +49842,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *351 + - *356 requestBody: required: false content: @@ -49600,9 +49891,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *305 examples: - default: *362 + default: *367 '404': description: Not Found if the authenticated user does not have access to the project @@ -49623,7 +49914,7 @@ paths: items: type: string '401': *23 - '410': *363 + '410': *368 '422': *7 x-github: githubCloudOnly: false @@ -49646,7 +49937,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *351 + - *356 responses: '204': description: Delete Success @@ -49667,7 +49958,7 @@ paths: items: type: string '401': *23 - '410': *363 + '410': *368 '404': *6 x-github: githubCloudOnly: false @@ -49691,7 +49982,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *351 + - *356 - 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 @@ -49718,7 +50009,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 headers: Link: *37 '404': *6 @@ -49748,8 +50039,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *351 - - *209 + - *356 + - *212 requestBody: required: false content: @@ -49803,8 +50094,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *351 - - *209 + - *356 + - *212 responses: '204': description: Response @@ -49835,8 +50126,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *351 - - *209 + - *356 + - *212 responses: '200': description: Response @@ -49906,7 +50197,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *351 + - *356 - *17 - *19 responses: @@ -49916,7 +50207,7 @@ paths: application/json: schema: type: array - items: *360 + items: *365 examples: default: value: @@ -49954,7 +50245,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *351 + - *356 requestBody: required: true content: @@ -49978,7 +50269,7 @@ paths: description: Response content: application/json: - schema: *360 + schema: *365 examples: default: value: @@ -50042,7 +50333,7 @@ paths: resources: type: object properties: - core: &364 + core: &369 title: Rate Limit type: object properties: @@ -50059,20 +50350,20 @@ paths: - remaining - reset - used - graphql: *364 - search: *364 - code_search: *364 - source_import: *364 - integration_manifest: *364 - code_scanning_upload: *364 - actions_runner_registration: *364 - scim: *364 - dependency_snapshots: *364 - code_scanning_autofix: *364 + graphql: *369 + search: *369 + code_search: *369 + source_import: *369 + integration_manifest: *369 + code_scanning_upload: *369 + actions_runner_registration: *369 + scim: *369 + dependency_snapshots: *369 + code_scanning_autofix: *369 required: - core - search - rate: *364 + rate: *369 required: - rate - resources @@ -50176,14 +50467,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *365 + schema: *370 examples: default-response: summary: Default response @@ -50688,7 +50979,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *366 + '301': *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50706,8 +50997,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: false content: @@ -50954,10 +51245,10 @@ paths: description: Response content: application/json: - schema: *365 + schema: *370 examples: - default: *367 - '307': &368 + default: *372 + '307': &373 description: Temporary Redirect content: application/json: @@ -50986,8 +51277,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Response @@ -51009,7 +51300,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': *368 + '307': *373 '404': *6 x-github: githubCloudOnly: false @@ -51032,11 +51323,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 - - &383 + - &388 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -51059,7 +51350,7 @@ paths: type: integer artifacts: type: array - items: &369 + items: &374 title: Artifact description: An artifact type: object @@ -51145,7 +51436,7 @@ paths: - expires_at - updated_at examples: - default: &384 + default: &389 value: total_count: 2 artifacts: @@ -51204,9 +51495,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *352 - - *353 - - &370 + - *357 + - *358 + - &375 name: artifact_id description: The unique identifier of the artifact. in: path @@ -51218,7 +51509,7 @@ paths: description: Response content: application/json: - schema: *369 + schema: *374 examples: default: value: @@ -51255,9 +51546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *352 - - *353 - - *370 + - *357 + - *358 + - *375 responses: '204': description: Response @@ -51281,9 +51572,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *352 - - *353 - - *370 + - *357 + - *358 + - *375 - name: archive_format in: path required: true @@ -51297,7 +51588,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': *363 + '410': *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51320,14 +51611,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *371 + schema: *376 examples: default: value: @@ -51353,11 +51644,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: - - *352 - - *353 + - *357 + - *358 - *17 - *19 - - &372 + - &377 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 @@ -51385,13 +51676,13 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *82 + - *84 responses: '200': description: Response content: application/json: - schema: &373 + schema: &378 title: Repository actions caches description: Repository actions caches type: object @@ -51441,7 +51732,7 @@ paths: - total_count - actions_caches examples: - default: &374 + default: &379 value: total_count: 1 actions_caches: @@ -51473,23 +51764,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: - - *352 - - *353 + - *357 + - *358 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *372 + - *377 responses: '200': description: Response content: application/json: - schema: *373 + schema: *378 examples: - default: *374 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51509,8 +51800,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: - - *352 - - *353 + - *357 + - *358 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -51541,9 +51832,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: - - *352 - - *353 - - &375 + - *357 + - *358 + - &380 name: job_id description: The unique identifier of the job. in: path @@ -51555,7 +51846,7 @@ paths: description: Response content: application/json: - schema: &387 + schema: &392 title: Job description: Information of a job execution in a workflow run type: object @@ -51902,9 +52193,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: - - *352 - - *353 - - *375 + - *357 + - *358 + - *380 responses: '302': description: Response @@ -51932,9 +52223,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: - - *352 - - *353 - - *375 + - *357 + - *358 + - *380 requestBody: required: false content: @@ -51956,7 +52247,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -51980,8 +52271,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Status response @@ -52031,8 +52322,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: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -52066,7 +52357,7 @@ paths: description: Empty response content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -52095,8 +52386,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -52114,7 +52405,7 @@ paths: type: integer secrets: type: array - items: &389 + items: &394 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -52135,7 +52426,7 @@ paths: - created_at - updated_at examples: - default: &390 + default: &395 value: total_count: 2 secrets: @@ -52168,9 +52459,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *352 - - *353 - - *376 + - *357 + - *358 + - *381 - *19 responses: '200': @@ -52187,7 +52478,7 @@ paths: type: integer variables: type: array - items: &393 + items: &398 title: Actions Variable type: object properties: @@ -52221,7 +52512,7 @@ paths: - created_at - updated_at examples: - default: &394 + default: &399 value: total_count: 2 variables: @@ -52254,8 +52545,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -52264,11 +52555,11 @@ paths: schema: type: object properties: - enabled: &377 + enabled: &382 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *46 - selected_actions_url: *180 + selected_actions_url: *183 required: - enabled examples: @@ -52297,8 +52588,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: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Response @@ -52309,7 +52600,7 @@ paths: schema: type: object properties: - enabled: *377 + enabled: *382 allowed_actions: *46 required: - enabled @@ -52340,14 +52631,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: &378 + schema: &383 type: object properties: access_level: @@ -52365,7 +52656,7 @@ paths: required: - access_level examples: - default: &379 + default: &384 value: access_level: organization x-github: @@ -52390,15 +52681,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: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: application/json: - schema: *378 + schema: *383 examples: - default: *379 + default: *384 responses: '204': description: Response @@ -52422,8 +52713,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -52454,8 +52745,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: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Response @@ -52487,14 +52778,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *183 + schema: *186 examples: default: *52 x-github: @@ -52517,8 +52808,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: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Success response @@ -52529,7 +52820,7 @@ paths: required: true content: application/json: - schema: *184 + schema: *187 examples: default: *52 x-github: @@ -52558,8 +52849,8 @@ paths: in: query schema: type: string - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -52603,8 +52894,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -52612,9 +52903,9 @@ paths: application/json: schema: type: array - items: *188 + items: *191 examples: - default: *189 + default: *192 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52636,8 +52927,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: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -52680,10 +52971,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *190 + '201': *193 '404': *6 '422': *7 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52711,8 +53002,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: - - *352 - - *353 + - *357 + - *358 responses: '201': description: Response @@ -52720,7 +53011,7 @@ paths: application/json: schema: *62 examples: - default: *191 + default: *194 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52748,8 +53039,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: - - *352 - - *353 + - *357 + - *358 responses: '201': description: Response @@ -52757,7 +53048,7 @@ paths: application/json: schema: *62 examples: - default: *192 + default: *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52779,8 +53070,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: - - *352 - - *353 + - *357 + - *358 - *58 responses: '200': @@ -52789,7 +53080,7 @@ paths: application/json: schema: *59 examples: - default: *193 + default: *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52810,8 +53101,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: - - *352 - - *353 + - *357 + - *358 - *58 responses: '204': @@ -52837,8 +53128,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: - - *352 - - *353 + - *357 + - *358 - *58 responses: '200': *64 @@ -52863,8 +53154,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: - - *352 - - *353 + - *357 + - *358 - *58 requestBody: required: true @@ -52913,8 +53204,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: - - *352 - - *353 + - *357 + - *358 - *58 requestBody: required: true @@ -52964,11 +53255,11 @@ 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: - - *352 - - *353 + - *357 + - *358 - *58 responses: - '200': *194 + '200': *197 '404': *6 x-github: githubCloudOnly: false @@ -52995,10 +53286,10 @@ 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: - - *352 - - *353 + - *357 + - *358 - *58 - - *195 + - *198 responses: '200': *64 '404': *6 @@ -53026,9 +53317,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: - - *352 - - *353 - - &397 + - *357 + - *358 + - &402 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. @@ -53036,7 +53327,7 @@ paths: required: false schema: type: string - - &398 + - &403 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -53044,7 +53335,7 @@ paths: required: false schema: type: string - - &399 + - &404 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -53053,7 +53344,7 @@ paths: required: false schema: type: string - - &400 + - &405 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 @@ -53080,7 +53371,7 @@ paths: - pending - *17 - *19 - - &401 + - &406 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)." @@ -53089,7 +53380,7 @@ paths: schema: type: string format: date-time - - &380 + - &385 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -53098,13 +53389,13 @@ paths: schema: type: boolean default: false - - &402 + - &407 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &403 + - &408 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -53127,7 +53418,7 @@ paths: type: integer workflow_runs: type: array - items: &381 + items: &386 title: Workflow Run description: An invocation of a workflow type: object @@ -53244,7 +53535,7 @@ paths: type: - array - 'null' - items: &422 + items: &427 title: Pull Request Minimal type: object properties: @@ -53371,7 +53662,7 @@ paths: head_commit: anyOf: - type: 'null' - - &426 + - &431 title: Simple Commit description: A commit. type: object @@ -53445,8 +53736,8 @@ paths: - timestamp - author - committer - repository: *187 - head_repository: *187 + repository: *190 + head_repository: *190 head_repository_id: type: integer examples: @@ -53486,7 +53777,7 @@ paths: - workflow_url - pull_requests examples: - default: &404 + default: &409 value: total_count: 1 workflow_runs: @@ -53722,24 +54013,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *352 - - *353 - - &382 + - *357 + - *358 + - &387 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *380 + - *385 responses: '200': description: Response content: application/json: - schema: *381 + schema: *386 examples: - default: &385 + default: &390 value: id: 30433642 name: Build @@ -53980,9 +54271,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *352 - - *353 - - *382 + - *357 + - *358 + - *387 responses: '204': description: Response @@ -54005,9 +54296,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: - - *352 - - *353 - - *382 + - *357 + - *358 + - *387 responses: '200': description: Response @@ -54135,15 +54426,15 @@ 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: - - *352 - - *353 - - *382 + - *357 + - *358 + - *387 responses: '201': description: Response content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -54170,12 +54461,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *352 - - *353 - - *382 + - *357 + - *358 + - *387 - *17 - *19 - - *383 + - *388 responses: '200': description: Response @@ -54191,9 +54482,9 @@ paths: type: integer artifacts: type: array - items: *369 + items: *374 examples: - default: *384 + default: *389 headers: Link: *37 x-github: @@ -54217,25 +54508,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *352 - - *353 - - *382 - - &386 + - *357 + - *358 + - *387 + - &391 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *380 + - *385 responses: '200': description: Response content: application/json: - schema: *381 + schema: *386 examples: - default: *385 + default: *390 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54258,10 +54549,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: - - *352 - - *353 - - *382 - - *386 + - *357 + - *358 + - *387 + - *391 - *17 - *19 responses: @@ -54279,9 +54570,9 @@ paths: type: integer jobs: type: array - items: *387 + items: *392 examples: - default: &388 + default: &393 value: total_count: 1 jobs: @@ -54394,10 +54685,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *352 - - *353 - - *382 - - *386 + - *357 + - *358 + - *387 + - *391 responses: '302': description: Response @@ -54425,19 +54716,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *352 - - *353 - - *382 + - *357 + - *358 + - *387 responses: '202': description: Response content: application/json: - schema: *198 + schema: *201 examples: default: value: - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54460,9 +54751,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: - - *352 - - *353 - - *382 + - *357 + - *358 + - *387 requestBody: required: true content: @@ -54529,19 +54820,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *352 - - *353 - - *382 + - *357 + - *358 + - *387 responses: '202': description: Response content: application/json: - schema: *198 + schema: *201 examples: default: value: - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54564,9 +54855,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: - - *352 - - *353 - - *382 + - *357 + - *358 + - *387 - 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 @@ -54596,9 +54887,9 @@ paths: type: integer jobs: type: array - items: *387 + items: *392 examples: - default: *388 + default: *393 headers: Link: *37 x-github: @@ -54623,9 +54914,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *352 - - *353 - - *382 + - *357 + - *358 + - *387 responses: '302': description: Response @@ -54652,14 +54943,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *352 - - *353 - - *382 + - *357 + - *358 + - *387 responses: '204': description: Response '403': *27 - '500': *93 + '500': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54681,9 +54972,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: - - *352 - - *353 - - *382 + - *357 + - *358 + - *387 responses: '200': description: Response @@ -54752,7 +55043,7 @@ paths: items: type: object properties: - type: &497 + type: &502 type: string description: The type of reviewer. enum: @@ -54763,7 +55054,7 @@ paths: reviewer: anyOf: - *4 - - *272 + - *275 required: - environment - wait_timer @@ -54838,9 +55129,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: - - *352 - - *353 - - *382 + - *357 + - *358 + - *387 requestBody: required: true content: @@ -54890,7 +55181,7 @@ paths: application/json: schema: type: array - items: &492 + items: &497 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -55002,7 +55293,7 @@ paths: - created_at - updated_at examples: - default: &493 + default: &498 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -55058,9 +55349,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *352 - - *353 - - *382 + - *357 + - *358 + - *387 requestBody: required: false content: @@ -55082,7 +55373,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -55105,9 +55396,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: - - *352 - - *353 - - *382 + - *357 + - *358 + - *387 requestBody: required: false content: @@ -55129,7 +55420,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -55141,12 +55432,20 @@ paths: "/repos/{owner}/{repo}/actions/runs/{run_id}/timing": get: summary: Get workflow run usage - description: |- - Gets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub Enterprise Cloud-hosted runners. Usage is listed for each GitHub Enterprise Cloud-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - Anyone with read access to the repository can use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + description: "> [!WARNING] \n> This endpoint is in the process of closing down. + Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints + closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" + for more information.\n\nGets the number of billable minutes and total run + time for a specific workflow run. Billable minutes only apply to workflows + in private repositories that use GitHub Enterprise Cloud-hosted runners. Usage + is listed for each GitHub Enterprise Cloud-hosted runner operating system + in milliseconds. Any job re-runs are also included in the usage. The usage + does not include the multiplier for macOS and Windows runners and is not rounded + up to the nearest whole minute. For more information, see \"[Managing billing + for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAnyone + with read access to the repository can use this endpoint.\n\nOAuth app tokens + and personal access tokens (classic) need the `repo` scope to use this endpoint + with a private repository." tags: - actions operationId: actions/get-workflow-run-usage @@ -55154,9 +55453,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *352 - - *353 - - *382 + - *357 + - *358 + - *387 responses: '200': description: Response @@ -55293,8 +55592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -55312,9 +55611,9 @@ paths: type: integer secrets: type: array - items: *389 + items: *394 examples: - default: *390 + default: *395 headers: Link: *37 x-github: @@ -55339,16 +55638,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *391 + schema: *396 examples: - default: *392 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55370,17 +55669,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *352 - - *353 - - *197 + - *357 + - *358 + - *200 responses: '200': description: Response content: application/json: - schema: *389 + schema: *394 examples: - default: &510 + default: &515 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -55406,9 +55705,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *352 - - *353 - - *197 + - *357 + - *358 + - *200 requestBody: required: true content: @@ -55439,7 +55738,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -55465,9 +55764,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *352 - - *353 - - *197 + - *357 + - *358 + - *200 responses: '204': description: Response @@ -55492,9 +55791,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *352 - - *353 - - *376 + - *357 + - *358 + - *381 - *19 responses: '200': @@ -55511,9 +55810,9 @@ paths: type: integer variables: type: array - items: *393 + items: *398 examples: - default: *394 + default: *399 headers: Link: *37 x-github: @@ -55536,8 +55835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -55564,7 +55863,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -55589,17 +55888,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *352 - - *353 - - *200 + - *357 + - *358 + - *203 responses: '200': description: Response content: application/json: - schema: *393 + schema: *398 examples: - default: &511 + default: &516 value: name: USERNAME value: octocat @@ -55625,9 +55924,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *352 - - *353 - - *200 + - *357 + - *358 + - *203 requestBody: required: true content: @@ -55669,9 +55968,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *352 - - *353 - - *200 + - *357 + - *358 + - *203 responses: '204': description: Response @@ -55696,8 +55995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -55715,7 +56014,7 @@ paths: type: integer workflows: type: array - items: &395 + items: &400 title: Workflow description: A GitHub Actions workflow type: object @@ -55833,9 +56132,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *352 - - *353 - - &396 + - *357 + - *358 + - &401 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -55850,7 +56149,7 @@ paths: description: Response content: application/json: - schema: *395 + schema: *400 examples: default: value: @@ -55883,9 +56182,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *352 - - *353 - - *396 + - *357 + - *358 + - *401 responses: '204': description: Response @@ -55910,9 +56209,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *352 - - *353 - - *396 + - *357 + - *358 + - *401 responses: '204': description: Response @@ -55963,9 +56262,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *352 - - *353 - - *396 + - *357 + - *358 + - *401 responses: '204': description: Response @@ -55992,19 +56291,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: - - *352 - - *353 - - *396 - - *397 - - *398 - - *399 - - *400 - - *17 - - *19 + - *357 + - *358 - *401 - - *380 - *402 - *403 + - *404 + - *405 + - *17 + - *19 + - *406 + - *385 + - *407 + - *408 responses: '200': description: Response @@ -56020,9 +56319,9 @@ paths: type: integer workflow_runs: type: array - items: *381 + items: *386 examples: - default: *404 + default: *409 headers: Link: *37 x-github: @@ -56033,14 +56332,21 @@ paths: "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": get: summary: Get workflow usage - description: |- - Gets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub Enterprise Cloud-hosted runners. Usage is listed for each GitHub Enterprise Cloud-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. - - Anyone with read access to the repository can use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + description: "> [!WARNING] \n> This endpoint is in the process of closing down. + Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints + closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" + for more information.\n\nGets the number of billable minutes used by a specific + workflow during the current billing cycle. Billable minutes only apply to + workflows in private repositories that use GitHub Enterprise Cloud-hosted + runners. Usage is listed for each GitHub Enterprise Cloud-hosted runner operating + system in milliseconds. Any job re-runs are also included in the usage. The + usage does not include the multiplier for macOS and Windows runners and is + not rounded up to the nearest whole minute. For more information, see \"[Managing + billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou + can replace `workflow_id` with the workflow file name. For example, you could + use `main.yaml`.\n\nAnyone with read access to the repository can use this + endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the + `repo` scope to use this endpoint with a private repository." tags: - actions operationId: actions/get-workflow-usage @@ -56048,9 +56354,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *352 - - *353 - - *396 + - *357 + - *358 + - *401 responses: '200': description: Response @@ -56111,12 +56417,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *352 - - *353 - - *82 + - *357 + - *358 + - *84 - *17 - - *80 - - *81 + - *82 + - *83 - name: ref description: |- The Git reference for the activities you want to list. @@ -56280,8 +56586,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -56293,7 +56599,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 headers: Link: *37 '404': *6 @@ -56318,8 +56624,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: - - *352 - - *353 + - *357 + - *358 - name: assignee in: path required: true @@ -56355,8 +56661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -56468,11 +56774,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *352 - - *353 + - *357 + - *358 - *17 - - *80 - - *81 + - *82 + - *83 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -56515,7 +56821,7 @@ paths: bundle_url: type: string examples: - default: *405 + default: *410 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56535,8 +56841,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -56544,7 +56850,7 @@ paths: application/json: schema: type: array - items: &406 + items: &411 title: Autolink reference description: An autolink reference. type: object @@ -56598,8 +56904,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: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -56638,9 +56944,9 @@ paths: description: response content: application/json: - schema: *406 + schema: *411 examples: - default: &407 + default: &412 value: id: 1 key_prefix: TICKET- @@ -56671,9 +56977,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: - - *352 - - *353 - - &408 + - *357 + - *358 + - &413 name: autolink_id description: The unique identifier of the autolink. in: path @@ -56685,9 +56991,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *411 examples: - default: *407 + default: *412 '404': *6 x-github: githubCloudOnly: false @@ -56707,9 +57013,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: - - *352 - - *353 - - *408 + - *357 + - *358 + - *413 responses: '204': description: Response @@ -56733,8 +57039,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response if Dependabot is enabled @@ -56784,8 +57090,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Response @@ -56806,8 +57112,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Response @@ -56827,8 +57133,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *352 - - *353 + - *357 + - *358 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -56866,7 +57172,7 @@ paths: - url protected: type: boolean - protection: &410 + protection: &415 title: Branch Protection description: Branch Protection type: object @@ -56909,7 +57215,7 @@ paths: required: - contexts - checks - enforce_admins: &413 + enforce_admins: &418 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -56926,7 +57232,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &415 + required_pull_request_reviews: &420 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -56948,7 +57254,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *272 + items: *275 apps: description: The list of apps with review dismissal access. @@ -56980,7 +57286,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *272 + items: *275 apps: description: The list of apps allowed to bypass pull request requirements. @@ -57010,7 +57316,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &412 + restrictions: &417 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -57335,9 +57641,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *352 - - *353 - - &411 + - *357 + - *358 + - &416 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). @@ -57351,14 +57657,14 @@ paths: description: Response content: application/json: - schema: &421 + schema: &426 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &468 + commit: &473 title: Commit description: Commit type: object @@ -57397,7 +57703,7 @@ paths: author: anyOf: - type: 'null' - - &409 + - &414 title: Git User description: Metaproperties for Git author/committer information. @@ -57418,7 +57724,7 @@ paths: committer: anyOf: - type: 'null' - - *409 + - *414 message: type: string examples: @@ -57442,7 +57748,7 @@ paths: required: - sha - url - verification: &517 + verification: &522 title: Verification type: object properties: @@ -57478,14 +57784,14 @@ paths: author: oneOf: - *4 - - *198 + - *201 type: - 'null' - object committer: oneOf: - *4 - - *198 + - *201 type: - 'null' - object @@ -57522,7 +57828,7 @@ paths: type: integer files: type: array - items: &480 + items: &485 title: Diff Entry description: Diff Entry type: object @@ -57616,7 +57922,7 @@ paths: - self protected: type: boolean - protection: *410 + protection: *415 protection_url: type: string format: uri @@ -57725,7 +58031,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *366 + '301': *371 '404': *6 x-github: githubCloudOnly: false @@ -57747,15 +58053,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '200': description: Response content: application/json: - schema: *410 + schema: *415 examples: default: value: @@ -57949,9 +58255,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 requestBody: required: true content: @@ -58211,7 +58517,7 @@ paths: url: type: string format: uri - required_status_checks: &418 + required_status_checks: &423 title: Status Check Policy description: Status Check Policy type: object @@ -58292,7 +58598,7 @@ paths: items: *4 teams: type: array - items: *272 + items: *275 apps: type: array items: *5 @@ -58310,7 +58616,7 @@ paths: items: *4 teams: type: array - items: *272 + items: *275 apps: type: array items: *5 @@ -58370,7 +58676,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *412 + restrictions: *417 required_conversation_resolution: type: object properties: @@ -58482,9 +58788,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '204': description: Response @@ -58509,17 +58815,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '200': description: Response content: application/json: - schema: *413 + schema: *418 examples: - default: &414 + default: &419 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -58541,17 +58847,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '200': description: Response content: application/json: - schema: *413 + schema: *418 examples: - default: *414 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58570,9 +58876,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '204': description: Response @@ -58597,17 +58903,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '200': description: Response content: application/json: - schema: *415 + schema: *420 examples: - default: &416 + default: &421 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -58703,9 +59009,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 requestBody: required: false content: @@ -58803,9 +59109,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *420 examples: - default: *416 + default: *421 '422': *15 x-github: githubCloudOnly: false @@ -58826,9 +59132,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '204': description: Response @@ -58855,17 +59161,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '200': description: Response content: application/json: - schema: *413 + schema: *418 examples: - default: &417 + default: &422 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -58888,17 +59194,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '200': description: Response content: application/json: - schema: *413 + schema: *418 examples: - default: *417 + default: *422 '404': *6 x-github: githubCloudOnly: false @@ -58918,9 +59224,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '204': description: Response @@ -58945,17 +59251,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '200': description: Response content: application/json: - schema: *418 + schema: *423 examples: - default: &419 + default: &424 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -58981,9 +59287,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 requestBody: required: false content: @@ -59035,9 +59341,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *423 examples: - default: *419 + default: *424 '404': *6 '422': *15 x-github: @@ -59059,9 +59365,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '204': description: Response @@ -59085,9 +59391,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '200': description: Response @@ -59121,9 +59427,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 requestBody: required: false content: @@ -59190,9 +59496,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 requestBody: required: false content: @@ -59256,9 +59562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 requestBody: content: application/json: @@ -59324,15 +59630,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '200': description: Response content: application/json: - schema: *412 + schema: *417 examples: default: value: @@ -59423,9 +59729,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '204': description: Response @@ -59448,9 +59754,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: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '200': description: Response @@ -59460,7 +59766,7 @@ paths: type: array items: *5 examples: - default: &420 + default: &425 value: - id: 1 slug: octoapp @@ -59517,9 +59823,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 requestBody: required: true content: @@ -59553,7 +59859,7 @@ paths: type: array items: *5 examples: - default: *420 + default: *425 '422': *15 x-github: githubCloudOnly: false @@ -59574,9 +59880,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 requestBody: required: true content: @@ -59610,7 +59916,7 @@ paths: type: array items: *5 examples: - default: *420 + default: *425 '422': *15 x-github: githubCloudOnly: false @@ -59631,9 +59937,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 requestBody: required: true content: @@ -59667,7 +59973,7 @@ paths: type: array items: *5 examples: - default: *420 + default: *425 '422': *15 x-github: githubCloudOnly: false @@ -59689,9 +59995,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: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '200': description: Response @@ -59699,9 +60005,9 @@ paths: application/json: schema: type: array - items: *272 + items: *275 examples: - default: *286 + default: *289 '404': *6 x-github: githubCloudOnly: false @@ -59721,9 +60027,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 requestBody: required: false content: @@ -59759,9 +60065,9 @@ paths: application/json: schema: type: array - items: *272 + items: *275 examples: - default: *286 + default: *289 '422': *15 x-github: githubCloudOnly: false @@ -59782,9 +60088,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 requestBody: required: false content: @@ -59820,9 +60126,9 @@ paths: application/json: schema: type: array - items: *272 + items: *275 examples: - default: *286 + default: *289 '422': *15 x-github: githubCloudOnly: false @@ -59843,9 +60149,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 requestBody: content: application/json: @@ -59880,9 +60186,9 @@ paths: application/json: schema: type: array - items: *272 + items: *275 examples: - default: *286 + default: *289 '422': *15 x-github: githubCloudOnly: false @@ -59904,9 +60210,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: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '200': description: Response @@ -59916,7 +60222,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 '404': *6 x-github: githubCloudOnly: false @@ -59940,9 +60246,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 requestBody: required: true content: @@ -59975,7 +60281,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 '422': *15 x-github: githubCloudOnly: false @@ -60000,9 +60306,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 requestBody: required: true content: @@ -60035,7 +60341,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 '422': *15 x-github: githubCloudOnly: false @@ -60060,9 +60366,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 requestBody: required: true content: @@ -60095,7 +60401,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 '422': *15 x-github: githubCloudOnly: false @@ -60122,9 +60428,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 requestBody: required: true content: @@ -60146,7 +60452,7 @@ paths: description: Response content: application/json: - schema: *421 + schema: *426 examples: default: value: @@ -60260,12 +60566,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *352 - - *353 - - *210 - - *211 - - *212 + - *357 + - *358 - *213 + - *214 + - *215 + - *216 - *17 - *19 responses: @@ -60275,11 +60581,11 @@ paths: application/json: schema: type: array - items: *214 + items: *217 examples: - default: *215 + default: *218 '404': *6 - '500': *93 + '500': *95 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": get: summary: Get a repository push bypass request @@ -60297,8 +60603,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *352 - - *353 + - *357 + - *358 - name: bypass_request_number in: path required: true @@ -60312,7 +60618,7 @@ paths: description: Response content: application/json: - schema: *214 + schema: *217 examples: default: value: @@ -60350,7 +60656,7 @@ paths: url: https://api.github.com/repos/octo-org/smile/bypass-requests/push-rules/2 html_url: https://github.com/octo-org/smile/exemptions/2 '404': *6 - '500': *93 + '500': *95 "/repos/{owner}/{repo}/check-runs": post: summary: Create a check run @@ -60370,8 +60676,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -60650,7 +60956,7 @@ paths: description: Response content: application/json: - schema: &423 + schema: &428 title: CheckRun description: A check performed on the code of a given code change type: object @@ -60785,8 +61091,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *422 - deployment: &727 + items: *427 + deployment: &732 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -61073,9 +61379,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *352 - - *353 - - &424 + - *357 + - *358 + - &429 name: check_run_id description: The unique identifier of the check run. in: path @@ -61087,9 +61393,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *428 examples: - default: &425 + default: &430 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -61189,9 +61495,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *352 - - *353 - - *424 + - *357 + - *358 + - *429 requestBody: required: true content: @@ -61431,9 +61737,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *428 examples: - default: *425 + default: *430 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61453,9 +61759,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *352 - - *353 - - *424 + - *357 + - *358 + - *429 - *17 - *19 responses: @@ -61567,15 +61873,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *352 - - *353 - - *424 + - *357 + - *358 + - *429 responses: '201': description: Response content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -61613,8 +61919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -61636,7 +61942,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &427 + schema: &432 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -61718,12 +62024,12 @@ paths: type: - array - 'null' - items: *422 + items: *427 app: anyOf: - type: 'null' - *5 - repository: *187 + repository: *190 created_at: type: - string @@ -61734,7 +62040,7 @@ paths: - string - 'null' format: date-time - head_commit: *426 + head_commit: *431 latest_check_runs_count: type: integer check_runs_url: @@ -61762,7 +62068,7 @@ paths: - check_runs_url - pull_requests examples: - default: &428 + default: &433 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -62053,9 +62359,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *427 + schema: *432 examples: - default: *428 + default: *433 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62074,8 +62380,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -62136,7 +62442,7 @@ paths: required: - app_id - setting - repository: *187 + repository: *190 examples: default: value: @@ -62384,9 +62690,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *352 - - *353 - - &429 + - *357 + - *358 + - &434 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -62398,9 +62704,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *432 examples: - default: *428 + default: *433 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62423,17 +62729,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: - - *352 - - *353 - - *429 - - &475 + - *357 + - *358 + - *434 + - &480 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &476 + - &481 name: status description: Returns check runs with the specified `status`. in: query @@ -62472,9 +62778,9 @@ paths: type: integer check_runs: type: array - items: *423 + items: *428 examples: - default: &477 + default: &482 value: total_count: 1 check_runs: @@ -62576,15 +62882,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *352 - - *353 - - *429 + - *357 + - *358 + - *434 responses: '201': description: Response content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -62611,30 +62917,30 @@ 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: - - *352 - - *353 - - *216 - - *217 + - *357 + - *358 + - *219 + - *220 - *19 - *17 - - &445 + - &450 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: *430 - - &446 + schema: *435 + - &451 name: pr description: The number of the pull request for the results you want to list. in: query required: false schema: type: integer + - *84 - *82 - - *80 - - *81 + - *83 - name: sort description: The property by which to sort the results. in: query @@ -62650,13 +62956,13 @@ paths: be returned. in: query required: false - schema: *218 + schema: *221 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *431 + schema: *436 responses: '200': description: Response @@ -62667,24 +62973,24 @@ paths: items: type: object properties: - number: *94 - created_at: *101 - updated_at: *102 - url: *99 - html_url: *100 - instances_url: *432 - state: *85 - fixed_at: *104 + number: *96 + created_at: *103 + updated_at: *104 + url: *101 + html_url: *102 + instances_url: *437 + state: *87 + fixed_at: *106 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *103 - dismissed_reason: *433 - dismissed_comment: *434 - rule: *435 - tool: *436 - most_recent_instance: *437 + dismissed_at: *105 + dismissed_reason: *438 + dismissed_comment: *439 + rule: *440 + tool: *441 + most_recent_instance: *442 required: - number - created_at @@ -62800,14 +63106,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &438 + '403': &443 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62827,9 +63133,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: - - *352 - - *353 - - &439 + - *357 + - *358 + - &444 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -62837,30 +63143,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *94 + schema: *96 responses: '200': description: Response content: application/json: - schema: &440 + schema: &445 type: object properties: - number: *94 - created_at: *101 - updated_at: *102 - url: *99 - html_url: *100 - instances_url: *432 - state: *85 - fixed_at: *104 + number: *96 + created_at: *103 + updated_at: *104 + url: *101 + html_url: *102 + instances_url: *437 + state: *87 + fixed_at: *106 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *103 - dismissed_reason: *433 - dismissed_comment: *434 + dismissed_at: *105 + dismissed_reason: *438 + dismissed_comment: *439 rule: type: object properties: @@ -62922,8 +63228,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *436 - most_recent_instance: *437 + tool: *441 + most_recent_instance: *442 required: - number - created_at @@ -63012,9 +63318,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *438 + '403': *443 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63032,9 +63338,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: - - *352 - - *353 - - *439 + - *357 + - *358 + - *444 requestBody: required: true content: @@ -63049,8 +63355,8 @@ paths: enum: - open - dismissed - dismissed_reason: *433 - dismissed_comment: *434 + dismissed_reason: *438 + dismissed_comment: *439 required: - state examples: @@ -63065,7 +63371,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *445 examples: default: value: @@ -63140,14 +63446,14 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &444 + '403': &449 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *125 + '503': *128 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63167,15 +63473,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: - - *352 - - *353 - - *439 + - *357 + - *358 + - *444 responses: '200': description: Response content: application/json: - schema: &441 + schema: &446 type: object properties: status: @@ -63202,13 +63508,13 @@ paths: - description - started_at examples: - default: &442 + default: &447 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &443 + '400': &448 description: Bad Request content: application/json: @@ -63219,9 +63525,9 @@ 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': *438 + '403': *443 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63244,29 +63550,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: - - *352 - - *353 - - *439 + - *357 + - *358 + - *444 responses: '200': description: OK content: application/json: - schema: *441 + schema: *446 examples: - default: *442 + default: *447 '202': description: Accepted content: application/json: - schema: *441 + schema: *446 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *443 + '400': *448 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -63276,7 +63582,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63298,9 +63604,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: - - *352 - - *353 - - *439 + - *357 + - *358 + - *444 requestBody: required: false content: @@ -63346,12 +63652,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *443 - '403': *444 + '400': *448 + '403': *449 '404': *6 '422': description: Unprocessable Entity - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63371,13 +63677,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: - - *352 - - *353 - - *439 + - *357 + - *358 + - *444 - *19 - *17 - - *445 - - *446 + - *450 + - *451 responses: '200': description: Response @@ -63385,7 +63691,7 @@ paths: application/json: schema: type: array - items: *437 + items: *442 examples: default: value: @@ -63424,9 +63730,9 @@ paths: end_column: 50 classifications: - source - '403': *438 + '403': *443 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63458,30 +63764,30 @@ 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: - - *352 - - *353 - - *216 - - *217 + - *357 + - *358 + - *219 + - *220 - *19 - *17 - - *446 + - *451 - 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: *430 + schema: *435 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &449 + schema: &454 type: string description: An identifier for the upload. examples: - 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *82 + - *84 - name: sort description: The property by which to sort the results. in: query @@ -63498,23 +63804,23 @@ paths: application/json: schema: type: array - items: &450 + items: &455 type: object properties: - ref: *430 - commit_sha: &458 + ref: *435 + commit_sha: &463 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: *447 + analysis_key: *452 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *448 + category: *453 error: type: string examples: @@ -63539,8 +63845,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *449 - tool: *436 + sarif_id: *454 + tool: *441 deletable: type: boolean warning: @@ -63602,9 +63908,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *438 + '403': *443 '404': *6 - '503': *125 + '503': *128 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63638,8 +63944,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: - - *352 - - *353 + - *357 + - *358 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63652,7 +63958,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *455 examples: response: summary: application/json response @@ -63706,9 +64012,9 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *438 + '403': *443 '404': *6 - '503': *125 + '503': *128 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63788,8 +64094,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: - - *352 - - *353 + - *357 + - *358 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63845,9 +64151,9 @@ 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': *444 + '403': *449 '404': *6 - '503': *125 + '503': *128 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63867,8 +64173,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -63876,7 +64182,7 @@ paths: application/json: schema: type: array - items: &451 + items: &456 title: CodeQL Database description: A CodeQL database. type: object @@ -63988,9 +64294,9 @@ 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': *438 + '403': *443 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64017,8 +64323,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: - - *352 - - *353 + - *357 + - *358 - name: language in: path description: The language of the CodeQL database. @@ -64030,7 +64336,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *456 examples: default: value: @@ -64062,11 +64368,11 @@ 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': &482 + '302': &487 description: Found - '403': *438 + '403': *443 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64086,8 +64392,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *352 - - *353 + - *357 + - *358 - name: language in: path description: The language of the CodeQL database. @@ -64097,9 +64403,9 @@ paths: responses: '204': description: Response - '403': *444 + '403': *449 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64125,8 +64431,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: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -64135,7 +64441,7 @@ paths: type: object additionalProperties: false properties: - language: &452 + language: &457 type: string description: The language targeted by the CodeQL query enum: @@ -64213,7 +64519,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &456 + schema: &461 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -64221,9 +64527,9 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *92 + controller_repo: *94 actor: *4 - query_language: *452 + query_language: *457 query_pack_url: type: string description: The download url for the query pack. @@ -64271,7 +64577,7 @@ paths: items: type: object properties: - repository: &453 + repository: &458 title: Repository Identifier description: Repository Identifier type: object @@ -64313,7 +64619,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &457 + analysis_status: &462 type: string description: The new status of the CodeQL variant analysis repository task. @@ -64345,7 +64651,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &454 + access_mismatch_repos: &459 type: object properties: repository_count: @@ -64360,7 +64666,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: *453 + items: *458 required: - repository_count - repositories @@ -64383,8 +64689,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *454 - over_limit_repos: *454 + no_codeql_db_repos: *459 + over_limit_repos: *459 required: - access_mismatch_repos - not_found_repos @@ -64400,7 +64706,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &455 + value: &460 summary: Default response value: id: 1 @@ -64552,17 +64858,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *455 + value: *460 repository_lists: summary: Response for a successful variant analysis submission - value: *455 + value: *460 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64583,8 +64889,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: - - *352 - - *353 + - *357 + - *358 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -64596,11 +64902,11 @@ paths: description: Response content: application/json: - schema: *456 + schema: *461 examples: - default: *455 + default: *460 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64621,7 +64927,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: - - *352 + - *357 - name: repo in: path description: The name of the controller repository. @@ -64655,8 +64961,8 @@ paths: schema: type: object properties: - repository: *92 - analysis_status: *457 + repository: *94 + analysis_status: *462 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -64760,7 +65066,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64781,8 +65087,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -64864,9 +65170,9 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *438 + '403': *443 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64885,8 +65191,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: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -64945,7 +65251,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -64970,7 +65276,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *444 + '403': *449 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -64978,7 +65284,7 @@ paths: content: application/json: schema: *3 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65035,8 +65341,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: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -65044,7 +65350,7 @@ paths: schema: type: object properties: - commit_sha: *458 + commit_sha: *463 ref: type: string description: |- @@ -65104,7 +65410,7 @@ paths: schema: type: object properties: - id: *449 + id: *454 url: type: string description: The REST API URL for checking the status of the upload. @@ -65118,11 +65424,11 @@ 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': *444 + '403': *449 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *125 + '503': *128 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65141,8 +65447,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: - - *352 - - *353 + - *357 + - *358 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -65190,10 +65496,10 @@ 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': *438 + '403': *443 '404': description: Not Found if the sarif id does not match any upload - '503': *125 + '503': *128 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65215,8 +65521,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -65240,7 +65546,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *86 + configuration: *88 examples: default: value: @@ -65269,7 +65575,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *112 + '204': *114 '304': *35 '403': *27 '404': *6 @@ -65294,8 +65600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *352 - - *353 + - *357 + - *358 - 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 @@ -65423,8 +65729,8 @@ paths: parameters: - *17 - *19 - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -65440,7 +65746,7 @@ paths: type: integer codespaces: type: array - items: *276 + items: *279 examples: default: value: @@ -65716,7 +66022,7 @@ paths: start_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/start stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/stop recent_folders: [] - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -65738,8 +66044,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -65803,22 +66109,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *276 + schema: *279 examples: - default: *459 + default: *464 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *276 + schema: *279 examples: - default: *459 + default: *464 '400': *14 '401': *23 '403': *27 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65842,8 +66148,8 @@ paths: parameters: - *17 - *19 - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -65883,7 +66189,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *93 + '500': *95 '400': *14 '401': *23 '403': *27 @@ -65907,8 +66213,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: - - *352 - - *353 + - *357 + - *358 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -65945,9 +66251,9 @@ paths: type: integer machines: type: array - items: *460 + items: *465 examples: - default: &684 + default: &689 value: total_count: 2 machines: @@ -65964,7 +66270,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *35 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -65987,8 +66293,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *352 - - *353 + - *357 + - *358 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -66075,8 +66381,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: - - *352 - - *353 + - *357 + - *358 - 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 @@ -66124,7 +66430,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66145,8 +66451,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -66164,7 +66470,7 @@ paths: type: integer secrets: type: array - items: &464 + items: &469 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -66185,7 +66491,7 @@ paths: - created_at - updated_at examples: - default: *461 + default: *466 headers: Link: *37 x-github: @@ -66208,16 +66514,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *462 + schema: *467 examples: - default: *463 + default: *468 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -66237,17 +66543,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *352 - - *353 - - *197 + - *357 + - *358 + - *200 responses: '200': description: Response content: application/json: - schema: *464 + schema: *469 examples: - default: *465 + default: *470 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66267,9 +66573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *352 - - *353 - - *197 + - *357 + - *358 + - *200 requestBody: required: true content: @@ -66297,7 +66603,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -66321,9 +66627,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *352 - - *353 - - *197 + - *357 + - *358 + - *200 responses: '204': description: Response @@ -66351,8 +66657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *352 - - *353 + - *357 + - *358 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -66390,7 +66696,7 @@ paths: application/json: schema: type: array - items: &466 + items: &471 title: Collaborator description: Collaborator type: object @@ -66583,9 +66889,9 @@ 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: - - *352 - - *353 - - *209 + - *357 + - *358 + - *212 responses: '204': description: Response if user is a collaborator @@ -66627,9 +66933,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *352 - - *353 - - *209 + - *357 + - *358 + - *212 requestBody: required: false content: @@ -66655,7 +66961,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &530 + schema: &535 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -66667,7 +66973,7 @@ paths: format: int64 examples: - 42 - repository: *187 + repository: *190 invitee: anyOf: - type: 'null' @@ -66876,9 +67182,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *352 - - *353 - - *209 + - *357 + - *358 + - *212 responses: '204': description: No Content when collaborator was removed from the repository. @@ -66907,9 +67213,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *352 - - *353 - - *209 + - *357 + - *358 + - *212 responses: '200': description: if user has admin permissions @@ -66929,7 +67235,7 @@ paths: user: anyOf: - type: 'null' - - *466 + - *471 required: - permission - role_name @@ -66983,8 +67289,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -66994,7 +67300,7 @@ paths: application/json: schema: type: array - items: &467 + items: &472 title: Commit Comment description: Commit Comment type: object @@ -67035,8 +67341,8 @@ paths: updated_at: type: string format: date-time - author_association: *132 - reactions: *133 + author_association: *135 + reactions: *136 required: - url - html_url @@ -67052,7 +67358,7 @@ paths: - created_at - updated_at examples: - default: &470 + default: &475 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67111,17 +67417,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *352 - - *353 - - *144 + - *357 + - *358 + - *147 responses: '200': description: Response content: application/json: - schema: *467 + schema: *472 examples: - default: &471 + default: &476 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67178,9 +67484,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *352 - - *353 - - *144 + - *357 + - *358 + - *147 requestBody: required: true content: @@ -67202,7 +67508,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *472 examples: default: value: @@ -67253,9 +67559,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *352 - - *353 - - *144 + - *357 + - *358 + - *147 responses: '204': description: Response @@ -67276,9 +67582,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *352 - - *353 - - *144 + - *357 + - *358 + - *147 - 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 commit comment. @@ -67304,9 +67610,9 @@ paths: application/json: schema: type: array - items: *341 + items: *346 examples: - default: *343 + default: *348 headers: Link: *37 '404': *6 @@ -67327,9 +67633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *352 - - *353 - - *144 + - *357 + - *358 + - *147 requestBody: required: true content: @@ -67361,16 +67667,16 @@ paths: description: Reaction exists content: application/json: - schema: *341 + schema: *346 examples: - default: *342 + default: *347 '201': description: Reaction created content: application/json: - schema: *341 + schema: *346 examples: - default: *342 + default: *347 '422': *15 x-github: githubCloudOnly: false @@ -67392,10 +67698,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *352 - - *353 - - *144 - - *344 + - *357 + - *358 + - *147 + - *349 responses: '204': description: Response @@ -67444,8 +67750,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *352 - - *353 + - *357 + - *358 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -67501,9 +67807,9 @@ paths: application/json: schema: type: array - items: *468 + items: *473 examples: - default: &578 + default: &583 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67574,10 +67880,10 @@ paths: sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: Link: *37 - '500': *93 + '500': *95 '400': *14 '404': *6 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67597,9 +67903,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *352 - - *353 - - &469 + - *357 + - *358 + - &474 name: commit_sha description: The SHA of the commit. in: path @@ -67646,7 +67952,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67671,9 +67977,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *352 - - *353 - - *469 + - *357 + - *358 + - *474 - *17 - *19 responses: @@ -67683,9 +67989,9 @@ paths: application/json: schema: type: array - items: *467 + items: *472 examples: - default: *470 + default: *475 headers: Link: *37 x-github: @@ -67713,9 +68019,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *352 - - *353 - - *469 + - *357 + - *358 + - *474 requestBody: required: true content: @@ -67750,9 +68056,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *472 examples: - default: *471 + default: *476 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67780,9 +68086,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: - - *352 - - *353 - - *469 + - *357 + - *358 + - *474 - *17 - *19 responses: @@ -67792,7 +68098,7 @@ paths: application/json: schema: type: array - items: &569 + items: &574 title: Pull Request Simple description: Pull Request Simple type: object @@ -67912,7 +68218,7 @@ paths: milestone: anyOf: - type: 'null' - - *472 + - *477 active_lock_reason: type: - string @@ -67967,7 +68273,7 @@ paths: type: - array - 'null' - items: *272 + items: *275 head: type: object properties: @@ -68011,7 +68317,7 @@ paths: _links: type: object properties: - comments: &473 + comments: &478 title: Link description: Hypermedia Link type: object @@ -68020,13 +68326,13 @@ paths: type: string required: - href - commits: *473 - statuses: *473 - html: *473 - issue: *473 - review_comments: *473 - review_comment: *473 - self: *473 + commits: *478 + statuses: *478 + html: *478 + issue: *478 + review_comments: *478 + review_comment: *478 + self: *478 required: - comments - commits @@ -68036,8 +68342,8 @@ paths: - review_comments - review_comment - self - author_association: *132 - auto_merge: &571 + author_association: *135 + auto_merge: &576 title: Auto merge description: The status of auto merging a pull request. type: @@ -68102,7 +68408,7 @@ paths: - author_association - auto_merge examples: - default: &570 + default: &575 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -68582,7 +68888,7 @@ paths: draft: false headers: Link: *37 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68639,11 +68945,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *352 - - *353 + - *357 + - *358 - *19 - *17 - - &474 + - &479 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)" @@ -68658,9 +68964,9 @@ paths: description: Response content: application/json: - schema: *468 + schema: *473 examples: - default: &557 + default: &562 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -68746,9 +69052,9 @@ paths: ..... '422': *15 '404': *6 - '500': *93 - '503': *125 - '409': *90 + '500': *95 + '503': *128 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68773,11 +69079,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: - - *352 - - *353 - - *474 - - *475 - - *476 + - *357 + - *358 + - *479 + - *480 + - *481 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -68811,9 +69117,9 @@ paths: type: integer check_runs: type: array - items: *423 + items: *428 examples: - default: *477 + default: *482 headers: Link: *37 x-github: @@ -68838,9 +69144,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: - - *352 - - *353 - - *474 + - *357 + - *358 + - *479 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -68848,7 +69154,7 @@ paths: schema: type: integer example: 1 - - *475 + - *480 - *17 - *19 responses: @@ -68866,7 +69172,7 @@ paths: type: integer check_suites: type: array - items: *427 + items: *432 examples: default: value: @@ -69066,9 +69372,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: - - *352 - - *353 - - *474 + - *357 + - *358 + - *479 - *17 - *19 responses: @@ -69139,7 +69445,7 @@ paths: type: string total_count: type: integer - repository: *187 + repository: *190 commit_url: type: string format: uri @@ -69270,9 +69576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *352 - - *353 - - *474 + - *357 + - *358 + - *479 - *17 - *19 responses: @@ -69282,7 +69588,7 @@ paths: application/json: schema: type: array - items: &632 + items: &637 title: Status description: The status of a commit. type: object @@ -69363,7 +69669,7 @@ paths: site_admin: false headers: Link: *37 - '301': *366 + '301': *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69391,8 +69697,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -69425,11 +69731,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *478 + - *483 code_of_conduct_file: anyOf: - type: 'null' - - &479 + - &484 title: Community Health File type: object properties: @@ -69445,23 +69751,23 @@ paths: license: anyOf: - type: 'null' - - *146 + - *149 contributing: anyOf: - type: 'null' - - *479 + - *484 readme: anyOf: - type: 'null' - - *479 + - *484 issue_template: anyOf: - type: 'null' - - *479 + - *484 pull_request_template: anyOf: - type: 'null' - - *479 + - *484 required: - code_of_conduct - code_of_conduct_file @@ -69590,8 +69896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *352 - - *353 + - *357 + - *358 - *19 - *17 - name: basehead @@ -69639,8 +69945,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *468 - merge_base_commit: *468 + base_commit: *473 + merge_base_commit: *473 status: type: string enum: @@ -69664,10 +69970,10 @@ paths: - 6 commits: type: array - items: *468 + items: *473 files: type: array - items: *480 + items: *485 required: - url - html_url @@ -69910,8 +70216,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *93 - '503': *125 + '500': *95 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69953,8 +70259,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *352 - - *353 + - *357 + - *358 - name: path description: path parameter in: path @@ -70105,7 +70411,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &481 + response-if-content-is-a-file: &486 summary: Response if content is a file value: type: file @@ -70242,7 +70548,7 @@ paths: - size - type - url - - &583 + - &588 title: Content File description: Content File type: object @@ -70460,7 +70766,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *481 + response-if-content-is-a-file: *486 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -70529,7 +70835,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *482 + '302': *487 '304': *35 x-github: githubCloudOnly: false @@ -70552,8 +70858,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *352 - - *353 + - *357 + - *358 - name: path description: path parameter in: path @@ -70648,7 +70954,7 @@ paths: description: Response content: application/json: - schema: &483 + schema: &488 title: File Commit description: File Commit type: object @@ -70804,7 +71110,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *488 examples: example-for-creating-a-file: value: @@ -70858,7 +71164,7 @@ paths: schema: oneOf: - *3 - - &512 + - &517 description: Repository rule violation was detected type: object properties: @@ -70879,7 +71185,7 @@ paths: items: type: object properties: - placeholder_id: &624 + placeholder_id: &629 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -70911,8 +71217,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *352 - - *353 + - *357 + - *358 - name: path description: path parameter in: path @@ -70973,7 +71279,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *488 examples: default: value: @@ -71007,8 +71313,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *90 - '503': *125 + '409': *92 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71028,8 +71334,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *352 - - *353 + - *357 + - *358 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -71153,22 +71459,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *352 - - *353 - - *235 - - *236 - - *237 + - *357 + - *358 - *238 + - *239 + - *240 + - *241 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *239 - - *240 - - *241 - - *82 + - *242 + - *243 + - *244 + - *84 - name: page description: "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead." @@ -71185,10 +71491,10 @@ paths: schema: type: integer default: 30 - - *80 - - *81 - - *242 - - *243 + - *82 + - *83 + - *245 + - *246 responses: '200': description: Response @@ -71196,11 +71502,11 @@ paths: application/json: schema: type: array - items: &486 + items: &491 type: object description: A Dependabot alert. properties: - number: *94 + number: *96 state: type: string description: The state of the Dependabot alert. @@ -71215,7 +71521,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *95 + package: *97 manifest_path: type: string description: The full path to the dependency manifest file, @@ -71231,13 +71537,13 @@ paths: - development - runtime - - security_advisory: *484 - security_vulnerability: *98 - url: *99 - html_url: *100 - created_at: *101 - updated_at: *102 - dismissed_at: *103 + security_advisory: *489 + security_vulnerability: *100 + url: *101 + html_url: *102 + created_at: *103 + updated_at: *104 + dismissed_at: *105 dismissed_by: anyOf: - type: 'null' @@ -71261,8 +71567,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *104 - auto_dismissed_at: *485 + fixed_at: *106 + auto_dismissed_at: *490 required: - number - state @@ -71492,9 +71798,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *352 - - *353 - - &487 + - *357 + - *358 + - &492 name: alert_number in: path description: |- @@ -71503,13 +71809,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *94 + schema: *96 responses: '200': description: Response content: application/json: - schema: *486 + schema: *491 examples: default: value: @@ -71622,9 +71928,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *352 - - *353 - - *487 + - *357 + - *358 + - *492 requestBody: required: true content: @@ -71669,7 +71975,7 @@ paths: description: Response content: application/json: - schema: *486 + schema: *491 examples: default: value: @@ -71775,7 +72081,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *90 + '409': *92 '422': *7 x-github: githubCloudOnly: false @@ -71798,8 +72104,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -71817,7 +72123,7 @@ paths: type: integer secrets: type: array - items: &490 + items: &495 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -71871,16 +72177,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *488 + schema: *493 examples: - default: *489 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71900,15 +72206,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *352 - - *353 - - *197 + - *357 + - *358 + - *200 responses: '200': description: Response content: application/json: - schema: *490 + schema: *495 examples: default: value: @@ -71934,9 +72240,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *352 - - *353 - - *197 + - *357 + - *358 + - *200 requestBody: required: true content: @@ -71964,7 +72270,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -71988,9 +72294,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *352 - - *353 - - *197 + - *357 + - *358 + - *200 responses: '204': description: Response @@ -72012,8 +72318,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: - - *352 - - *353 + - *357 + - *358 - 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 @@ -72187,8 +72493,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -72448,8 +72754,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: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -72532,7 +72838,7 @@ paths: - version - url additionalProperties: false - metadata: &491 + metadata: &496 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -72571,7 +72877,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *491 + metadata: *496 resolved: type: object description: A collection of resolved package dependencies. @@ -72585,7 +72891,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *491 + metadata: *496 relationship: type: string description: A notation of whether a dependency is requested @@ -72718,8 +73024,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *352 - - *353 + - *357 + - *358 - name: sha description: The SHA recorded at creation time. in: query @@ -72760,9 +73066,9 @@ paths: application/json: schema: type: array - items: *492 + items: *497 examples: - default: *493 + default: *498 headers: Link: *37 x-github: @@ -72828,8 +73134,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -72911,7 +73217,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *497 examples: simple-example: summary: Simple example @@ -72984,9 +73290,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *352 - - *353 - - &494 + - *357 + - *358 + - &499 name: deployment_id description: deployment_id parameter in: path @@ -72998,7 +73304,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *497 examples: default: value: @@ -73063,9 +73369,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *352 - - *353 - - *494 + - *357 + - *358 + - *499 responses: '204': description: Response @@ -73087,9 +73393,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *352 - - *353 - - *494 + - *357 + - *358 + - *499 - *17 - *19 responses: @@ -73099,7 +73405,7 @@ paths: application/json: schema: type: array - items: &495 + items: &500 title: Deployment Status description: The status of a deployment. type: object @@ -73263,9 +73569,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *352 - - *353 - - *494 + - *357 + - *358 + - *499 requestBody: required: true content: @@ -73340,9 +73646,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *500 examples: - default: &496 + default: &501 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -73398,9 +73704,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *352 - - *353 - - *494 + - *357 + - *358 + - *499 - name: status_id in: path required: true @@ -73411,9 +73717,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *500 examples: - default: *496 + default: *501 '404': *6 x-github: githubCloudOnly: false @@ -73438,8 +73744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -73496,8 +73802,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -73515,7 +73821,7 @@ paths: - 5 environments: type: array - items: &498 + items: &503 title: Environment description: Details of a deployment environment type: object @@ -73577,7 +73883,7 @@ paths: type: string examples: - wait_timer - wait_timer: &500 + wait_timer: &505 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -73619,11 +73925,11 @@ paths: items: type: object properties: - type: *497 + type: *502 reviewer: anyOf: - *4 - - *272 + - *275 required: - id - node_id @@ -73646,7 +73952,7 @@ paths: - id - node_id - type - deployment_branch_policy: &501 + deployment_branch_policy: &506 type: - object - 'null' @@ -73763,9 +74069,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *352 - - *353 - - &499 + - *357 + - *358 + - &504 name: environment_name in: path required: true @@ -73778,9 +74084,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *503 examples: - default: &502 + default: &507 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -73864,9 +74170,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *352 - - *353 - - *499 + - *357 + - *358 + - *504 requestBody: required: false content: @@ -73876,7 +74182,7 @@ paths: - object - 'null' properties: - wait_timer: *500 + wait_timer: *505 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -73895,14 +74201,14 @@ paths: items: type: object properties: - type: *497 + type: *502 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *501 + deployment_branch_policy: *506 additionalProperties: false examples: default: @@ -73922,9 +74228,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *503 examples: - default: *502 + default: *507 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -73948,9 +74254,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *352 - - *353 - - *499 + - *357 + - *358 + - *504 responses: '204': description: Default response @@ -73975,9 +74281,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *352 - - *353 - - *499 + - *357 + - *358 + - *504 - *17 - *19 responses: @@ -73996,7 +74302,7 @@ paths: - 2 branch_policies: type: array - items: &503 + items: &508 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -74057,9 +74363,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *352 - - *353 - - *499 + - *357 + - *358 + - *504 requestBody: required: true content: @@ -74107,9 +74413,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *508 examples: - example-wildcard: &504 + example-wildcard: &509 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -74151,10 +74457,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *352 - - *353 - - *499 - - &505 + - *357 + - *358 + - *504 + - &510 name: branch_policy_id in: path required: true @@ -74166,9 +74472,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *508 examples: - default: *504 + default: *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74187,10 +74493,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *352 - - *353 - - *499 - - *505 + - *357 + - *358 + - *504 + - *510 requestBody: required: true content: @@ -74219,9 +74525,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *508 examples: - default: *504 + default: *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74240,10 +74546,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *352 - - *353 - - *499 - - *505 + - *357 + - *358 + - *504 + - *510 responses: '204': description: Response @@ -74268,9 +74574,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *499 - - *353 - - *352 + - *504 + - *358 + - *357 responses: '200': description: List of deployment protection rules @@ -74287,7 +74593,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &506 + items: &511 title: Deployment protection rule description: Deployment protection rule type: object @@ -74309,7 +74615,7 @@ paths: for the environment. examples: - true - app: &507 + app: &512 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -74412,9 +74718,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *499 - - *353 - - *352 + - *504 + - *358 + - *357 requestBody: content: application/json: @@ -74435,9 +74741,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *506 + schema: *511 examples: - default: &508 + default: &513 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -74472,9 +74778,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *499 - - *353 - - *352 + - *504 + - *358 + - *357 - *19 - *17 responses: @@ -74494,7 +74800,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *507 + items: *512 examples: default: value: @@ -74529,10 +74835,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *352 - - *353 - - *499 - - &509 + - *357 + - *358 + - *504 + - &514 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -74544,9 +74850,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *511 examples: - default: *508 + default: *513 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74567,10 +74873,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *499 - - *353 - - *352 - - *509 + - *504 + - *358 + - *357 + - *514 responses: '204': description: Response @@ -74596,9 +74902,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *352 - - *353 - - *499 + - *357 + - *358 + - *504 - *17 - *19 responses: @@ -74616,9 +74922,9 @@ paths: type: integer secrets: type: array - items: *389 + items: *394 examples: - default: *390 + default: *395 headers: Link: *37 x-github: @@ -74643,17 +74949,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *352 - - *353 - - *499 + - *357 + - *358 + - *504 responses: '200': description: Response content: application/json: - schema: *391 + schema: *396 examples: - default: *392 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74675,18 +74981,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *352 - - *353 - - *499 - - *197 + - *357 + - *358 + - *504 + - *200 responses: '200': description: Response content: application/json: - schema: *389 + schema: *394 examples: - default: *510 + default: *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74708,10 +75014,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *352 - - *353 - - *499 - - *197 + - *357 + - *358 + - *504 + - *200 requestBody: required: true content: @@ -74742,7 +75048,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -74768,10 +75074,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *352 - - *353 - - *499 - - *197 + - *357 + - *358 + - *504 + - *200 responses: '204': description: Default response @@ -74796,10 +75102,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *352 - - *353 - - *499 - - *376 + - *357 + - *358 + - *504 + - *381 - *19 responses: '200': @@ -74816,9 +75122,9 @@ paths: type: integer variables: type: array - items: *393 + items: *398 examples: - default: *394 + default: *399 headers: Link: *37 x-github: @@ -74841,9 +75147,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *352 - - *353 - - *499 + - *357 + - *358 + - *504 requestBody: required: true content: @@ -74870,7 +75176,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -74895,18 +75201,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *352 - - *353 - - *499 - - *200 + - *357 + - *358 + - *504 + - *203 responses: '200': description: Response content: application/json: - schema: *393 + schema: *398 examples: - default: *511 + default: *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74927,10 +75233,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *352 - - *353 - - *200 - - *499 + - *357 + - *358 + - *203 + - *504 requestBody: required: true content: @@ -74972,10 +75278,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *352 - - *353 - - *200 - - *499 + - *357 + - *358 + - *203 + - *504 responses: '204': description: Response @@ -74997,8 +75303,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -75008,7 +75314,7 @@ paths: application/json: schema: type: array - items: *156 + items: *159 examples: 200-response: value: @@ -75075,8 +75381,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *352 - - *353 + - *357 + - *358 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -75098,7 +75404,7 @@ paths: application/json: schema: type: array - items: *187 + items: *190 examples: default: value: @@ -75235,8 +75541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: false content: @@ -75269,9 +75575,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *370 examples: - default: *367 + default: *372 '400': *14 '422': *15 '403': *27 @@ -75292,8 +75598,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -75344,7 +75650,7 @@ paths: schema: type: string '404': *6 - '409': *90 + '409': *92 '403': *27 '422': description: Validation failed @@ -75352,8 +75658,8 @@ paths: application/json: schema: oneOf: - - *170 - - *512 + - *173 + - *517 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75378,8 +75684,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *352 - - *353 + - *357 + - *358 - name: file_sha in: path required: true @@ -75431,7 +75737,7 @@ paths: '404': *6 '422': *15 '403': *27 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75479,8 +75785,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -75589,7 +75895,7 @@ paths: description: Response content: application/json: - schema: &513 + schema: &518 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -75766,7 +76072,7 @@ paths: type: string '422': *15 '404': *6 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75816,15 +76122,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *352 - - *353 - - *469 + - *357 + - *358 + - *474 responses: '200': description: Response content: application/json: - schema: *513 + schema: *518 examples: default: value: @@ -75855,7 +76161,7 @@ paths: payload: verified_at: '404': *6 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75880,9 +76186,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *352 - - *353 - - &514 + - *357 + - *358 + - &519 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -75899,7 +76205,7 @@ paths: application/json: schema: type: array - items: &515 + items: &520 title: Git Reference description: Git references within a repository type: object @@ -75954,7 +76260,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: Link: *37 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75975,17 +76281,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *352 - - *353 - - *514 + - *357 + - *358 + - *519 responses: '200': description: Response content: application/json: - schema: *515 + schema: *520 examples: - default: &516 + default: &521 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -75995,7 +76301,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76014,8 +76320,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -76044,16 +76350,16 @@ paths: description: Response content: application/json: - schema: *515 + schema: *520 examples: - default: *516 + default: *521 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *15 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76072,9 +76378,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *352 - - *353 - - *514 + - *357 + - *358 + - *519 requestBody: required: true content: @@ -76103,11 +76409,11 @@ paths: description: Response content: application/json: - schema: *515 + schema: *520 examples: - default: *516 + default: *521 '422': *15 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76123,14 +76429,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *352 - - *353 - - *514 + - *357 + - *358 + - *519 responses: '204': description: Response '422': *15 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76178,8 +76484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -76246,7 +76552,7 @@ paths: description: Response content: application/json: - schema: &518 + schema: &523 title: Git Tag description: Metadata for a Git tag type: object @@ -76302,7 +76608,7 @@ paths: - sha - type - url - verification: *517 + verification: *522 required: - sha - url @@ -76312,7 +76618,7 @@ paths: - tag - message examples: - default: &519 + default: &524 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -76339,7 +76645,7 @@ paths: schema: type: string '422': *15 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76385,8 +76691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *352 - - *353 + - *357 + - *358 - name: tag_sha in: path required: true @@ -76397,11 +76703,11 @@ paths: description: Response content: application/json: - schema: *518 + schema: *523 examples: - default: *519 + default: *524 '404': *6 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76423,8 +76729,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -76498,7 +76804,7 @@ paths: description: Response content: application/json: - schema: &520 + schema: &525 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -76593,7 +76899,7 @@ paths: '422': *15 '404': *6 '403': *27 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76616,8 +76922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *352 - - *353 + - *357 + - *358 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -76640,7 +76946,7 @@ paths: description: Response content: application/json: - schema: *520 + schema: *525 examples: default-response: summary: Default response @@ -76681,7 +76987,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76699,8 +77005,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -76710,7 +77016,7 @@ paths: application/json: schema: type: array - items: &521 + items: &526 title: Webhook description: Webhooks for repositories. type: object @@ -76773,7 +77079,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &758 + last_response: &763 title: Hook Response type: object properties: @@ -76850,8 +77156,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: false content: @@ -76904,9 +77210,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *526 examples: - default: &522 + default: &527 value: type: Repository id: 12345678 @@ -76954,17 +77260,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *352 - - *353 - - *249 + - *357 + - *358 + - *252 responses: '200': description: Response content: application/json: - schema: *521 + schema: *526 examples: - default: *522 + default: *527 '404': *6 x-github: githubCloudOnly: false @@ -76984,9 +77290,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *352 - - *353 - - *249 + - *357 + - *358 + - *252 requestBody: required: true content: @@ -77031,9 +77337,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *526 examples: - default: *522 + default: *527 '422': *15 '404': *6 x-github: @@ -77054,9 +77360,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *352 - - *353 - - *249 + - *357 + - *358 + - *252 responses: '204': description: Response @@ -77080,9 +77386,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: - - *352 - - *353 - - *249 + - *357 + - *358 + - *252 responses: '200': description: Response @@ -77109,9 +77415,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: - - *352 - - *353 - - *249 + - *357 + - *358 + - *252 requestBody: required: false content: @@ -77155,11 +77461,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *352 - - *353 - - *249 + - *357 + - *358 + - *252 - *17 - - *250 + - *253 responses: '200': description: Response @@ -77167,9 +77473,9 @@ paths: application/json: schema: type: array - items: *251 + items: *254 examples: - default: *252 + default: *255 '400': *14 '422': *15 x-github: @@ -77188,18 +77494,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: - - *352 - - *353 - - *249 + - *357 + - *358 + - *252 - *16 responses: '200': description: Response content: application/json: - schema: *253 + schema: *256 examples: - default: *254 + default: *257 '400': *14 '422': *15 x-github: @@ -77218,12 +77524,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *352 - - *353 - - *249 + - *357 + - *358 + - *252 - *16 responses: - '202': *91 + '202': *93 '400': *14 '422': *15 x-github: @@ -77243,9 +77549,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *352 - - *353 - - *249 + - *357 + - *358 + - *252 responses: '204': description: Response @@ -77270,9 +77576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *352 - - *353 - - *249 + - *357 + - *358 + - *252 responses: '204': description: Response @@ -77330,14 +77636,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: &523 + schema: &528 title: Import description: A repository import from an external source. type: object @@ -77444,7 +77750,7 @@ paths: - html_url - authors_url examples: - default: &526 + default: &531 value: vcs: subversion use_lfs: true @@ -77460,7 +77766,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &524 + '503': &529 description: Unavailable due to service under maintenance. content: application/json: @@ -77489,8 +77795,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -77538,7 +77844,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *528 examples: default: value: @@ -77563,7 +77869,7 @@ paths: type: string '422': *15 '404': *6 - '503': *524 + '503': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77591,8 +77897,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: false content: @@ -77644,7 +77950,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *528 examples: example-1: summary: Example 1 @@ -77692,7 +77998,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *524 + '503': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77715,12 +78021,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Response - '503': *524 + '503': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77746,9 +78052,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *352 - - *353 - - &707 + - *357 + - *358 + - &712 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -77762,7 +78068,7 @@ paths: application/json: schema: type: array - items: &525 + items: &530 title: Porter Author description: Porter Author type: object @@ -77816,7 +78122,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *524 + '503': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77841,8 +78147,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *352 - - *353 + - *357 + - *358 - name: author_id in: path required: true @@ -77872,7 +78178,7 @@ paths: description: Response content: application/json: - schema: *525 + schema: *530 examples: default: value: @@ -77885,7 +78191,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *524 + '503': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77909,8 +78215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -77951,7 +78257,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *524 + '503': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77979,8 +78285,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -78007,11 +78313,11 @@ paths: description: Response content: application/json: - schema: *523 + schema: *528 examples: - default: *526 + default: *531 '422': *15 - '503': *524 + '503': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78034,8 +78340,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -78043,8 +78349,8 @@ paths: application/json: schema: *20 examples: - default: *527 - '301': *366 + default: *532 + '301': *371 '404': *6 x-github: githubCloudOnly: false @@ -78064,8 +78370,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -78073,12 +78379,12 @@ paths: application/json: schema: anyOf: - - *267 + - *270 - type: object properties: {} additionalProperties: false examples: - default: &529 + default: &534 value: limit: collaborators_only origin: repository @@ -78103,13 +78409,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: application/json: - schema: *528 + schema: *533 examples: default: summary: Example request body @@ -78121,9 +78427,9 @@ paths: description: Response content: application/json: - schema: *267 + schema: *270 examples: - default: *529 + default: *534 '409': description: Response x-github: @@ -78145,8 +78451,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Response @@ -78169,8 +78475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -78180,9 +78486,9 @@ paths: application/json: schema: type: array - items: *530 + items: *535 examples: - default: &700 + default: &705 value: - id: 1 repository: @@ -78313,9 +78619,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *352 - - *353 - - *271 + - *357 + - *358 + - *274 requestBody: required: false content: @@ -78344,7 +78650,7 @@ paths: description: Response content: application/json: - schema: *530 + schema: *535 examples: default: value: @@ -78475,9 +78781,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *352 - - *353 - - *271 + - *357 + - *358 + - *274 responses: '204': description: Response @@ -78508,8 +78814,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *352 - - *353 + - *357 + - *358 - 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 @@ -78549,7 +78855,7 @@ paths: required: false schema: type: string - - *273 + - *276 - name: sort description: What to sort results by. in: query @@ -78561,8 +78867,8 @@ paths: - updated - comments default: created - - *82 - - *135 + - *84 + - *138 - *17 - *19 responses: @@ -78572,9 +78878,9 @@ paths: application/json: schema: type: array - items: *145 + items: *148 examples: - default: &539 + default: &544 value: - id: 1 node_id: MDU6SXNzdWUx @@ -78722,7 +79028,7 @@ paths: state_reason: completed headers: Link: *37 - '301': *366 + '301': *371 '422': *15 '404': *6 x-github: @@ -78751,8 +79057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -78833,9 +79139,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: &534 + default: &539 value: id: 1 node_id: MDU6SXNzdWUx @@ -78989,9 +79295,9 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *125 + '503': *128 '404': *6 - '410': *363 + '410': *368 x-github: triggersNotification: true githubCloudOnly: false @@ -79019,9 +79325,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *352 - - *353 - - *154 + - *357 + - *358 + - *157 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -79031,7 +79337,7 @@ paths: enum: - asc - desc - - *135 + - *138 - *17 - *19 responses: @@ -79041,9 +79347,9 @@ paths: application/json: schema: type: array - items: *531 + items: *536 examples: - default: &536 + default: &541 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -79101,17 +79407,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *352 - - *353 - - *144 + - *357 + - *358 + - *147 responses: '200': description: Response content: application/json: - schema: *531 + schema: *536 examples: - default: &532 + default: &537 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -79165,9 +79471,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *352 - - *353 - - *144 + - *357 + - *358 + - *147 requestBody: required: true content: @@ -79189,9 +79495,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *536 examples: - default: *532 + default: *537 '422': *15 x-github: githubCloudOnly: false @@ -79209,9 +79515,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *352 - - *353 - - *144 + - *357 + - *358 + - *147 responses: '204': description: Response @@ -79231,9 +79537,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *352 - - *353 - - *144 + - *357 + - *358 + - *147 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -79259,9 +79565,9 @@ paths: application/json: schema: type: array - items: *341 + items: *346 examples: - default: *343 + default: *348 headers: Link: *37 '404': *6 @@ -79282,9 +79588,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *352 - - *353 - - *144 + - *357 + - *358 + - *147 requestBody: required: true content: @@ -79316,16 +79622,16 @@ paths: description: Reaction exists content: application/json: - schema: *341 + schema: *346 examples: - default: *342 + default: *347 '201': description: Reaction created content: application/json: - schema: *341 + schema: *346 examples: - default: *342 + default: *347 '422': *15 x-github: githubCloudOnly: false @@ -79347,10 +79653,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *352 - - *353 - - *144 - - *344 + - *357 + - *358 + - *147 + - *349 responses: '204': description: Response @@ -79370,8 +79676,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -79381,7 +79687,7 @@ paths: application/json: schema: type: array - items: &533 + items: &538 title: Issue Event description: Issue Event type: object @@ -79428,7 +79734,7 @@ paths: issue: anyOf: - type: 'null' - - *145 + - *148 label: title: Issue Event Label description: Issue Event Label @@ -79461,7 +79767,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *272 + requested_team: *275 dismissed_review: title: Issue Event Dismissed Review type: object @@ -79528,7 +79834,7 @@ paths: required: - from - to - author_association: *132 + author_association: *135 lock_reason: type: - string @@ -79720,8 +80026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *352 - - *353 + - *357 + - *358 - name: event_id in: path required: true @@ -79732,7 +80038,7 @@ paths: description: Response content: application/json: - schema: *533 + schema: *538 examples: default: value: @@ -79925,7 +80231,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *363 + '410': *368 '403': *27 x-github: githubCloudOnly: false @@ -79959,9 +80265,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *352 - - *353 - - &535 + - *357 + - *358 + - &540 name: issue_number description: The number that identifies the issue. in: path @@ -79973,12 +80279,12 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *534 - '301': *366 + default: *539 + '301': *371 '404': *6 - '410': *363 + '410': *368 '304': *35 x-github: githubCloudOnly: false @@ -80003,9 +80309,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 requestBody: required: false content: @@ -80113,15 +80419,15 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *534 + default: *539 '422': *15 - '503': *125 + '503': *128 '403': *27 - '301': *366 + '301': *371 '404': *6 - '410': *363 + '410': *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80139,9 +80445,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 requestBody: required: false content: @@ -80167,9 +80473,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *534 + default: *539 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80185,9 +80491,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 requestBody: content: application/json: @@ -80212,9 +80518,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *534 + default: *539 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80236,9 +80542,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 - name: assignee in: path required: true @@ -80278,10 +80584,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *352 - - *353 - - *535 - - *135 + - *357 + - *358 + - *540 + - *138 - *17 - *19 responses: @@ -80291,13 +80597,13 @@ paths: application/json: schema: type: array - items: *531 + items: *536 examples: - default: *536 + default: *541 headers: Link: *37 '404': *6 - '410': *363 + '410': *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80326,9 +80632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 requestBody: required: true content: @@ -80350,16 +80656,16 @@ paths: description: Response content: application/json: - schema: *531 + schema: *536 examples: - default: *532 + default: *537 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *363 + '410': *368 '422': *15 '404': *6 x-github: @@ -80379,9 +80685,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 - *17 - *19 responses: @@ -80395,7 +80701,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &540 + - &545 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -80444,7 +80750,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &541 + - &546 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -80572,7 +80878,7 @@ paths: - performed_via_github_app - assignee - assigner - - &542 + - &547 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -80618,7 +80924,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &543 + - &548 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -80664,7 +80970,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &549 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -80713,7 +81019,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &545 + - &550 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -80742,7 +81048,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *272 + requested_team: *275 requested_reviewer: *4 required: - review_requester @@ -80755,7 +81061,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &546 + - &551 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -80784,7 +81090,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *272 + requested_team: *275 requested_reviewer: *4 required: - review_requester @@ -80797,7 +81103,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &547 + - &552 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -80853,7 +81159,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &548 + - &553 title: Locked Issue Event description: Locked Issue Event type: object @@ -80898,7 +81204,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &549 + - &554 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -80959,7 +81265,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &550 + - &555 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -81020,7 +81326,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &551 + - &556 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -81081,7 +81387,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &552 + - &557 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -81174,7 +81480,7 @@ paths: color: red headers: Link: *37 - '410': *363 + '410': *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81191,9 +81497,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 - *17 - *19 responses: @@ -81203,7 +81509,7 @@ paths: application/json: schema: type: array - items: &537 + items: &542 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -81258,7 +81564,7 @@ paths: - color - default examples: - default: &538 + default: &543 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -81276,9 +81582,9 @@ paths: default: false headers: Link: *37 - '301': *366 + '301': *371 '404': *6 - '410': *363 + '410': *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81295,9 +81601,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 requestBody: required: false content: @@ -81356,12 +81662,12 @@ paths: application/json: schema: type: array - items: *537 + items: *542 examples: - default: *538 - '301': *366 + default: *543 + '301': *371 '404': *6 - '410': *363 + '410': *368 '422': *15 x-github: githubCloudOnly: false @@ -81378,9 +81684,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 requestBody: required: false content: @@ -81440,12 +81746,12 @@ paths: application/json: schema: type: array - items: *537 + items: *542 examples: - default: *538 - '301': *366 + default: *543 + '301': *371 '404': *6 - '410': *363 + '410': *368 '422': *15 x-github: githubCloudOnly: false @@ -81462,15 +81768,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 responses: '204': description: Response - '301': *366 + '301': *371 '404': *6 - '410': *363 + '410': *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81489,9 +81795,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 - name: name in: path required: true @@ -81504,7 +81810,7 @@ paths: application/json: schema: type: array - items: *537 + items: *542 examples: default: value: @@ -81515,9 +81821,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *366 + '301': *371 '404': *6 - '410': *363 + '410': *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81537,9 +81843,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 requestBody: required: false content: @@ -81568,7 +81874,7 @@ paths: '204': description: Response '403': *27 - '410': *363 + '410': *368 '404': *6 '422': *15 x-github: @@ -81586,9 +81892,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 responses: '204': description: Response @@ -81610,9 +81916,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -81638,13 +81944,13 @@ paths: application/json: schema: type: array - items: *341 + items: *346 examples: - default: *343 + default: *348 headers: Link: *37 '404': *6 - '410': *363 + '410': *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81662,9 +81968,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 requestBody: required: true content: @@ -81696,20 +82002,20 @@ paths: description: Response content: application/json: - schema: *341 + schema: *346 examples: - default: *342 + default: *347 '201': description: Response content: application/json: - schema: *341 + schema: *346 examples: - default: *342 + default: *347 '422': *15 x-github: githubCloudOnly: false - enabledForGitHubApps: false + enabledForGitHubApps: true category: reactions subcategory: reactions "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": @@ -81727,10 +82033,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *352 - - *353 - - *535 - - *344 + - *357 + - *358 + - *540 + - *349 responses: '204': description: Response @@ -81759,9 +82065,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 requestBody: required: true content: @@ -81783,9 +82089,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *534 + default: *539 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -81818,9 +82124,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 - *17 - *19 responses: @@ -81830,13 +82136,13 @@ paths: application/json: schema: type: array - items: *145 + items: *148 examples: - default: *539 + default: *544 headers: Link: *37 '404': *6 - '410': *363 + '410': *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81864,9 +82170,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 requestBody: required: true content: @@ -81893,16 +82199,16 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *534 + default: *539 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *363 + '410': *368 '422': *15 '404': *6 x-github: @@ -81922,9 +82228,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 requestBody: required: true content: @@ -81955,13 +82261,13 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *534 + default: *539 '403': *27 '404': *6 '422': *7 - '503': *125 + '503': *128 x-github: triggersNotification: true githubCloudOnly: false @@ -81979,9 +82285,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 - *17 - *19 responses: @@ -81996,11 +82302,6 @@ paths: description: Timeline Event type: object anyOf: - - *540 - - *541 - - *542 - - *543 - - *544 - *545 - *546 - *547 @@ -82009,6 +82310,11 @@ paths: - *550 - *551 - *552 + - *553 + - *554 + - *555 + - *556 + - *557 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -82056,12 +82362,12 @@ paths: issue_url: type: string format: uri - author_association: *132 + author_association: *135 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *133 + reactions: *136 required: - event - actor @@ -82092,7 +82398,7 @@ paths: properties: type: type: string - issue: *145 + issue: *148 required: - event - created_at @@ -82309,7 +82615,7 @@ paths: type: string body_text: type: string - author_association: *132 + author_association: *135 required: - event - id @@ -82332,7 +82638,7 @@ paths: type: string comments: type: array - items: &572 + items: &577 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -82437,7 +82743,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *132 + author_association: *135 _links: type: object properties: @@ -82532,7 +82838,7 @@ paths: enum: - line - file - reactions: *133 + reactions: *136 body_html: type: string examples: @@ -82570,7 +82876,7 @@ paths: type: string comments: type: array - items: *467 + items: *472 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -82845,7 +83151,7 @@ paths: headers: Link: *37 '404': *6 - '410': *363 + '410': *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82862,8 +83168,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -82873,7 +83179,7 @@ paths: application/json: schema: type: array - items: &553 + items: &558 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -82940,8 +83246,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -82977,9 +83283,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *558 examples: - default: &554 + default: &559 value: id: 1 key: ssh-rsa AAA... @@ -83013,9 +83319,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *352 - - *353 - - &555 + - *357 + - *358 + - &560 name: key_id description: The unique identifier of the key. in: path @@ -83027,9 +83333,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *558 examples: - default: *554 + default: *559 '404': *6 x-github: githubCloudOnly: false @@ -83047,9 +83353,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *352 - - *353 - - *555 + - *357 + - *358 + - *560 responses: '204': description: Response @@ -83069,8 +83375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -83080,9 +83386,9 @@ paths: application/json: schema: type: array - items: *537 + items: *542 examples: - default: *538 + default: *543 headers: Link: *37 '404': *6 @@ -83103,8 +83409,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -83140,9 +83446,9 @@ paths: description: Response content: application/json: - schema: *537 + schema: *542 examples: - default: &556 + default: &561 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -83174,8 +83480,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *352 - - *353 + - *357 + - *358 - name: name in: path required: true @@ -83186,9 +83492,9 @@ paths: description: Response content: application/json: - schema: *537 + schema: *542 examples: - default: *556 + default: *561 '404': *6 x-github: githubCloudOnly: false @@ -83205,8 +83511,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *352 - - *353 + - *357 + - *358 - name: name in: path required: true @@ -83245,7 +83551,7 @@ paths: description: Response content: application/json: - schema: *537 + schema: *542 examples: default: value: @@ -83271,8 +83577,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *352 - - *353 + - *357 + - *358 - name: name in: path required: true @@ -83298,8 +83604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -83335,10 +83641,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *352 - - *353 + - *357 + - *358 responses: - '202': *91 + '202': *93 '403': description: |- We will return a 403 with one of the following messages: @@ -83364,8 +83670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Response @@ -83391,9 +83697,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *352 - - *353 - - *445 + - *357 + - *358 + - *450 responses: '200': description: Response @@ -83459,7 +83765,7 @@ paths: license: anyOf: - type: 'null' - - *146 + - *149 required: - _links - git_url @@ -83540,8 +83846,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: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -83606,8 +83912,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -83641,9 +83947,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *468 + schema: *473 examples: - default: *557 + default: *562 '204': description: Response when already merged '404': @@ -83668,8 +83974,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *352 - - *353 + - *357 + - *358 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -83710,7 +84016,7 @@ paths: application/json: schema: type: array - items: *472 + items: *477 examples: default: value: @@ -83766,8 +84072,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -83807,9 +84113,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *477 examples: - default: &558 + default: &563 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -83868,9 +84174,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *352 - - *353 - - &559 + - *357 + - *358 + - &564 name: milestone_number description: The number that identifies the milestone. in: path @@ -83882,9 +84188,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *477 examples: - default: *558 + default: *563 '404': *6 x-github: githubCloudOnly: false @@ -83901,9 +84207,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *352 - - *353 - - *559 + - *357 + - *358 + - *564 requestBody: required: false content: @@ -83941,9 +84247,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *477 examples: - default: *558 + default: *563 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83959,9 +84265,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *352 - - *353 - - *559 + - *357 + - *358 + - *564 responses: '204': description: Response @@ -83982,9 +84288,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *352 - - *353 - - *559 + - *357 + - *358 + - *564 - *17 - *19 responses: @@ -83994,9 +84300,9 @@ paths: application/json: schema: type: array - items: *537 + items: *542 examples: - default: *538 + default: *543 headers: Link: *37 x-github: @@ -84015,12 +84321,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *352 - - *353 - - *560 - - *561 - - *135 - - *562 + - *357 + - *358 + - *565 + - *566 + - *138 + - *567 - *17 - *19 responses: @@ -84030,9 +84336,9 @@ paths: application/json: schema: type: array - items: *157 + items: *160 examples: - default: *563 + default: *568 headers: Link: *37 x-github: @@ -84056,8 +84362,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: false content: @@ -84115,14 +84421,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: &564 + schema: &569 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -84266,7 +84572,7 @@ paths: - custom_404 - public examples: - default: &565 + default: &570 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -84307,8 +84613,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -84363,11 +84669,11 @@ paths: description: Response content: application/json: - schema: *564 + schema: *569 examples: - default: *565 + default: *570 '422': *15 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84388,8 +84694,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: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -84476,7 +84782,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84497,14 +84803,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Response '422': *15 '404': *6 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84524,8 +84830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -84535,7 +84841,7 @@ paths: application/json: schema: type: array - items: &566 + items: &571 title: Page Build description: Page Build type: object @@ -84627,8 +84933,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *352 - - *353 + - *357 + - *358 responses: '201': description: Response @@ -84675,16 +84981,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *566 + schema: *571 examples: - default: &567 + default: &572 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -84732,8 +85038,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *352 - - *353 + - *357 + - *358 - name: build_id in: path required: true @@ -84744,9 +85050,9 @@ paths: description: Response content: application/json: - schema: *566 + schema: *571 examples: - default: *567 + default: *572 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84766,8 +85072,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -84875,9 +85181,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *352 - - *353 - - &568 + - *357 + - *358 + - &573 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -84935,11 +85241,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *352 - - *353 - - *568 + - *357 + - *358 + - *573 responses: - '204': *112 + '204': *114 '404': *6 x-github: githubCloudOnly: false @@ -84964,8 +85270,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -85233,7 +85539,7 @@ paths: description: Empty response content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -85260,8 +85566,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Private vulnerability reporting status @@ -85298,10 +85604,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *352 - - *353 + - *357 + - *358 responses: - '204': *112 + '204': *114 '422': *14 x-github: githubCloudOnly: false @@ -85320,10 +85626,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *352 - - *353 + - *357 + - *358 responses: - '204': *112 + '204': *114 '422': *14 x-github: githubCloudOnly: false @@ -85344,8 +85650,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *352 - - *353 + - *357 + - *358 - name: state description: Indicates the state of the projects to return. in: query @@ -85366,7 +85672,7 @@ paths: application/json: schema: type: array - items: *302 + items: *305 examples: default: value: @@ -85406,7 +85712,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *363 + '410': *368 '422': *7 x-github: githubCloudOnly: false @@ -85429,8 +85735,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -85456,13 +85762,13 @@ paths: description: Response content: application/json: - schema: *302 + schema: *305 examples: - default: *362 + default: *367 '401': *23 '403': *27 '404': *6 - '410': *363 + '410': *368 '422': *7 x-github: githubCloudOnly: false @@ -85485,8 +85791,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -85494,7 +85800,7 @@ paths: application/json: schema: type: array - items: *304 + items: *307 examples: default: value: @@ -85525,8 +85831,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: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -85538,7 +85844,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *304 + items: *307 required: - properties examples: @@ -85588,8 +85894,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *352 - - *353 + - *357 + - *358 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -85649,9 +85955,9 @@ paths: application/json: schema: type: array - items: *569 + items: *574 examples: - default: *570 + default: *575 headers: Link: *37 '304': *35 @@ -85683,8 +85989,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -85751,7 +86057,7 @@ paths: description: Response content: application/json: - schema: &574 + schema: &579 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -85880,7 +86186,7 @@ paths: milestone: anyOf: - type: 'null' - - *472 + - *477 active_lock_reason: type: - string @@ -85935,7 +86241,7 @@ paths: type: - array - 'null' - items: *285 + items: *288 head: type: object properties: @@ -85973,14 +86279,14 @@ paths: _links: type: object properties: - comments: *473 - commits: *473 - statuses: *473 - html: *473 - issue: *473 - review_comments: *473 - review_comment: *473 - self: *473 + comments: *478 + commits: *478 + statuses: *478 + html: *478 + issue: *478 + review_comments: *478 + review_comment: *478 + self: *478 required: - comments - commits @@ -85990,8 +86296,8 @@ paths: - review_comments - review_comment - self - author_association: *132 - auto_merge: *571 + author_association: *135 + auto_merge: *576 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -86093,7 +86399,7 @@ paths: - merged_by - review_comments examples: - default: &575 + default: &580 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -86620,8 +86926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *352 - - *353 + - *357 + - *358 - name: sort in: query required: false @@ -86640,7 +86946,7 @@ paths: enum: - asc - desc - - *135 + - *138 - *17 - *19 responses: @@ -86650,9 +86956,9 @@ paths: application/json: schema: type: array - items: *572 + items: *577 examples: - default: &577 + default: &582 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86729,17 +87035,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *352 - - *353 - - *144 + - *357 + - *358 + - *147 responses: '200': description: Response content: application/json: - schema: *572 + schema: *577 examples: - default: &573 + default: &578 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86814,9 +87120,9 @@ 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: - - *352 - - *353 - - *144 + - *357 + - *358 + - *147 requestBody: required: true content: @@ -86838,9 +87144,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *577 examples: - default: *573 + default: *578 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86856,9 +87162,9 @@ 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: - - *352 - - *353 - - *144 + - *357 + - *358 + - *147 responses: '204': description: Response @@ -86879,9 +87185,9 @@ 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: - - *352 - - *353 - - *144 + - *357 + - *358 + - *147 - 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 pull request review comment. @@ -86907,9 +87213,9 @@ paths: application/json: schema: type: array - items: *341 + items: *346 examples: - default: *343 + default: *348 headers: Link: *37 '404': *6 @@ -86930,9 +87236,9 @@ 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: - - *352 - - *353 - - *144 + - *357 + - *358 + - *147 requestBody: required: true content: @@ -86964,16 +87270,16 @@ paths: description: Reaction exists content: application/json: - schema: *341 + schema: *346 examples: - default: *342 + default: *347 '201': description: Reaction created content: application/json: - schema: *341 + schema: *346 examples: - default: *342 + default: *347 '422': *15 x-github: githubCloudOnly: false @@ -86995,10 +87301,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *352 - - *353 - - *144 - - *344 + - *357 + - *358 + - *147 + - *349 responses: '204': description: Response @@ -87041,9 +87347,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *352 - - *353 - - &576 + - *357 + - *358 + - &581 name: pull_number description: The number that identifies the pull request. in: path @@ -87056,9 +87362,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *574 + schema: *579 examples: - default: *575 + default: *580 '304': *35 '404': *6 '406': @@ -87066,8 +87372,8 @@ paths: content: application/json: schema: *3 - '500': *93 - '503': *125 + '500': *95 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87093,9 +87399,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *352 - - *353 - - *576 + - *357 + - *358 + - *581 requestBody: required: false content: @@ -87137,9 +87443,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *579 examples: - default: *575 + default: *580 '422': *15 '403': *27 x-github: @@ -87161,9 +87467,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *352 - - *353 - - *576 + - *357 + - *358 + - *581 requestBody: required: true content: @@ -87224,21 +87530,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *276 + schema: *279 examples: - default: *459 + default: *464 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *276 + schema: *279 examples: - default: *459 + default: *464 '401': *23 '403': *27 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -87264,10 +87570,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *352 - - *353 - - *576 - - *154 + - *357 + - *358 + - *581 + - *157 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -87277,7 +87583,7 @@ paths: enum: - asc - desc - - *135 + - *138 - *17 - *19 responses: @@ -87287,9 +87593,9 @@ paths: application/json: schema: type: array - items: *572 + items: *577 examples: - default: *577 + default: *582 headers: Link: *37 x-github: @@ -87322,9 +87628,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *352 - - *353 - - *576 + - *357 + - *358 + - *581 requestBody: required: true content: @@ -87430,7 +87736,7 @@ paths: description: Response content: application/json: - schema: *572 + schema: *577 examples: example-for-a-multi-line-comment: value: @@ -87518,10 +87824,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *352 - - *353 - - *576 - - *144 + - *357 + - *358 + - *581 + - *147 requestBody: required: true content: @@ -87543,7 +87849,7 @@ paths: description: Response content: application/json: - schema: *572 + schema: *577 examples: default: value: @@ -87629,9 +87935,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *352 - - *353 - - *576 + - *357 + - *358 + - *581 - *17 - *19 responses: @@ -87641,9 +87947,9 @@ paths: application/json: schema: type: array - items: *468 + items: *473 examples: - default: *578 + default: *583 headers: Link: *37 x-github: @@ -87673,9 +87979,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *352 - - *353 - - *576 + - *357 + - *358 + - *581 - *17 - *19 responses: @@ -87685,7 +87991,7 @@ paths: application/json: schema: type: array - items: *480 + items: *485 examples: default: value: @@ -87703,8 +88009,8 @@ paths: headers: Link: *37 '422': *15 - '500': *93 - '503': *125 + '500': *95 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87723,9 +88029,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *352 - - *353 - - *576 + - *357 + - *358 + - *581 responses: '204': description: Response if pull request has been merged @@ -87748,9 +88054,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *352 - - *353 - - *576 + - *357 + - *358 + - *581 requestBody: required: false content: @@ -87862,9 +88168,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *352 - - *353 - - *576 + - *357 + - *358 + - *581 responses: '200': description: Response @@ -87880,7 +88186,7 @@ paths: items: *4 teams: type: array - items: *272 + items: *275 required: - users - teams @@ -87939,9 +88245,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *352 - - *353 - - *576 + - *357 + - *358 + - *581 requestBody: required: false content: @@ -87978,7 +88284,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *574 examples: default: value: @@ -88514,9 +88820,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *352 - - *353 - - *576 + - *357 + - *358 + - *581 requestBody: required: true content: @@ -88550,7 +88856,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *574 examples: default: value: @@ -89055,9 +89361,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *352 - - *353 - - *576 + - *357 + - *358 + - *581 - *17 - *19 responses: @@ -89067,7 +89373,7 @@ paths: application/json: schema: type: array - items: &579 + items: &584 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -89141,7 +89447,7 @@ paths: type: string body_text: type: string - author_association: *132 + author_association: *135 required: - id - node_id @@ -89223,9 +89529,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *352 - - *353 - - *576 + - *357 + - *358 + - *581 requestBody: required: false content: @@ -89315,9 +89621,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *584 examples: - default: &581 + default: &586 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -89380,10 +89686,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *352 - - *353 - - *576 - - &580 + - *357 + - *358 + - *581 + - &585 name: review_id description: The unique identifier of the review. in: path @@ -89395,9 +89701,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *584 examples: - default: &582 + default: &587 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -89456,10 +89762,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *352 - - *353 - - *576 - - *580 + - *357 + - *358 + - *581 + - *585 requestBody: required: true content: @@ -89482,7 +89788,7 @@ paths: description: Response content: application/json: - schema: *579 + schema: *584 examples: default: value: @@ -89544,18 +89850,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *352 - - *353 - - *576 - - *580 + - *357 + - *358 + - *581 + - *585 responses: '200': description: Response content: application/json: - schema: *579 + schema: *584 examples: - default: *581 + default: *586 '422': *7 '404': *6 x-github: @@ -89582,10 +89888,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *352 - - *353 - - *576 - - *580 + - *357 + - *358 + - *581 + - *585 - *17 - *19 responses: @@ -89679,13 +89985,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *132 + author_association: *135 _links: type: object properties: - self: *473 - html: *473 - pull_request: *473 + self: *478 + html: *478 + pull_request: *478 required: - self - html @@ -89694,7 +90000,7 @@ paths: type: string body_html: type: string - reactions: *133 + reactions: *136 side: description: The side of the first line of the range for a multi-line comment. @@ -89836,10 +90142,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *352 - - *353 - - *576 - - *580 + - *357 + - *358 + - *581 + - *585 requestBody: required: true content: @@ -89868,7 +90174,7 @@ paths: description: Response content: application/json: - schema: *579 + schema: *584 examples: default: value: @@ -89931,10 +90237,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *352 - - *353 - - *576 - - *580 + - *357 + - *358 + - *581 + - *585 requestBody: required: true content: @@ -89969,9 +90275,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *584 examples: - default: *582 + default: *587 '404': *6 '422': *7 '403': *27 @@ -89993,9 +90299,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *352 - - *353 - - *576 + - *357 + - *358 + - *581 requestBody: required: false content: @@ -90059,8 +90365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *352 - - *353 + - *357 + - *358 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -90073,9 +90379,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *588 examples: - default: &584 + default: &589 value: type: file encoding: base64 @@ -90117,8 +90423,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: - - *352 - - *353 + - *357 + - *358 - name: dir description: The alternate path to look for a README file in: path @@ -90138,9 +90444,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *588 examples: - default: *584 + default: *589 '404': *6 '422': *15 x-github: @@ -90162,8 +90468,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -90173,7 +90479,7 @@ paths: application/json: schema: type: array - items: &585 + items: &590 title: Release description: A release. type: object @@ -90245,7 +90551,7 @@ paths: author: *4 assets: type: array - items: &586 + items: &591 title: Release Asset description: Data related to a release. type: object @@ -90315,7 +90621,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *133 + reactions: *136 required: - assets_url - upload_url @@ -90425,8 +90731,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -90502,9 +90808,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *590 examples: - default: &589 + default: &594 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -90607,9 +90913,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *352 - - *353 - - &587 + - *357 + - *358 + - &592 name: asset_id description: The unique identifier of the asset. in: path @@ -90621,9 +90927,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *591 examples: - default: &588 + default: &593 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -90657,7 +90963,7 @@ paths: type: User site_admin: false '404': *6 - '302': *482 + '302': *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90673,9 +90979,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *352 - - *353 - - *587 + - *357 + - *358 + - *592 requestBody: required: false content: @@ -90704,9 +91010,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *591 examples: - default: *588 + default: *593 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90722,9 +91028,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *352 - - *353 - - *587 + - *357 + - *358 + - *592 responses: '204': description: Response @@ -90748,8 +91054,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: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -90835,16 +91141,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *585 + schema: *590 examples: - default: *589 + default: *594 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90861,8 +91167,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *352 - - *353 + - *357 + - *358 - name: tag description: tag parameter in: path @@ -90875,9 +91181,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *590 examples: - default: *589 + default: *594 '404': *6 x-github: githubCloudOnly: false @@ -90899,9 +91205,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *352 - - *353 - - &590 + - *357 + - *358 + - &595 name: release_id description: The unique identifier of the release. in: path @@ -90915,9 +91221,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *585 + schema: *590 examples: - default: *589 + default: *594 '401': description: Unauthorized x-github: @@ -90935,9 +91241,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *352 - - *353 - - *590 + - *357 + - *358 + - *595 requestBody: required: false content: @@ -91001,9 +91307,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *590 examples: - default: *589 + default: *594 '404': description: Not Found if the discussion category name is invalid content: @@ -91024,9 +91330,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *352 - - *353 - - *590 + - *357 + - *358 + - *595 responses: '204': description: Response @@ -91046,9 +91352,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *352 - - *353 - - *590 + - *357 + - *358 + - *595 - *17 - *19 responses: @@ -91058,7 +91364,7 @@ paths: application/json: schema: type: array - items: *586 + items: *591 examples: default: value: @@ -91139,9 +91445,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *352 - - *353 - - *590 + - *357 + - *358 + - *595 - name: name in: query required: true @@ -91167,7 +91473,7 @@ paths: description: Response for successful upload content: application/json: - schema: *586 + schema: *591 examples: response-for-successful-upload: value: @@ -91221,9 +91527,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *352 - - *353 - - *590 + - *357 + - *358 + - *595 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -91247,9 +91553,9 @@ paths: application/json: schema: type: array - items: *341 + items: *346 examples: - default: *343 + default: *348 headers: Link: *37 '404': *6 @@ -91270,9 +91576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *352 - - *353 - - *590 + - *357 + - *358 + - *595 requestBody: required: true content: @@ -91302,16 +91608,16 @@ paths: description: Reaction exists content: application/json: - schema: *341 + schema: *346 examples: - default: *342 + default: *347 '201': description: Reaction created content: application/json: - schema: *341 + schema: *346 examples: - default: *342 + default: *347 '422': *15 x-github: githubCloudOnly: false @@ -91333,10 +91639,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *352 - - *353 - - *590 - - *344 + - *357 + - *358 + - *595 + - *349 responses: '204': description: Response @@ -91360,9 +91666,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 - *17 - *19 responses: @@ -91378,8 +91684,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *591 - - &593 + - *596 + - &598 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -91398,54 +91704,54 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *592 - - *593 - - allOf: - - *594 - - *593 - - allOf: - - *595 - - *593 - - allOf: - - *596 - - *593 - allOf: - *597 - - *593 - - allOf: - *598 - - *593 - allOf: - *599 - - *593 + - *598 - allOf: - *600 - - *593 + - *598 - allOf: - *601 - - *593 + - *598 - allOf: - *602 - - *593 + - *598 - allOf: - *603 - - *593 + - *598 - allOf: - *604 - - *593 + - *598 - allOf: - *605 - - *593 + - *598 - allOf: - *606 - - *593 + - *598 - allOf: - *607 - - *593 + - *598 - allOf: - *608 - - *593 + - *598 + - allOf: + - *609 + - *598 + - allOf: + - *610 + - *598 + - allOf: + - *611 + - *598 + - allOf: + - *612 + - *598 + - allOf: + - *613 + - *598 examples: default: value: @@ -91484,8 +91790,8 @@ paths: category: repos subcategory: rules parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 - name: includes_parents @@ -91496,7 +91802,7 @@ paths: schema: type: boolean default: true - - *609 + - *614 responses: '200': description: Response @@ -91504,7 +91810,7 @@ paths: application/json: schema: type: array - items: *122 + items: *124 examples: default: value: @@ -91535,7 +91841,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *93 + '500': *95 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -91551,8 +91857,8 @@ paths: category: repos subcategory: rules parameters: - - *352 - - *353 + - *357 + - *358 requestBody: description: Request body required: true @@ -91572,16 +91878,16 @@ paths: - tag - push default: branch - enforcement: *119 + enforcement: *121 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *120 - conditions: *115 + items: *122 + conditions: *117 rules: type: array description: An array of rules within the ruleset. - items: *121 + items: *123 required: - name - enforcement @@ -91612,9 +91918,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *124 examples: - default: &618 + default: &623 value: id: 42 name: super cool ruleset @@ -91647,7 +91953,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *93 + '500': *95 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -91661,12 +91967,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *352 - - *353 - - *610 - - *212 - - *611 - - *612 + - *357 + - *358 + - *615 + - *215 + - *616 + - *617 - *17 - *19 responses: @@ -91674,11 +91980,11 @@ paths: description: Response content: application/json: - schema: *613 + schema: *618 examples: - default: *614 + default: *619 '404': *6 - '500': *93 + '500': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91697,19 +92003,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *352 - - *353 - - *615 + - *357 + - *358 + - *620 responses: '200': description: Response content: application/json: - schema: *616 + schema: *621 examples: - default: *617 + default: *622 '404': *6 - '500': *93 + '500': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91735,8 +92041,8 @@ paths: category: repos subcategory: rules parameters: - - *352 - - *353 + - *357 + - *358 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91756,11 +92062,11 @@ paths: description: Response content: application/json: - schema: *122 + schema: *124 examples: - default: *618 + default: *623 '404': *6 - '500': *93 + '500': *95 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -91776,8 +92082,8 @@ paths: category: repos subcategory: rules parameters: - - *352 - - *353 + - *357 + - *358 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91802,16 +92108,16 @@ paths: - branch - tag - push - enforcement: *119 + enforcement: *121 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *120 - conditions: *115 + items: *122 + conditions: *117 rules: description: An array of rules within the ruleset. type: array - items: *121 + items: *123 examples: default: value: @@ -91839,11 +92145,11 @@ paths: description: Response content: application/json: - schema: *122 + schema: *124 examples: - default: *618 + default: *623 '404': *6 - '500': *93 + '500': *95 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -91859,8 +92165,8 @@ paths: category: repos subcategory: rules parameters: - - *352 - - *353 + - *357 + - *358 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91871,7 +92177,114 @@ paths: '204': description: Response '404': *6 - '500': *93 + '500': *95 + "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": + get: + summary: Get repository ruleset history + description: Get the history of a repository ruleset. + tags: + - repos + operationId: repos/get-repo-ruleset-history + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history + parameters: + - *357 + - *358 + - *17 + - *19 + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *127 + examples: + default: *314 + '404': *6 + '500': *95 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: rules + "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}": + get: + summary: Get repository ruleset version + description: Get a version of a repository ruleset. + tags: + - repos + operationId: repos/get-repo-ruleset-version + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version + parameters: + - *357 + - *358 + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + - name: version_id + description: The ID of the version + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: *315 + examples: + default: + value: + - version_id: 3 + actor: + id: 1 + type: User + updated_at: 2024-010-23T16:29:47Z + state: + id: 42 + name: super cool ruleset + target: branch + source_type: Repository + source: monalisa/my-repo + enforcement: active + bypass_actors: + - actor_id: 234 + actor_type: Team + bypass_mode: always + conditions: + ref_name: + include: + - refs/heads/main + - refs/heads/master + exclude: + - refs/heads/dev* + rules: + - type: commit_author_email_pattern + parameters: + operator: contains + pattern: github + '404': *6 + '500': *95 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: rules "/repos/{owner}/{repo}/secret-scanning/alerts": get: summary: List secret scanning alerts for a repository @@ -91888,20 +92301,20 @@ 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: - - *352 - - *353 - - *311 - - *312 - - *313 - - *314 - - *82 - - *19 - - *17 - - *619 - - *620 - - *315 + - *357 + - *358 - *316 - *317 + - *318 + - *319 + - *84 + - *19 + - *17 + - *624 + - *625 + - *320 + - *321 + - *322 responses: '200': description: Response @@ -91909,24 +92322,24 @@ paths: application/json: schema: type: array - items: &623 + items: &628 type: object properties: - number: *94 - created_at: *101 + number: *96 + created_at: *103 updated_at: anyOf: - type: 'null' - - *102 - url: *99 - html_url: *100 + - *104 + url: *101 + html_url: *102 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *621 - resolution: *622 + state: *626 + resolution: *627 resolved_at: type: - string @@ -92117,7 +92530,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92139,15 +92552,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *352 - - *353 - - *439 + - *357 + - *358 + - *444 responses: '200': description: Response content: application/json: - schema: *623 + schema: *628 examples: default: value: @@ -92178,7 +92591,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92199,9 +92612,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: - - *352 - - *353 - - *439 + - *357 + - *358 + - *444 requestBody: required: true content: @@ -92209,8 +92622,8 @@ paths: schema: type: object properties: - state: *621 - resolution: *622 + state: *626 + resolution: *627 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -92229,7 +92642,7 @@ paths: description: Response content: application/json: - schema: *623 + schema: *628 examples: default: value: @@ -92282,7 +92695,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *125 + '503': *128 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -92304,9 +92717,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: - - *352 - - *353 - - *439 + - *357 + - *358 + - *444 - *19 - *17 responses: @@ -92317,7 +92730,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &779 + items: &784 type: object properties: type: @@ -92674,7 +93087,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92696,8 +93109,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: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -92705,14 +93118,14 @@ paths: schema: type: object properties: - reason: &625 + reason: &630 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *624 + placeholder_id: *629 required: - reason - placeholder_id @@ -92729,7 +93142,7 @@ paths: schema: type: object properties: - reason: *625 + reason: *630 expire_at: type: - string @@ -92753,7 +93166,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *125 + '503': *128 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -92773,13 +93186,13 @@ 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: - - *352 - - *353 + - *357 + - *358 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *125 + '503': *128 '200': description: Response content: @@ -92789,7 +93202,7 @@ paths: properties: incremental_scans: type: array - items: &626 + items: &631 description: Information on a single scan performed by secret scanning on the repository type: object @@ -92817,15 +93230,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *626 + items: *631 backfill_scans: type: array - items: *626 + items: *631 custom_pattern_backfill_scans: type: array items: allOf: - - *626 + - *631 - type: object properties: pattern_name: @@ -92895,9 +93308,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *352 - - *353 - - *82 + - *357 + - *358 + - *84 - name: sort description: The property to sort the results by. in: query @@ -92909,8 +93322,8 @@ paths: - updated - published default: created - - *80 - - *81 + - *82 + - *83 - name: per_page description: The number of advisories to return per page. 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)." @@ -92940,9 +93353,9 @@ paths: application/json: schema: type: array - items: *627 + items: *632 examples: - default: *628 + default: *633 '400': *14 '404': *6 x-github: @@ -92965,8 +93378,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: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -93046,7 +93459,7 @@ paths: login: type: string description: The username of the user credited. - type: *320 + type: *325 required: - login - type @@ -93136,9 +93549,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *632 examples: - default: &630 + default: &635 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -93371,8 +93784,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: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -93485,7 +93898,7 @@ paths: description: Response content: application/json: - schema: *627 + schema: *632 examples: default: value: @@ -93632,17 +94045,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *352 - - *353 - - *629 + - *357 + - *358 + - *634 responses: '200': description: Response content: application/json: - schema: *627 + schema: *632 examples: - default: *630 + default: *635 '403': *27 '404': *6 x-github: @@ -93666,9 +94079,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *352 - - *353 - - *629 + - *357 + - *358 + - *634 requestBody: required: true content: @@ -93748,7 +94161,7 @@ paths: login: type: string description: The username of the user credited. - type: *320 + type: *325 required: - login - type @@ -93839,17 +94252,17 @@ paths: description: Response content: application/json: - schema: *627 + schema: *632 examples: - default: *630 - add_credit: *630 + default: *635 + add_credit: *635 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *170 + schema: *173 examples: invalid_state_transition: value: @@ -93880,11 +94293,11 @@ 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: - - *352 - - *353 - - *629 + - *357 + - *358 + - *634 responses: - '202': *91 + '202': *93 '400': *14 '403': *27 '404': *6 @@ -93909,17 +94322,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: - - *352 - - *353 - - *629 + - *357 + - *358 + - *634 responses: '202': description: Response content: application/json: - schema: *365 + schema: *370 examples: - default: *367 + default: *372 '400': *14 '422': *15 '403': *27 @@ -93945,8 +94358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -94042,8 +94455,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -94052,7 +94465,7 @@ paths: application/json: schema: type: array - items: &631 + items: &636 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -94064,8 +94477,8 @@ paths: - - 1302998400 - 1124 - -435 - '202': *91 - '204': *112 + '202': *93 + '204': *114 '422': description: Repository contains more than 10,000 commits x-github: @@ -94085,8 +94498,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -94136,8 +94549,8 @@ paths: - 0 total: 89 week: 1336280400 - '202': *91 - '204': *112 + '202': *93 + '204': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94164,8 +94577,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -94236,8 +94649,8 @@ paths: a: 6898 d: 77 c: 10 - '202': *91 - '204': *112 + '202': *93 + '204': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94259,8 +94672,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -94414,8 +94827,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -94425,7 +94838,7 @@ paths: application/json: schema: type: array - items: *631 + items: *636 examples: default: value: @@ -94438,7 +94851,7 @@ paths: - - 0 - 2 - 21 - '204': *112 + '204': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94458,8 +94871,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *352 - - *353 + - *357 + - *358 - name: sha in: path required: true @@ -94515,7 +94928,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *637 examples: default: value: @@ -94569,8 +94982,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -94582,7 +94995,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 headers: Link: *37 x-github: @@ -94602,14 +95015,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &633 + schema: &638 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -94682,8 +95095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: false content: @@ -94709,7 +95122,7 @@ paths: description: Response content: application/json: - schema: *633 + schema: *638 examples: default: value: @@ -94736,8 +95149,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Response @@ -94757,8 +95170,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -94840,8 +95253,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -94849,7 +95262,7 @@ paths: application/json: schema: type: array - items: &634 + items: &639 title: Tag protection description: Tag protection type: object @@ -94906,8 +95319,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: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -94930,7 +95343,7 @@ paths: description: Response content: application/json: - schema: *634 + schema: *639 examples: default: value: @@ -94961,8 +95374,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: - - *352 - - *353 + - *357 + - *358 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -94999,8 +95412,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *352 - - *353 + - *357 + - *358 - name: ref in: path required: true @@ -95036,8 +95449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -95047,9 +95460,9 @@ paths: application/json: schema: type: array - items: *272 + items: *275 examples: - default: *286 + default: *289 headers: Link: *37 '404': *6 @@ -95069,8 +95482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *352 - - *353 + - *357 + - *358 - *19 - *17 responses: @@ -95078,7 +95491,7 @@ paths: description: Response content: application/json: - schema: &635 + schema: &640 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -95090,7 +95503,7 @@ paths: required: - names examples: - default: &636 + default: &641 value: names: - octocat @@ -95113,8 +95526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -95145,9 +95558,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *640 examples: - default: *636 + default: *641 '404': *6 '422': *7 x-github: @@ -95168,9 +95581,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *352 - - *353 - - &637 + - *357 + - *358 + - &642 name: per description: The time frame to display results for. in: query @@ -95201,7 +95614,7 @@ paths: - 128 clones: type: array - items: &638 + items: &643 title: Traffic type: object properties: @@ -95288,8 +95701,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -95383,8 +95796,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -95447,9 +95860,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *352 - - *353 - - *637 + - *357 + - *358 + - *642 responses: '200': description: Response @@ -95470,7 +95883,7 @@ paths: - 3782 views: type: array - items: *638 + items: *643 required: - uniques - count @@ -95547,8 +95960,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -95584,7 +95997,7 @@ paths: description: Response content: application/json: - schema: *187 + schema: *190 examples: default: value: @@ -95822,8 +96235,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: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -95846,8 +96259,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Response @@ -95869,8 +96282,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Response @@ -95896,8 +96309,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *352 - - *353 + - *357 + - *358 - name: ref in: path required: true @@ -95989,9 +96402,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *370 examples: - default: *367 + default: *372 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -96032,7 +96445,7 @@ paths: application/json: schema: type: array - items: *187 + items: *190 examples: default: value: @@ -96142,7 +96555,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &646 + - &651 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -96152,7 +96565,7 @@ paths: type: string examples: - members - - &651 + - &656 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -96164,7 +96577,7 @@ paths: format: int32 examples: - 1 - - &652 + - &657 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -96208,7 +96621,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &640 + items: &645 allOf: - type: object required: @@ -96290,7 +96703,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &653 + meta: &658 type: object description: The metadata associated with the creation/updates to the user. @@ -96355,31 +96768,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &641 + '400': &646 description: Bad request content: application/json: - schema: *639 + schema: *644 application/scim+json: - schema: *639 - '401': &642 + schema: *644 + '401': &647 description: Authorization failure - '403': &643 + '403': &648 description: Permission denied - '429': &644 + '429': &649 description: Too many requests content: application/json: - schema: *639 + schema: *644 application/scim+json: - schema: *639 - '500': &645 + schema: *644 + '500': &650 description: Internal server error content: application/json: - schema: *639 + schema: *644 application/scim+json: - schema: *639 + schema: *644 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96403,7 +96816,7 @@ paths: required: true content: application/json: - schema: &649 + schema: &654 type: object required: - schemas @@ -96463,9 +96876,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *640 + schema: *645 examples: - group: &647 + group: &652 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -96484,13 +96897,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *641 - '401': *642 - '403': *643 - '409': &650 + '400': *646 + '401': *647 + '403': *648 + '409': &655 description: Duplicate record detected - '429': *644 - '500': *645 + '429': *649 + '500': *650 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96507,7 +96920,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &648 + - &653 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -96516,22 +96929,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *646 + - *651 - *38 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *640 + schema: *645 examples: - default: *647 - '400': *641 - '401': *642 - '403': *643 + default: *652 + '400': *646 + '401': *647 + '403': *648 '404': *6 - '429': *644 - '500': *645 + '429': *649 + '500': *650 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96550,13 +96963,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *648 + - *653 - *38 requestBody: required: true content: application/json: - schema: *649 + schema: *654 examples: group: summary: Group @@ -96582,17 +96995,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *640 + schema: *645 examples: - group: *647 - groupWithMembers: *647 - '400': *641 - '401': *642 - '403': *643 + group: *652 + groupWithMembers: *652 + '400': *646 + '401': *647 + '403': *648 '404': *6 - '409': *650 - '429': *644 - '500': *645 + '409': *655 + '429': *649 + '500': *650 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96616,13 +97029,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *648 + - *653 - *38 requestBody: required: true content: application/json: - schema: &660 + schema: &665 type: object required: - Operations @@ -96682,17 +97095,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *640 + schema: *645 examples: - updateGroup: *647 - addMembers: *647 - '400': *641 - '401': *642 - '403': *643 + updateGroup: *652 + addMembers: *652 + '400': *646 + '401': *647 + '403': *648 '404': *6 - '409': *650 - '429': *644 - '500': *645 + '409': *655 + '429': *649 + '500': *650 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96708,17 +97121,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *648 + - *653 - *38 responses: '204': description: Group was deleted, no content - '400': *641 - '401': *642 - '403': *643 + '400': *646 + '401': *647 + '403': *648 '404': *6 - '429': *644 - '500': *645 + '429': *649 + '500': *650 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96752,8 +97165,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *651 - - *652 + - *656 + - *657 - *38 responses: '200': @@ -96787,7 +97200,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &655 + items: &660 allOf: - type: object required: @@ -96879,7 +97292,7 @@ paths: address. examples: - true - roles: &654 + roles: &659 type: array description: The roles assigned to the user. items: @@ -96938,7 +97351,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *653 + meta: *658 startIndex: type: integer description: A starting index for the returned page @@ -96977,11 +97390,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *641 - '401': *642 - '403': *643 - '429': *644 - '500': *645 + '400': *646 + '401': *647 + '403': *648 + '429': *649 + '500': *650 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97005,7 +97418,7 @@ paths: required: true content: application/json: - schema: &658 + schema: &663 type: object required: - schemas @@ -97098,9 +97511,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *654 + roles: *659 examples: - user: &659 + user: &664 summary: User value: schemas: @@ -97147,9 +97560,9 @@ paths: description: User has been created content: application/scim+json: - schema: *655 + schema: *660 examples: - user: &656 + user: &661 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -97175,13 +97588,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *656 - '400': *641 - '401': *642 - '403': *643 - '409': *650 - '429': *644 - '500': *645 + enterpriseOwner: *661 + '400': *646 + '401': *647 + '403': *648 + '409': *655 + '429': *649 + '500': *650 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97198,7 +97611,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &657 + - &662 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -97211,15 +97624,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *655 + schema: *660 examples: - default: *656 - '400': *641 - '401': *642 - '403': *643 + default: *661 + '400': *646 + '401': *647 + '403': *648 '404': *6 - '429': *644 - '500': *645 + '429': *649 + '500': *650 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97241,30 +97654,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *657 + - *662 - *38 requestBody: required: true content: application/json: - schema: *658 + schema: *663 examples: - user: *659 + user: *664 responses: '200': description: User was updated content: application/scim+json: - schema: *655 + schema: *660 examples: - user: *656 - '400': *641 - '401': *642 - '403': *643 + user: *661 + '400': *646 + '401': *647 + '403': *648 '404': *6 - '409': *650 - '429': *644 - '500': *645 + '409': *655 + '429': *649 + '500': *650 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97299,13 +97712,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *657 + - *662 - *38 requestBody: required: true content: application/json: - schema: *660 + schema: *665 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -97345,18 +97758,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *655 - examples: - userMultiValuedProperties: *656 - userSingleValuedProperties: *656 - disableUser: *656 - '400': *641 - '401': *642 - '403': *643 + schema: *660 + examples: + userMultiValuedProperties: *661 + userSingleValuedProperties: *661 + disableUser: *661 + '400': *646 + '401': *647 + '403': *648 '404': *6 - '409': *650 - '429': *644 - '500': *645 + '409': *655 + '429': *649 + '500': *650 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97376,17 +97789,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *657 + - *662 - *38 responses: '204': description: User was deleted, no content - '400': *641 - '401': *642 - '403': *643 + '400': *646 + '401': *647 + '403': *648 '404': *6 - '429': *644 - '500': *645 + '429': *649 + '500': *650 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97419,7 +97832,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *167 + - *170 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -97477,7 +97890,7 @@ paths: - 1 Resources: type: array - items: &661 + items: &666 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -97724,22 +98137,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &662 + '404': &667 description: Resource not found content: application/json: - schema: *639 + schema: *644 application/scim+json: - schema: *639 - '403': &663 + schema: *644 + '403': &668 description: Forbidden content: application/json: - schema: *639 + schema: *644 application/scim+json: - schema: *639 - '400': *641 - '429': *644 + schema: *644 + '400': *646 + '429': *649 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -97759,15 +98172,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *167 + - *170 responses: '201': description: Response content: application/scim+json: - schema: *661 + schema: *666 examples: - default: &664 + default: &669 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -97790,17 +98203,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *662 - '403': *663 - '500': *645 + '404': *667 + '403': *668 + '500': *650 '409': description: Conflict content: application/json: - schema: *639 + schema: *644 application/scim+json: - schema: *639 - '400': *641 + schema: *644 + '400': *646 requestBody: required: true content: @@ -97894,18 +98307,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - - *167 - - *657 + - *170 + - *662 responses: '200': description: Response content: application/scim+json: - schema: *661 + schema: *666 examples: - default: *664 - '404': *662 - '403': *663 + default: *669 + '404': *667 + '403': *668 '304': *35 x-github: githubCloudOnly: true @@ -97928,19 +98341,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *167 - - *657 + - *170 + - *662 responses: '200': description: Response content: application/scim+json: - schema: *661 + schema: *666 examples: - default: *664 + default: *669 '304': *35 - '404': *662 - '403': *663 + '404': *667 + '403': *668 requestBody: required: true content: @@ -98050,20 +98463,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - - *167 - - *657 + - *170 + - *662 responses: '200': description: Response content: application/scim+json: - schema: *661 + schema: *666 examples: - default: *664 + default: *669 '304': *35 - '404': *662 - '403': *663 - '400': *641 + '404': *667 + '403': *668 + '400': *646 '429': description: Response content: @@ -98158,13 +98571,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - - *167 - - *657 + - *170 + - *662 responses: '204': description: Response - '404': *662 - '403': *663 + '404': *667 + '403': *668 '304': *35 x-github: githubCloudOnly: true @@ -98279,7 +98692,7 @@ paths: html_url: type: string format: uri - repository: *187 + repository: *190 score: type: number file_size: @@ -98298,7 +98711,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &665 + text_matches: &670 title: Search Result Text Matches type: array items: @@ -98413,7 +98826,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *125 + '503': *128 '422': *15 '403': *27 x-github: @@ -98462,7 +98875,7 @@ paths: enum: - author-date - committer-date - - &666 + - &671 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -98531,7 +98944,7 @@ paths: committer: anyOf: - type: 'null' - - *409 + - *414 comment_count: type: integer message: @@ -98550,7 +98963,7 @@ paths: url: type: string format: uri - verification: *517 + verification: *522 required: - author - committer @@ -98565,7 +98978,7 @@ paths: committer: anyOf: - type: 'null' - - *409 + - *414 parents: type: array items: @@ -98577,12 +98990,12 @@ paths: type: string sha: type: string - repository: *187 + repository: *190 score: type: number node_id: type: string - text_matches: *665 + text_matches: *670 required: - sha - node_id @@ -98775,7 +99188,7 @@ paths: - interactions - created - updated - - *666 + - *671 - *17 - *19 responses: @@ -98891,7 +99304,7 @@ paths: milestone: anyOf: - type: 'null' - - *472 + - *477 comments: type: integer created_at: @@ -98905,7 +99318,7 @@ paths: - string - 'null' format: date-time - text_matches: *665 + text_matches: *670 pull_request: type: object properties: @@ -98943,7 +99356,7 @@ paths: type: string score: type: number - author_association: *132 + author_association: *135 draft: type: boolean repository: *61 @@ -98958,7 +99371,7 @@ paths: anyOf: - type: 'null' - *5 - reactions: *133 + reactions: *136 required: - assignee - closed_at @@ -99074,7 +99487,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *125 + '503': *128 '422': *15 '304': *35 '403': *27 @@ -99127,7 +99540,7 @@ paths: enum: - created - updated - - *666 + - *671 - *17 - *19 responses: @@ -99172,7 +99585,7 @@ paths: - 'null' score: type: number - text_matches: *665 + text_matches: *670 required: - id - node_id @@ -99258,7 +99671,7 @@ paths: - forks - help-wanted-issues - updated - - *666 + - *671 - *17 - *19 responses: @@ -99477,7 +99890,7 @@ paths: license: anyOf: - type: 'null' - - *146 + - *149 permissions: type: object properties: @@ -99495,7 +99908,7 @@ paths: - admin - pull - push - text_matches: *665 + text_matches: *670 temp_clone_token: type: string allow_merge_commit: @@ -99698,7 +100111,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *125 + '503': *128 '422': *15 '304': *35 x-github: @@ -99804,7 +100217,7 @@ paths: - string - 'null' format: uri - text_matches: *665 + text_matches: *670 related: type: - array @@ -99999,7 +100412,7 @@ paths: - followers - repositories - joined - - *666 + - *671 - *17 - *19 responses: @@ -100109,7 +100522,7 @@ paths: type: - boolean - 'null' - text_matches: *665 + text_matches: *670 blog: type: - string @@ -100171,7 +100584,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *125 + '503': *128 '422': *15 x-github: githubCloudOnly: false @@ -100191,7 +100604,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &667 + - &672 name: team_id description: The unique identifier of the team. in: path @@ -100203,9 +100616,9 @@ paths: description: Response content: application/json: - schema: *333 + schema: *338 examples: - default: *334 + default: *339 '404': *6 x-github: githubCloudOnly: false @@ -100232,7 +100645,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *667 + - *672 requestBody: required: true content: @@ -100296,16 +100709,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *333 + schema: *338 examples: - default: *334 + default: *339 '201': description: Response content: application/json: - schema: *333 + schema: *338 examples: - default: *334 + default: *339 '404': *6 '422': *15 '403': *27 @@ -100333,7 +100746,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *667 + - *672 responses: '204': description: Response @@ -100364,8 +100777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *667 - - *82 + - *672 + - *84 - *17 - *19 responses: @@ -100375,9 +100788,9 @@ paths: application/json: schema: type: array - items: *335 + items: *340 examples: - default: *668 + default: *673 headers: Link: *37 x-github: @@ -100406,7 +100819,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *667 + - *672 requestBody: required: true content: @@ -100440,9 +100853,9 @@ paths: description: Response content: application/json: - schema: *335 + schema: *340 examples: - default: *336 + default: *341 x-github: triggersNotification: true githubCloudOnly: false @@ -100469,16 +100882,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *667 - - *337 + - *672 + - *342 responses: '200': description: Response content: application/json: - schema: *335 + schema: *340 examples: - default: *336 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100503,8 +100916,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *667 - - *337 + - *672 + - *342 requestBody: required: false content: @@ -100527,9 +100940,9 @@ paths: description: Response content: application/json: - schema: *335 + schema: *340 examples: - default: *669 + default: *674 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100554,8 +100967,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *667 - - *337 + - *672 + - *342 responses: '204': description: Response @@ -100584,9 +100997,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *667 - - *337 - - *82 + - *672 + - *342 + - *84 - *17 - *19 responses: @@ -100596,9 +101009,9 @@ paths: application/json: schema: type: array - items: *338 + items: *343 examples: - default: *670 + default: *675 headers: Link: *37 x-github: @@ -100627,8 +101040,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *667 - - *337 + - *672 + - *342 requestBody: required: true content: @@ -100650,9 +101063,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *343 examples: - default: *339 + default: *344 x-github: triggersNotification: true githubCloudOnly: false @@ -100679,17 +101092,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *667 - - *337 - - *340 + - *672 + - *342 + - *345 responses: '200': description: Response content: application/json: - schema: *338 + schema: *343 examples: - default: *339 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100714,9 +101127,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *667 - - *337 - - *340 + - *672 + - *342 + - *345 requestBody: required: true content: @@ -100738,9 +101151,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *343 examples: - default: *671 + default: *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100765,9 +101178,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *667 - - *337 - - *340 + - *672 + - *342 + - *345 responses: '204': description: Response @@ -100796,9 +101209,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *667 - - *337 - - *340 + - *672 + - *342 + - *345 - 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. @@ -100824,9 +101237,9 @@ paths: application/json: schema: type: array - items: *341 + items: *346 examples: - default: *343 + default: *348 headers: Link: *37 x-github: @@ -100855,9 +101268,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *667 - - *337 - - *340 + - *672 + - *342 + - *345 requestBody: required: true content: @@ -100889,9 +101302,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *346 examples: - default: *342 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100917,8 +101330,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *667 - - *337 + - *672 + - *342 - 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. @@ -100944,9 +101357,9 @@ paths: application/json: schema: type: array - items: *341 + items: *346 examples: - default: *343 + default: *348 headers: Link: *37 x-github: @@ -100975,8 +101388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *667 - - *337 + - *672 + - *342 requestBody: required: true content: @@ -101008,9 +101421,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *346 examples: - default: *342 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101034,7 +101447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *667 + - *672 - *17 - *19 responses: @@ -101044,9 +101457,9 @@ paths: application/json: schema: type: array - items: *269 + items: *272 examples: - default: *270 + default: *273 headers: Link: *37 x-github: @@ -101072,7 +101485,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *667 + - *672 - name: role description: Filters members returned by their role in the team. in: query @@ -101095,7 +101508,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 headers: Link: *37 '404': *6 @@ -101123,8 +101536,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *667 - - *209 + - *672 + - *212 responses: '204': description: if user is a member @@ -101160,8 +101573,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *667 - - *209 + - *672 + - *212 responses: '204': description: Response @@ -101200,8 +101613,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *667 - - *209 + - *672 + - *212 responses: '204': description: Response @@ -101237,16 +101650,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *667 - - *209 + - *672 + - *212 responses: '200': description: Response content: application/json: - schema: *349 + schema: *354 examples: - response-if-user-is-a-team-maintainer: *672 + response-if-user-is-a-team-maintainer: *677 '404': *6 x-github: githubCloudOnly: false @@ -101279,8 +101692,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *667 - - *209 + - *672 + - *212 requestBody: required: false content: @@ -101305,9 +101718,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *354 examples: - response-if-users-membership-with-team-is-now-pending: *673 + response-if-users-membership-with-team-is-now-pending: *678 '403': description: Forbidden if team synchronization is set up '422': @@ -101341,8 +101754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *667 - - *209 + - *672 + - *212 responses: '204': description: Response @@ -101371,7 +101784,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *667 + - *672 - *17 - *19 responses: @@ -101381,9 +101794,9 @@ paths: application/json: schema: type: array - items: *350 + items: *355 examples: - default: *674 + default: *679 headers: Link: *37 '404': *6 @@ -101410,16 +101823,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *667 - - *351 + - *672 + - *356 responses: '200': description: Response content: application/json: - schema: *350 + schema: *355 examples: - default: *675 + default: *680 '404': description: Not Found if project is not managed by this team x-github: @@ -101444,8 +101857,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *667 - - *351 + - *672 + - *356 requestBody: required: false content: @@ -101513,8 +101926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *667 - - *351 + - *672 + - *356 responses: '204': description: Response @@ -101541,7 +101954,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *667 + - *672 - *17 - *19 responses: @@ -101551,9 +101964,9 @@ paths: application/json: schema: type: array - items: *187 + items: *190 examples: - default: *293 + default: *296 headers: Link: *37 '404': *6 @@ -101583,15 +101996,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *667 - - *352 - - *353 + - *672 + - *357 + - *358 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *676 + schema: *681 examples: alternative-response-with-extra-repository-information: value: @@ -101742,9 +102155,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *667 - - *352 - - *353 + - *672 + - *357 + - *358 requestBody: required: false content: @@ -101794,9 +102207,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *667 - - *352 - - *353 + - *672 + - *357 + - *358 responses: '204': description: Response @@ -101825,15 +102238,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *667 + - *672 responses: '200': description: Response content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 '403': *27 '404': *6 x-github: @@ -101860,7 +102273,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *667 + - *672 requestBody: required: true content: @@ -101921,7 +102334,7 @@ paths: description: Response content: application/json: - schema: *354 + schema: *359 examples: default: value: @@ -101952,7 +102365,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *667 + - *672 - *17 - *19 responses: @@ -101962,9 +102375,9 @@ paths: application/json: schema: type: array - items: *272 + items: *275 examples: - response-if-child-teams-exist: *677 + response-if-child-teams-exist: *682 headers: Link: *37 '404': *6 @@ -101997,7 +102410,7 @@ paths: application/json: schema: oneOf: - - &679 + - &684 title: Private User description: Private User type: object @@ -102247,7 +102660,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *678 + - *683 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -102407,7 +102820,7 @@ paths: description: Response content: application/json: - schema: *679 + schema: *684 examples: default: value: @@ -102486,7 +102899,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 '304': *35 '404': *6 '403': *27 @@ -102509,7 +102922,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *209 + - *212 responses: '204': description: If the user is blocked @@ -102537,7 +102950,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *209 + - *212 responses: '204': description: Response @@ -102561,7 +102974,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *209 + - *212 responses: '204': description: Response @@ -102610,11 +103023,11 @@ paths: type: integer codespaces: type: array - items: *276 + items: *279 examples: - default: *277 + default: *280 '304': *35 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -102751,21 +103164,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *276 + schema: *279 examples: - default: *459 + default: *464 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *276 + schema: *279 examples: - default: *459 + default: *464 '401': *23 '403': *27 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102805,7 +103218,7 @@ paths: type: integer secrets: type: array - items: &680 + items: &685 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -102847,7 +103260,7 @@ paths: - visibility - selected_repositories_url examples: - default: *461 + default: *466 headers: Link: *37 x-github: @@ -102919,13 +103332,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *197 + - *200 responses: '200': description: Response content: application/json: - schema: *680 + schema: *685 examples: default: value: @@ -102955,7 +103368,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *197 + - *200 requestBody: required: true content: @@ -103000,7 +103413,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -103028,7 +103441,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *197 + - *200 responses: '204': description: Response @@ -103053,7 +103466,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *197 + - *200 responses: '200': description: Response @@ -103069,13 +103482,13 @@ paths: type: integer repositories: type: array - items: *187 + items: *190 examples: - default: *681 + default: *686 '401': *23 '403': *27 '404': *6 - '500': *93 + '500': *95 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103096,7 +103509,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *197 + - *200 requestBody: required: true content: @@ -103128,7 +103541,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *93 + '500': *95 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103150,7 +103563,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *197 + - *200 - name: repository_id in: path required: true @@ -103162,7 +103575,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *93 + '500': *95 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103183,7 +103596,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *197 + - *200 - name: repository_id in: path required: true @@ -103195,7 +103608,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *93 + '500': *95 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103215,17 +103628,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *278 + - *281 responses: '200': description: Response content: application/json: - schema: *276 + schema: *279 examples: - default: *459 + default: *464 '304': *35 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -103249,7 +103662,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: - - *278 + - *281 requestBody: required: false content: @@ -103279,9 +103692,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *279 examples: - default: *459 + default: *464 '401': *23 '403': *27 '404': *6 @@ -103303,11 +103716,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *278 + - *281 responses: - '202': *91 + '202': *93 '304': *35 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -103332,13 +103745,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *278 + - *281 responses: '202': description: Response content: application/json: - schema: &682 + schema: &687 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -103391,7 +103804,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &683 + default: &688 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -103399,7 +103812,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -103423,7 +103836,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *278 + - *281 - name: export_id in: path required: true @@ -103436,9 +103849,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *687 examples: - default: *683 + default: *688 '404': *6 x-github: githubCloudOnly: false @@ -103459,7 +103872,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *278 + - *281 responses: '200': description: Response @@ -103475,11 +103888,11 @@ paths: type: integer machines: type: array - items: *460 + items: *465 examples: - default: *684 + default: *689 '304': *35 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -103506,7 +103919,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: - - *278 + - *281 requestBody: required: true content: @@ -103562,11 +103975,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *365 + repository: *370 machine: anyOf: - type: 'null' - - *460 + - *465 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -104363,17 +104776,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *278 + - *281 responses: '200': description: Response content: application/json: - schema: *276 + schema: *279 examples: - default: *459 + default: *464 '304': *35 - '500': *93 + '500': *95 '400': *14 '401': *23 '402': @@ -104383,7 +104796,7 @@ paths: schema: *3 '403': *27 '404': *6 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104403,16 +104816,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *278 + - *281 responses: '200': description: Response content: application/json: - schema: *276 + schema: *279 examples: - default: *459 - '500': *93 + default: *464 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -104441,9 +104854,9 @@ paths: application/json: schema: type: array - items: *287 + items: *290 examples: - default: &697 + default: &702 value: - id: 197 name: hello_docker @@ -104544,7 +104957,7 @@ paths: application/json: schema: type: array - items: &685 + items: &690 title: Email description: Email type: object @@ -104614,9 +105027,9 @@ paths: application/json: schema: type: array - items: *685 + items: *690 examples: - default: &699 + default: &704 value: - email: octocat@github.com verified: true @@ -104693,7 +105106,7 @@ paths: application/json: schema: type: array - items: *685 + items: *690 examples: default: value: @@ -104805,7 +105218,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 headers: Link: *37 '304': *35 @@ -104838,7 +105251,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 headers: Link: *37 '304': *35 @@ -104860,7 +105273,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *209 + - *212 responses: '204': description: if the person is followed by the authenticated user @@ -104890,7 +105303,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *209 + - *212 responses: '204': description: Response @@ -104915,7 +105328,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *209 + - *212 responses: '204': description: Response @@ -104951,7 +105364,7 @@ paths: application/json: schema: type: array - items: &686 + items: &691 title: GPG Key description: A unique encryption key type: object @@ -105096,7 +105509,7 @@ paths: - subkeys - revoked examples: - default: &710 + default: &715 value: - id: 3 name: Octocat's GPG Key @@ -105181,9 +105594,9 @@ paths: description: Response content: application/json: - schema: *686 + schema: *691 examples: - default: &687 + default: &692 value: id: 3 name: Octocat's GPG Key @@ -105240,7 +105653,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &688 + - &693 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -105252,9 +105665,9 @@ paths: description: Response content: application/json: - schema: *686 + schema: *691 examples: - default: *687 + default: *692 '404': *6 '304': *35 '403': *27 @@ -105277,7 +105690,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *688 + - *693 responses: '204': description: Response @@ -105468,7 +105881,7 @@ paths: type: array items: *61 examples: - default: *689 + default: *694 headers: Link: *37 '404': *6 @@ -105493,7 +105906,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *182 + - *185 responses: '204': description: Response @@ -105519,7 +105932,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *182 + - *185 responses: '204': description: Response @@ -105553,12 +105966,12 @@ paths: application/json: schema: anyOf: - - *267 + - *270 - type: object properties: {} additionalProperties: false examples: - default: *268 + default: *271 '204': description: Response when there are no restrictions x-github: @@ -105582,7 +105995,7 @@ paths: required: true content: application/json: - schema: *528 + schema: *533 examples: default: value: @@ -105593,7 +106006,7 @@ paths: description: Response content: application/json: - schema: *267 + schema: *270 examples: default: value: @@ -105674,7 +106087,7 @@ paths: - closed - all default: open - - *273 + - *276 - name: sort description: What to sort results by. in: query @@ -105686,8 +106099,8 @@ paths: - updated - comments default: created - - *82 - - *135 + - *84 + - *138 - *17 - *19 responses: @@ -105697,9 +106110,9 @@ paths: application/json: schema: type: array - items: *145 + items: *148 examples: - default: *274 + default: *277 headers: Link: *37 '404': *6 @@ -105732,7 +106145,7 @@ paths: application/json: schema: type: array - items: &690 + items: &695 title: Key description: Key type: object @@ -105830,9 +106243,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *695 examples: - default: &691 + default: &696 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105865,15 +106278,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *555 + - *560 responses: '200': description: Response content: application/json: - schema: *690 + schema: *695 examples: - default: *691 + default: *696 '404': *6 '304': *35 '403': *27 @@ -105896,7 +106309,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *555 + - *560 responses: '204': description: Response @@ -105929,7 +106342,7 @@ paths: application/json: schema: type: array - items: &692 + items: &697 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -105997,7 +106410,7 @@ paths: - id - type - login - plan: *148 + plan: *151 required: - billing_cycle - next_billing_date @@ -106008,7 +106421,7 @@ paths: - account - plan examples: - default: &693 + default: &698 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -106070,9 +106483,9 @@ paths: application/json: schema: type: array - items: *692 + items: *697 examples: - default: *693 + default: *698 headers: Link: *37 '304': *35 @@ -106112,7 +106525,7 @@ paths: application/json: schema: type: array - items: *279 + items: *282 examples: default: value: @@ -106214,13 +106627,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *167 + - *170 responses: '200': description: Response content: application/json: - schema: *279 + schema: *282 examples: default: value: @@ -106278,7 +106691,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *167 + - *170 requestBody: required: true content: @@ -106303,7 +106716,7 @@ paths: description: Response content: application/json: - schema: *279 + schema: *282 examples: default: value: @@ -106371,7 +106784,7 @@ paths: application/json: schema: type: array - items: *281 + items: *284 examples: default: value: @@ -106633,7 +107046,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *284 examples: default: value: @@ -106813,7 +107226,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *282 + - *285 - name: exclude in: query required: false @@ -106826,7 +107239,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *284 examples: default: value: @@ -107020,7 +107433,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *282 + - *285 responses: '302': description: Response @@ -107046,7 +107459,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *282 + - *285 responses: '204': description: Response @@ -107075,8 +107488,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *282 - - *694 + - *285 + - *699 responses: '204': description: Response @@ -107100,7 +107513,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *282 + - *285 - *17 - *19 responses: @@ -107110,9 +107523,9 @@ paths: application/json: schema: type: array - items: *187 + items: *190 examples: - default: *293 + default: *296 headers: Link: *37 '404': *6 @@ -107149,7 +107562,7 @@ paths: type: array items: *56 examples: - default: *695 + default: *700 headers: Link: *37 '304': *35 @@ -107191,7 +107604,7 @@ paths: - docker - nuget - container - - *696 + - *701 - *19 - *17 responses: @@ -107201,10 +107614,10 @@ paths: application/json: schema: type: array - items: *287 + items: *290 examples: - default: *697 - '400': *698 + default: *702 + '400': *703 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107224,16 +107637,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *289 - - *290 + - *292 + - *293 responses: '200': description: Response content: application/json: - schema: *287 + schema: *290 examples: - default: &711 + default: &716 value: id: 40201 name: octo-name @@ -107346,8 +107759,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: - - *289 - - *290 + - *292 + - *293 responses: '204': description: Response @@ -107377,8 +107790,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: - - *289 - - *290 + - *292 + - *293 - name: token description: package token schema: @@ -107410,8 +107823,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: - - *289 - - *290 + - *292 + - *293 - *19 - *17 - name: state @@ -107431,7 +107844,7 @@ paths: application/json: schema: type: array - items: *291 + items: *294 examples: default: value: @@ -107480,15 +107893,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: - - *289 - - *290 - *292 + - *293 + - *295 responses: '200': description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -107524,9 +107937,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: - - *289 - - *290 - *292 + - *293 + - *295 responses: '204': description: Response @@ -107556,9 +107969,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: - - *289 - - *290 - *292 + - *293 + - *295 responses: '204': description: Response @@ -107616,7 +108029,7 @@ paths: description: Response content: application/json: - schema: *302 + schema: *305 examples: default: value: @@ -107688,9 +108101,9 @@ paths: application/json: schema: type: array - items: *685 + items: *690 examples: - default: *699 + default: *704 headers: Link: *37 '304': *35 @@ -107803,7 +108216,7 @@ paths: type: array items: *61 examples: - default: &706 + default: &711 summary: Default response value: - id: 1296269 @@ -108119,9 +108532,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *370 examples: - default: *367 + default: *372 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -108159,9 +108572,9 @@ paths: application/json: schema: type: array - items: *530 + items: *535 examples: - default: *700 + default: *705 headers: Link: *37 '304': *35 @@ -108184,12 +108597,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *271 + - *274 responses: '204': description: Response '403': *27 - '409': *90 + '409': *92 '404': *6 '304': *35 x-github: @@ -108207,11 +108620,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *271 + - *274 responses: '204': description: Response - '409': *90 + '409': *92 '304': *35 '404': *6 '403': *27 @@ -108240,7 +108653,7 @@ paths: application/json: schema: type: array - items: &701 + items: &706 title: Social account description: Social media account type: object @@ -108257,7 +108670,7 @@ paths: - provider - url examples: - default: &702 + default: &707 value: - provider: twitter url: https://twitter.com/github @@ -108320,9 +108733,9 @@ paths: application/json: schema: type: array - items: *701 + items: *706 examples: - default: *702 + default: *707 '422': *15 '304': *35 '404': *6 @@ -108410,7 +108823,7 @@ paths: application/json: schema: type: array - items: &703 + items: &708 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -108430,7 +108843,7 @@ paths: - title - created_at examples: - default: &712 + default: &717 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -108497,9 +108910,9 @@ paths: description: Response content: application/json: - schema: *703 + schema: *708 examples: - default: &704 + default: &709 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -108530,7 +108943,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &705 + - &710 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -108542,9 +108955,9 @@ paths: description: Response content: application/json: - schema: *703 + schema: *708 examples: - default: *704 + default: *709 '404': *6 '304': *35 '403': *27 @@ -108567,7 +108980,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *705 + - *710 responses: '204': description: Response @@ -108596,7 +109009,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &713 + - &718 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -108609,7 +109022,7 @@ paths: - created - updated default: created - - *82 + - *84 - *17 - *19 responses: @@ -108621,11 +109034,11 @@ paths: type: array items: *61 examples: - default-response: *706 + default-response: *711 application/vnd.github.v3.star+json: schema: type: array - items: &714 + items: &719 title: Starred Repository description: Starred Repository type: object @@ -108781,8 +109194,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: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Response if this repository is starred by you @@ -108810,8 +109223,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: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Response @@ -108835,8 +109248,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: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Response @@ -108869,9 +109282,9 @@ paths: application/json: schema: type: array - items: *187 + items: *190 examples: - default: *293 + default: *296 headers: Link: *37 '304': *35 @@ -108908,7 +109321,7 @@ paths: application/json: schema: type: array - items: *333 + items: *338 examples: default: value: @@ -108986,7 +109399,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *150 + - *153 responses: '200': description: Response @@ -108994,10 +109407,10 @@ paths: application/json: schema: oneOf: - - *679 - - *678 + - *684 + - *683 examples: - default-response: &708 + default-response: &713 summary: Default response value: login: octocat @@ -109032,7 +109445,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &709 + response-with-git-hub-plan-information: &714 summary: Response with GitHub plan information value: login: octocat @@ -109092,7 +109505,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *707 + - *712 - *17 responses: '200': @@ -109103,7 +109516,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 headers: Link: example: ; rel="next" @@ -109133,7 +109546,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *209 + - *212 responses: '200': description: Response @@ -109141,11 +109554,11 @@ paths: application/json: schema: oneOf: - - *679 - - *678 + - *684 + - *683 examples: - default-response: *708 - response-with-git-hub-plan-information: *709 + default-response: *713 + response-with-git-hub-plan-information: *714 '404': *6 x-github: githubCloudOnly: false @@ -109169,9 +109582,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations parameters: - *17 - - *80 - - *81 - - *209 + - *82 + - *83 + - *212 - name: subject_digest description: Subject Digest in: path @@ -109275,7 +109688,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -109301,7 +109714,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *209 + - *212 responses: '200': description: Response @@ -109309,9 +109722,9 @@ paths: application/json: schema: type: array - items: *287 + items: *290 examples: - default: *697 + default: *702 '403': *27 '401': *23 x-github: @@ -109334,7 +109747,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *209 + - *212 - *17 - *19 responses: @@ -109344,7 +109757,7 @@ paths: application/json: schema: type: array - items: *156 + items: *159 examples: default: value: @@ -109415,8 +109828,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *209 - - *167 + - *212 + - *170 - *17 - *19 responses: @@ -109426,7 +109839,7 @@ paths: application/json: schema: type: array - items: *156 + items: *159 examples: default: value: @@ -109505,7 +109918,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *209 + - *212 - *17 - *19 responses: @@ -109515,7 +109928,7 @@ paths: application/json: schema: type: array - items: *156 + items: *159 examples: default: value: @@ -109582,7 +109995,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *209 + - *212 - *17 - *19 responses: @@ -109594,7 +110007,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 headers: Link: *37 x-github: @@ -109613,7 +110026,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *209 + - *212 - *17 - *19 responses: @@ -109625,7 +110038,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 headers: Link: *37 x-github: @@ -109644,7 +110057,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-user-follows-another-user parameters: - - *209 + - *212 - name: target_user in: path required: true @@ -109671,8 +110084,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *209 - - *135 + - *212 + - *138 - *17 - *19 responses: @@ -109682,9 +110095,9 @@ paths: application/json: schema: type: array - items: *136 + items: *139 examples: - default: *137 + default: *140 headers: Link: *37 '422': *15 @@ -109705,7 +110118,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *209 + - *212 - *17 - *19 responses: @@ -109715,9 +110128,9 @@ paths: application/json: schema: type: array - items: *686 + items: *691 examples: - default: *710 + default: *715 headers: Link: *37 x-github: @@ -109741,7 +110154,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *209 + - *212 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -109813,7 +110226,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *209 + - *212 responses: '200': description: Response @@ -109821,7 +110234,7 @@ paths: application/json: schema: *20 examples: - default: *527 + default: *532 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109839,7 +110252,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *209 + - *212 - *17 - *19 responses: @@ -109887,7 +110300,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *209 + - *212 - *17 - *19 responses: @@ -109899,7 +110312,7 @@ paths: type: array items: *56 examples: - default: *695 + default: *700 headers: Link: *37 x-github: @@ -109938,8 +110351,8 @@ paths: - docker - nuget - container - - *696 - - *209 + - *701 + - *212 - *19 - *17 responses: @@ -109949,12 +110362,12 @@ paths: application/json: schema: type: array - items: *287 + items: *290 examples: - default: *697 + default: *702 '403': *27 '401': *23 - '400': *698 + '400': *703 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109974,17 +110387,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *289 - - *290 - - *209 + - *292 + - *293 + - *212 responses: '200': description: Response content: application/json: - schema: *287 + schema: *290 examples: - default: *711 + default: *716 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110005,9 +110418,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *289 - - *290 - - *209 + - *292 + - *293 + - *212 responses: '204': description: Response @@ -110039,9 +110452,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *289 - - *290 - - *209 + - *292 + - *293 + - *212 - name: token description: package token schema: @@ -110073,9 +110486,9 @@ 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: - - *289 - - *290 - - *209 + - *292 + - *293 + - *212 responses: '200': description: Response @@ -110083,7 +110496,7 @@ paths: application/json: schema: type: array - items: *291 + items: *294 examples: default: value: @@ -110141,16 +110554,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: - - *289 - - *290 - *292 - - *209 + - *293 + - *295 + - *212 responses: '200': description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -110185,10 +110598,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *289 - - *290 - - *209 - *292 + - *293 + - *212 + - *295 responses: '204': description: Response @@ -110220,10 +110633,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *289 - - *290 - - *209 - *292 + - *293 + - *212 + - *295 responses: '204': description: Response @@ -110249,7 +110662,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-user-projects parameters: - - *209 + - *212 - name: state description: Indicates the state of the projects to return. in: query @@ -110270,7 +110683,7 @@ paths: application/json: schema: type: array - items: *302 + items: *305 examples: default: value: @@ -110332,7 +110745,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *209 + - *212 - *17 - *19 responses: @@ -110342,7 +110755,7 @@ paths: application/json: schema: type: array - items: *156 + items: *159 examples: default: value: @@ -110421,7 +110834,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-received-by-a-user parameters: - - *209 + - *212 - *17 - *19 responses: @@ -110431,7 +110844,7 @@ paths: application/json: schema: type: array - items: *156 + items: *159 examples: default: value: @@ -110508,7 +110921,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *209 + - *212 - name: type description: Limit results to repositories of the specified type. in: query @@ -110551,9 +110964,9 @@ paths: application/json: schema: type: array - items: *187 + items: *190 examples: - default: *293 + default: *296 headers: Link: *37 x-github: @@ -110577,15 +110990,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *209 + - *212 responses: '200': description: Response content: application/json: - schema: *321 + schema: *326 examples: - default: *322 + default: *327 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110607,15 +111020,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *209 + - *212 responses: '200': description: Response content: application/json: - schema: *325 + schema: *330 examples: - default: *326 + default: *331 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110637,15 +111050,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *209 + - *212 responses: '200': description: Response content: application/json: - schema: *327 + schema: *332 examples: - default: *328 + default: *333 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110663,7 +111076,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *209 + - *212 - *17 - *19 responses: @@ -110673,9 +111086,9 @@ paths: application/json: schema: type: array - items: *701 + items: *706 examples: - default: *702 + default: *707 headers: Link: *37 x-github: @@ -110695,7 +111108,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *209 + - *212 - *17 - *19 responses: @@ -110705,9 +111118,9 @@ paths: application/json: schema: type: array - items: *703 + items: *708 examples: - default: *712 + default: *717 headers: Link: *37 x-github: @@ -110731,9 +111144,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *209 - - *713 - - *82 + - *212 + - *718 + - *84 - *17 - *19 responses: @@ -110744,11 +111157,11 @@ paths: schema: anyOf: - type: array - items: *714 + items: *719 - type: array items: *61 examples: - default-response: *706 + default-response: *711 headers: Link: *37 x-github: @@ -110767,7 +111180,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *209 + - *212 - *17 - *19 responses: @@ -110777,9 +111190,9 @@ paths: application/json: schema: type: array - items: *187 + items: *190 examples: - default: *293 + default: *296 headers: Link: *37 x-github: @@ -110908,7 +111321,7 @@ webhooks: type: string enum: - disabled - enterprise: &715 + enterprise: &720 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -110977,7 +111390,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &716 + installation: &721 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -110998,7 +111411,7 @@ webhooks: required: - id - node_id - organization: &717 + organization: &722 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -111071,7 +111484,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &718 + repository: &723 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -111100,7 +111513,7 @@ webhooks: license: anyOf: - type: 'null' - - *146 + - *149 organization: anyOf: - type: 'null' @@ -111984,10 +112397,10 @@ webhooks: type: string enum: - enabled - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -112063,11 +112476,11 @@ webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - rule: &719 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + rule: &724 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -112290,11 +112703,11 @@ webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - rule: *719 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + rule: *724 sender: *4 required: - action @@ -112482,11 +112895,11 @@ webhooks: - everyone required: - from - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - rule: *719 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + rule: *724 sender: *4 required: - action @@ -112559,7 +112972,7 @@ webhooks: required: true content: application/json: - schema: &722 + schema: &727 title: Exemption request cancellation event type: object properties: @@ -112567,11 +112980,11 @@ webhooks: type: string enum: - cancelled - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - exemption_request: &720 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + exemption_request: &725 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -112725,7 +113138,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &721 + items: &726 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -112837,7 +113250,7 @@ webhooks: required: true content: application/json: - schema: &723 + schema: &728 title: Exemption request completed event type: object properties: @@ -112845,11 +113258,11 @@ webhooks: type: string enum: - completed - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - exemption_request: *720 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + exemption_request: *725 sender: *4 required: - action @@ -112921,7 +113334,7 @@ webhooks: required: true content: application/json: - schema: &724 + schema: &729 title: Exemption request created event type: object properties: @@ -112929,11 +113342,11 @@ webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - exemption_request: *720 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + exemption_request: *725 sender: *4 required: - action @@ -113005,7 +113418,7 @@ webhooks: required: true content: application/json: - schema: &725 + schema: &730 title: Exemption response dismissed event type: object properties: @@ -113013,12 +113426,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - exemption_request: *720 - exemption_response: *721 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + exemption_request: *725 + exemption_response: *726 sender: *4 required: - action @@ -113092,7 +113505,7 @@ webhooks: required: true content: application/json: - schema: &726 + schema: &731 title: Exemption response submitted event type: object properties: @@ -113100,12 +113513,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - exemption_request: *720 - exemption_response: *721 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + exemption_request: *725 + exemption_response: *726 sender: *4 required: - action @@ -113178,7 +113591,7 @@ webhooks: required: true content: application/json: - schema: *722 + schema: *727 responses: '200': description: Return a 200 status to indicate that the data was received @@ -113245,7 +113658,7 @@ webhooks: required: true content: application/json: - schema: *723 + schema: *728 responses: '200': description: Return a 200 status to indicate that the data was received @@ -113312,7 +113725,7 @@ webhooks: required: true content: application/json: - schema: *724 + schema: *729 responses: '200': description: Return a 200 status to indicate that the data was received @@ -113379,7 +113792,7 @@ webhooks: required: true content: application/json: - schema: *725 + schema: *730 responses: '200': description: Return a 200 status to indicate that the data was received @@ -113447,7 +113860,7 @@ webhooks: required: true content: application/json: - schema: *726 + schema: *731 responses: '200': description: Return a 200 status to indicate that the data was received @@ -113525,7 +113938,7 @@ webhooks: type: string enum: - completed - check_run: &728 + check_run: &733 title: CheckRun description: A check performed on the code of a given code change type: object @@ -113593,8 +114006,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *422 - repository: *187 + items: *427 + repository: *190 status: type: string enum: @@ -113638,7 +114051,7 @@ webhooks: - examples: - neutral - deployment: *727 + deployment: *732 details_url: type: string examples: @@ -113698,7 +114111,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *422 + items: *427 started_at: type: string format: date-time @@ -113736,9 +114149,9 @@ webhooks: - output - app - pull_requests - installation: *716 - organization: *717 - repository: *718 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - check_run @@ -114131,10 +114544,10 @@ webhooks: type: string enum: - created - check_run: *728 - installation: *716 - organization: *717 - repository: *718 + check_run: *733 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - check_run @@ -114530,10 +114943,10 @@ webhooks: type: string enum: - requested_action - check_run: *728 - installation: *716 - organization: *717 - repository: *718 + check_run: *733 + installation: *721 + organization: *722 + repository: *723 requested_action: description: The action requested by the user. type: object @@ -114938,10 +115351,10 @@ webhooks: type: string enum: - rerequested - check_run: *728 - installation: *716 - organization: *717 - repository: *718 + check_run: *733 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - check_run @@ -115933,10 +116346,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -116621,10 +117034,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -117303,10 +117716,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -117472,7 +117885,7 @@ webhooks: required: - login - id - dismissed_comment: *434 + dismissed_comment: *439 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -117624,20 +118037,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &729 + commit_oid: &734 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *715 - installation: *716 - organization: *717 - ref: &730 + enterprise: *720 + installation: *721 + organization: *722 + ref: &735 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *718 + repository: *723 sender: *4 required: - action @@ -117801,7 +118214,7 @@ webhooks: required: - login - id - dismissed_comment: *434 + dismissed_comment: *439 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -117971,12 +118384,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *729 - enterprise: *715 - installation: *716 - organization: *717 - ref: *730 - repository: *718 + commit_oid: *734 + enterprise: *720 + installation: *721 + organization: *722 + ref: *735 + repository: *723 sender: *4 required: - action @@ -118074,7 +118487,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *434 + dismissed_comment: *439 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -118253,12 +118666,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *729 - enterprise: *715 - installation: *716 - organization: *717 - ref: *730 - repository: *718 + commit_oid: *734 + enterprise: *720 + installation: *721 + organization: *722 + ref: *735 + repository: *723 sender: *4 required: - action @@ -118424,7 +118837,7 @@ webhooks: required: - login - id - dismissed_comment: *434 + dismissed_comment: *439 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -118601,12 +119014,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *729 - enterprise: *715 - installation: *716 - organization: *717 - ref: *730 - repository: *718 + commit_oid: *734 + enterprise: *720 + installation: *721 + organization: *722 + ref: *735 + repository: *723 sender: *4 required: - action @@ -118706,7 +119119,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *434 + dismissed_comment: *439 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -118886,9 +119299,9 @@ webhooks: type: - string - 'null' - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -118896,7 +119309,7 @@ webhooks: type: - string - 'null' - repository: *718 + repository: *723 sender: *4 required: - action @@ -118992,7 +119405,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *434 + dismissed_comment: *439 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -119139,12 +119552,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *729 - enterprise: *715 - installation: *716 - organization: *717 - ref: *730 - repository: *718 + commit_oid: *734 + enterprise: *720 + installation: *721 + organization: *722 + ref: *735 + repository: *723 sender: *4 required: - action @@ -119406,10 +119819,10 @@ webhooks: - updated_at - author_association - body - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -119490,18 +119903,18 @@ webhooks: type: - string - 'null' - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *717 - pusher_type: &731 + organization: *722 + pusher_type: &736 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &732 + ref: &737 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -119511,7 +119924,7 @@ webhooks: enum: - tag - branch - repository: *718 + repository: *723 sender: *4 required: - ref @@ -119593,10 +120006,10 @@ webhooks: type: string enum: - created - definition: *108 - enterprise: *715 - installation: *716 - organization: *717 + definition: *110 + enterprise: *720 + installation: *721 + organization: *722 sender: *4 required: - action @@ -119681,9 +120094,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 sender: *4 required: - action @@ -119760,10 +120173,10 @@ webhooks: type: string enum: - updated - definition: *108 - enterprise: *715 - installation: *716 - organization: *717 + definition: *110 + enterprise: *720 + installation: *721 + organization: *722 sender: *4 required: - action @@ -119840,19 +120253,19 @@ webhooks: type: string enum: - updated - enterprise: *715 - installation: *716 - repository: *718 - organization: *717 + enterprise: *720 + installation: *721 + repository: *723 + organization: *722 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *304 + items: *307 old_property_values: type: array description: The old custom property values for the repository. - items: *304 + items: *307 required: - action - repository @@ -119928,18 +120341,18 @@ webhooks: title: delete event type: object properties: - enterprise: *715 - installation: *716 - organization: *717 - pusher_type: *731 - ref: *732 + enterprise: *720 + installation: *721 + organization: *722 + pusher_type: *736 + ref: *737 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *718 + repository: *723 sender: *4 required: - ref @@ -120023,11 +120436,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *486 - installation: *716 - organization: *717 - enterprise: *715 - repository: *718 + alert: *491 + installation: *721 + organization: *722 + enterprise: *720 + repository: *723 sender: *4 required: - action @@ -120111,11 +120524,11 @@ webhooks: type: string enum: - auto_reopened - alert: *486 - installation: *716 - organization: *717 - enterprise: *715 - repository: *718 + alert: *491 + installation: *721 + organization: *722 + enterprise: *720 + repository: *723 sender: *4 required: - action @@ -120199,11 +120612,11 @@ webhooks: type: string enum: - created - alert: *486 - installation: *716 - organization: *717 - enterprise: *715 - repository: *718 + alert: *491 + installation: *721 + organization: *722 + enterprise: *720 + repository: *723 sender: *4 required: - action @@ -120285,11 +120698,11 @@ webhooks: type: string enum: - dismissed - alert: *486 - installation: *716 - organization: *717 - enterprise: *715 - repository: *718 + alert: *491 + installation: *721 + organization: *722 + enterprise: *720 + repository: *723 sender: *4 required: - action @@ -120371,11 +120784,11 @@ webhooks: type: string enum: - fixed - alert: *486 - installation: *716 - organization: *717 - enterprise: *715 - repository: *718 + alert: *491 + installation: *721 + organization: *722 + enterprise: *720 + repository: *723 sender: *4 required: - action @@ -120458,11 +120871,11 @@ webhooks: type: string enum: - reintroduced - alert: *486 - installation: *716 - organization: *717 - enterprise: *715 - repository: *718 + alert: *491 + installation: *721 + organization: *722 + enterprise: *720 + repository: *723 sender: *4 required: - action @@ -120544,11 +120957,11 @@ webhooks: type: string enum: - reopened - alert: *486 - installation: *716 - organization: *717 - enterprise: *715 - repository: *718 + alert: *491 + installation: *721 + organization: *722 + enterprise: *720 + repository: *723 sender: *4 required: - action @@ -120625,9 +121038,9 @@ webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - key: &733 + enterprise: *720 + installation: *721 + key: &738 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -120665,8 +121078,8 @@ webhooks: - verified - created_at - read_only - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -120743,11 +121156,11 @@ webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - key: *733 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + key: *738 + organization: *722 + repository: *723 sender: *4 required: - action @@ -121319,12 +121732,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 - workflow: &737 + workflow: &742 title: Workflow type: - object @@ -122062,13 +122475,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *492 + deployment: *497 pull_requests: type: array - items: *574 - repository: *718 - organization: *717 - installation: *716 + items: *579 + repository: *723 + organization: *722 + installation: *721 sender: *4 responses: '200': @@ -122139,7 +122552,7 @@ webhooks: type: string enum: - approved - approver: &734 + approver: &739 type: object properties: avatar_url: @@ -122182,11 +122595,11 @@ webhooks: type: string comment: type: string - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - reviewers: &735 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + reviewers: &740 type: array items: type: object @@ -122267,7 +122680,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &736 + workflow_job_run: &741 type: object properties: conclusion: @@ -123013,18 +123426,18 @@ webhooks: type: string enum: - rejected - approver: *734 + approver: *739 comment: type: string - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - reviewers: *735 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + reviewers: *740 sender: *4 since: type: string - workflow_job_run: *736 + workflow_job_run: *741 workflow_job_runs: type: array items: @@ -123741,13 +124154,13 @@ webhooks: type: string enum: - requested - enterprise: *715 + enterprise: *720 environment: type: string - installation: *716 - organization: *717 - repository: *718 - requestor: &742 + installation: *721 + organization: *722 + repository: *723 + requestor: &747 title: User type: - object @@ -125690,12 +126103,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 - workflow: *737 + workflow: *742 workflow_run: title: Deployment Workflow Run type: @@ -126386,7 +126799,7 @@ webhooks: type: string enum: - answered - answer: &740 + answer: &745 type: object properties: author_association: @@ -126546,7 +126959,7 @@ webhooks: - created_at - updated_at - body - discussion: &738 + discussion: &743 title: Discussion description: A Discussion in a repository. type: object @@ -126842,7 +127255,7 @@ webhooks: - id labels: type: array - items: *537 + items: *542 required: - repository_url - category @@ -126864,10 +127277,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -126994,11 +127407,11 @@ webhooks: - from required: - category - discussion: *738 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *743 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -127081,11 +127494,11 @@ webhooks: type: string enum: - closed - discussion: *738 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *743 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -127167,7 +127580,7 @@ webhooks: type: string enum: - created - comment: &739 + comment: &744 type: object properties: author_association: @@ -127327,11 +127740,11 @@ webhooks: - updated_at - body - reactions - discussion: *738 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *743 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -127414,12 +127827,12 @@ webhooks: type: string enum: - deleted - comment: *739 - discussion: *738 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + comment: *744 + discussion: *743 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -127514,12 +127927,12 @@ webhooks: - from required: - body - comment: *739 - discussion: *738 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + comment: *744 + discussion: *743 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -127603,11 +128016,11 @@ webhooks: type: string enum: - created - discussion: *738 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *743 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -127689,11 +128102,11 @@ webhooks: type: string enum: - deleted - discussion: *738 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *743 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -127793,11 +128206,11 @@ webhooks: type: string required: - from - discussion: *738 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *743 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -127879,10 +128292,10 @@ webhooks: type: string enum: - labeled - discussion: *738 - enterprise: *715 - installation: *716 - label: &741 + discussion: *743 + enterprise: *720 + installation: *721 + label: &746 title: Label type: object properties: @@ -127915,8 +128328,8 @@ webhooks: - color - default - description - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -127999,11 +128412,11 @@ webhooks: type: string enum: - locked - discussion: *738 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *743 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -128085,11 +128498,11 @@ webhooks: type: string enum: - pinned - discussion: *738 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *743 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -128171,11 +128584,11 @@ webhooks: type: string enum: - reopened - discussion: *738 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *743 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -128260,16 +128673,16 @@ webhooks: changes: type: object properties: - new_discussion: *738 - new_repository: *718 + new_discussion: *743 + new_repository: *723 required: - new_discussion - new_repository - discussion: *738 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *743 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -128352,10 +128765,10 @@ webhooks: type: string enum: - unanswered - discussion: *738 - old_answer: *740 - organization: *717 - repository: *718 + discussion: *743 + old_answer: *745 + organization: *722 + repository: *723 sender: *4 required: - action @@ -128437,12 +128850,12 @@ webhooks: type: string enum: - unlabeled - discussion: *738 - enterprise: *715 - installation: *716 - label: *741 - organization: *717 - repository: *718 + discussion: *743 + enterprise: *720 + installation: *721 + label: *746 + organization: *722 + repository: *723 sender: *4 required: - action @@ -128525,11 +128938,11 @@ webhooks: type: string enum: - unlocked - discussion: *738 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *743 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -128611,11 +129024,11 @@ webhooks: type: string enum: - unpinned - discussion: *738 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *743 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -128688,7 +129101,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *715 + enterprise: *720 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -129366,9 +129779,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *716 - organization: *717 - repository: *718 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - forkee @@ -129514,9 +129927,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 pages: description: The pages that were updated. type: array @@ -129554,7 +129967,7 @@ webhooks: - action - sha - html_url - repository: *718 + repository: *723 sender: *4 required: - pages @@ -129630,10 +130043,10 @@ webhooks: type: string enum: - created - enterprise: *715 + enterprise: *720 installation: *20 - organization: *717 - repositories: &743 + organization: *722 + repositories: &748 description: An array of repository objects that the installation can access. type: array @@ -129659,8 +130072,8 @@ webhooks: - name - full_name - private - repository: *718 - requester: *742 + repository: *723 + requester: *747 sender: *4 required: - action @@ -129735,11 +130148,11 @@ webhooks: type: string enum: - deleted - enterprise: *715 + enterprise: *720 installation: *20 - organization: *717 - repositories: *743 - repository: *718 + organization: *722 + repositories: *748 + repository: *723 requester: type: - 'null' @@ -129816,11 +130229,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *715 + enterprise: *720 installation: *20 - organization: *717 - repositories: *743 - repository: *718 + organization: *722 + repositories: *748 + repository: *723 requester: type: - 'null' @@ -129897,10 +130310,10 @@ webhooks: type: string enum: - added - enterprise: *715 + enterprise: *720 installation: *20 - organization: *717 - repositories_added: &744 + organization: *722 + repositories_added: &749 description: An array of repository objects, which were added to the installation. type: array @@ -129946,15 +130359,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *718 - repository_selection: &745 + repository: *723 + repository_selection: &750 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *742 + requester: *747 sender: *4 required: - action @@ -130033,10 +130446,10 @@ webhooks: type: string enum: - removed - enterprise: *715 + enterprise: *720 installation: *20 - organization: *717 - repositories_added: *744 + organization: *722 + repositories_added: *749 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -130063,9 +130476,9 @@ webhooks: - name - full_name - private - repository: *718 - repository_selection: *745 - requester: *742 + repository: *723 + repository_selection: *750 + requester: *747 sender: *4 required: - action @@ -130144,11 +130557,11 @@ webhooks: type: string enum: - suspend - enterprise: *715 + enterprise: *720 installation: *20 - organization: *717 - repositories: *743 - repository: *718 + organization: *722 + repositories: *748 + repository: *723 requester: type: - 'null' @@ -130331,10 +130744,10 @@ webhooks: type: string required: - from - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 target_type: type: string @@ -130413,11 +130826,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *715 + enterprise: *720 installation: *20 - organization: *717 - repositories: *743 - repository: *718 + organization: *722 + repositories: *748 + repository: *723 requester: type: - 'null' @@ -130665,8 +131078,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -131856,8 +132269,8 @@ webhooks: - state - locked - assignee - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -131937,7 +132350,7 @@ webhooks: type: string enum: - deleted - comment: &746 + comment: &751 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -132104,8 +132517,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -133293,8 +133706,8 @@ webhooks: - state - locked - assignee - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -133374,7 +133787,7 @@ webhooks: type: string enum: - edited - changes: &771 + changes: &776 description: The changes to the comment. type: object properties: @@ -133386,9 +133799,9 @@ webhooks: type: string required: - from - comment: *746 - enterprise: *715 - installation: *716 + comment: *751 + enterprise: *720 + installation: *721 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -134577,8 +134990,8 @@ webhooks: - state - locked - assignee - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -134660,10 +135073,10 @@ webhooks: type: string enum: - assigned - assignee: *742 - enterprise: *715 - installation: *716 - issue: &749 + assignee: *747 + enterprise: *720 + installation: *721 + issue: &754 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -135607,8 +136020,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -135688,8 +136101,8 @@ webhooks: type: string enum: - closed - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -136781,8 +137194,8 @@ webhooks: required: - state - closed_at - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -136861,8 +137274,8 @@ webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137799,8 +138212,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -137879,8 +138292,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -138821,7 +139234,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &747 + milestone: &752 title: Milestone description: A collection of related issues and pull requests. type: object @@ -138964,8 +139377,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -139064,8 +139477,8 @@ webhooks: type: string required: - from - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140009,9 +140422,9 @@ webhooks: - active_lock_reason - body - reactions - label: *741 - organization: *717 - repository: *718 + label: *746 + organization: *722 + repository: *723 sender: *4 required: - action @@ -140091,8 +140504,8 @@ webhooks: type: string enum: - labeled - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141035,9 +141448,9 @@ webhooks: - active_lock_reason - body - reactions - label: *741 - organization: *717 - repository: *718 + label: *746 + organization: *722 + repository: *723 sender: *4 required: - action @@ -141117,8 +141530,8 @@ webhooks: type: string enum: - locked - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142063,8 +142476,8 @@ webhooks: format: uri user_view_type: type: string - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -142143,8 +142556,8 @@ webhooks: type: string enum: - milestoned - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143083,9 +143496,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *747 - organization: *717 - repository: *718 + milestone: *752 + organization: *722 + repository: *723 sender: *4 required: - action @@ -144585,8 +144998,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -145529,8 +145942,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -145610,9 +146023,9 @@ webhooks: type: string enum: - pinned - enterprise: *715 - installation: *716 - issue: &748 + enterprise: *720 + installation: *721 + issue: &753 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -146549,8 +146962,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -146629,8 +147042,8 @@ webhooks: type: string enum: - reopened - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147574,8 +147987,8 @@ webhooks: format: uri user_view_type: type: string - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -149075,11 +149488,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *715 - installation: *716 - issue: *748 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + issue: *753 + organization: *722 + repository: *723 sender: *4 required: - action @@ -149160,7 +149573,7 @@ webhooks: type: string enum: - unassigned - assignee: &774 + assignee: &779 title: User type: - object @@ -149232,11 +149645,11 @@ webhooks: required: - login - id - enterprise: *715 - installation: *716 - issue: *749 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + issue: *754 + organization: *722 + repository: *723 sender: *4 required: - action @@ -149315,12 +149728,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *715 - installation: *716 - issue: *749 - label: *741 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + issue: *754 + label: *746 + organization: *722 + repository: *723 sender: *4 required: - action @@ -149400,8 +149813,8 @@ webhooks: type: string enum: - unlocked - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150344,8 +150757,8 @@ webhooks: format: uri user_view_type: type: string - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -150425,11 +150838,11 @@ webhooks: type: string enum: - unpinned - enterprise: *715 - installation: *716 - issue: *748 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + issue: *753 + organization: *722 + repository: *723 sender: *4 required: - action @@ -150508,11 +150921,11 @@ webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - label: *741 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + label: *746 + organization: *722 + repository: *723 sender: *4 required: - action @@ -150590,11 +151003,11 @@ webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - label: *741 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + label: *746 + organization: *722 + repository: *723 sender: *4 required: - action @@ -150704,11 +151117,11 @@ webhooks: type: string required: - from - enterprise: *715 - installation: *716 - label: *741 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + label: *746 + organization: *722 + repository: *723 sender: *4 required: - action @@ -150790,9 +151203,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *715 - installation: *716 - marketplace_purchase: &750 + enterprise: *720 + installation: *721 + marketplace_purchase: &755 title: Marketplace Purchase type: object required: @@ -150880,8 +151293,8 @@ webhooks: type: integer unit_count: type: integer - organization: *717 - previous_marketplace_purchase: &751 + organization: *722 + previous_marketplace_purchase: &756 title: Marketplace Purchase type: object properties: @@ -150965,7 +151378,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *718 + repository: *723 sender: *4 required: - action @@ -151045,10 +151458,10 @@ webhooks: - changed effective_date: type: string - enterprise: *715 - installation: *716 - marketplace_purchase: *750 - organization: *717 + enterprise: *720 + installation: *721 + marketplace_purchase: *755 + organization: *722 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -151136,7 +151549,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *718 + repository: *723 sender: *4 required: - action @@ -151218,10 +151631,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *715 - installation: *716 - marketplace_purchase: *750 - organization: *717 + enterprise: *720 + installation: *721 + marketplace_purchase: *755 + organization: *722 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -151307,7 +151720,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *718 + repository: *723 sender: *4 required: - action @@ -151388,8 +151801,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 marketplace_purchase: title: Marketplace Purchase type: object @@ -151475,9 +151888,9 @@ webhooks: type: integer unit_count: type: integer - organization: *717 - previous_marketplace_purchase: *751 - repository: *718 + organization: *722 + previous_marketplace_purchase: *756 + repository: *723 sender: *4 required: - action @@ -151557,12 +151970,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *715 - installation: *716 - marketplace_purchase: *750 - organization: *717 - previous_marketplace_purchase: *751 - repository: *718 + enterprise: *720 + installation: *721 + marketplace_purchase: *755 + organization: *722 + previous_marketplace_purchase: *756 + repository: *723 sender: *4 required: - action @@ -151664,11 +152077,11 @@ webhooks: type: string required: - to - enterprise: *715 - installation: *716 - member: *742 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + member: *747 + organization: *722 + repository: *723 sender: *4 required: - action @@ -151770,11 +152183,11 @@ webhooks: type: - string - 'null' - enterprise: *715 - installation: *716 - member: *742 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + member: *747 + organization: *722 + repository: *723 sender: *4 required: - action @@ -151853,11 +152266,11 @@ webhooks: type: string enum: - removed - enterprise: *715 - installation: *716 - member: *742 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + member: *747 + organization: *722 + repository: *723 sender: *4 required: - action @@ -151935,11 +152348,11 @@ webhooks: type: string enum: - added - enterprise: *715 - installation: *716 - member: *742 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + member: *747 + organization: *722 + repository: *723 scope: description: The scope of the membership. Currently, can only be `team`. @@ -152017,7 +152430,7 @@ webhooks: required: - login - id - team: &752 + team: &757 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -152210,11 +152623,11 @@ webhooks: type: string enum: - removed - enterprise: *715 - installation: *716 - member: *742 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + member: *747 + organization: *722 + repository: *723 scope: description: The scope of the membership. Currently, can only be `team`. @@ -152293,7 +152706,7 @@ webhooks: required: - login - id - team: *752 + team: *757 required: - action - scope @@ -152375,8 +152788,8 @@ webhooks: type: string enum: - checks_requested - installation: *716 - merge_group: &753 + installation: *721 + merge_group: &758 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -152395,15 +152808,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *426 + head_commit: *431 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -152489,10 +152902,10 @@ webhooks: - merged - invalidated - dequeued - installation: *716 - merge_group: *753 - organization: *717 - repository: *718 + installation: *721 + merge_group: *758 + organization: *722 + repository: *723 sender: *4 required: - action @@ -152565,7 +152978,7 @@ webhooks: type: string enum: - deleted - enterprise: *715 + enterprise: *720 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -152673,12 +153086,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *716 - organization: *717 + installation: *721 + organization: *722 repository: anyOf: - type: 'null' - - *718 + - *723 sender: *4 required: - action @@ -152758,11 +153171,11 @@ webhooks: type: string enum: - closed - enterprise: *715 - installation: *716 - milestone: *747 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + milestone: *752 + organization: *722 + repository: *723 sender: *4 required: - action @@ -152841,9 +153254,9 @@ webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - milestone: &754 + enterprise: *720 + installation: *721 + milestone: &759 title: Milestone description: A collection of related issues and pull requests. type: object @@ -152985,8 +153398,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -153065,11 +153478,11 @@ webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - milestone: *747 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + milestone: *752 + organization: *722 + repository: *723 sender: *4 required: - action @@ -153179,11 +153592,11 @@ webhooks: type: string required: - from - enterprise: *715 - installation: *716 - milestone: *747 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + milestone: *752 + organization: *722 + repository: *723 sender: *4 required: - action @@ -153263,11 +153676,11 @@ webhooks: type: string enum: - opened - enterprise: *715 - installation: *716 - milestone: *754 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + milestone: *759 + organization: *722 + repository: *723 sender: *4 required: - action @@ -153346,11 +153759,11 @@ webhooks: type: string enum: - blocked - blocked_user: *742 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + blocked_user: *747 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -153429,11 +153842,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *742 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + blocked_user: *747 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -153512,9 +153925,9 @@ webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - membership: &755 + enterprise: *720 + installation: *721 + membership: &760 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -153608,8 +154021,8 @@ webhooks: - role - organization_url - user - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -153687,11 +154100,11 @@ webhooks: type: string enum: - member_added - enterprise: *715 - installation: *716 - membership: *755 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + membership: *760 + organization: *722 + repository: *723 sender: *4 required: - action @@ -153770,8 +154183,8 @@ webhooks: type: string enum: - member_invited - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -153893,10 +154306,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 - user: *742 + user: *747 required: - action - invitation @@ -153974,11 +154387,11 @@ webhooks: type: string enum: - member_removed - enterprise: *715 - installation: *716 - membership: *755 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + membership: *760 + organization: *722 + repository: *723 sender: *4 required: - action @@ -154065,11 +154478,11 @@ webhooks: properties: from: type: string - enterprise: *715 - installation: *716 - membership: *755 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + membership: *760 + organization: *722 + repository: *723 sender: *4 required: - action @@ -154145,9 +154558,9 @@ webhooks: type: string enum: - published - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 package: description: Information about the package. type: object @@ -154670,7 +155083,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &756 + items: &761 title: Ruby Gems metadata type: object properties: @@ -154767,7 +155180,7 @@ webhooks: - owner - package_version - registry - repository: *718 + repository: *723 sender: *4 required: - action @@ -154843,9 +155256,9 @@ webhooks: type: string enum: - updated - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 package: description: Information about the package. type: object @@ -155207,7 +155620,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *756 + items: *761 source_url: type: string format: uri @@ -155278,7 +155691,7 @@ webhooks: - owner - package_version - registry - repository: *718 + repository: *723 sender: *4 required: - action @@ -155459,12 +155872,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *715 + enterprise: *720 id: type: integer - installation: *716 - organization: *717 - repository: *718 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - id @@ -155544,7 +155957,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &757 + personal_access_token_request: &762 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -155694,10 +156107,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *715 - organization: *717 + enterprise: *720 + organization: *722 sender: *4 - installation: *716 + installation: *721 required: - action - personal_access_token_request @@ -155776,11 +156189,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *757 - enterprise: *715 - organization: *717 + personal_access_token_request: *762 + enterprise: *720 + organization: *722 sender: *4 - installation: *716 + installation: *721 required: - action - personal_access_token_request @@ -155858,11 +156271,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *757 - enterprise: *715 - organization: *717 + personal_access_token_request: *762 + enterprise: *720 + organization: *722 sender: *4 - installation: *716 + installation: *721 required: - action - personal_access_token_request @@ -155939,11 +156352,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *757 - organization: *717 - enterprise: *715 + personal_access_token_request: *762 + organization: *722 + enterprise: *720 sender: *4 - installation: *716 + installation: *721 required: - action - personal_access_token_request @@ -156047,7 +156460,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *758 + last_response: *763 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -156079,8 +156492,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 zen: description: Random string of GitHub zen. @@ -156325,10 +156738,10 @@ webhooks: - from required: - note - enterprise: *715 - installation: *716 - organization: *717 - project_card: &759 + enterprise: *720 + installation: *721 + organization: *722 + project_card: &764 title: Project Card type: object properties: @@ -156451,7 +156864,7 @@ webhooks: - creator - created_at - updated_at - repository: *718 + repository: *723 sender: *4 required: - action @@ -156532,11 +156945,11 @@ webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - project_card: *759 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + project_card: *764 + repository: *723 sender: *4 required: - action @@ -156616,9 +157029,9 @@ webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 project_card: title: Project Card type: object @@ -156748,7 +157161,7 @@ webhooks: repository: anyOf: - type: 'null' - - *718 + - *723 sender: *4 required: - action @@ -156842,11 +157255,11 @@ webhooks: - from required: - note - enterprise: *715 - installation: *716 - organization: *717 - project_card: *759 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + project_card: *764 + repository: *723 sender: *4 required: - action @@ -156940,9 +157353,9 @@ webhooks: - from required: - column_id - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 project_card: allOf: - title: Project Card @@ -157139,7 +157552,7 @@ webhooks: type: string required: - after_id - repository: *718 + repository: *723 sender: *4 required: - action @@ -157219,10 +157632,10 @@ webhooks: type: string enum: - closed - enterprise: *715 - installation: *716 - organization: *717 - project: &761 + enterprise: *720 + installation: *721 + organization: *722 + project: &766 title: Project type: object properties: @@ -157349,7 +157762,7 @@ webhooks: - creator - created_at - updated_at - repository: *718 + repository: *723 sender: *4 required: - action @@ -157429,10 +157842,10 @@ webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - project_column: &760 + enterprise: *720 + installation: *721 + organization: *722 + project_column: &765 title: Project Column type: object properties: @@ -157472,7 +157885,7 @@ webhooks: - name - created_at - updated_at - repository: *718 + repository: *723 sender: *4 required: - action @@ -157551,14 +157964,14 @@ webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 - project_column: *760 + enterprise: *720 + installation: *721 + organization: *722 + project_column: *765 repository: anyOf: - type: 'null' - - *718 + - *723 sender: *4 required: - action @@ -157647,11 +158060,11 @@ webhooks: type: string required: - from - enterprise: *715 - installation: *716 - organization: *717 - project_column: *760 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + project_column: *765 + repository: *723 sender: *4 required: - action @@ -157731,11 +158144,11 @@ webhooks: type: string enum: - moved - enterprise: *715 - installation: *716 - organization: *717 - project_column: *760 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + project_column: *765 + repository: *723 sender: *4 required: - action @@ -157815,11 +158228,11 @@ webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - project: *761 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + project: *766 + repository: *723 sender: *4 required: - action @@ -157899,14 +158312,14 @@ webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 - project: *761 + enterprise: *720 + installation: *721 + organization: *722 + project: *766 repository: anyOf: - type: 'null' - - *718 + - *723 sender: *4 required: - action @@ -158007,11 +158420,11 @@ webhooks: type: string required: - from - enterprise: *715 - installation: *716 - organization: *717 - project: *761 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + project: *766 + repository: *723 sender: *4 required: - action @@ -158090,11 +158503,11 @@ webhooks: type: string enum: - reopened - enterprise: *715 - installation: *716 - organization: *717 - project: *761 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + project: *766 + repository: *723 sender: *4 required: - action @@ -158175,9 +158588,9 @@ webhooks: type: string enum: - closed - installation: *716 - organization: *717 - projects_v2: &762 + installation: *721 + organization: *722 + projects_v2: &767 title: Projects v2 Project description: A projects v2 project type: object @@ -158325,9 +158738,9 @@ webhooks: type: string enum: - created - installation: *716 - organization: *717 - projects_v2: *762 + installation: *721 + organization: *722 + projects_v2: *767 sender: *4 required: - action @@ -158408,9 +158821,9 @@ webhooks: type: string enum: - deleted - installation: *716 - organization: *717 - projects_v2: *762 + installation: *721 + organization: *722 + projects_v2: *767 sender: *4 required: - action @@ -158531,9 +158944,9 @@ webhooks: type: string to: type: string - installation: *716 - organization: *717 - projects_v2: *762 + installation: *721 + organization: *722 + projects_v2: *767 sender: *4 required: - action @@ -158616,7 +159029,7 @@ webhooks: type: string enum: - archived - changes: &766 + changes: &771 type: object properties: archived_at: @@ -158632,9 +159045,9 @@ webhooks: - string - 'null' format: date-time - installation: *716 - organization: *717 - projects_v2_item: &763 + installation: *721 + organization: *722 + projects_v2_item: &768 title: Projects v2 Item description: An item belonging to a project type: object @@ -158773,9 +159186,9 @@ webhooks: - 'null' to: type: string - installation: *716 - organization: *717 - projects_v2_item: *763 + installation: *721 + organization: *722 + projects_v2_item: *768 sender: *4 required: - action @@ -158857,9 +159270,9 @@ webhooks: type: string enum: - created - installation: *716 - organization: *717 - projects_v2_item: *763 + installation: *721 + organization: *722 + projects_v2_item: *768 sender: *4 required: - action @@ -158940,9 +159353,9 @@ webhooks: type: string enum: - deleted - installation: *716 - organization: *717 - projects_v2_item: *763 + installation: *721 + organization: *722 + projects_v2_item: *768 sender: *4 required: - action @@ -159047,7 +159460,7 @@ webhooks: oneOf: - type: string - type: integer - - &764 + - &769 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -159067,7 +159480,7 @@ webhooks: required: - id - name - - &765 + - &770 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -159096,8 +159509,8 @@ webhooks: oneOf: - type: string - type: integer - - *764 - - *765 + - *769 + - *770 type: - 'null' - string @@ -159120,9 +159533,9 @@ webhooks: - 'null' required: - body - installation: *716 - organization: *717 - projects_v2_item: *763 + installation: *721 + organization: *722 + projects_v2_item: *768 sender: *4 required: - action @@ -159219,9 +159632,9 @@ webhooks: type: - string - 'null' - installation: *716 - organization: *717 - projects_v2_item: *763 + installation: *721 + organization: *722 + projects_v2_item: *768 sender: *4 required: - action @@ -159304,10 +159717,10 @@ webhooks: type: string enum: - restored - changes: *766 - installation: *716 - organization: *717 - projects_v2_item: *763 + changes: *771 + installation: *721 + organization: *722 + projects_v2_item: *768 sender: *4 required: - action @@ -159389,9 +159802,9 @@ webhooks: type: string enum: - reopened - installation: *716 - organization: *717 - projects_v2: *762 + installation: *721 + organization: *722 + projects_v2: *767 sender: *4 required: - action @@ -159472,9 +159885,9 @@ webhooks: type: string enum: - created - installation: *716 - organization: *717 - projects_v2_status_update: &767 + installation: *721 + organization: *722 + projects_v2_status_update: &772 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -159609,9 +160022,9 @@ webhooks: type: string enum: - deleted - installation: *716 - organization: *717 - projects_v2_status_update: *767 + installation: *721 + organization: *722 + projects_v2_status_update: *772 sender: *4 required: - action @@ -159757,9 +160170,9 @@ webhooks: - string - 'null' format: date - installation: *716 - organization: *717 - projects_v2_status_update: *767 + installation: *721 + organization: *722 + projects_v2_status_update: *772 sender: *4 required: - action @@ -159830,10 +160243,10 @@ webhooks: title: public event type: object properties: - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - repository @@ -159910,13 +160323,13 @@ webhooks: type: string enum: - assigned - assignee: *742 - enterprise: *715 - installation: *716 - number: &768 + assignee: *747 + enterprise: *720 + installation: *721 + number: &773 description: The pull request number. type: integer - organization: *717 + organization: *722 pull_request: title: Pull Request type: object @@ -162265,7 +162678,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *723 sender: *4 required: - action @@ -162347,11 +162760,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 number: type: integer - organization: *717 + organization: *722 pull_request: title: Pull Request type: object @@ -164693,7 +165106,7 @@ webhooks: - draft reason: type: string - repository: *718 + repository: *723 sender: *4 required: - action @@ -164775,11 +165188,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 number: type: integer - organization: *717 + organization: *722 pull_request: title: Pull Request type: object @@ -167121,7 +167534,7 @@ webhooks: - draft reason: type: string - repository: *718 + repository: *723 sender: *4 required: - action @@ -167203,13 +167616,13 @@ webhooks: type: string enum: - closed - enterprise: *715 - installation: *716 - number: *768 - organization: *717 - pull_request: &769 + enterprise: *720 + installation: *721 + number: *773 + organization: *722 + pull_request: &774 allOf: - - *574 + - *579 - type: object properties: allow_auto_merge: @@ -167271,7 +167684,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *718 + repository: *723 sender: *4 required: - action @@ -167352,12 +167765,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *715 - installation: *716 - number: *768 - organization: *717 - pull_request: *769 - repository: *718 + enterprise: *720 + installation: *721 + number: *773 + organization: *722 + pull_request: *774 + repository: *723 sender: *4 required: - action @@ -167437,11 +167850,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *715 - milestone: *472 - number: *768 - organization: *717 - pull_request: &770 + enterprise: *720 + milestone: *477 + number: *773 + organization: *722 + pull_request: &775 title: Pull Request type: object properties: @@ -169768,7 +170181,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *723 sender: *4 required: - action @@ -169847,11 +170260,11 @@ webhooks: type: string enum: - dequeued - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 number: type: integer - organization: *717 + organization: *722 pull_request: title: Pull Request type: object @@ -172197,7 +172610,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *718 + repository: *723 sender: *4 required: - action @@ -172321,12 +172734,12 @@ webhooks: type: string required: - from - enterprise: *715 - installation: *716 - number: *768 - organization: *717 - pull_request: *769 - repository: *718 + enterprise: *720 + installation: *721 + number: *773 + organization: *722 + pull_request: *774 + repository: *723 sender: *4 required: - action @@ -172406,11 +172819,11 @@ webhooks: type: string enum: - enqueued - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 number: type: integer - organization: *717 + organization: *722 pull_request: title: Pull Request type: object @@ -174741,7 +175154,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *723 sender: *4 required: - action @@ -174821,11 +175234,11 @@ webhooks: type: string enum: - labeled - enterprise: *715 - installation: *716 - label: *741 - number: *768 - organization: *717 + enterprise: *720 + installation: *721 + label: *746 + number: *773 + organization: *722 pull_request: title: Pull Request type: object @@ -177173,7 +177586,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *723 sender: *4 required: - action @@ -177254,10 +177667,10 @@ webhooks: type: string enum: - locked - enterprise: *715 - installation: *716 - number: *768 - organization: *717 + enterprise: *720 + installation: *721 + number: *773 + organization: *722 pull_request: title: Pull Request type: object @@ -179603,7 +180016,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *723 sender: *4 required: - action @@ -179683,12 +180096,12 @@ webhooks: type: string enum: - milestoned - enterprise: *715 - milestone: *472 - number: *768 - organization: *717 - pull_request: *770 - repository: *718 + enterprise: *720 + milestone: *477 + number: *773 + organization: *722 + pull_request: *775 + repository: *723 sender: *4 required: - action @@ -179767,12 +180180,12 @@ webhooks: type: string enum: - opened - enterprise: *715 - installation: *716 - number: *768 - organization: *717 - pull_request: *769 - repository: *718 + enterprise: *720 + installation: *721 + number: *773 + organization: *722 + pull_request: *774 + repository: *723 sender: *4 required: - action @@ -179853,12 +180266,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *715 - installation: *716 - number: *768 - organization: *717 - pull_request: *769 - repository: *718 + enterprise: *720 + installation: *721 + number: *773 + organization: *722 + pull_request: *774 + repository: *723 sender: *4 required: - action @@ -179938,12 +180351,12 @@ webhooks: type: string enum: - reopened - enterprise: *715 - installation: *716 - number: *768 - organization: *717 - pull_request: *769 - repository: *718 + enterprise: *720 + installation: *721 + number: *773 + organization: *722 + pull_request: *774 + repository: *723 sender: *4 required: - action @@ -180318,9 +180731,9 @@ webhooks: - start_side - side - reactions - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 pull_request: type: object properties: @@ -182550,7 +182963,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *718 + repository: *723 sender: *4 required: - action @@ -182630,7 +183043,7 @@ webhooks: type: string enum: - deleted - comment: &772 + comment: &777 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -182923,9 +183336,9 @@ webhooks: - start_side - side - reactions - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 pull_request: type: object properties: @@ -185143,7 +185556,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *718 + repository: *723 sender: *4 required: - action @@ -185223,11 +185636,11 @@ webhooks: type: string enum: - edited - changes: *771 - comment: *772 - enterprise: *715 - installation: *716 - organization: *717 + changes: *776 + comment: *777 + enterprise: *720 + installation: *721 + organization: *722 pull_request: type: object properties: @@ -187448,7 +187861,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *718 + repository: *723 sender: *4 required: - action @@ -187529,9 +187942,9 @@ webhooks: type: string enum: - dismissed - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 pull_request: title: Simple Pull Request type: object @@ -189764,7 +190177,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *718 + repository: *723 review: description: The review that was affected. type: object @@ -190010,9 +190423,9 @@ webhooks: type: string required: - from - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 pull_request: title: Simple Pull Request type: object @@ -192126,8 +192539,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *718 - review: &773 + repository: *723 + review: &778 description: The review that was affected. type: object properties: @@ -192360,12 +192773,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 number: description: The pull request number. type: integer - organization: *717 + organization: *722 pull_request: title: Pull Request type: object @@ -194712,7 +195125,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *723 requested_reviewer: title: User type: @@ -194798,12 +195211,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 number: description: The pull request number. type: integer - organization: *717 + organization: *722 pull_request: title: Pull Request type: object @@ -197157,7 +197570,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *723 requested_team: title: Team description: Groups of organization members that gives permissions @@ -197352,12 +197765,12 @@ webhooks: type: string enum: - review_requested - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 number: description: The pull request number. type: integer - organization: *717 + organization: *722 pull_request: title: Pull Request type: object @@ -199706,7 +200119,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *723 requested_reviewer: title: User type: @@ -199793,12 +200206,12 @@ webhooks: type: string enum: - review_requested - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 number: description: The pull request number. type: integer - organization: *717 + organization: *722 pull_request: title: Pull Request type: object @@ -202138,7 +202551,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *723 requested_team: title: Team description: Groups of organization members that gives permissions @@ -202322,9 +202735,9 @@ webhooks: type: string enum: - submitted - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 pull_request: title: Simple Pull Request type: object @@ -204560,8 +204973,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *718 - review: *773 + repository: *723 + review: *778 sender: *4 required: - action @@ -204641,9 +205054,9 @@ webhooks: type: string enum: - resolved - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 pull_request: title: Simple Pull Request type: object @@ -206774,7 +207187,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *718 + repository: *723 sender: *4 thread: type: object @@ -207166,9 +207579,9 @@ webhooks: type: string enum: - unresolved - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 pull_request: title: Simple Pull Request type: object @@ -209282,7 +209695,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *718 + repository: *723 sender: *4 thread: type: object @@ -209676,10 +210089,10 @@ webhooks: type: string before: type: string - enterprise: *715 - installation: *716 - number: *768 - organization: *717 + enterprise: *720 + installation: *721 + number: *773 + organization: *722 pull_request: title: Pull Request type: object @@ -212014,7 +212427,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *723 sender: *4 required: - action @@ -212096,11 +212509,11 @@ webhooks: type: string enum: - unassigned - assignee: *774 - enterprise: *715 - installation: *716 - number: *768 - organization: *717 + assignee: *779 + enterprise: *720 + installation: *721 + number: *773 + organization: *722 pull_request: title: Pull Request type: object @@ -214450,7 +214863,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *723 sender: *4 required: - action @@ -214529,11 +214942,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *715 - installation: *716 - label: *741 - number: *768 - organization: *717 + enterprise: *720 + installation: *721 + label: *746 + number: *773 + organization: *722 pull_request: title: Pull Request type: object @@ -216872,7 +217285,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *723 sender: *4 required: - action @@ -216953,10 +217366,10 @@ webhooks: type: string enum: - unlocked - enterprise: *715 - installation: *716 - number: *768 - organization: *717 + enterprise: *720 + installation: *721 + number: *773 + organization: *722 pull_request: title: Pull Request type: object @@ -219285,7 +219698,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *723 sender: *4 required: - action @@ -219488,7 +219901,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *715 + enterprise: *720 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -219583,8 +219996,8 @@ webhooks: - url - author - committer - installation: *716 - organization: *717 + installation: *721 + organization: *722 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -220172,9 +220585,9 @@ webhooks: type: string enum: - published - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 registry_package: type: object properties: @@ -220651,7 +221064,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *756 + items: *761 summary: type: string tag_name: @@ -220707,7 +221120,7 @@ webhooks: - owner - package_version - registry - repository: *718 + repository: *723 sender: *4 required: - action @@ -220785,9 +221198,9 @@ webhooks: type: string enum: - updated - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 registry_package: type: object properties: @@ -221099,7 +221512,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *756 + items: *761 summary: type: string tag_name: @@ -221149,7 +221562,7 @@ webhooks: - owner - package_version - registry - repository: *718 + repository: *723 sender: *4 required: - action @@ -221226,10 +221639,10 @@ webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - release: &775 + enterprise: *720 + installation: *721 + organization: *722 + release: &780 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -221545,7 +221958,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *718 + repository: *723 sender: *4 required: - action @@ -221622,11 +222035,11 @@ webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 - release: *775 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + release: *780 + repository: *723 sender: *4 required: - action @@ -221734,11 +222147,11 @@ webhooks: type: boolean required: - to - enterprise: *715 - installation: *716 - organization: *717 - release: *775 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + release: *780 + repository: *723 sender: *4 required: - action @@ -221816,9 +222229,9 @@ webhooks: type: string enum: - prereleased - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -222139,7 +222552,7 @@ webhooks: - string - 'null' format: uri - repository: *718 + repository: *723 sender: *4 required: - action @@ -222215,10 +222628,10 @@ webhooks: type: string enum: - published - enterprise: *715 - installation: *716 - organization: *717 - release: &776 + enterprise: *720 + installation: *721 + organization: *722 + release: &781 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -222536,7 +222949,7 @@ webhooks: - string - 'null' format: uri - repository: *718 + repository: *723 sender: *4 required: - action @@ -222612,11 +223025,11 @@ webhooks: type: string enum: - released - enterprise: *715 - installation: *716 - organization: *717 - release: *775 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + release: *780 + repository: *723 sender: *4 required: - action @@ -222692,11 +223105,11 @@ webhooks: type: string enum: - unpublished - enterprise: *715 - installation: *716 - organization: *717 - release: *776 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + release: *781 + repository: *723 sender: *4 required: - action @@ -222772,11 +223185,11 @@ webhooks: type: string enum: - published - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - repository_advisory: *627 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + repository_advisory: *632 sender: *4 required: - action @@ -222852,11 +223265,11 @@ webhooks: type: string enum: - reported - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - repository_advisory: *627 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + repository_advisory: *632 sender: *4 required: - action @@ -222932,10 +223345,10 @@ webhooks: type: string enum: - archived - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -223012,10 +223425,10 @@ webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -223093,10 +223506,10 @@ webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -223181,10 +223594,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -223299,10 +223712,10 @@ webhooks: - 'null' items: type: string - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -223374,10 +223787,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 status: type: string @@ -223458,10 +223871,10 @@ webhooks: type: string enum: - privatized - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -223538,10 +223951,10 @@ webhooks: type: string enum: - publicized - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -223635,10 +224048,10 @@ webhooks: - name required: - repository - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -223718,11 +224131,11 @@ webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - repository_ruleset: *122 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + repository_ruleset: *124 sender: *4 required: - action @@ -223800,11 +224213,11 @@ webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - repository_ruleset: *122 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + repository_ruleset: *124 sender: *4 required: - action @@ -223882,11 +224295,11 @@ webhooks: type: string enum: - edited - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - repository_ruleset: *122 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + repository_ruleset: *124 changes: type: object properties: @@ -223905,16 +224318,16 @@ webhooks: properties: added: type: array - items: *115 + items: *117 deleted: type: array - items: *115 + items: *117 updated: type: array items: type: object properties: - condition: *115 + condition: *117 changes: type: object properties: @@ -223947,16 +224360,16 @@ webhooks: properties: added: type: array - items: *121 + items: *123 deleted: type: array - items: *121 + items: *123 updated: type: array items: type: object properties: - rule: *121 + rule: *123 changes: type: object properties: @@ -224193,10 +224606,10 @@ webhooks: - from required: - owner - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -224274,10 +224687,10 @@ webhooks: type: string enum: - unarchived - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -224355,7 +224768,7 @@ webhooks: type: string enum: - create - alert: &777 + alert: &782 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -224479,10 +224892,10 @@ webhooks: type: string enum: - open - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -224692,10 +225105,10 @@ webhooks: type: string enum: - dismissed - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -224773,11 +225186,11 @@ webhooks: type: string enum: - reopen - alert: *777 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + alert: *782 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -224979,10 +225392,10 @@ webhooks: enum: - fixed - open - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -225060,17 +225473,17 @@ webhooks: type: string enum: - created - alert: &778 + alert: &783 type: object properties: - number: *94 - created_at: *101 + number: *96 + created_at: *103 updated_at: anyOf: - type: 'null' - - *102 - url: *99 - html_url: *100 + - *104 + url: *101 + html_url: *102 locations_url: type: string format: uri @@ -225170,10 +225583,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -225254,11 +225667,11 @@ webhooks: type: string enum: - created - alert: *778 - installation: *716 - location: *779 - organization: *717 - repository: *718 + alert: *783 + installation: *721 + location: *784 + organization: *722 + repository: *723 sender: *4 required: - location @@ -225496,11 +225909,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *778 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + alert: *783 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -225578,11 +225991,11 @@ webhooks: type: string enum: - reopened - alert: *778 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + alert: *783 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -225660,11 +226073,11 @@ webhooks: type: string enum: - resolved - alert: *778 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + alert: *783 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -225742,11 +226155,11 @@ webhooks: type: string enum: - validated - alert: *778 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + alert: *783 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -225876,10 +226289,10 @@ webhooks: - organization - enterprise - - repository: *718 - enterprise: *715 - installation: *716 - organization: *717 + repository: *723 + enterprise: *720 + installation: *721 + organization: *722 sender: *4 required: - action @@ -225957,11 +226370,11 @@ webhooks: type: string enum: - published - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - security_advisory: &780 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + security_advisory: &785 description: The details of the security advisory, including summary, description, and severity. type: object @@ -225978,7 +226391,7 @@ webhooks: required: - vector_string - score - cvss_severities: *96 + cvss_severities: *98 cwes: type: array items: @@ -226147,11 +226560,11 @@ webhooks: type: string enum: - updated - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - security_advisory: *780 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + security_advisory: *785 sender: *4 required: - action @@ -226224,10 +226637,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -226245,7 +226658,7 @@ webhooks: required: - vector_string - score - cvss_severities: *96 + cvss_severities: *98 cwes: type: array items: @@ -226413,11 +226826,11 @@ webhooks: from: type: object properties: - security_and_analysis: *305 - enterprise: *715 - installation: *716 - organization: *717 - repository: *365 + security_and_analysis: *308 + enterprise: *720 + installation: *721 + organization: *722 + repository: *370 sender: *4 required: - changes @@ -226495,12 +226908,12 @@ webhooks: type: string enum: - cancelled - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 - sponsorship: &781 + sponsorship: &786 type: object properties: created_at: @@ -226805,12 +227218,12 @@ webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 - sponsorship: *781 + sponsorship: *786 required: - action - sponsorship @@ -226898,12 +227311,12 @@ webhooks: type: string required: - from - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 - sponsorship: *781 + sponsorship: *786 required: - action - changes @@ -226980,17 +227393,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &782 + effective_date: &787 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 - sponsorship: *781 + sponsorship: *786 required: - action - sponsorship @@ -227064,7 +227477,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &783 + changes: &788 type: object properties: tier: @@ -227108,13 +227521,13 @@ webhooks: - from required: - tier - effective_date: *782 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + effective_date: *787 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 - sponsorship: *781 + sponsorship: *786 required: - action - changes @@ -227191,13 +227604,13 @@ webhooks: type: string enum: - tier_changed - changes: *783 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + changes: *788 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 - sponsorship: *781 + sponsorship: *786 required: - action - changes @@ -227271,10 +227684,10 @@ webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -227358,10 +227771,10 @@ webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -227795,15 +228208,15 @@ webhooks: type: - string - 'null' - enterprise: *715 + enterprise: *720 id: description: The unique identifier of the status. type: integer - installation: *716 + installation: *721 name: type: string - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 sha: description: The Commit SHA. @@ -227913,15 +228326,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *145 + parent_issue: *148 parent_issue_repo: *61 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *145 - installation: *716 - organization: *717 - repository: *718 + sub_issue: *148 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -228005,15 +228418,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *145 + parent_issue: *148 parent_issue_repo: *61 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *145 - installation: *716 - organization: *717 - repository: *718 + sub_issue: *148 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -228097,15 +228510,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *145 + sub_issue: *148 sub_issue_repo: *61 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *145 - installation: *716 - organization: *717 - repository: *718 + parent_issue: *148 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -228189,15 +228602,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *145 + sub_issue: *148 sub_issue_repo: *61 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *145 - installation: *716 - organization: *717 - repository: *718 + parent_issue: *148 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -228274,12 +228687,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 - team: &784 + team: &789 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -228472,9 +228885,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 repository: title: Repository description: A git repository @@ -228944,7 +229357,7 @@ webhooks: - topics - visibility sender: *4 - team: *784 + team: *789 required: - action - team @@ -229020,9 +229433,9 @@ webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 repository: title: Repository description: A git repository @@ -229492,7 +229905,7 @@ webhooks: - topics - visibility sender: *4 - team: *784 + team: *789 required: - action - team @@ -229569,9 +229982,9 @@ webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 repository: title: Repository description: A git repository @@ -230041,7 +230454,7 @@ webhooks: - topics - visibility sender: *4 - team: *784 + team: *789 required: - action - team @@ -230185,9 +230598,9 @@ webhooks: - from required: - permissions - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 repository: title: Repository description: A git repository @@ -230657,7 +231070,7 @@ webhooks: - topics - visibility sender: *4 - team: *784 + team: *789 required: - action - changes @@ -230735,9 +231148,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 repository: title: Repository description: A git repository @@ -231207,7 +231620,7 @@ webhooks: - topics - visibility sender: *4 - team: *784 + team: *789 required: - action - team @@ -231283,10 +231696,10 @@ webhooks: type: string enum: - started - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -231359,17 +231772,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *715 + enterprise: *720 inputs: type: - object - 'null' additionalProperties: true - installation: *716 - organization: *717 + installation: *721 + organization: *722 ref: type: string - repository: *718 + repository: *723 sender: *4 workflow: type: string @@ -231451,10 +231864,10 @@ webhooks: type: string enum: - completed - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 workflow_job: allOf: @@ -231710,7 +232123,7 @@ webhooks: type: string required: - conclusion - deployment: *492 + deployment: *497 required: - action - repository @@ -231789,10 +232202,10 @@ webhooks: type: string enum: - in_progress - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 workflow_job: allOf: @@ -232074,7 +232487,7 @@ webhooks: required: - status - steps - deployment: *492 + deployment: *497 required: - action - repository @@ -232153,10 +232566,10 @@ webhooks: type: string enum: - queued - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 workflow_job: type: object @@ -232302,7 +232715,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *492 + deployment: *497 required: - action - repository @@ -232381,10 +232794,10 @@ webhooks: type: string enum: - waiting - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 workflow_job: type: object @@ -232531,7 +232944,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *492 + deployment: *497 required: - action - repository @@ -232611,12 +233024,12 @@ webhooks: type: string enum: - completed - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 - workflow: *737 + workflow: *742 workflow_run: title: Workflow Run type: object @@ -233635,12 +234048,12 @@ webhooks: type: string enum: - in_progress - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 - workflow: *737 + workflow: *742 workflow_run: title: Workflow Run type: object @@ -234644,12 +235057,12 @@ webhooks: type: string enum: - requested - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 - workflow: *737 + workflow: *742 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index a7f667eb1..23f8b2fac 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -27181,6 +27181,17 @@ "examples": [ "\"2021-01-01T00:00:00.000-07:00\"" ] + }, + "user_dismissible": { + "type": [ + "boolean", + "null" + ], + "description": "Whether an announcement can be dismissed by the user.", + "default": false, + "examples": [ + false + ] } }, "required": [ @@ -27997,6 +28008,45 @@ "ssl_verify" ] }, + { + "title": "HecConfig", + "description": "Hec Config for Audit Log Stream Configuration", + "type": "object", + "properties": { + "domain": { + "description": "Domain of Hec instance.", + "type": "string" + }, + "port": { + "description": "The port number for connecting to HEC.", + "type": "integer" + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "encrypted_token": { + "description": "Encrypted Token.", + "type": "string" + }, + "path": { + "description": "Path to send events to.", + "type": "string" + }, + "ssl_verify": { + "description": "SSL verification helps ensure your events are sent to your HEC endpoint securely.", + "type": "boolean" + } + }, + "required": [ + "domain", + "encrypted_token", + "path", + "key_id", + "port", + "ssl_verify" + ] + }, { "title": "GoogleCloudConfig", "description": "Google Cloud Config for audit log streaming configuration.", @@ -28465,6 +28515,45 @@ "ssl_verify" ] }, + { + "title": "HecConfig", + "description": "Hec Config for Audit Log Stream Configuration", + "type": "object", + "properties": { + "domain": { + "description": "Domain of Hec instance.", + "type": "string" + }, + "port": { + "description": "The port number for connecting to HEC.", + "type": "integer" + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "encrypted_token": { + "description": "Encrypted Token.", + "type": "string" + }, + "path": { + "description": "Path to send events to.", + "type": "string" + }, + "ssl_verify": { + "description": "SSL verification helps ensure your events are sent to your HEC endpoint securely.", + "type": "boolean" + } + }, + "required": [ + "domain", + "encrypted_token", + "path", + "key_id", + "port", + "ssl_verify" + ] + }, { "title": "GoogleCloudConfig", "description": "Google Cloud Config for audit log streaming configuration.", @@ -48033,6 +48122,387 @@ } } }, + "/enterprises/{enterprise}/rulesets/{ruleset_id}/history": { + "get": { + "summary": "Get enterprise ruleset history", + "description": "Get the history of an enterprise ruleset.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-enterprise-ruleset-history", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-enterprise-ruleset-history" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Ruleset version", + "type": "object", + "description": "The historical version of a ruleset", + "required": [ + "version_id", + "actor", + "updated_at" + ], + "properties": { + "version_id": { + "type": "integer", + "description": "The ID of the previous version of the ruleset" + }, + "actor": { + "type": "object", + "description": "The actor who updated the ruleset", + "properties": { + "id": { + "type": "integer" + }, + "type": { + "type": "string" + } + } + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z" + }, + { + "version_id": 2, + "actor": { + "id": 2, + "type": "User" + }, + "updated_at": "2024-09-23T16:29:47Z" + }, + { + "version_id": 1, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-08-23T16:29:47Z" + } + ] + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "rules" + } + } + }, + "/enterprises/{enterprise}/rulesets/{ruleset_id}/history/{version_id}": { + "get": { + "summary": "Get enterprise ruleset version", + "description": "Get a version of an enterprise ruleset.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-enterprise-ruleset-version", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-enterprise-ruleset-version" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version_id", + "description": "The ID of the version", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "title": "Ruleset version", + "type": "object", + "description": "The historical version of a ruleset", + "required": [ + "version_id", + "actor", + "updated_at" + ], + "properties": { + "version_id": { + "type": "integer", + "description": "The ID of the previous version of the ruleset" + }, + "actor": { + "type": "object", + "description": "The actor who updated the ruleset", + "properties": { + "id": { + "type": "integer" + }, + "type": { + "type": "string" + } + } + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + } + }, + { + "type": "object", + "required": [ + "state" + ], + "properties": { + "state": { + "type": "object", + "description": "The state of the ruleset version" + } + } + } + ] + }, + "examples": { + "default": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z", + "state": { + "id": 21, + "name": "super cool ruleset", + "target": "repository", + "source_type": "Enterprise", + "source": "my-enterprise", + "enforcement": "active", + "conditions": { + "organization_name": { + "include": [ + "important_organization" + ] + }, + "repository_name": { + "include": [ + "~ALL" + ] + } + }, + "rules": [ + { + "type": "repository_delete" + } + ] + } + } + ] + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "rules" + } + } + }, "/enterprises/{enterprise}/secret-scanning/alerts": { "get": { "summary": "List secret scanning alerts for an enterprise", @@ -101142,6 +101612,17 @@ "examples": [ "\"2021-01-01T00:00:00.000-07:00\"" ] + }, + "user_dismissible": { + "type": [ + "boolean", + "null" + ], + "description": "Whether an announcement can be dismissed by the user.", + "default": false, + "examples": [ + false + ] } }, "required": [ @@ -183000,23 +183481,298 @@ } } } - }, - "delete": { - "summary": "Delete an organization repository ruleset", - "description": "Delete a ruleset for an organization.", + }, + "delete": { + "summary": "Delete an organization repository ruleset", + "description": "Delete a ruleset for an organization.", + "tags": [ + "repos" + ], + "operationId": "repos/delete-org-ruleset", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#delete-an-organization-repository-ruleset" + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "rules" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "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" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + } + } + }, + "/orgs/{org}/rulesets/{ruleset_id}/history": { + "get": { + "summary": "Get organization ruleset history", + "description": "Get the history of an organization ruleset.", "tags": [ - "repos" + "orgs" ], - "operationId": "repos/delete-org-ruleset", + "operationId": "orgs/get-org-ruleset-history", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#delete-an-organization-repository-ruleset" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-history" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Ruleset version", + "type": "object", + "description": "The historical version of a ruleset", + "required": [ + "version_id", + "actor", + "updated_at" + ], + "properties": { + "version_id": { + "type": "integer", + "description": "The ID of the previous version of the ruleset" + }, + "actor": { + "type": "object", + "description": "The actor who updated the ruleset", + "properties": { + "id": { + "type": "integer" + }, + "type": { + "type": "string" + } + } + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z" + }, + { + "version_id": 2, + "actor": { + "id": 2, + "type": "User" + }, + "updated_at": "2024-09-23T16:29:47Z" + }, + { + "version_id": 1, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-08-23T16:29:47Z" + } + ] + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "orgs", "subcategory": "rules" + } + } + }, + "/orgs/{org}/rulesets/{ruleset_id}/history/{version_id}": { + "get": { + "summary": "Get organization ruleset version", + "description": "Get a version of an organization ruleset.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-org-ruleset-version", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-version" }, "parameters": [ { @@ -183036,11 +183792,131 @@ "schema": { "type": "integer" } + }, + { + "name": "version_id", + "description": "The ID of the version", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } } ], "responses": { - "204": { - "description": "Response" + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "title": "Ruleset version", + "type": "object", + "description": "The historical version of a ruleset", + "required": [ + "version_id", + "actor", + "updated_at" + ], + "properties": { + "version_id": { + "type": "integer", + "description": "The ID of the previous version of the ruleset" + }, + "actor": { + "type": "object", + "description": "The actor who updated the ruleset", + "properties": { + "id": { + "type": "integer" + }, + "type": { + "type": "string" + } + } + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + } + }, + { + "type": "object", + "required": [ + "state" + ], + "properties": { + "state": { + "type": "object", + "description": "The state of the ruleset version" + } + } + } + ] + }, + "examples": { + "default": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z", + "state": { + "id": 21, + "name": "super cool ruleset", + "target": "branch", + "source_type": "Organization", + "source": "my-org", + "enforcement": "active", + "bypass_actors": [ + { + "actor_id": 234, + "actor_type": "Team", + "bypass_mode": "always" + } + ], + "conditions": { + "ref_name": { + "include": [ + "refs/heads/main", + "refs/heads/master" + ], + "exclude": [ + "refs/heads/dev*" + ] + }, + "repository_name": { + "include": [ + "important_repository", + "another_important_repository" + ], + "exclude": [ + "unimportant_repository" + ], + "protected": true + } + }, + "rules": [ + { + "type": "commit_author_email_pattern", + "parameters": { + "operator": "contains", + "pattern": "github" + } + } + ] + } + } + ] + } + } + } + } }, "404": { "description": "Resource not found", @@ -183094,6 +183970,12 @@ } } } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "rules" } } }, @@ -241116,7 +241998,7 @@ "/repos/{owner}/{repo}/actions/runs/{run_id}/timing": { "get": { "summary": "Get workflow run usage", - "description": "Gets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub Enterprise Cloud-hosted runners. Usage is listed for each GitHub Enterprise Cloud-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "description": "> [!WARNING] \n> This endpoint is in the process of closing down. Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" for more information.\n\nGets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub Enterprise Cloud-hosted runners. Usage is listed for each GitHub Enterprise Cloud-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ "actions" ], @@ -245867,7 +246749,7 @@ "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": { "get": { "summary": "Get workflow usage", - "description": "Gets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub Enterprise Cloud-hosted runners. Usage is listed for each GitHub Enterprise Cloud-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "description": "> [!WARNING] \n> This endpoint is in the process of closing down. Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" for more information.\n\nGets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub Enterprise Cloud-hosted runners. Usage is listed for each GitHub Enterprise Cloud-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ "actions" ], @@ -418542,7 +419424,7 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "reactions", "subcategory": "reactions" } @@ -522357,6 +523239,415 @@ } } }, + "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": { + "get": { + "summary": "Get repository ruleset history", + "description": "Get the history of a repository ruleset.", + "tags": [ + "repos" + ], + "operationId": "repos/get-repo-ruleset-history", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history" + }, + "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": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Ruleset version", + "type": "object", + "description": "The historical version of a ruleset", + "required": [ + "version_id", + "actor", + "updated_at" + ], + "properties": { + "version_id": { + "type": "integer", + "description": "The ID of the previous version of the ruleset" + }, + "actor": { + "type": "object", + "description": "The actor who updated the ruleset", + "properties": { + "id": { + "type": "integer" + }, + "type": { + "type": "string" + } + } + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z" + }, + { + "version_id": 2, + "actor": { + "id": 2, + "type": "User" + }, + "updated_at": "2024-09-23T16:29:47Z" + }, + { + "version_id": 1, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-08-23T16:29:47Z" + } + ] + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "rules" + } + } + }, + "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}": { + "get": { + "summary": "Get repository ruleset version", + "description": "Get a version of a repository ruleset.", + "tags": [ + "repos" + ], + "operationId": "repos/get-repo-ruleset-version", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version" + }, + "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": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version_id", + "description": "The ID of the version", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "title": "Ruleset version", + "type": "object", + "description": "The historical version of a ruleset", + "required": [ + "version_id", + "actor", + "updated_at" + ], + "properties": { + "version_id": { + "type": "integer", + "description": "The ID of the previous version of the ruleset" + }, + "actor": { + "type": "object", + "description": "The actor who updated the ruleset", + "properties": { + "id": { + "type": "integer" + }, + "type": { + "type": "string" + } + } + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + } + }, + { + "type": "object", + "required": [ + "state" + ], + "properties": { + "state": { + "type": "object", + "description": "The state of the ruleset version" + } + } + } + ] + }, + "examples": { + "default": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z", + "state": { + "id": 42, + "name": "super cool ruleset", + "target": "branch", + "source_type": "Repository", + "source": "monalisa/my-repo", + "enforcement": "active", + "bypass_actors": [ + { + "actor_id": 234, + "actor_type": "Team", + "bypass_mode": "always" + } + ], + "conditions": { + "ref_name": { + "include": [ + "refs/heads/main", + "refs/heads/master" + ], + "exclude": [ + "refs/heads/dev*" + ] + } + }, + "rules": [ + { + "type": "commit_author_email_pattern", + "parameters": { + "operator": "contains", + "pattern": "github" + } + } + ] + } + } + ] + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "rules" + } + } + }, "/repos/{owner}/{repo}/secret-scanning/alerts": { "get": { "summary": "List secret scanning alerts for a repository", diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index ac6ae09a1..ace982b30 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -438,7 +438,7 @@ paths: The EPSS percentile represents the relative rank of the CVE's likelihood of being exploited compared to other CVEs. schema: type: string - - &80 + - &82 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For @@ -447,7 +447,7 @@ paths: required: false schema: type: string - - &81 + - &83 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For @@ -456,7 +456,7 @@ paths: required: false schema: type: string - - &82 + - &84 name: direction description: The direction to sort the results by. in: query @@ -695,7 +695,7 @@ paths: required: - vector_string - score - cvss_severities: &96 + cvss_severities: &98 type: - object - 'null' @@ -742,7 +742,7 @@ paths: required: - vector_string - score - epss: &97 + epss: &99 type: - object - 'null' @@ -905,7 +905,7 @@ paths: - subscriptions_url - type - url - type: &320 + type: &325 type: string description: The type of credit the user is receiving. enum: @@ -1038,7 +1038,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &171 + schema: &174 title: Validation Error Simple description: Validation Error Simple type: object @@ -1071,7 +1071,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &629 + - &634 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1667,7 +1667,7 @@ paths: schema: type: integer default: 30 - - &250 + - &253 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 @@ -1683,7 +1683,7 @@ paths: application/json: schema: type: array - items: &251 + items: &254 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1776,7 +1776,7 @@ paths: - installation_id - repository_id examples: - default: &252 + default: &255 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1808,7 +1808,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &639 + schema: &644 title: Scim Error description: Scim Error type: object @@ -1839,7 +1839,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &170 + schema: &173 title: Validation Error description: Validation Error type: object @@ -1911,7 +1911,7 @@ paths: description: Response content: application/json: - schema: &253 + schema: &256 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2046,7 +2046,7 @@ paths: - request - response examples: - default: &254 + default: &257 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2106,7 +2106,7 @@ paths: parameters: - *16 responses: - '202': &91 + '202': &93 description: Accepted content: application/json: @@ -2250,7 +2250,7 @@ paths: parameters: - *17 - *19 - - &135 + - &138 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -3012,7 +3012,7 @@ paths: license: anyOf: - type: 'null' - - &146 + - &149 title: License Simple description: License Simple type: object @@ -7607,7 +7607,7 @@ paths: description: Response content: application/json: - schema: &172 + schema: &175 type: object properties: total_active_caches_count: @@ -7622,7 +7622,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &173 + default: &176 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7834,7 +7834,7 @@ paths: - public_ip_enabled - platform examples: - default: &174 + default: &177 value: total_count: 2 runners: @@ -8131,7 +8131,7 @@ paths: description: Response content: application/json: - schema: &175 + schema: &178 type: object properties: public_ips: @@ -8158,7 +8158,7 @@ paths: required: - public_ips examples: - default: &176 + default: &179 value: public_ips: current_usage: 17 @@ -8198,7 +8198,7 @@ paths: type: array items: *42 examples: - default: &177 + default: &180 value: id: 4-core cpu_cores: 4 @@ -8463,7 +8463,7 @@ paths: - all - local_only - selected - selected_actions_url: &180 + selected_actions_url: &183 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` @@ -8844,7 +8844,7 @@ paths: description: Success response content: application/json: - schema: &183 + schema: &186 type: object properties: default_workflow_permissions: &50 @@ -8892,7 +8892,7 @@ paths: required: true content: application/json: - schema: &184 + schema: &187 type: object properties: default_workflow_permissions: *50 @@ -9737,7 +9737,7 @@ paths: application/json: schema: type: array - items: &188 + items: &191 title: Runner Application description: Runner Application type: object @@ -9762,7 +9762,7 @@ paths: - download_url - filename examples: - default: &189 + default: &192 value: - os: osx architecture: x64 @@ -9846,7 +9846,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &190 + '201': &193 description: Response content: application/json: @@ -9885,7 +9885,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': &90 + '409': &92 description: Conflict content: application/json: @@ -9965,7 +9965,7 @@ paths: - token - expires_at examples: - default: &191 + default: &194 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10005,7 +10005,7 @@ paths: application/json: schema: *62 examples: - default: &192 + default: &195 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10037,7 +10037,7 @@ paths: application/json: schema: *59 examples: - default: &193 + default: &196 value: id: 23 name: MBP @@ -10252,7 +10252,7 @@ paths: - *38 - *58 responses: - '200': &194 + '200': &197 description: Response content: application/json: @@ -10308,7 +10308,7 @@ paths: parameters: - *38 - *58 - - &195 + - &198 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10341,7 +10341,7 @@ paths: description: Response content: application/json: - schema: &68 + schema: &69 title: Announcement Banner description: Announcement at either the repository, organization, or enterprise level @@ -10368,7 +10368,7 @@ paths: it to an empty string.' examples: - '"2021-01-01T00:00:00.000-07:00"' - user_dismissible: + user_dismissible: &67 type: - boolean - 'null' @@ -10381,7 +10381,7 @@ paths: - expires_at - user_dismissible examples: - default: &67 + default: &68 summary: Announcement banner value: announcement: Very **important** announcement about _something_. @@ -10405,17 +10405,18 @@ paths: required: true content: application/json: - schema: &202 + schema: &205 title: Enterprise Announcement description: Enterprise global announcement type: object properties: announcement: *65 expires_at: *66 + user_dismissible: *67 required: - announcement examples: - default: *67 + default: *68 parameters: - *38 responses: @@ -10423,9 +10424,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *69 examples: - default: *67 + default: *68 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -10476,7 +10477,7 @@ paths: required: false schema: type: string - - &203 + - &206 name: include description: |- The event types to include: @@ -10494,7 +10495,7 @@ paths: - web - git - all - - &204 + - &207 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. @@ -10502,7 +10503,7 @@ paths: required: false schema: type: string - - &205 + - &208 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. @@ -10510,7 +10511,7 @@ paths: required: false schema: type: string - - &206 + - &209 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -10532,7 +10533,7 @@ paths: application/json: schema: type: array - items: &207 + items: &210 type: object properties: "@timestamp": @@ -10654,7 +10655,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &208 + default: &211 value: - "@timestamp": 1606929874512 action: team.add_member @@ -10834,7 +10835,7 @@ paths: vendor_specific: type: object oneOf: - - &72 + - &73 title: AzureBlobConfig description: Azure Blob Config for audit log streaming configuration. type: object @@ -10848,7 +10849,7 @@ paths: required: - key_id - encrypted_sas_url - - &73 + - &74 title: AzureHubConfig description: Azure Event Hubs Config for audit log streaming configuration. type: object @@ -10867,7 +10868,7 @@ paths: - name - encrypted_connstring - key_id - - &74 + - &75 title: AmazonS3OIDCConfig description: Amazon S3 OIDC Config for audit log streaming configuration. type: object @@ -10895,7 +10896,7 @@ paths: - bucket - key_id - region - - &75 + - &76 title: AmazonS3AccessKeysConfig description: Amazon S3 Access Keys Config for audit log streaming configuration. @@ -10929,7 +10930,7 @@ paths: - encrypted_secret_key - key_id - region - - &76 + - &77 title: SplunkConfig description: Splunk Config for Audit Log Stream Configuration type: object @@ -10957,7 +10958,39 @@ paths: - key_id - port - ssl_verify - - &77 + - &78 + title: HecConfig + description: Hec Config for Audit Log Stream Configuration + type: object + properties: + domain: + description: Domain of Hec instance. + type: string + port: + description: The port number for connecting to HEC. + type: integer + key_id: + type: string + description: Key ID obtained from the audit log stream key + endpoint used to encrypt secrets. + encrypted_token: + description: Encrypted Token. + type: string + path: + description: Path to send events to. + type: string + ssl_verify: + description: SSL verification helps ensure your events are + sent to your HEC endpoint securely. + type: boolean + required: + - domain + - encrypted_token + - path + - key_id + - port + - ssl_verify + - &79 title: GoogleCloudConfig description: Google Cloud Config for audit log streaming configuration. type: object @@ -10975,7 +11008,7 @@ paths: - bucket - key_id - encrypted_json_credentials - - &78 + - &80 title: DatadogConfig description: Datadog Config for audit log streaming configuration. type: object @@ -11006,7 +11039,7 @@ paths: - stream_type - vendor_specific examples: - default: &79 + default: &81 value: enabled: false stream_type: Azure Event Hubs @@ -11020,7 +11053,7 @@ paths: description: The audit log stream configuration was created successfully. content: application/json: - schema: &69 + schema: &70 title: Get an audit log streaming configuration description: Get an audit log streaming configuration for an enterprise. type: object @@ -11052,7 +11085,7 @@ paths: - created_at - updated_at examples: - default: &70 + default: &71 value: id: 1 stream_type: Splunk @@ -11081,7 +11114,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-one-audit-log-streaming-configuration-via-a-stream-id parameters: - *38 - - &71 + - &72 name: stream_id description: The ID of the audit log stream configuration. in: path @@ -11093,9 +11126,9 @@ paths: description: Lists one audit log stream configuration via stream ID. content: application/json: - schema: *69 + schema: *70 examples: - default: *70 + default: *71 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -11115,7 +11148,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#update-an-existing-audit-log-stream-configuration parameters: - *38 - - *71 + - *72 requestBody: required: true content: @@ -11141,27 +11174,28 @@ paths: vendor_specific: type: object oneOf: - - *72 - *73 - *74 - *75 - *76 - *77 - *78 + - *79 + - *80 required: - enabled - stream_type - vendor_specific examples: - default: *79 + default: *81 responses: '200': description: Successful update content: application/json: - schema: *69 + schema: *70 examples: - default: *70 + default: *71 '422': description: Validation error content: @@ -11192,7 +11226,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#delete-an-audit-log-streaming-configuration-for-an-enterprise parameters: - *38 - - *71 + - *72 responses: '204': description: The audit log stream configuration was deleted successfully. @@ -11224,7 +11258,7 @@ paths: in: query schema: type: string - - &210 + - &213 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -11232,7 +11266,7 @@ paths: required: false schema: type: string - - &211 + - &214 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -11240,7 +11274,7 @@ paths: required: false schema: type: string - - &212 + - &215 name: time_period description: |- The time period to filter by. @@ -11256,7 +11290,7 @@ paths: - week - month default: day - - &213 + - &216 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -11281,7 +11315,7 @@ paths: application/json: schema: type: array - items: &214 + items: &217 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -11442,7 +11476,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &215 + default: &218 value: - id: 21 number: 42 @@ -11511,7 +11545,7 @@ paths: url: https://api.github.com/repos/octo-org/smile/bypass-requests/push-rules/2 html_url: https://github.com/octo-org/smile/exemptions/2 '404': *6 - '500': &93 + '500': &95 description: Internal Error content: application/json: @@ -11533,17 +11567,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *38 - - &216 + - &219 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`, but not both. in: query required: false - schema: &83 + schema: &85 type: string description: The name of the tool used to generate the code scanning analysis. - - &217 + - &220 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 @@ -11551,23 +11585,23 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &84 + schema: &86 type: - string - 'null' description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *80 - - *81 + - *82 + - *83 - *19 - *17 - - *82 + - *84 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: &218 + schema: &221 type: string description: State of a code scanning alert. enum: @@ -11592,42 +11626,42 @@ paths: application/json: schema: type: array - items: &219 + items: &222 type: object properties: - number: &94 + number: &96 type: integer description: The security alert number. readOnly: true - created_at: &101 + created_at: &103 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &102 + updated_at: &104 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - url: &99 + url: &101 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &100 + html_url: &102 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &432 + instances_url: &437 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &85 + state: &87 type: - string - 'null' @@ -11637,7 +11671,7 @@ paths: - dismissed - fixed - - fixed_at: &104 + fixed_at: &106 type: - string - 'null' @@ -11649,7 +11683,7 @@ paths: anyOf: - type: 'null' - *4 - dismissed_at: &103 + dismissed_at: &105 type: - string - 'null' @@ -11657,7 +11691,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &433 + dismissed_reason: &438 type: - string - 'null' @@ -11668,14 +11702,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &434 + dismissed_comment: &439 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &435 + rule: &440 type: object properties: id: @@ -11736,26 +11770,26 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &436 + tool: &441 type: object properties: - name: *83 + name: *85 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *84 - most_recent_instance: &437 + guid: *86 + most_recent_instance: &442 type: object properties: - ref: &430 + ref: &435 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &447 + analysis_key: &452 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -11766,13 +11800,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &448 + category: &453 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *85 + state: *87 commit_sha: type: string message: @@ -11813,7 +11847,7 @@ paths: - test - library - - repository: &92 + repository: &94 title: Simple Repository description: A GitHub repository. type: object @@ -12150,7 +12184,7 @@ paths: - most_recent_instance - repository examples: - default: &220 + default: &223 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -12381,7 +12415,7 @@ paths: headers: Link: *37 '404': *6 - '503': &125 + '503': &128 description: Service unavailable content: application/json: @@ -12425,8 +12459,8 @@ paths: schema: type: integer default: 30 - - *80 - - *81 + - *82 + - *83 responses: '200': description: Response @@ -12434,7 +12468,7 @@ paths: application/json: schema: type: array - items: &86 + items: &88 type: object description: A code security configuration properties: @@ -12768,7 +12802,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: &89 + code_scanning_default_setup_options: &91 type: - object - 'null' @@ -12854,9 +12888,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *86 + schema: *88 examples: - default: &87 + default: &89 value: id: 1325 target_type: enterprise @@ -12911,7 +12945,7 @@ paths: description: Response content: application/json: - schema: &222 + schema: &225 type: array description: A list of default code security configurations items: @@ -12925,9 +12959,9 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *86 + configuration: *88 examples: - default: &223 + default: &226 value: - default_for_new_repos: public configuration: @@ -13012,7 +13046,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise parameters: - *38 - - &88 + - &90 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -13024,9 +13058,9 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *87 + default: *89 '304': *35 '403': *27 '404': *6 @@ -13051,7 +13085,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise parameters: - *38 - - *88 + - *90 requestBody: required: true content: @@ -13118,7 +13152,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *89 + code_scanning_default_setup_options: *91 secret_scanning: type: string description: The enablement status of secret scanning @@ -13173,13 +13207,13 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *87 + default: *89 '304': *35 '403': *27 '404': *6 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13203,14 +13237,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise parameters: - *38 - - *88 + - *90 responses: - '204': &112 + '204': &114 description: A header with no content is returned. '400': *14 '403': *27 '404': *6 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13235,7 +13269,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories parameters: - *38 - - *88 + - *90 requestBody: required: true content: @@ -13259,10 +13293,10 @@ paths: value: scope: all responses: - '202': *91 + '202': *93 '403': *27 '404': *6 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -13287,7 +13321,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-enterprise parameters: - *38 - - *88 + - *90 requestBody: required: true content: @@ -13327,12 +13361,12 @@ paths: - none - private_and_internal - public - configuration: *86 + configuration: *88 examples: default: value: default_for_new_repos: all - configuration: &221 + configuration: &224 value: id: 1325 target_type: organization @@ -13384,7 +13418,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration parameters: - *38 - - *88 + - *90 - 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)." @@ -13393,8 +13427,8 @@ paths: schema: type: integer default: 30 - - *80 - - *81 + - *82 + - *83 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -13412,7 +13446,7 @@ paths: application/json: schema: type: array - items: &224 + items: &227 type: object description: Repositories associated with a code security configuration and attachment status @@ -13430,13 +13464,13 @@ paths: - failed - updating - removed_by_enterprise - repository: *92 + repository: *94 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: &225 + repository: &228 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -13919,7 +13953,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &227 + items: &230 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -13934,7 +13968,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &272 + - &275 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -13993,7 +14027,7 @@ paths: parent: anyOf: - type: 'null' - - &285 + - &288 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -14197,7 +14231,7 @@ paths: - created_at additionalProperties: false examples: - default: &228 + default: &231 value: total_seats: 2 seats: @@ -14266,7 +14300,7 @@ paths: site_admin: false headers: Link: *37 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -14328,7 +14362,7 @@ paths: application/json: schema: type: array - items: &127 + items: &130 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -14643,7 +14677,7 @@ paths: - date additionalProperties: true examples: - default: &128 + default: &131 value: - date: '2024-06-24' total_active_users: 24 @@ -14742,10 +14776,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *93 + '500': *95 '403': *27 '404': *6 - '422': &129 + '422': &132 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -14815,7 +14849,7 @@ paths: application/json: schema: type: array - items: &130 + items: &133 title: Copilot Usage Metrics description: Summary of Copilot usage. type: object @@ -14967,7 +15001,7 @@ paths: lines_suggested: 1100 lines_accepted: 1000 active_users: 5 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -14995,7 +15029,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *38 - - &235 + - &238 name: state in: query description: |- @@ -15004,7 +15038,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &236 + - &239 name: severity in: query description: |- @@ -15013,7 +15047,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &237 + - &240 name: ecosystem in: query description: |- @@ -15022,14 +15056,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &238 + - &241 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &239 + - &242 name: epss_percentage in: query description: |- @@ -15041,7 +15075,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 - - &240 + - &243 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -15051,7 +15085,7 @@ paths: enum: - development - runtime - - &241 + - &244 name: sort in: query description: |- @@ -15066,10 +15100,10 @@ paths: - updated - epss_percentage default: created + - *84 - *82 - - *80 - - *81 - - &242 + - *83 + - &245 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -15082,7 +15116,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &243 + - &246 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -15102,11 +15136,11 @@ paths: application/json: schema: type: array - items: &244 + items: &247 type: object description: A Dependabot alert. properties: - number: *94 + number: *96 state: type: string description: The state of the Dependabot alert. @@ -15121,7 +15155,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &95 + package: &97 type: object description: Details for the vulnerable package. readOnly: true @@ -15154,7 +15188,7 @@ paths: - development - runtime - - security_advisory: &484 + security_advisory: &489 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -15185,13 +15219,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &98 + items: &100 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *95 + package: *97 severity: type: string description: The severity of the vulnerability. @@ -15259,8 +15293,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *96 - epss: *97 + cvss_severities: *98 + epss: *99 cwes: type: array description: Details for the advisory pertaining to Common @@ -15360,12 +15394,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *98 - url: *99 - html_url: *100 - created_at: *101 - updated_at: *102 - dismissed_at: *103 + security_vulnerability: *100 + url: *101 + html_url: *102 + created_at: *103 + updated_at: *104 + dismissed_at: *105 dismissed_by: anyOf: - type: 'null' @@ -15389,8 +15423,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *104 - auto_dismissed_at: &485 + fixed_at: *106 + auto_dismissed_at: &490 type: - string - 'null' @@ -15398,7 +15432,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - repository: *92 + repository: *94 required: - number - state @@ -15417,7 +15451,7 @@ paths: - repository additionalProperties: false examples: - default: &245 + default: &248 value: - number: 2 state: dismissed @@ -15843,7 +15877,7 @@ paths: type: integer network_configurations: type: array - items: &105 + items: &107 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -15888,7 +15922,7 @@ paths: - name - created_on examples: - default: &329 + default: &334 value: total_count: 2 network_configurations: @@ -15966,9 +16000,9 @@ paths: description: Response content: application/json: - schema: *105 + schema: *107 examples: - default: &106 + default: &108 value: id: 123456789ABCDEF name: My network configuration @@ -15995,7 +16029,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *38 - - &107 + - &109 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -16007,9 +16041,9 @@ paths: description: Response content: application/json: - schema: *105 + schema: *107 examples: - default: *106 + default: *108 headers: Link: *37 x-github: @@ -16029,7 +16063,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *38 - - *107 + - *109 requestBody: required: true content: @@ -16068,9 +16102,9 @@ paths: description: Response content: application/json: - schema: *105 + schema: *107 examples: - default: *106 + default: *108 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -16088,7 +16122,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise parameters: - *38 - - *107 + - *109 responses: '204': description: Response @@ -16111,7 +16145,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: - *38 - - &330 + - &335 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -16123,7 +16157,7 @@ paths: description: Response content: application/json: - schema: &331 + schema: &336 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -16162,7 +16196,7 @@ paths: - subnet_id - region examples: - default: &332 + default: &337 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -16200,7 +16234,7 @@ paths: application/json: schema: type: array - items: &108 + items: &110 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -16276,7 +16310,7 @@ paths: - property_name - value_type examples: - default: &109 + default: &111 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -16332,7 +16366,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *108 + items: *110 minItems: 1 maxItems: 100 required: @@ -16362,9 +16396,9 @@ paths: application/json: schema: type: array - items: *108 + items: *110 examples: - default: *109 + default: *111 '403': *27 '404': *6 x-github: @@ -16389,7 +16423,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *38 - - &110 + - &112 name: custom_property_name description: The custom property name in: path @@ -16401,9 +16435,9 @@ paths: description: Response content: application/json: - schema: *108 + schema: *110 examples: - default: &111 + default: &113 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -16439,12 +16473,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise parameters: - *38 - - *110 + - *112 requestBody: required: true content: application/json: - schema: &303 + schema: &306 title: Custom Property Set Payload description: Custom property set payload type: object @@ -16506,9 +16540,9 @@ paths: description: Response content: application/json: - schema: *108 + schema: *110 examples: - default: *111 + default: *113 '403': *27 '404': *6 x-github: @@ -16533,9 +16567,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *38 - - *110 + - *112 responses: - '204': *112 + '204': *114 '403': *27 '404': *6 x-github: @@ -16575,7 +16609,7 @@ paths: - push - repository default: branch - enforcement: &119 + enforcement: &121 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -16588,7 +16622,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &120 + items: &122 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -16626,7 +16660,7 @@ paths: - always - pull_request default: always - conditions: &124 + conditions: &126 title: Enterprise ruleset conditions type: object description: Conditions for an enterprise ruleset. The conditions @@ -16640,7 +16674,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &113 + - &115 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -16666,7 +16700,7 @@ paths: type: string required: - organization_name - - &116 + - &118 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -16695,7 +16729,7 @@ paths: is prevented. required: - repository_name - - &115 + - &117 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -16723,8 +16757,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *113 - - &118 + - *115 + - &120 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -16737,7 +16771,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &114 + items: &116 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -16768,16 +16802,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *114 + items: *116 required: - repository_property - - *115 + - *117 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &117 + - &119 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -16794,25 +16828,25 @@ paths: type: integer required: - organization_id - - *116 - - *115 + - *118 + - *117 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: + - *119 + - *120 - *117 - - *118 - - *115 rules: type: array description: An array of rules within the ruleset. - items: &121 + items: &123 title: Repository Rule type: object description: A repository rule. oneOf: - - &591 + - &596 title: creation description: Only allow users with bypass permission to create matching refs. @@ -16824,7 +16858,7 @@ paths: type: string enum: - creation - - &592 + - &597 title: update description: Only allow users with bypass permission to update matching refs. @@ -16845,7 +16879,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &594 + - &599 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -16857,7 +16891,7 @@ paths: type: string enum: - deletion - - &595 + - &600 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -16869,7 +16903,7 @@ paths: type: string enum: - required_linear_history - - &596 + - &601 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -16945,7 +16979,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &597 + - &602 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -16969,7 +17003,7 @@ paths: type: string required: - required_deployment_environments - - &598 + - &603 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -16981,7 +17015,7 @@ paths: type: string enum: - required_signatures - - &599 + - &604 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. @@ -17032,7 +17066,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &600 + - &605 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -17079,7 +17113,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &601 + - &606 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -17091,7 +17125,7 @@ paths: type: string enum: - non_fast_forward - - &602 + - &607 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -17127,7 +17161,7 @@ paths: required: - operator - pattern - - &603 + - &608 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -17163,7 +17197,7 @@ paths: required: - operator - pattern - - &604 + - &609 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -17199,7 +17233,7 @@ paths: required: - operator - pattern - - &605 + - &610 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -17235,7 +17269,7 @@ paths: required: - operator - pattern - - &606 + - &611 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -17361,7 +17395,7 @@ paths: maximum: 100 required: - max_file_size - - &607 + - &612 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -17410,7 +17444,7 @@ paths: - repository_id required: - workflows - - &608 + - &613 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -17496,7 +17530,7 @@ paths: description: Response content: application/json: - schema: &122 + schema: &124 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -17531,11 +17565,11 @@ paths: source: type: string description: The name of the source - enforcement: *119 + enforcement: *121 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *120 + items: *122 current_user_can_bypass: type: string description: |- @@ -17566,8 +17600,8 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - *115 - - &308 + - *117 + - &311 title: Organization ruleset conditions type: object description: |- @@ -17581,14 +17615,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *115 - - *116 + - *117 + - *118 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *115 + - *117 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -17610,14 +17644,14 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *115 - - *118 + - *117 + - *120 type: - 'null' - object rules: type: array - items: *121 + items: *123 created_at: type: string format: date-time @@ -17625,7 +17659,7 @@ paths: type: string format: date-time examples: - default: &123 + default: &125 value: id: 21 name: super cool ruleset @@ -17651,7 +17685,7 @@ paths: created_at: '2024-08-15T08:43:03Z' updated_at: '2024-09-23T16:29:47Z' '404': *6 - '500': *93 + '500': *95 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -17684,11 +17718,11 @@ paths: description: Response content: application/json: - schema: *122 + schema: *124 examples: - default: *123 + default: *125 '404': *6 - '500': *93 + '500': *95 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -17730,16 +17764,16 @@ paths: - tag - push - repository - enforcement: *119 + enforcement: *121 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *120 - conditions: *124 + items: *122 + conditions: *126 rules: description: An array of rules within the ruleset. type: array - items: *121 + items: *123 examples: default: value: @@ -17763,11 +17797,11 @@ paths: description: Response content: application/json: - schema: *122 + schema: *124 examples: - default: *123 + default: *125 '404': *6 - '500': *93 + '500': *95 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -17794,12 +17828,157 @@ paths: '204': description: Response '404': *6 - '500': *93 + '500': *95 x-github: githubCloudOnly: true enabledForGitHubApps: true category: enterprise-admin subcategory: rules + "/enterprises/{enterprise}/rulesets/{ruleset_id}/history": + get: + summary: Get enterprise ruleset history + description: Get the history of an enterprise ruleset. + tags: + - enterprise-admin + operationId: enterprise-admin/get-enterprise-ruleset-history + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-enterprise-ruleset-history + parameters: + - *38 + - *17 + - *19 + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: &127 + title: Ruleset version + type: object + description: The historical version of a ruleset + required: + - version_id + - actor + - updated_at + properties: + version_id: + type: integer + description: The ID of the previous version of the ruleset + actor: + type: object + description: The actor who updated the ruleset + properties: + id: + type: integer + type: + type: string + updated_at: + type: string + format: date-time + examples: + default: &314 + value: + - version_id: 3 + actor: + id: 1 + type: User + updated_at: 2024-010-23T16:29:47Z + - version_id: 2 + actor: + id: 2 + type: User + updated_at: '2024-09-23T16:29:47Z' + - version_id: 1 + actor: + id: 1 + type: User + updated_at: '2024-08-23T16:29:47Z' + '404': *6 + '500': *95 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: rules + "/enterprises/{enterprise}/rulesets/{ruleset_id}/history/{version_id}": + get: + summary: Get enterprise ruleset version + description: Get a version of an enterprise ruleset. + tags: + - enterprise-admin + operationId: enterprise-admin/get-enterprise-ruleset-version + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-enterprise-ruleset-version + parameters: + - *38 + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + - name: version_id + description: The ID of the version + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: &315 + allOf: + - *127 + - type: object + required: + - state + properties: + state: + type: object + description: The state of the ruleset version + examples: + default: + value: + - version_id: 3 + actor: + id: 1 + type: User + updated_at: 2024-010-23T16:29:47Z + state: + id: 21 + name: super cool ruleset + target: repository + source_type: Enterprise + source: my-enterprise + enforcement: active + conditions: + organization_name: + include: + - important_organization + repository_name: + include: + - "~ALL" + rules: + - type: repository_delete + '404': *6 + '500': *95 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: rules "/enterprises/{enterprise}/secret-scanning/alerts": get: summary: List secret scanning alerts for an enterprise @@ -17814,7 +17993,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *38 - - &311 + - &316 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -17825,7 +18004,7 @@ paths: enum: - open - resolved - - &312 + - &317 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -17835,7 +18014,7 @@ paths: required: false schema: type: string - - &313 + - &318 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -17844,7 +18023,7 @@ paths: required: false schema: type: string - - &314 + - &319 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. @@ -17856,11 +18035,11 @@ paths: - created - updated default: created - - *82 + - *84 - *17 - - *80 - - *81 - - &315 + - *82 + - *83 + - &320 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -17869,7 +18048,7 @@ paths: required: false schema: type: string - - &316 + - &321 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -17878,7 +18057,7 @@ paths: schema: type: boolean default: false - - &317 + - &322 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -17894,30 +18073,30 @@ paths: application/json: schema: type: array - items: &318 + items: &323 type: object properties: - number: *94 - created_at: *101 + number: *96 + created_at: *103 updated_at: anyOf: - type: 'null' - - *102 - url: *99 - html_url: *100 + - *104 + url: *101 + html_url: *102 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &621 + state: &626 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &622 + resolution: &627 type: - string - 'null' @@ -17951,7 +18130,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *92 + repository: *94 push_protection_bypassed: type: - boolean @@ -18016,7 +18195,7 @@ paths: description: Whether the detected secret was found in multiple repositories in the same organization or enterprise. examples: - default: &319 + default: &324 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -18251,7 +18430,7 @@ paths: headers: Link: *37 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -18279,7 +18458,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &326 type: object properties: total_minutes_used: @@ -18349,7 +18528,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &322 + default: &327 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -18387,7 +18566,7 @@ paths: description: Success content: application/json: - schema: &323 + schema: &328 type: object properties: total_advanced_security_committers: @@ -18450,7 +18629,7 @@ paths: required: - repositories examples: - default: &324 + default: &329 value: total_advanced_security_committers: 2 total_count: 2 @@ -18537,8 +18716,8 @@ paths: name: Monalisa '400': *14 '403': *27 - '500': *93 - '503': *125 + '500': *95 + '503': *128 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -18559,7 +18738,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-users-to-a-cost-center parameters: - *38 - - &126 + - &129 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -18601,9 +18780,9 @@ paths: message: Resources successfully added to the cost center. '400': *14 '403': *27 - '409': *90 - '500': *93 - '503': *125 + '409': *92 + '500': *95 + '503': *128 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -18623,7 +18802,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-users-from-a-cost-center parameters: - *38 - - *126 + - *129 requestBody: required: true content: @@ -18660,8 +18839,8 @@ paths: message: Resources successfully removed from the cost center. '400': *14 '403': *27 - '500': *93 - '503': *125 + '500': *95 + '503': *128 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -18689,7 +18868,7 @@ paths: description: Response content: application/json: - schema: &325 + schema: &330 type: object properties: total_gigabytes_bandwidth_used: @@ -18707,7 +18886,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &326 + default: &331 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -18739,7 +18918,7 @@ paths: description: Response content: application/json: - schema: &327 + schema: &332 type: object properties: days_left_in_billing_cycle: @@ -18757,7 +18936,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &328 + default: &333 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -18782,7 +18961,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *38 - - &161 + - &164 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -18791,7 +18970,7 @@ paths: required: false schema: type: integer - - &162 + - &165 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -18800,7 +18979,7 @@ paths: required: false schema: type: integer - - &163 + - &166 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -18809,7 +18988,7 @@ paths: required: false schema: type: integer - - &164 + - &167 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -18830,7 +19009,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &165 + schema: &168 type: object properties: usageItems: @@ -18883,7 +19062,7 @@ paths: - netAmount - organizationName examples: - default: &166 + default: &169 value: usageItems: - date: '2023-08-01' @@ -18899,8 +19078,8 @@ paths: repositoryName: github/example '400': *14 '403': *27 - '500': *93 - '503': *125 + '500': *95 + '503': *128 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -18971,13 +19150,13 @@ paths: application/json: schema: type: array - items: *127 + items: *130 examples: - default: *128 - '500': *93 + default: *131 + '500': *95 '403': *27 '404': *6 - '422': *129 + '422': *132 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -19012,7 +19191,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team parameters: - *38 - - &284 + - &287 name: team_slug description: The slug of the team name. in: path @@ -19050,9 +19229,9 @@ paths: application/json: schema: type: array - items: *130 + items: *133 examples: - default: &229 + default: &232 value: - day: '2023-10-15' total_suggestions_count: 1000 @@ -19116,7 +19295,7 @@ paths: lines_suggested: 200 lines_accepted: 150 active_users: 3 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -19208,7 +19387,7 @@ paths: application/json: schema: type: array - items: &156 + items: &159 title: Event description: Event type: object @@ -19219,7 +19398,7 @@ paths: type: - string - 'null' - actor: &131 + actor: &134 title: Actor description: Actor type: object @@ -19260,13 +19439,13 @@ paths: - id - name - url - org: *131 + org: *134 payload: type: object properties: action: type: string - issue: &145 + issue: &148 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -19386,7 +19565,7 @@ paths: milestone: anyOf: - type: 'null' - - &472 + - &477 title: Milestone description: A collection of related issues and pull requests. @@ -19563,7 +19742,7 @@ paths: anyOf: - type: 'null' - *5 - author_association: &132 + author_association: &135 title: author_association type: string description: How the author is associated with the repository. @@ -19578,7 +19757,7 @@ paths: - OWNER examples: - OWNER - reactions: &133 + reactions: &136 title: Reaction Rollup type: object properties: @@ -19650,7 +19829,7 @@ paths: - author_association - created_at - updated_at - comment: &531 + comment: &536 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -19700,12 +19879,12 @@ paths: issue_url: type: string format: uri - author_association: *132 + author_association: *135 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *133 + reactions: *136 required: - id - node_id @@ -19802,7 +19981,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19892,7 +20071,7 @@ paths: _links: type: object properties: - timeline: &134 + timeline: &137 title: Link With Type description: Hypermedia Link with Type type: object @@ -19904,17 +20083,17 @@ paths: required: - href - type - user: *134 - security_advisories: *134 - current_user: *134 - current_user_public: *134 - current_user_actor: *134 - current_user_organization: *134 + user: *137 + security_advisories: *137 + current_user: *137 + current_user_public: *137 + current_user_actor: *137 + current_user_organization: *137 current_user_organizations: type: array - items: *134 - repository_discussions: *134 - repository_discussions_category: *134 + items: *137 + repository_discussions: *137 + repository_discussions_category: *137 required: - timeline - user @@ -19976,7 +20155,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *135 + - *138 - *17 - *19 responses: @@ -19986,7 +20165,7 @@ paths: application/json: schema: type: array - items: &136 + items: &139 title: Base Gist description: Base Gist type: object @@ -20083,7 +20262,7 @@ paths: - created_at - updated_at examples: - default: &137 + default: &140 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -20207,7 +20386,7 @@ paths: description: Response content: application/json: - schema: &138 + schema: &141 title: Gist Simple description: Gist Simple type: object @@ -20225,7 +20404,7 @@ paths: url: type: string format: uri - user: &678 + user: &683 title: Public User description: Public User type: object @@ -20599,7 +20778,7 @@ paths: truncated: type: boolean examples: - default: &139 + default: &142 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -20703,7 +20882,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *135 + - *138 - *17 - *19 responses: @@ -20713,9 +20892,9 @@ paths: application/json: schema: type: array - items: *136 + items: *139 examples: - default: *137 + default: *140 headers: Link: *37 '422': *15 @@ -20737,7 +20916,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *135 + - *138 - *17 - *19 responses: @@ -20747,9 +20926,9 @@ paths: application/json: schema: type: array - items: *136 + items: *139 examples: - default: *137 + default: *140 headers: Link: *37 '401': *23 @@ -20777,7 +20956,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &140 + - &143 name: gist_id description: The unique identifier of the gist. in: path @@ -20789,10 +20968,10 @@ paths: description: Response content: application/json: - schema: *138 + schema: *141 examples: - default: *139 - '403': &143 + default: *142 + '403': &146 description: Forbidden Gist content: application/json: @@ -20841,7 +21020,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *140 + - *143 requestBody: required: true content: @@ -20905,9 +21084,9 @@ paths: description: Response content: application/json: - schema: *138 + schema: *141 examples: - updateGist: *139 + updateGist: *142 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -21065,7 +21244,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *140 + - *143 responses: '204': description: Response @@ -21094,7 +21273,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *140 + - *143 - *17 - *19 responses: @@ -21104,7 +21283,7 @@ paths: application/json: schema: type: array - items: &141 + items: &144 title: Gist Comment description: A comment made to a gist. type: object @@ -21142,7 +21321,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *132 + author_association: *135 required: - url - id @@ -21207,7 +21386,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *140 + - *143 requestBody: required: true content: @@ -21233,9 +21412,9 @@ paths: description: Response content: application/json: - schema: *141 + schema: *144 examples: - default: &142 + default: &145 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -21293,8 +21472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *140 - - &144 + - *143 + - &147 name: comment_id description: The unique identifier of the comment. in: path @@ -21307,12 +21486,12 @@ paths: description: Response content: application/json: - schema: *141 + schema: *144 examples: - default: *142 + default: *145 '304': *35 '404': *6 - '403': *143 + '403': *146 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21334,8 +21513,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *140 - - *144 + - *143 + - *147 requestBody: required: true content: @@ -21361,9 +21540,9 @@ paths: description: Response content: application/json: - schema: *141 + schema: *144 examples: - default: *142 + default: *145 '404': *6 x-github: githubCloudOnly: false @@ -21380,8 +21559,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *140 - - *144 + - *143 + - *147 responses: '204': description: Response @@ -21404,7 +21583,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *140 + - *143 - *17 - *19 responses: @@ -21505,7 +21684,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *140 + - *143 - *17 - *19 responses: @@ -21515,7 +21694,7 @@ paths: application/json: schema: type: array - items: *138 + items: *141 examples: default: value: @@ -21580,13 +21759,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *140 + - *143 responses: '201': description: Response content: application/json: - schema: *136 + schema: *139 examples: default: value: @@ -21657,7 +21836,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *140 + - *143 responses: '204': description: Response if gist is starred @@ -21687,7 +21866,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *140 + - *143 responses: '204': description: Response @@ -21709,7 +21888,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *140 + - *143 responses: '204': description: Response @@ -21738,7 +21917,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *140 + - *143 - name: sha in: path required: true @@ -21749,9 +21928,9 @@ paths: description: Response content: application/json: - schema: *138 + schema: *141 examples: - default: *139 + default: *142 '422': *15 '404': *6 '403': *27 @@ -22120,7 +22299,7 @@ paths: - closed - all default: open - - &273 + - &276 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -22138,8 +22317,8 @@ paths: - updated - comments default: created - - *82 - - *135 + - *84 + - *138 - name: collab in: query required: false @@ -22169,9 +22348,9 @@ paths: application/json: schema: type: array - items: *145 + items: *148 examples: - default: &274 + default: &277 value: - id: 1 node_id: MDU6SXNzdWUx @@ -22451,7 +22630,7 @@ paths: application/json: schema: type: array - items: *146 + items: *149 examples: default: value: @@ -22748,7 +22927,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &147 + X-CommonMarker-Version: &150 example: 0.17.4 schema: type: string @@ -22803,7 +22982,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *147 + X-CommonMarker-Version: *150 content: text/html: schema: @@ -22832,7 +23011,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &150 + - &153 name: account_id description: account_id parameter in: path @@ -22844,7 +23023,7 @@ paths: description: Response content: application/json: - schema: &149 + schema: &152 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -22878,7 +23057,7 @@ paths: - 'null' id: type: integer - plan: &148 + plan: &151 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -22981,7 +23160,7 @@ paths: - 'null' updated_at: type: string - plan: *148 + plan: *151 required: - url - id @@ -22989,7 +23168,7 @@ paths: - login - marketplace_purchase examples: - default: &151 + default: &154 value: url: https://api.github.com/orgs/github type: Organization @@ -23074,9 +23253,9 @@ paths: application/json: schema: type: array - items: *148 + items: *151 examples: - default: &152 + default: &155 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -23116,14 +23295,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &153 + - &156 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &154 + - &157 name: sort description: The property to sort the results by. in: query @@ -23153,9 +23332,9 @@ paths: application/json: schema: type: array - items: *149 + items: *152 examples: - default: &155 + default: &158 value: - url: https://api.github.com/orgs/github type: Organization @@ -23229,15 +23408,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *150 + - *153 responses: '200': description: Response content: application/json: - schema: *149 + schema: *152 examples: - default: *151 + default: *154 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -23269,9 +23448,9 @@ paths: application/json: schema: type: array - items: *148 + items: *151 examples: - default: *152 + default: *155 headers: Link: *37 '401': *23 @@ -23294,8 +23473,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *153 - - *154 + - *156 + - *157 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -23315,9 +23494,9 @@ paths: application/json: schema: type: array - items: *149 + items: *152 examples: - default: *155 + default: *158 headers: Link: *37 '401': *23 @@ -23582,14 +23761,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: - - &352 + - &357 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &353 + - &358 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -23606,7 +23785,7 @@ paths: application/json: schema: type: array - items: *156 + items: *159 examples: default: value: @@ -23660,7 +23839,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &366 + '301': &371 description: Moved permanently content: application/json: @@ -23682,7 +23861,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &560 + - &565 name: all description: If `true`, show notifications marked as read. in: query @@ -23690,7 +23869,7 @@ paths: schema: type: boolean default: false - - &561 + - &566 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -23699,8 +23878,8 @@ paths: schema: type: boolean default: false - - *135 - - &562 + - *138 + - &567 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -23725,14 +23904,14 @@ paths: application/json: schema: type: array - items: &157 + items: &160 title: Thread description: Thread type: object properties: id: type: string - repository: &187 + repository: &190 title: Minimal Repository description: Minimal Repository type: object @@ -24071,7 +24250,7 @@ paths: type: boolean examples: - false - security_and_analysis: &305 + security_and_analysis: &308 type: - object - 'null' @@ -24226,7 +24405,7 @@ paths: - url - subscription_url examples: - default: &563 + default: &568 value: - id: '1' repository: @@ -24392,7 +24571,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &158 + - &161 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -24406,7 +24585,7 @@ paths: description: Response content: application/json: - schema: *157 + schema: *160 examples: default: value: @@ -24509,7 +24688,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *158 + - *161 responses: '205': description: Reset Content @@ -24532,7 +24711,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *158 + - *161 responses: '204': description: No content @@ -24555,13 +24734,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *158 + - *161 responses: '200': description: Response content: application/json: - schema: &159 + schema: &162 title: Thread Subscription description: Thread Subscription type: object @@ -24605,7 +24784,7 @@ paths: - url - subscribed examples: - default: &160 + default: &163 value: subscribed: true ignored: false @@ -24636,7 +24815,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *158 + - *161 requestBody: required: false content: @@ -24657,9 +24836,9 @@ paths: description: Response content: application/json: - schema: *159 + schema: *162 examples: - default: *160 + default: *163 '304': *35 '403': *27 '401': *23 @@ -24682,7 +24861,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *158 + - *161 responses: '204': description: Response @@ -24779,7 +24958,7 @@ paths: type: array items: *56 examples: - default: &695 + default: &700 value: - login: github id: 1 @@ -24844,7 +25023,7 @@ paths: - 3 custom_roles: type: array - items: &230 + items: &233 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -24893,7 +25072,7 @@ paths: - created_at - updated_at examples: - default: &231 + default: &234 value: id: 8030 name: Security Engineer @@ -24939,29 +25118,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - &167 + - &170 name: org description: The organization name. The name is not case sensitive. in: path required: true schema: type: string - - *161 - - *162 - - *163 - *164 + - *165 + - *166 + - *167 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *165 + schema: *168 examples: - default: *166 + default: *169 '400': *14 '403': *27 - '500': *93 - '503': *125 + '500': *95 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24987,13 +25166,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - *167 + - *170 responses: '200': description: Response content: application/json: - schema: &168 + schema: &171 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -25363,7 +25542,7 @@ paths: - updated_at - archived_at examples: - default-response: &169 + default-response: &172 value: login: github id: 1 @@ -25456,7 +25635,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *167 + - *170 requestBody: required: false content: @@ -25680,18 +25859,18 @@ paths: description: Response content: application/json: - schema: *168 + schema: *171 examples: - default: *169 + default: *172 '422': description: Validation failed content: application/json: schema: oneOf: - - *170 - - *171 - '409': *90 + - *173 + - *174 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25714,9 +25893,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *167 + - *170 responses: - '202': *91 + '202': *93 '404': *6 '403': *27 x-github: @@ -25739,15 +25918,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response content: application/json: - schema: *172 + schema: *175 examples: - default: *173 + default: *176 headers: Link: *37 x-github: @@ -25770,7 +25949,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *167 + - *170 - *17 - *19 responses: @@ -25788,7 +25967,7 @@ paths: type: integer repository_cache_usages: type: array - items: &371 + items: &376 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -25846,7 +26025,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *167 + - *170 - *17 - *19 responses: @@ -25866,7 +26045,7 @@ paths: type: array items: *39 examples: - default: *174 + default: *177 headers: Link: *37 x-github: @@ -25886,7 +26065,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *167 + - *170 requestBody: required: true content: @@ -25980,7 +26159,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *167 + - *170 responses: '200': description: Response @@ -26016,7 +26195,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *167 + - *170 responses: '200': description: Response @@ -26051,15 +26230,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response content: application/json: - schema: *175 + schema: *178 examples: - default: *176 + default: *179 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26077,7 +26256,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response @@ -26095,7 +26274,7 @@ paths: type: array items: *42 examples: - default: *177 + default: *180 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26113,7 +26292,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *167 + - *170 responses: '200': description: Response @@ -26157,7 +26336,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *167 + - *170 - *44 responses: '200': @@ -26186,7 +26365,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *167 + - *170 - *44 requestBody: required: true @@ -26250,7 +26429,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *167 + - *170 - *44 responses: '202': @@ -26279,13 +26458,13 @@ 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-an-organization parameters: - - *167 + - *170 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &178 + schema: &181 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -26299,7 +26478,7 @@ paths: required: - include_claim_keys examples: - default: &179 + default: &182 value: include_claim_keys: - repo @@ -26321,20 +26500,20 @@ 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-an-organization parameters: - - *167 + - *170 requestBody: required: true content: application/json: - schema: *178 + schema: *181 examples: - default: *179 + default: *182 responses: '201': description: Empty response content: application/json: - schema: &198 + schema: &201 title: Empty Object description: An object without any properties. type: object @@ -26364,7 +26543,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response @@ -26373,7 +26552,7 @@ paths: schema: type: object properties: - enabled_repositories: &181 + enabled_repositories: &184 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -26387,7 +26566,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *46 - selected_actions_url: *180 + selected_actions_url: *183 required: - enabled_repositories examples: @@ -26416,7 +26595,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *167 + - *170 responses: '204': description: Response @@ -26427,7 +26606,7 @@ paths: schema: type: object properties: - enabled_repositories: *181 + enabled_repositories: *184 allowed_actions: *46 required: - enabled_repositories @@ -26455,7 +26634,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *167 + - *170 - *17 - *19 responses: @@ -26475,7 +26654,7 @@ paths: type: array items: *61 examples: - default: &689 + default: &694 value: total_count: 1 repositories: @@ -26615,7 +26794,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *167 + - *170 responses: '204': description: Response @@ -26659,8 +26838,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *167 - - &182 + - *170 + - &185 name: repository_id description: The unique identifier of the repository. in: path @@ -26688,8 +26867,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *167 - - *182 + - *170 + - *185 responses: '204': description: Response @@ -26712,7 +26891,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response @@ -26743,7 +26922,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *167 + - *170 responses: '204': description: Response @@ -26775,13 +26954,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response content: application/json: - schema: *183 + schema: *186 examples: default: *52 x-github: @@ -26804,7 +26983,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *167 + - *170 responses: '204': description: Success response @@ -26815,7 +26994,7 @@ paths: required: false content: application/json: - schema: *184 + schema: *187 examples: default: *52 x-github: @@ -26837,7 +27016,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *167 + - *170 - *17 - *19 - name: visible_to_repository @@ -26862,7 +27041,7 @@ paths: type: number runner_groups: type: array - items: &185 + items: &188 type: object properties: id: @@ -26979,7 +27158,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *167 + - *170 requestBody: required: true content: @@ -27052,9 +27231,9 @@ paths: description: Response content: application/json: - schema: *185 + schema: *188 examples: - default: &186 + default: &189 value: id: 2 name: octo-runner-group @@ -27089,14 +27268,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *167 + - *170 - *55 responses: '200': description: Response content: application/json: - schema: *185 + schema: *188 examples: default: value: @@ -27132,7 +27311,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *167 + - *170 - *55 requestBody: required: true @@ -27189,9 +27368,9 @@ paths: description: Response content: application/json: - schema: *185 + schema: *188 examples: - default: *186 + default: *189 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -27210,7 +27389,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *167 + - *170 - *55 responses: '204': @@ -27234,7 +27413,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *167 + - *170 - *55 - *17 - *19 @@ -27255,7 +27434,7 @@ paths: type: array items: *39 examples: - default: *174 + default: *177 headers: Link: *37 x-github: @@ -27277,7 +27456,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *167 + - *170 - *55 - *19 - *17 @@ -27296,9 +27475,9 @@ paths: type: number repositories: type: array - items: *187 + items: *190 examples: - default: &681 + default: &686 value: total_count: 1 repositories: @@ -27550,7 +27729,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *167 + - *170 - *55 requestBody: required: true @@ -27595,9 +27774,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *167 + - *170 - *55 - - *182 + - *185 responses: '204': description: Response @@ -27619,9 +27798,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *167 + - *170 - *55 - - *182 + - *185 responses: '204': description: Response @@ -27644,7 +27823,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *167 + - *170 - *55 - *17 - *19 @@ -27686,7 +27865,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *167 + - *170 - *55 requestBody: required: true @@ -27731,7 +27910,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *167 + - *170 - *55 - *58 responses: @@ -27755,7 +27934,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *167 + - *170 - *55 - *58 responses: @@ -27787,7 +27966,7 @@ paths: in: query schema: type: string - - *167 + - *170 - *17 - *19 responses: @@ -27831,7 +28010,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response @@ -27839,9 +28018,9 @@ paths: application/json: schema: type: array - items: *188 + items: *191 examples: - default: *189 + default: *192 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27863,7 +28042,7 @@ 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-an-organization parameters: - - *167 + - *170 requestBody: required: true content: @@ -27906,10 +28085,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *190 + '201': *193 '404': *6 '422': *7 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27937,7 +28116,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *167 + - *170 responses: '201': description: Response @@ -27945,7 +28124,7 @@ paths: application/json: schema: *62 examples: - default: *191 + default: *194 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27973,7 +28152,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *167 + - *170 responses: '201': description: Response @@ -27981,7 +28160,7 @@ paths: application/json: schema: *62 examples: - default: *192 + default: *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28003,7 +28182,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *167 + - *170 - *58 responses: '200': @@ -28012,7 +28191,7 @@ paths: application/json: schema: *59 examples: - default: *193 + default: *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28033,7 +28212,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *167 + - *170 - *58 responses: '204': @@ -28059,7 +28238,7 @@ 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-an-organization parameters: - - *167 + - *170 - *58 responses: '200': *64 @@ -28084,7 +28263,7 @@ 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-an-organization parameters: - - *167 + - *170 - *58 requestBody: required: true @@ -28133,7 +28312,7 @@ 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-an-organization parameters: - - *167 + - *170 - *58 requestBody: required: true @@ -28183,10 +28362,10 @@ 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-an-organization parameters: - - *167 + - *170 - *58 responses: - '200': *194 + '200': *197 '404': *6 x-github: githubCloudOnly: false @@ -28213,9 +28392,9 @@ 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-an-organization parameters: - - *167 + - *170 - *58 - - *195 + - *198 responses: '200': *64 '404': *6 @@ -28242,7 +28421,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *167 + - *170 - *17 - *19 responses: @@ -28260,7 +28439,7 @@ paths: type: integer secrets: type: array - items: &196 + items: &199 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -28335,13 +28514,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *167 + - *170 responses: '200': description: Response content: application/json: - schema: &391 + schema: &396 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -28376,7 +28555,7 @@ paths: - key_id - key examples: - default: &392 + default: &397 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28401,8 +28580,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *167 - - &197 + - *170 + - &200 name: secret_name description: The name of the secret. in: path @@ -28414,7 +28593,7 @@ paths: description: Response content: application/json: - schema: *196 + schema: *199 examples: default: value: @@ -28444,8 +28623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 requestBody: required: true content: @@ -28502,7 +28681,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -28528,8 +28707,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 responses: '204': description: Response @@ -28555,8 +28734,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 - *19 - *17 responses: @@ -28574,9 +28753,9 @@ paths: type: integer repositories: type: array - items: *187 + items: *190 examples: - default: &201 + default: &204 value: total_count: 1 repositories: @@ -28668,8 +28847,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 requestBody: required: true content: @@ -28721,8 +28900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 - name: repository_id in: path required: true @@ -28755,8 +28934,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 - name: repository_id in: path required: true @@ -28788,8 +28967,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *167 - - &376 + - *170 + - &381 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)." @@ -28813,7 +28992,7 @@ paths: type: integer variables: type: array - items: &199 + items: &202 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -28903,7 +29082,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *167 + - *170 requestBody: required: true content: @@ -28951,7 +29130,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -28976,8 +29155,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *167 - - &200 + - *170 + - &203 name: name description: The name of the variable. in: path @@ -28989,7 +29168,7 @@ paths: description: Response content: application/json: - schema: *199 + schema: *202 examples: default: value: @@ -29019,8 +29198,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *167 - - *200 + - *170 + - *203 requestBody: required: true content: @@ -29082,8 +29261,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *167 - - *200 + - *170 + - *203 responses: '204': description: Response @@ -29109,8 +29288,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *167 - - *200 + - *170 + - *203 - *19 - *17 responses: @@ -29128,9 +29307,9 @@ paths: type: integer repositories: type: array - items: *187 + items: *190 examples: - default: *201 + default: *204 '409': description: Response when the visibility of the variable is not set to `selected` @@ -29156,8 +29335,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *167 - - *200 + - *170 + - *203 requestBody: required: true content: @@ -29206,8 +29385,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *167 - - *200 + - *170 + - *203 - name: repository_id in: path required: true @@ -29241,8 +29420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *167 - - *200 + - *170 + - *203 - name: repository_id in: path required: true @@ -29273,15 +29452,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *167 + - *170 responses: '200': description: Response content: application/json: - schema: *68 + schema: *69 examples: - default: *67 + default: *68 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29300,19 +29479,19 @@ paths: required: true content: application/json: - schema: *202 + schema: *205 examples: - default: *67 + default: *68 parameters: - - *167 + - *170 responses: '200': description: Response content: application/json: - schema: *68 + schema: *69 examples: - default: *67 + default: *68 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29328,7 +29507,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *167 + - *170 responses: '204': description: Response @@ -29354,9 +29533,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations parameters: - *17 - - *80 - - *81 - - *167 + - *82 + - *83 + - *170 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -29399,7 +29578,7 @@ paths: bundle_url: type: string examples: - default: &405 + default: &410 value: attestations: - bundle: @@ -29517,7 +29696,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-the-audit-log-for-an-organization parameters: - - *167 + - *170 - name: phrase description: A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log). @@ -29525,10 +29704,10 @@ paths: required: false schema: type: string - - *203 - - *204 - - *205 - *206 + - *207 + - *208 + - *209 - *17 responses: '200': @@ -29537,9 +29716,9 @@ paths: application/json: schema: type: array - items: *207 + items: *210 examples: - default: *208 + default: *211 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29556,7 +29735,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *167 + - *170 - *17 - *19 responses: @@ -29568,7 +29747,7 @@ paths: type: array items: *4 examples: - default: &275 + default: &278 value: - login: octocat id: 1 @@ -29606,8 +29785,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *167 - - &209 + - *170 + - &212 name: username description: The handle for the GitHub user account. in: path @@ -29638,8 +29817,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *167 - - *209 + - *170 + - *212 responses: '204': description: Response @@ -29659,8 +29838,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *167 - - *209 + - *170 + - *212 responses: '204': description: Response @@ -29686,17 +29865,17 @@ paths: category: orgs subcategory: bypass-requests parameters: - - *167 - - &309 + - *170 + - &312 name: repository_name description: The name of the repository to filter on. in: query schema: type: string - - *210 - - *211 - - *212 - *213 + - *214 + - *215 + - *216 - *17 - *19 responses: @@ -29706,11 +29885,11 @@ paths: application/json: schema: type: array - items: *214 + items: *217 examples: - default: *215 + default: *218 '404': *6 - '500': *93 + '500': *95 "/orgs/{org}/code-scanning/alerts": get: summary: List code scanning alerts for an organization @@ -29727,20 +29906,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *167 - - *216 - - *217 - - *80 - - *81 + - *170 + - *219 + - *220 + - *82 + - *83 - *19 - *17 - - *82 + - *84 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: *218 + schema: *221 - name: sort description: The property by which to sort the results. in: query @@ -29756,7 +29935,7 @@ paths: be returned. in: query required: false - schema: &431 + schema: &436 type: string description: Severity of a code scanning alert. enum: @@ -29774,13 +29953,13 @@ paths: application/json: schema: type: array - items: *219 + items: *222 examples: - default: *220 + default: *223 headers: Link: *37 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29802,7 +29981,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *167 + - *170 - name: target_type in: query description: The target type of the code security configuration @@ -29821,8 +30000,8 @@ paths: schema: type: integer default: 30 - - *80 - - *81 + - *82 + - *83 responses: '200': description: Response @@ -29830,7 +30009,7 @@ paths: application/json: schema: type: array - items: *86 + items: *88 examples: default: value: @@ -29909,7 +30088,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *167 + - *170 requestBody: required: true content: @@ -29982,7 +30161,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: *89 + code_scanning_default_setup_options: *91 secret_scanning: type: string description: The enablement status of secret scanning @@ -30082,9 +30261,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *86 + schema: *88 examples: - default: *221 + default: *224 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30106,15 +30285,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *167 + - *170 responses: '200': description: Response content: application/json: - schema: *222 + schema: *225 examples: - default: *223 + default: *226 '304': *35 '403': *27 '404': *6 @@ -30140,7 +30319,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *167 + - *170 requestBody: required: true content: @@ -30163,11 +30342,11 @@ paths: - 32 - 91 responses: - '204': *112 + '204': *114 '400': *14 '403': *27 '404': *6 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30189,16 +30368,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *167 - - *88 + - *170 + - *90 responses: '200': description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *221 + default: *224 '304': *35 '403': *27 '404': *6 @@ -30222,8 +30401,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *167 - - *88 + - *170 + - *90 requestBody: required: true content: @@ -30289,7 +30468,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *89 + code_scanning_default_setup_options: *91 secret_scanning: type: string description: The enablement status of secret scanning @@ -30376,7 +30555,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *86 + schema: *88 examples: default: value: @@ -30430,14 +30609,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *167 - - *88 + - *170 + - *90 responses: - '204': *112 + '204': *114 '400': *14 '403': *27 '404': *6 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30461,8 +30640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *167 - - *88 + - *170 + - *90 requestBody: required: true content: @@ -30501,7 +30680,7 @@ paths: - 32 - 91 responses: - '202': *91 + '202': *93 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30525,8 +30704,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *167 - - *88 + - *170 + - *90 requestBody: required: true content: @@ -30566,12 +30745,12 @@ paths: - none - private_and_internal - public - configuration: *86 + configuration: *88 examples: default: value: default_for_new_repos: all - configuration: *221 + configuration: *224 '403': *27 '404': *6 x-github: @@ -30595,8 +30774,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *167 - - *88 + - *170 + - *90 - 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)." @@ -30605,8 +30784,8 @@ paths: schema: type: integer default: 30 - - *80 - - *81 + - *82 + - *83 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -30624,13 +30803,13 @@ paths: application/json: schema: type: array - items: *224 + items: *227 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *225 + repository: *228 '403': *27 '404': *6 x-github: @@ -30654,7 +30833,7 @@ paths: parameters: - *17 - *19 - - *167 + - *170 responses: '200': description: Response @@ -30670,7 +30849,7 @@ paths: type: integer codespaces: type: array - items: &276 + items: &279 type: object title: Codespace description: A codespace. @@ -30701,11 +30880,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *187 + repository: *190 machine: anyOf: - type: 'null' - - &460 + - &465 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -30992,7 +31171,7 @@ paths: - pulls_url - recent_folders examples: - default: &277 + default: &280 value: total_count: 3 codespaces: @@ -31402,7 +31581,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *35 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -31424,7 +31603,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *167 + - *170 deprecated: true requestBody: required: true @@ -31468,7 +31647,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *93 + '500': *95 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -31491,7 +31670,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *167 + - *170 deprecated: true requestBody: required: true @@ -31523,7 +31702,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *93 + '500': *95 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -31546,7 +31725,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *167 + - *170 requestBody: required: true content: @@ -31577,7 +31756,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *93 + '500': *95 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -31598,7 +31777,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *167 + - *170 - *17 - *19 responses: @@ -31616,7 +31795,7 @@ paths: type: integer secrets: type: array - items: &226 + items: &229 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -31657,7 +31836,7 @@ paths: - updated_at - visibility examples: - default: &461 + default: &466 value: total_count: 2 secrets: @@ -31689,13 +31868,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *167 + - *170 responses: '200': description: Response content: application/json: - schema: &462 + schema: &467 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -31730,7 +31909,7 @@ paths: - key_id - key examples: - default: &463 + default: &468 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -31753,16 +31932,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 responses: '200': description: Response content: application/json: - schema: *226 + schema: *229 examples: - default: &465 + default: &470 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -31789,8 +31968,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 requestBody: required: true content: @@ -31845,7 +32024,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -31871,8 +32050,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 responses: '204': description: Response @@ -31897,8 +32076,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 - *19 - *17 responses: @@ -31916,9 +32095,9 @@ paths: type: integer repositories: type: array - items: *187 + items: *190 examples: - default: *201 + default: *204 '404': *6 x-github: githubCloudOnly: false @@ -31940,8 +32119,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 requestBody: required: true content: @@ -31991,8 +32170,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 - name: repository_id in: path required: true @@ -32025,8 +32204,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 - name: repository_id in: path required: true @@ -32065,7 +32244,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *167 + - *170 responses: '200': description: OK @@ -32176,7 +32355,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -32208,7 +32387,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *167 + - *170 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -32231,12 +32410,12 @@ paths: currently being billed. seats: type: array - items: *227 + items: *230 examples: - default: *228 + default: *231 headers: Link: *37 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -32269,7 +32448,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *167 + - *170 requestBody: content: application/json: @@ -32311,7 +32490,7 @@ paths: default: value: seats_created: 5 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -32347,7 +32526,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *167 + - *170 requestBody: content: application/json: @@ -32389,7 +32568,7 @@ paths: default: value: seats_cancelled: 5 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -32427,7 +32606,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *167 + - *170 requestBody: content: application/json: @@ -32468,7 +32647,7 @@ paths: default: value: seats_created: 5 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -32504,7 +32683,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *167 + - *170 requestBody: content: application/json: @@ -32546,7 +32725,7 @@ paths: default: value: seats_cancelled: 5 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -32585,7 +32764,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *167 + - *170 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -32617,13 +32796,13 @@ paths: application/json: schema: type: array - items: *127 + items: *130 examples: - default: *128 - '500': *93 + default: *131 + '500': *95 '403': *27 '404': *6 - '422': *129 + '422': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32654,7 +32833,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members parameters: - - *167 + - *170 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -32686,10 +32865,10 @@ paths: application/json: schema: type: array - items: *130 + items: *133 examples: - default: *229 - '500': *93 + default: *232 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -32714,7 +32893,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization parameters: - - *167 + - *170 - *17 - name: page description: Page token @@ -32873,7 +33052,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization parameters: - - *167 + - *170 - name: credential_id in: path required: true @@ -32904,7 +33083,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization parameters: - - *167 + - *170 responses: '200': description: Response - list of custom role names @@ -32920,7 +33099,7 @@ paths: - 3 custom_roles: type: array - items: *230 + items: *233 examples: default: value: @@ -33007,12 +33186,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *167 + - *170 requestBody: required: true content: application/json: - schema: &233 + schema: &236 type: object properties: name: @@ -33054,9 +33233,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *233 examples: - default: *231 + default: *234 '422': *15 '404': *6 x-github: @@ -33080,8 +33259,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *167 - - &232 + - *170 + - &235 name: role_id description: The unique identifier of the role. in: path @@ -33093,9 +33272,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *233 examples: - default: *231 + default: *234 '404': *6 x-github: githubCloudOnly: true @@ -33117,13 +33296,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *167 - - *232 + - *170 + - *235 requestBody: required: true content: application/json: - schema: &234 + schema: &237 type: object properties: name: @@ -33162,9 +33341,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *233 examples: - default: *231 + default: *234 '422': *15 '404': *6 x-github: @@ -33188,8 +33367,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *167 - - *232 + - *170 + - *235 responses: '204': description: Response @@ -33217,12 +33396,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---create-a-custom-role parameters: - - *167 + - *170 requestBody: required: true content: application/json: - schema: *233 + schema: *236 examples: default: value: @@ -33236,9 +33415,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *233 examples: - default: *231 + default: *234 '422': *15 '404': *6 x-github: @@ -33268,16 +33447,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - - *167 - - *232 + - *170 + - *235 responses: '200': description: Response content: application/json: - schema: *230 + schema: *233 examples: - default: *231 + default: *234 '404': *6 x-github: githubCloudOnly: true @@ -33305,13 +33484,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - - *167 - - *232 + - *170 + - *235 requestBody: required: true content: application/json: - schema: *234 + schema: *237 examples: default: value: @@ -33326,9 +33505,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *233 examples: - default: *231 + default: *234 '422': *15 '404': *6 x-github: @@ -33358,8 +33537,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - - *167 - - *232 + - *170 + - *235 responses: '204': description: Response @@ -33387,19 +33566,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *167 - - *235 - - *236 - - *237 + - *170 - *238 - *239 - *240 - *241 - - *82 - - *80 - - *81 - *242 - *243 + - *244 + - *84 + - *82 + - *83 + - *245 + - *246 - *17 responses: '200': @@ -33408,9 +33587,9 @@ paths: application/json: schema: type: array - items: *244 + items: *247 examples: - default: *245 + default: *248 '304': *35 '400': *14 '403': *27 @@ -33436,7 +33615,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *167 + - *170 - *17 - *19 responses: @@ -33454,7 +33633,7 @@ paths: type: integer secrets: type: array - items: &246 + items: &249 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -33527,13 +33706,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *167 + - *170 responses: '200': description: Response content: application/json: - schema: &488 + schema: &493 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -33552,7 +33731,7 @@ paths: - key_id - key examples: - default: &489 + default: &494 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33575,14 +33754,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 responses: '200': description: Response content: application/json: - schema: *246 + schema: *249 examples: default: value: @@ -33610,8 +33789,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 requestBody: required: true content: @@ -33666,7 +33845,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -33690,8 +33869,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 responses: '204': description: Response @@ -33715,8 +33894,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 - *19 - *17 responses: @@ -33734,9 +33913,9 @@ paths: type: integer repositories: type: array - items: *187 + items: *190 examples: - default: *201 + default: *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33757,8 +33936,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 requestBody: required: true content: @@ -33808,8 +33987,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 - name: repository_id in: path required: true @@ -33840,8 +34019,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *167 - - *197 + - *170 + - *200 - name: repository_id in: path required: true @@ -33871,7 +34050,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *167 + - *170 responses: '200': description: Response @@ -33879,7 +34058,7 @@ paths: application/json: schema: type: array - items: &287 + items: &290 title: Package description: A software package type: object @@ -33932,7 +34111,7 @@ paths: repository: anyOf: - type: 'null' - - *187 + - *190 created_at: type: string format: date-time @@ -33950,7 +34129,7 @@ paths: - created_at - updated_at examples: - default: &288 + default: &291 value: - id: 197 name: hello_docker @@ -34028,7 +34207,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *167 + - *170 - *17 - *19 responses: @@ -34038,7 +34217,7 @@ paths: application/json: schema: type: array - items: *156 + items: *159 examples: 200-response: value: @@ -34108,7 +34287,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *167 + - *170 - name: group_id description: The unique identifier of the group. in: path @@ -34134,7 +34313,7 @@ paths: description: Response content: application/json: - schema: &347 + schema: &352 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -34224,7 +34403,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &348 + default: &353 value: group_id: '123' group_name: Octocat admins @@ -34262,7 +34441,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-external-groups-in-an-organization parameters: - - *167 + - *170 - *17 - name: page description: Page token @@ -34279,7 +34458,7 @@ paths: description: Response content: application/json: - schema: &345 + schema: &350 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -34319,7 +34498,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &346 + default: &351 value: groups: - group_id: '123' @@ -34353,7 +34532,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *167 + - *170 - *17 - *19 responses: @@ -34363,7 +34542,7 @@ paths: application/json: schema: type: array - items: &269 + items: &272 title: Organization Invitation description: Organization Invitation type: object @@ -34417,7 +34596,7 @@ paths: - invitation_teams_url - node_id examples: - default: &270 + default: &273 value: - id: 1 login: monalisa @@ -34476,7 +34655,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---list-fine-grained-permissions-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response @@ -34484,7 +34663,7 @@ paths: application/json: schema: type: array - items: &306 + items: &309 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -34498,7 +34677,7 @@ paths: - name - description examples: - default: &307 + default: &310 value: - name: add_assignee description: Assign or remove a user @@ -34529,7 +34708,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *167 + - *170 - *17 - *19 responses: @@ -34539,7 +34718,7 @@ paths: application/json: schema: type: array - items: &247 + items: &250 title: Org Hook description: Org Hook type: object @@ -34660,7 +34839,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *167 + - *170 requestBody: required: true content: @@ -34722,9 +34901,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *250 examples: - default: &248 + default: &251 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -34768,8 +34947,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *167 - - &249 + - *170 + - &252 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. @@ -34782,9 +34961,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *250 examples: - default: *248 + default: *251 '404': *6 x-github: githubCloudOnly: false @@ -34805,8 +34984,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *167 - - *249 + - *170 + - *252 requestBody: required: false content: @@ -34852,7 +35031,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *250 examples: default: value: @@ -34891,8 +35070,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *167 - - *249 + - *170 + - *252 responses: '204': description: Response @@ -34917,8 +35096,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *167 - - *249 + - *170 + - *252 responses: '200': description: Response @@ -34946,8 +35125,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *167 - - *249 + - *170 + - *252 requestBody: required: false content: @@ -34995,10 +35174,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *167 - - *249 + - *170 + - *252 - *17 - - *250 + - *253 responses: '200': description: Response @@ -35006,9 +35185,9 @@ paths: application/json: schema: type: array - items: *251 + items: *254 examples: - default: *252 + default: *255 '400': *14 '422': *15 x-github: @@ -35031,17 +35210,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *167 - - *249 + - *170 + - *252 - *16 responses: '200': description: Response content: application/json: - schema: *253 + schema: *256 examples: - default: *254 + default: *257 '400': *14 '422': *15 x-github: @@ -35064,11 +35243,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *167 - - *249 + - *170 + - *252 - *16 responses: - '202': *91 + '202': *93 '400': *14 '422': *15 x-github: @@ -35091,8 +35270,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *167 - - *249 + - *170 + - *252 responses: '204': description: Response @@ -35114,8 +35293,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *167 - - &259 + - *170 + - &262 name: actor_type in: path description: The type of the actor @@ -35128,14 +35307,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &260 + - &263 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &255 + - &258 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`.' @@ -35143,7 +35322,7 @@ paths: required: true schema: type: string - - &256 + - &259 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) @@ -35154,7 +35333,7 @@ paths: type: string - *19 - *17 - - *82 + - *84 - name: sort description: The property to sort the results by. in: query @@ -35237,13 +35416,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *167 - - *255 - - *256 + - *170 + - *258 + - *259 - *19 - *17 - - *82 - - &265 + - *84 + - &268 name: sort description: The property to sort the results by. in: query @@ -35322,15 +35501,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *167 - - *255 - - *256 + - *170 + - *258 + - *259 responses: '200': description: Response content: application/json: - schema: &257 + schema: &260 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -35346,7 +35525,7 @@ paths: type: integer format: int64 examples: - default: &258 + default: &261 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -35366,24 +35545,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *167 - - &261 + - *170 + - &264 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *255 - - *256 + - *258 + - *259 responses: '200': description: Response content: application/json: - schema: *257 + schema: *260 examples: - default: *258 + default: *261 x-github: enabledForGitHubApps: true category: orgs @@ -35401,19 +35580,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *167 - - *255 - - *256 + - *170 + - *258 - *259 - - *260 + - *262 + - *263 responses: '200': description: Response content: application/json: - schema: *257 + schema: *260 examples: - default: *258 + default: *261 x-github: enabledForGitHubApps: true category: orgs @@ -35430,10 +35609,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *167 - - *255 - - *256 - - &262 + - *170 + - *258 + - *259 + - &265 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -35446,7 +35625,7 @@ paths: description: Response content: application/json: - schema: &263 + schema: &266 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -35462,7 +35641,7 @@ paths: type: integer format: int64 examples: - default: &264 + default: &267 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -35498,19 +35677,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *167 - - *261 - - *255 - - *256 - - *262 + - *170 + - *264 + - *258 + - *259 + - *265 responses: '200': description: Response content: application/json: - schema: *263 + schema: *266 examples: - default: *264 + default: *267 x-github: enabledForGitHubApps: true category: orgs @@ -35527,20 +35706,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *167 - - *259 - - *260 - - *255 - - *256 + - *170 - *262 + - *263 + - *258 + - *259 + - *265 responses: '200': description: Response content: application/json: - schema: *263 + schema: *266 examples: - default: *264 + default: *267 x-github: enabledForGitHubApps: true category: orgs @@ -35557,14 +35736,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *167 - - *261 - - *255 - - *256 + - *170 + - *264 + - *258 + - *259 - *19 - *17 - - *82 - - *265 + - *84 + - *268 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -35640,7 +35819,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *167 + - *170 responses: '200': description: Response @@ -35648,7 +35827,7 @@ paths: application/json: schema: *20 examples: - default: &527 + default: &532 value: id: 1 account: @@ -35717,7 +35896,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *167 + - *170 - *17 - *19 responses: @@ -35806,7 +35985,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response @@ -35814,12 +35993,12 @@ paths: application/json: schema: anyOf: - - &267 + - &270 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &266 + limit: &269 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -35847,7 +36026,7 @@ paths: properties: {} additionalProperties: false examples: - default: &268 + default: &271 value: limit: collaborators_only origin: organization @@ -35871,18 +36050,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *167 + - *170 requestBody: required: true content: application/json: - schema: &528 + schema: &533 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *266 + limit: *269 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -35907,9 +36086,9 @@ paths: description: Response content: application/json: - schema: *267 + schema: *270 examples: - default: *268 + default: *271 '422': *15 x-github: githubCloudOnly: false @@ -35927,7 +36106,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *167 + - *170 responses: '204': description: Response @@ -35953,7 +36132,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *167 + - *170 - *17 - *19 - name: role @@ -35987,9 +36166,9 @@ paths: application/json: schema: type: array - items: *269 + items: *272 examples: - default: *270 + default: *273 headers: Link: *37 '404': *6 @@ -36013,7 +36192,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *167 + - *170 requestBody: required: false content: @@ -36067,7 +36246,7 @@ paths: description: Response content: application/json: - schema: *269 + schema: *272 examples: default: value: @@ -36123,8 +36302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *167 - - &271 + - *170 + - &274 name: invitation_id description: The unique identifier of the invitation. in: path @@ -36157,8 +36336,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *167 - - *271 + - *170 + - *274 - *17 - *19 responses: @@ -36168,9 +36347,9 @@ paths: application/json: schema: type: array - items: *272 + items: *275 examples: - default: &286 + default: &289 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -36215,7 +36394,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *167 + - *170 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -36245,7 +36424,7 @@ paths: - closed - all default: open - - *273 + - *276 - name: sort description: What to sort results by. in: query @@ -36257,8 +36436,8 @@ paths: - updated - comments default: created - - *82 - - *135 + - *84 + - *138 - *17 - *19 responses: @@ -36268,9 +36447,9 @@ paths: application/json: schema: type: array - items: *145 + items: *148 examples: - default: *274 + default: *277 headers: Link: *37 '404': *6 @@ -36292,7 +36471,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *167 + - *170 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -36328,7 +36507,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 headers: Link: *37 '422': *15 @@ -36348,8 +36527,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *167 - - *209 + - *170 + - *212 responses: '204': description: Response if requester is an organization member and user is @@ -36380,8 +36559,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *167 - - *209 + - *170 + - *212 responses: '204': description: Response @@ -36407,8 +36586,8 @@ paths: parameters: - *17 - *19 - - *167 - - *209 + - *170 + - *212 responses: '200': description: Response @@ -36424,11 +36603,11 @@ paths: type: integer codespaces: type: array - items: *276 + items: *279 examples: - default: *277 + default: *280 '304': *35 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -36451,9 +36630,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *167 - - *209 - - &278 + - *170 + - *212 + - &281 name: codespace_name in: path required: true @@ -36461,9 +36640,9 @@ paths: schema: type: string responses: - '202': *91 + '202': *93 '304': *35 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -36486,17 +36665,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *167 - - *209 - - *278 + - *170 + - *212 + - *281 responses: '200': description: Response content: application/json: - schema: *276 + schema: *279 examples: - default: &459 + default: &464 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -36638,7 +36817,7 @@ paths: recent_folders: [] template: '304': *35 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -36669,14 +36848,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *167 - - *209 + - *170 + - *212 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *227 + schema: *230 examples: default: value: @@ -36719,7 +36898,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -36744,14 +36923,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *167 - - *209 + - *170 + - *212 responses: '200': description: Response content: application/json: - schema: &279 + schema: &282 title: Org Membership description: Org Membership type: object @@ -36804,7 +36983,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &280 + response-if-user-has-an-active-admin-membership-with-organization: &283 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -36872,8 +37051,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *167 - - *209 + - *170 + - *212 requestBody: required: false content: @@ -36901,9 +37080,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *282 examples: - response-if-user-already-had-membership-with-organization: *280 + response-if-user-already-had-membership-with-organization: *283 '422': *15 '403': *27 x-github: @@ -36924,8 +37103,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *167 - - *209 + - *170 + - *212 responses: '204': description: Response @@ -36950,7 +37129,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *167 + - *170 - *17 - *19 - name: exclude @@ -36972,7 +37151,7 @@ paths: application/json: schema: type: array - items: &281 + items: &284 title: Migration description: A migration. type: object @@ -37229,7 +37408,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *167 + - *170 requestBody: required: true content: @@ -37310,7 +37489,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *284 examples: default: value: @@ -37488,8 +37667,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *167 - - &282 + - *170 + - &285 name: migration_id description: The unique identifier of the migration. in: path @@ -37517,7 +37696,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *281 + schema: *284 examples: default: value: @@ -37686,8 +37865,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *167 - - *282 + - *170 + - *285 responses: '302': description: Response @@ -37708,8 +37887,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *167 - - *282 + - *170 + - *285 responses: '204': description: Response @@ -37732,9 +37911,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *167 - - *282 - - &694 + - *170 + - *285 + - &699 name: repo_name description: repo_name parameter in: path @@ -37761,8 +37940,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *167 - - *282 + - *170 + - *285 - *17 - *19 responses: @@ -37772,9 +37951,9 @@ paths: application/json: schema: type: array - items: *187 + items: *190 examples: - default: &293 + default: &296 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -37913,7 +38092,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-organization-fine-grained-permissions-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response @@ -37967,7 +38146,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response - list of organization roles @@ -37983,7 +38162,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &283 + items: &286 title: Organization Role description: Organization roles type: object @@ -38145,7 +38324,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *167 + - *170 requestBody: required: true content: @@ -38192,7 +38371,7 @@ paths: description: Response content: application/json: - schema: *283 + schema: *286 examples: default: value: @@ -38221,7 +38400,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *15 '404': *6 - '409': *90 + '409': *92 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -38243,8 +38422,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *167 - - *284 + - *170 + - *287 responses: '204': description: Response @@ -38269,9 +38448,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *167 - - *284 - - *232 + - *170 + - *287 + - *235 responses: '204': description: Response @@ -38300,9 +38479,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *167 - - *284 - - *232 + - *170 + - *287 + - *235 responses: '204': description: Response @@ -38327,8 +38506,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *167 - - *209 + - *170 + - *212 responses: '204': description: Response @@ -38353,9 +38532,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *167 - - *209 - - *232 + - *170 + - *212 + - *235 responses: '204': description: Response @@ -38385,9 +38564,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *167 - - *209 - - *232 + - *170 + - *212 + - *235 responses: '204': description: Response @@ -38415,14 +38594,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *167 - - *232 + - *170 + - *235 responses: '200': description: Response content: application/json: - schema: *283 + schema: *286 examples: default: value: @@ -38479,8 +38658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *167 - - *232 + - *170 + - *235 requestBody: required: true content: @@ -38519,7 +38698,7 @@ paths: description: Response content: application/json: - schema: *283 + schema: *286 examples: default: value: @@ -38547,7 +38726,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *15 - '409': *90 + '409': *92 '404': *6 x-github: githubCloudOnly: true @@ -38572,8 +38751,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *167 - - *232 + - *170 + - *235 responses: '204': description: Response @@ -38598,8 +38777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *167 - - *232 + - *170 + - *235 - *17 - *19 responses: @@ -38678,7 +38857,7 @@ paths: parent: anyOf: - type: 'null' - - *285 + - *288 required: - id - node_id @@ -38692,7 +38871,7 @@ paths: - slug - parent examples: - default: *286 + default: *289 headers: Link: *37 '404': @@ -38721,8 +38900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *167 - - *232 + - *170 + - *235 - *17 - *19 responses: @@ -38751,7 +38930,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *285 + items: *288 name: type: - string @@ -38868,7 +39047,7 @@ paths: - type - url examples: - default: *275 + default: *278 headers: Link: *37 '404': @@ -38892,7 +39071,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *167 + - *170 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -38916,7 +39095,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 headers: Link: *37 x-github: @@ -38941,8 +39120,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *167 - - *209 + - *170 + - *212 requestBody: required: false content: @@ -38999,8 +39178,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *167 - - *209 + - *170 + - *212 responses: '204': description: Response @@ -39057,8 +39236,8 @@ paths: - docker - nuget - container - - *167 - - &696 + - *170 + - &701 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -39094,12 +39273,12 @@ paths: application/json: schema: type: array - items: *287 + items: *290 examples: - default: *288 + default: *291 '403': *27 '401': *23 - '400': &698 + '400': &703 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -39121,7 +39300,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &289 + - &292 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 @@ -39139,20 +39318,20 @@ paths: - docker - nuget - container - - &290 + - &293 name: package_name description: The name of the package. in: path required: true schema: type: string - - *167 + - *170 responses: '200': description: Response content: application/json: - schema: *287 + schema: *290 examples: default: value: @@ -39204,9 +39383,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *289 - - *290 - - *167 + - *292 + - *293 + - *170 responses: '204': description: Response @@ -39238,9 +39417,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *289 - - *290 - - *167 + - *292 + - *293 + - *170 - name: token description: package token schema: @@ -39272,9 +39451,9 @@ 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: - - *289 - - *290 - - *167 + - *292 + - *293 + - *170 - *19 - *17 - name: state @@ -39294,7 +39473,7 @@ paths: application/json: schema: type: array - items: &291 + items: &294 title: Package Version description: A version of a software package type: object @@ -39429,10 +39608,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: - - *289 - - *290 - - *167 - - &292 + - *292 + - *293 + - *170 + - &295 name: package_version_id description: Unique identifier of the package version. in: path @@ -39444,7 +39623,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -39480,10 +39659,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *289 - - *290 - - *167 - *292 + - *293 + - *170 + - *295 responses: '204': description: Response @@ -39515,10 +39694,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *289 - - *290 - - *167 - *292 + - *293 + - *170 + - *295 responses: '204': description: Response @@ -39545,10 +39724,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *167 + - *170 - *17 - *19 - - &294 + - &297 name: sort description: The property by which to sort the results. in: query @@ -39558,8 +39737,8 @@ paths: enum: - created_at default: created_at - - *82 - - &295 + - *84 + - &298 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -39571,7 +39750,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &296 + - &299 name: repository description: The name of the repository to use to filter the results. in: query @@ -39580,7 +39759,7 @@ paths: type: string examples: - Hello-World - - &297 + - &300 name: permission description: The permission to use to filter the results. in: query @@ -39589,7 +39768,7 @@ paths: type: string examples: - issues_read - - &298 + - &301 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) @@ -39599,7 +39778,7 @@ paths: schema: type: string format: date-time - - &299 + - &302 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) @@ -39610,7 +39789,7 @@ paths: type: string format: date-time responses: - '500': *93 + '500': *95 '422': *15 '404': *6 '403': *27 @@ -39765,7 +39944,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *167 + - *170 requestBody: required: true content: @@ -39807,11 +39986,11 @@ paths: action: deny reason: Access is too broad. responses: - '500': *93 + '500': *95 '422': *15 '404': *6 '403': *27 - '202': *91 + '202': *93 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39832,7 +40011,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *167 + - *170 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -39869,11 +40048,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *93 + '500': *95 '422': *15 '404': *6 '403': *27 - '204': *112 + '204': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39894,7 +40073,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *167 + - *170 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -39905,7 +40084,7 @@ paths: - *17 - *19 responses: - '500': *93 + '500': *95 '404': *6 '403': *27 '200': @@ -39914,9 +40093,9 @@ paths: application/json: schema: type: array - items: *187 + items: *190 examples: - default: *293 + default: *296 headers: Link: *37 x-github: @@ -39939,18 +40118,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *167 + - *170 - *17 - *19 - - *294 - - *82 - - *295 - - *296 - *297 + - *84 - *298 - *299 + - *300 + - *301 + - *302 responses: - '500': *93 + '500': *95 '422': *15 '404': *6 '403': *27 @@ -40099,7 +40278,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *167 + - *170 requestBody: required: true content: @@ -40134,9 +40313,9 @@ paths: - 1296269 - 1296280 responses: - '500': *93 + '500': *95 '404': *6 - '202': *91 + '202': *93 '403': *27 '422': *15 x-github: @@ -40159,7 +40338,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *167 + - *170 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -40187,9 +40366,9 @@ paths: value: action: revoke responses: - '500': *93 + '500': *95 '404': *6 - '204': *112 + '204': *114 '403': *27 '422': *15 x-github: @@ -40211,7 +40390,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *167 + - *170 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -40221,7 +40400,7 @@ paths: - *17 - *19 responses: - '500': *93 + '500': *95 '404': *6 '403': *27 '200': @@ -40230,9 +40409,9 @@ paths: application/json: schema: type: array - items: *187 + items: *190 examples: - default: *293 + default: *296 headers: Link: *37 x-github: @@ -40258,7 +40437,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *167 + - *170 - *17 - *19 responses: @@ -40276,7 +40455,7 @@ paths: type: integer configurations: type: array - items: &300 + items: &303 title: Organization private registry description: Private registry configuration for an organization type: object @@ -40355,7 +40534,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *167 + - *170 requestBody: required: true content: @@ -40488,7 +40667,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &301 + org-private-registry-with-selected-visibility: &304 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -40531,7 +40710,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response @@ -40583,16 +40762,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *167 - - *197 + - *170 + - *200 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *300 + schema: *303 examples: - default: *301 + default: *304 '404': *6 x-github: githubCloudOnly: false @@ -40615,8 +40794,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *167 - - *197 + - *170 + - *200 requestBody: required: true content: @@ -40696,8 +40875,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *167 - - *197 + - *170 + - *200 responses: '204': description: Response @@ -40722,7 +40901,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-organization-projects parameters: - - *167 + - *170 - name: state description: Indicates the state of the projects to return. in: query @@ -40743,7 +40922,7 @@ paths: application/json: schema: type: array - items: &302 + items: &305 title: Project description: Projects are a way to organize columns and cards of work. @@ -40899,7 +41078,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-an-organization-project parameters: - - *167 + - *170 requestBody: required: true content: @@ -40925,7 +41104,7 @@ paths: description: Response content: application/json: - schema: *302 + schema: *305 examples: default: value: @@ -40963,7 +41142,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &363 + '410': &368 description: Gone content: application/json: @@ -40990,7 +41169,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response @@ -40998,9 +41177,9 @@ paths: application/json: schema: type: array - items: *108 + items: *110 examples: - default: *109 + default: *111 '403': *27 '404': *6 x-github: @@ -41023,7 +41202,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *167 + - *170 requestBody: required: true content: @@ -41034,7 +41213,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *108 + items: *110 minItems: 1 maxItems: 100 required: @@ -41064,9 +41243,9 @@ paths: application/json: schema: type: array - items: *108 + items: *110 examples: - default: *109 + default: *111 '403': *27 '404': *6 x-github: @@ -41087,16 +41266,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *167 - - *110 + - *170 + - *112 responses: '200': description: Response content: application/json: - schema: *108 + schema: *110 examples: - default: *111 + default: *113 '403': *27 '404': *6 x-github: @@ -41119,13 +41298,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *167 - - *110 + - *170 + - *112 requestBody: required: true content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -41141,9 +41320,9 @@ paths: description: Response content: application/json: - schema: *108 + schema: *110 examples: - default: *111 + default: *113 '403': *27 '404': *6 x-github: @@ -41166,10 +41345,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *167 - - *110 + - *170 + - *112 responses: - '204': *112 + '204': *114 '403': *27 '404': *6 x-github: @@ -41190,7 +41369,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *167 + - *170 - *17 - *19 - name: repository_query @@ -41231,7 +41410,7 @@ paths: - octocat/Hello-World properties: type: array - items: &304 + items: &307 title: Custom Property Value description: Custom property name and associated value type: object @@ -41301,7 +41480,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *167 + - *170 requestBody: required: true content: @@ -41321,7 +41500,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *304 + items: *307 required: - repository_names - properties @@ -41362,7 +41541,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *167 + - *170 - *17 - *19 responses: @@ -41374,7 +41553,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 headers: Link: *37 x-github: @@ -41393,8 +41572,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *167 - - *209 + - *170 + - *212 responses: '204': description: Response if user is a public member @@ -41418,8 +41597,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *167 - - *209 + - *170 + - *212 responses: '204': description: Response @@ -41440,8 +41619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *167 - - *209 + - *170 + - *212 responses: '204': description: Response @@ -41465,7 +41644,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *167 + - *170 - name: type description: Specifies the types of repositories you want returned. `internal` is not yet supported when a GitHub App calls this endpoint with an installation @@ -41512,9 +41691,9 @@ paths: application/json: schema: type: array - items: *187 + items: *190 examples: - default: *293 + default: *296 headers: Link: *37 x-github: @@ -41535,7 +41714,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *167 + - *170 requestBody: required: true content: @@ -41718,7 +41897,7 @@ paths: description: Response content: application/json: - schema: &365 + schema: &370 title: Full Repository description: Full Repository type: object @@ -42164,7 +42343,7 @@ paths: license: anyOf: - type: 'null' - - *146 + - *149 organization: anyOf: - type: 'null' @@ -42183,7 +42362,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &478 + code_of_conduct: &483 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -42213,7 +42392,7 @@ paths: - key - name - html_url - security_and_analysis: *305 + security_and_analysis: *308 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -42297,7 +42476,7 @@ paths: - network_count - subscribers_count examples: - default: &367 + default: &372 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -42815,7 +42994,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response @@ -42823,9 +43002,9 @@ paths: application/json: schema: type: array - items: *306 + items: *309 examples: - default: *307 + default: *310 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -42847,10 +43026,10 @@ paths: category: orgs subcategory: rules parameters: - - *167 + - *170 - *17 - *19 - - &609 + - &614 name: targets description: | A comma-separated list of rule targets to filter by. @@ -42869,7 +43048,7 @@ paths: application/json: schema: type: array - items: *122 + items: *124 examples: default: value: @@ -42900,7 +43079,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *93 + '500': *95 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -42916,7 +43095,7 @@ paths: category: orgs subcategory: rules parameters: - - *167 + - *170 requestBody: description: Request body required: true @@ -42937,16 +43116,16 @@ paths: - push - repository default: branch - enforcement: *119 + enforcement: *121 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *120 - conditions: *308 + items: *122 + conditions: *311 rules: type: array description: An array of rules within the ruleset. - items: *121 + items: *123 required: - name - enforcement @@ -42984,9 +43163,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *124 examples: - default: &310 + default: &313 value: id: 21 name: super cool ruleset @@ -43026,7 +43205,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *93 + '500': *95 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -43040,8 +43219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *167 - - &610 + - *170 + - &615 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -43051,16 +43230,16 @@ paths: schema: type: string x-multi-segment: true - - *309 - - *212 - - &611 + - *312 + - *215 + - &616 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &612 + - &617 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -43080,7 +43259,7 @@ paths: description: Response content: application/json: - schema: &613 + schema: &618 title: Rule Suites description: Response type: array @@ -43136,7 +43315,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &614 + default: &619 value: - id: 21 actor_id: 12 @@ -43160,7 +43339,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *93 + '500': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43179,8 +43358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *167 - - &615 + - *170 + - &620 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -43196,7 +43375,7 @@ paths: description: Response content: application/json: - schema: &616 + schema: &621 title: Rule Suite description: Response type: object @@ -43303,7 +43482,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &617 + default: &622 value: id: 21 actor_id: 12 @@ -43338,7 +43517,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *93 + '500': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43364,7 +43543,7 @@ paths: category: orgs subcategory: rules parameters: - - *167 + - *170 - name: ruleset_id description: The ID of the ruleset. in: path @@ -43376,11 +43555,11 @@ paths: description: Response content: application/json: - schema: *122 + schema: *124 examples: - default: *310 + default: *313 '404': *6 - '500': *93 + '500': *95 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -43396,7 +43575,7 @@ paths: category: orgs subcategory: rules parameters: - - *167 + - *170 - name: ruleset_id description: The ID of the ruleset. in: path @@ -43422,16 +43601,16 @@ paths: - tag - push - repository - enforcement: *119 + enforcement: *121 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *120 - conditions: *308 + items: *122 + conditions: *311 rules: description: An array of rules within the ruleset. type: array - items: *121 + items: *123 examples: default: value: @@ -43466,11 +43645,11 @@ paths: description: Response content: application/json: - schema: *122 + schema: *124 examples: - default: *310 + default: *313 '404': *6 - '500': *93 + '500': *95 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -43486,7 +43665,7 @@ paths: category: orgs subcategory: rules parameters: - - *167 + - *170 - name: ruleset_id description: The ID of the ruleset. in: path @@ -43497,7 +43676,119 @@ paths: '204': description: Response '404': *6 - '500': *93 + '500': *95 + "/orgs/{org}/rulesets/{ruleset_id}/history": + get: + summary: Get organization ruleset history + description: Get the history of an organization ruleset. + tags: + - orgs + operationId: orgs/get-org-ruleset-history + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-history + parameters: + - *170 + - *17 + - *19 + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *127 + examples: + default: *314 + '404': *6 + '500': *95 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: rules + "/orgs/{org}/rulesets/{ruleset_id}/history/{version_id}": + get: + summary: Get organization ruleset version + description: Get a version of an organization ruleset. + tags: + - orgs + operationId: orgs/get-org-ruleset-version + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-version + parameters: + - *170 + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + - name: version_id + description: The ID of the version + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: *315 + examples: + default: + value: + - version_id: 3 + actor: + id: 1 + type: User + updated_at: 2024-010-23T16:29:47Z + state: + id: 21 + name: super cool ruleset + target: branch + source_type: Organization + source: my-org + enforcement: active + bypass_actors: + - actor_id: 234 + actor_type: Team + bypass_mode: always + conditions: + ref_name: + include: + - refs/heads/main + - refs/heads/master + exclude: + - refs/heads/dev* + repository_name: + include: + - important_repository + - another_important_repository + exclude: + - unimportant_repository + protected: true + rules: + - type: commit_author_email_pattern + parameters: + operator: contains + pattern: github + '404': *6 + '500': *95 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: rules "/orgs/{org}/secret-scanning/alerts": get: summary: List secret scanning alerts for an organization @@ -43514,15 +43805,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *167 - - *311 - - *312 - - *313 - - *314 - - *82 + - *170 + - *316 + - *317 + - *318 + - *319 + - *84 - *19 - *17 - - &619 + - &624 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -43532,7 +43823,7 @@ paths: required: false schema: type: string - - &620 + - &625 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -43542,9 +43833,9 @@ paths: required: false schema: type: string - - *315 - - *316 - - *317 + - *320 + - *321 + - *322 responses: '200': description: Response @@ -43552,13 +43843,13 @@ paths: application/json: schema: type: array - items: *318 + items: *323 examples: - default: *319 + default: *324 headers: Link: *37 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43580,8 +43871,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *167 - - *82 + - *170 + - *84 - name: sort description: The property to sort the results by. in: query @@ -43593,8 +43884,8 @@ paths: - updated - published default: created - - *80 - - *81 + - *82 + - *83 - name: per_page description: The number of advisories to return per page. 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)." @@ -43624,7 +43915,7 @@ paths: application/json: schema: type: array - items: &627 + items: &632 description: A repository security advisory. type: object properties: @@ -43832,7 +44123,7 @@ paths: required: - vector_string - score - cvss_severities: *96 + cvss_severities: *98 cwes: type: - array @@ -43868,7 +44159,7 @@ paths: login: type: string description: The username of the user credited. - type: *320 + type: *325 credits_detailed: type: - array @@ -43879,7 +44170,7 @@ paths: type: object properties: user: *4 - type: *320 + type: *325 state: type: string description: The state of the user's acceptance of the @@ -43905,13 +44196,13 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *272 + items: *275 private_fork: readOnly: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *92 + - *94 type: - 'null' required: @@ -43943,7 +44234,7 @@ paths: - private_fork additionalProperties: false examples: - default: &628 + default: &633 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -44322,7 +44613,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *167 + - *170 responses: '200': description: Response @@ -44330,9 +44621,9 @@ paths: application/json: schema: type: array - items: *285 + items: *288 examples: - default: *286 + default: *289 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44355,8 +44646,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *167 - - *284 + - *170 + - *287 responses: '204': description: Response @@ -44381,8 +44672,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *167 - - *284 + - *170 + - *287 responses: '204': description: Response @@ -44411,15 +44702,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response content: application/json: - schema: *321 + schema: *326 examples: - default: *322 + default: *327 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -44443,7 +44734,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - - *167 + - *170 - *17 - *19 responses: @@ -44451,9 +44742,9 @@ paths: description: Success content: application/json: - schema: *323 + schema: *328 examples: - default: *324 + default: *329 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -44475,15 +44766,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response content: application/json: - schema: *325 + schema: *330 examples: - default: *326 + default: *331 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -44505,15 +44796,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *167 + - *170 responses: '200': description: Response content: application/json: - schema: *327 + schema: *332 examples: - default: *328 + default: *333 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -44533,7 +44824,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *167 + - *170 - *17 - *19 responses: @@ -44551,9 +44842,9 @@ paths: type: integer network_configurations: type: array - items: *105 + items: *107 examples: - default: *329 + default: *334 headers: Link: *37 x-github: @@ -44574,7 +44865,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *167 + - *170 requestBody: required: true content: @@ -44616,9 +44907,9 @@ paths: description: Response content: application/json: - schema: *105 + schema: *107 examples: - default: *106 + default: *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44638,16 +44929,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *167 - - *107 + - *170 + - *109 responses: '200': description: Response content: application/json: - schema: *105 + schema: *107 examples: - default: *106 + default: *108 headers: Link: *37 x-github: @@ -44668,8 +44959,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *167 - - *107 + - *170 + - *109 requestBody: required: true content: @@ -44708,9 +44999,9 @@ paths: description: Response content: application/json: - schema: *105 + schema: *107 examples: - default: *106 + default: *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44729,8 +45020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *167 - - *107 + - *170 + - *109 responses: '204': description: Response @@ -44753,16 +45044,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *167 - - *330 + - *170 + - *335 responses: '200': description: Response content: application/json: - schema: *331 + schema: *336 examples: - default: *332 + default: *337 headers: Link: *37 x-github: @@ -44781,7 +45072,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-an-organization parameters: - - *167 + - *170 - *17 - name: page description: Page token @@ -44800,7 +45091,7 @@ paths: description: Response content: application/json: - schema: &354 + schema: &359 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -44852,7 +45143,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &355 + default: &360 value: groups: - group_id: '123' @@ -44897,8 +45188,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *167 - - *284 + - *170 + - *287 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -44930,13 +45221,13 @@ paths: application/json: schema: type: array - items: *127 + items: *130 examples: - default: *128 - '500': *93 + default: *131 + '500': *95 '403': *27 '404': *6 - '422': *129 + '422': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44970,8 +45261,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team parameters: - - *167 - - *284 + - *170 + - *287 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -45003,10 +45294,10 @@ paths: application/json: schema: type: array - items: *130 + items: *133 examples: - default: *229 - '500': *93 + default: *232 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -45027,7 +45318,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *167 + - *170 - *17 - *19 responses: @@ -45037,9 +45328,9 @@ paths: application/json: schema: type: array - items: *272 + items: *275 examples: - default: *286 + default: *289 headers: Link: *37 '403': *27 @@ -45061,7 +45352,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *167 + - *170 requestBody: required: true content: @@ -45133,7 +45424,7 @@ paths: description: Response content: application/json: - schema: &333 + schema: &338 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -45207,7 +45498,7 @@ paths: parent: anyOf: - type: 'null' - - *285 + - *288 members_count: type: integer examples: @@ -45513,7 +45804,7 @@ paths: - repos_count - organization examples: - default: &334 + default: &339 value: id: 1 node_id: MDQ6VGVhbTE= @@ -45583,16 +45874,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *167 - - *284 + - *170 + - *287 responses: '200': description: Response content: application/json: - schema: *333 + schema: *338 examples: - default: *334 + default: *339 '404': *6 x-github: githubCloudOnly: false @@ -45613,8 +45904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *167 - - *284 + - *170 + - *287 requestBody: required: false content: @@ -45677,16 +45968,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *333 + schema: *338 examples: - default: *334 + default: *339 '201': description: Response content: application/json: - schema: *333 + schema: *338 examples: - default: *334 + default: *339 '404': *6 '422': *15 '403': *27 @@ -45711,8 +46002,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *167 - - *284 + - *170 + - *287 responses: '204': description: Response @@ -45738,9 +46029,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *167 - - *284 - - *82 + - *170 + - *287 + - *84 - *17 - *19 - name: pinned @@ -45756,7 +46047,7 @@ paths: application/json: schema: type: array - items: &335 + items: &340 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -45847,7 +46138,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *133 + reactions: *136 required: - author - body @@ -45867,7 +46158,7 @@ paths: - updated_at - url examples: - default: &668 + default: &673 value: - author: login: octocat @@ -45941,8 +46232,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *167 - - *284 + - *170 + - *287 requestBody: required: true content: @@ -45976,9 +46267,9 @@ paths: description: Response content: application/json: - schema: *335 + schema: *340 examples: - default: &336 + default: &341 value: author: login: octocat @@ -46050,9 +46341,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *167 - - *284 - - &337 + - *170 + - *287 + - &342 name: discussion_number description: The number that identifies the discussion. in: path @@ -46064,9 +46355,9 @@ paths: description: Response content: application/json: - schema: *335 + schema: *340 examples: - default: *336 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46088,9 +46379,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *167 - - *284 - - *337 + - *170 + - *287 + - *342 requestBody: required: false content: @@ -46113,9 +46404,9 @@ paths: description: Response content: application/json: - schema: *335 + schema: *340 examples: - default: &669 + default: &674 value: author: login: octocat @@ -46185,9 +46476,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *167 - - *284 - - *337 + - *170 + - *287 + - *342 responses: '204': description: Response @@ -46213,10 +46504,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *167 - - *284 - - *337 - - *82 + - *170 + - *287 + - *342 + - *84 - *17 - *19 responses: @@ -46226,7 +46517,7 @@ paths: application/json: schema: type: array - items: &338 + items: &343 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -46291,7 +46582,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *133 + reactions: *136 required: - author - body @@ -46306,7 +46597,7 @@ paths: - updated_at - url examples: - default: &670 + default: &675 value: - author: login: octocat @@ -46374,9 +46665,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *167 - - *284 - - *337 + - *170 + - *287 + - *342 requestBody: required: true content: @@ -46398,9 +46689,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *343 examples: - default: &339 + default: &344 value: author: login: octocat @@ -46466,10 +46757,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *167 - - *284 - - *337 - - &340 + - *170 + - *287 + - *342 + - &345 name: comment_number description: The number that identifies the comment. in: path @@ -46481,9 +46772,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *343 examples: - default: *339 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46505,10 +46796,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *167 - - *284 - - *337 - - *340 + - *170 + - *287 + - *342 + - *345 requestBody: required: true content: @@ -46530,9 +46821,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *343 examples: - default: &671 + default: &676 value: author: login: octocat @@ -46596,10 +46887,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *167 - - *284 - - *337 - - *340 + - *170 + - *287 + - *342 + - *345 responses: '204': description: Response @@ -46625,10 +46916,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *167 - - *284 - - *337 - - *340 + - *170 + - *287 + - *342 + - *345 - 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. @@ -46654,7 +46945,7 @@ paths: application/json: schema: type: array - items: &341 + items: &346 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -46698,7 +46989,7 @@ paths: - content - created_at examples: - default: &343 + default: &348 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46748,10 +47039,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *167 - - *284 - - *337 - - *340 + - *170 + - *287 + - *342 + - *345 requestBody: required: true content: @@ -46784,9 +47075,9 @@ paths: team discussion comment content: application/json: - schema: *341 + schema: *346 examples: - default: &342 + default: &347 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46815,9 +47106,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *346 examples: - default: *342 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46840,11 +47131,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *167 - - *284 - - *337 - - *340 - - &344 + - *170 + - *287 + - *342 + - *345 + - &349 name: reaction_id description: The unique identifier of the reaction. in: path @@ -46876,9 +47167,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *167 - - *284 - - *337 + - *170 + - *287 + - *342 - 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. @@ -46904,9 +47195,9 @@ paths: application/json: schema: type: array - items: *341 + items: *346 examples: - default: *343 + default: *348 headers: Link: *37 x-github: @@ -46932,9 +47223,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *167 - - *284 - - *337 + - *170 + - *287 + - *342 requestBody: required: true content: @@ -46966,16 +47257,16 @@ paths: description: Response content: application/json: - schema: *341 + schema: *346 examples: - default: *342 + default: *347 '201': description: Response content: application/json: - schema: *341 + schema: *346 examples: - default: *342 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -46998,10 +47289,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *167 - - *284 - - *337 - - *344 + - *170 + - *287 + - *342 + - *349 responses: '204': description: Response @@ -47024,16 +47315,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - - *167 - - *284 + - *170 + - *287 responses: '200': description: Response content: application/json: - schema: *345 + schema: *350 examples: - default: *346 + default: *351 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -47052,8 +47343,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - - *167 - - *284 + - *170 + - *287 requestBody: required: true content: @@ -47077,9 +47368,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *352 examples: - default: *348 + default: *353 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -47098,8 +47389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - - *167 - - *284 + - *170 + - *287 responses: '204': description: Response @@ -47123,8 +47414,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *167 - - *284 + - *170 + - *287 - *17 - *19 responses: @@ -47134,9 +47425,9 @@ paths: application/json: schema: type: array - items: *269 + items: *272 examples: - default: *270 + default: *273 headers: Link: *37 x-github: @@ -47158,8 +47449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *167 - - *284 + - *170 + - *287 - name: role description: Filters members returned by their role in the team. in: query @@ -47182,7 +47473,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 headers: Link: *37 x-github: @@ -47212,15 +47503,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *167 - - *284 - - *209 + - *170 + - *287 + - *212 responses: '200': description: Response content: application/json: - schema: &349 + schema: &354 title: Team Membership description: Team Membership type: object @@ -47248,7 +47539,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &672 + response-if-user-is-a-team-maintainer: &677 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47284,9 +47575,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *167 - - *284 - - *209 + - *170 + - *287 + - *212 requestBody: required: false content: @@ -47311,9 +47602,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *354 examples: - response-if-users-membership-with-team-is-now-pending: &673 + response-if-users-membership-with-team-is-now-pending: &678 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47348,9 +47639,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *167 - - *284 - - *209 + - *170 + - *287 + - *212 responses: '204': description: Response @@ -47376,8 +47667,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *167 - - *284 + - *170 + - *287 - *17 - *19 responses: @@ -47387,7 +47678,7 @@ paths: application/json: schema: type: array - items: &350 + items: &355 title: Team Project description: A team's access to a project. type: object @@ -47456,7 +47747,7 @@ paths: - updated_at - permissions examples: - default: &674 + default: &679 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47517,9 +47808,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *167 - - *284 - - &351 + - *170 + - *287 + - &356 name: project_id description: The unique identifier of the project. in: path @@ -47531,9 +47822,9 @@ paths: description: Response content: application/json: - schema: *350 + schema: *355 examples: - default: &675 + default: &680 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47593,9 +47884,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *167 - - *284 - - *351 + - *170 + - *287 + - *356 requestBody: required: false content: @@ -47660,9 +47951,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *167 - - *284 - - *351 + - *170 + - *287 + - *356 responses: '204': description: Response @@ -47686,8 +47977,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *167 - - *284 + - *170 + - *287 - *17 - *19 responses: @@ -47697,9 +47988,9 @@ paths: application/json: schema: type: array - items: *187 + items: *190 examples: - default: *293 + default: *296 headers: Link: *37 x-github: @@ -47728,16 +48019,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *167 - - *284 - - *352 - - *353 + - *170 + - *287 + - *357 + - *358 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &676 + schema: &681 title: Team Repository description: A team's access to a repository. type: object @@ -47763,7 +48054,7 @@ paths: license: anyOf: - type: 'null' - - *146 + - *149 forks: type: integer permissions: @@ -48378,10 +48669,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *167 - - *284 - - *352 - - *353 + - *170 + - *287 + - *357 + - *358 requestBody: required: false content: @@ -48426,10 +48717,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *167 - - *284 - - *352 - - *353 + - *170 + - *287 + - *357 + - *358 responses: '204': description: Response @@ -48455,16 +48746,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - - *167 - - *284 + - *170 + - *287 responses: '200': description: Response content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -48486,8 +48777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - - *167 - - *284 + - *170 + - *287 requestBody: required: true content: @@ -48530,7 +48821,7 @@ paths: description: Response content: application/json: - schema: *354 + schema: *359 examples: default: value: @@ -48562,8 +48853,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *167 - - *284 + - *170 + - *287 - *17 - *19 responses: @@ -48573,9 +48864,9 @@ paths: application/json: schema: type: array - items: *272 + items: *275 examples: - response-if-child-teams-exist: &677 + response-if-child-teams-exist: &682 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -48628,7 +48919,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *167 + - *170 - name: security_product in: path description: The security feature to enable or disable. @@ -48702,7 +48993,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &356 + - &361 name: card_id description: The unique identifier of the card. in: path @@ -48714,7 +49005,7 @@ paths: description: Response content: application/json: - schema: &357 + schema: &362 title: Project Card description: Project cards represent a scope of work. type: object @@ -48789,7 +49080,7 @@ paths: - created_at - updated_at examples: - default: &358 + default: &363 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -48845,7 +49136,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *356 + - *361 requestBody: required: false content: @@ -48875,9 +49166,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *362 examples: - default: *358 + default: *363 '304': *35 '403': *27 '401': *23 @@ -48904,7 +49195,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *356 + - *361 responses: '204': description: Response @@ -48948,7 +49239,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *356 + - *361 requestBody: required: true content: @@ -49061,7 +49352,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &359 + - &364 name: column_id description: The unique identifier of the column. in: path @@ -49073,7 +49364,7 @@ paths: description: Response content: application/json: - schema: &360 + schema: &365 title: Project Column description: Project columns contain cards of work. type: object @@ -49127,7 +49418,7 @@ paths: - created_at - updated_at examples: - default: &361 + default: &366 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -49162,7 +49453,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *359 + - *364 requestBody: required: true content: @@ -49187,9 +49478,9 @@ paths: description: Response content: application/json: - schema: *360 + schema: *365 examples: - default: *361 + default: *366 '304': *35 '403': *27 '401': *23 @@ -49214,7 +49505,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *359 + - *364 responses: '204': description: Response @@ -49243,7 +49534,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *359 + - *364 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -49264,7 +49555,7 @@ paths: application/json: schema: type: array - items: *357 + items: *362 examples: default: value: @@ -49323,7 +49614,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *359 + - *364 requestBody: required: true content: @@ -49367,9 +49658,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *362 examples: - default: *358 + default: *363 '304': *35 '403': *27 '401': *23 @@ -49379,8 +49670,8 @@ paths: application/json: schema: oneOf: - - *170 - - *171 + - *173 + - *174 '503': description: Response content: @@ -49425,7 +49716,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *359 + - *364 requestBody: required: true content: @@ -49486,15 +49777,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *351 + - *356 responses: '200': description: Response content: application/json: - schema: *302 + schema: *305 examples: - default: &362 + default: &367 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -49551,7 +49842,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *351 + - *356 requestBody: required: false content: @@ -49600,9 +49891,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *305 examples: - default: *362 + default: *367 '404': description: Not Found if the authenticated user does not have access to the project @@ -49623,7 +49914,7 @@ paths: items: type: string '401': *23 - '410': *363 + '410': *368 '422': *7 x-github: githubCloudOnly: false @@ -49646,7 +49937,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *351 + - *356 responses: '204': description: Delete Success @@ -49667,7 +49958,7 @@ paths: items: type: string '401': *23 - '410': *363 + '410': *368 '404': *6 x-github: githubCloudOnly: false @@ -49691,7 +49982,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *351 + - *356 - 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 @@ -49718,7 +50009,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 headers: Link: *37 '404': *6 @@ -49748,8 +50039,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *351 - - *209 + - *356 + - *212 requestBody: required: false content: @@ -49803,8 +50094,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *351 - - *209 + - *356 + - *212 responses: '204': description: Response @@ -49835,8 +50126,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *351 - - *209 + - *356 + - *212 responses: '200': description: Response @@ -49906,7 +50197,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *351 + - *356 - *17 - *19 responses: @@ -49916,7 +50207,7 @@ paths: application/json: schema: type: array - items: *360 + items: *365 examples: default: value: @@ -49954,7 +50245,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *351 + - *356 requestBody: required: true content: @@ -49978,7 +50269,7 @@ paths: description: Response content: application/json: - schema: *360 + schema: *365 examples: default: value: @@ -50042,7 +50333,7 @@ paths: resources: type: object properties: - core: &364 + core: &369 title: Rate Limit type: object properties: @@ -50059,20 +50350,20 @@ paths: - remaining - reset - used - graphql: *364 - search: *364 - code_search: *364 - source_import: *364 - integration_manifest: *364 - code_scanning_upload: *364 - actions_runner_registration: *364 - scim: *364 - dependency_snapshots: *364 - code_scanning_autofix: *364 + graphql: *369 + search: *369 + code_search: *369 + source_import: *369 + integration_manifest: *369 + code_scanning_upload: *369 + actions_runner_registration: *369 + scim: *369 + dependency_snapshots: *369 + code_scanning_autofix: *369 required: - core - search - rate: *364 + rate: *369 required: - rate - resources @@ -50176,14 +50467,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *365 + schema: *370 examples: default-response: summary: Default response @@ -50688,7 +50979,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *366 + '301': *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50706,8 +50997,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: false content: @@ -50954,10 +51245,10 @@ paths: description: Response content: application/json: - schema: *365 + schema: *370 examples: - default: *367 - '307': &368 + default: *372 + '307': &373 description: Temporary Redirect content: application/json: @@ -50986,8 +51277,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Response @@ -51009,7 +51300,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': *368 + '307': *373 '404': *6 x-github: githubCloudOnly: false @@ -51032,11 +51323,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 - - &383 + - &388 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -51059,7 +51350,7 @@ paths: type: integer artifacts: type: array - items: &369 + items: &374 title: Artifact description: An artifact type: object @@ -51145,7 +51436,7 @@ paths: - expires_at - updated_at examples: - default: &384 + default: &389 value: total_count: 2 artifacts: @@ -51204,9 +51495,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *352 - - *353 - - &370 + - *357 + - *358 + - &375 name: artifact_id description: The unique identifier of the artifact. in: path @@ -51218,7 +51509,7 @@ paths: description: Response content: application/json: - schema: *369 + schema: *374 examples: default: value: @@ -51255,9 +51546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *352 - - *353 - - *370 + - *357 + - *358 + - *375 responses: '204': description: Response @@ -51281,9 +51572,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *352 - - *353 - - *370 + - *357 + - *358 + - *375 - name: archive_format in: path required: true @@ -51297,7 +51588,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': *363 + '410': *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51320,14 +51611,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *371 + schema: *376 examples: default: value: @@ -51353,11 +51644,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: - - *352 - - *353 + - *357 + - *358 - *17 - *19 - - &372 + - &377 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 @@ -51385,13 +51676,13 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *82 + - *84 responses: '200': description: Response content: application/json: - schema: &373 + schema: &378 title: Repository actions caches description: Repository actions caches type: object @@ -51441,7 +51732,7 @@ paths: - total_count - actions_caches examples: - default: &374 + default: &379 value: total_count: 1 actions_caches: @@ -51473,23 +51764,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: - - *352 - - *353 + - *357 + - *358 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *372 + - *377 responses: '200': description: Response content: application/json: - schema: *373 + schema: *378 examples: - default: *374 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51509,8 +51800,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: - - *352 - - *353 + - *357 + - *358 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -51541,9 +51832,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: - - *352 - - *353 - - &375 + - *357 + - *358 + - &380 name: job_id description: The unique identifier of the job. in: path @@ -51555,7 +51846,7 @@ paths: description: Response content: application/json: - schema: &387 + schema: &392 title: Job description: Information of a job execution in a workflow run type: object @@ -51902,9 +52193,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: - - *352 - - *353 - - *375 + - *357 + - *358 + - *380 responses: '302': description: Response @@ -51932,9 +52223,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: - - *352 - - *353 - - *375 + - *357 + - *358 + - *380 requestBody: required: false content: @@ -51956,7 +52247,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -51980,8 +52271,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Status response @@ -52031,8 +52322,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: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -52066,7 +52357,7 @@ paths: description: Empty response content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -52095,8 +52386,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -52114,7 +52405,7 @@ paths: type: integer secrets: type: array - items: &389 + items: &394 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -52135,7 +52426,7 @@ paths: - created_at - updated_at examples: - default: &390 + default: &395 value: total_count: 2 secrets: @@ -52168,9 +52459,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *352 - - *353 - - *376 + - *357 + - *358 + - *381 - *19 responses: '200': @@ -52187,7 +52478,7 @@ paths: type: integer variables: type: array - items: &393 + items: &398 title: Actions Variable type: object properties: @@ -52221,7 +52512,7 @@ paths: - created_at - updated_at examples: - default: &394 + default: &399 value: total_count: 2 variables: @@ -52254,8 +52545,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -52264,11 +52555,11 @@ paths: schema: type: object properties: - enabled: &377 + enabled: &382 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *46 - selected_actions_url: *180 + selected_actions_url: *183 required: - enabled examples: @@ -52297,8 +52588,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: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Response @@ -52309,7 +52600,7 @@ paths: schema: type: object properties: - enabled: *377 + enabled: *382 allowed_actions: *46 required: - enabled @@ -52340,14 +52631,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: &378 + schema: &383 type: object properties: access_level: @@ -52365,7 +52656,7 @@ paths: required: - access_level examples: - default: &379 + default: &384 value: access_level: organization x-github: @@ -52390,15 +52681,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: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: application/json: - schema: *378 + schema: *383 examples: - default: *379 + default: *384 responses: '204': description: Response @@ -52422,8 +52713,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -52454,8 +52745,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: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Response @@ -52487,14 +52778,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *183 + schema: *186 examples: default: *52 x-github: @@ -52517,8 +52808,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: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Success response @@ -52529,7 +52820,7 @@ paths: required: true content: application/json: - schema: *184 + schema: *187 examples: default: *52 x-github: @@ -52558,8 +52849,8 @@ paths: in: query schema: type: string - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -52603,8 +52894,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -52612,9 +52903,9 @@ paths: application/json: schema: type: array - items: *188 + items: *191 examples: - default: *189 + default: *192 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52636,8 +52927,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: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -52680,10 +52971,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *190 + '201': *193 '404': *6 '422': *7 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52711,8 +53002,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: - - *352 - - *353 + - *357 + - *358 responses: '201': description: Response @@ -52720,7 +53011,7 @@ paths: application/json: schema: *62 examples: - default: *191 + default: *194 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52748,8 +53039,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: - - *352 - - *353 + - *357 + - *358 responses: '201': description: Response @@ -52757,7 +53048,7 @@ paths: application/json: schema: *62 examples: - default: *192 + default: *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52779,8 +53070,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: - - *352 - - *353 + - *357 + - *358 - *58 responses: '200': @@ -52789,7 +53080,7 @@ paths: application/json: schema: *59 examples: - default: *193 + default: *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52810,8 +53101,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: - - *352 - - *353 + - *357 + - *358 - *58 responses: '204': @@ -52837,8 +53128,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: - - *352 - - *353 + - *357 + - *358 - *58 responses: '200': *64 @@ -52863,8 +53154,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: - - *352 - - *353 + - *357 + - *358 - *58 requestBody: required: true @@ -52913,8 +53204,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: - - *352 - - *353 + - *357 + - *358 - *58 requestBody: required: true @@ -52964,11 +53255,11 @@ 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: - - *352 - - *353 + - *357 + - *358 - *58 responses: - '200': *194 + '200': *197 '404': *6 x-github: githubCloudOnly: false @@ -52995,10 +53286,10 @@ 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: - - *352 - - *353 + - *357 + - *358 - *58 - - *195 + - *198 responses: '200': *64 '404': *6 @@ -53026,9 +53317,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: - - *352 - - *353 - - &397 + - *357 + - *358 + - &402 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. @@ -53036,7 +53327,7 @@ paths: required: false schema: type: string - - &398 + - &403 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -53044,7 +53335,7 @@ paths: required: false schema: type: string - - &399 + - &404 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -53053,7 +53344,7 @@ paths: required: false schema: type: string - - &400 + - &405 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 @@ -53080,7 +53371,7 @@ paths: - pending - *17 - *19 - - &401 + - &406 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)." @@ -53089,7 +53380,7 @@ paths: schema: type: string format: date-time - - &380 + - &385 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -53098,13 +53389,13 @@ paths: schema: type: boolean default: false - - &402 + - &407 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &403 + - &408 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -53127,7 +53418,7 @@ paths: type: integer workflow_runs: type: array - items: &381 + items: &386 title: Workflow Run description: An invocation of a workflow type: object @@ -53244,7 +53535,7 @@ paths: type: - array - 'null' - items: &422 + items: &427 title: Pull Request Minimal type: object properties: @@ -53371,7 +53662,7 @@ paths: head_commit: anyOf: - type: 'null' - - &426 + - &431 title: Simple Commit description: A commit. type: object @@ -53445,8 +53736,8 @@ paths: - timestamp - author - committer - repository: *187 - head_repository: *187 + repository: *190 + head_repository: *190 head_repository_id: type: integer examples: @@ -53486,7 +53777,7 @@ paths: - workflow_url - pull_requests examples: - default: &404 + default: &409 value: total_count: 1 workflow_runs: @@ -53722,24 +54013,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *352 - - *353 - - &382 + - *357 + - *358 + - &387 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *380 + - *385 responses: '200': description: Response content: application/json: - schema: *381 + schema: *386 examples: - default: &385 + default: &390 value: id: 30433642 name: Build @@ -53980,9 +54271,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *352 - - *353 - - *382 + - *357 + - *358 + - *387 responses: '204': description: Response @@ -54005,9 +54296,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: - - *352 - - *353 - - *382 + - *357 + - *358 + - *387 responses: '200': description: Response @@ -54135,15 +54426,15 @@ 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: - - *352 - - *353 - - *382 + - *357 + - *358 + - *387 responses: '201': description: Response content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -54170,12 +54461,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *352 - - *353 - - *382 + - *357 + - *358 + - *387 - *17 - *19 - - *383 + - *388 responses: '200': description: Response @@ -54191,9 +54482,9 @@ paths: type: integer artifacts: type: array - items: *369 + items: *374 examples: - default: *384 + default: *389 headers: Link: *37 x-github: @@ -54217,25 +54508,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *352 - - *353 - - *382 - - &386 + - *357 + - *358 + - *387 + - &391 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *380 + - *385 responses: '200': description: Response content: application/json: - schema: *381 + schema: *386 examples: - default: *385 + default: *390 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54258,10 +54549,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: - - *352 - - *353 - - *382 - - *386 + - *357 + - *358 + - *387 + - *391 - *17 - *19 responses: @@ -54279,9 +54570,9 @@ paths: type: integer jobs: type: array - items: *387 + items: *392 examples: - default: &388 + default: &393 value: total_count: 1 jobs: @@ -54394,10 +54685,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *352 - - *353 - - *382 - - *386 + - *357 + - *358 + - *387 + - *391 responses: '302': description: Response @@ -54425,19 +54716,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *352 - - *353 - - *382 + - *357 + - *358 + - *387 responses: '202': description: Response content: application/json: - schema: *198 + schema: *201 examples: default: value: - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54460,9 +54751,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: - - *352 - - *353 - - *382 + - *357 + - *358 + - *387 requestBody: required: true content: @@ -54529,19 +54820,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *352 - - *353 - - *382 + - *357 + - *358 + - *387 responses: '202': description: Response content: application/json: - schema: *198 + schema: *201 examples: default: value: - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54564,9 +54855,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: - - *352 - - *353 - - *382 + - *357 + - *358 + - *387 - 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 @@ -54596,9 +54887,9 @@ paths: type: integer jobs: type: array - items: *387 + items: *392 examples: - default: *388 + default: *393 headers: Link: *37 x-github: @@ -54623,9 +54914,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *352 - - *353 - - *382 + - *357 + - *358 + - *387 responses: '302': description: Response @@ -54652,14 +54943,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *352 - - *353 - - *382 + - *357 + - *358 + - *387 responses: '204': description: Response '403': *27 - '500': *93 + '500': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54681,9 +54972,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: - - *352 - - *353 - - *382 + - *357 + - *358 + - *387 responses: '200': description: Response @@ -54752,7 +55043,7 @@ paths: items: type: object properties: - type: &497 + type: &502 type: string description: The type of reviewer. enum: @@ -54763,7 +55054,7 @@ paths: reviewer: anyOf: - *4 - - *272 + - *275 required: - environment - wait_timer @@ -54838,9 +55129,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: - - *352 - - *353 - - *382 + - *357 + - *358 + - *387 requestBody: required: true content: @@ -54890,7 +55181,7 @@ paths: application/json: schema: type: array - items: &492 + items: &497 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -55002,7 +55293,7 @@ paths: - created_at - updated_at examples: - default: &493 + default: &498 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -55058,9 +55349,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *352 - - *353 - - *382 + - *357 + - *358 + - *387 requestBody: required: false content: @@ -55082,7 +55373,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -55105,9 +55396,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: - - *352 - - *353 - - *382 + - *357 + - *358 + - *387 requestBody: required: false content: @@ -55129,7 +55420,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -55141,12 +55432,20 @@ paths: "/repos/{owner}/{repo}/actions/runs/{run_id}/timing": get: summary: Get workflow run usage - description: |- - Gets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub Enterprise Cloud-hosted runners. Usage is listed for each GitHub Enterprise Cloud-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - Anyone with read access to the repository can use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + description: "> [!WARNING] \n> This endpoint is in the process of closing down. + Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints + closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" + for more information.\n\nGets the number of billable minutes and total run + time for a specific workflow run. Billable minutes only apply to workflows + in private repositories that use GitHub Enterprise Cloud-hosted runners. Usage + is listed for each GitHub Enterprise Cloud-hosted runner operating system + in milliseconds. Any job re-runs are also included in the usage. The usage + does not include the multiplier for macOS and Windows runners and is not rounded + up to the nearest whole minute. For more information, see \"[Managing billing + for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAnyone + with read access to the repository can use this endpoint.\n\nOAuth app tokens + and personal access tokens (classic) need the `repo` scope to use this endpoint + with a private repository." tags: - actions operationId: actions/get-workflow-run-usage @@ -55154,9 +55453,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *352 - - *353 - - *382 + - *357 + - *358 + - *387 responses: '200': description: Response @@ -55293,8 +55592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -55312,9 +55611,9 @@ paths: type: integer secrets: type: array - items: *389 + items: *394 examples: - default: *390 + default: *395 headers: Link: *37 x-github: @@ -55339,16 +55638,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *391 + schema: *396 examples: - default: *392 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55370,17 +55669,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *352 - - *353 - - *197 + - *357 + - *358 + - *200 responses: '200': description: Response content: application/json: - schema: *389 + schema: *394 examples: - default: &510 + default: &515 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -55406,9 +55705,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *352 - - *353 - - *197 + - *357 + - *358 + - *200 requestBody: required: true content: @@ -55439,7 +55738,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -55465,9 +55764,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *352 - - *353 - - *197 + - *357 + - *358 + - *200 responses: '204': description: Response @@ -55492,9 +55791,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *352 - - *353 - - *376 + - *357 + - *358 + - *381 - *19 responses: '200': @@ -55511,9 +55810,9 @@ paths: type: integer variables: type: array - items: *393 + items: *398 examples: - default: *394 + default: *399 headers: Link: *37 x-github: @@ -55536,8 +55835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -55564,7 +55863,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -55589,17 +55888,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *352 - - *353 - - *200 + - *357 + - *358 + - *203 responses: '200': description: Response content: application/json: - schema: *393 + schema: *398 examples: - default: &511 + default: &516 value: name: USERNAME value: octocat @@ -55625,9 +55924,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *352 - - *353 - - *200 + - *357 + - *358 + - *203 requestBody: required: true content: @@ -55669,9 +55968,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *352 - - *353 - - *200 + - *357 + - *358 + - *203 responses: '204': description: Response @@ -55696,8 +55995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -55715,7 +56014,7 @@ paths: type: integer workflows: type: array - items: &395 + items: &400 title: Workflow description: A GitHub Actions workflow type: object @@ -55833,9 +56132,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *352 - - *353 - - &396 + - *357 + - *358 + - &401 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -55850,7 +56149,7 @@ paths: description: Response content: application/json: - schema: *395 + schema: *400 examples: default: value: @@ -55883,9 +56182,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *352 - - *353 - - *396 + - *357 + - *358 + - *401 responses: '204': description: Response @@ -55910,9 +56209,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *352 - - *353 - - *396 + - *357 + - *358 + - *401 responses: '204': description: Response @@ -55963,9 +56262,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *352 - - *353 - - *396 + - *357 + - *358 + - *401 responses: '204': description: Response @@ -55992,19 +56291,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: - - *352 - - *353 - - *396 - - *397 - - *398 - - *399 - - *400 - - *17 - - *19 + - *357 + - *358 - *401 - - *380 - *402 - *403 + - *404 + - *405 + - *17 + - *19 + - *406 + - *385 + - *407 + - *408 responses: '200': description: Response @@ -56020,9 +56319,9 @@ paths: type: integer workflow_runs: type: array - items: *381 + items: *386 examples: - default: *404 + default: *409 headers: Link: *37 x-github: @@ -56033,14 +56332,21 @@ paths: "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": get: summary: Get workflow usage - description: |- - Gets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub Enterprise Cloud-hosted runners. Usage is listed for each GitHub Enterprise Cloud-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. - - Anyone with read access to the repository can use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + description: "> [!WARNING] \n> This endpoint is in the process of closing down. + Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints + closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" + for more information.\n\nGets the number of billable minutes used by a specific + workflow during the current billing cycle. Billable minutes only apply to + workflows in private repositories that use GitHub Enterprise Cloud-hosted + runners. Usage is listed for each GitHub Enterprise Cloud-hosted runner operating + system in milliseconds. Any job re-runs are also included in the usage. The + usage does not include the multiplier for macOS and Windows runners and is + not rounded up to the nearest whole minute. For more information, see \"[Managing + billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou + can replace `workflow_id` with the workflow file name. For example, you could + use `main.yaml`.\n\nAnyone with read access to the repository can use this + endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the + `repo` scope to use this endpoint with a private repository." tags: - actions operationId: actions/get-workflow-usage @@ -56048,9 +56354,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *352 - - *353 - - *396 + - *357 + - *358 + - *401 responses: '200': description: Response @@ -56111,12 +56417,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *352 - - *353 - - *82 + - *357 + - *358 + - *84 - *17 - - *80 - - *81 + - *82 + - *83 - name: ref description: |- The Git reference for the activities you want to list. @@ -56280,8 +56586,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -56293,7 +56599,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 headers: Link: *37 '404': *6 @@ -56318,8 +56624,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: - - *352 - - *353 + - *357 + - *358 - name: assignee in: path required: true @@ -56355,8 +56661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -56468,11 +56774,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *352 - - *353 + - *357 + - *358 - *17 - - *80 - - *81 + - *82 + - *83 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -56515,7 +56821,7 @@ paths: bundle_url: type: string examples: - default: *405 + default: *410 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56535,8 +56841,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -56544,7 +56850,7 @@ paths: application/json: schema: type: array - items: &406 + items: &411 title: Autolink reference description: An autolink reference. type: object @@ -56598,8 +56904,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: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -56638,9 +56944,9 @@ paths: description: response content: application/json: - schema: *406 + schema: *411 examples: - default: &407 + default: &412 value: id: 1 key_prefix: TICKET- @@ -56671,9 +56977,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: - - *352 - - *353 - - &408 + - *357 + - *358 + - &413 name: autolink_id description: The unique identifier of the autolink. in: path @@ -56685,9 +56991,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *411 examples: - default: *407 + default: *412 '404': *6 x-github: githubCloudOnly: false @@ -56707,9 +57013,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: - - *352 - - *353 - - *408 + - *357 + - *358 + - *413 responses: '204': description: Response @@ -56733,8 +57039,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response if Dependabot is enabled @@ -56784,8 +57090,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Response @@ -56806,8 +57112,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Response @@ -56827,8 +57133,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *352 - - *353 + - *357 + - *358 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -56866,7 +57172,7 @@ paths: - url protected: type: boolean - protection: &410 + protection: &415 title: Branch Protection description: Branch Protection type: object @@ -56909,7 +57215,7 @@ paths: required: - contexts - checks - enforce_admins: &413 + enforce_admins: &418 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -56926,7 +57232,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &415 + required_pull_request_reviews: &420 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -56948,7 +57254,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *272 + items: *275 apps: description: The list of apps with review dismissal access. @@ -56980,7 +57286,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *272 + items: *275 apps: description: The list of apps allowed to bypass pull request requirements. @@ -57010,7 +57316,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &412 + restrictions: &417 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -57335,9 +57641,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *352 - - *353 - - &411 + - *357 + - *358 + - &416 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). @@ -57351,14 +57657,14 @@ paths: description: Response content: application/json: - schema: &421 + schema: &426 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &468 + commit: &473 title: Commit description: Commit type: object @@ -57397,7 +57703,7 @@ paths: author: anyOf: - type: 'null' - - &409 + - &414 title: Git User description: Metaproperties for Git author/committer information. @@ -57418,7 +57724,7 @@ paths: committer: anyOf: - type: 'null' - - *409 + - *414 message: type: string examples: @@ -57442,7 +57748,7 @@ paths: required: - sha - url - verification: &517 + verification: &522 title: Verification type: object properties: @@ -57478,14 +57784,14 @@ paths: author: oneOf: - *4 - - *198 + - *201 type: - 'null' - object committer: oneOf: - *4 - - *198 + - *201 type: - 'null' - object @@ -57522,7 +57828,7 @@ paths: type: integer files: type: array - items: &480 + items: &485 title: Diff Entry description: Diff Entry type: object @@ -57616,7 +57922,7 @@ paths: - self protected: type: boolean - protection: *410 + protection: *415 protection_url: type: string format: uri @@ -57725,7 +58031,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *366 + '301': *371 '404': *6 x-github: githubCloudOnly: false @@ -57747,15 +58053,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '200': description: Response content: application/json: - schema: *410 + schema: *415 examples: default: value: @@ -57949,9 +58255,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 requestBody: required: true content: @@ -58211,7 +58517,7 @@ paths: url: type: string format: uri - required_status_checks: &418 + required_status_checks: &423 title: Status Check Policy description: Status Check Policy type: object @@ -58292,7 +58598,7 @@ paths: items: *4 teams: type: array - items: *272 + items: *275 apps: type: array items: *5 @@ -58310,7 +58616,7 @@ paths: items: *4 teams: type: array - items: *272 + items: *275 apps: type: array items: *5 @@ -58370,7 +58676,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *412 + restrictions: *417 required_conversation_resolution: type: object properties: @@ -58482,9 +58788,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '204': description: Response @@ -58509,17 +58815,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '200': description: Response content: application/json: - schema: *413 + schema: *418 examples: - default: &414 + default: &419 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -58541,17 +58847,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '200': description: Response content: application/json: - schema: *413 + schema: *418 examples: - default: *414 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58570,9 +58876,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '204': description: Response @@ -58597,17 +58903,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '200': description: Response content: application/json: - schema: *415 + schema: *420 examples: - default: &416 + default: &421 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -58703,9 +59009,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 requestBody: required: false content: @@ -58803,9 +59109,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *420 examples: - default: *416 + default: *421 '422': *15 x-github: githubCloudOnly: false @@ -58826,9 +59132,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '204': description: Response @@ -58855,17 +59161,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '200': description: Response content: application/json: - schema: *413 + schema: *418 examples: - default: &417 + default: &422 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -58888,17 +59194,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '200': description: Response content: application/json: - schema: *413 + schema: *418 examples: - default: *417 + default: *422 '404': *6 x-github: githubCloudOnly: false @@ -58918,9 +59224,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '204': description: Response @@ -58945,17 +59251,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '200': description: Response content: application/json: - schema: *418 + schema: *423 examples: - default: &419 + default: &424 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -58981,9 +59287,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 requestBody: required: false content: @@ -59035,9 +59341,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *423 examples: - default: *419 + default: *424 '404': *6 '422': *15 x-github: @@ -59059,9 +59365,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '204': description: Response @@ -59085,9 +59391,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '200': description: Response @@ -59121,9 +59427,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 requestBody: required: false content: @@ -59190,9 +59496,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 requestBody: required: false content: @@ -59256,9 +59562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 requestBody: content: application/json: @@ -59324,15 +59630,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '200': description: Response content: application/json: - schema: *412 + schema: *417 examples: default: value: @@ -59423,9 +59729,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '204': description: Response @@ -59448,9 +59754,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: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '200': description: Response @@ -59460,7 +59766,7 @@ paths: type: array items: *5 examples: - default: &420 + default: &425 value: - id: 1 slug: octoapp @@ -59517,9 +59823,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 requestBody: required: true content: @@ -59553,7 +59859,7 @@ paths: type: array items: *5 examples: - default: *420 + default: *425 '422': *15 x-github: githubCloudOnly: false @@ -59574,9 +59880,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 requestBody: required: true content: @@ -59610,7 +59916,7 @@ paths: type: array items: *5 examples: - default: *420 + default: *425 '422': *15 x-github: githubCloudOnly: false @@ -59631,9 +59937,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 requestBody: required: true content: @@ -59667,7 +59973,7 @@ paths: type: array items: *5 examples: - default: *420 + default: *425 '422': *15 x-github: githubCloudOnly: false @@ -59689,9 +59995,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: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '200': description: Response @@ -59699,9 +60005,9 @@ paths: application/json: schema: type: array - items: *272 + items: *275 examples: - default: *286 + default: *289 '404': *6 x-github: githubCloudOnly: false @@ -59721,9 +60027,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 requestBody: required: false content: @@ -59759,9 +60065,9 @@ paths: application/json: schema: type: array - items: *272 + items: *275 examples: - default: *286 + default: *289 '422': *15 x-github: githubCloudOnly: false @@ -59782,9 +60088,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 requestBody: required: false content: @@ -59820,9 +60126,9 @@ paths: application/json: schema: type: array - items: *272 + items: *275 examples: - default: *286 + default: *289 '422': *15 x-github: githubCloudOnly: false @@ -59843,9 +60149,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 requestBody: content: application/json: @@ -59880,9 +60186,9 @@ paths: application/json: schema: type: array - items: *272 + items: *275 examples: - default: *286 + default: *289 '422': *15 x-github: githubCloudOnly: false @@ -59904,9 +60210,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: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 responses: '200': description: Response @@ -59916,7 +60222,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 '404': *6 x-github: githubCloudOnly: false @@ -59940,9 +60246,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 requestBody: required: true content: @@ -59975,7 +60281,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 '422': *15 x-github: githubCloudOnly: false @@ -60000,9 +60306,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 requestBody: required: true content: @@ -60035,7 +60341,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 '422': *15 x-github: githubCloudOnly: false @@ -60060,9 +60366,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 requestBody: required: true content: @@ -60095,7 +60401,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 '422': *15 x-github: githubCloudOnly: false @@ -60122,9 +60428,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 requestBody: required: true content: @@ -60146,7 +60452,7 @@ paths: description: Response content: application/json: - schema: *421 + schema: *426 examples: default: value: @@ -60260,12 +60566,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *352 - - *353 - - *210 - - *211 - - *212 + - *357 + - *358 - *213 + - *214 + - *215 + - *216 - *17 - *19 responses: @@ -60275,11 +60581,11 @@ paths: application/json: schema: type: array - items: *214 + items: *217 examples: - default: *215 + default: *218 '404': *6 - '500': *93 + '500': *95 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": get: summary: Get a repository push bypass request @@ -60297,8 +60603,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *352 - - *353 + - *357 + - *358 - name: bypass_request_number in: path required: true @@ -60312,7 +60618,7 @@ paths: description: Response content: application/json: - schema: *214 + schema: *217 examples: default: value: @@ -60350,7 +60656,7 @@ paths: url: https://api.github.com/repos/octo-org/smile/bypass-requests/push-rules/2 html_url: https://github.com/octo-org/smile/exemptions/2 '404': *6 - '500': *93 + '500': *95 "/repos/{owner}/{repo}/check-runs": post: summary: Create a check run @@ -60370,8 +60676,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -60650,7 +60956,7 @@ paths: description: Response content: application/json: - schema: &423 + schema: &428 title: CheckRun description: A check performed on the code of a given code change type: object @@ -60785,8 +61091,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *422 - deployment: &727 + items: *427 + deployment: &732 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -61073,9 +61379,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *352 - - *353 - - &424 + - *357 + - *358 + - &429 name: check_run_id description: The unique identifier of the check run. in: path @@ -61087,9 +61393,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *428 examples: - default: &425 + default: &430 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -61189,9 +61495,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *352 - - *353 - - *424 + - *357 + - *358 + - *429 requestBody: required: true content: @@ -61431,9 +61737,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *428 examples: - default: *425 + default: *430 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61453,9 +61759,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *352 - - *353 - - *424 + - *357 + - *358 + - *429 - *17 - *19 responses: @@ -61567,15 +61873,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *352 - - *353 - - *424 + - *357 + - *358 + - *429 responses: '201': description: Response content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -61613,8 +61919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -61636,7 +61942,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &427 + schema: &432 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -61718,12 +62024,12 @@ paths: type: - array - 'null' - items: *422 + items: *427 app: anyOf: - type: 'null' - *5 - repository: *187 + repository: *190 created_at: type: - string @@ -61734,7 +62040,7 @@ paths: - string - 'null' format: date-time - head_commit: *426 + head_commit: *431 latest_check_runs_count: type: integer check_runs_url: @@ -61762,7 +62068,7 @@ paths: - check_runs_url - pull_requests examples: - default: &428 + default: &433 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -62053,9 +62359,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *427 + schema: *432 examples: - default: *428 + default: *433 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62074,8 +62380,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -62136,7 +62442,7 @@ paths: required: - app_id - setting - repository: *187 + repository: *190 examples: default: value: @@ -62384,9 +62690,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *352 - - *353 - - &429 + - *357 + - *358 + - &434 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -62398,9 +62704,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *432 examples: - default: *428 + default: *433 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62423,17 +62729,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: - - *352 - - *353 - - *429 - - &475 + - *357 + - *358 + - *434 + - &480 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &476 + - &481 name: status description: Returns check runs with the specified `status`. in: query @@ -62472,9 +62778,9 @@ paths: type: integer check_runs: type: array - items: *423 + items: *428 examples: - default: &477 + default: &482 value: total_count: 1 check_runs: @@ -62576,15 +62882,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *352 - - *353 - - *429 + - *357 + - *358 + - *434 responses: '201': description: Response content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -62611,30 +62917,30 @@ 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: - - *352 - - *353 - - *216 - - *217 + - *357 + - *358 + - *219 + - *220 - *19 - *17 - - &445 + - &450 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: *430 - - &446 + schema: *435 + - &451 name: pr description: The number of the pull request for the results you want to list. in: query required: false schema: type: integer + - *84 - *82 - - *80 - - *81 + - *83 - name: sort description: The property by which to sort the results. in: query @@ -62650,13 +62956,13 @@ paths: be returned. in: query required: false - schema: *218 + schema: *221 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *431 + schema: *436 responses: '200': description: Response @@ -62667,24 +62973,24 @@ paths: items: type: object properties: - number: *94 - created_at: *101 - updated_at: *102 - url: *99 - html_url: *100 - instances_url: *432 - state: *85 - fixed_at: *104 + number: *96 + created_at: *103 + updated_at: *104 + url: *101 + html_url: *102 + instances_url: *437 + state: *87 + fixed_at: *106 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *103 - dismissed_reason: *433 - dismissed_comment: *434 - rule: *435 - tool: *436 - most_recent_instance: *437 + dismissed_at: *105 + dismissed_reason: *438 + dismissed_comment: *439 + rule: *440 + tool: *441 + most_recent_instance: *442 required: - number - created_at @@ -62800,14 +63106,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &438 + '403': &443 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62827,9 +63133,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: - - *352 - - *353 - - &439 + - *357 + - *358 + - &444 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -62837,30 +63143,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *94 + schema: *96 responses: '200': description: Response content: application/json: - schema: &440 + schema: &445 type: object properties: - number: *94 - created_at: *101 - updated_at: *102 - url: *99 - html_url: *100 - instances_url: *432 - state: *85 - fixed_at: *104 + number: *96 + created_at: *103 + updated_at: *104 + url: *101 + html_url: *102 + instances_url: *437 + state: *87 + fixed_at: *106 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *103 - dismissed_reason: *433 - dismissed_comment: *434 + dismissed_at: *105 + dismissed_reason: *438 + dismissed_comment: *439 rule: type: object properties: @@ -62922,8 +63228,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *436 - most_recent_instance: *437 + tool: *441 + most_recent_instance: *442 required: - number - created_at @@ -63012,9 +63318,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *438 + '403': *443 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63032,9 +63338,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: - - *352 - - *353 - - *439 + - *357 + - *358 + - *444 requestBody: required: true content: @@ -63049,8 +63355,8 @@ paths: enum: - open - dismissed - dismissed_reason: *433 - dismissed_comment: *434 + dismissed_reason: *438 + dismissed_comment: *439 required: - state examples: @@ -63065,7 +63371,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *445 examples: default: value: @@ -63140,14 +63446,14 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &444 + '403': &449 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *125 + '503': *128 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63167,15 +63473,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: - - *352 - - *353 - - *439 + - *357 + - *358 + - *444 responses: '200': description: Response content: application/json: - schema: &441 + schema: &446 type: object properties: status: @@ -63202,13 +63508,13 @@ paths: - description - started_at examples: - default: &442 + default: &447 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &443 + '400': &448 description: Bad Request content: application/json: @@ -63219,9 +63525,9 @@ 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': *438 + '403': *443 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63244,29 +63550,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: - - *352 - - *353 - - *439 + - *357 + - *358 + - *444 responses: '200': description: OK content: application/json: - schema: *441 + schema: *446 examples: - default: *442 + default: *447 '202': description: Accepted content: application/json: - schema: *441 + schema: *446 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *443 + '400': *448 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -63276,7 +63582,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63298,9 +63604,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: - - *352 - - *353 - - *439 + - *357 + - *358 + - *444 requestBody: required: false content: @@ -63346,12 +63652,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *443 - '403': *444 + '400': *448 + '403': *449 '404': *6 '422': description: Unprocessable Entity - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63371,13 +63677,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: - - *352 - - *353 - - *439 + - *357 + - *358 + - *444 - *19 - *17 - - *445 - - *446 + - *450 + - *451 responses: '200': description: Response @@ -63385,7 +63691,7 @@ paths: application/json: schema: type: array - items: *437 + items: *442 examples: default: value: @@ -63424,9 +63730,9 @@ paths: end_column: 50 classifications: - source - '403': *438 + '403': *443 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63458,30 +63764,30 @@ 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: - - *352 - - *353 - - *216 - - *217 + - *357 + - *358 + - *219 + - *220 - *19 - *17 - - *446 + - *451 - 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: *430 + schema: *435 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &449 + schema: &454 type: string description: An identifier for the upload. examples: - 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *82 + - *84 - name: sort description: The property by which to sort the results. in: query @@ -63498,23 +63804,23 @@ paths: application/json: schema: type: array - items: &450 + items: &455 type: object properties: - ref: *430 - commit_sha: &458 + ref: *435 + commit_sha: &463 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: *447 + analysis_key: *452 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *448 + category: *453 error: type: string examples: @@ -63539,8 +63845,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *449 - tool: *436 + sarif_id: *454 + tool: *441 deletable: type: boolean warning: @@ -63602,9 +63908,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *438 + '403': *443 '404': *6 - '503': *125 + '503': *128 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63638,8 +63944,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: - - *352 - - *353 + - *357 + - *358 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63652,7 +63958,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *455 examples: response: summary: application/json response @@ -63706,9 +64012,9 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *438 + '403': *443 '404': *6 - '503': *125 + '503': *128 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63788,8 +64094,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: - - *352 - - *353 + - *357 + - *358 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63845,9 +64151,9 @@ 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': *444 + '403': *449 '404': *6 - '503': *125 + '503': *128 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63867,8 +64173,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -63876,7 +64182,7 @@ paths: application/json: schema: type: array - items: &451 + items: &456 title: CodeQL Database description: A CodeQL database. type: object @@ -63988,9 +64294,9 @@ 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': *438 + '403': *443 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64017,8 +64323,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: - - *352 - - *353 + - *357 + - *358 - name: language in: path description: The language of the CodeQL database. @@ -64030,7 +64336,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *456 examples: default: value: @@ -64062,11 +64368,11 @@ 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': &482 + '302': &487 description: Found - '403': *438 + '403': *443 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64086,8 +64392,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *352 - - *353 + - *357 + - *358 - name: language in: path description: The language of the CodeQL database. @@ -64097,9 +64403,9 @@ paths: responses: '204': description: Response - '403': *444 + '403': *449 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64125,8 +64431,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: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -64135,7 +64441,7 @@ paths: type: object additionalProperties: false properties: - language: &452 + language: &457 type: string description: The language targeted by the CodeQL query enum: @@ -64213,7 +64519,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &456 + schema: &461 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -64221,9 +64527,9 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *92 + controller_repo: *94 actor: *4 - query_language: *452 + query_language: *457 query_pack_url: type: string description: The download url for the query pack. @@ -64271,7 +64577,7 @@ paths: items: type: object properties: - repository: &453 + repository: &458 title: Repository Identifier description: Repository Identifier type: object @@ -64313,7 +64619,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &457 + analysis_status: &462 type: string description: The new status of the CodeQL variant analysis repository task. @@ -64345,7 +64651,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &454 + access_mismatch_repos: &459 type: object properties: repository_count: @@ -64360,7 +64666,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: *453 + items: *458 required: - repository_count - repositories @@ -64383,8 +64689,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *454 - over_limit_repos: *454 + no_codeql_db_repos: *459 + over_limit_repos: *459 required: - access_mismatch_repos - not_found_repos @@ -64400,7 +64706,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &455 + value: &460 summary: Default response value: id: 1 @@ -64552,17 +64858,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *455 + value: *460 repository_lists: summary: Response for a successful variant analysis submission - value: *455 + value: *460 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64583,8 +64889,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: - - *352 - - *353 + - *357 + - *358 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -64596,11 +64902,11 @@ paths: description: Response content: application/json: - schema: *456 + schema: *461 examples: - default: *455 + default: *460 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64621,7 +64927,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: - - *352 + - *357 - name: repo in: path description: The name of the controller repository. @@ -64655,8 +64961,8 @@ paths: schema: type: object properties: - repository: *92 - analysis_status: *457 + repository: *94 + analysis_status: *462 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -64760,7 +65066,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64781,8 +65087,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -64864,9 +65170,9 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *438 + '403': *443 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64885,8 +65191,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: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -64945,7 +65251,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -64970,7 +65276,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *444 + '403': *449 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -64978,7 +65284,7 @@ paths: content: application/json: schema: *3 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65035,8 +65341,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: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -65044,7 +65350,7 @@ paths: schema: type: object properties: - commit_sha: *458 + commit_sha: *463 ref: type: string description: |- @@ -65104,7 +65410,7 @@ paths: schema: type: object properties: - id: *449 + id: *454 url: type: string description: The REST API URL for checking the status of the upload. @@ -65118,11 +65424,11 @@ 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': *444 + '403': *449 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *125 + '503': *128 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65141,8 +65447,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: - - *352 - - *353 + - *357 + - *358 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -65190,10 +65496,10 @@ 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': *438 + '403': *443 '404': description: Not Found if the sarif id does not match any upload - '503': *125 + '503': *128 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65215,8 +65521,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -65240,7 +65546,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *86 + configuration: *88 examples: default: value: @@ -65269,7 +65575,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *112 + '204': *114 '304': *35 '403': *27 '404': *6 @@ -65294,8 +65600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *352 - - *353 + - *357 + - *358 - 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 @@ -65423,8 +65729,8 @@ paths: parameters: - *17 - *19 - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -65440,7 +65746,7 @@ paths: type: integer codespaces: type: array - items: *276 + items: *279 examples: default: value: @@ -65716,7 +66022,7 @@ paths: start_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/start stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/stop recent_folders: [] - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -65738,8 +66044,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -65803,22 +66109,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *276 + schema: *279 examples: - default: *459 + default: *464 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *276 + schema: *279 examples: - default: *459 + default: *464 '400': *14 '401': *23 '403': *27 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65842,8 +66148,8 @@ paths: parameters: - *17 - *19 - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -65883,7 +66189,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *93 + '500': *95 '400': *14 '401': *23 '403': *27 @@ -65907,8 +66213,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: - - *352 - - *353 + - *357 + - *358 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -65945,9 +66251,9 @@ paths: type: integer machines: type: array - items: *460 + items: *465 examples: - default: &684 + default: &689 value: total_count: 2 machines: @@ -65964,7 +66270,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *35 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -65987,8 +66293,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *352 - - *353 + - *357 + - *358 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -66075,8 +66381,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: - - *352 - - *353 + - *357 + - *358 - 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 @@ -66124,7 +66430,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66145,8 +66451,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -66164,7 +66470,7 @@ paths: type: integer secrets: type: array - items: &464 + items: &469 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -66185,7 +66491,7 @@ paths: - created_at - updated_at examples: - default: *461 + default: *466 headers: Link: *37 x-github: @@ -66208,16 +66514,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *462 + schema: *467 examples: - default: *463 + default: *468 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -66237,17 +66543,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *352 - - *353 - - *197 + - *357 + - *358 + - *200 responses: '200': description: Response content: application/json: - schema: *464 + schema: *469 examples: - default: *465 + default: *470 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66267,9 +66573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *352 - - *353 - - *197 + - *357 + - *358 + - *200 requestBody: required: true content: @@ -66297,7 +66603,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -66321,9 +66627,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *352 - - *353 - - *197 + - *357 + - *358 + - *200 responses: '204': description: Response @@ -66351,8 +66657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *352 - - *353 + - *357 + - *358 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -66390,7 +66696,7 @@ paths: application/json: schema: type: array - items: &466 + items: &471 title: Collaborator description: Collaborator type: object @@ -66583,9 +66889,9 @@ 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: - - *352 - - *353 - - *209 + - *357 + - *358 + - *212 responses: '204': description: Response if user is a collaborator @@ -66627,9 +66933,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *352 - - *353 - - *209 + - *357 + - *358 + - *212 requestBody: required: false content: @@ -66655,7 +66961,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &530 + schema: &535 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -66667,7 +66973,7 @@ paths: format: int64 examples: - 42 - repository: *187 + repository: *190 invitee: anyOf: - type: 'null' @@ -66876,9 +67182,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *352 - - *353 - - *209 + - *357 + - *358 + - *212 responses: '204': description: No Content when collaborator was removed from the repository. @@ -66907,9 +67213,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *352 - - *353 - - *209 + - *357 + - *358 + - *212 responses: '200': description: if user has admin permissions @@ -66929,7 +67235,7 @@ paths: user: anyOf: - type: 'null' - - *466 + - *471 required: - permission - role_name @@ -66983,8 +67289,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -66994,7 +67300,7 @@ paths: application/json: schema: type: array - items: &467 + items: &472 title: Commit Comment description: Commit Comment type: object @@ -67035,8 +67341,8 @@ paths: updated_at: type: string format: date-time - author_association: *132 - reactions: *133 + author_association: *135 + reactions: *136 required: - url - html_url @@ -67052,7 +67358,7 @@ paths: - created_at - updated_at examples: - default: &470 + default: &475 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67111,17 +67417,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *352 - - *353 - - *144 + - *357 + - *358 + - *147 responses: '200': description: Response content: application/json: - schema: *467 + schema: *472 examples: - default: &471 + default: &476 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67178,9 +67484,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *352 - - *353 - - *144 + - *357 + - *358 + - *147 requestBody: required: true content: @@ -67202,7 +67508,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *472 examples: default: value: @@ -67253,9 +67559,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *352 - - *353 - - *144 + - *357 + - *358 + - *147 responses: '204': description: Response @@ -67276,9 +67582,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *352 - - *353 - - *144 + - *357 + - *358 + - *147 - 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 commit comment. @@ -67304,9 +67610,9 @@ paths: application/json: schema: type: array - items: *341 + items: *346 examples: - default: *343 + default: *348 headers: Link: *37 '404': *6 @@ -67327,9 +67633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *352 - - *353 - - *144 + - *357 + - *358 + - *147 requestBody: required: true content: @@ -67361,16 +67667,16 @@ paths: description: Reaction exists content: application/json: - schema: *341 + schema: *346 examples: - default: *342 + default: *347 '201': description: Reaction created content: application/json: - schema: *341 + schema: *346 examples: - default: *342 + default: *347 '422': *15 x-github: githubCloudOnly: false @@ -67392,10 +67698,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *352 - - *353 - - *144 - - *344 + - *357 + - *358 + - *147 + - *349 responses: '204': description: Response @@ -67444,8 +67750,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *352 - - *353 + - *357 + - *358 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -67501,9 +67807,9 @@ paths: application/json: schema: type: array - items: *468 + items: *473 examples: - default: &578 + default: &583 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67574,10 +67880,10 @@ paths: sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: Link: *37 - '500': *93 + '500': *95 '400': *14 '404': *6 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67597,9 +67903,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *352 - - *353 - - &469 + - *357 + - *358 + - &474 name: commit_sha description: The SHA of the commit. in: path @@ -67646,7 +67952,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67671,9 +67977,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *352 - - *353 - - *469 + - *357 + - *358 + - *474 - *17 - *19 responses: @@ -67683,9 +67989,9 @@ paths: application/json: schema: type: array - items: *467 + items: *472 examples: - default: *470 + default: *475 headers: Link: *37 x-github: @@ -67713,9 +68019,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *352 - - *353 - - *469 + - *357 + - *358 + - *474 requestBody: required: true content: @@ -67750,9 +68056,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *472 examples: - default: *471 + default: *476 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67780,9 +68086,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: - - *352 - - *353 - - *469 + - *357 + - *358 + - *474 - *17 - *19 responses: @@ -67792,7 +68098,7 @@ paths: application/json: schema: type: array - items: &569 + items: &574 title: Pull Request Simple description: Pull Request Simple type: object @@ -67912,7 +68218,7 @@ paths: milestone: anyOf: - type: 'null' - - *472 + - *477 active_lock_reason: type: - string @@ -67967,7 +68273,7 @@ paths: type: - array - 'null' - items: *272 + items: *275 head: type: object properties: @@ -68011,7 +68317,7 @@ paths: _links: type: object properties: - comments: &473 + comments: &478 title: Link description: Hypermedia Link type: object @@ -68020,13 +68326,13 @@ paths: type: string required: - href - commits: *473 - statuses: *473 - html: *473 - issue: *473 - review_comments: *473 - review_comment: *473 - self: *473 + commits: *478 + statuses: *478 + html: *478 + issue: *478 + review_comments: *478 + review_comment: *478 + self: *478 required: - comments - commits @@ -68036,8 +68342,8 @@ paths: - review_comments - review_comment - self - author_association: *132 - auto_merge: &571 + author_association: *135 + auto_merge: &576 title: Auto merge description: The status of auto merging a pull request. type: @@ -68102,7 +68408,7 @@ paths: - author_association - auto_merge examples: - default: &570 + default: &575 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -68582,7 +68888,7 @@ paths: draft: false headers: Link: *37 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68639,11 +68945,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *352 - - *353 + - *357 + - *358 - *19 - *17 - - &474 + - &479 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)" @@ -68658,9 +68964,9 @@ paths: description: Response content: application/json: - schema: *468 + schema: *473 examples: - default: &557 + default: &562 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -68746,9 +69052,9 @@ paths: ..... '422': *15 '404': *6 - '500': *93 - '503': *125 - '409': *90 + '500': *95 + '503': *128 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68773,11 +69079,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: - - *352 - - *353 - - *474 - - *475 - - *476 + - *357 + - *358 + - *479 + - *480 + - *481 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -68811,9 +69117,9 @@ paths: type: integer check_runs: type: array - items: *423 + items: *428 examples: - default: *477 + default: *482 headers: Link: *37 x-github: @@ -68838,9 +69144,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: - - *352 - - *353 - - *474 + - *357 + - *358 + - *479 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -68848,7 +69154,7 @@ paths: schema: type: integer example: 1 - - *475 + - *480 - *17 - *19 responses: @@ -68866,7 +69172,7 @@ paths: type: integer check_suites: type: array - items: *427 + items: *432 examples: default: value: @@ -69066,9 +69372,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: - - *352 - - *353 - - *474 + - *357 + - *358 + - *479 - *17 - *19 responses: @@ -69139,7 +69445,7 @@ paths: type: string total_count: type: integer - repository: *187 + repository: *190 commit_url: type: string format: uri @@ -69270,9 +69576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *352 - - *353 - - *474 + - *357 + - *358 + - *479 - *17 - *19 responses: @@ -69282,7 +69588,7 @@ paths: application/json: schema: type: array - items: &632 + items: &637 title: Status description: The status of a commit. type: object @@ -69363,7 +69669,7 @@ paths: site_admin: false headers: Link: *37 - '301': *366 + '301': *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69391,8 +69697,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -69425,11 +69731,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *478 + - *483 code_of_conduct_file: anyOf: - type: 'null' - - &479 + - &484 title: Community Health File type: object properties: @@ -69445,23 +69751,23 @@ paths: license: anyOf: - type: 'null' - - *146 + - *149 contributing: anyOf: - type: 'null' - - *479 + - *484 readme: anyOf: - type: 'null' - - *479 + - *484 issue_template: anyOf: - type: 'null' - - *479 + - *484 pull_request_template: anyOf: - type: 'null' - - *479 + - *484 required: - code_of_conduct - code_of_conduct_file @@ -69590,8 +69896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *352 - - *353 + - *357 + - *358 - *19 - *17 - name: basehead @@ -69639,8 +69945,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *468 - merge_base_commit: *468 + base_commit: *473 + merge_base_commit: *473 status: type: string enum: @@ -69664,10 +69970,10 @@ paths: - 6 commits: type: array - items: *468 + items: *473 files: type: array - items: *480 + items: *485 required: - url - html_url @@ -69910,8 +70216,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *93 - '503': *125 + '500': *95 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69953,8 +70259,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *352 - - *353 + - *357 + - *358 - name: path description: path parameter in: path @@ -70105,7 +70411,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &481 + response-if-content-is-a-file: &486 summary: Response if content is a file value: type: file @@ -70242,7 +70548,7 @@ paths: - size - type - url - - &583 + - &588 title: Content File description: Content File type: object @@ -70460,7 +70766,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *481 + response-if-content-is-a-file: *486 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -70529,7 +70835,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *482 + '302': *487 '304': *35 x-github: githubCloudOnly: false @@ -70552,8 +70858,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *352 - - *353 + - *357 + - *358 - name: path description: path parameter in: path @@ -70648,7 +70954,7 @@ paths: description: Response content: application/json: - schema: &483 + schema: &488 title: File Commit description: File Commit type: object @@ -70804,7 +71110,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *488 examples: example-for-creating-a-file: value: @@ -70858,7 +71164,7 @@ paths: schema: oneOf: - *3 - - &512 + - &517 description: Repository rule violation was detected type: object properties: @@ -70879,7 +71185,7 @@ paths: items: type: object properties: - placeholder_id: &624 + placeholder_id: &629 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -70911,8 +71217,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *352 - - *353 + - *357 + - *358 - name: path description: path parameter in: path @@ -70973,7 +71279,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *488 examples: default: value: @@ -71007,8 +71313,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *90 - '503': *125 + '409': *92 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71028,8 +71334,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *352 - - *353 + - *357 + - *358 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -71153,22 +71459,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *352 - - *353 - - *235 - - *236 - - *237 + - *357 + - *358 - *238 + - *239 + - *240 + - *241 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *239 - - *240 - - *241 - - *82 + - *242 + - *243 + - *244 + - *84 - name: page description: "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead." @@ -71185,10 +71491,10 @@ paths: schema: type: integer default: 30 - - *80 - - *81 - - *242 - - *243 + - *82 + - *83 + - *245 + - *246 responses: '200': description: Response @@ -71196,11 +71502,11 @@ paths: application/json: schema: type: array - items: &486 + items: &491 type: object description: A Dependabot alert. properties: - number: *94 + number: *96 state: type: string description: The state of the Dependabot alert. @@ -71215,7 +71521,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *95 + package: *97 manifest_path: type: string description: The full path to the dependency manifest file, @@ -71231,13 +71537,13 @@ paths: - development - runtime - - security_advisory: *484 - security_vulnerability: *98 - url: *99 - html_url: *100 - created_at: *101 - updated_at: *102 - dismissed_at: *103 + security_advisory: *489 + security_vulnerability: *100 + url: *101 + html_url: *102 + created_at: *103 + updated_at: *104 + dismissed_at: *105 dismissed_by: anyOf: - type: 'null' @@ -71261,8 +71567,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *104 - auto_dismissed_at: *485 + fixed_at: *106 + auto_dismissed_at: *490 required: - number - state @@ -71492,9 +71798,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *352 - - *353 - - &487 + - *357 + - *358 + - &492 name: alert_number in: path description: |- @@ -71503,13 +71809,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *94 + schema: *96 responses: '200': description: Response content: application/json: - schema: *486 + schema: *491 examples: default: value: @@ -71622,9 +71928,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *352 - - *353 - - *487 + - *357 + - *358 + - *492 requestBody: required: true content: @@ -71669,7 +71975,7 @@ paths: description: Response content: application/json: - schema: *486 + schema: *491 examples: default: value: @@ -71775,7 +72081,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *90 + '409': *92 '422': *7 x-github: githubCloudOnly: false @@ -71798,8 +72104,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -71817,7 +72123,7 @@ paths: type: integer secrets: type: array - items: &490 + items: &495 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -71871,16 +72177,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *488 + schema: *493 examples: - default: *489 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71900,15 +72206,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *352 - - *353 - - *197 + - *357 + - *358 + - *200 responses: '200': description: Response content: application/json: - schema: *490 + schema: *495 examples: default: value: @@ -71934,9 +72240,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *352 - - *353 - - *197 + - *357 + - *358 + - *200 requestBody: required: true content: @@ -71964,7 +72270,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -71988,9 +72294,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *352 - - *353 - - *197 + - *357 + - *358 + - *200 responses: '204': description: Response @@ -72012,8 +72318,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: - - *352 - - *353 + - *357 + - *358 - 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 @@ -72187,8 +72493,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -72448,8 +72754,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: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -72532,7 +72838,7 @@ paths: - version - url additionalProperties: false - metadata: &491 + metadata: &496 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -72571,7 +72877,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *491 + metadata: *496 resolved: type: object description: A collection of resolved package dependencies. @@ -72585,7 +72891,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *491 + metadata: *496 relationship: type: string description: A notation of whether a dependency is requested @@ -72718,8 +73024,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *352 - - *353 + - *357 + - *358 - name: sha description: The SHA recorded at creation time. in: query @@ -72760,9 +73066,9 @@ paths: application/json: schema: type: array - items: *492 + items: *497 examples: - default: *493 + default: *498 headers: Link: *37 x-github: @@ -72828,8 +73134,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -72911,7 +73217,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *497 examples: simple-example: summary: Simple example @@ -72984,9 +73290,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *352 - - *353 - - &494 + - *357 + - *358 + - &499 name: deployment_id description: deployment_id parameter in: path @@ -72998,7 +73304,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *497 examples: default: value: @@ -73063,9 +73369,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *352 - - *353 - - *494 + - *357 + - *358 + - *499 responses: '204': description: Response @@ -73087,9 +73393,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *352 - - *353 - - *494 + - *357 + - *358 + - *499 - *17 - *19 responses: @@ -73099,7 +73405,7 @@ paths: application/json: schema: type: array - items: &495 + items: &500 title: Deployment Status description: The status of a deployment. type: object @@ -73263,9 +73569,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *352 - - *353 - - *494 + - *357 + - *358 + - *499 requestBody: required: true content: @@ -73340,9 +73646,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *500 examples: - default: &496 + default: &501 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -73398,9 +73704,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *352 - - *353 - - *494 + - *357 + - *358 + - *499 - name: status_id in: path required: true @@ -73411,9 +73717,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *500 examples: - default: *496 + default: *501 '404': *6 x-github: githubCloudOnly: false @@ -73438,8 +73744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -73496,8 +73802,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -73515,7 +73821,7 @@ paths: - 5 environments: type: array - items: &498 + items: &503 title: Environment description: Details of a deployment environment type: object @@ -73577,7 +73883,7 @@ paths: type: string examples: - wait_timer - wait_timer: &500 + wait_timer: &505 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -73619,11 +73925,11 @@ paths: items: type: object properties: - type: *497 + type: *502 reviewer: anyOf: - *4 - - *272 + - *275 required: - id - node_id @@ -73646,7 +73952,7 @@ paths: - id - node_id - type - deployment_branch_policy: &501 + deployment_branch_policy: &506 type: - object - 'null' @@ -73763,9 +74069,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *352 - - *353 - - &499 + - *357 + - *358 + - &504 name: environment_name in: path required: true @@ -73778,9 +74084,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *503 examples: - default: &502 + default: &507 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -73864,9 +74170,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *352 - - *353 - - *499 + - *357 + - *358 + - *504 requestBody: required: false content: @@ -73876,7 +74182,7 @@ paths: - object - 'null' properties: - wait_timer: *500 + wait_timer: *505 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -73895,14 +74201,14 @@ paths: items: type: object properties: - type: *497 + type: *502 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *501 + deployment_branch_policy: *506 additionalProperties: false examples: default: @@ -73922,9 +74228,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *503 examples: - default: *502 + default: *507 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -73948,9 +74254,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *352 - - *353 - - *499 + - *357 + - *358 + - *504 responses: '204': description: Default response @@ -73975,9 +74281,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *352 - - *353 - - *499 + - *357 + - *358 + - *504 - *17 - *19 responses: @@ -73996,7 +74302,7 @@ paths: - 2 branch_policies: type: array - items: &503 + items: &508 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -74057,9 +74363,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *352 - - *353 - - *499 + - *357 + - *358 + - *504 requestBody: required: true content: @@ -74107,9 +74413,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *508 examples: - example-wildcard: &504 + example-wildcard: &509 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -74151,10 +74457,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *352 - - *353 - - *499 - - &505 + - *357 + - *358 + - *504 + - &510 name: branch_policy_id in: path required: true @@ -74166,9 +74472,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *508 examples: - default: *504 + default: *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74187,10 +74493,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *352 - - *353 - - *499 - - *505 + - *357 + - *358 + - *504 + - *510 requestBody: required: true content: @@ -74219,9 +74525,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *508 examples: - default: *504 + default: *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74240,10 +74546,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *352 - - *353 - - *499 - - *505 + - *357 + - *358 + - *504 + - *510 responses: '204': description: Response @@ -74268,9 +74574,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *499 - - *353 - - *352 + - *504 + - *358 + - *357 responses: '200': description: List of deployment protection rules @@ -74287,7 +74593,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &506 + items: &511 title: Deployment protection rule description: Deployment protection rule type: object @@ -74309,7 +74615,7 @@ paths: for the environment. examples: - true - app: &507 + app: &512 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -74412,9 +74718,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *499 - - *353 - - *352 + - *504 + - *358 + - *357 requestBody: content: application/json: @@ -74435,9 +74741,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *506 + schema: *511 examples: - default: &508 + default: &513 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -74472,9 +74778,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *499 - - *353 - - *352 + - *504 + - *358 + - *357 - *19 - *17 responses: @@ -74494,7 +74800,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *507 + items: *512 examples: default: value: @@ -74529,10 +74835,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *352 - - *353 - - *499 - - &509 + - *357 + - *358 + - *504 + - &514 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -74544,9 +74850,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *511 examples: - default: *508 + default: *513 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74567,10 +74873,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *499 - - *353 - - *352 - - *509 + - *504 + - *358 + - *357 + - *514 responses: '204': description: Response @@ -74596,9 +74902,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *352 - - *353 - - *499 + - *357 + - *358 + - *504 - *17 - *19 responses: @@ -74616,9 +74922,9 @@ paths: type: integer secrets: type: array - items: *389 + items: *394 examples: - default: *390 + default: *395 headers: Link: *37 x-github: @@ -74643,17 +74949,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *352 - - *353 - - *499 + - *357 + - *358 + - *504 responses: '200': description: Response content: application/json: - schema: *391 + schema: *396 examples: - default: *392 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74675,18 +74981,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *352 - - *353 - - *499 - - *197 + - *357 + - *358 + - *504 + - *200 responses: '200': description: Response content: application/json: - schema: *389 + schema: *394 examples: - default: *510 + default: *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74708,10 +75014,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *352 - - *353 - - *499 - - *197 + - *357 + - *358 + - *504 + - *200 requestBody: required: true content: @@ -74742,7 +75048,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -74768,10 +75074,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *352 - - *353 - - *499 - - *197 + - *357 + - *358 + - *504 + - *200 responses: '204': description: Default response @@ -74796,10 +75102,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *352 - - *353 - - *499 - - *376 + - *357 + - *358 + - *504 + - *381 - *19 responses: '200': @@ -74816,9 +75122,9 @@ paths: type: integer variables: type: array - items: *393 + items: *398 examples: - default: *394 + default: *399 headers: Link: *37 x-github: @@ -74841,9 +75147,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *352 - - *353 - - *499 + - *357 + - *358 + - *504 requestBody: required: true content: @@ -74870,7 +75176,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -74895,18 +75201,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *352 - - *353 - - *499 - - *200 + - *357 + - *358 + - *504 + - *203 responses: '200': description: Response content: application/json: - schema: *393 + schema: *398 examples: - default: *511 + default: *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74927,10 +75233,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *352 - - *353 - - *200 - - *499 + - *357 + - *358 + - *203 + - *504 requestBody: required: true content: @@ -74972,10 +75278,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *352 - - *353 - - *200 - - *499 + - *357 + - *358 + - *203 + - *504 responses: '204': description: Response @@ -74997,8 +75303,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -75008,7 +75314,7 @@ paths: application/json: schema: type: array - items: *156 + items: *159 examples: 200-response: value: @@ -75075,8 +75381,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *352 - - *353 + - *357 + - *358 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -75098,7 +75404,7 @@ paths: application/json: schema: type: array - items: *187 + items: *190 examples: default: value: @@ -75235,8 +75541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: false content: @@ -75269,9 +75575,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *370 examples: - default: *367 + default: *372 '400': *14 '422': *15 '403': *27 @@ -75292,8 +75598,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -75344,7 +75650,7 @@ paths: schema: type: string '404': *6 - '409': *90 + '409': *92 '403': *27 '422': description: Validation failed @@ -75352,8 +75658,8 @@ paths: application/json: schema: oneOf: - - *170 - - *512 + - *173 + - *517 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75378,8 +75684,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *352 - - *353 + - *357 + - *358 - name: file_sha in: path required: true @@ -75431,7 +75737,7 @@ paths: '404': *6 '422': *15 '403': *27 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75479,8 +75785,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -75589,7 +75895,7 @@ paths: description: Response content: application/json: - schema: &513 + schema: &518 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -75766,7 +76072,7 @@ paths: type: string '422': *15 '404': *6 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75816,15 +76122,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *352 - - *353 - - *469 + - *357 + - *358 + - *474 responses: '200': description: Response content: application/json: - schema: *513 + schema: *518 examples: default: value: @@ -75855,7 +76161,7 @@ paths: payload: verified_at: '404': *6 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75880,9 +76186,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *352 - - *353 - - &514 + - *357 + - *358 + - &519 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -75899,7 +76205,7 @@ paths: application/json: schema: type: array - items: &515 + items: &520 title: Git Reference description: Git references within a repository type: object @@ -75954,7 +76260,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: Link: *37 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75975,17 +76281,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *352 - - *353 - - *514 + - *357 + - *358 + - *519 responses: '200': description: Response content: application/json: - schema: *515 + schema: *520 examples: - default: &516 + default: &521 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -75995,7 +76301,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76014,8 +76320,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -76044,16 +76350,16 @@ paths: description: Response content: application/json: - schema: *515 + schema: *520 examples: - default: *516 + default: *521 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *15 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76072,9 +76378,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *352 - - *353 - - *514 + - *357 + - *358 + - *519 requestBody: required: true content: @@ -76103,11 +76409,11 @@ paths: description: Response content: application/json: - schema: *515 + schema: *520 examples: - default: *516 + default: *521 '422': *15 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76123,14 +76429,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *352 - - *353 - - *514 + - *357 + - *358 + - *519 responses: '204': description: Response '422': *15 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76178,8 +76484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -76246,7 +76552,7 @@ paths: description: Response content: application/json: - schema: &518 + schema: &523 title: Git Tag description: Metadata for a Git tag type: object @@ -76302,7 +76608,7 @@ paths: - sha - type - url - verification: *517 + verification: *522 required: - sha - url @@ -76312,7 +76618,7 @@ paths: - tag - message examples: - default: &519 + default: &524 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -76339,7 +76645,7 @@ paths: schema: type: string '422': *15 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76385,8 +76691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *352 - - *353 + - *357 + - *358 - name: tag_sha in: path required: true @@ -76397,11 +76703,11 @@ paths: description: Response content: application/json: - schema: *518 + schema: *523 examples: - default: *519 + default: *524 '404': *6 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76423,8 +76729,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -76498,7 +76804,7 @@ paths: description: Response content: application/json: - schema: &520 + schema: &525 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -76593,7 +76899,7 @@ paths: '422': *15 '404': *6 '403': *27 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76616,8 +76922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *352 - - *353 + - *357 + - *358 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -76640,7 +76946,7 @@ paths: description: Response content: application/json: - schema: *520 + schema: *525 examples: default-response: summary: Default response @@ -76681,7 +76987,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76699,8 +77005,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -76710,7 +77016,7 @@ paths: application/json: schema: type: array - items: &521 + items: &526 title: Webhook description: Webhooks for repositories. type: object @@ -76773,7 +77079,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &758 + last_response: &763 title: Hook Response type: object properties: @@ -76850,8 +77156,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: false content: @@ -76904,9 +77210,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *526 examples: - default: &522 + default: &527 value: type: Repository id: 12345678 @@ -76954,17 +77260,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *352 - - *353 - - *249 + - *357 + - *358 + - *252 responses: '200': description: Response content: application/json: - schema: *521 + schema: *526 examples: - default: *522 + default: *527 '404': *6 x-github: githubCloudOnly: false @@ -76984,9 +77290,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *352 - - *353 - - *249 + - *357 + - *358 + - *252 requestBody: required: true content: @@ -77031,9 +77337,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *526 examples: - default: *522 + default: *527 '422': *15 '404': *6 x-github: @@ -77054,9 +77360,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *352 - - *353 - - *249 + - *357 + - *358 + - *252 responses: '204': description: Response @@ -77080,9 +77386,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: - - *352 - - *353 - - *249 + - *357 + - *358 + - *252 responses: '200': description: Response @@ -77109,9 +77415,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: - - *352 - - *353 - - *249 + - *357 + - *358 + - *252 requestBody: required: false content: @@ -77155,11 +77461,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *352 - - *353 - - *249 + - *357 + - *358 + - *252 - *17 - - *250 + - *253 responses: '200': description: Response @@ -77167,9 +77473,9 @@ paths: application/json: schema: type: array - items: *251 + items: *254 examples: - default: *252 + default: *255 '400': *14 '422': *15 x-github: @@ -77188,18 +77494,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: - - *352 - - *353 - - *249 + - *357 + - *358 + - *252 - *16 responses: '200': description: Response content: application/json: - schema: *253 + schema: *256 examples: - default: *254 + default: *257 '400': *14 '422': *15 x-github: @@ -77218,12 +77524,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *352 - - *353 - - *249 + - *357 + - *358 + - *252 - *16 responses: - '202': *91 + '202': *93 '400': *14 '422': *15 x-github: @@ -77243,9 +77549,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *352 - - *353 - - *249 + - *357 + - *358 + - *252 responses: '204': description: Response @@ -77270,9 +77576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *352 - - *353 - - *249 + - *357 + - *358 + - *252 responses: '204': description: Response @@ -77330,14 +77636,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: &523 + schema: &528 title: Import description: A repository import from an external source. type: object @@ -77444,7 +77750,7 @@ paths: - html_url - authors_url examples: - default: &526 + default: &531 value: vcs: subversion use_lfs: true @@ -77460,7 +77766,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &524 + '503': &529 description: Unavailable due to service under maintenance. content: application/json: @@ -77489,8 +77795,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -77538,7 +77844,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *528 examples: default: value: @@ -77563,7 +77869,7 @@ paths: type: string '422': *15 '404': *6 - '503': *524 + '503': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77591,8 +77897,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: false content: @@ -77644,7 +77950,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *528 examples: example-1: summary: Example 1 @@ -77692,7 +77998,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *524 + '503': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77715,12 +78021,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Response - '503': *524 + '503': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77746,9 +78052,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *352 - - *353 - - &707 + - *357 + - *358 + - &712 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -77762,7 +78068,7 @@ paths: application/json: schema: type: array - items: &525 + items: &530 title: Porter Author description: Porter Author type: object @@ -77816,7 +78122,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *524 + '503': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77841,8 +78147,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *352 - - *353 + - *357 + - *358 - name: author_id in: path required: true @@ -77872,7 +78178,7 @@ paths: description: Response content: application/json: - schema: *525 + schema: *530 examples: default: value: @@ -77885,7 +78191,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *524 + '503': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77909,8 +78215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -77951,7 +78257,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *524 + '503': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77979,8 +78285,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -78007,11 +78313,11 @@ paths: description: Response content: application/json: - schema: *523 + schema: *528 examples: - default: *526 + default: *531 '422': *15 - '503': *524 + '503': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78034,8 +78340,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -78043,8 +78349,8 @@ paths: application/json: schema: *20 examples: - default: *527 - '301': *366 + default: *532 + '301': *371 '404': *6 x-github: githubCloudOnly: false @@ -78064,8 +78370,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -78073,12 +78379,12 @@ paths: application/json: schema: anyOf: - - *267 + - *270 - type: object properties: {} additionalProperties: false examples: - default: &529 + default: &534 value: limit: collaborators_only origin: repository @@ -78103,13 +78409,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: application/json: - schema: *528 + schema: *533 examples: default: summary: Example request body @@ -78121,9 +78427,9 @@ paths: description: Response content: application/json: - schema: *267 + schema: *270 examples: - default: *529 + default: *534 '409': description: Response x-github: @@ -78145,8 +78451,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Response @@ -78169,8 +78475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -78180,9 +78486,9 @@ paths: application/json: schema: type: array - items: *530 + items: *535 examples: - default: &700 + default: &705 value: - id: 1 repository: @@ -78313,9 +78619,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *352 - - *353 - - *271 + - *357 + - *358 + - *274 requestBody: required: false content: @@ -78344,7 +78650,7 @@ paths: description: Response content: application/json: - schema: *530 + schema: *535 examples: default: value: @@ -78475,9 +78781,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *352 - - *353 - - *271 + - *357 + - *358 + - *274 responses: '204': description: Response @@ -78508,8 +78814,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *352 - - *353 + - *357 + - *358 - 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 @@ -78549,7 +78855,7 @@ paths: required: false schema: type: string - - *273 + - *276 - name: sort description: What to sort results by. in: query @@ -78561,8 +78867,8 @@ paths: - updated - comments default: created - - *82 - - *135 + - *84 + - *138 - *17 - *19 responses: @@ -78572,9 +78878,9 @@ paths: application/json: schema: type: array - items: *145 + items: *148 examples: - default: &539 + default: &544 value: - id: 1 node_id: MDU6SXNzdWUx @@ -78722,7 +79028,7 @@ paths: state_reason: completed headers: Link: *37 - '301': *366 + '301': *371 '422': *15 '404': *6 x-github: @@ -78751,8 +79057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -78833,9 +79139,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: &534 + default: &539 value: id: 1 node_id: MDU6SXNzdWUx @@ -78989,9 +79295,9 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *125 + '503': *128 '404': *6 - '410': *363 + '410': *368 x-github: triggersNotification: true githubCloudOnly: false @@ -79019,9 +79325,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *352 - - *353 - - *154 + - *357 + - *358 + - *157 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -79031,7 +79337,7 @@ paths: enum: - asc - desc - - *135 + - *138 - *17 - *19 responses: @@ -79041,9 +79347,9 @@ paths: application/json: schema: type: array - items: *531 + items: *536 examples: - default: &536 + default: &541 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -79101,17 +79407,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *352 - - *353 - - *144 + - *357 + - *358 + - *147 responses: '200': description: Response content: application/json: - schema: *531 + schema: *536 examples: - default: &532 + default: &537 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -79165,9 +79471,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *352 - - *353 - - *144 + - *357 + - *358 + - *147 requestBody: required: true content: @@ -79189,9 +79495,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *536 examples: - default: *532 + default: *537 '422': *15 x-github: githubCloudOnly: false @@ -79209,9 +79515,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *352 - - *353 - - *144 + - *357 + - *358 + - *147 responses: '204': description: Response @@ -79231,9 +79537,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *352 - - *353 - - *144 + - *357 + - *358 + - *147 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -79259,9 +79565,9 @@ paths: application/json: schema: type: array - items: *341 + items: *346 examples: - default: *343 + default: *348 headers: Link: *37 '404': *6 @@ -79282,9 +79588,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *352 - - *353 - - *144 + - *357 + - *358 + - *147 requestBody: required: true content: @@ -79316,16 +79622,16 @@ paths: description: Reaction exists content: application/json: - schema: *341 + schema: *346 examples: - default: *342 + default: *347 '201': description: Reaction created content: application/json: - schema: *341 + schema: *346 examples: - default: *342 + default: *347 '422': *15 x-github: githubCloudOnly: false @@ -79347,10 +79653,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *352 - - *353 - - *144 - - *344 + - *357 + - *358 + - *147 + - *349 responses: '204': description: Response @@ -79370,8 +79676,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -79381,7 +79687,7 @@ paths: application/json: schema: type: array - items: &533 + items: &538 title: Issue Event description: Issue Event type: object @@ -79428,7 +79734,7 @@ paths: issue: anyOf: - type: 'null' - - *145 + - *148 label: title: Issue Event Label description: Issue Event Label @@ -79461,7 +79767,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *272 + requested_team: *275 dismissed_review: title: Issue Event Dismissed Review type: object @@ -79528,7 +79834,7 @@ paths: required: - from - to - author_association: *132 + author_association: *135 lock_reason: type: - string @@ -79720,8 +80026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *352 - - *353 + - *357 + - *358 - name: event_id in: path required: true @@ -79732,7 +80038,7 @@ paths: description: Response content: application/json: - schema: *533 + schema: *538 examples: default: value: @@ -79925,7 +80231,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *363 + '410': *368 '403': *27 x-github: githubCloudOnly: false @@ -79959,9 +80265,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *352 - - *353 - - &535 + - *357 + - *358 + - &540 name: issue_number description: The number that identifies the issue. in: path @@ -79973,12 +80279,12 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *534 - '301': *366 + default: *539 + '301': *371 '404': *6 - '410': *363 + '410': *368 '304': *35 x-github: githubCloudOnly: false @@ -80003,9 +80309,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 requestBody: required: false content: @@ -80113,15 +80419,15 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *534 + default: *539 '422': *15 - '503': *125 + '503': *128 '403': *27 - '301': *366 + '301': *371 '404': *6 - '410': *363 + '410': *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80139,9 +80445,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 requestBody: required: false content: @@ -80167,9 +80473,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *534 + default: *539 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80185,9 +80491,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 requestBody: content: application/json: @@ -80212,9 +80518,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *534 + default: *539 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80236,9 +80542,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 - name: assignee in: path required: true @@ -80278,10 +80584,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *352 - - *353 - - *535 - - *135 + - *357 + - *358 + - *540 + - *138 - *17 - *19 responses: @@ -80291,13 +80597,13 @@ paths: application/json: schema: type: array - items: *531 + items: *536 examples: - default: *536 + default: *541 headers: Link: *37 '404': *6 - '410': *363 + '410': *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80326,9 +80632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 requestBody: required: true content: @@ -80350,16 +80656,16 @@ paths: description: Response content: application/json: - schema: *531 + schema: *536 examples: - default: *532 + default: *537 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *363 + '410': *368 '422': *15 '404': *6 x-github: @@ -80379,9 +80685,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 - *17 - *19 responses: @@ -80395,7 +80701,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &540 + - &545 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -80444,7 +80750,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &541 + - &546 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -80572,7 +80878,7 @@ paths: - performed_via_github_app - assignee - assigner - - &542 + - &547 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -80618,7 +80924,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &543 + - &548 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -80664,7 +80970,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &549 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -80713,7 +81019,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &545 + - &550 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -80742,7 +81048,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *272 + requested_team: *275 requested_reviewer: *4 required: - review_requester @@ -80755,7 +81061,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &546 + - &551 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -80784,7 +81090,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *272 + requested_team: *275 requested_reviewer: *4 required: - review_requester @@ -80797,7 +81103,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &547 + - &552 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -80853,7 +81159,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &548 + - &553 title: Locked Issue Event description: Locked Issue Event type: object @@ -80898,7 +81204,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &549 + - &554 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -80959,7 +81265,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &550 + - &555 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -81020,7 +81326,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &551 + - &556 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -81081,7 +81387,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &552 + - &557 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -81174,7 +81480,7 @@ paths: color: red headers: Link: *37 - '410': *363 + '410': *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81191,9 +81497,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 - *17 - *19 responses: @@ -81203,7 +81509,7 @@ paths: application/json: schema: type: array - items: &537 + items: &542 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -81258,7 +81564,7 @@ paths: - color - default examples: - default: &538 + default: &543 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -81276,9 +81582,9 @@ paths: default: false headers: Link: *37 - '301': *366 + '301': *371 '404': *6 - '410': *363 + '410': *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81295,9 +81601,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 requestBody: required: false content: @@ -81356,12 +81662,12 @@ paths: application/json: schema: type: array - items: *537 + items: *542 examples: - default: *538 - '301': *366 + default: *543 + '301': *371 '404': *6 - '410': *363 + '410': *368 '422': *15 x-github: githubCloudOnly: false @@ -81378,9 +81684,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 requestBody: required: false content: @@ -81440,12 +81746,12 @@ paths: application/json: schema: type: array - items: *537 + items: *542 examples: - default: *538 - '301': *366 + default: *543 + '301': *371 '404': *6 - '410': *363 + '410': *368 '422': *15 x-github: githubCloudOnly: false @@ -81462,15 +81768,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 responses: '204': description: Response - '301': *366 + '301': *371 '404': *6 - '410': *363 + '410': *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81489,9 +81795,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 - name: name in: path required: true @@ -81504,7 +81810,7 @@ paths: application/json: schema: type: array - items: *537 + items: *542 examples: default: value: @@ -81515,9 +81821,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *366 + '301': *371 '404': *6 - '410': *363 + '410': *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81537,9 +81843,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 requestBody: required: false content: @@ -81568,7 +81874,7 @@ paths: '204': description: Response '403': *27 - '410': *363 + '410': *368 '404': *6 '422': *15 x-github: @@ -81586,9 +81892,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 responses: '204': description: Response @@ -81610,9 +81916,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -81638,13 +81944,13 @@ paths: application/json: schema: type: array - items: *341 + items: *346 examples: - default: *343 + default: *348 headers: Link: *37 '404': *6 - '410': *363 + '410': *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81662,9 +81968,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 requestBody: required: true content: @@ -81696,20 +82002,20 @@ paths: description: Response content: application/json: - schema: *341 + schema: *346 examples: - default: *342 + default: *347 '201': description: Response content: application/json: - schema: *341 + schema: *346 examples: - default: *342 + default: *347 '422': *15 x-github: githubCloudOnly: false - enabledForGitHubApps: false + enabledForGitHubApps: true category: reactions subcategory: reactions "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": @@ -81727,10 +82033,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *352 - - *353 - - *535 - - *344 + - *357 + - *358 + - *540 + - *349 responses: '204': description: Response @@ -81759,9 +82065,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 requestBody: required: true content: @@ -81783,9 +82089,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *534 + default: *539 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -81818,9 +82124,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 - *17 - *19 responses: @@ -81830,13 +82136,13 @@ paths: application/json: schema: type: array - items: *145 + items: *148 examples: - default: *539 + default: *544 headers: Link: *37 '404': *6 - '410': *363 + '410': *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81864,9 +82170,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 requestBody: required: true content: @@ -81893,16 +82199,16 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *534 + default: *539 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *363 + '410': *368 '422': *15 '404': *6 x-github: @@ -81922,9 +82228,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 requestBody: required: true content: @@ -81955,13 +82261,13 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *534 + default: *539 '403': *27 '404': *6 '422': *7 - '503': *125 + '503': *128 x-github: triggersNotification: true githubCloudOnly: false @@ -81979,9 +82285,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *352 - - *353 - - *535 + - *357 + - *358 + - *540 - *17 - *19 responses: @@ -81996,11 +82302,6 @@ paths: description: Timeline Event type: object anyOf: - - *540 - - *541 - - *542 - - *543 - - *544 - *545 - *546 - *547 @@ -82009,6 +82310,11 @@ paths: - *550 - *551 - *552 + - *553 + - *554 + - *555 + - *556 + - *557 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -82056,12 +82362,12 @@ paths: issue_url: type: string format: uri - author_association: *132 + author_association: *135 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *133 + reactions: *136 required: - event - actor @@ -82092,7 +82398,7 @@ paths: properties: type: type: string - issue: *145 + issue: *148 required: - event - created_at @@ -82309,7 +82615,7 @@ paths: type: string body_text: type: string - author_association: *132 + author_association: *135 required: - event - id @@ -82332,7 +82638,7 @@ paths: type: string comments: type: array - items: &572 + items: &577 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -82437,7 +82743,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *132 + author_association: *135 _links: type: object properties: @@ -82532,7 +82838,7 @@ paths: enum: - line - file - reactions: *133 + reactions: *136 body_html: type: string examples: @@ -82570,7 +82876,7 @@ paths: type: string comments: type: array - items: *467 + items: *472 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -82845,7 +83151,7 @@ paths: headers: Link: *37 '404': *6 - '410': *363 + '410': *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82862,8 +83168,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -82873,7 +83179,7 @@ paths: application/json: schema: type: array - items: &553 + items: &558 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -82940,8 +83246,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -82977,9 +83283,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *558 examples: - default: &554 + default: &559 value: id: 1 key: ssh-rsa AAA... @@ -83013,9 +83319,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *352 - - *353 - - &555 + - *357 + - *358 + - &560 name: key_id description: The unique identifier of the key. in: path @@ -83027,9 +83333,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *558 examples: - default: *554 + default: *559 '404': *6 x-github: githubCloudOnly: false @@ -83047,9 +83353,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *352 - - *353 - - *555 + - *357 + - *358 + - *560 responses: '204': description: Response @@ -83069,8 +83375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -83080,9 +83386,9 @@ paths: application/json: schema: type: array - items: *537 + items: *542 examples: - default: *538 + default: *543 headers: Link: *37 '404': *6 @@ -83103,8 +83409,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -83140,9 +83446,9 @@ paths: description: Response content: application/json: - schema: *537 + schema: *542 examples: - default: &556 + default: &561 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -83174,8 +83480,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *352 - - *353 + - *357 + - *358 - name: name in: path required: true @@ -83186,9 +83492,9 @@ paths: description: Response content: application/json: - schema: *537 + schema: *542 examples: - default: *556 + default: *561 '404': *6 x-github: githubCloudOnly: false @@ -83205,8 +83511,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *352 - - *353 + - *357 + - *358 - name: name in: path required: true @@ -83245,7 +83551,7 @@ paths: description: Response content: application/json: - schema: *537 + schema: *542 examples: default: value: @@ -83271,8 +83577,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *352 - - *353 + - *357 + - *358 - name: name in: path required: true @@ -83298,8 +83604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -83335,10 +83641,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *352 - - *353 + - *357 + - *358 responses: - '202': *91 + '202': *93 '403': description: |- We will return a 403 with one of the following messages: @@ -83364,8 +83670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Response @@ -83391,9 +83697,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *352 - - *353 - - *445 + - *357 + - *358 + - *450 responses: '200': description: Response @@ -83459,7 +83765,7 @@ paths: license: anyOf: - type: 'null' - - *146 + - *149 required: - _links - git_url @@ -83540,8 +83846,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: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -83606,8 +83912,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -83641,9 +83947,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *468 + schema: *473 examples: - default: *557 + default: *562 '204': description: Response when already merged '404': @@ -83668,8 +83974,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *352 - - *353 + - *357 + - *358 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -83710,7 +84016,7 @@ paths: application/json: schema: type: array - items: *472 + items: *477 examples: default: value: @@ -83766,8 +84072,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -83807,9 +84113,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *477 examples: - default: &558 + default: &563 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -83868,9 +84174,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *352 - - *353 - - &559 + - *357 + - *358 + - &564 name: milestone_number description: The number that identifies the milestone. in: path @@ -83882,9 +84188,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *477 examples: - default: *558 + default: *563 '404': *6 x-github: githubCloudOnly: false @@ -83901,9 +84207,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *352 - - *353 - - *559 + - *357 + - *358 + - *564 requestBody: required: false content: @@ -83941,9 +84247,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *477 examples: - default: *558 + default: *563 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83959,9 +84265,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *352 - - *353 - - *559 + - *357 + - *358 + - *564 responses: '204': description: Response @@ -83982,9 +84288,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *352 - - *353 - - *559 + - *357 + - *358 + - *564 - *17 - *19 responses: @@ -83994,9 +84300,9 @@ paths: application/json: schema: type: array - items: *537 + items: *542 examples: - default: *538 + default: *543 headers: Link: *37 x-github: @@ -84015,12 +84321,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *352 - - *353 - - *560 - - *561 - - *135 - - *562 + - *357 + - *358 + - *565 + - *566 + - *138 + - *567 - *17 - *19 responses: @@ -84030,9 +84336,9 @@ paths: application/json: schema: type: array - items: *157 + items: *160 examples: - default: *563 + default: *568 headers: Link: *37 x-github: @@ -84056,8 +84362,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: false content: @@ -84115,14 +84421,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: &564 + schema: &569 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -84266,7 +84572,7 @@ paths: - custom_404 - public examples: - default: &565 + default: &570 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -84307,8 +84613,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -84363,11 +84669,11 @@ paths: description: Response content: application/json: - schema: *564 + schema: *569 examples: - default: *565 + default: *570 '422': *15 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84388,8 +84694,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: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -84476,7 +84782,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84497,14 +84803,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Response '422': *15 '404': *6 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84524,8 +84830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -84535,7 +84841,7 @@ paths: application/json: schema: type: array - items: &566 + items: &571 title: Page Build description: Page Build type: object @@ -84627,8 +84933,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *352 - - *353 + - *357 + - *358 responses: '201': description: Response @@ -84675,16 +84981,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *566 + schema: *571 examples: - default: &567 + default: &572 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -84732,8 +85038,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *352 - - *353 + - *357 + - *358 - name: build_id in: path required: true @@ -84744,9 +85050,9 @@ paths: description: Response content: application/json: - schema: *566 + schema: *571 examples: - default: *567 + default: *572 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84766,8 +85072,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -84875,9 +85181,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *352 - - *353 - - &568 + - *357 + - *358 + - &573 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -84935,11 +85241,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *352 - - *353 - - *568 + - *357 + - *358 + - *573 responses: - '204': *112 + '204': *114 '404': *6 x-github: githubCloudOnly: false @@ -84964,8 +85270,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -85233,7 +85539,7 @@ paths: description: Empty response content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -85260,8 +85566,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Private vulnerability reporting status @@ -85298,10 +85604,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *352 - - *353 + - *357 + - *358 responses: - '204': *112 + '204': *114 '422': *14 x-github: githubCloudOnly: false @@ -85320,10 +85626,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *352 - - *353 + - *357 + - *358 responses: - '204': *112 + '204': *114 '422': *14 x-github: githubCloudOnly: false @@ -85344,8 +85650,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *352 - - *353 + - *357 + - *358 - name: state description: Indicates the state of the projects to return. in: query @@ -85366,7 +85672,7 @@ paths: application/json: schema: type: array - items: *302 + items: *305 examples: default: value: @@ -85406,7 +85712,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *363 + '410': *368 '422': *7 x-github: githubCloudOnly: false @@ -85429,8 +85735,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -85456,13 +85762,13 @@ paths: description: Response content: application/json: - schema: *302 + schema: *305 examples: - default: *362 + default: *367 '401': *23 '403': *27 '404': *6 - '410': *363 + '410': *368 '422': *7 x-github: githubCloudOnly: false @@ -85485,8 +85791,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -85494,7 +85800,7 @@ paths: application/json: schema: type: array - items: *304 + items: *307 examples: default: value: @@ -85525,8 +85831,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: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -85538,7 +85844,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *304 + items: *307 required: - properties examples: @@ -85588,8 +85894,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *352 - - *353 + - *357 + - *358 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -85649,9 +85955,9 @@ paths: application/json: schema: type: array - items: *569 + items: *574 examples: - default: *570 + default: *575 headers: Link: *37 '304': *35 @@ -85683,8 +85989,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -85751,7 +86057,7 @@ paths: description: Response content: application/json: - schema: &574 + schema: &579 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -85880,7 +86186,7 @@ paths: milestone: anyOf: - type: 'null' - - *472 + - *477 active_lock_reason: type: - string @@ -85935,7 +86241,7 @@ paths: type: - array - 'null' - items: *285 + items: *288 head: type: object properties: @@ -85973,14 +86279,14 @@ paths: _links: type: object properties: - comments: *473 - commits: *473 - statuses: *473 - html: *473 - issue: *473 - review_comments: *473 - review_comment: *473 - self: *473 + comments: *478 + commits: *478 + statuses: *478 + html: *478 + issue: *478 + review_comments: *478 + review_comment: *478 + self: *478 required: - comments - commits @@ -85990,8 +86296,8 @@ paths: - review_comments - review_comment - self - author_association: *132 - auto_merge: *571 + author_association: *135 + auto_merge: *576 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -86093,7 +86399,7 @@ paths: - merged_by - review_comments examples: - default: &575 + default: &580 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -86620,8 +86926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *352 - - *353 + - *357 + - *358 - name: sort in: query required: false @@ -86640,7 +86946,7 @@ paths: enum: - asc - desc - - *135 + - *138 - *17 - *19 responses: @@ -86650,9 +86956,9 @@ paths: application/json: schema: type: array - items: *572 + items: *577 examples: - default: &577 + default: &582 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86729,17 +87035,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *352 - - *353 - - *144 + - *357 + - *358 + - *147 responses: '200': description: Response content: application/json: - schema: *572 + schema: *577 examples: - default: &573 + default: &578 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86814,9 +87120,9 @@ 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: - - *352 - - *353 - - *144 + - *357 + - *358 + - *147 requestBody: required: true content: @@ -86838,9 +87144,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *577 examples: - default: *573 + default: *578 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86856,9 +87162,9 @@ 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: - - *352 - - *353 - - *144 + - *357 + - *358 + - *147 responses: '204': description: Response @@ -86879,9 +87185,9 @@ 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: - - *352 - - *353 - - *144 + - *357 + - *358 + - *147 - 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 pull request review comment. @@ -86907,9 +87213,9 @@ paths: application/json: schema: type: array - items: *341 + items: *346 examples: - default: *343 + default: *348 headers: Link: *37 '404': *6 @@ -86930,9 +87236,9 @@ 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: - - *352 - - *353 - - *144 + - *357 + - *358 + - *147 requestBody: required: true content: @@ -86964,16 +87270,16 @@ paths: description: Reaction exists content: application/json: - schema: *341 + schema: *346 examples: - default: *342 + default: *347 '201': description: Reaction created content: application/json: - schema: *341 + schema: *346 examples: - default: *342 + default: *347 '422': *15 x-github: githubCloudOnly: false @@ -86995,10 +87301,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *352 - - *353 - - *144 - - *344 + - *357 + - *358 + - *147 + - *349 responses: '204': description: Response @@ -87041,9 +87347,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *352 - - *353 - - &576 + - *357 + - *358 + - &581 name: pull_number description: The number that identifies the pull request. in: path @@ -87056,9 +87362,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *574 + schema: *579 examples: - default: *575 + default: *580 '304': *35 '404': *6 '406': @@ -87066,8 +87372,8 @@ paths: content: application/json: schema: *3 - '500': *93 - '503': *125 + '500': *95 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87093,9 +87399,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *352 - - *353 - - *576 + - *357 + - *358 + - *581 requestBody: required: false content: @@ -87137,9 +87443,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *579 examples: - default: *575 + default: *580 '422': *15 '403': *27 x-github: @@ -87161,9 +87467,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *352 - - *353 - - *576 + - *357 + - *358 + - *581 requestBody: required: true content: @@ -87224,21 +87530,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *276 + schema: *279 examples: - default: *459 + default: *464 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *276 + schema: *279 examples: - default: *459 + default: *464 '401': *23 '403': *27 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -87264,10 +87570,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *352 - - *353 - - *576 - - *154 + - *357 + - *358 + - *581 + - *157 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -87277,7 +87583,7 @@ paths: enum: - asc - desc - - *135 + - *138 - *17 - *19 responses: @@ -87287,9 +87593,9 @@ paths: application/json: schema: type: array - items: *572 + items: *577 examples: - default: *577 + default: *582 headers: Link: *37 x-github: @@ -87322,9 +87628,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *352 - - *353 - - *576 + - *357 + - *358 + - *581 requestBody: required: true content: @@ -87430,7 +87736,7 @@ paths: description: Response content: application/json: - schema: *572 + schema: *577 examples: example-for-a-multi-line-comment: value: @@ -87518,10 +87824,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *352 - - *353 - - *576 - - *144 + - *357 + - *358 + - *581 + - *147 requestBody: required: true content: @@ -87543,7 +87849,7 @@ paths: description: Response content: application/json: - schema: *572 + schema: *577 examples: default: value: @@ -87629,9 +87935,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *352 - - *353 - - *576 + - *357 + - *358 + - *581 - *17 - *19 responses: @@ -87641,9 +87947,9 @@ paths: application/json: schema: type: array - items: *468 + items: *473 examples: - default: *578 + default: *583 headers: Link: *37 x-github: @@ -87673,9 +87979,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *352 - - *353 - - *576 + - *357 + - *358 + - *581 - *17 - *19 responses: @@ -87685,7 +87991,7 @@ paths: application/json: schema: type: array - items: *480 + items: *485 examples: default: value: @@ -87703,8 +88009,8 @@ paths: headers: Link: *37 '422': *15 - '500': *93 - '503': *125 + '500': *95 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87723,9 +88029,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *352 - - *353 - - *576 + - *357 + - *358 + - *581 responses: '204': description: Response if pull request has been merged @@ -87748,9 +88054,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *352 - - *353 - - *576 + - *357 + - *358 + - *581 requestBody: required: false content: @@ -87862,9 +88168,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *352 - - *353 - - *576 + - *357 + - *358 + - *581 responses: '200': description: Response @@ -87880,7 +88186,7 @@ paths: items: *4 teams: type: array - items: *272 + items: *275 required: - users - teams @@ -87939,9 +88245,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *352 - - *353 - - *576 + - *357 + - *358 + - *581 requestBody: required: false content: @@ -87978,7 +88284,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *574 examples: default: value: @@ -88514,9 +88820,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *352 - - *353 - - *576 + - *357 + - *358 + - *581 requestBody: required: true content: @@ -88550,7 +88856,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *574 examples: default: value: @@ -89055,9 +89361,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *352 - - *353 - - *576 + - *357 + - *358 + - *581 - *17 - *19 responses: @@ -89067,7 +89373,7 @@ paths: application/json: schema: type: array - items: &579 + items: &584 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -89141,7 +89447,7 @@ paths: type: string body_text: type: string - author_association: *132 + author_association: *135 required: - id - node_id @@ -89223,9 +89529,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *352 - - *353 - - *576 + - *357 + - *358 + - *581 requestBody: required: false content: @@ -89315,9 +89621,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *584 examples: - default: &581 + default: &586 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -89380,10 +89686,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *352 - - *353 - - *576 - - &580 + - *357 + - *358 + - *581 + - &585 name: review_id description: The unique identifier of the review. in: path @@ -89395,9 +89701,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *584 examples: - default: &582 + default: &587 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -89456,10 +89762,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *352 - - *353 - - *576 - - *580 + - *357 + - *358 + - *581 + - *585 requestBody: required: true content: @@ -89482,7 +89788,7 @@ paths: description: Response content: application/json: - schema: *579 + schema: *584 examples: default: value: @@ -89544,18 +89850,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *352 - - *353 - - *576 - - *580 + - *357 + - *358 + - *581 + - *585 responses: '200': description: Response content: application/json: - schema: *579 + schema: *584 examples: - default: *581 + default: *586 '422': *7 '404': *6 x-github: @@ -89582,10 +89888,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *352 - - *353 - - *576 - - *580 + - *357 + - *358 + - *581 + - *585 - *17 - *19 responses: @@ -89679,13 +89985,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *132 + author_association: *135 _links: type: object properties: - self: *473 - html: *473 - pull_request: *473 + self: *478 + html: *478 + pull_request: *478 required: - self - html @@ -89694,7 +90000,7 @@ paths: type: string body_html: type: string - reactions: *133 + reactions: *136 side: description: The side of the first line of the range for a multi-line comment. @@ -89836,10 +90142,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *352 - - *353 - - *576 - - *580 + - *357 + - *358 + - *581 + - *585 requestBody: required: true content: @@ -89868,7 +90174,7 @@ paths: description: Response content: application/json: - schema: *579 + schema: *584 examples: default: value: @@ -89931,10 +90237,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *352 - - *353 - - *576 - - *580 + - *357 + - *358 + - *581 + - *585 requestBody: required: true content: @@ -89969,9 +90275,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *584 examples: - default: *582 + default: *587 '404': *6 '422': *7 '403': *27 @@ -89993,9 +90299,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *352 - - *353 - - *576 + - *357 + - *358 + - *581 requestBody: required: false content: @@ -90059,8 +90365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *352 - - *353 + - *357 + - *358 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -90073,9 +90379,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *588 examples: - default: &584 + default: &589 value: type: file encoding: base64 @@ -90117,8 +90423,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: - - *352 - - *353 + - *357 + - *358 - name: dir description: The alternate path to look for a README file in: path @@ -90138,9 +90444,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *588 examples: - default: *584 + default: *589 '404': *6 '422': *15 x-github: @@ -90162,8 +90468,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -90173,7 +90479,7 @@ paths: application/json: schema: type: array - items: &585 + items: &590 title: Release description: A release. type: object @@ -90245,7 +90551,7 @@ paths: author: *4 assets: type: array - items: &586 + items: &591 title: Release Asset description: Data related to a release. type: object @@ -90315,7 +90621,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *133 + reactions: *136 required: - assets_url - upload_url @@ -90425,8 +90731,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -90502,9 +90808,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *590 examples: - default: &589 + default: &594 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -90607,9 +90913,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *352 - - *353 - - &587 + - *357 + - *358 + - &592 name: asset_id description: The unique identifier of the asset. in: path @@ -90621,9 +90927,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *591 examples: - default: &588 + default: &593 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -90657,7 +90963,7 @@ paths: type: User site_admin: false '404': *6 - '302': *482 + '302': *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90673,9 +90979,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *352 - - *353 - - *587 + - *357 + - *358 + - *592 requestBody: required: false content: @@ -90704,9 +91010,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *591 examples: - default: *588 + default: *593 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90722,9 +91028,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *352 - - *353 - - *587 + - *357 + - *358 + - *592 responses: '204': description: Response @@ -90748,8 +91054,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: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -90835,16 +91141,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *585 + schema: *590 examples: - default: *589 + default: *594 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90861,8 +91167,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *352 - - *353 + - *357 + - *358 - name: tag description: tag parameter in: path @@ -90875,9 +91181,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *590 examples: - default: *589 + default: *594 '404': *6 x-github: githubCloudOnly: false @@ -90899,9 +91205,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *352 - - *353 - - &590 + - *357 + - *358 + - &595 name: release_id description: The unique identifier of the release. in: path @@ -90915,9 +91221,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *585 + schema: *590 examples: - default: *589 + default: *594 '401': description: Unauthorized x-github: @@ -90935,9 +91241,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *352 - - *353 - - *590 + - *357 + - *358 + - *595 requestBody: required: false content: @@ -91001,9 +91307,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *590 examples: - default: *589 + default: *594 '404': description: Not Found if the discussion category name is invalid content: @@ -91024,9 +91330,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *352 - - *353 - - *590 + - *357 + - *358 + - *595 responses: '204': description: Response @@ -91046,9 +91352,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *352 - - *353 - - *590 + - *357 + - *358 + - *595 - *17 - *19 responses: @@ -91058,7 +91364,7 @@ paths: application/json: schema: type: array - items: *586 + items: *591 examples: default: value: @@ -91139,9 +91445,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *352 - - *353 - - *590 + - *357 + - *358 + - *595 - name: name in: query required: true @@ -91167,7 +91473,7 @@ paths: description: Response for successful upload content: application/json: - schema: *586 + schema: *591 examples: response-for-successful-upload: value: @@ -91221,9 +91527,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *352 - - *353 - - *590 + - *357 + - *358 + - *595 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -91247,9 +91553,9 @@ paths: application/json: schema: type: array - items: *341 + items: *346 examples: - default: *343 + default: *348 headers: Link: *37 '404': *6 @@ -91270,9 +91576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *352 - - *353 - - *590 + - *357 + - *358 + - *595 requestBody: required: true content: @@ -91302,16 +91608,16 @@ paths: description: Reaction exists content: application/json: - schema: *341 + schema: *346 examples: - default: *342 + default: *347 '201': description: Reaction created content: application/json: - schema: *341 + schema: *346 examples: - default: *342 + default: *347 '422': *15 x-github: githubCloudOnly: false @@ -91333,10 +91639,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *352 - - *353 - - *590 - - *344 + - *357 + - *358 + - *595 + - *349 responses: '204': description: Response @@ -91360,9 +91666,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *352 - - *353 - - *411 + - *357 + - *358 + - *416 - *17 - *19 responses: @@ -91378,8 +91684,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *591 - - &593 + - *596 + - &598 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -91398,54 +91704,54 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *592 - - *593 - - allOf: - - *594 - - *593 - - allOf: - - *595 - - *593 - - allOf: - - *596 - - *593 - allOf: - *597 - - *593 - - allOf: - *598 - - *593 - allOf: - *599 - - *593 + - *598 - allOf: - *600 - - *593 + - *598 - allOf: - *601 - - *593 + - *598 - allOf: - *602 - - *593 + - *598 - allOf: - *603 - - *593 + - *598 - allOf: - *604 - - *593 + - *598 - allOf: - *605 - - *593 + - *598 - allOf: - *606 - - *593 + - *598 - allOf: - *607 - - *593 + - *598 - allOf: - *608 - - *593 + - *598 + - allOf: + - *609 + - *598 + - allOf: + - *610 + - *598 + - allOf: + - *611 + - *598 + - allOf: + - *612 + - *598 + - allOf: + - *613 + - *598 examples: default: value: @@ -91484,8 +91790,8 @@ paths: category: repos subcategory: rules parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 - name: includes_parents @@ -91496,7 +91802,7 @@ paths: schema: type: boolean default: true - - *609 + - *614 responses: '200': description: Response @@ -91504,7 +91810,7 @@ paths: application/json: schema: type: array - items: *122 + items: *124 examples: default: value: @@ -91535,7 +91841,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *93 + '500': *95 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -91551,8 +91857,8 @@ paths: category: repos subcategory: rules parameters: - - *352 - - *353 + - *357 + - *358 requestBody: description: Request body required: true @@ -91572,16 +91878,16 @@ paths: - tag - push default: branch - enforcement: *119 + enforcement: *121 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *120 - conditions: *115 + items: *122 + conditions: *117 rules: type: array description: An array of rules within the ruleset. - items: *121 + items: *123 required: - name - enforcement @@ -91612,9 +91918,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *124 examples: - default: &618 + default: &623 value: id: 42 name: super cool ruleset @@ -91647,7 +91953,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *93 + '500': *95 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -91661,12 +91967,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *352 - - *353 - - *610 - - *212 - - *611 - - *612 + - *357 + - *358 + - *615 + - *215 + - *616 + - *617 - *17 - *19 responses: @@ -91674,11 +91980,11 @@ paths: description: Response content: application/json: - schema: *613 + schema: *618 examples: - default: *614 + default: *619 '404': *6 - '500': *93 + '500': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91697,19 +92003,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *352 - - *353 - - *615 + - *357 + - *358 + - *620 responses: '200': description: Response content: application/json: - schema: *616 + schema: *621 examples: - default: *617 + default: *622 '404': *6 - '500': *93 + '500': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91735,8 +92041,8 @@ paths: category: repos subcategory: rules parameters: - - *352 - - *353 + - *357 + - *358 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91756,11 +92062,11 @@ paths: description: Response content: application/json: - schema: *122 + schema: *124 examples: - default: *618 + default: *623 '404': *6 - '500': *93 + '500': *95 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -91776,8 +92082,8 @@ paths: category: repos subcategory: rules parameters: - - *352 - - *353 + - *357 + - *358 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91802,16 +92108,16 @@ paths: - branch - tag - push - enforcement: *119 + enforcement: *121 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *120 - conditions: *115 + items: *122 + conditions: *117 rules: description: An array of rules within the ruleset. type: array - items: *121 + items: *123 examples: default: value: @@ -91839,11 +92145,11 @@ paths: description: Response content: application/json: - schema: *122 + schema: *124 examples: - default: *618 + default: *623 '404': *6 - '500': *93 + '500': *95 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -91859,8 +92165,8 @@ paths: category: repos subcategory: rules parameters: - - *352 - - *353 + - *357 + - *358 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91871,7 +92177,114 @@ paths: '204': description: Response '404': *6 - '500': *93 + '500': *95 + "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": + get: + summary: Get repository ruleset history + description: Get the history of a repository ruleset. + tags: + - repos + operationId: repos/get-repo-ruleset-history + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history + parameters: + - *357 + - *358 + - *17 + - *19 + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *127 + examples: + default: *314 + '404': *6 + '500': *95 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: rules + "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}": + get: + summary: Get repository ruleset version + description: Get a version of a repository ruleset. + tags: + - repos + operationId: repos/get-repo-ruleset-version + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version + parameters: + - *357 + - *358 + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + - name: version_id + description: The ID of the version + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: *315 + examples: + default: + value: + - version_id: 3 + actor: + id: 1 + type: User + updated_at: 2024-010-23T16:29:47Z + state: + id: 42 + name: super cool ruleset + target: branch + source_type: Repository + source: monalisa/my-repo + enforcement: active + bypass_actors: + - actor_id: 234 + actor_type: Team + bypass_mode: always + conditions: + ref_name: + include: + - refs/heads/main + - refs/heads/master + exclude: + - refs/heads/dev* + rules: + - type: commit_author_email_pattern + parameters: + operator: contains + pattern: github + '404': *6 + '500': *95 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: rules "/repos/{owner}/{repo}/secret-scanning/alerts": get: summary: List secret scanning alerts for a repository @@ -91888,20 +92301,20 @@ 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: - - *352 - - *353 - - *311 - - *312 - - *313 - - *314 - - *82 - - *19 - - *17 - - *619 - - *620 - - *315 + - *357 + - *358 - *316 - *317 + - *318 + - *319 + - *84 + - *19 + - *17 + - *624 + - *625 + - *320 + - *321 + - *322 responses: '200': description: Response @@ -91909,24 +92322,24 @@ paths: application/json: schema: type: array - items: &623 + items: &628 type: object properties: - number: *94 - created_at: *101 + number: *96 + created_at: *103 updated_at: anyOf: - type: 'null' - - *102 - url: *99 - html_url: *100 + - *104 + url: *101 + html_url: *102 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *621 - resolution: *622 + state: *626 + resolution: *627 resolved_at: type: - string @@ -92117,7 +92530,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92139,15 +92552,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *352 - - *353 - - *439 + - *357 + - *358 + - *444 responses: '200': description: Response content: application/json: - schema: *623 + schema: *628 examples: default: value: @@ -92178,7 +92591,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92199,9 +92612,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: - - *352 - - *353 - - *439 + - *357 + - *358 + - *444 requestBody: required: true content: @@ -92209,8 +92622,8 @@ paths: schema: type: object properties: - state: *621 - resolution: *622 + state: *626 + resolution: *627 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -92229,7 +92642,7 @@ paths: description: Response content: application/json: - schema: *623 + schema: *628 examples: default: value: @@ -92282,7 +92695,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *125 + '503': *128 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -92304,9 +92717,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: - - *352 - - *353 - - *439 + - *357 + - *358 + - *444 - *19 - *17 responses: @@ -92317,7 +92730,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &779 + items: &784 type: object properties: type: @@ -92674,7 +93087,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92696,8 +93109,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: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -92705,14 +93118,14 @@ paths: schema: type: object properties: - reason: &625 + reason: &630 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *624 + placeholder_id: *629 required: - reason - placeholder_id @@ -92729,7 +93142,7 @@ paths: schema: type: object properties: - reason: *625 + reason: *630 expire_at: type: - string @@ -92753,7 +93166,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *125 + '503': *128 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -92773,13 +93186,13 @@ 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: - - *352 - - *353 + - *357 + - *358 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *125 + '503': *128 '200': description: Response content: @@ -92789,7 +93202,7 @@ paths: properties: incremental_scans: type: array - items: &626 + items: &631 description: Information on a single scan performed by secret scanning on the repository type: object @@ -92817,15 +93230,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *626 + items: *631 backfill_scans: type: array - items: *626 + items: *631 custom_pattern_backfill_scans: type: array items: allOf: - - *626 + - *631 - type: object properties: pattern_name: @@ -92895,9 +93308,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *352 - - *353 - - *82 + - *357 + - *358 + - *84 - name: sort description: The property to sort the results by. in: query @@ -92909,8 +93322,8 @@ paths: - updated - published default: created - - *80 - - *81 + - *82 + - *83 - name: per_page description: The number of advisories to return per page. 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)." @@ -92940,9 +93353,9 @@ paths: application/json: schema: type: array - items: *627 + items: *632 examples: - default: *628 + default: *633 '400': *14 '404': *6 x-github: @@ -92965,8 +93378,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: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -93046,7 +93459,7 @@ paths: login: type: string description: The username of the user credited. - type: *320 + type: *325 required: - login - type @@ -93136,9 +93549,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *632 examples: - default: &630 + default: &635 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -93371,8 +93784,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: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -93485,7 +93898,7 @@ paths: description: Response content: application/json: - schema: *627 + schema: *632 examples: default: value: @@ -93632,17 +94045,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *352 - - *353 - - *629 + - *357 + - *358 + - *634 responses: '200': description: Response content: application/json: - schema: *627 + schema: *632 examples: - default: *630 + default: *635 '403': *27 '404': *6 x-github: @@ -93666,9 +94079,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *352 - - *353 - - *629 + - *357 + - *358 + - *634 requestBody: required: true content: @@ -93748,7 +94161,7 @@ paths: login: type: string description: The username of the user credited. - type: *320 + type: *325 required: - login - type @@ -93839,17 +94252,17 @@ paths: description: Response content: application/json: - schema: *627 + schema: *632 examples: - default: *630 - add_credit: *630 + default: *635 + add_credit: *635 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *170 + schema: *173 examples: invalid_state_transition: value: @@ -93880,11 +94293,11 @@ 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: - - *352 - - *353 - - *629 + - *357 + - *358 + - *634 responses: - '202': *91 + '202': *93 '400': *14 '403': *27 '404': *6 @@ -93909,17 +94322,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: - - *352 - - *353 - - *629 + - *357 + - *358 + - *634 responses: '202': description: Response content: application/json: - schema: *365 + schema: *370 examples: - default: *367 + default: *372 '400': *14 '422': *15 '403': *27 @@ -93945,8 +94358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -94042,8 +94455,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -94052,7 +94465,7 @@ paths: application/json: schema: type: array - items: &631 + items: &636 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -94064,8 +94477,8 @@ paths: - - 1302998400 - 1124 - -435 - '202': *91 - '204': *112 + '202': *93 + '204': *114 '422': description: Repository contains more than 10,000 commits x-github: @@ -94085,8 +94498,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -94136,8 +94549,8 @@ paths: - 0 total: 89 week: 1336280400 - '202': *91 - '204': *112 + '202': *93 + '204': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94164,8 +94577,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -94236,8 +94649,8 @@ paths: a: 6898 d: 77 c: 10 - '202': *91 - '204': *112 + '202': *93 + '204': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94259,8 +94672,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -94414,8 +94827,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -94425,7 +94838,7 @@ paths: application/json: schema: type: array - items: *631 + items: *636 examples: default: value: @@ -94438,7 +94851,7 @@ paths: - - 0 - 2 - 21 - '204': *112 + '204': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94458,8 +94871,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *352 - - *353 + - *357 + - *358 - name: sha in: path required: true @@ -94515,7 +94928,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *637 examples: default: value: @@ -94569,8 +94982,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -94582,7 +94995,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 headers: Link: *37 x-github: @@ -94602,14 +95015,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &633 + schema: &638 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -94682,8 +95095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: false content: @@ -94709,7 +95122,7 @@ paths: description: Response content: application/json: - schema: *633 + schema: *638 examples: default: value: @@ -94736,8 +95149,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Response @@ -94757,8 +95170,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -94840,8 +95253,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: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -94849,7 +95262,7 @@ paths: application/json: schema: type: array - items: &634 + items: &639 title: Tag protection description: Tag protection type: object @@ -94906,8 +95319,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: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -94930,7 +95343,7 @@ paths: description: Response content: application/json: - schema: *634 + schema: *639 examples: default: value: @@ -94961,8 +95374,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: - - *352 - - *353 + - *357 + - *358 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -94999,8 +95412,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *352 - - *353 + - *357 + - *358 - name: ref in: path required: true @@ -95036,8 +95449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *352 - - *353 + - *357 + - *358 - *17 - *19 responses: @@ -95047,9 +95460,9 @@ paths: application/json: schema: type: array - items: *272 + items: *275 examples: - default: *286 + default: *289 headers: Link: *37 '404': *6 @@ -95069,8 +95482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *352 - - *353 + - *357 + - *358 - *19 - *17 responses: @@ -95078,7 +95491,7 @@ paths: description: Response content: application/json: - schema: &635 + schema: &640 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -95090,7 +95503,7 @@ paths: required: - names examples: - default: &636 + default: &641 value: names: - octocat @@ -95113,8 +95526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -95145,9 +95558,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *640 examples: - default: *636 + default: *641 '404': *6 '422': *7 x-github: @@ -95168,9 +95581,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *352 - - *353 - - &637 + - *357 + - *358 + - &642 name: per description: The time frame to display results for. in: query @@ -95201,7 +95614,7 @@ paths: - 128 clones: type: array - items: &638 + items: &643 title: Traffic type: object properties: @@ -95288,8 +95701,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -95383,8 +95796,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *352 - - *353 + - *357 + - *358 responses: '200': description: Response @@ -95447,9 +95860,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *352 - - *353 - - *637 + - *357 + - *358 + - *642 responses: '200': description: Response @@ -95470,7 +95883,7 @@ paths: - 3782 views: type: array - items: *638 + items: *643 required: - uniques - count @@ -95547,8 +95960,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *352 - - *353 + - *357 + - *358 requestBody: required: true content: @@ -95584,7 +95997,7 @@ paths: description: Response content: application/json: - schema: *187 + schema: *190 examples: default: value: @@ -95822,8 +96235,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: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -95846,8 +96259,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Response @@ -95869,8 +96282,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Response @@ -95896,8 +96309,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *352 - - *353 + - *357 + - *358 - name: ref in: path required: true @@ -95989,9 +96402,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *370 examples: - default: *367 + default: *372 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -96032,7 +96445,7 @@ paths: application/json: schema: type: array - items: *187 + items: *190 examples: default: value: @@ -96142,7 +96555,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &646 + - &651 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -96152,7 +96565,7 @@ paths: type: string examples: - members - - &651 + - &656 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -96164,7 +96577,7 @@ paths: format: int32 examples: - 1 - - &652 + - &657 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -96208,7 +96621,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &640 + items: &645 allOf: - type: object required: @@ -96290,7 +96703,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &653 + meta: &658 type: object description: The metadata associated with the creation/updates to the user. @@ -96355,31 +96768,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &641 + '400': &646 description: Bad request content: application/json: - schema: *639 + schema: *644 application/scim+json: - schema: *639 - '401': &642 + schema: *644 + '401': &647 description: Authorization failure - '403': &643 + '403': &648 description: Permission denied - '429': &644 + '429': &649 description: Too many requests content: application/json: - schema: *639 + schema: *644 application/scim+json: - schema: *639 - '500': &645 + schema: *644 + '500': &650 description: Internal server error content: application/json: - schema: *639 + schema: *644 application/scim+json: - schema: *639 + schema: *644 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96403,7 +96816,7 @@ paths: required: true content: application/json: - schema: &649 + schema: &654 type: object required: - schemas @@ -96463,9 +96876,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *640 + schema: *645 examples: - group: &647 + group: &652 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -96484,13 +96897,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *641 - '401': *642 - '403': *643 - '409': &650 + '400': *646 + '401': *647 + '403': *648 + '409': &655 description: Duplicate record detected - '429': *644 - '500': *645 + '429': *649 + '500': *650 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96507,7 +96920,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &648 + - &653 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -96516,22 +96929,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *646 + - *651 - *38 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *640 + schema: *645 examples: - default: *647 - '400': *641 - '401': *642 - '403': *643 + default: *652 + '400': *646 + '401': *647 + '403': *648 '404': *6 - '429': *644 - '500': *645 + '429': *649 + '500': *650 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96550,13 +96963,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *648 + - *653 - *38 requestBody: required: true content: application/json: - schema: *649 + schema: *654 examples: group: summary: Group @@ -96582,17 +96995,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *640 + schema: *645 examples: - group: *647 - groupWithMembers: *647 - '400': *641 - '401': *642 - '403': *643 + group: *652 + groupWithMembers: *652 + '400': *646 + '401': *647 + '403': *648 '404': *6 - '409': *650 - '429': *644 - '500': *645 + '409': *655 + '429': *649 + '500': *650 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96616,13 +97029,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *648 + - *653 - *38 requestBody: required: true content: application/json: - schema: &660 + schema: &665 type: object required: - Operations @@ -96682,17 +97095,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *640 + schema: *645 examples: - updateGroup: *647 - addMembers: *647 - '400': *641 - '401': *642 - '403': *643 + updateGroup: *652 + addMembers: *652 + '400': *646 + '401': *647 + '403': *648 '404': *6 - '409': *650 - '429': *644 - '500': *645 + '409': *655 + '429': *649 + '500': *650 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96708,17 +97121,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *648 + - *653 - *38 responses: '204': description: Group was deleted, no content - '400': *641 - '401': *642 - '403': *643 + '400': *646 + '401': *647 + '403': *648 '404': *6 - '429': *644 - '500': *645 + '429': *649 + '500': *650 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96752,8 +97165,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *651 - - *652 + - *656 + - *657 - *38 responses: '200': @@ -96787,7 +97200,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &655 + items: &660 allOf: - type: object required: @@ -96879,7 +97292,7 @@ paths: address. examples: - true - roles: &654 + roles: &659 type: array description: The roles assigned to the user. items: @@ -96938,7 +97351,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *653 + meta: *658 startIndex: type: integer description: A starting index for the returned page @@ -96977,11 +97390,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *641 - '401': *642 - '403': *643 - '429': *644 - '500': *645 + '400': *646 + '401': *647 + '403': *648 + '429': *649 + '500': *650 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97005,7 +97418,7 @@ paths: required: true content: application/json: - schema: &658 + schema: &663 type: object required: - schemas @@ -97098,9 +97511,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *654 + roles: *659 examples: - user: &659 + user: &664 summary: User value: schemas: @@ -97147,9 +97560,9 @@ paths: description: User has been created content: application/scim+json: - schema: *655 + schema: *660 examples: - user: &656 + user: &661 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -97175,13 +97588,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *656 - '400': *641 - '401': *642 - '403': *643 - '409': *650 - '429': *644 - '500': *645 + enterpriseOwner: *661 + '400': *646 + '401': *647 + '403': *648 + '409': *655 + '429': *649 + '500': *650 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97198,7 +97611,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &657 + - &662 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -97211,15 +97624,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *655 + schema: *660 examples: - default: *656 - '400': *641 - '401': *642 - '403': *643 + default: *661 + '400': *646 + '401': *647 + '403': *648 '404': *6 - '429': *644 - '500': *645 + '429': *649 + '500': *650 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97241,30 +97654,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *657 + - *662 - *38 requestBody: required: true content: application/json: - schema: *658 + schema: *663 examples: - user: *659 + user: *664 responses: '200': description: User was updated content: application/scim+json: - schema: *655 + schema: *660 examples: - user: *656 - '400': *641 - '401': *642 - '403': *643 + user: *661 + '400': *646 + '401': *647 + '403': *648 '404': *6 - '409': *650 - '429': *644 - '500': *645 + '409': *655 + '429': *649 + '500': *650 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97299,13 +97712,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *657 + - *662 - *38 requestBody: required: true content: application/json: - schema: *660 + schema: *665 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -97345,18 +97758,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *655 - examples: - userMultiValuedProperties: *656 - userSingleValuedProperties: *656 - disableUser: *656 - '400': *641 - '401': *642 - '403': *643 + schema: *660 + examples: + userMultiValuedProperties: *661 + userSingleValuedProperties: *661 + disableUser: *661 + '400': *646 + '401': *647 + '403': *648 '404': *6 - '409': *650 - '429': *644 - '500': *645 + '409': *655 + '429': *649 + '500': *650 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97376,17 +97789,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *657 + - *662 - *38 responses: '204': description: User was deleted, no content - '400': *641 - '401': *642 - '403': *643 + '400': *646 + '401': *647 + '403': *648 '404': *6 - '429': *644 - '500': *645 + '429': *649 + '500': *650 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97419,7 +97832,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *167 + - *170 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -97477,7 +97890,7 @@ paths: - 1 Resources: type: array - items: &661 + items: &666 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -97724,22 +98137,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &662 + '404': &667 description: Resource not found content: application/json: - schema: *639 + schema: *644 application/scim+json: - schema: *639 - '403': &663 + schema: *644 + '403': &668 description: Forbidden content: application/json: - schema: *639 + schema: *644 application/scim+json: - schema: *639 - '400': *641 - '429': *644 + schema: *644 + '400': *646 + '429': *649 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -97759,15 +98172,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *167 + - *170 responses: '201': description: Response content: application/scim+json: - schema: *661 + schema: *666 examples: - default: &664 + default: &669 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -97790,17 +98203,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *662 - '403': *663 - '500': *645 + '404': *667 + '403': *668 + '500': *650 '409': description: Conflict content: application/json: - schema: *639 + schema: *644 application/scim+json: - schema: *639 - '400': *641 + schema: *644 + '400': *646 requestBody: required: true content: @@ -97894,18 +98307,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - - *167 - - *657 + - *170 + - *662 responses: '200': description: Response content: application/scim+json: - schema: *661 + schema: *666 examples: - default: *664 - '404': *662 - '403': *663 + default: *669 + '404': *667 + '403': *668 '304': *35 x-github: githubCloudOnly: true @@ -97928,19 +98341,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *167 - - *657 + - *170 + - *662 responses: '200': description: Response content: application/scim+json: - schema: *661 + schema: *666 examples: - default: *664 + default: *669 '304': *35 - '404': *662 - '403': *663 + '404': *667 + '403': *668 requestBody: required: true content: @@ -98050,20 +98463,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - - *167 - - *657 + - *170 + - *662 responses: '200': description: Response content: application/scim+json: - schema: *661 + schema: *666 examples: - default: *664 + default: *669 '304': *35 - '404': *662 - '403': *663 - '400': *641 + '404': *667 + '403': *668 + '400': *646 '429': description: Response content: @@ -98158,13 +98571,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - - *167 - - *657 + - *170 + - *662 responses: '204': description: Response - '404': *662 - '403': *663 + '404': *667 + '403': *668 '304': *35 x-github: githubCloudOnly: true @@ -98279,7 +98692,7 @@ paths: html_url: type: string format: uri - repository: *187 + repository: *190 score: type: number file_size: @@ -98298,7 +98711,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &665 + text_matches: &670 title: Search Result Text Matches type: array items: @@ -98413,7 +98826,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *125 + '503': *128 '422': *15 '403': *27 x-github: @@ -98462,7 +98875,7 @@ paths: enum: - author-date - committer-date - - &666 + - &671 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -98531,7 +98944,7 @@ paths: committer: anyOf: - type: 'null' - - *409 + - *414 comment_count: type: integer message: @@ -98550,7 +98963,7 @@ paths: url: type: string format: uri - verification: *517 + verification: *522 required: - author - committer @@ -98565,7 +98978,7 @@ paths: committer: anyOf: - type: 'null' - - *409 + - *414 parents: type: array items: @@ -98577,12 +98990,12 @@ paths: type: string sha: type: string - repository: *187 + repository: *190 score: type: number node_id: type: string - text_matches: *665 + text_matches: *670 required: - sha - node_id @@ -98775,7 +99188,7 @@ paths: - interactions - created - updated - - *666 + - *671 - *17 - *19 responses: @@ -98891,7 +99304,7 @@ paths: milestone: anyOf: - type: 'null' - - *472 + - *477 comments: type: integer created_at: @@ -98905,7 +99318,7 @@ paths: - string - 'null' format: date-time - text_matches: *665 + text_matches: *670 pull_request: type: object properties: @@ -98943,7 +99356,7 @@ paths: type: string score: type: number - author_association: *132 + author_association: *135 draft: type: boolean repository: *61 @@ -98958,7 +99371,7 @@ paths: anyOf: - type: 'null' - *5 - reactions: *133 + reactions: *136 required: - assignee - closed_at @@ -99074,7 +99487,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *125 + '503': *128 '422': *15 '304': *35 '403': *27 @@ -99127,7 +99540,7 @@ paths: enum: - created - updated - - *666 + - *671 - *17 - *19 responses: @@ -99172,7 +99585,7 @@ paths: - 'null' score: type: number - text_matches: *665 + text_matches: *670 required: - id - node_id @@ -99258,7 +99671,7 @@ paths: - forks - help-wanted-issues - updated - - *666 + - *671 - *17 - *19 responses: @@ -99477,7 +99890,7 @@ paths: license: anyOf: - type: 'null' - - *146 + - *149 permissions: type: object properties: @@ -99495,7 +99908,7 @@ paths: - admin - pull - push - text_matches: *665 + text_matches: *670 temp_clone_token: type: string allow_merge_commit: @@ -99698,7 +100111,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *125 + '503': *128 '422': *15 '304': *35 x-github: @@ -99804,7 +100217,7 @@ paths: - string - 'null' format: uri - text_matches: *665 + text_matches: *670 related: type: - array @@ -99999,7 +100412,7 @@ paths: - followers - repositories - joined - - *666 + - *671 - *17 - *19 responses: @@ -100109,7 +100522,7 @@ paths: type: - boolean - 'null' - text_matches: *665 + text_matches: *670 blog: type: - string @@ -100171,7 +100584,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *125 + '503': *128 '422': *15 x-github: githubCloudOnly: false @@ -100191,7 +100604,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &667 + - &672 name: team_id description: The unique identifier of the team. in: path @@ -100203,9 +100616,9 @@ paths: description: Response content: application/json: - schema: *333 + schema: *338 examples: - default: *334 + default: *339 '404': *6 x-github: githubCloudOnly: false @@ -100232,7 +100645,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *667 + - *672 requestBody: required: true content: @@ -100296,16 +100709,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *333 + schema: *338 examples: - default: *334 + default: *339 '201': description: Response content: application/json: - schema: *333 + schema: *338 examples: - default: *334 + default: *339 '404': *6 '422': *15 '403': *27 @@ -100333,7 +100746,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *667 + - *672 responses: '204': description: Response @@ -100364,8 +100777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *667 - - *82 + - *672 + - *84 - *17 - *19 responses: @@ -100375,9 +100788,9 @@ paths: application/json: schema: type: array - items: *335 + items: *340 examples: - default: *668 + default: *673 headers: Link: *37 x-github: @@ -100406,7 +100819,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *667 + - *672 requestBody: required: true content: @@ -100440,9 +100853,9 @@ paths: description: Response content: application/json: - schema: *335 + schema: *340 examples: - default: *336 + default: *341 x-github: triggersNotification: true githubCloudOnly: false @@ -100469,16 +100882,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *667 - - *337 + - *672 + - *342 responses: '200': description: Response content: application/json: - schema: *335 + schema: *340 examples: - default: *336 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100503,8 +100916,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *667 - - *337 + - *672 + - *342 requestBody: required: false content: @@ -100527,9 +100940,9 @@ paths: description: Response content: application/json: - schema: *335 + schema: *340 examples: - default: *669 + default: *674 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100554,8 +100967,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *667 - - *337 + - *672 + - *342 responses: '204': description: Response @@ -100584,9 +100997,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *667 - - *337 - - *82 + - *672 + - *342 + - *84 - *17 - *19 responses: @@ -100596,9 +101009,9 @@ paths: application/json: schema: type: array - items: *338 + items: *343 examples: - default: *670 + default: *675 headers: Link: *37 x-github: @@ -100627,8 +101040,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *667 - - *337 + - *672 + - *342 requestBody: required: true content: @@ -100650,9 +101063,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *343 examples: - default: *339 + default: *344 x-github: triggersNotification: true githubCloudOnly: false @@ -100679,17 +101092,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *667 - - *337 - - *340 + - *672 + - *342 + - *345 responses: '200': description: Response content: application/json: - schema: *338 + schema: *343 examples: - default: *339 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100714,9 +101127,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *667 - - *337 - - *340 + - *672 + - *342 + - *345 requestBody: required: true content: @@ -100738,9 +101151,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *343 examples: - default: *671 + default: *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100765,9 +101178,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *667 - - *337 - - *340 + - *672 + - *342 + - *345 responses: '204': description: Response @@ -100796,9 +101209,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *667 - - *337 - - *340 + - *672 + - *342 + - *345 - 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. @@ -100824,9 +101237,9 @@ paths: application/json: schema: type: array - items: *341 + items: *346 examples: - default: *343 + default: *348 headers: Link: *37 x-github: @@ -100855,9 +101268,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *667 - - *337 - - *340 + - *672 + - *342 + - *345 requestBody: required: true content: @@ -100889,9 +101302,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *346 examples: - default: *342 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100917,8 +101330,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *667 - - *337 + - *672 + - *342 - 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. @@ -100944,9 +101357,9 @@ paths: application/json: schema: type: array - items: *341 + items: *346 examples: - default: *343 + default: *348 headers: Link: *37 x-github: @@ -100975,8 +101388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *667 - - *337 + - *672 + - *342 requestBody: required: true content: @@ -101008,9 +101421,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *346 examples: - default: *342 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101034,7 +101447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *667 + - *672 - *17 - *19 responses: @@ -101044,9 +101457,9 @@ paths: application/json: schema: type: array - items: *269 + items: *272 examples: - default: *270 + default: *273 headers: Link: *37 x-github: @@ -101072,7 +101485,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *667 + - *672 - name: role description: Filters members returned by their role in the team. in: query @@ -101095,7 +101508,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 headers: Link: *37 '404': *6 @@ -101123,8 +101536,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *667 - - *209 + - *672 + - *212 responses: '204': description: if user is a member @@ -101160,8 +101573,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *667 - - *209 + - *672 + - *212 responses: '204': description: Response @@ -101200,8 +101613,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *667 - - *209 + - *672 + - *212 responses: '204': description: Response @@ -101237,16 +101650,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *667 - - *209 + - *672 + - *212 responses: '200': description: Response content: application/json: - schema: *349 + schema: *354 examples: - response-if-user-is-a-team-maintainer: *672 + response-if-user-is-a-team-maintainer: *677 '404': *6 x-github: githubCloudOnly: false @@ -101279,8 +101692,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *667 - - *209 + - *672 + - *212 requestBody: required: false content: @@ -101305,9 +101718,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *354 examples: - response-if-users-membership-with-team-is-now-pending: *673 + response-if-users-membership-with-team-is-now-pending: *678 '403': description: Forbidden if team synchronization is set up '422': @@ -101341,8 +101754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *667 - - *209 + - *672 + - *212 responses: '204': description: Response @@ -101371,7 +101784,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *667 + - *672 - *17 - *19 responses: @@ -101381,9 +101794,9 @@ paths: application/json: schema: type: array - items: *350 + items: *355 examples: - default: *674 + default: *679 headers: Link: *37 '404': *6 @@ -101410,16 +101823,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *667 - - *351 + - *672 + - *356 responses: '200': description: Response content: application/json: - schema: *350 + schema: *355 examples: - default: *675 + default: *680 '404': description: Not Found if project is not managed by this team x-github: @@ -101444,8 +101857,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *667 - - *351 + - *672 + - *356 requestBody: required: false content: @@ -101513,8 +101926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *667 - - *351 + - *672 + - *356 responses: '204': description: Response @@ -101541,7 +101954,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *667 + - *672 - *17 - *19 responses: @@ -101551,9 +101964,9 @@ paths: application/json: schema: type: array - items: *187 + items: *190 examples: - default: *293 + default: *296 headers: Link: *37 '404': *6 @@ -101583,15 +101996,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *667 - - *352 - - *353 + - *672 + - *357 + - *358 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *676 + schema: *681 examples: alternative-response-with-extra-repository-information: value: @@ -101742,9 +102155,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *667 - - *352 - - *353 + - *672 + - *357 + - *358 requestBody: required: false content: @@ -101794,9 +102207,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *667 - - *352 - - *353 + - *672 + - *357 + - *358 responses: '204': description: Response @@ -101825,15 +102238,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *667 + - *672 responses: '200': description: Response content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 '403': *27 '404': *6 x-github: @@ -101860,7 +102273,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *667 + - *672 requestBody: required: true content: @@ -101921,7 +102334,7 @@ paths: description: Response content: application/json: - schema: *354 + schema: *359 examples: default: value: @@ -101952,7 +102365,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *667 + - *672 - *17 - *19 responses: @@ -101962,9 +102375,9 @@ paths: application/json: schema: type: array - items: *272 + items: *275 examples: - response-if-child-teams-exist: *677 + response-if-child-teams-exist: *682 headers: Link: *37 '404': *6 @@ -101997,7 +102410,7 @@ paths: application/json: schema: oneOf: - - &679 + - &684 title: Private User description: Private User type: object @@ -102247,7 +102660,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *678 + - *683 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -102407,7 +102820,7 @@ paths: description: Response content: application/json: - schema: *679 + schema: *684 examples: default: value: @@ -102486,7 +102899,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 '304': *35 '404': *6 '403': *27 @@ -102509,7 +102922,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *209 + - *212 responses: '204': description: If the user is blocked @@ -102537,7 +102950,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *209 + - *212 responses: '204': description: Response @@ -102561,7 +102974,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *209 + - *212 responses: '204': description: Response @@ -102610,11 +103023,11 @@ paths: type: integer codespaces: type: array - items: *276 + items: *279 examples: - default: *277 + default: *280 '304': *35 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -102751,21 +103164,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *276 + schema: *279 examples: - default: *459 + default: *464 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *276 + schema: *279 examples: - default: *459 + default: *464 '401': *23 '403': *27 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102805,7 +103218,7 @@ paths: type: integer secrets: type: array - items: &680 + items: &685 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -102847,7 +103260,7 @@ paths: - visibility - selected_repositories_url examples: - default: *461 + default: *466 headers: Link: *37 x-github: @@ -102919,13 +103332,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *197 + - *200 responses: '200': description: Response content: application/json: - schema: *680 + schema: *685 examples: default: value: @@ -102955,7 +103368,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *197 + - *200 requestBody: required: true content: @@ -103000,7 +103413,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -103028,7 +103441,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *197 + - *200 responses: '204': description: Response @@ -103053,7 +103466,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *197 + - *200 responses: '200': description: Response @@ -103069,13 +103482,13 @@ paths: type: integer repositories: type: array - items: *187 + items: *190 examples: - default: *681 + default: *686 '401': *23 '403': *27 '404': *6 - '500': *93 + '500': *95 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103096,7 +103509,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *197 + - *200 requestBody: required: true content: @@ -103128,7 +103541,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *93 + '500': *95 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103150,7 +103563,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *197 + - *200 - name: repository_id in: path required: true @@ -103162,7 +103575,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *93 + '500': *95 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103183,7 +103596,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *197 + - *200 - name: repository_id in: path required: true @@ -103195,7 +103608,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *93 + '500': *95 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103215,17 +103628,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *278 + - *281 responses: '200': description: Response content: application/json: - schema: *276 + schema: *279 examples: - default: *459 + default: *464 '304': *35 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -103249,7 +103662,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: - - *278 + - *281 requestBody: required: false content: @@ -103279,9 +103692,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *279 examples: - default: *459 + default: *464 '401': *23 '403': *27 '404': *6 @@ -103303,11 +103716,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *278 + - *281 responses: - '202': *91 + '202': *93 '304': *35 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -103332,13 +103745,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *278 + - *281 responses: '202': description: Response content: application/json: - schema: &682 + schema: &687 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -103391,7 +103804,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &683 + default: &688 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -103399,7 +103812,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -103423,7 +103836,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *278 + - *281 - name: export_id in: path required: true @@ -103436,9 +103849,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *687 examples: - default: *683 + default: *688 '404': *6 x-github: githubCloudOnly: false @@ -103459,7 +103872,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *278 + - *281 responses: '200': description: Response @@ -103475,11 +103888,11 @@ paths: type: integer machines: type: array - items: *460 + items: *465 examples: - default: *684 + default: *689 '304': *35 - '500': *93 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -103506,7 +103919,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: - - *278 + - *281 requestBody: required: true content: @@ -103562,11 +103975,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *365 + repository: *370 machine: anyOf: - type: 'null' - - *460 + - *465 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -104363,17 +104776,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *278 + - *281 responses: '200': description: Response content: application/json: - schema: *276 + schema: *279 examples: - default: *459 + default: *464 '304': *35 - '500': *93 + '500': *95 '400': *14 '401': *23 '402': @@ -104383,7 +104796,7 @@ paths: schema: *3 '403': *27 '404': *6 - '409': *90 + '409': *92 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104403,16 +104816,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *278 + - *281 responses: '200': description: Response content: application/json: - schema: *276 + schema: *279 examples: - default: *459 - '500': *93 + default: *464 + '500': *95 '401': *23 '403': *27 '404': *6 @@ -104441,9 +104854,9 @@ paths: application/json: schema: type: array - items: *287 + items: *290 examples: - default: &697 + default: &702 value: - id: 197 name: hello_docker @@ -104544,7 +104957,7 @@ paths: application/json: schema: type: array - items: &685 + items: &690 title: Email description: Email type: object @@ -104614,9 +105027,9 @@ paths: application/json: schema: type: array - items: *685 + items: *690 examples: - default: &699 + default: &704 value: - email: octocat@github.com verified: true @@ -104693,7 +105106,7 @@ paths: application/json: schema: type: array - items: *685 + items: *690 examples: default: value: @@ -104805,7 +105218,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 headers: Link: *37 '304': *35 @@ -104838,7 +105251,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 headers: Link: *37 '304': *35 @@ -104860,7 +105273,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *209 + - *212 responses: '204': description: if the person is followed by the authenticated user @@ -104890,7 +105303,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *209 + - *212 responses: '204': description: Response @@ -104915,7 +105328,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *209 + - *212 responses: '204': description: Response @@ -104951,7 +105364,7 @@ paths: application/json: schema: type: array - items: &686 + items: &691 title: GPG Key description: A unique encryption key type: object @@ -105096,7 +105509,7 @@ paths: - subkeys - revoked examples: - default: &710 + default: &715 value: - id: 3 name: Octocat's GPG Key @@ -105181,9 +105594,9 @@ paths: description: Response content: application/json: - schema: *686 + schema: *691 examples: - default: &687 + default: &692 value: id: 3 name: Octocat's GPG Key @@ -105240,7 +105653,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &688 + - &693 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -105252,9 +105665,9 @@ paths: description: Response content: application/json: - schema: *686 + schema: *691 examples: - default: *687 + default: *692 '404': *6 '304': *35 '403': *27 @@ -105277,7 +105690,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *688 + - *693 responses: '204': description: Response @@ -105468,7 +105881,7 @@ paths: type: array items: *61 examples: - default: *689 + default: *694 headers: Link: *37 '404': *6 @@ -105493,7 +105906,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *182 + - *185 responses: '204': description: Response @@ -105519,7 +105932,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *182 + - *185 responses: '204': description: Response @@ -105553,12 +105966,12 @@ paths: application/json: schema: anyOf: - - *267 + - *270 - type: object properties: {} additionalProperties: false examples: - default: *268 + default: *271 '204': description: Response when there are no restrictions x-github: @@ -105582,7 +105995,7 @@ paths: required: true content: application/json: - schema: *528 + schema: *533 examples: default: value: @@ -105593,7 +106006,7 @@ paths: description: Response content: application/json: - schema: *267 + schema: *270 examples: default: value: @@ -105674,7 +106087,7 @@ paths: - closed - all default: open - - *273 + - *276 - name: sort description: What to sort results by. in: query @@ -105686,8 +106099,8 @@ paths: - updated - comments default: created - - *82 - - *135 + - *84 + - *138 - *17 - *19 responses: @@ -105697,9 +106110,9 @@ paths: application/json: schema: type: array - items: *145 + items: *148 examples: - default: *274 + default: *277 headers: Link: *37 '404': *6 @@ -105732,7 +106145,7 @@ paths: application/json: schema: type: array - items: &690 + items: &695 title: Key description: Key type: object @@ -105830,9 +106243,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *695 examples: - default: &691 + default: &696 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105865,15 +106278,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *555 + - *560 responses: '200': description: Response content: application/json: - schema: *690 + schema: *695 examples: - default: *691 + default: *696 '404': *6 '304': *35 '403': *27 @@ -105896,7 +106309,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *555 + - *560 responses: '204': description: Response @@ -105929,7 +106342,7 @@ paths: application/json: schema: type: array - items: &692 + items: &697 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -105997,7 +106410,7 @@ paths: - id - type - login - plan: *148 + plan: *151 required: - billing_cycle - next_billing_date @@ -106008,7 +106421,7 @@ paths: - account - plan examples: - default: &693 + default: &698 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -106070,9 +106483,9 @@ paths: application/json: schema: type: array - items: *692 + items: *697 examples: - default: *693 + default: *698 headers: Link: *37 '304': *35 @@ -106112,7 +106525,7 @@ paths: application/json: schema: type: array - items: *279 + items: *282 examples: default: value: @@ -106214,13 +106627,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *167 + - *170 responses: '200': description: Response content: application/json: - schema: *279 + schema: *282 examples: default: value: @@ -106278,7 +106691,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *167 + - *170 requestBody: required: true content: @@ -106303,7 +106716,7 @@ paths: description: Response content: application/json: - schema: *279 + schema: *282 examples: default: value: @@ -106371,7 +106784,7 @@ paths: application/json: schema: type: array - items: *281 + items: *284 examples: default: value: @@ -106633,7 +107046,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *284 examples: default: value: @@ -106813,7 +107226,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *282 + - *285 - name: exclude in: query required: false @@ -106826,7 +107239,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *284 examples: default: value: @@ -107020,7 +107433,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *282 + - *285 responses: '302': description: Response @@ -107046,7 +107459,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *282 + - *285 responses: '204': description: Response @@ -107075,8 +107488,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *282 - - *694 + - *285 + - *699 responses: '204': description: Response @@ -107100,7 +107513,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *282 + - *285 - *17 - *19 responses: @@ -107110,9 +107523,9 @@ paths: application/json: schema: type: array - items: *187 + items: *190 examples: - default: *293 + default: *296 headers: Link: *37 '404': *6 @@ -107149,7 +107562,7 @@ paths: type: array items: *56 examples: - default: *695 + default: *700 headers: Link: *37 '304': *35 @@ -107191,7 +107604,7 @@ paths: - docker - nuget - container - - *696 + - *701 - *19 - *17 responses: @@ -107201,10 +107614,10 @@ paths: application/json: schema: type: array - items: *287 + items: *290 examples: - default: *697 - '400': *698 + default: *702 + '400': *703 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107224,16 +107637,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *289 - - *290 + - *292 + - *293 responses: '200': description: Response content: application/json: - schema: *287 + schema: *290 examples: - default: &711 + default: &716 value: id: 40201 name: octo-name @@ -107346,8 +107759,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: - - *289 - - *290 + - *292 + - *293 responses: '204': description: Response @@ -107377,8 +107790,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: - - *289 - - *290 + - *292 + - *293 - name: token description: package token schema: @@ -107410,8 +107823,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: - - *289 - - *290 + - *292 + - *293 - *19 - *17 - name: state @@ -107431,7 +107844,7 @@ paths: application/json: schema: type: array - items: *291 + items: *294 examples: default: value: @@ -107480,15 +107893,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: - - *289 - - *290 - *292 + - *293 + - *295 responses: '200': description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -107524,9 +107937,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: - - *289 - - *290 - *292 + - *293 + - *295 responses: '204': description: Response @@ -107556,9 +107969,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: - - *289 - - *290 - *292 + - *293 + - *295 responses: '204': description: Response @@ -107616,7 +108029,7 @@ paths: description: Response content: application/json: - schema: *302 + schema: *305 examples: default: value: @@ -107688,9 +108101,9 @@ paths: application/json: schema: type: array - items: *685 + items: *690 examples: - default: *699 + default: *704 headers: Link: *37 '304': *35 @@ -107803,7 +108216,7 @@ paths: type: array items: *61 examples: - default: &706 + default: &711 summary: Default response value: - id: 1296269 @@ -108119,9 +108532,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *370 examples: - default: *367 + default: *372 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -108159,9 +108572,9 @@ paths: application/json: schema: type: array - items: *530 + items: *535 examples: - default: *700 + default: *705 headers: Link: *37 '304': *35 @@ -108184,12 +108597,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *271 + - *274 responses: '204': description: Response '403': *27 - '409': *90 + '409': *92 '404': *6 '304': *35 x-github: @@ -108207,11 +108620,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *271 + - *274 responses: '204': description: Response - '409': *90 + '409': *92 '304': *35 '404': *6 '403': *27 @@ -108240,7 +108653,7 @@ paths: application/json: schema: type: array - items: &701 + items: &706 title: Social account description: Social media account type: object @@ -108257,7 +108670,7 @@ paths: - provider - url examples: - default: &702 + default: &707 value: - provider: twitter url: https://twitter.com/github @@ -108320,9 +108733,9 @@ paths: application/json: schema: type: array - items: *701 + items: *706 examples: - default: *702 + default: *707 '422': *15 '304': *35 '404': *6 @@ -108410,7 +108823,7 @@ paths: application/json: schema: type: array - items: &703 + items: &708 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -108430,7 +108843,7 @@ paths: - title - created_at examples: - default: &712 + default: &717 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -108497,9 +108910,9 @@ paths: description: Response content: application/json: - schema: *703 + schema: *708 examples: - default: &704 + default: &709 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -108530,7 +108943,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &705 + - &710 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -108542,9 +108955,9 @@ paths: description: Response content: application/json: - schema: *703 + schema: *708 examples: - default: *704 + default: *709 '404': *6 '304': *35 '403': *27 @@ -108567,7 +108980,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *705 + - *710 responses: '204': description: Response @@ -108596,7 +109009,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &713 + - &718 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -108609,7 +109022,7 @@ paths: - created - updated default: created - - *82 + - *84 - *17 - *19 responses: @@ -108621,11 +109034,11 @@ paths: type: array items: *61 examples: - default-response: *706 + default-response: *711 application/vnd.github.v3.star+json: schema: type: array - items: &714 + items: &719 title: Starred Repository description: Starred Repository type: object @@ -108781,8 +109194,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: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Response if this repository is starred by you @@ -108810,8 +109223,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: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Response @@ -108835,8 +109248,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: - - *352 - - *353 + - *357 + - *358 responses: '204': description: Response @@ -108869,9 +109282,9 @@ paths: application/json: schema: type: array - items: *187 + items: *190 examples: - default: *293 + default: *296 headers: Link: *37 '304': *35 @@ -108908,7 +109321,7 @@ paths: application/json: schema: type: array - items: *333 + items: *338 examples: default: value: @@ -108986,7 +109399,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *150 + - *153 responses: '200': description: Response @@ -108994,10 +109407,10 @@ paths: application/json: schema: oneOf: - - *679 - - *678 + - *684 + - *683 examples: - default-response: &708 + default-response: &713 summary: Default response value: login: octocat @@ -109032,7 +109445,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &709 + response-with-git-hub-plan-information: &714 summary: Response with GitHub plan information value: login: octocat @@ -109092,7 +109505,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *707 + - *712 - *17 responses: '200': @@ -109103,7 +109516,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 headers: Link: example: ; rel="next" @@ -109133,7 +109546,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *209 + - *212 responses: '200': description: Response @@ -109141,11 +109554,11 @@ paths: application/json: schema: oneOf: - - *679 - - *678 + - *684 + - *683 examples: - default-response: *708 - response-with-git-hub-plan-information: *709 + default-response: *713 + response-with-git-hub-plan-information: *714 '404': *6 x-github: githubCloudOnly: false @@ -109169,9 +109582,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations parameters: - *17 - - *80 - - *81 - - *209 + - *82 + - *83 + - *212 - name: subject_digest description: Subject Digest in: path @@ -109275,7 +109688,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -109301,7 +109714,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *209 + - *212 responses: '200': description: Response @@ -109309,9 +109722,9 @@ paths: application/json: schema: type: array - items: *287 + items: *290 examples: - default: *697 + default: *702 '403': *27 '401': *23 x-github: @@ -109334,7 +109747,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *209 + - *212 - *17 - *19 responses: @@ -109344,7 +109757,7 @@ paths: application/json: schema: type: array - items: *156 + items: *159 examples: default: value: @@ -109415,8 +109828,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *209 - - *167 + - *212 + - *170 - *17 - *19 responses: @@ -109426,7 +109839,7 @@ paths: application/json: schema: type: array - items: *156 + items: *159 examples: default: value: @@ -109505,7 +109918,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *209 + - *212 - *17 - *19 responses: @@ -109515,7 +109928,7 @@ paths: application/json: schema: type: array - items: *156 + items: *159 examples: default: value: @@ -109582,7 +109995,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *209 + - *212 - *17 - *19 responses: @@ -109594,7 +110007,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 headers: Link: *37 x-github: @@ -109613,7 +110026,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *209 + - *212 - *17 - *19 responses: @@ -109625,7 +110038,7 @@ paths: type: array items: *4 examples: - default: *275 + default: *278 headers: Link: *37 x-github: @@ -109644,7 +110057,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-user-follows-another-user parameters: - - *209 + - *212 - name: target_user in: path required: true @@ -109671,8 +110084,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *209 - - *135 + - *212 + - *138 - *17 - *19 responses: @@ -109682,9 +110095,9 @@ paths: application/json: schema: type: array - items: *136 + items: *139 examples: - default: *137 + default: *140 headers: Link: *37 '422': *15 @@ -109705,7 +110118,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *209 + - *212 - *17 - *19 responses: @@ -109715,9 +110128,9 @@ paths: application/json: schema: type: array - items: *686 + items: *691 examples: - default: *710 + default: *715 headers: Link: *37 x-github: @@ -109741,7 +110154,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *209 + - *212 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -109813,7 +110226,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *209 + - *212 responses: '200': description: Response @@ -109821,7 +110234,7 @@ paths: application/json: schema: *20 examples: - default: *527 + default: *532 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109839,7 +110252,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *209 + - *212 - *17 - *19 responses: @@ -109887,7 +110300,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *209 + - *212 - *17 - *19 responses: @@ -109899,7 +110312,7 @@ paths: type: array items: *56 examples: - default: *695 + default: *700 headers: Link: *37 x-github: @@ -109938,8 +110351,8 @@ paths: - docker - nuget - container - - *696 - - *209 + - *701 + - *212 - *19 - *17 responses: @@ -109949,12 +110362,12 @@ paths: application/json: schema: type: array - items: *287 + items: *290 examples: - default: *697 + default: *702 '403': *27 '401': *23 - '400': *698 + '400': *703 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109974,17 +110387,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *289 - - *290 - - *209 + - *292 + - *293 + - *212 responses: '200': description: Response content: application/json: - schema: *287 + schema: *290 examples: - default: *711 + default: *716 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110005,9 +110418,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *289 - - *290 - - *209 + - *292 + - *293 + - *212 responses: '204': description: Response @@ -110039,9 +110452,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *289 - - *290 - - *209 + - *292 + - *293 + - *212 - name: token description: package token schema: @@ -110073,9 +110486,9 @@ 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: - - *289 - - *290 - - *209 + - *292 + - *293 + - *212 responses: '200': description: Response @@ -110083,7 +110496,7 @@ paths: application/json: schema: type: array - items: *291 + items: *294 examples: default: value: @@ -110141,16 +110554,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: - - *289 - - *290 - *292 - - *209 + - *293 + - *295 + - *212 responses: '200': description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -110185,10 +110598,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *289 - - *290 - - *209 - *292 + - *293 + - *212 + - *295 responses: '204': description: Response @@ -110220,10 +110633,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *289 - - *290 - - *209 - *292 + - *293 + - *212 + - *295 responses: '204': description: Response @@ -110249,7 +110662,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-user-projects parameters: - - *209 + - *212 - name: state description: Indicates the state of the projects to return. in: query @@ -110270,7 +110683,7 @@ paths: application/json: schema: type: array - items: *302 + items: *305 examples: default: value: @@ -110332,7 +110745,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *209 + - *212 - *17 - *19 responses: @@ -110342,7 +110755,7 @@ paths: application/json: schema: type: array - items: *156 + items: *159 examples: default: value: @@ -110421,7 +110834,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-received-by-a-user parameters: - - *209 + - *212 - *17 - *19 responses: @@ -110431,7 +110844,7 @@ paths: application/json: schema: type: array - items: *156 + items: *159 examples: default: value: @@ -110508,7 +110921,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *209 + - *212 - name: type description: Limit results to repositories of the specified type. in: query @@ -110551,9 +110964,9 @@ paths: application/json: schema: type: array - items: *187 + items: *190 examples: - default: *293 + default: *296 headers: Link: *37 x-github: @@ -110577,15 +110990,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *209 + - *212 responses: '200': description: Response content: application/json: - schema: *321 + schema: *326 examples: - default: *322 + default: *327 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110607,15 +111020,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *209 + - *212 responses: '200': description: Response content: application/json: - schema: *325 + schema: *330 examples: - default: *326 + default: *331 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110637,15 +111050,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *209 + - *212 responses: '200': description: Response content: application/json: - schema: *327 + schema: *332 examples: - default: *328 + default: *333 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110663,7 +111076,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *209 + - *212 - *17 - *19 responses: @@ -110673,9 +111086,9 @@ paths: application/json: schema: type: array - items: *701 + items: *706 examples: - default: *702 + default: *707 headers: Link: *37 x-github: @@ -110695,7 +111108,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *209 + - *212 - *17 - *19 responses: @@ -110705,9 +111118,9 @@ paths: application/json: schema: type: array - items: *703 + items: *708 examples: - default: *712 + default: *717 headers: Link: *37 x-github: @@ -110731,9 +111144,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *209 - - *713 - - *82 + - *212 + - *718 + - *84 - *17 - *19 responses: @@ -110744,11 +111157,11 @@ paths: schema: anyOf: - type: array - items: *714 + items: *719 - type: array items: *61 examples: - default-response: *706 + default-response: *711 headers: Link: *37 x-github: @@ -110767,7 +111180,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *209 + - *212 - *17 - *19 responses: @@ -110777,9 +111190,9 @@ paths: application/json: schema: type: array - items: *187 + items: *190 examples: - default: *293 + default: *296 headers: Link: *37 x-github: @@ -110908,7 +111321,7 @@ webhooks: type: string enum: - disabled - enterprise: &715 + enterprise: &720 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -110977,7 +111390,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &716 + installation: &721 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -110998,7 +111411,7 @@ webhooks: required: - id - node_id - organization: &717 + organization: &722 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -111071,7 +111484,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &718 + repository: &723 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -111100,7 +111513,7 @@ webhooks: license: anyOf: - type: 'null' - - *146 + - *149 organization: anyOf: - type: 'null' @@ -111984,10 +112397,10 @@ webhooks: type: string enum: - enabled - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -112063,11 +112476,11 @@ webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - rule: &719 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + rule: &724 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -112290,11 +112703,11 @@ webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - rule: *719 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + rule: *724 sender: *4 required: - action @@ -112482,11 +112895,11 @@ webhooks: - everyone required: - from - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - rule: *719 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + rule: *724 sender: *4 required: - action @@ -112559,7 +112972,7 @@ webhooks: required: true content: application/json: - schema: &722 + schema: &727 title: Exemption request cancellation event type: object properties: @@ -112567,11 +112980,11 @@ webhooks: type: string enum: - cancelled - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - exemption_request: &720 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + exemption_request: &725 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -112725,7 +113138,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &721 + items: &726 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -112837,7 +113250,7 @@ webhooks: required: true content: application/json: - schema: &723 + schema: &728 title: Exemption request completed event type: object properties: @@ -112845,11 +113258,11 @@ webhooks: type: string enum: - completed - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - exemption_request: *720 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + exemption_request: *725 sender: *4 required: - action @@ -112921,7 +113334,7 @@ webhooks: required: true content: application/json: - schema: &724 + schema: &729 title: Exemption request created event type: object properties: @@ -112929,11 +113342,11 @@ webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - exemption_request: *720 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + exemption_request: *725 sender: *4 required: - action @@ -113005,7 +113418,7 @@ webhooks: required: true content: application/json: - schema: &725 + schema: &730 title: Exemption response dismissed event type: object properties: @@ -113013,12 +113426,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - exemption_request: *720 - exemption_response: *721 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + exemption_request: *725 + exemption_response: *726 sender: *4 required: - action @@ -113092,7 +113505,7 @@ webhooks: required: true content: application/json: - schema: &726 + schema: &731 title: Exemption response submitted event type: object properties: @@ -113100,12 +113513,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - exemption_request: *720 - exemption_response: *721 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + exemption_request: *725 + exemption_response: *726 sender: *4 required: - action @@ -113178,7 +113591,7 @@ webhooks: required: true content: application/json: - schema: *722 + schema: *727 responses: '200': description: Return a 200 status to indicate that the data was received @@ -113245,7 +113658,7 @@ webhooks: required: true content: application/json: - schema: *723 + schema: *728 responses: '200': description: Return a 200 status to indicate that the data was received @@ -113312,7 +113725,7 @@ webhooks: required: true content: application/json: - schema: *724 + schema: *729 responses: '200': description: Return a 200 status to indicate that the data was received @@ -113379,7 +113792,7 @@ webhooks: required: true content: application/json: - schema: *725 + schema: *730 responses: '200': description: Return a 200 status to indicate that the data was received @@ -113447,7 +113860,7 @@ webhooks: required: true content: application/json: - schema: *726 + schema: *731 responses: '200': description: Return a 200 status to indicate that the data was received @@ -113525,7 +113938,7 @@ webhooks: type: string enum: - completed - check_run: &728 + check_run: &733 title: CheckRun description: A check performed on the code of a given code change type: object @@ -113593,8 +114006,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *422 - repository: *187 + items: *427 + repository: *190 status: type: string enum: @@ -113638,7 +114051,7 @@ webhooks: - examples: - neutral - deployment: *727 + deployment: *732 details_url: type: string examples: @@ -113698,7 +114111,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *422 + items: *427 started_at: type: string format: date-time @@ -113736,9 +114149,9 @@ webhooks: - output - app - pull_requests - installation: *716 - organization: *717 - repository: *718 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - check_run @@ -114131,10 +114544,10 @@ webhooks: type: string enum: - created - check_run: *728 - installation: *716 - organization: *717 - repository: *718 + check_run: *733 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - check_run @@ -114530,10 +114943,10 @@ webhooks: type: string enum: - requested_action - check_run: *728 - installation: *716 - organization: *717 - repository: *718 + check_run: *733 + installation: *721 + organization: *722 + repository: *723 requested_action: description: The action requested by the user. type: object @@ -114938,10 +115351,10 @@ webhooks: type: string enum: - rerequested - check_run: *728 - installation: *716 - organization: *717 - repository: *718 + check_run: *733 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - check_run @@ -115933,10 +116346,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -116621,10 +117034,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -117303,10 +117716,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -117472,7 +117885,7 @@ webhooks: required: - login - id - dismissed_comment: *434 + dismissed_comment: *439 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -117624,20 +118037,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &729 + commit_oid: &734 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *715 - installation: *716 - organization: *717 - ref: &730 + enterprise: *720 + installation: *721 + organization: *722 + ref: &735 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *718 + repository: *723 sender: *4 required: - action @@ -117801,7 +118214,7 @@ webhooks: required: - login - id - dismissed_comment: *434 + dismissed_comment: *439 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -117971,12 +118384,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *729 - enterprise: *715 - installation: *716 - organization: *717 - ref: *730 - repository: *718 + commit_oid: *734 + enterprise: *720 + installation: *721 + organization: *722 + ref: *735 + repository: *723 sender: *4 required: - action @@ -118074,7 +118487,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *434 + dismissed_comment: *439 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -118253,12 +118666,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *729 - enterprise: *715 - installation: *716 - organization: *717 - ref: *730 - repository: *718 + commit_oid: *734 + enterprise: *720 + installation: *721 + organization: *722 + ref: *735 + repository: *723 sender: *4 required: - action @@ -118424,7 +118837,7 @@ webhooks: required: - login - id - dismissed_comment: *434 + dismissed_comment: *439 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -118601,12 +119014,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *729 - enterprise: *715 - installation: *716 - organization: *717 - ref: *730 - repository: *718 + commit_oid: *734 + enterprise: *720 + installation: *721 + organization: *722 + ref: *735 + repository: *723 sender: *4 required: - action @@ -118706,7 +119119,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *434 + dismissed_comment: *439 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -118886,9 +119299,9 @@ webhooks: type: - string - 'null' - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -118896,7 +119309,7 @@ webhooks: type: - string - 'null' - repository: *718 + repository: *723 sender: *4 required: - action @@ -118992,7 +119405,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *434 + dismissed_comment: *439 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -119139,12 +119552,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *729 - enterprise: *715 - installation: *716 - organization: *717 - ref: *730 - repository: *718 + commit_oid: *734 + enterprise: *720 + installation: *721 + organization: *722 + ref: *735 + repository: *723 sender: *4 required: - action @@ -119406,10 +119819,10 @@ webhooks: - updated_at - author_association - body - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -119490,18 +119903,18 @@ webhooks: type: - string - 'null' - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *717 - pusher_type: &731 + organization: *722 + pusher_type: &736 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &732 + ref: &737 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -119511,7 +119924,7 @@ webhooks: enum: - tag - branch - repository: *718 + repository: *723 sender: *4 required: - ref @@ -119593,10 +120006,10 @@ webhooks: type: string enum: - created - definition: *108 - enterprise: *715 - installation: *716 - organization: *717 + definition: *110 + enterprise: *720 + installation: *721 + organization: *722 sender: *4 required: - action @@ -119681,9 +120094,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 sender: *4 required: - action @@ -119760,10 +120173,10 @@ webhooks: type: string enum: - updated - definition: *108 - enterprise: *715 - installation: *716 - organization: *717 + definition: *110 + enterprise: *720 + installation: *721 + organization: *722 sender: *4 required: - action @@ -119840,19 +120253,19 @@ webhooks: type: string enum: - updated - enterprise: *715 - installation: *716 - repository: *718 - organization: *717 + enterprise: *720 + installation: *721 + repository: *723 + organization: *722 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *304 + items: *307 old_property_values: type: array description: The old custom property values for the repository. - items: *304 + items: *307 required: - action - repository @@ -119928,18 +120341,18 @@ webhooks: title: delete event type: object properties: - enterprise: *715 - installation: *716 - organization: *717 - pusher_type: *731 - ref: *732 + enterprise: *720 + installation: *721 + organization: *722 + pusher_type: *736 + ref: *737 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *718 + repository: *723 sender: *4 required: - ref @@ -120023,11 +120436,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *486 - installation: *716 - organization: *717 - enterprise: *715 - repository: *718 + alert: *491 + installation: *721 + organization: *722 + enterprise: *720 + repository: *723 sender: *4 required: - action @@ -120111,11 +120524,11 @@ webhooks: type: string enum: - auto_reopened - alert: *486 - installation: *716 - organization: *717 - enterprise: *715 - repository: *718 + alert: *491 + installation: *721 + organization: *722 + enterprise: *720 + repository: *723 sender: *4 required: - action @@ -120199,11 +120612,11 @@ webhooks: type: string enum: - created - alert: *486 - installation: *716 - organization: *717 - enterprise: *715 - repository: *718 + alert: *491 + installation: *721 + organization: *722 + enterprise: *720 + repository: *723 sender: *4 required: - action @@ -120285,11 +120698,11 @@ webhooks: type: string enum: - dismissed - alert: *486 - installation: *716 - organization: *717 - enterprise: *715 - repository: *718 + alert: *491 + installation: *721 + organization: *722 + enterprise: *720 + repository: *723 sender: *4 required: - action @@ -120371,11 +120784,11 @@ webhooks: type: string enum: - fixed - alert: *486 - installation: *716 - organization: *717 - enterprise: *715 - repository: *718 + alert: *491 + installation: *721 + organization: *722 + enterprise: *720 + repository: *723 sender: *4 required: - action @@ -120458,11 +120871,11 @@ webhooks: type: string enum: - reintroduced - alert: *486 - installation: *716 - organization: *717 - enterprise: *715 - repository: *718 + alert: *491 + installation: *721 + organization: *722 + enterprise: *720 + repository: *723 sender: *4 required: - action @@ -120544,11 +120957,11 @@ webhooks: type: string enum: - reopened - alert: *486 - installation: *716 - organization: *717 - enterprise: *715 - repository: *718 + alert: *491 + installation: *721 + organization: *722 + enterprise: *720 + repository: *723 sender: *4 required: - action @@ -120625,9 +121038,9 @@ webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - key: &733 + enterprise: *720 + installation: *721 + key: &738 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -120665,8 +121078,8 @@ webhooks: - verified - created_at - read_only - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -120743,11 +121156,11 @@ webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - key: *733 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + key: *738 + organization: *722 + repository: *723 sender: *4 required: - action @@ -121319,12 +121732,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 - workflow: &737 + workflow: &742 title: Workflow type: - object @@ -122062,13 +122475,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *492 + deployment: *497 pull_requests: type: array - items: *574 - repository: *718 - organization: *717 - installation: *716 + items: *579 + repository: *723 + organization: *722 + installation: *721 sender: *4 responses: '200': @@ -122139,7 +122552,7 @@ webhooks: type: string enum: - approved - approver: &734 + approver: &739 type: object properties: avatar_url: @@ -122182,11 +122595,11 @@ webhooks: type: string comment: type: string - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - reviewers: &735 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + reviewers: &740 type: array items: type: object @@ -122267,7 +122680,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &736 + workflow_job_run: &741 type: object properties: conclusion: @@ -123013,18 +123426,18 @@ webhooks: type: string enum: - rejected - approver: *734 + approver: *739 comment: type: string - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - reviewers: *735 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + reviewers: *740 sender: *4 since: type: string - workflow_job_run: *736 + workflow_job_run: *741 workflow_job_runs: type: array items: @@ -123741,13 +124154,13 @@ webhooks: type: string enum: - requested - enterprise: *715 + enterprise: *720 environment: type: string - installation: *716 - organization: *717 - repository: *718 - requestor: &742 + installation: *721 + organization: *722 + repository: *723 + requestor: &747 title: User type: - object @@ -125690,12 +126103,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 - workflow: *737 + workflow: *742 workflow_run: title: Deployment Workflow Run type: @@ -126386,7 +126799,7 @@ webhooks: type: string enum: - answered - answer: &740 + answer: &745 type: object properties: author_association: @@ -126546,7 +126959,7 @@ webhooks: - created_at - updated_at - body - discussion: &738 + discussion: &743 title: Discussion description: A Discussion in a repository. type: object @@ -126842,7 +127255,7 @@ webhooks: - id labels: type: array - items: *537 + items: *542 required: - repository_url - category @@ -126864,10 +127277,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -126994,11 +127407,11 @@ webhooks: - from required: - category - discussion: *738 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *743 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -127081,11 +127494,11 @@ webhooks: type: string enum: - closed - discussion: *738 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *743 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -127167,7 +127580,7 @@ webhooks: type: string enum: - created - comment: &739 + comment: &744 type: object properties: author_association: @@ -127327,11 +127740,11 @@ webhooks: - updated_at - body - reactions - discussion: *738 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *743 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -127414,12 +127827,12 @@ webhooks: type: string enum: - deleted - comment: *739 - discussion: *738 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + comment: *744 + discussion: *743 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -127514,12 +127927,12 @@ webhooks: - from required: - body - comment: *739 - discussion: *738 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + comment: *744 + discussion: *743 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -127603,11 +128016,11 @@ webhooks: type: string enum: - created - discussion: *738 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *743 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -127689,11 +128102,11 @@ webhooks: type: string enum: - deleted - discussion: *738 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *743 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -127793,11 +128206,11 @@ webhooks: type: string required: - from - discussion: *738 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *743 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -127879,10 +128292,10 @@ webhooks: type: string enum: - labeled - discussion: *738 - enterprise: *715 - installation: *716 - label: &741 + discussion: *743 + enterprise: *720 + installation: *721 + label: &746 title: Label type: object properties: @@ -127915,8 +128328,8 @@ webhooks: - color - default - description - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -127999,11 +128412,11 @@ webhooks: type: string enum: - locked - discussion: *738 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *743 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -128085,11 +128498,11 @@ webhooks: type: string enum: - pinned - discussion: *738 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *743 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -128171,11 +128584,11 @@ webhooks: type: string enum: - reopened - discussion: *738 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *743 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -128260,16 +128673,16 @@ webhooks: changes: type: object properties: - new_discussion: *738 - new_repository: *718 + new_discussion: *743 + new_repository: *723 required: - new_discussion - new_repository - discussion: *738 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *743 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -128352,10 +128765,10 @@ webhooks: type: string enum: - unanswered - discussion: *738 - old_answer: *740 - organization: *717 - repository: *718 + discussion: *743 + old_answer: *745 + organization: *722 + repository: *723 sender: *4 required: - action @@ -128437,12 +128850,12 @@ webhooks: type: string enum: - unlabeled - discussion: *738 - enterprise: *715 - installation: *716 - label: *741 - organization: *717 - repository: *718 + discussion: *743 + enterprise: *720 + installation: *721 + label: *746 + organization: *722 + repository: *723 sender: *4 required: - action @@ -128525,11 +128938,11 @@ webhooks: type: string enum: - unlocked - discussion: *738 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *743 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -128611,11 +129024,11 @@ webhooks: type: string enum: - unpinned - discussion: *738 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *743 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -128688,7 +129101,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *715 + enterprise: *720 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -129366,9 +129779,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *716 - organization: *717 - repository: *718 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - forkee @@ -129514,9 +129927,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 pages: description: The pages that were updated. type: array @@ -129554,7 +129967,7 @@ webhooks: - action - sha - html_url - repository: *718 + repository: *723 sender: *4 required: - pages @@ -129630,10 +130043,10 @@ webhooks: type: string enum: - created - enterprise: *715 + enterprise: *720 installation: *20 - organization: *717 - repositories: &743 + organization: *722 + repositories: &748 description: An array of repository objects that the installation can access. type: array @@ -129659,8 +130072,8 @@ webhooks: - name - full_name - private - repository: *718 - requester: *742 + repository: *723 + requester: *747 sender: *4 required: - action @@ -129735,11 +130148,11 @@ webhooks: type: string enum: - deleted - enterprise: *715 + enterprise: *720 installation: *20 - organization: *717 - repositories: *743 - repository: *718 + organization: *722 + repositories: *748 + repository: *723 requester: type: - 'null' @@ -129816,11 +130229,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *715 + enterprise: *720 installation: *20 - organization: *717 - repositories: *743 - repository: *718 + organization: *722 + repositories: *748 + repository: *723 requester: type: - 'null' @@ -129897,10 +130310,10 @@ webhooks: type: string enum: - added - enterprise: *715 + enterprise: *720 installation: *20 - organization: *717 - repositories_added: &744 + organization: *722 + repositories_added: &749 description: An array of repository objects, which were added to the installation. type: array @@ -129946,15 +130359,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *718 - repository_selection: &745 + repository: *723 + repository_selection: &750 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *742 + requester: *747 sender: *4 required: - action @@ -130033,10 +130446,10 @@ webhooks: type: string enum: - removed - enterprise: *715 + enterprise: *720 installation: *20 - organization: *717 - repositories_added: *744 + organization: *722 + repositories_added: *749 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -130063,9 +130476,9 @@ webhooks: - name - full_name - private - repository: *718 - repository_selection: *745 - requester: *742 + repository: *723 + repository_selection: *750 + requester: *747 sender: *4 required: - action @@ -130144,11 +130557,11 @@ webhooks: type: string enum: - suspend - enterprise: *715 + enterprise: *720 installation: *20 - organization: *717 - repositories: *743 - repository: *718 + organization: *722 + repositories: *748 + repository: *723 requester: type: - 'null' @@ -130331,10 +130744,10 @@ webhooks: type: string required: - from - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 target_type: type: string @@ -130413,11 +130826,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *715 + enterprise: *720 installation: *20 - organization: *717 - repositories: *743 - repository: *718 + organization: *722 + repositories: *748 + repository: *723 requester: type: - 'null' @@ -130665,8 +131078,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -131856,8 +132269,8 @@ webhooks: - state - locked - assignee - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -131937,7 +132350,7 @@ webhooks: type: string enum: - deleted - comment: &746 + comment: &751 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -132104,8 +132517,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -133293,8 +133706,8 @@ webhooks: - state - locked - assignee - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -133374,7 +133787,7 @@ webhooks: type: string enum: - edited - changes: &771 + changes: &776 description: The changes to the comment. type: object properties: @@ -133386,9 +133799,9 @@ webhooks: type: string required: - from - comment: *746 - enterprise: *715 - installation: *716 + comment: *751 + enterprise: *720 + installation: *721 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -134577,8 +134990,8 @@ webhooks: - state - locked - assignee - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -134660,10 +135073,10 @@ webhooks: type: string enum: - assigned - assignee: *742 - enterprise: *715 - installation: *716 - issue: &749 + assignee: *747 + enterprise: *720 + installation: *721 + issue: &754 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -135607,8 +136020,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -135688,8 +136101,8 @@ webhooks: type: string enum: - closed - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -136781,8 +137194,8 @@ webhooks: required: - state - closed_at - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -136861,8 +137274,8 @@ webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137799,8 +138212,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -137879,8 +138292,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -138821,7 +139234,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &747 + milestone: &752 title: Milestone description: A collection of related issues and pull requests. type: object @@ -138964,8 +139377,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -139064,8 +139477,8 @@ webhooks: type: string required: - from - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140009,9 +140422,9 @@ webhooks: - active_lock_reason - body - reactions - label: *741 - organization: *717 - repository: *718 + label: *746 + organization: *722 + repository: *723 sender: *4 required: - action @@ -140091,8 +140504,8 @@ webhooks: type: string enum: - labeled - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141035,9 +141448,9 @@ webhooks: - active_lock_reason - body - reactions - label: *741 - organization: *717 - repository: *718 + label: *746 + organization: *722 + repository: *723 sender: *4 required: - action @@ -141117,8 +141530,8 @@ webhooks: type: string enum: - locked - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142063,8 +142476,8 @@ webhooks: format: uri user_view_type: type: string - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -142143,8 +142556,8 @@ webhooks: type: string enum: - milestoned - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143083,9 +143496,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *747 - organization: *717 - repository: *718 + milestone: *752 + organization: *722 + repository: *723 sender: *4 required: - action @@ -144585,8 +144998,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -145529,8 +145942,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -145610,9 +146023,9 @@ webhooks: type: string enum: - pinned - enterprise: *715 - installation: *716 - issue: &748 + enterprise: *720 + installation: *721 + issue: &753 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -146549,8 +146962,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -146629,8 +147042,8 @@ webhooks: type: string enum: - reopened - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147574,8 +147987,8 @@ webhooks: format: uri user_view_type: type: string - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -149075,11 +149488,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *715 - installation: *716 - issue: *748 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + issue: *753 + organization: *722 + repository: *723 sender: *4 required: - action @@ -149160,7 +149573,7 @@ webhooks: type: string enum: - unassigned - assignee: &774 + assignee: &779 title: User type: - object @@ -149232,11 +149645,11 @@ webhooks: required: - login - id - enterprise: *715 - installation: *716 - issue: *749 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + issue: *754 + organization: *722 + repository: *723 sender: *4 required: - action @@ -149315,12 +149728,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *715 - installation: *716 - issue: *749 - label: *741 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + issue: *754 + label: *746 + organization: *722 + repository: *723 sender: *4 required: - action @@ -149400,8 +149813,8 @@ webhooks: type: string enum: - unlocked - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150344,8 +150757,8 @@ webhooks: format: uri user_view_type: type: string - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -150425,11 +150838,11 @@ webhooks: type: string enum: - unpinned - enterprise: *715 - installation: *716 - issue: *748 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + issue: *753 + organization: *722 + repository: *723 sender: *4 required: - action @@ -150508,11 +150921,11 @@ webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - label: *741 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + label: *746 + organization: *722 + repository: *723 sender: *4 required: - action @@ -150590,11 +151003,11 @@ webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - label: *741 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + label: *746 + organization: *722 + repository: *723 sender: *4 required: - action @@ -150704,11 +151117,11 @@ webhooks: type: string required: - from - enterprise: *715 - installation: *716 - label: *741 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + label: *746 + organization: *722 + repository: *723 sender: *4 required: - action @@ -150790,9 +151203,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *715 - installation: *716 - marketplace_purchase: &750 + enterprise: *720 + installation: *721 + marketplace_purchase: &755 title: Marketplace Purchase type: object required: @@ -150880,8 +151293,8 @@ webhooks: type: integer unit_count: type: integer - organization: *717 - previous_marketplace_purchase: &751 + organization: *722 + previous_marketplace_purchase: &756 title: Marketplace Purchase type: object properties: @@ -150965,7 +151378,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *718 + repository: *723 sender: *4 required: - action @@ -151045,10 +151458,10 @@ webhooks: - changed effective_date: type: string - enterprise: *715 - installation: *716 - marketplace_purchase: *750 - organization: *717 + enterprise: *720 + installation: *721 + marketplace_purchase: *755 + organization: *722 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -151136,7 +151549,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *718 + repository: *723 sender: *4 required: - action @@ -151218,10 +151631,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *715 - installation: *716 - marketplace_purchase: *750 - organization: *717 + enterprise: *720 + installation: *721 + marketplace_purchase: *755 + organization: *722 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -151307,7 +151720,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *718 + repository: *723 sender: *4 required: - action @@ -151388,8 +151801,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 marketplace_purchase: title: Marketplace Purchase type: object @@ -151475,9 +151888,9 @@ webhooks: type: integer unit_count: type: integer - organization: *717 - previous_marketplace_purchase: *751 - repository: *718 + organization: *722 + previous_marketplace_purchase: *756 + repository: *723 sender: *4 required: - action @@ -151557,12 +151970,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *715 - installation: *716 - marketplace_purchase: *750 - organization: *717 - previous_marketplace_purchase: *751 - repository: *718 + enterprise: *720 + installation: *721 + marketplace_purchase: *755 + organization: *722 + previous_marketplace_purchase: *756 + repository: *723 sender: *4 required: - action @@ -151664,11 +152077,11 @@ webhooks: type: string required: - to - enterprise: *715 - installation: *716 - member: *742 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + member: *747 + organization: *722 + repository: *723 sender: *4 required: - action @@ -151770,11 +152183,11 @@ webhooks: type: - string - 'null' - enterprise: *715 - installation: *716 - member: *742 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + member: *747 + organization: *722 + repository: *723 sender: *4 required: - action @@ -151853,11 +152266,11 @@ webhooks: type: string enum: - removed - enterprise: *715 - installation: *716 - member: *742 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + member: *747 + organization: *722 + repository: *723 sender: *4 required: - action @@ -151935,11 +152348,11 @@ webhooks: type: string enum: - added - enterprise: *715 - installation: *716 - member: *742 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + member: *747 + organization: *722 + repository: *723 scope: description: The scope of the membership. Currently, can only be `team`. @@ -152017,7 +152430,7 @@ webhooks: required: - login - id - team: &752 + team: &757 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -152210,11 +152623,11 @@ webhooks: type: string enum: - removed - enterprise: *715 - installation: *716 - member: *742 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + member: *747 + organization: *722 + repository: *723 scope: description: The scope of the membership. Currently, can only be `team`. @@ -152293,7 +152706,7 @@ webhooks: required: - login - id - team: *752 + team: *757 required: - action - scope @@ -152375,8 +152788,8 @@ webhooks: type: string enum: - checks_requested - installation: *716 - merge_group: &753 + installation: *721 + merge_group: &758 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -152395,15 +152808,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *426 + head_commit: *431 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -152489,10 +152902,10 @@ webhooks: - merged - invalidated - dequeued - installation: *716 - merge_group: *753 - organization: *717 - repository: *718 + installation: *721 + merge_group: *758 + organization: *722 + repository: *723 sender: *4 required: - action @@ -152565,7 +152978,7 @@ webhooks: type: string enum: - deleted - enterprise: *715 + enterprise: *720 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -152673,12 +153086,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *716 - organization: *717 + installation: *721 + organization: *722 repository: anyOf: - type: 'null' - - *718 + - *723 sender: *4 required: - action @@ -152758,11 +153171,11 @@ webhooks: type: string enum: - closed - enterprise: *715 - installation: *716 - milestone: *747 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + milestone: *752 + organization: *722 + repository: *723 sender: *4 required: - action @@ -152841,9 +153254,9 @@ webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - milestone: &754 + enterprise: *720 + installation: *721 + milestone: &759 title: Milestone description: A collection of related issues and pull requests. type: object @@ -152985,8 +153398,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -153065,11 +153478,11 @@ webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - milestone: *747 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + milestone: *752 + organization: *722 + repository: *723 sender: *4 required: - action @@ -153179,11 +153592,11 @@ webhooks: type: string required: - from - enterprise: *715 - installation: *716 - milestone: *747 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + milestone: *752 + organization: *722 + repository: *723 sender: *4 required: - action @@ -153263,11 +153676,11 @@ webhooks: type: string enum: - opened - enterprise: *715 - installation: *716 - milestone: *754 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + milestone: *759 + organization: *722 + repository: *723 sender: *4 required: - action @@ -153346,11 +153759,11 @@ webhooks: type: string enum: - blocked - blocked_user: *742 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + blocked_user: *747 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -153429,11 +153842,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *742 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + blocked_user: *747 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -153512,9 +153925,9 @@ webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - membership: &755 + enterprise: *720 + installation: *721 + membership: &760 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -153608,8 +154021,8 @@ webhooks: - role - organization_url - user - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 required: - action @@ -153687,11 +154100,11 @@ webhooks: type: string enum: - member_added - enterprise: *715 - installation: *716 - membership: *755 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + membership: *760 + organization: *722 + repository: *723 sender: *4 required: - action @@ -153770,8 +154183,8 @@ webhooks: type: string enum: - member_invited - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -153893,10 +154306,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 - user: *742 + user: *747 required: - action - invitation @@ -153974,11 +154387,11 @@ webhooks: type: string enum: - member_removed - enterprise: *715 - installation: *716 - membership: *755 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + membership: *760 + organization: *722 + repository: *723 sender: *4 required: - action @@ -154065,11 +154478,11 @@ webhooks: properties: from: type: string - enterprise: *715 - installation: *716 - membership: *755 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + membership: *760 + organization: *722 + repository: *723 sender: *4 required: - action @@ -154145,9 +154558,9 @@ webhooks: type: string enum: - published - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 package: description: Information about the package. type: object @@ -154670,7 +155083,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &756 + items: &761 title: Ruby Gems metadata type: object properties: @@ -154767,7 +155180,7 @@ webhooks: - owner - package_version - registry - repository: *718 + repository: *723 sender: *4 required: - action @@ -154843,9 +155256,9 @@ webhooks: type: string enum: - updated - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 package: description: Information about the package. type: object @@ -155207,7 +155620,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *756 + items: *761 source_url: type: string format: uri @@ -155278,7 +155691,7 @@ webhooks: - owner - package_version - registry - repository: *718 + repository: *723 sender: *4 required: - action @@ -155459,12 +155872,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *715 + enterprise: *720 id: type: integer - installation: *716 - organization: *717 - repository: *718 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - id @@ -155544,7 +155957,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &757 + personal_access_token_request: &762 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -155694,10 +156107,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *715 - organization: *717 + enterprise: *720 + organization: *722 sender: *4 - installation: *716 + installation: *721 required: - action - personal_access_token_request @@ -155776,11 +156189,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *757 - enterprise: *715 - organization: *717 + personal_access_token_request: *762 + enterprise: *720 + organization: *722 sender: *4 - installation: *716 + installation: *721 required: - action - personal_access_token_request @@ -155858,11 +156271,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *757 - enterprise: *715 - organization: *717 + personal_access_token_request: *762 + enterprise: *720 + organization: *722 sender: *4 - installation: *716 + installation: *721 required: - action - personal_access_token_request @@ -155939,11 +156352,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *757 - organization: *717 - enterprise: *715 + personal_access_token_request: *762 + organization: *722 + enterprise: *720 sender: *4 - installation: *716 + installation: *721 required: - action - personal_access_token_request @@ -156047,7 +156460,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *758 + last_response: *763 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -156079,8 +156492,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 zen: description: Random string of GitHub zen. @@ -156325,10 +156738,10 @@ webhooks: - from required: - note - enterprise: *715 - installation: *716 - organization: *717 - project_card: &759 + enterprise: *720 + installation: *721 + organization: *722 + project_card: &764 title: Project Card type: object properties: @@ -156451,7 +156864,7 @@ webhooks: - creator - created_at - updated_at - repository: *718 + repository: *723 sender: *4 required: - action @@ -156532,11 +156945,11 @@ webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - project_card: *759 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + project_card: *764 + repository: *723 sender: *4 required: - action @@ -156616,9 +157029,9 @@ webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 project_card: title: Project Card type: object @@ -156748,7 +157161,7 @@ webhooks: repository: anyOf: - type: 'null' - - *718 + - *723 sender: *4 required: - action @@ -156842,11 +157255,11 @@ webhooks: - from required: - note - enterprise: *715 - installation: *716 - organization: *717 - project_card: *759 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + project_card: *764 + repository: *723 sender: *4 required: - action @@ -156940,9 +157353,9 @@ webhooks: - from required: - column_id - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 project_card: allOf: - title: Project Card @@ -157139,7 +157552,7 @@ webhooks: type: string required: - after_id - repository: *718 + repository: *723 sender: *4 required: - action @@ -157219,10 +157632,10 @@ webhooks: type: string enum: - closed - enterprise: *715 - installation: *716 - organization: *717 - project: &761 + enterprise: *720 + installation: *721 + organization: *722 + project: &766 title: Project type: object properties: @@ -157349,7 +157762,7 @@ webhooks: - creator - created_at - updated_at - repository: *718 + repository: *723 sender: *4 required: - action @@ -157429,10 +157842,10 @@ webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - project_column: &760 + enterprise: *720 + installation: *721 + organization: *722 + project_column: &765 title: Project Column type: object properties: @@ -157472,7 +157885,7 @@ webhooks: - name - created_at - updated_at - repository: *718 + repository: *723 sender: *4 required: - action @@ -157551,14 +157964,14 @@ webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 - project_column: *760 + enterprise: *720 + installation: *721 + organization: *722 + project_column: *765 repository: anyOf: - type: 'null' - - *718 + - *723 sender: *4 required: - action @@ -157647,11 +158060,11 @@ webhooks: type: string required: - from - enterprise: *715 - installation: *716 - organization: *717 - project_column: *760 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + project_column: *765 + repository: *723 sender: *4 required: - action @@ -157731,11 +158144,11 @@ webhooks: type: string enum: - moved - enterprise: *715 - installation: *716 - organization: *717 - project_column: *760 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + project_column: *765 + repository: *723 sender: *4 required: - action @@ -157815,11 +158228,11 @@ webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - project: *761 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + project: *766 + repository: *723 sender: *4 required: - action @@ -157899,14 +158312,14 @@ webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 - project: *761 + enterprise: *720 + installation: *721 + organization: *722 + project: *766 repository: anyOf: - type: 'null' - - *718 + - *723 sender: *4 required: - action @@ -158007,11 +158420,11 @@ webhooks: type: string required: - from - enterprise: *715 - installation: *716 - organization: *717 - project: *761 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + project: *766 + repository: *723 sender: *4 required: - action @@ -158090,11 +158503,11 @@ webhooks: type: string enum: - reopened - enterprise: *715 - installation: *716 - organization: *717 - project: *761 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + project: *766 + repository: *723 sender: *4 required: - action @@ -158175,9 +158588,9 @@ webhooks: type: string enum: - closed - installation: *716 - organization: *717 - projects_v2: &762 + installation: *721 + organization: *722 + projects_v2: &767 title: Projects v2 Project description: A projects v2 project type: object @@ -158325,9 +158738,9 @@ webhooks: type: string enum: - created - installation: *716 - organization: *717 - projects_v2: *762 + installation: *721 + organization: *722 + projects_v2: *767 sender: *4 required: - action @@ -158408,9 +158821,9 @@ webhooks: type: string enum: - deleted - installation: *716 - organization: *717 - projects_v2: *762 + installation: *721 + organization: *722 + projects_v2: *767 sender: *4 required: - action @@ -158531,9 +158944,9 @@ webhooks: type: string to: type: string - installation: *716 - organization: *717 - projects_v2: *762 + installation: *721 + organization: *722 + projects_v2: *767 sender: *4 required: - action @@ -158616,7 +159029,7 @@ webhooks: type: string enum: - archived - changes: &766 + changes: &771 type: object properties: archived_at: @@ -158632,9 +159045,9 @@ webhooks: - string - 'null' format: date-time - installation: *716 - organization: *717 - projects_v2_item: &763 + installation: *721 + organization: *722 + projects_v2_item: &768 title: Projects v2 Item description: An item belonging to a project type: object @@ -158773,9 +159186,9 @@ webhooks: - 'null' to: type: string - installation: *716 - organization: *717 - projects_v2_item: *763 + installation: *721 + organization: *722 + projects_v2_item: *768 sender: *4 required: - action @@ -158857,9 +159270,9 @@ webhooks: type: string enum: - created - installation: *716 - organization: *717 - projects_v2_item: *763 + installation: *721 + organization: *722 + projects_v2_item: *768 sender: *4 required: - action @@ -158940,9 +159353,9 @@ webhooks: type: string enum: - deleted - installation: *716 - organization: *717 - projects_v2_item: *763 + installation: *721 + organization: *722 + projects_v2_item: *768 sender: *4 required: - action @@ -159047,7 +159460,7 @@ webhooks: oneOf: - type: string - type: integer - - &764 + - &769 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -159067,7 +159480,7 @@ webhooks: required: - id - name - - &765 + - &770 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -159096,8 +159509,8 @@ webhooks: oneOf: - type: string - type: integer - - *764 - - *765 + - *769 + - *770 type: - 'null' - string @@ -159120,9 +159533,9 @@ webhooks: - 'null' required: - body - installation: *716 - organization: *717 - projects_v2_item: *763 + installation: *721 + organization: *722 + projects_v2_item: *768 sender: *4 required: - action @@ -159219,9 +159632,9 @@ webhooks: type: - string - 'null' - installation: *716 - organization: *717 - projects_v2_item: *763 + installation: *721 + organization: *722 + projects_v2_item: *768 sender: *4 required: - action @@ -159304,10 +159717,10 @@ webhooks: type: string enum: - restored - changes: *766 - installation: *716 - organization: *717 - projects_v2_item: *763 + changes: *771 + installation: *721 + organization: *722 + projects_v2_item: *768 sender: *4 required: - action @@ -159389,9 +159802,9 @@ webhooks: type: string enum: - reopened - installation: *716 - organization: *717 - projects_v2: *762 + installation: *721 + organization: *722 + projects_v2: *767 sender: *4 required: - action @@ -159472,9 +159885,9 @@ webhooks: type: string enum: - created - installation: *716 - organization: *717 - projects_v2_status_update: &767 + installation: *721 + organization: *722 + projects_v2_status_update: &772 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -159609,9 +160022,9 @@ webhooks: type: string enum: - deleted - installation: *716 - organization: *717 - projects_v2_status_update: *767 + installation: *721 + organization: *722 + projects_v2_status_update: *772 sender: *4 required: - action @@ -159757,9 +160170,9 @@ webhooks: - string - 'null' format: date - installation: *716 - organization: *717 - projects_v2_status_update: *767 + installation: *721 + organization: *722 + projects_v2_status_update: *772 sender: *4 required: - action @@ -159830,10 +160243,10 @@ webhooks: title: public event type: object properties: - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - repository @@ -159910,13 +160323,13 @@ webhooks: type: string enum: - assigned - assignee: *742 - enterprise: *715 - installation: *716 - number: &768 + assignee: *747 + enterprise: *720 + installation: *721 + number: &773 description: The pull request number. type: integer - organization: *717 + organization: *722 pull_request: title: Pull Request type: object @@ -162265,7 +162678,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *723 sender: *4 required: - action @@ -162347,11 +162760,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 number: type: integer - organization: *717 + organization: *722 pull_request: title: Pull Request type: object @@ -164693,7 +165106,7 @@ webhooks: - draft reason: type: string - repository: *718 + repository: *723 sender: *4 required: - action @@ -164775,11 +165188,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 number: type: integer - organization: *717 + organization: *722 pull_request: title: Pull Request type: object @@ -167121,7 +167534,7 @@ webhooks: - draft reason: type: string - repository: *718 + repository: *723 sender: *4 required: - action @@ -167203,13 +167616,13 @@ webhooks: type: string enum: - closed - enterprise: *715 - installation: *716 - number: *768 - organization: *717 - pull_request: &769 + enterprise: *720 + installation: *721 + number: *773 + organization: *722 + pull_request: &774 allOf: - - *574 + - *579 - type: object properties: allow_auto_merge: @@ -167271,7 +167684,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *718 + repository: *723 sender: *4 required: - action @@ -167352,12 +167765,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *715 - installation: *716 - number: *768 - organization: *717 - pull_request: *769 - repository: *718 + enterprise: *720 + installation: *721 + number: *773 + organization: *722 + pull_request: *774 + repository: *723 sender: *4 required: - action @@ -167437,11 +167850,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *715 - milestone: *472 - number: *768 - organization: *717 - pull_request: &770 + enterprise: *720 + milestone: *477 + number: *773 + organization: *722 + pull_request: &775 title: Pull Request type: object properties: @@ -169768,7 +170181,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *723 sender: *4 required: - action @@ -169847,11 +170260,11 @@ webhooks: type: string enum: - dequeued - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 number: type: integer - organization: *717 + organization: *722 pull_request: title: Pull Request type: object @@ -172197,7 +172610,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *718 + repository: *723 sender: *4 required: - action @@ -172321,12 +172734,12 @@ webhooks: type: string required: - from - enterprise: *715 - installation: *716 - number: *768 - organization: *717 - pull_request: *769 - repository: *718 + enterprise: *720 + installation: *721 + number: *773 + organization: *722 + pull_request: *774 + repository: *723 sender: *4 required: - action @@ -172406,11 +172819,11 @@ webhooks: type: string enum: - enqueued - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 number: type: integer - organization: *717 + organization: *722 pull_request: title: Pull Request type: object @@ -174741,7 +175154,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *723 sender: *4 required: - action @@ -174821,11 +175234,11 @@ webhooks: type: string enum: - labeled - enterprise: *715 - installation: *716 - label: *741 - number: *768 - organization: *717 + enterprise: *720 + installation: *721 + label: *746 + number: *773 + organization: *722 pull_request: title: Pull Request type: object @@ -177173,7 +177586,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *723 sender: *4 required: - action @@ -177254,10 +177667,10 @@ webhooks: type: string enum: - locked - enterprise: *715 - installation: *716 - number: *768 - organization: *717 + enterprise: *720 + installation: *721 + number: *773 + organization: *722 pull_request: title: Pull Request type: object @@ -179603,7 +180016,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *723 sender: *4 required: - action @@ -179683,12 +180096,12 @@ webhooks: type: string enum: - milestoned - enterprise: *715 - milestone: *472 - number: *768 - organization: *717 - pull_request: *770 - repository: *718 + enterprise: *720 + milestone: *477 + number: *773 + organization: *722 + pull_request: *775 + repository: *723 sender: *4 required: - action @@ -179767,12 +180180,12 @@ webhooks: type: string enum: - opened - enterprise: *715 - installation: *716 - number: *768 - organization: *717 - pull_request: *769 - repository: *718 + enterprise: *720 + installation: *721 + number: *773 + organization: *722 + pull_request: *774 + repository: *723 sender: *4 required: - action @@ -179853,12 +180266,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *715 - installation: *716 - number: *768 - organization: *717 - pull_request: *769 - repository: *718 + enterprise: *720 + installation: *721 + number: *773 + organization: *722 + pull_request: *774 + repository: *723 sender: *4 required: - action @@ -179938,12 +180351,12 @@ webhooks: type: string enum: - reopened - enterprise: *715 - installation: *716 - number: *768 - organization: *717 - pull_request: *769 - repository: *718 + enterprise: *720 + installation: *721 + number: *773 + organization: *722 + pull_request: *774 + repository: *723 sender: *4 required: - action @@ -180318,9 +180731,9 @@ webhooks: - start_side - side - reactions - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 pull_request: type: object properties: @@ -182550,7 +182963,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *718 + repository: *723 sender: *4 required: - action @@ -182630,7 +183043,7 @@ webhooks: type: string enum: - deleted - comment: &772 + comment: &777 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -182923,9 +183336,9 @@ webhooks: - start_side - side - reactions - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 pull_request: type: object properties: @@ -185143,7 +185556,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *718 + repository: *723 sender: *4 required: - action @@ -185223,11 +185636,11 @@ webhooks: type: string enum: - edited - changes: *771 - comment: *772 - enterprise: *715 - installation: *716 - organization: *717 + changes: *776 + comment: *777 + enterprise: *720 + installation: *721 + organization: *722 pull_request: type: object properties: @@ -187448,7 +187861,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *718 + repository: *723 sender: *4 required: - action @@ -187529,9 +187942,9 @@ webhooks: type: string enum: - dismissed - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 pull_request: title: Simple Pull Request type: object @@ -189764,7 +190177,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *718 + repository: *723 review: description: The review that was affected. type: object @@ -190010,9 +190423,9 @@ webhooks: type: string required: - from - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 pull_request: title: Simple Pull Request type: object @@ -192126,8 +192539,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *718 - review: &773 + repository: *723 + review: &778 description: The review that was affected. type: object properties: @@ -192360,12 +192773,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 number: description: The pull request number. type: integer - organization: *717 + organization: *722 pull_request: title: Pull Request type: object @@ -194712,7 +195125,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *723 requested_reviewer: title: User type: @@ -194798,12 +195211,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 number: description: The pull request number. type: integer - organization: *717 + organization: *722 pull_request: title: Pull Request type: object @@ -197157,7 +197570,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *723 requested_team: title: Team description: Groups of organization members that gives permissions @@ -197352,12 +197765,12 @@ webhooks: type: string enum: - review_requested - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 number: description: The pull request number. type: integer - organization: *717 + organization: *722 pull_request: title: Pull Request type: object @@ -199706,7 +200119,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *723 requested_reviewer: title: User type: @@ -199793,12 +200206,12 @@ webhooks: type: string enum: - review_requested - enterprise: *715 - installation: *716 + enterprise: *720 + installation: *721 number: description: The pull request number. type: integer - organization: *717 + organization: *722 pull_request: title: Pull Request type: object @@ -202138,7 +202551,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *723 requested_team: title: Team description: Groups of organization members that gives permissions @@ -202322,9 +202735,9 @@ webhooks: type: string enum: - submitted - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 pull_request: title: Simple Pull Request type: object @@ -204560,8 +204973,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *718 - review: *773 + repository: *723 + review: *778 sender: *4 required: - action @@ -204641,9 +205054,9 @@ webhooks: type: string enum: - resolved - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 pull_request: title: Simple Pull Request type: object @@ -206774,7 +207187,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *718 + repository: *723 sender: *4 thread: type: object @@ -207166,9 +207579,9 @@ webhooks: type: string enum: - unresolved - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 pull_request: title: Simple Pull Request type: object @@ -209282,7 +209695,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *718 + repository: *723 sender: *4 thread: type: object @@ -209676,10 +210089,10 @@ webhooks: type: string before: type: string - enterprise: *715 - installation: *716 - number: *768 - organization: *717 + enterprise: *720 + installation: *721 + number: *773 + organization: *722 pull_request: title: Pull Request type: object @@ -212014,7 +212427,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *723 sender: *4 required: - action @@ -212096,11 +212509,11 @@ webhooks: type: string enum: - unassigned - assignee: *774 - enterprise: *715 - installation: *716 - number: *768 - organization: *717 + assignee: *779 + enterprise: *720 + installation: *721 + number: *773 + organization: *722 pull_request: title: Pull Request type: object @@ -214450,7 +214863,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *723 sender: *4 required: - action @@ -214529,11 +214942,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *715 - installation: *716 - label: *741 - number: *768 - organization: *717 + enterprise: *720 + installation: *721 + label: *746 + number: *773 + organization: *722 pull_request: title: Pull Request type: object @@ -216872,7 +217285,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *723 sender: *4 required: - action @@ -216953,10 +217366,10 @@ webhooks: type: string enum: - unlocked - enterprise: *715 - installation: *716 - number: *768 - organization: *717 + enterprise: *720 + installation: *721 + number: *773 + organization: *722 pull_request: title: Pull Request type: object @@ -219285,7 +219698,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *723 sender: *4 required: - action @@ -219488,7 +219901,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *715 + enterprise: *720 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -219583,8 +219996,8 @@ webhooks: - url - author - committer - installation: *716 - organization: *717 + installation: *721 + organization: *722 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -220172,9 +220585,9 @@ webhooks: type: string enum: - published - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 registry_package: type: object properties: @@ -220651,7 +221064,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *756 + items: *761 summary: type: string tag_name: @@ -220707,7 +221120,7 @@ webhooks: - owner - package_version - registry - repository: *718 + repository: *723 sender: *4 required: - action @@ -220785,9 +221198,9 @@ webhooks: type: string enum: - updated - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 registry_package: type: object properties: @@ -221099,7 +221512,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *756 + items: *761 summary: type: string tag_name: @@ -221149,7 +221562,7 @@ webhooks: - owner - package_version - registry - repository: *718 + repository: *723 sender: *4 required: - action @@ -221226,10 +221639,10 @@ webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - release: &775 + enterprise: *720 + installation: *721 + organization: *722 + release: &780 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -221545,7 +221958,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *718 + repository: *723 sender: *4 required: - action @@ -221622,11 +222035,11 @@ webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 - release: *775 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + release: *780 + repository: *723 sender: *4 required: - action @@ -221734,11 +222147,11 @@ webhooks: type: boolean required: - to - enterprise: *715 - installation: *716 - organization: *717 - release: *775 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + release: *780 + repository: *723 sender: *4 required: - action @@ -221816,9 +222229,9 @@ webhooks: type: string enum: - prereleased - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -222139,7 +222552,7 @@ webhooks: - string - 'null' format: uri - repository: *718 + repository: *723 sender: *4 required: - action @@ -222215,10 +222628,10 @@ webhooks: type: string enum: - published - enterprise: *715 - installation: *716 - organization: *717 - release: &776 + enterprise: *720 + installation: *721 + organization: *722 + release: &781 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -222536,7 +222949,7 @@ webhooks: - string - 'null' format: uri - repository: *718 + repository: *723 sender: *4 required: - action @@ -222612,11 +223025,11 @@ webhooks: type: string enum: - released - enterprise: *715 - installation: *716 - organization: *717 - release: *775 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + release: *780 + repository: *723 sender: *4 required: - action @@ -222692,11 +223105,11 @@ webhooks: type: string enum: - unpublished - enterprise: *715 - installation: *716 - organization: *717 - release: *776 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + release: *781 + repository: *723 sender: *4 required: - action @@ -222772,11 +223185,11 @@ webhooks: type: string enum: - published - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - repository_advisory: *627 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + repository_advisory: *632 sender: *4 required: - action @@ -222852,11 +223265,11 @@ webhooks: type: string enum: - reported - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - repository_advisory: *627 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + repository_advisory: *632 sender: *4 required: - action @@ -222932,10 +223345,10 @@ webhooks: type: string enum: - archived - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -223012,10 +223425,10 @@ webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -223093,10 +223506,10 @@ webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -223181,10 +223594,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -223299,10 +223712,10 @@ webhooks: - 'null' items: type: string - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -223374,10 +223787,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 status: type: string @@ -223458,10 +223871,10 @@ webhooks: type: string enum: - privatized - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -223538,10 +223951,10 @@ webhooks: type: string enum: - publicized - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -223635,10 +224048,10 @@ webhooks: - name required: - repository - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -223718,11 +224131,11 @@ webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - repository_ruleset: *122 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + repository_ruleset: *124 sender: *4 required: - action @@ -223800,11 +224213,11 @@ webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - repository_ruleset: *122 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + repository_ruleset: *124 sender: *4 required: - action @@ -223882,11 +224295,11 @@ webhooks: type: string enum: - edited - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - repository_ruleset: *122 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + repository_ruleset: *124 changes: type: object properties: @@ -223905,16 +224318,16 @@ webhooks: properties: added: type: array - items: *115 + items: *117 deleted: type: array - items: *115 + items: *117 updated: type: array items: type: object properties: - condition: *115 + condition: *117 changes: type: object properties: @@ -223947,16 +224360,16 @@ webhooks: properties: added: type: array - items: *121 + items: *123 deleted: type: array - items: *121 + items: *123 updated: type: array items: type: object properties: - rule: *121 + rule: *123 changes: type: object properties: @@ -224193,10 +224606,10 @@ webhooks: - from required: - owner - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -224274,10 +224687,10 @@ webhooks: type: string enum: - unarchived - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -224355,7 +224768,7 @@ webhooks: type: string enum: - create - alert: &777 + alert: &782 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -224479,10 +224892,10 @@ webhooks: type: string enum: - open - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -224692,10 +225105,10 @@ webhooks: type: string enum: - dismissed - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -224773,11 +225186,11 @@ webhooks: type: string enum: - reopen - alert: *777 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + alert: *782 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -224979,10 +225392,10 @@ webhooks: enum: - fixed - open - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -225060,17 +225473,17 @@ webhooks: type: string enum: - created - alert: &778 + alert: &783 type: object properties: - number: *94 - created_at: *101 + number: *96 + created_at: *103 updated_at: anyOf: - type: 'null' - - *102 - url: *99 - html_url: *100 + - *104 + url: *101 + html_url: *102 locations_url: type: string format: uri @@ -225170,10 +225583,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -225254,11 +225667,11 @@ webhooks: type: string enum: - created - alert: *778 - installation: *716 - location: *779 - organization: *717 - repository: *718 + alert: *783 + installation: *721 + location: *784 + organization: *722 + repository: *723 sender: *4 required: - location @@ -225496,11 +225909,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *778 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + alert: *783 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -225578,11 +225991,11 @@ webhooks: type: string enum: - reopened - alert: *778 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + alert: *783 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -225660,11 +226073,11 @@ webhooks: type: string enum: - resolved - alert: *778 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + alert: *783 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -225742,11 +226155,11 @@ webhooks: type: string enum: - validated - alert: *778 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + alert: *783 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -225876,10 +226289,10 @@ webhooks: - organization - enterprise - - repository: *718 - enterprise: *715 - installation: *716 - organization: *717 + repository: *723 + enterprise: *720 + installation: *721 + organization: *722 sender: *4 required: - action @@ -225957,11 +226370,11 @@ webhooks: type: string enum: - published - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - security_advisory: &780 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + security_advisory: &785 description: The details of the security advisory, including summary, description, and severity. type: object @@ -225978,7 +226391,7 @@ webhooks: required: - vector_string - score - cvss_severities: *96 + cvss_severities: *98 cwes: type: array items: @@ -226147,11 +226560,11 @@ webhooks: type: string enum: - updated - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - security_advisory: *780 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 + security_advisory: *785 sender: *4 required: - action @@ -226224,10 +226637,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -226245,7 +226658,7 @@ webhooks: required: - vector_string - score - cvss_severities: *96 + cvss_severities: *98 cwes: type: array items: @@ -226413,11 +226826,11 @@ webhooks: from: type: object properties: - security_and_analysis: *305 - enterprise: *715 - installation: *716 - organization: *717 - repository: *365 + security_and_analysis: *308 + enterprise: *720 + installation: *721 + organization: *722 + repository: *370 sender: *4 required: - changes @@ -226495,12 +226908,12 @@ webhooks: type: string enum: - cancelled - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 - sponsorship: &781 + sponsorship: &786 type: object properties: created_at: @@ -226805,12 +227218,12 @@ webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 - sponsorship: *781 + sponsorship: *786 required: - action - sponsorship @@ -226898,12 +227311,12 @@ webhooks: type: string required: - from - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 - sponsorship: *781 + sponsorship: *786 required: - action - changes @@ -226980,17 +227393,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &782 + effective_date: &787 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 - sponsorship: *781 + sponsorship: *786 required: - action - sponsorship @@ -227064,7 +227477,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &783 + changes: &788 type: object properties: tier: @@ -227108,13 +227521,13 @@ webhooks: - from required: - tier - effective_date: *782 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + effective_date: *787 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 - sponsorship: *781 + sponsorship: *786 required: - action - changes @@ -227191,13 +227604,13 @@ webhooks: type: string enum: - tier_changed - changes: *783 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + changes: *788 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 - sponsorship: *781 + sponsorship: *786 required: - action - changes @@ -227271,10 +227684,10 @@ webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -227358,10 +227771,10 @@ webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -227795,15 +228208,15 @@ webhooks: type: - string - 'null' - enterprise: *715 + enterprise: *720 id: description: The unique identifier of the status. type: integer - installation: *716 + installation: *721 name: type: string - organization: *717 - repository: *718 + organization: *722 + repository: *723 sender: *4 sha: description: The Commit SHA. @@ -227913,15 +228326,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *145 + parent_issue: *148 parent_issue_repo: *61 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *145 - installation: *716 - organization: *717 - repository: *718 + sub_issue: *148 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -228005,15 +228418,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *145 + parent_issue: *148 parent_issue_repo: *61 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *145 - installation: *716 - organization: *717 - repository: *718 + sub_issue: *148 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -228097,15 +228510,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *145 + sub_issue: *148 sub_issue_repo: *61 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *145 - installation: *716 - organization: *717 - repository: *718 + parent_issue: *148 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -228189,15 +228602,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *145 + sub_issue: *148 sub_issue_repo: *61 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *145 - installation: *716 - organization: *717 - repository: *718 + parent_issue: *148 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -228274,12 +228687,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 - team: &784 + team: &789 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -228472,9 +228885,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 repository: title: Repository description: A git repository @@ -228944,7 +229357,7 @@ webhooks: - topics - visibility sender: *4 - team: *784 + team: *789 required: - action - team @@ -229020,9 +229433,9 @@ webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 repository: title: Repository description: A git repository @@ -229492,7 +229905,7 @@ webhooks: - topics - visibility sender: *4 - team: *784 + team: *789 required: - action - team @@ -229569,9 +229982,9 @@ webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 repository: title: Repository description: A git repository @@ -230041,7 +230454,7 @@ webhooks: - topics - visibility sender: *4 - team: *784 + team: *789 required: - action - team @@ -230185,9 +230598,9 @@ webhooks: - from required: - permissions - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 repository: title: Repository description: A git repository @@ -230657,7 +231070,7 @@ webhooks: - topics - visibility sender: *4 - team: *784 + team: *789 required: - action - changes @@ -230735,9 +231148,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *720 + installation: *721 + organization: *722 repository: title: Repository description: A git repository @@ -231207,7 +231620,7 @@ webhooks: - topics - visibility sender: *4 - team: *784 + team: *789 required: - action - team @@ -231283,10 +231696,10 @@ webhooks: type: string enum: - started - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 required: - action @@ -231359,17 +231772,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *715 + enterprise: *720 inputs: type: - object - 'null' additionalProperties: true - installation: *716 - organization: *717 + installation: *721 + organization: *722 ref: type: string - repository: *718 + repository: *723 sender: *4 workflow: type: string @@ -231451,10 +231864,10 @@ webhooks: type: string enum: - completed - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 workflow_job: allOf: @@ -231710,7 +232123,7 @@ webhooks: type: string required: - conclusion - deployment: *492 + deployment: *497 required: - action - repository @@ -231789,10 +232202,10 @@ webhooks: type: string enum: - in_progress - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 workflow_job: allOf: @@ -232074,7 +232487,7 @@ webhooks: required: - status - steps - deployment: *492 + deployment: *497 required: - action - repository @@ -232153,10 +232566,10 @@ webhooks: type: string enum: - queued - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 workflow_job: type: object @@ -232302,7 +232715,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *492 + deployment: *497 required: - action - repository @@ -232381,10 +232794,10 @@ webhooks: type: string enum: - waiting - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 workflow_job: type: object @@ -232531,7 +232944,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *492 + deployment: *497 required: - action - repository @@ -232611,12 +233024,12 @@ webhooks: type: string enum: - completed - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 - workflow: *737 + workflow: *742 workflow_run: title: Workflow Run type: object @@ -233635,12 +234048,12 @@ webhooks: type: string enum: - in_progress - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 - workflow: *737 + workflow: *742 workflow_run: title: Workflow Run type: object @@ -234644,12 +235057,12 @@ webhooks: type: string enum: - requested - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *720 + installation: *721 + organization: *722 + repository: *723 sender: *4 - workflow: *737 + workflow: *742 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index 217351c38..db3636de1 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -5097,6 +5097,9 @@ { "$ref": "#/components/schemas/splunk-config" }, + { + "$ref": "#/components/schemas/hec-config" + }, { "$ref": "#/components/schemas/google-cloud-config" }, @@ -5250,6 +5253,9 @@ { "$ref": "#/components/schemas/splunk-config" }, + { + "$ref": "#/components/schemas/hec-config" + }, { "$ref": "#/components/schemas/google-cloud-config" }, @@ -8076,6 +8082,138 @@ } } }, + "/enterprises/{enterprise}/rulesets/{ruleset_id}/history": { + "get": { + "summary": "Get enterprise ruleset history", + "description": "Get the history of an enterprise ruleset.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-enterprise-ruleset-history", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-enterprise-ruleset-history" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ruleset-version" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/ruleset-history" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "rules" + } + } + }, + "/enterprises/{enterprise}/rulesets/{ruleset_id}/history/{version_id}": { + "get": { + "summary": "Get enterprise ruleset version", + "description": "Get a version of an enterprise ruleset.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-enterprise-ruleset-version", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-enterprise-ruleset-version" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version_id", + "description": "The ID of the version", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ruleset-version-with-state" + }, + "examples": { + "default": { + "$ref": "#/components/examples/enterprise-ruleset-version-with-state" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "rules" + } + } + }, "/enterprises/{enterprise}/secret-scanning/alerts": { "get": { "summary": "List secret scanning alerts for an enterprise", @@ -28121,6 +28259,138 @@ } } }, + "/orgs/{org}/rulesets/{ruleset_id}/history": { + "get": { + "summary": "Get organization ruleset history", + "description": "Get the history of an organization ruleset.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-org-ruleset-history", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-history" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ruleset-version" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/ruleset-history" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "rules" + } + } + }, + "/orgs/{org}/rulesets/{ruleset_id}/history/{version_id}": { + "get": { + "summary": "Get organization ruleset version", + "description": "Get a version of an organization ruleset.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-org-ruleset-version", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-version" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version_id", + "description": "The ID of the version", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ruleset-version-with-state" + }, + "examples": { + "default": { + "$ref": "#/components/examples/org-ruleset-version-with-state" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "rules" + } + } + }, "/orgs/{org}/secret-scanning/alerts": { "get": { "summary": "List secret scanning alerts for an organization", @@ -37028,7 +37298,7 @@ "/repos/{owner}/{repo}/actions/runs/{run_id}/timing": { "get": { "summary": "Get workflow run usage", - "description": "Gets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub Enterprise Cloud-hosted runners. Usage is listed for each GitHub Enterprise Cloud-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "description": "> [!WARNING] \n> This endpoint is in the process of closing down. Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" for more information.\n\nGets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub Enterprise Cloud-hosted runners. Usage is listed for each GitHub Enterprise Cloud-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ "actions" ], @@ -38007,7 +38277,7 @@ "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": { "get": { "summary": "Get workflow usage", - "description": "Gets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub Enterprise Cloud-hosted runners. Usage is listed for each GitHub Enterprise Cloud-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "description": "> [!WARNING] \n> This endpoint is in the process of closing down. Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" for more information.\n\nGets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub Enterprise Cloud-hosted runners. Usage is listed for each GitHub Enterprise Cloud-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ "actions" ], @@ -56227,7 +56497,7 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "reactions", "subcategory": "reactions" } @@ -64015,6 +64285,144 @@ } } }, + "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": { + "get": { + "summary": "Get repository ruleset history", + "description": "Get the history of a repository ruleset.", + "tags": [ + "repos" + ], + "operationId": "repos/get-repo-ruleset-history", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ruleset-version" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/ruleset-history" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "rules" + } + } + }, + "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}": { + "get": { + "summary": "Get repository ruleset version", + "description": "Get a version of a repository ruleset.", + "tags": [ + "repos" + ], + "operationId": "repos/get-repo-ruleset-version", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version_id", + "description": "The ID of the version", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ruleset-version-with-state" + }, + "examples": { + "default": { + "$ref": "#/components/examples/repository-ruleset-version-with-state" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "rules" + } + } + }, "/repos/{owner}/{repo}/secret-scanning/alerts": { "get": { "summary": "List secret scanning alerts for a repository", @@ -109398,6 +109806,9 @@ }, "expires_at": { "$ref": "#/components/schemas/announcement-expiration" + }, + "user_dismissible": { + "$ref": "#/components/schemas/announcement-user-dismissible" } }, "required": [ @@ -109785,6 +110196,45 @@ "ssl_verify" ] }, + "hec-config": { + "title": "HecConfig", + "description": "Hec Config for Audit Log Stream Configuration", + "type": "object", + "properties": { + "domain": { + "description": "Domain of Hec instance.", + "type": "string" + }, + "port": { + "description": "The port number for connecting to HEC.", + "type": "integer" + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "encrypted_token": { + "description": "Encrypted Token.", + "type": "string" + }, + "path": { + "description": "Path to send events to.", + "type": "string" + }, + "ssl_verify": { + "description": "SSL verification helps ensure your events are sent to your HEC endpoint securely.", + "type": "boolean" + } + }, + "required": [ + "domain", + "encrypted_token", + "path", + "key_id", + "port", + "ssl_verify" + ] + }, "google-cloud-config": { "title": "GoogleCloudConfig", "description": "Google Cloud Config for audit log streaming configuration.", @@ -114221,6 +114671,57 @@ } } }, + "ruleset-version": { + "title": "Ruleset version", + "type": "object", + "description": "The historical version of a ruleset", + "required": [ + "version_id", + "actor", + "updated_at" + ], + "properties": { + "version_id": { + "type": "integer", + "description": "The ID of the previous version of the ruleset" + }, + "actor": { + "type": "object", + "description": "The actor who updated the ruleset", + "properties": { + "id": { + "type": "integer" + }, + "type": { + "type": "string" + } + } + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + } + }, + "ruleset-version-with-state": { + "allOf": [ + { + "$ref": "#/components/schemas/ruleset-version" + }, + { + "type": "object", + "required": [ + "state" + ], + "properties": { + "state": { + "type": "object", + "description": "The state of the ruleset version" + } + } + } + ] + }, "secret-scanning-alert-state": { "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", "type": "string", @@ -294215,6 +294716,71 @@ "updated_at": "2024-09-23T16:29:47Z" } }, + "ruleset-history": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z" + }, + { + "version_id": 2, + "actor": { + "id": 2, + "type": "User" + }, + "updated_at": "2024-09-23T16:29:47Z" + }, + { + "version_id": 1, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-08-23T16:29:47Z" + } + ] + }, + "enterprise-ruleset-version-with-state": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z", + "state": { + "id": 21, + "name": "super cool ruleset", + "target": "repository", + "source_type": "Enterprise", + "source": "my-enterprise", + "enforcement": "active", + "conditions": { + "organization_name": { + "include": [ + "important_organization" + ] + }, + "repository_name": { + "include": [ + "~ALL" + ] + } + }, + "rules": [ + { + "type": "repository_delete" + } + ] + } + } + ] + }, "organization-secret-scanning-alert-list": { "value": [ { @@ -300367,6 +300933,63 @@ ] } }, + "org-ruleset-version-with-state": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z", + "state": { + "id": 21, + "name": "super cool ruleset", + "target": "branch", + "source_type": "Organization", + "source": "my-org", + "enforcement": "active", + "bypass_actors": [ + { + "actor_id": 234, + "actor_type": "Team", + "bypass_mode": "always" + } + ], + "conditions": { + "ref_name": { + "include": [ + "refs/heads/main", + "refs/heads/master" + ], + "exclude": [ + "refs/heads/dev*" + ] + }, + "repository_name": { + "include": [ + "important_repository", + "another_important_repository" + ], + "exclude": [ + "unimportant_repository" + ], + "protected": true + } + }, + "rules": [ + { + "type": "commit_author_email_pattern", + "parameters": { + "operator": "contains", + "pattern": "github" + } + } + ] + } + } + ] + }, "list-repository-advisories": { "value": [ { @@ -314519,6 +315142,53 @@ "updated_at": "2023-08-23T16:29:47Z" } }, + "repository-ruleset-version-with-state": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z", + "state": { + "id": 42, + "name": "super cool ruleset", + "target": "branch", + "source_type": "Repository", + "source": "monalisa/my-repo", + "enforcement": "active", + "bypass_actors": [ + { + "actor_id": 234, + "actor_type": "Team", + "bypass_mode": "always" + } + ], + "conditions": { + "ref_name": { + "include": [ + "refs/heads/main", + "refs/heads/master" + ], + "exclude": [ + "refs/heads/dev*" + ] + } + }, + "rules": [ + { + "type": "commit_author_email_pattern", + "parameters": { + "operator": "contains", + "pattern": "github" + } + } + ] + } + } + ] + }, "secret-scanning-alert-list": { "value": [ { diff --git a/descriptions-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index 0cf7285ef..67f757b9e 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.yaml @@ -3583,6 +3583,7 @@ paths: - "$ref": "#/components/schemas/amazon-s3-oidc-config" - "$ref": "#/components/schemas/amazon-s3-access-keys-config" - "$ref": "#/components/schemas/splunk-config" + - "$ref": "#/components/schemas/hec-config" - "$ref": "#/components/schemas/google-cloud-config" - "$ref": "#/components/schemas/datadog-config" required: @@ -3683,6 +3684,7 @@ paths: - "$ref": "#/components/schemas/amazon-s3-oidc-config" - "$ref": "#/components/schemas/amazon-s3-access-keys-config" - "$ref": "#/components/schemas/splunk-config" + - "$ref": "#/components/schemas/hec-config" - "$ref": "#/components/schemas/google-cloud-config" - "$ref": "#/components/schemas/datadog-config" required: @@ -5730,6 +5732,90 @@ paths: enabledForGitHubApps: true category: enterprise-admin subcategory: rules + "/enterprises/{enterprise}/rulesets/{ruleset_id}/history": + get: + summary: Get enterprise ruleset history + description: Get the history of an enterprise ruleset. + tags: + - enterprise-admin + operationId: enterprise-admin/get-enterprise-ruleset-history + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-enterprise-ruleset-history + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/ruleset-version" + examples: + default: + "$ref": "#/components/examples/ruleset-history" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: rules + "/enterprises/{enterprise}/rulesets/{ruleset_id}/history/{version_id}": + get: + summary: Get enterprise ruleset version + description: Get a version of an enterprise ruleset. + tags: + - enterprise-admin + operationId: enterprise-admin/get-enterprise-ruleset-version + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-enterprise-ruleset-version + parameters: + - "$ref": "#/components/parameters/enterprise" + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + - name: version_id + description: The ID of the version + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/ruleset-version-with-state" + examples: + default: + "$ref": "#/components/examples/enterprise-ruleset-version-with-state" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: rules "/enterprises/{enterprise}/secret-scanning/alerts": get: summary: List secret scanning alerts for an enterprise @@ -20379,6 +20465,90 @@ paths: "$ref": "#/components/responses/not_found" '500': "$ref": "#/components/responses/internal_error" + "/orgs/{org}/rulesets/{ruleset_id}/history": + get: + summary: Get organization ruleset history + description: Get the history of an organization ruleset. + tags: + - orgs + operationId: orgs/get-org-ruleset-history + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-history + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/ruleset-version" + examples: + default: + "$ref": "#/components/examples/ruleset-history" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: rules + "/orgs/{org}/rulesets/{ruleset_id}/history/{version_id}": + get: + summary: Get organization ruleset version + description: Get a version of an organization ruleset. + tags: + - orgs + operationId: orgs/get-org-ruleset-version + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-version + parameters: + - "$ref": "#/components/parameters/org" + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + - name: version_id + description: The ID of the version + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/ruleset-version-with-state" + examples: + default: + "$ref": "#/components/examples/org-ruleset-version-with-state" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: rules "/orgs/{org}/secret-scanning/alerts": get: summary: List secret scanning alerts for an organization @@ -26824,12 +26994,20 @@ paths: "/repos/{owner}/{repo}/actions/runs/{run_id}/timing": get: summary: Get workflow run usage - description: |- - Gets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub Enterprise Cloud-hosted runners. Usage is listed for each GitHub Enterprise Cloud-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - Anyone with read access to the repository can use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + description: "> [!WARNING] \n> This endpoint is in the process of closing down. + Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints + closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" + for more information.\n\nGets the number of billable minutes and total run + time for a specific workflow run. Billable minutes only apply to workflows + in private repositories that use GitHub Enterprise Cloud-hosted runners. Usage + is listed for each GitHub Enterprise Cloud-hosted runner operating system + in milliseconds. Any job re-runs are also included in the usage. The usage + does not include the multiplier for macOS and Windows runners and is not rounded + up to the nearest whole minute. For more information, see \"[Managing billing + for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAnyone + with read access to the repository can use this endpoint.\n\nOAuth app tokens + and personal access tokens (classic) need the `repo` scope to use this endpoint + with a private repository." tags: - actions operationId: actions/get-workflow-run-usage @@ -27514,14 +27692,21 @@ paths: "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": get: summary: Get workflow usage - description: |- - Gets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub Enterprise Cloud-hosted runners. Usage is listed for each GitHub Enterprise Cloud-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. - - Anyone with read access to the repository can use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + description: "> [!WARNING] \n> This endpoint is in the process of closing down. + Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints + closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" + for more information.\n\nGets the number of billable minutes used by a specific + workflow during the current billing cycle. Billable minutes only apply to + workflows in private repositories that use GitHub Enterprise Cloud-hosted + runners. Usage is listed for each GitHub Enterprise Cloud-hosted runner operating + system in milliseconds. Any job re-runs are also included in the usage. The + usage does not include the multiplier for macOS and Windows runners and is + not rounded up to the nearest whole minute. For more information, see \"[Managing + billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou + can replace `workflow_id` with the workflow file name. For example, you could + use `main.yaml`.\n\nAnyone with read access to the repository can use this + endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the + `repo` scope to use this endpoint with a private repository." tags: - actions operationId: actions/get-workflow-usage @@ -40879,7 +41064,7 @@ paths: "$ref": "#/components/responses/validation_failed" x-github: githubCloudOnly: false - enabledForGitHubApps: false + enabledForGitHubApps: true category: reactions subcategory: reactions "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": @@ -46422,6 +46607,92 @@ paths: "$ref": "#/components/responses/not_found" '500': "$ref": "#/components/responses/internal_error" + "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": + get: + summary: Get repository ruleset history + description: Get the history of a repository ruleset. + tags: + - repos + operationId: repos/get-repo-ruleset-history + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/ruleset-version" + examples: + default: + "$ref": "#/components/examples/ruleset-history" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: rules + "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}": + get: + summary: Get repository ruleset version + description: Get a version of a repository ruleset. + tags: + - repos + operationId: repos/get-repo-ruleset-version + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + - name: version_id + description: The ID of the version + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/ruleset-version-with-state" + examples: + default: + "$ref": "#/components/examples/repository-ruleset-version-with-state" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: rules "/repos/{owner}/{repo}/secret-scanning/alerts": get: summary: List secret scanning alerts for a repository @@ -79165,6 +79436,8 @@ components: "$ref": "#/components/schemas/announcement-message" expires_at: "$ref": "#/components/schemas/announcement-expiration" + user_dismissible: + "$ref": "#/components/schemas/announcement-user-dismissible" required: - announcement audit-log-event: @@ -79452,6 +79725,38 @@ components: - key_id - port - ssl_verify + hec-config: + title: HecConfig + description: Hec Config for Audit Log Stream Configuration + type: object + properties: + domain: + description: Domain of Hec instance. + type: string + port: + description: The port number for connecting to HEC. + type: integer + key_id: + type: string + description: Key ID obtained from the audit log stream key endpoint used + to encrypt secrets. + encrypted_token: + description: Encrypted Token. + type: string + path: + description: Path to send events to. + type: string + ssl_verify: + description: SSL verification helps ensure your events are sent to your + HEC endpoint securely. + type: boolean + required: + - domain + - encrypted_token + - path + - key_id + - port + - ssl_verify google-cloud-config: title: GoogleCloudConfig description: Google Cloud Config for audit log streaming configuration. @@ -82876,6 +83181,39 @@ components: updated_at: type: string format: date-time + ruleset-version: + title: Ruleset version + type: object + description: The historical version of a ruleset + required: + - version_id + - actor + - updated_at + properties: + version_id: + type: integer + description: The ID of the previous version of the ruleset + actor: + type: object + description: The actor who updated the ruleset + properties: + id: + type: integer + type: + type: string + updated_at: + type: string + format: date-time + ruleset-version-with-state: + allOf: + - "$ref": "#/components/schemas/ruleset-version" + - type: object + required: + - state + properties: + state: + type: object + description: The state of the ruleset version secret-scanning-alert-state: description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. @@ -216704,6 +217042,46 @@ components: href: https://github.com/enterprise/my-enterprise/settings/policies/repositories/21 created_at: '2024-08-15T08:43:03Z' updated_at: '2024-09-23T16:29:47Z' + ruleset-history: + value: + - version_id: 3 + actor: + id: 1 + type: User + updated_at: 2024-010-23T16:29:47Z + - version_id: 2 + actor: + id: 2 + type: User + updated_at: '2024-09-23T16:29:47Z' + - version_id: 1 + actor: + id: 1 + type: User + updated_at: '2024-08-23T16:29:47Z' + enterprise-ruleset-version-with-state: + value: + - version_id: 3 + actor: + id: 1 + type: User + updated_at: 2024-010-23T16:29:47Z + state: + id: 21 + name: super cool ruleset + target: repository + source_type: Enterprise + source: my-enterprise + enforcement: active + conditions: + organization_name: + include: + - important_organization + repository_name: + include: + - "~ALL" + rules: + - type: repository_delete organization-secret-scanning-alert-list: value: - number: 2 @@ -222050,6 +222428,43 @@ components: enforcement: evaluate result: fail rule_type: commit_message_pattern + org-ruleset-version-with-state: + value: + - version_id: 3 + actor: + id: 1 + type: User + updated_at: 2024-010-23T16:29:47Z + state: + id: 21 + name: super cool ruleset + target: branch + source_type: Organization + source: my-org + enforcement: active + bypass_actors: + - actor_id: 234 + actor_type: Team + bypass_mode: always + conditions: + ref_name: + include: + - refs/heads/main + - refs/heads/master + exclude: + - refs/heads/dev* + repository_name: + include: + - important_repository + - another_important_repository + exclude: + - unimportant_repository + protected: true + rules: + - type: commit_author_email_pattern + parameters: + operator: contains + pattern: github list-repository-advisories: value: - ghsa_id: GHSA-abcd-1234-efgh @@ -234173,6 +234588,36 @@ components: href: https://github.com/monalisa/my-repo/rules/42 created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' + repository-ruleset-version-with-state: + value: + - version_id: 3 + actor: + id: 1 + type: User + updated_at: 2024-010-23T16:29:47Z + state: + id: 42 + name: super cool ruleset + target: branch + source_type: Repository + source: monalisa/my-repo + enforcement: active + bypass_actors: + - actor_id: 234 + actor_type: Team + bypass_mode: always + conditions: + ref_name: + include: + - refs/heads/main + - refs/heads/master + exclude: + - refs/heads/dev* + rules: + - type: commit_author_email_pattern + parameters: + operator: contains + pattern: github secret-scanning-alert-list: value: - number: 2 diff --git a/descriptions-next/ghec/ghec.json b/descriptions-next/ghec/ghec.json index 217351c38..db3636de1 100644 --- a/descriptions-next/ghec/ghec.json +++ b/descriptions-next/ghec/ghec.json @@ -5097,6 +5097,9 @@ { "$ref": "#/components/schemas/splunk-config" }, + { + "$ref": "#/components/schemas/hec-config" + }, { "$ref": "#/components/schemas/google-cloud-config" }, @@ -5250,6 +5253,9 @@ { "$ref": "#/components/schemas/splunk-config" }, + { + "$ref": "#/components/schemas/hec-config" + }, { "$ref": "#/components/schemas/google-cloud-config" }, @@ -8076,6 +8082,138 @@ } } }, + "/enterprises/{enterprise}/rulesets/{ruleset_id}/history": { + "get": { + "summary": "Get enterprise ruleset history", + "description": "Get the history of an enterprise ruleset.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-enterprise-ruleset-history", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-enterprise-ruleset-history" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ruleset-version" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/ruleset-history" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "rules" + } + } + }, + "/enterprises/{enterprise}/rulesets/{ruleset_id}/history/{version_id}": { + "get": { + "summary": "Get enterprise ruleset version", + "description": "Get a version of an enterprise ruleset.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-enterprise-ruleset-version", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-enterprise-ruleset-version" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version_id", + "description": "The ID of the version", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ruleset-version-with-state" + }, + "examples": { + "default": { + "$ref": "#/components/examples/enterprise-ruleset-version-with-state" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "rules" + } + } + }, "/enterprises/{enterprise}/secret-scanning/alerts": { "get": { "summary": "List secret scanning alerts for an enterprise", @@ -28121,6 +28259,138 @@ } } }, + "/orgs/{org}/rulesets/{ruleset_id}/history": { + "get": { + "summary": "Get organization ruleset history", + "description": "Get the history of an organization ruleset.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-org-ruleset-history", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-history" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ruleset-version" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/ruleset-history" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "rules" + } + } + }, + "/orgs/{org}/rulesets/{ruleset_id}/history/{version_id}": { + "get": { + "summary": "Get organization ruleset version", + "description": "Get a version of an organization ruleset.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-org-ruleset-version", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-version" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version_id", + "description": "The ID of the version", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ruleset-version-with-state" + }, + "examples": { + "default": { + "$ref": "#/components/examples/org-ruleset-version-with-state" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "rules" + } + } + }, "/orgs/{org}/secret-scanning/alerts": { "get": { "summary": "List secret scanning alerts for an organization", @@ -37028,7 +37298,7 @@ "/repos/{owner}/{repo}/actions/runs/{run_id}/timing": { "get": { "summary": "Get workflow run usage", - "description": "Gets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub Enterprise Cloud-hosted runners. Usage is listed for each GitHub Enterprise Cloud-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "description": "> [!WARNING] \n> This endpoint is in the process of closing down. Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" for more information.\n\nGets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub Enterprise Cloud-hosted runners. Usage is listed for each GitHub Enterprise Cloud-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ "actions" ], @@ -38007,7 +38277,7 @@ "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": { "get": { "summary": "Get workflow usage", - "description": "Gets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub Enterprise Cloud-hosted runners. Usage is listed for each GitHub Enterprise Cloud-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "description": "> [!WARNING] \n> This endpoint is in the process of closing down. Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" for more information.\n\nGets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub Enterprise Cloud-hosted runners. Usage is listed for each GitHub Enterprise Cloud-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ "actions" ], @@ -56227,7 +56497,7 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "reactions", "subcategory": "reactions" } @@ -64015,6 +64285,144 @@ } } }, + "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": { + "get": { + "summary": "Get repository ruleset history", + "description": "Get the history of a repository ruleset.", + "tags": [ + "repos" + ], + "operationId": "repos/get-repo-ruleset-history", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ruleset-version" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/ruleset-history" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "rules" + } + } + }, + "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}": { + "get": { + "summary": "Get repository ruleset version", + "description": "Get a version of a repository ruleset.", + "tags": [ + "repos" + ], + "operationId": "repos/get-repo-ruleset-version", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version_id", + "description": "The ID of the version", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ruleset-version-with-state" + }, + "examples": { + "default": { + "$ref": "#/components/examples/repository-ruleset-version-with-state" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "rules" + } + } + }, "/repos/{owner}/{repo}/secret-scanning/alerts": { "get": { "summary": "List secret scanning alerts for a repository", @@ -109398,6 +109806,9 @@ }, "expires_at": { "$ref": "#/components/schemas/announcement-expiration" + }, + "user_dismissible": { + "$ref": "#/components/schemas/announcement-user-dismissible" } }, "required": [ @@ -109785,6 +110196,45 @@ "ssl_verify" ] }, + "hec-config": { + "title": "HecConfig", + "description": "Hec Config for Audit Log Stream Configuration", + "type": "object", + "properties": { + "domain": { + "description": "Domain of Hec instance.", + "type": "string" + }, + "port": { + "description": "The port number for connecting to HEC.", + "type": "integer" + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "encrypted_token": { + "description": "Encrypted Token.", + "type": "string" + }, + "path": { + "description": "Path to send events to.", + "type": "string" + }, + "ssl_verify": { + "description": "SSL verification helps ensure your events are sent to your HEC endpoint securely.", + "type": "boolean" + } + }, + "required": [ + "domain", + "encrypted_token", + "path", + "key_id", + "port", + "ssl_verify" + ] + }, "google-cloud-config": { "title": "GoogleCloudConfig", "description": "Google Cloud Config for audit log streaming configuration.", @@ -114221,6 +114671,57 @@ } } }, + "ruleset-version": { + "title": "Ruleset version", + "type": "object", + "description": "The historical version of a ruleset", + "required": [ + "version_id", + "actor", + "updated_at" + ], + "properties": { + "version_id": { + "type": "integer", + "description": "The ID of the previous version of the ruleset" + }, + "actor": { + "type": "object", + "description": "The actor who updated the ruleset", + "properties": { + "id": { + "type": "integer" + }, + "type": { + "type": "string" + } + } + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + } + }, + "ruleset-version-with-state": { + "allOf": [ + { + "$ref": "#/components/schemas/ruleset-version" + }, + { + "type": "object", + "required": [ + "state" + ], + "properties": { + "state": { + "type": "object", + "description": "The state of the ruleset version" + } + } + } + ] + }, "secret-scanning-alert-state": { "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", "type": "string", @@ -294215,6 +294716,71 @@ "updated_at": "2024-09-23T16:29:47Z" } }, + "ruleset-history": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z" + }, + { + "version_id": 2, + "actor": { + "id": 2, + "type": "User" + }, + "updated_at": "2024-09-23T16:29:47Z" + }, + { + "version_id": 1, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-08-23T16:29:47Z" + } + ] + }, + "enterprise-ruleset-version-with-state": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z", + "state": { + "id": 21, + "name": "super cool ruleset", + "target": "repository", + "source_type": "Enterprise", + "source": "my-enterprise", + "enforcement": "active", + "conditions": { + "organization_name": { + "include": [ + "important_organization" + ] + }, + "repository_name": { + "include": [ + "~ALL" + ] + } + }, + "rules": [ + { + "type": "repository_delete" + } + ] + } + } + ] + }, "organization-secret-scanning-alert-list": { "value": [ { @@ -300367,6 +300933,63 @@ ] } }, + "org-ruleset-version-with-state": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z", + "state": { + "id": 21, + "name": "super cool ruleset", + "target": "branch", + "source_type": "Organization", + "source": "my-org", + "enforcement": "active", + "bypass_actors": [ + { + "actor_id": 234, + "actor_type": "Team", + "bypass_mode": "always" + } + ], + "conditions": { + "ref_name": { + "include": [ + "refs/heads/main", + "refs/heads/master" + ], + "exclude": [ + "refs/heads/dev*" + ] + }, + "repository_name": { + "include": [ + "important_repository", + "another_important_repository" + ], + "exclude": [ + "unimportant_repository" + ], + "protected": true + } + }, + "rules": [ + { + "type": "commit_author_email_pattern", + "parameters": { + "operator": "contains", + "pattern": "github" + } + } + ] + } + } + ] + }, "list-repository-advisories": { "value": [ { @@ -314519,6 +315142,53 @@ "updated_at": "2023-08-23T16:29:47Z" } }, + "repository-ruleset-version-with-state": { + "value": [ + { + "version_id": 3, + "actor": { + "id": 1, + "type": "User" + }, + "updated_at": "2024-010-23T16:29:47Z", + "state": { + "id": 42, + "name": "super cool ruleset", + "target": "branch", + "source_type": "Repository", + "source": "monalisa/my-repo", + "enforcement": "active", + "bypass_actors": [ + { + "actor_id": 234, + "actor_type": "Team", + "bypass_mode": "always" + } + ], + "conditions": { + "ref_name": { + "include": [ + "refs/heads/main", + "refs/heads/master" + ], + "exclude": [ + "refs/heads/dev*" + ] + } + }, + "rules": [ + { + "type": "commit_author_email_pattern", + "parameters": { + "operator": "contains", + "pattern": "github" + } + } + ] + } + } + ] + }, "secret-scanning-alert-list": { "value": [ { diff --git a/descriptions-next/ghec/ghec.yaml b/descriptions-next/ghec/ghec.yaml index 0cf7285ef..67f757b9e 100644 --- a/descriptions-next/ghec/ghec.yaml +++ b/descriptions-next/ghec/ghec.yaml @@ -3583,6 +3583,7 @@ paths: - "$ref": "#/components/schemas/amazon-s3-oidc-config" - "$ref": "#/components/schemas/amazon-s3-access-keys-config" - "$ref": "#/components/schemas/splunk-config" + - "$ref": "#/components/schemas/hec-config" - "$ref": "#/components/schemas/google-cloud-config" - "$ref": "#/components/schemas/datadog-config" required: @@ -3683,6 +3684,7 @@ paths: - "$ref": "#/components/schemas/amazon-s3-oidc-config" - "$ref": "#/components/schemas/amazon-s3-access-keys-config" - "$ref": "#/components/schemas/splunk-config" + - "$ref": "#/components/schemas/hec-config" - "$ref": "#/components/schemas/google-cloud-config" - "$ref": "#/components/schemas/datadog-config" required: @@ -5730,6 +5732,90 @@ paths: enabledForGitHubApps: true category: enterprise-admin subcategory: rules + "/enterprises/{enterprise}/rulesets/{ruleset_id}/history": + get: + summary: Get enterprise ruleset history + description: Get the history of an enterprise ruleset. + tags: + - enterprise-admin + operationId: enterprise-admin/get-enterprise-ruleset-history + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-enterprise-ruleset-history + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/ruleset-version" + examples: + default: + "$ref": "#/components/examples/ruleset-history" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: rules + "/enterprises/{enterprise}/rulesets/{ruleset_id}/history/{version_id}": + get: + summary: Get enterprise ruleset version + description: Get a version of an enterprise ruleset. + tags: + - enterprise-admin + operationId: enterprise-admin/get-enterprise-ruleset-version + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-enterprise-ruleset-version + parameters: + - "$ref": "#/components/parameters/enterprise" + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + - name: version_id + description: The ID of the version + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/ruleset-version-with-state" + examples: + default: + "$ref": "#/components/examples/enterprise-ruleset-version-with-state" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: rules "/enterprises/{enterprise}/secret-scanning/alerts": get: summary: List secret scanning alerts for an enterprise @@ -20379,6 +20465,90 @@ paths: "$ref": "#/components/responses/not_found" '500': "$ref": "#/components/responses/internal_error" + "/orgs/{org}/rulesets/{ruleset_id}/history": + get: + summary: Get organization ruleset history + description: Get the history of an organization ruleset. + tags: + - orgs + operationId: orgs/get-org-ruleset-history + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-history + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/ruleset-version" + examples: + default: + "$ref": "#/components/examples/ruleset-history" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: rules + "/orgs/{org}/rulesets/{ruleset_id}/history/{version_id}": + get: + summary: Get organization ruleset version + description: Get a version of an organization ruleset. + tags: + - orgs + operationId: orgs/get-org-ruleset-version + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-version + parameters: + - "$ref": "#/components/parameters/org" + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + - name: version_id + description: The ID of the version + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/ruleset-version-with-state" + examples: + default: + "$ref": "#/components/examples/org-ruleset-version-with-state" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: rules "/orgs/{org}/secret-scanning/alerts": get: summary: List secret scanning alerts for an organization @@ -26824,12 +26994,20 @@ paths: "/repos/{owner}/{repo}/actions/runs/{run_id}/timing": get: summary: Get workflow run usage - description: |- - Gets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub Enterprise Cloud-hosted runners. Usage is listed for each GitHub Enterprise Cloud-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - Anyone with read access to the repository can use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + description: "> [!WARNING] \n> This endpoint is in the process of closing down. + Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints + closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" + for more information.\n\nGets the number of billable minutes and total run + time for a specific workflow run. Billable minutes only apply to workflows + in private repositories that use GitHub Enterprise Cloud-hosted runners. Usage + is listed for each GitHub Enterprise Cloud-hosted runner operating system + in milliseconds. Any job re-runs are also included in the usage. The usage + does not include the multiplier for macOS and Windows runners and is not rounded + up to the nearest whole minute. For more information, see \"[Managing billing + for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAnyone + with read access to the repository can use this endpoint.\n\nOAuth app tokens + and personal access tokens (classic) need the `repo` scope to use this endpoint + with a private repository." tags: - actions operationId: actions/get-workflow-run-usage @@ -27514,14 +27692,21 @@ paths: "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": get: summary: Get workflow usage - description: |- - Gets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub Enterprise Cloud-hosted runners. Usage is listed for each GitHub Enterprise Cloud-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. - - Anyone with read access to the repository can use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + description: "> [!WARNING] \n> This endpoint is in the process of closing down. + Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints + closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" + for more information.\n\nGets the number of billable minutes used by a specific + workflow during the current billing cycle. Billable minutes only apply to + workflows in private repositories that use GitHub Enterprise Cloud-hosted + runners. Usage is listed for each GitHub Enterprise Cloud-hosted runner operating + system in milliseconds. Any job re-runs are also included in the usage. The + usage does not include the multiplier for macOS and Windows runners and is + not rounded up to the nearest whole minute. For more information, see \"[Managing + billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou + can replace `workflow_id` with the workflow file name. For example, you could + use `main.yaml`.\n\nAnyone with read access to the repository can use this + endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the + `repo` scope to use this endpoint with a private repository." tags: - actions operationId: actions/get-workflow-usage @@ -40879,7 +41064,7 @@ paths: "$ref": "#/components/responses/validation_failed" x-github: githubCloudOnly: false - enabledForGitHubApps: false + enabledForGitHubApps: true category: reactions subcategory: reactions "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": @@ -46422,6 +46607,92 @@ paths: "$ref": "#/components/responses/not_found" '500': "$ref": "#/components/responses/internal_error" + "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": + get: + summary: Get repository ruleset history + description: Get the history of a repository ruleset. + tags: + - repos + operationId: repos/get-repo-ruleset-history + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/ruleset-version" + examples: + default: + "$ref": "#/components/examples/ruleset-history" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: rules + "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}": + get: + summary: Get repository ruleset version + description: Get a version of a repository ruleset. + tags: + - repos + operationId: repos/get-repo-ruleset-version + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - name: ruleset_id + description: The ID of the ruleset. + in: path + required: true + schema: + type: integer + - name: version_id + description: The ID of the version + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/ruleset-version-with-state" + examples: + default: + "$ref": "#/components/examples/repository-ruleset-version-with-state" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: rules "/repos/{owner}/{repo}/secret-scanning/alerts": get: summary: List secret scanning alerts for a repository @@ -79165,6 +79436,8 @@ components: "$ref": "#/components/schemas/announcement-message" expires_at: "$ref": "#/components/schemas/announcement-expiration" + user_dismissible: + "$ref": "#/components/schemas/announcement-user-dismissible" required: - announcement audit-log-event: @@ -79452,6 +79725,38 @@ components: - key_id - port - ssl_verify + hec-config: + title: HecConfig + description: Hec Config for Audit Log Stream Configuration + type: object + properties: + domain: + description: Domain of Hec instance. + type: string + port: + description: The port number for connecting to HEC. + type: integer + key_id: + type: string + description: Key ID obtained from the audit log stream key endpoint used + to encrypt secrets. + encrypted_token: + description: Encrypted Token. + type: string + path: + description: Path to send events to. + type: string + ssl_verify: + description: SSL verification helps ensure your events are sent to your + HEC endpoint securely. + type: boolean + required: + - domain + - encrypted_token + - path + - key_id + - port + - ssl_verify google-cloud-config: title: GoogleCloudConfig description: Google Cloud Config for audit log streaming configuration. @@ -82876,6 +83181,39 @@ components: updated_at: type: string format: date-time + ruleset-version: + title: Ruleset version + type: object + description: The historical version of a ruleset + required: + - version_id + - actor + - updated_at + properties: + version_id: + type: integer + description: The ID of the previous version of the ruleset + actor: + type: object + description: The actor who updated the ruleset + properties: + id: + type: integer + type: + type: string + updated_at: + type: string + format: date-time + ruleset-version-with-state: + allOf: + - "$ref": "#/components/schemas/ruleset-version" + - type: object + required: + - state + properties: + state: + type: object + description: The state of the ruleset version secret-scanning-alert-state: description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. @@ -216704,6 +217042,46 @@ components: href: https://github.com/enterprise/my-enterprise/settings/policies/repositories/21 created_at: '2024-08-15T08:43:03Z' updated_at: '2024-09-23T16:29:47Z' + ruleset-history: + value: + - version_id: 3 + actor: + id: 1 + type: User + updated_at: 2024-010-23T16:29:47Z + - version_id: 2 + actor: + id: 2 + type: User + updated_at: '2024-09-23T16:29:47Z' + - version_id: 1 + actor: + id: 1 + type: User + updated_at: '2024-08-23T16:29:47Z' + enterprise-ruleset-version-with-state: + value: + - version_id: 3 + actor: + id: 1 + type: User + updated_at: 2024-010-23T16:29:47Z + state: + id: 21 + name: super cool ruleset + target: repository + source_type: Enterprise + source: my-enterprise + enforcement: active + conditions: + organization_name: + include: + - important_organization + repository_name: + include: + - "~ALL" + rules: + - type: repository_delete organization-secret-scanning-alert-list: value: - number: 2 @@ -222050,6 +222428,43 @@ components: enforcement: evaluate result: fail rule_type: commit_message_pattern + org-ruleset-version-with-state: + value: + - version_id: 3 + actor: + id: 1 + type: User + updated_at: 2024-010-23T16:29:47Z + state: + id: 21 + name: super cool ruleset + target: branch + source_type: Organization + source: my-org + enforcement: active + bypass_actors: + - actor_id: 234 + actor_type: Team + bypass_mode: always + conditions: + ref_name: + include: + - refs/heads/main + - refs/heads/master + exclude: + - refs/heads/dev* + repository_name: + include: + - important_repository + - another_important_repository + exclude: + - unimportant_repository + protected: true + rules: + - type: commit_author_email_pattern + parameters: + operator: contains + pattern: github list-repository-advisories: value: - ghsa_id: GHSA-abcd-1234-efgh @@ -234173,6 +234588,36 @@ components: href: https://github.com/monalisa/my-repo/rules/42 created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' + repository-ruleset-version-with-state: + value: + - version_id: 3 + actor: + id: 1 + type: User + updated_at: 2024-010-23T16:29:47Z + state: + id: 42 + name: super cool ruleset + target: branch + source_type: Repository + source: monalisa/my-repo + enforcement: active + bypass_actors: + - actor_id: 234 + actor_type: Team + bypass_mode: always + conditions: + ref_name: + include: + - refs/heads/main + - refs/heads/master + exclude: + - refs/heads/dev* + rules: + - type: commit_author_email_pattern + parameters: + operator: contains + pattern: github secret-scanning-alert-list: value: - number: 2 diff --git a/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json b/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json index c6e48e3bb..49e92dffb 100644 --- a/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json +++ b/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json @@ -30822,6 +30822,17 @@ "examples": [ "\"2021-01-01T00:00:00.000-07:00\"" ] + }, + "user_dismissible": { + "type": [ + "boolean", + "null" + ], + "description": "Whether an announcement can be dismissed by the user.", + "default": false, + "examples": [ + false + ] } }, "required": [ @@ -30889,6 +30900,17 @@ "examples": [ "\"2021-01-01T00:00:00.000-07:00\"" ] + }, + "user_dismissible": { + "type": [ + "boolean", + "null" + ], + "description": "Whether an announcement can be dismissed by the user.", + "default": false, + "examples": [ + false + ] } }, "required": [ @@ -30936,6 +30958,17 @@ "examples": [ "\"2021-01-01T00:00:00.000-07:00\"" ] + }, + "user_dismissible": { + "type": [ + "boolean", + "null" + ], + "description": "Whether an announcement can be dismissed by the user.", + "default": false, + "examples": [ + false + ] } }, "required": [ @@ -87834,6 +87867,17 @@ "examples": [ "\"2021-01-01T00:00:00.000-07:00\"" ] + }, + "user_dismissible": { + "type": [ + "boolean", + "null" + ], + "description": "Whether an announcement can be dismissed by the user.", + "default": false, + "examples": [ + false + ] } }, "required": [ @@ -339618,7 +339662,7 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "reactions", "subcategory": "reactions" } diff --git a/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml b/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml index f5a8c1040..8bb721c9a 100644 --- a/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml +++ b/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml @@ -3770,7 +3770,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/apps/webhooks#list-deliveries-for-an-app-webhook parameters: - *4 - - &188 + - &189 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 @@ -3786,7 +3786,7 @@ paths: application/json: schema: type: array - items: &189 + items: &190 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -3879,7 +3879,7 @@ paths: - installation_id - repository_id examples: - default: &190 + default: &191 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -3911,7 +3911,7 @@ paths: application/json: schema: *27 application/scim+json: - schema: &475 + schema: &476 title: Scim Error description: Scim Error type: object @@ -4014,7 +4014,7 @@ paths: description: Response content: application/json: - schema: &191 + schema: &192 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4149,7 +4149,7 @@ paths: - request - response examples: - default: &192 + default: &193 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -6271,7 +6271,7 @@ paths: schema: type: string '422': *29 - '410': &218 + '410': &219 description: Gone content: application/json: @@ -8862,6 +8862,14 @@ paths: it to an empty string.' examples: - '"2021-01-01T00:00:00.000-07:00"' + user_dismissible: &160 + type: + - boolean + - 'null' + description: Whether an announcement can be dismissed by the user. + default: false + examples: + - false required: - announcement examples: @@ -11518,7 +11526,7 @@ paths: required: false schema: type: string - - &161 + - &162 name: include description: |- The event types to include: @@ -11536,7 +11544,7 @@ paths: - web - git - all - - &162 + - &163 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.10/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. @@ -11544,7 +11552,7 @@ paths: required: false schema: type: string - - &163 + - &164 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.10/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. @@ -11552,7 +11560,7 @@ paths: required: false schema: type: string - - &164 + - &165 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11574,7 +11582,7 @@ paths: application/json: schema: type: array - items: &165 + items: &166 type: object properties: "@timestamp": @@ -11696,7 +11704,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &166 + default: &167 value: - actor_ip: 88.123.45.123 from: pull_requests#merge @@ -11841,7 +11849,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *60 - - &167 + - &168 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`, @@ -11851,7 +11859,7 @@ paths: schema: &84 type: string description: The name of the tool used to generate the code scanning analysis. - - &168 + - &169 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 @@ -11891,7 +11899,7 @@ paths: be returned. in: query required: false - schema: &169 + schema: &170 type: string description: State of a code scanning alert. enum: @@ -11916,7 +11924,7 @@ paths: application/json: schema: type: array - items: &170 + items: &171 type: object properties: number: &89 @@ -11945,7 +11953,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &330 + instances_url: &331 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -11981,7 +11989,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &331 + dismissed_reason: &332 type: - string - 'null' @@ -11992,14 +12000,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &332 + dismissed_comment: &333 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &333 + rule: &334 type: object properties: id: @@ -12044,7 +12052,7 @@ paths: description: A set of tags applicable for the rule. items: type: string - tool: &334 + tool: &335 type: object properties: name: *84 @@ -12055,15 +12063,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *85 - most_recent_instance: &335 + most_recent_instance: &336 type: object properties: - ref: &328 + ref: &329 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &339 + analysis_key: &340 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -12074,7 +12082,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &340 + category: &341 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -12458,7 +12466,7 @@ paths: - most_recent_instance - repository examples: - default: &171 + default: &172 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -12877,7 +12885,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *60 - - &175 + - &176 name: state in: query description: |- @@ -12886,7 +12894,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &176 + - &177 name: severity in: query description: |- @@ -12895,7 +12903,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &177 + - &178 name: ecosystem in: query description: |- @@ -12904,14 +12912,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &178 + - &179 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &179 + - &180 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -12921,7 +12929,7 @@ paths: enum: - development - runtime - - &180 + - &181 name: sort in: query description: |- @@ -12937,7 +12945,7 @@ paths: - *9 - *87 - *88 - - &181 + - &182 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -12950,7 +12958,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &182 + - &183 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -12970,7 +12978,7 @@ paths: application/json: schema: type: array - items: &183 + items: &184 type: object description: A Dependabot alert. properties: @@ -13022,7 +13030,7 @@ paths: - development - runtime - - security_advisory: &360 + security_advisory: &361 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -13127,7 +13135,7 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: &593 + cvss_severities: &594 type: - object - 'null' @@ -13303,7 +13311,7 @@ paths: dismissal. maxLength: 280 fixed_at: *97 - auto_dismissed_at: &361 + auto_dismissed_at: &362 type: - string - 'null' @@ -13330,7 +13338,7 @@ paths: - repository additionalProperties: false examples: - default: &184 + default: &185 value: - number: 2 state: dismissed @@ -13669,7 +13677,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *60 - - &220 + - &221 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -13680,7 +13688,7 @@ paths: enum: - open - resolved - - &221 + - &222 name: secret_type in: query description: A comma-separated list of secret types to return. By default @@ -13689,7 +13697,7 @@ paths: required: false schema: type: string - - &222 + - &223 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -13698,7 +13706,7 @@ paths: required: false schema: type: string - - &223 + - &224 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. @@ -13721,7 +13729,7 @@ paths: application/json: schema: type: array - items: &224 + items: &225 type: object properties: number: *89 @@ -13737,14 +13745,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &466 + state: &467 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &467 + resolution: &468 type: - string - 'null' @@ -13803,7 +13811,7 @@ paths: description: The comment that was optionally added when this alert was closed examples: - default: &225 + default: &226 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -14036,7 +14044,7 @@ paths: description: Success content: application/json: - schema: &227 + schema: &228 type: object properties: total_advanced_security_committers: @@ -14081,7 +14089,7 @@ paths: required: - repositories examples: - default: &228 + default: &229 value: total_advanced_security_committers: 2 total_count: 2 @@ -14098,7 +14106,7 @@ paths: advanced_security_committers_breakdown: - user_login: octokitten last_pushed_date: '2021-10-26' - '403': &229 + '403': &230 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -14362,7 +14370,7 @@ paths: milestone: anyOf: - type: 'null' - - &351 + - &352 title: Milestone description: A collection of related issues and pull requests. @@ -14626,7 +14634,7 @@ paths: - author_association - created_at - updated_at - comment: &402 + comment: &403 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -15196,7 +15204,7 @@ paths: url: type: string format: uri - user: &513 + user: &514 title: Public User description: Public User type: object @@ -17085,7 +17093,7 @@ paths: - closed - all default: open - - &193 + - &194 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -17136,7 +17144,7 @@ paths: type: array items: *114 examples: - default: &194 + default: &195 value: - id: 1 node_id: MDU6SXNzdWUx @@ -18403,14 +18411,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &251 + - &252 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &252 + - &253 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -18481,7 +18489,7 @@ paths: '404': *34 '403': *38 '304': *37 - '301': &263 + '301': &264 description: Moved permanently content: application/json: @@ -18503,7 +18511,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &430 + - &431 name: all description: If `true`, show notifications marked as read. in: query @@ -18511,7 +18519,7 @@ paths: schema: type: boolean default: false - - &431 + - &432 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -18521,7 +18529,7 @@ paths: type: boolean default: false - *104 - - &432 + - &433 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -18892,7 +18900,7 @@ paths: type: boolean examples: - false - security_and_analysis: &219 + security_and_analysis: &220 type: - object - 'null' @@ -19023,7 +19031,7 @@ paths: - url - subscription_url examples: - default: &433 + default: &434 value: - id: '1' repository: @@ -19555,7 +19563,7 @@ paths: type: array items: *65 examples: - default: &522 + default: &523 value: - login: github id: 1 @@ -19620,7 +19628,7 @@ paths: - 3 custom_roles: type: array - items: &172 + items: &173 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -19669,7 +19677,7 @@ paths: - created_at - updated_at examples: - default: &173 + default: &174 value: id: 8030 name: Security Engineer @@ -20431,7 +20439,7 @@ paths: type: integer repository_cache_usages: type: array - items: &268 + items: &269 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -20685,7 +20693,7 @@ paths: type: array items: *80 examples: - default: &519 + default: &520 value: total_count: 1 repositories: @@ -22485,7 +22493,7 @@ paths: description: Response content: application/json: - schema: &290 + schema: &291 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -22520,7 +22528,7 @@ paths: - key_id - key examples: - default: &291 + default: &292 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22933,7 +22941,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#list-organization-variables parameters: - *125 - - &275 + - &276 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-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -23423,7 +23431,7 @@ paths: description: Response content: application/json: - schema: &160 + schema: &161 title: Announcement Banner description: Announcement at either the repository, organization, or enterprise level @@ -23431,14 +23439,7 @@ paths: properties: announcement: *158 expires_at: *159 - user_dismissible: - type: - - boolean - - 'null' - description: Whether an announcement can be dismissed by the user. - default: false - examples: - - false + user_dismissible: *160 required: - announcement - expires_at @@ -23473,7 +23474,7 @@ paths: description: Response content: application/json: - schema: *160 + schema: *161 examples: default: *49 x-github: @@ -23528,10 +23529,10 @@ paths: required: false schema: type: string - - *161 - *162 - *163 - *164 + - *165 - *4 - *5 responses: @@ -23541,9 +23542,9 @@ paths: application/json: schema: type: array - items: *165 + items: *166 examples: - default: *166 + default: *167 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -23566,8 +23567,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *125 - - *167 - *168 + - *169 - *87 - *88 - *5 @@ -23578,7 +23579,7 @@ paths: be returned. in: query required: false - schema: *169 + schema: *170 - name: sort description: The property by which to sort the results. in: query @@ -23594,7 +23595,7 @@ paths: be returned. in: query required: false - schema: &329 + schema: &330 type: string description: Severity of a code scanning alert. enum: @@ -23612,9 +23613,9 @@ paths: application/json: schema: type: array - items: *170 + items: *171 examples: - default: *171 + default: *172 headers: Link: *6 '404': *34 @@ -23656,7 +23657,7 @@ paths: - 3 custom_roles: type: array - items: *172 + items: *173 examples: default: value: @@ -23790,9 +23791,9 @@ paths: description: Response content: application/json: - schema: *172 + schema: *173 examples: - default: *173 + default: *174 '422': *29 '404': *34 x-github: @@ -23817,7 +23818,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *125 - - &174 + - &175 name: role_id description: The unique identifier of the role. in: path @@ -23829,9 +23830,9 @@ paths: description: Response content: application/json: - schema: *172 + schema: *173 examples: - default: *173 + default: *174 '404': *34 x-github: githubCloudOnly: true @@ -23854,7 +23855,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *125 - - *174 + - *175 requestBody: required: true content: @@ -23898,9 +23899,9 @@ paths: description: Response content: application/json: - schema: *172 + schema: *173 examples: - default: *173 + default: *174 '422': *29 '404': *34 x-github: @@ -23925,7 +23926,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *125 - - *174 + - *175 responses: '204': description: Response @@ -23951,17 +23952,17 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *125 - - *175 - *176 - *177 - *178 - *179 - *180 + - *181 - *9 - *87 - *88 - - *181 - *182 + - *183 - *4 responses: '200': @@ -23970,9 +23971,9 @@ paths: application/json: schema: type: array - items: *183 + items: *184 examples: - default: *184 + default: *185 '304': *37 '400': *28 '403': *38 @@ -24016,7 +24017,7 @@ paths: type: integer secrets: type: array - items: &185 + items: &186 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -24095,7 +24096,7 @@ paths: description: Response content: application/json: - schema: &364 + schema: &365 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -24114,7 +24115,7 @@ paths: - key_id - key examples: - default: &365 + default: &366 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -24144,7 +24145,7 @@ paths: description: Response content: application/json: - schema: *185 + schema: *186 examples: default: value: @@ -24441,7 +24442,7 @@ paths: application/json: schema: type: array - items: &200 + items: &201 title: Package description: A software package type: object @@ -24512,7 +24513,7 @@ paths: - created_at - updated_at examples: - default: &201 + default: &202 value: - id: 197 name: hello_docker @@ -24696,7 +24697,7 @@ paths: description: Response content: application/json: - schema: &246 + schema: &247 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -24786,7 +24787,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &247 + default: &248 value: group_id: '123' group_name: Octocat admins @@ -24841,7 +24842,7 @@ paths: description: Response content: application/json: - schema: &244 + schema: &245 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -24881,7 +24882,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &245 + default: &246 value: groups: - group_id: '123' @@ -24928,7 +24929,7 @@ paths: application/json: schema: type: array - items: &186 + items: &187 title: Org Hook description: Org Hook type: object @@ -25113,9 +25114,9 @@ paths: description: Response content: application/json: - schema: *186 + schema: *187 examples: - default: &187 + default: &188 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -25169,9 +25170,9 @@ paths: description: Response content: application/json: - schema: *186 + schema: *187 examples: - default: *187 + default: *188 '404': *34 x-github: githubCloudOnly: false @@ -25245,7 +25246,7 @@ paths: description: Response content: application/json: - schema: *186 + schema: *187 examples: default: value: @@ -25399,7 +25400,7 @@ paths: - *125 - *3 - *4 - - *188 + - *189 responses: '200': description: Response @@ -25407,9 +25408,9 @@ paths: application/json: schema: type: array - items: *189 + items: *190 examples: - default: *190 + default: *191 '400': *28 '422': *29 x-github: @@ -25442,9 +25443,9 @@ paths: description: Response content: application/json: - schema: *191 + schema: *192 examples: - default: *192 + default: *193 '400': *28 '422': *29 x-github: @@ -25532,7 +25533,7 @@ paths: application/json: schema: *33 examples: - default: &399 + default: &400 value: id: 1 account: @@ -25729,7 +25730,7 @@ paths: - closed - all default: open - - *193 + - *194 - name: sort description: What to sort results by. in: query @@ -25754,7 +25755,7 @@ paths: type: array items: *114 examples: - default: *194 + default: *195 headers: Link: *6 '404': *34 @@ -25812,7 +25813,7 @@ paths: type: array items: *17 examples: - default: &199 + default: &200 value: - login: octocat id: 1 @@ -25914,7 +25915,7 @@ paths: description: Response content: application/json: - schema: &195 + schema: &196 title: Org Membership description: Org Membership type: object @@ -25967,7 +25968,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &196 + response-if-user-has-an-active-admin-membership-with-organization: &197 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -26063,9 +26064,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *196 examples: - response-if-user-already-had-membership-with-organization: *196 + response-if-user-already-had-membership-with-organization: *197 '422': *29 '403': *38 x-github: @@ -26134,7 +26135,7 @@ paths: application/json: schema: type: array - items: &197 + items: &198 title: Migration description: A migration. type: object @@ -26475,7 +26476,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *198 examples: default: value: @@ -26654,7 +26655,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/migrations/orgs#get-an-organization-migration-status parameters: - *125 - - &198 + - &199 name: migration_id description: The unique identifier of the migration. in: path @@ -26682,7 +26683,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *197 + schema: *198 examples: default: value: @@ -26852,7 +26853,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *125 - - *198 + - *199 responses: '302': description: Response @@ -26874,7 +26875,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *125 - - *198 + - *199 responses: '204': description: Response @@ -26898,7 +26899,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/migrations/orgs#unlock-an-organization-repository parameters: - *125 - - *198 + - *199 - name: repo_name description: repo_name parameter in: path @@ -26926,7 +26927,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *125 - - *198 + - *199 - *4 - *5 responses: @@ -26938,7 +26939,7 @@ paths: type: array items: *143 examples: - default: &207 + default: &208 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -27089,7 +27090,7 @@ paths: type: array items: *17 examples: - default: *199 + default: *200 headers: Link: *6 x-github: @@ -27231,7 +27232,7 @@ paths: - nuget - container - *125 - - &523 + - &524 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -27267,12 +27268,12 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: *201 + default: *202 '403': *38 '401': *36 - '400': &525 + '400': &526 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -27294,7 +27295,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#get-a-package-for-an-organization parameters: - - &202 + - &203 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 @@ -27312,7 +27313,7 @@ paths: - docker - nuget - container - - &203 + - &204 name: package_name description: The name of the package. in: path @@ -27325,7 +27326,7 @@ paths: description: Response content: application/json: - schema: *200 + schema: *201 examples: default: value: @@ -27377,8 +27378,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *202 - *203 + - *204 - *125 responses: '204': @@ -27411,8 +27412,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *202 - *203 + - *204 - *125 - name: token description: package token @@ -27445,8 +27446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *202 - *203 + - *204 - *125 - *5 - *4 @@ -27467,7 +27468,7 @@ paths: application/json: schema: type: array - items: &204 + items: &205 title: Package Version description: A version of a software package type: object @@ -27602,10 +27603,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *202 - *203 + - *204 - *125 - - &205 + - &206 name: package_version_id description: Unique identifier of the package version. in: path @@ -27617,7 +27618,7 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: default: value: @@ -27653,10 +27654,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *202 - *203 + - *204 - *125 - - *205 + - *206 responses: '204': description: Response @@ -27688,10 +27689,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *202 - *203 + - *204 - *125 - - *205 + - *206 responses: '204': description: Response @@ -27721,7 +27722,7 @@ paths: - *125 - *4 - *5 - - &208 + - &209 name: sort description: The property by which to sort the results. in: query @@ -27732,7 +27733,7 @@ paths: - created_at default: created_at - *9 - - &209 + - &210 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -27744,7 +27745,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &210 + - &211 name: repository description: The name of the repository to use to filter the results. in: query @@ -27753,7 +27754,7 @@ paths: type: string examples: - Hello-World - - &211 + - &212 name: permission description: The permission to use to filter the results. in: query @@ -27762,7 +27763,7 @@ paths: type: string examples: - issues_read - - &212 + - &213 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) @@ -27772,7 +27773,7 @@ paths: schema: type: string format: date-time - - &213 + - &214 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) @@ -27783,7 +27784,7 @@ paths: type: string format: date-time responses: - '500': &206 + '500': &207 description: Internal Error content: application/json: @@ -27984,7 +27985,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *206 + '500': *207 '422': *29 '404': *34 '403': *38 @@ -28046,11 +28047,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *206 + '500': *207 '422': *29 '404': *34 '403': *38 - '204': &214 + '204': &215 description: A header with no content is returned. x-github: githubCloudOnly: false @@ -28083,7 +28084,7 @@ paths: - *4 - *5 responses: - '500': *206 + '500': *207 '404': *34 '403': *38 '200': @@ -28094,7 +28095,7 @@ paths: type: array items: *143 examples: - default: *207 + default: *208 headers: Link: *6 x-github: @@ -28120,15 +28121,15 @@ paths: - *125 - *4 - *5 - - *208 - - *9 - *209 + - *9 - *210 - *211 - *212 - *213 + - *214 responses: - '500': *206 + '500': *207 '422': *29 '404': *34 '403': *38 @@ -28312,7 +28313,7 @@ paths: - 1296269 - 1296280 responses: - '500': *206 + '500': *207 '404': *34 '202': *131 '403': *38 @@ -28365,9 +28366,9 @@ paths: value: action: revoke responses: - '500': *206 + '500': *207 '404': *34 - '204': *214 + '204': *215 '403': *38 '422': *29 x-github: @@ -28399,7 +28400,7 @@ paths: - *4 - *5 responses: - '500': *206 + '500': *207 '404': *34 '403': *38 '200': @@ -28410,7 +28411,7 @@ paths: type: array items: *143 examples: - default: *207 + default: *208 headers: Link: *6 x-github: @@ -28454,7 +28455,7 @@ paths: application/json: schema: type: array - items: &215 + items: &216 type: object properties: id: @@ -28498,9 +28499,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *216 examples: - default: &216 + default: &217 value: id: 42 name: Check Commits @@ -28530,7 +28531,7 @@ paths: description: Response content: application/json: - schema: *215 + schema: *216 examples: default: value: @@ -28579,9 +28580,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *216 examples: - default: *216 + default: *217 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28622,7 +28623,7 @@ paths: application/json: schema: type: array - items: &217 + items: &218 title: Project description: Projects are a way to organize columns and cards of work. @@ -28801,7 +28802,7 @@ paths: description: Response content: application/json: - schema: *217 + schema: *218 examples: default: value: @@ -28839,7 +28840,7 @@ paths: '401': *36 '403': *38 '404': *34 - '410': *218 + '410': *219 '422': *79 x-github: githubCloudOnly: false @@ -28870,7 +28871,7 @@ paths: type: array items: *17 examples: - default: *199 + default: *200 headers: Link: *6 x-github: @@ -29011,7 +29012,7 @@ paths: type: array items: *143 examples: - default: *207 + default: *208 headers: Link: *6 x-github: @@ -29215,7 +29216,7 @@ paths: description: Response content: application/json: - schema: &262 + schema: &263 title: Full Repository description: Full Repository type: object @@ -29710,7 +29711,7 @@ paths: - key - name - html_url - security_and_analysis: *219 + security_and_analysis: *220 required: - archive_url - assignees_url @@ -29788,7 +29789,7 @@ paths: - network_count - subscribers_count examples: - default: &264 + default: &265 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -30358,14 +30359,14 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *125 - - *220 - *221 - *222 - *223 + - *224 - *9 - *5 - *4 - - &464 + - &465 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.10/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -30375,7 +30376,7 @@ paths: required: false schema: type: string - - &465 + - &466 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.10/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -30392,9 +30393,9 @@ paths: application/json: schema: type: array - items: *224 + items: *225 examples: - default: *225 + default: *226 headers: Link: *6 '404': *34 @@ -30428,7 +30429,7 @@ paths: application/json: schema: type: array - items: &230 + items: &231 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -30512,7 +30513,7 @@ paths: - repositories_url - slug examples: - default: &231 + default: &232 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -30550,7 +30551,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/orgs/security-managers#add-a-security-manager-team parameters: - *125 - - &226 + - &227 name: team_slug description: The slug of the team name. in: path @@ -30585,7 +30586,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *125 - - *226 + - *227 responses: '204': description: Response @@ -30621,10 +30622,10 @@ paths: description: Success content: application/json: - schema: *227 + schema: *228 examples: - default: *228 - '403': *229 + default: *229 + '403': *230 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30652,7 +30653,7 @@ paths: application/json: schema: type: array - items: &253 + items: &254 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -30711,7 +30712,7 @@ paths: parent: anyOf: - type: 'null' - - *230 + - *231 required: - id - node_id @@ -30725,7 +30726,7 @@ paths: - slug - parent examples: - default: *231 + default: *232 headers: Link: *6 '403': *38 @@ -30827,7 +30828,7 @@ paths: description: Response content: application/json: - schema: &232 + schema: &233 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -30901,7 +30902,7 @@ paths: parent: anyOf: - type: 'null' - - *230 + - *231 members_count: type: integer examples: @@ -31202,7 +31203,7 @@ paths: - repos_count - organization examples: - default: &233 + default: &234 value: id: 1 node_id: MDQ6VGVhbTE= @@ -31272,15 +31273,15 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#get-a-team-by-name parameters: - *125 - - *226 + - *227 responses: '200': description: Response content: application/json: - schema: *232 + schema: *233 examples: - default: *233 + default: *234 '404': *34 x-github: githubCloudOnly: false @@ -31302,7 +31303,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#update-a-team parameters: - *125 - - *226 + - *227 requestBody: required: false content: @@ -31365,16 +31366,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *232 + schema: *233 examples: - default: *233 + default: *234 '201': description: Response content: application/json: - schema: *232 + schema: *233 examples: - default: *233 + default: *234 '404': *34 '422': *29 '403': *38 @@ -31400,7 +31401,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#delete-a-team parameters: - *125 - - *226 + - *227 responses: '204': description: Response @@ -31427,7 +31428,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussions#list-discussions parameters: - *125 - - *226 + - *227 - *9 - *4 - *5 @@ -31444,7 +31445,7 @@ paths: application/json: schema: type: array - items: &234 + items: &235 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -31555,7 +31556,7 @@ paths: - updated_at - url examples: - default: &503 + default: &504 value: - author: login: octocat @@ -31630,7 +31631,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussions#create-a-discussion parameters: - *125 - - *226 + - *227 requestBody: required: true content: @@ -31664,9 +31665,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: &235 + default: &236 value: author: login: octocat @@ -31739,8 +31740,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussions#get-a-discussion parameters: - *125 - - *226 - - &236 + - *227 + - &237 name: discussion_number description: The number that identifies the discussion. in: path @@ -31752,9 +31753,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31777,8 +31778,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussions#update-a-discussion parameters: - *125 - - *226 - - *236 + - *227 + - *237 requestBody: required: false content: @@ -31801,9 +31802,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: &504 + default: &505 value: author: login: octocat @@ -31874,8 +31875,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussions#delete-a-discussion parameters: - *125 - - *226 - - *236 + - *227 + - *237 responses: '204': description: Response @@ -31902,8 +31903,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#list-discussion-comments parameters: - *125 - - *226 - - *236 + - *227 + - *237 - *9 - *4 - *5 @@ -31914,7 +31915,7 @@ paths: application/json: schema: type: array - items: &237 + items: &238 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -31994,7 +31995,7 @@ paths: - updated_at - url examples: - default: &505 + default: &506 value: - author: login: octocat @@ -32063,8 +32064,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#create-a-discussion-comment parameters: - *125 - - *226 - - *236 + - *227 + - *237 requestBody: required: true content: @@ -32086,9 +32087,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: - default: &238 + default: &239 value: author: login: octocat @@ -32155,9 +32156,9 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#get-a-discussion-comment parameters: - *125 - - *226 - - *236 - - &239 + - *227 + - *237 + - &240 name: comment_number description: The number that identifies the comment. in: path @@ -32169,9 +32170,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: - default: *238 + default: *239 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32194,9 +32195,9 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#update-a-discussion-comment parameters: - *125 - - *226 - - *236 - - *239 + - *227 + - *237 + - *240 requestBody: required: true content: @@ -32218,9 +32219,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: - default: &506 + default: &507 value: author: login: octocat @@ -32285,9 +32286,9 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *125 - - *226 - - *236 - - *239 + - *227 + - *237 + - *240 responses: '204': description: Response @@ -32314,9 +32315,9 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *125 - - *226 - - *236 - - *239 + - *227 + - *237 + - *240 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -32342,7 +32343,7 @@ paths: application/json: schema: type: array - items: &240 + items: &241 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -32386,7 +32387,7 @@ paths: - content - created_at examples: - default: &242 + default: &243 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -32437,9 +32438,9 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *125 - - *226 - - *236 - - *239 + - *227 + - *237 + - *240 requestBody: required: true content: @@ -32472,9 +32473,9 @@ paths: team discussion comment content: application/json: - schema: *240 + schema: *241 examples: - default: &241 + default: &242 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -32503,9 +32504,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32529,10 +32530,10 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *125 - - *226 - - *236 - - *239 - - &243 + - *227 + - *237 + - *240 + - &244 name: reaction_id description: The unique identifier of the reaction. in: path @@ -32565,8 +32566,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *125 - - *226 - - *236 + - *227 + - *237 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -32592,9 +32593,9 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: - default: *242 + default: *243 headers: Link: *6 x-github: @@ -32621,8 +32622,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *125 - - *226 - - *236 + - *227 + - *237 requestBody: required: true content: @@ -32654,16 +32655,16 @@ paths: description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 '201': description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -32687,9 +32688,9 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#delete-team-discussion-reaction parameters: - *125 - - *226 - - *236 - - *243 + - *227 + - *237 + - *244 responses: '204': description: Response @@ -32713,15 +32714,15 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *125 - - *226 + - *227 responses: '200': description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: *245 + default: *246 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -32741,7 +32742,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *125 - - *226 + - *227 requestBody: required: true content: @@ -32765,9 +32766,9 @@ paths: description: Response content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -32787,7 +32788,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *125 - - *226 + - *227 responses: '204': description: Response @@ -32811,7 +32812,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/members#list-team-members parameters: - *125 - - *226 + - *227 - name: role description: Filters members returned by their role in the team. in: query @@ -32834,7 +32835,7 @@ paths: type: array items: *17 examples: - default: *199 + default: *200 headers: Link: *6 x-github: @@ -32865,14 +32866,14 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/members#get-team-membership-for-a-user parameters: - *125 - - *226 + - *227 - *8 responses: '200': description: Response content: application/json: - schema: &248 + schema: &249 title: Team Membership description: Team Membership type: object @@ -32900,7 +32901,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &507 + response-if-user-is-a-team-maintainer: &508 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -32937,7 +32938,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *125 - - *226 + - *227 - *8 requestBody: required: false @@ -32963,9 +32964,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *249 examples: - response-if-users-membership-with-team-is-now-pending: &508 + response-if-users-membership-with-team-is-now-pending: &509 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -33001,7 +33002,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/members#remove-team-membership-for-a-user parameters: - *125 - - *226 + - *227 - *8 responses: '204': @@ -33029,7 +33030,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#list-team-projects parameters: - *125 - - *226 + - *227 - *4 - *5 responses: @@ -33039,7 +33040,7 @@ paths: application/json: schema: type: array - items: &249 + items: &250 title: Team Project description: A team's access to a project. type: object @@ -33108,7 +33109,7 @@ paths: - updated_at - permissions examples: - default: &509 + default: &510 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -33170,8 +33171,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#check-team-permissions-for-a-project parameters: - *125 - - *226 - - &250 + - *227 + - &251 name: project_id description: The unique identifier of the project. in: path @@ -33183,9 +33184,9 @@ paths: description: Response content: application/json: - schema: *249 + schema: *250 examples: - default: &510 + default: &511 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -33246,8 +33247,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#add-or-update-team-project-permissions parameters: - *125 - - *226 - - *250 + - *227 + - *251 requestBody: required: false content: @@ -33313,8 +33314,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#remove-a-project-from-a-team parameters: - *125 - - *226 - - *250 + - *227 + - *251 responses: '204': description: Response @@ -33339,7 +33340,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#list-team-repositories parameters: - *125 - - *226 + - *227 - *4 - *5 responses: @@ -33351,7 +33352,7 @@ paths: type: array items: *143 examples: - default: *207 + default: *208 headers: Link: *6 x-github: @@ -33381,15 +33382,15 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *125 - - *226 - - *251 + - *227 - *252 + - *253 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &511 + schema: &512 title: Team Repository description: A team's access to a repository. type: object @@ -34031,9 +34032,9 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *125 - - *226 - - *251 + - *227 - *252 + - *253 requestBody: required: false content: @@ -34079,9 +34080,9 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#remove-a-repository-from-a-team parameters: - *125 - - *226 - - *251 + - *227 - *252 + - *253 responses: '204': description: Response @@ -34106,7 +34107,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#list-child-teams parameters: - *125 - - *226 + - *227 - *4 - *5 responses: @@ -34116,9 +34117,9 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - response-if-child-teams-exist: &512 + response-if-child-teams-exist: &513 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -34219,7 +34220,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/cards#get-a-project-card parameters: - - &254 + - &255 name: card_id description: The unique identifier of the card. in: path @@ -34231,7 +34232,7 @@ paths: description: Response content: application/json: - schema: &255 + schema: &256 title: Project Card description: Project cards represent a scope of work. type: object @@ -34306,7 +34307,7 @@ paths: - created_at - updated_at examples: - default: &256 + default: &257 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -34356,7 +34357,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/cards#update-an-existing-project-card parameters: - - *254 + - *255 requestBody: required: false content: @@ -34386,9 +34387,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *256 examples: - default: *256 + default: *257 '304': *37 '403': *38 '401': *36 @@ -34409,7 +34410,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/cards#delete-a-project-card parameters: - - *254 + - *255 responses: '204': description: Response @@ -34447,7 +34448,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/cards#move-a-project-card parameters: - - *254 + - *255 requestBody: required: true content: @@ -34554,7 +34555,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/columns#get-a-project-column parameters: - - &257 + - &258 name: column_id description: The unique identifier of the column. in: path @@ -34566,7 +34567,7 @@ paths: description: Response content: application/json: - schema: &258 + schema: &259 title: Project Column description: Project columns contain cards of work. type: object @@ -34620,7 +34621,7 @@ paths: - created_at - updated_at examples: - default: &259 + default: &260 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -34649,7 +34650,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/columns#update-an-existing-project-column parameters: - - *257 + - *258 requestBody: required: true content: @@ -34674,9 +34675,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - default: *259 + default: *260 '304': *37 '403': *38 '401': *36 @@ -34695,7 +34696,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/columns#delete-a-project-column parameters: - - *257 + - *258 responses: '204': description: Response @@ -34718,7 +34719,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/cards#list-project-cards parameters: - - *257 + - *258 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -34739,7 +34740,7 @@ paths: application/json: schema: type: array - items: *255 + items: *256 examples: default: value: @@ -34792,7 +34793,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/cards#create-a-project-card parameters: - - *257 + - *258 requestBody: required: true content: @@ -34836,9 +34837,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *256 examples: - default: *256 + default: *257 '304': *37 '403': *38 '401': *36 @@ -34888,7 +34889,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/columns#move-a-project-column parameters: - - *257 + - *258 requestBody: required: true content: @@ -34945,15 +34946,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/projects#get-a-project parameters: - - *250 + - *251 responses: '200': description: Response content: application/json: - schema: *217 + schema: *218 examples: - default: &260 + default: &261 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -35006,7 +35007,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/projects#update-a-project parameters: - - *250 + - *251 requestBody: required: false content: @@ -35055,9 +35056,9 @@ paths: description: Response content: application/json: - schema: *217 + schema: *218 examples: - default: *260 + default: *261 '404': description: Not Found if the authenticated user does not have access to the project @@ -35078,7 +35079,7 @@ paths: items: type: string '401': *36 - '410': *218 + '410': *219 '422': *79 x-github: githubCloudOnly: false @@ -35096,7 +35097,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/projects#delete-a-project parameters: - - *250 + - *251 responses: '204': description: Delete Success @@ -35117,7 +35118,7 @@ paths: items: type: string '401': *36 - '410': *218 + '410': *219 '404': *34 x-github: githubCloudOnly: false @@ -35140,7 +35141,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/collaborators#list-project-collaborators parameters: - - *250 + - *251 - 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 @@ -35167,7 +35168,7 @@ paths: type: array items: *17 examples: - default: *199 + default: *200 headers: Link: *6 '404': *34 @@ -35192,7 +35193,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/collaborators#add-project-collaborator parameters: - - *250 + - *251 - *8 requestBody: required: false @@ -35242,7 +35243,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *250 + - *251 - *8 responses: '204': @@ -35271,7 +35272,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *250 + - *251 - *8 responses: '200': @@ -35336,7 +35337,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/columns#list-project-columns parameters: - - *250 + - *251 - *4 - *5 responses: @@ -35346,7 +35347,7 @@ paths: application/json: schema: type: array - items: *258 + items: *259 examples: default: value: @@ -35378,7 +35379,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/columns#create-a-project-column parameters: - - *250 + - *251 requestBody: required: true content: @@ -35402,7 +35403,7 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: default: value: @@ -35463,7 +35464,7 @@ paths: resources: type: object properties: - core: &261 + core: &262 title: Rate Limit type: object properties: @@ -35480,19 +35481,19 @@ paths: - remaining - reset - used - graphql: *261 - search: *261 - code_search: *261 - source_import: *261 - integration_manifest: *261 - code_scanning_upload: *261 - actions_runner_registration: *261 - scim: *261 - code_scanning_autofix: *261 + graphql: *262 + search: *262 + code_search: *262 + source_import: *262 + integration_manifest: *262 + code_scanning_upload: *262 + actions_runner_registration: *262 + scim: *262 + code_scanning_autofix: *262 required: - core - search - rate: *261 + rate: *262 required: - rate - resources @@ -35596,14 +35597,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#get-a-repository parameters: - - *251 - *252 + - *253 responses: '200': description: Response content: application/json: - schema: *262 + schema: *263 examples: default-response: summary: Default response @@ -36102,7 +36103,7 @@ paths: status: disabled '403': *38 '404': *34 - '301': *263 + '301': *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36120,8 +36121,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#update-a-repository parameters: - - *251 - *252 + - *253 requestBody: required: false content: @@ -36335,10 +36336,10 @@ paths: description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: *264 - '307': &265 + default: *265 + '307': &266 description: Temporary Redirect content: application/json: @@ -36383,8 +36384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#delete-a-repository parameters: - - *251 - *252 + - *253 responses: '204': description: Response @@ -36406,7 +36407,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#delete-a-repository - '307': *265 + '307': *266 '404': *34 x-github: githubCloudOnly: false @@ -36429,11 +36430,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *251 - *252 + - *253 - *4 - *5 - - &282 + - &283 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -36456,7 +36457,7 @@ paths: type: integer artifacts: type: array - items: &266 + items: &267 title: Artifact description: An artifact type: object @@ -36542,7 +36543,7 @@ paths: - expires_at - updated_at examples: - default: &283 + default: &284 value: total_count: 2 artifacts: @@ -36601,9 +36602,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/artifacts#get-an-artifact parameters: - - *251 - *252 - - &267 + - *253 + - &268 name: artifact_id description: The unique identifier of the artifact. in: path @@ -36615,7 +36616,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *267 examples: default: value: @@ -36652,9 +36653,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/artifacts#delete-an-artifact parameters: - - *251 - *252 - - *267 + - *253 + - *268 responses: '204': description: Response @@ -36678,9 +36679,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/artifacts#download-an-artifact parameters: - - *251 - *252 - - *267 + - *253 + - *268 - name: archive_format in: path required: true @@ -36694,7 +36695,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': *218 + '410': *219 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36717,14 +36718,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *251 - *252 + - *253 responses: '200': description: Response content: application/json: - schema: *268 + schema: *269 examples: default: value: @@ -36750,14 +36751,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/cache#get-github-actions-cache-usage-policy-for-a-repository parameters: - - *251 - *252 + - *253 responses: '200': description: Response content: application/json: - schema: &269 + schema: &270 title: Actions cache usage policy for repository description: GitHub Actions cache usage policy for repository. type: object @@ -36770,7 +36771,7 @@ paths: required: - repo_cache_size_limit_in_gb examples: - default: &270 + default: &271 value: repo_cache_size_limit_in_gb: 14 x-github: @@ -36791,8 +36792,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/cache#set-github-actions-cache-usage-policy-for-a-repository parameters: - - *251 - *252 + - *253 responses: '204': description: Response @@ -36800,9 +36801,9 @@ paths: required: true content: application/json: - schema: *269 + schema: *270 examples: - selected_actions: *270 + selected_actions: *271 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36822,11 +36823,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *251 - *252 + - *253 - *4 - *5 - - &271 + - &272 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 @@ -36860,7 +36861,7 @@ paths: description: Response content: application/json: - schema: &272 + schema: &273 title: Repository actions caches description: Repository actions caches type: object @@ -36910,7 +36911,7 @@ paths: - total_count - actions_caches examples: - default: &273 + default: &274 value: total_count: 1 actions_caches: @@ -36942,23 +36943,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *251 - *252 + - *253 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *271 + - *272 responses: '200': description: Response content: application/json: - schema: *272 + schema: *273 examples: - default: *273 + default: *274 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36978,8 +36979,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *251 - *252 + - *253 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -37010,9 +37011,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *251 - *252 - - &274 + - *253 + - &275 name: job_id description: The unique identifier of the job. in: path @@ -37024,7 +37025,7 @@ paths: description: Response content: application/json: - schema: &286 + schema: &287 title: Job description: Information of a job execution in a workflow run type: object @@ -37371,9 +37372,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *251 - *252 - - *274 + - *253 + - *275 responses: '302': description: Response @@ -37401,9 +37402,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *251 - *252 - - *274 + - *253 + - *275 requestBody: required: false content: @@ -37449,8 +37450,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *251 - *252 + - *253 responses: '200': description: Status response @@ -37500,8 +37501,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -37564,8 +37565,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#list-repository-organization-secrets parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -37583,7 +37584,7 @@ paths: type: integer secrets: type: array - items: &288 + items: &289 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -37604,7 +37605,7 @@ paths: - created_at - updated_at examples: - default: &289 + default: &290 value: total_count: 2 secrets: @@ -37637,9 +37638,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#list-repository-organization-variables parameters: - - *251 - *252 - - *275 + - *253 + - *276 - *5 responses: '200': @@ -37656,7 +37657,7 @@ paths: type: integer variables: type: array - items: &292 + items: &293 title: Actions Variable type: object properties: @@ -37690,7 +37691,7 @@ paths: - created_at - updated_at examples: - default: &293 + default: &294 value: total_count: 2 variables: @@ -37723,8 +37724,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *251 - *252 + - *253 responses: '200': description: Response @@ -37733,7 +37734,7 @@ paths: schema: type: object properties: - enabled: &276 + enabled: &277 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *64 @@ -37766,8 +37767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *251 - *252 + - *253 responses: '204': description: Response @@ -37778,7 +37779,7 @@ paths: schema: type: object properties: - enabled: *276 + enabled: *277 allowed_actions: *64 required: - enabled @@ -37809,14 +37810,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *251 - *252 + - *253 responses: '200': description: Response content: application/json: - schema: &277 + schema: &278 type: object properties: access_level: @@ -37834,7 +37835,7 @@ paths: required: - access_level examples: - default: &278 + default: &279 value: access_level: organization x-github: @@ -37859,15 +37860,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *251 - *252 + - *253 requestBody: required: true content: application/json: - schema: *277 + schema: *278 examples: - default: *278 + default: *279 responses: '204': description: Response @@ -37891,8 +37892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *251 - *252 + - *253 responses: '200': description: Response @@ -37923,8 +37924,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *251 - *252 + - *253 responses: '204': description: Response @@ -37956,8 +37957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *251 - *252 + - *253 responses: '200': description: Response @@ -37986,8 +37987,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *251 - *252 + - *253 responses: '204': description: Success response @@ -38022,8 +38023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/self-hosted-runners#list-self-hosted-runners-for-a-repository parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -38067,8 +38068,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *251 - *252 + - *253 responses: '200': description: Response @@ -38100,8 +38101,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -38175,8 +38176,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *251 - *252 + - *253 responses: '201': description: Response @@ -38212,8 +38213,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *251 - *252 + - *253 responses: '201': description: Response @@ -38243,8 +38244,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *251 - *252 + - *253 - *76 responses: '200': @@ -38274,8 +38275,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *251 - *252 + - *253 - *76 responses: '204': @@ -38301,8 +38302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *251 - *252 + - *253 - *76 responses: '200': *83 @@ -38327,8 +38328,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *251 - *252 + - *253 - *76 requestBody: required: true @@ -38377,8 +38378,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *251 - *252 + - *253 - *76 requestBody: required: true @@ -38428,8 +38429,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *251 - *252 + - *253 - *76 responses: '200': *150 @@ -38459,8 +38460,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *251 - *252 + - *253 - *76 - *151 responses: @@ -38490,9 +38491,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *251 - *252 - - &296 + - *253 + - &297 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. @@ -38500,7 +38501,7 @@ paths: required: false schema: type: string - - &297 + - &298 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -38508,7 +38509,7 @@ paths: required: false schema: type: string - - &298 + - &299 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -38517,7 +38518,7 @@ paths: required: false schema: type: string - - &299 + - &300 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 @@ -38544,7 +38545,7 @@ paths: - pending - *4 - *5 - - &300 + - &301 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-server@3.10/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -38553,7 +38554,7 @@ paths: schema: type: string format: date-time - - &279 + - &280 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -38562,13 +38563,13 @@ paths: schema: type: boolean default: false - - &301 + - &302 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &302 + - &303 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -38591,7 +38592,7 @@ paths: type: integer workflow_runs: type: array - items: &280 + items: &281 title: Workflow Run description: An invocation of a workflow type: object @@ -38708,7 +38709,7 @@ paths: type: - array - 'null' - items: &320 + items: &321 title: Pull Request Minimal type: object properties: @@ -38835,7 +38836,7 @@ paths: head_commit: anyOf: - type: 'null' - - &324 + - &325 title: Simple Commit description: A commit. type: object @@ -38950,7 +38951,7 @@ paths: - workflow_url - pull_requests examples: - default: &303 + default: &304 value: total_count: 1 workflow_runs: @@ -39186,24 +39187,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *251 - *252 - - &281 + - *253 + - &282 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *279 + - *280 responses: '200': description: Response content: application/json: - schema: *280 + schema: *281 examples: - default: &284 + default: &285 value: id: 30433642 name: Build @@ -39444,9 +39445,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *251 - *252 - - *281 + - *253 + - *282 responses: '204': description: Response @@ -39469,9 +39470,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *251 - *252 - - *281 + - *253 + - *282 responses: '200': description: Response @@ -39601,12 +39602,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *251 - *252 - - *281 + - *253 + - *282 - *4 - *5 - - *282 + - *283 responses: '200': description: Response @@ -39622,9 +39623,9 @@ paths: type: integer artifacts: type: array - items: *266 + items: *267 examples: - default: *283 + default: *284 headers: Link: *6 x-github: @@ -39648,25 +39649,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *251 - *252 - - *281 - - &285 + - *253 + - *282 + - &286 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *279 + - *280 responses: '200': description: Response content: application/json: - schema: *280 + schema: *281 examples: - default: *284 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39689,10 +39690,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *251 - *252 - - *281 - - *285 + - *253 + - *282 + - *286 - *4 - *5 responses: @@ -39710,9 +39711,9 @@ paths: type: integer jobs: type: array - items: *286 + items: *287 examples: - default: &287 + default: &288 value: total_count: 1 jobs: @@ -39825,10 +39826,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *251 - *252 - - *281 - - *285 + - *253 + - *282 + - *286 responses: '302': description: Response @@ -39856,9 +39857,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *251 - *252 - - *281 + - *253 + - *282 responses: '202': description: Response @@ -39891,9 +39892,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *251 - *252 - - *281 + - *253 + - *282 requestBody: required: true content: @@ -39962,9 +39963,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *251 - *252 - - *281 + - *253 + - *282 - 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 @@ -39994,9 +39995,9 @@ paths: type: integer jobs: type: array - items: *286 + items: *287 examples: - default: *287 + default: *288 headers: Link: *6 x-github: @@ -40021,9 +40022,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *251 - *252 - - *281 + - *253 + - *282 responses: '302': description: Response @@ -40050,14 +40051,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *251 - *252 - - *281 + - *253 + - *282 responses: '204': description: Response '403': *38 - '500': *206 + '500': *207 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40079,9 +40080,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *251 - *252 - - *281 + - *253 + - *282 responses: '200': description: Response @@ -40150,7 +40151,7 @@ paths: items: type: object properties: - type: &373 + type: &374 type: string description: The type of reviewer. enum: @@ -40161,7 +40162,7 @@ paths: reviewer: anyOf: - *17 - - *253 + - *254 required: - environment - wait_timer @@ -40236,9 +40237,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *251 - *252 - - *281 + - *253 + - *282 requestBody: required: true content: @@ -40288,7 +40289,7 @@ paths: application/json: schema: type: array - items: &368 + items: &369 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -40400,7 +40401,7 @@ paths: - created_at - updated_at examples: - default: &369 + default: &370 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -40456,9 +40457,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *251 - *252 - - *281 + - *253 + - *282 requestBody: required: false content: @@ -40503,9 +40504,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *251 - *252 - - *281 + - *253 + - *282 requestBody: required: false content: @@ -40553,8 +40554,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#list-repository-secrets parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -40572,9 +40573,9 @@ paths: type: integer secrets: type: array - items: *288 + items: *289 examples: - default: *289 + default: *290 headers: Link: *6 x-github: @@ -40599,16 +40600,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#get-a-repository-public-key parameters: - - *251 - *252 + - *253 responses: '200': description: Response content: application/json: - schema: *290 + schema: *291 examples: - default: *291 + default: *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40630,17 +40631,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#get-a-repository-secret parameters: - - *251 - *252 + - *253 - *153 responses: '200': description: Response content: application/json: - schema: *288 + schema: *289 examples: - default: &386 + default: &387 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -40666,8 +40667,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *251 - *252 + - *253 - *153 requestBody: required: true @@ -40725,8 +40726,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#delete-a-repository-secret parameters: - - *251 - *252 + - *253 - *153 responses: '204': @@ -40752,9 +40753,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#list-repository-variables parameters: - - *251 - *252 - - *275 + - *253 + - *276 - *5 responses: '200': @@ -40771,9 +40772,9 @@ paths: type: integer variables: type: array - items: *292 + items: *293 examples: - default: *293 + default: *294 headers: Link: *6 x-github: @@ -40796,8 +40797,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#create-a-repository-variable parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -40849,17 +40850,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#get-a-repository-variable parameters: - - *251 - *252 + - *253 - *156 responses: '200': description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: &387 + default: &388 value: name: USERNAME value: octocat @@ -40885,8 +40886,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#update-a-repository-variable parameters: - - *251 - *252 + - *253 - *156 requestBody: required: true @@ -40929,8 +40930,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#delete-a-repository-variable parameters: - - *251 - *252 + - *253 - *156 responses: '204': @@ -40956,8 +40957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflows#list-repository-workflows parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -40975,7 +40976,7 @@ paths: type: integer workflows: type: array - items: &294 + items: &295 title: Workflow description: A GitHub Actions workflow type: object @@ -41093,9 +41094,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflows#get-a-workflow parameters: - - *251 - *252 - - &295 + - *253 + - &296 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -41110,7 +41111,7 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -41143,9 +41144,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflows#disable-a-workflow parameters: - - *251 - *252 - - *295 + - *253 + - *296 responses: '204': description: Response @@ -41170,9 +41171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *251 - *252 - - *295 + - *253 + - *296 responses: '204': description: Response @@ -41223,9 +41224,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflows#enable-a-workflow parameters: - - *251 - *252 - - *295 + - *253 + - *296 responses: '204': description: Response @@ -41252,19 +41253,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *251 - *252 - - *295 + - *253 - *296 - *297 - *298 - *299 + - *300 - *4 - *5 - - *300 - - *279 - *301 + - *280 - *302 + - *303 responses: '200': description: Response @@ -41280,9 +41281,9 @@ paths: type: integer workflow_runs: type: array - items: *280 + items: *281 examples: - default: *303 + default: *304 headers: Link: *6 x-github: @@ -41302,8 +41303,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/assignees#list-assignees parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -41315,7 +41316,7 @@ paths: type: array items: *17 examples: - default: *199 + default: *200 headers: Link: *6 '404': *34 @@ -41340,8 +41341,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *251 - *252 + - *253 - name: assignee in: path required: true @@ -41375,8 +41376,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *251 - *252 + - *253 responses: '200': description: Response @@ -41384,7 +41385,7 @@ paths: application/json: schema: type: array - items: &304 + items: &305 title: Autolink reference description: An autolink reference. type: object @@ -41438,8 +41439,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -41478,9 +41479,9 @@ paths: description: response content: application/json: - schema: *304 + schema: *305 examples: - default: &305 + default: &306 value: id: 1 key_prefix: TICKET- @@ -41511,9 +41512,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *251 - *252 - - &306 + - *253 + - &307 name: autolink_id description: The unique identifier of the autolink. in: path @@ -41525,9 +41526,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *305 examples: - default: *305 + default: *306 '404': *34 x-github: githubCloudOnly: false @@ -41547,9 +41548,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *251 - *252 - - *306 + - *253 + - *307 responses: '204': description: Response @@ -41573,8 +41574,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *251 - *252 + - *253 responses: '200': description: Response if Dependabot is enabled @@ -41623,8 +41624,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branches#list-branches parameters: - - *251 - *252 + - *253 - name: protected description: Setting to `true` returns only protected branches. When set to `false`, only unprotected branches are returned. Omitting this parameter @@ -41662,7 +41663,7 @@ paths: - url protected: type: boolean - protection: &308 + protection: &309 title: Branch Protection description: Branch Protection type: object @@ -41705,7 +41706,7 @@ paths: required: - contexts - checks - enforce_admins: &311 + enforce_admins: &312 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -41722,7 +41723,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &313 + required_pull_request_reviews: &314 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -41744,7 +41745,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *253 + items: *254 apps: description: The list of apps with review dismissal access. @@ -41776,7 +41777,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *253 + items: *254 apps: description: The list of apps allowed to bypass pull request requirements. @@ -41806,7 +41807,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &310 + restrictions: &311 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -42131,9 +42132,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branches#get-a-branch parameters: - - *251 - *252 - - &309 + - *253 + - &310 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-server@3.10/graphql). @@ -42147,14 +42148,14 @@ paths: description: Response content: application/json: - schema: &319 + schema: &320 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &347 + commit: &348 title: Commit description: Commit type: object @@ -42193,7 +42194,7 @@ paths: author: anyOf: - type: 'null' - - &307 + - &308 title: Git User description: Metaproperties for Git author/committer information. @@ -42214,7 +42215,7 @@ paths: committer: anyOf: - type: 'null' - - *307 + - *308 message: type: string examples: @@ -42238,7 +42239,7 @@ paths: required: - sha - url - verification: &393 + verification: &394 title: Verification type: object properties: @@ -42313,7 +42314,7 @@ paths: type: integer files: type: array - items: &357 + items: &358 title: Diff Entry description: Diff Entry type: object @@ -42407,7 +42408,7 @@ paths: - self protected: type: boolean - protection: *308 + protection: *309 protection_url: type: string format: uri @@ -42513,7 +42514,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *263 + '301': *264 '404': *34 x-github: githubCloudOnly: false @@ -42535,15 +42536,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#get-branch-protection parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '200': description: Response content: application/json: - schema: *308 + schema: *309 examples: default: value: @@ -42737,9 +42738,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#update-branch-protection parameters: - - *251 - *252 - - *309 + - *253 + - *310 requestBody: required: true content: @@ -42999,7 +43000,7 @@ paths: url: type: string format: uri - required_status_checks: &316 + required_status_checks: &317 title: Status Check Policy description: Status Check Policy type: object @@ -43080,7 +43081,7 @@ paths: items: *17 teams: type: array - items: *253 + items: *254 apps: type: array items: *20 @@ -43098,7 +43099,7 @@ paths: items: *17 teams: type: array - items: *253 + items: *254 apps: type: array items: *20 @@ -43158,7 +43159,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *310 + restrictions: *311 required_conversation_resolution: type: object properties: @@ -43270,9 +43271,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#delete-branch-protection parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '204': description: Response @@ -43297,17 +43298,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: &312 + default: &313 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -43329,17 +43330,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *312 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43358,9 +43359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '204': description: Response @@ -43385,17 +43386,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '200': description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: &314 + default: &315 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -43491,9 +43492,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *251 - *252 - - *309 + - *253 + - *310 requestBody: required: false content: @@ -43591,9 +43592,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 '422': *29 x-github: githubCloudOnly: false @@ -43614,9 +43615,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '204': description: Response @@ -43643,17 +43644,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: &315 + default: &316 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -43676,17 +43677,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *315 + default: *316 '404': *34 x-github: githubCloudOnly: false @@ -43706,9 +43707,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '204': description: Response @@ -43733,17 +43734,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#get-status-checks-protection parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '200': description: Response content: application/json: - schema: *316 + schema: *317 examples: - default: &317 + default: &318 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -43769,9 +43770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#update-status-check-protection parameters: - - *251 - *252 - - *309 + - *253 + - *310 requestBody: required: false content: @@ -43823,9 +43824,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 '404': *34 '422': *29 x-github: @@ -43847,9 +43848,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#remove-status-check-protection parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '204': description: Response @@ -43873,9 +43874,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '200': description: Response @@ -43909,9 +43910,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#add-status-check-contexts parameters: - - *251 - *252 - - *309 + - *253 + - *310 requestBody: required: false content: @@ -43978,9 +43979,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#set-status-check-contexts parameters: - - *251 - *252 - - *309 + - *253 + - *310 requestBody: required: false content: @@ -44044,9 +44045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *251 - *252 - - *309 + - *253 + - *310 requestBody: content: application/json: @@ -44112,15 +44113,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#get-access-restrictions parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '200': description: Response content: application/json: - schema: *310 + schema: *311 examples: default: value: @@ -44211,9 +44212,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#delete-access-restrictions parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '204': description: Response @@ -44236,9 +44237,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '200': description: Response @@ -44248,7 +44249,7 @@ paths: type: array items: *20 examples: - default: &318 + default: &319 value: - id: 1 slug: octoapp @@ -44305,9 +44306,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *251 - *252 - - *309 + - *253 + - *310 requestBody: required: true content: @@ -44341,7 +44342,7 @@ paths: type: array items: *20 examples: - default: *318 + default: *319 '422': *29 x-github: githubCloudOnly: false @@ -44362,9 +44363,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *251 - *252 - - *309 + - *253 + - *310 requestBody: required: true content: @@ -44398,7 +44399,7 @@ paths: type: array items: *20 examples: - default: *318 + default: *319 '422': *29 x-github: githubCloudOnly: false @@ -44419,9 +44420,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *251 - *252 - - *309 + - *253 + - *310 requestBody: required: true content: @@ -44455,7 +44456,7 @@ paths: type: array items: *20 examples: - default: *318 + default: *319 '422': *29 x-github: githubCloudOnly: false @@ -44477,9 +44478,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '200': description: Response @@ -44487,9 +44488,9 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: *231 + default: *232 '404': *34 x-github: githubCloudOnly: false @@ -44509,9 +44510,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *251 - *252 - - *309 + - *253 + - *310 requestBody: required: false content: @@ -44547,9 +44548,9 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: *231 + default: *232 '422': *29 x-github: githubCloudOnly: false @@ -44570,9 +44571,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *251 - *252 - - *309 + - *253 + - *310 requestBody: required: false content: @@ -44608,9 +44609,9 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: *231 + default: *232 '422': *29 x-github: githubCloudOnly: false @@ -44631,9 +44632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *251 - *252 - - *309 + - *253 + - *310 requestBody: content: application/json: @@ -44668,9 +44669,9 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: *231 + default: *232 '422': *29 x-github: githubCloudOnly: false @@ -44692,9 +44693,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '200': description: Response @@ -44704,7 +44705,7 @@ paths: type: array items: *17 examples: - default: *199 + default: *200 '404': *34 x-github: githubCloudOnly: false @@ -44728,9 +44729,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *251 - *252 - - *309 + - *253 + - *310 requestBody: required: true content: @@ -44763,7 +44764,7 @@ paths: type: array items: *17 examples: - default: *199 + default: *200 '422': *29 x-github: githubCloudOnly: false @@ -44788,9 +44789,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *251 - *252 - - *309 + - *253 + - *310 requestBody: required: true content: @@ -44823,7 +44824,7 @@ paths: type: array items: *17 examples: - default: *199 + default: *200 '422': *29 x-github: githubCloudOnly: false @@ -44848,9 +44849,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *251 - *252 - - *309 + - *253 + - *310 requestBody: required: true content: @@ -44883,7 +44884,7 @@ paths: type: array items: *17 examples: - default: *199 + default: *200 '422': *29 x-github: githubCloudOnly: false @@ -44910,9 +44911,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branches#rename-a-branch parameters: - - *251 - *252 - - *309 + - *253 + - *310 requestBody: required: true content: @@ -44934,7 +44935,7 @@ paths: description: Response content: application/json: - schema: *319 + schema: *320 examples: default: value: @@ -45047,8 +45048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/runs#create-a-check-run parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -45327,7 +45328,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &322 title: CheckRun description: A check performed on the code of a given code change type: object @@ -45462,8 +45463,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *320 - deployment: &546 + items: *321 + deployment: &547 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -45750,9 +45751,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/runs#get-a-check-run parameters: - - *251 - *252 - - &322 + - *253 + - &323 name: check_run_id description: The unique identifier of the check run. in: path @@ -45764,9 +45765,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: &323 + default: &324 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -45866,9 +45867,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/runs#update-a-check-run parameters: - - *251 - *252 - - *322 + - *253 + - *323 requestBody: required: true content: @@ -46108,9 +46109,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *323 + default: *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46130,9 +46131,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/runs#list-check-run-annotations parameters: - - *251 - *252 - - *322 + - *253 + - *323 - *4 - *5 responses: @@ -46244,9 +46245,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/runs#rerequest-a-check-run parameters: - - *251 - *252 - - *322 + - *253 + - *323 responses: '201': description: Response @@ -46290,8 +46291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/suites#create-a-check-suite parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -46313,7 +46314,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &325 + schema: &326 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -46395,7 +46396,7 @@ paths: type: - array - 'null' - items: *320 + items: *321 app: anyOf: - type: 'null' @@ -46411,7 +46412,7 @@ paths: - string - 'null' format: date-time - head_commit: *324 + head_commit: *325 latest_check_runs_count: type: integer check_runs_url: @@ -46439,7 +46440,7 @@ paths: - check_runs_url - pull_requests examples: - default: &326 + default: &327 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -46730,9 +46731,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *325 + schema: *326 examples: - default: *326 + default: *327 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46751,8 +46752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -47061,9 +47062,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/suites#get-a-check-suite parameters: - - *251 - *252 - - &327 + - *253 + - &328 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -47075,9 +47076,9 @@ paths: description: Response content: application/json: - schema: *325 + schema: *326 examples: - default: *326 + default: *327 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47100,17 +47101,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *251 - *252 - - *327 - - &354 + - *253 + - *328 + - &355 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &355 + - &356 name: status description: Returns check runs with the specified `status`. in: query @@ -47149,9 +47150,9 @@ paths: type: integer check_runs: type: array - items: *321 + items: *322 examples: - default: &356 + default: &357 value: total_count: 1 check_runs: @@ -47253,9 +47254,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/suites#rerequest-a-check-suite parameters: - - *251 - *252 - - *327 + - *253 + - *328 responses: '201': description: Response @@ -47288,20 +47289,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *251 - *252 - - *167 + - *253 - *168 + - *169 - *5 - *4 - - &338 + - &339 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: *328 + schema: *329 - *9 - name: sort description: The property by which to sort the results. @@ -47318,13 +47319,13 @@ paths: be returned. in: query required: false - schema: *169 + schema: *170 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *329 + schema: *330 responses: '200': description: Response @@ -47340,7 +47341,7 @@ paths: updated_at: *95 url: *92 html_url: *93 - instances_url: *330 + instances_url: *331 state: *86 fixed_at: *97 dismissed_by: @@ -47348,11 +47349,11 @@ paths: - type: 'null' - *17 dismissed_at: *96 - dismissed_reason: *331 - dismissed_comment: *332 - rule: *333 - tool: *334 - most_recent_instance: *335 + dismissed_reason: *332 + dismissed_comment: *333 + rule: *334 + tool: *335 + most_recent_instance: *336 required: - number - created_at @@ -47468,7 +47469,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': *229 + '403': *230 '404': *34 '503': *99 x-github: @@ -47490,9 +47491,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *251 - *252 - - &336 + - *253 + - &337 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -47506,7 +47507,7 @@ paths: description: Response content: application/json: - schema: &337 + schema: &338 type: object properties: number: *89 @@ -47514,7 +47515,7 @@ paths: updated_at: *95 url: *92 html_url: *93 - instances_url: *330 + instances_url: *331 state: *86 fixed_at: *97 dismissed_by: @@ -47522,8 +47523,8 @@ paths: - type: 'null' - *17 dismissed_at: *96 - dismissed_reason: *331 - dismissed_comment: *332 + dismissed_reason: *332 + dismissed_comment: *333 rule: type: object properties: @@ -47585,8 +47586,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *334 - most_recent_instance: *335 + tool: *335 + most_recent_instance: *336 required: - number - created_at @@ -47675,7 +47676,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *229 + '403': *230 '404': *34 '503': *99 x-github: @@ -47695,9 +47696,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *251 - *252 - - *336 + - *253 + - *337 requestBody: required: true content: @@ -47712,8 +47713,8 @@ paths: enum: - open - dismissed - dismissed_reason: *331 - dismissed_comment: *332 + dismissed_reason: *332 + dismissed_comment: *333 required: - state examples: @@ -47728,7 +47729,7 @@ paths: description: Response content: application/json: - schema: *337 + schema: *338 examples: default: value: @@ -47803,7 +47804,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &343 + '403': &344 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -47830,12 +47831,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *251 - *252 - - *336 + - *253 + - *337 - *5 - *4 - - *338 + - *339 responses: '200': description: Response @@ -47843,7 +47844,7 @@ paths: application/json: schema: type: array - items: *335 + items: *336 examples: default: value: @@ -47882,7 +47883,7 @@ paths: end_column: 50 classifications: - source - '403': *229 + '403': *230 '404': *34 '503': *99 x-github: @@ -47916,10 +47917,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *251 - *252 - - *167 + - *253 - *168 + - *169 - *5 - *4 - name: ref @@ -47928,12 +47929,12 @@ paths: for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *328 + schema: *329 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &341 + schema: &342 type: string description: An identifier for the upload. examples: @@ -47955,23 +47956,23 @@ paths: application/json: schema: type: array - items: &342 + items: &343 type: object properties: - ref: *328 - commit_sha: &344 + ref: *329 + commit_sha: &345 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: *339 + analysis_key: *340 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *340 + category: *341 error: type: string examples: @@ -47996,8 +47997,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *341 - tool: *334 + sarif_id: *342 + tool: *335 deletable: type: boolean warning: @@ -48059,7 +48060,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *229 + '403': *230 '404': *34 '503': *99 x-github: @@ -48095,8 +48096,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *251 - *252 + - *253 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -48109,7 +48110,7 @@ paths: description: Response content: application/json: - schema: *342 + schema: *343 examples: response: summary: application/json response @@ -48163,7 +48164,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *229 + '403': *230 '404': *34 '503': *99 x-github: @@ -48245,8 +48246,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *251 - *252 + - *253 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -48302,7 +48303,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': *28 - '403': *343 + '403': *344 '404': *34 '503': *99 x-github: @@ -48324,8 +48325,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *251 - *252 + - *253 responses: '200': description: Response @@ -48382,7 +48383,7 @@ paths: - python query_suite: default updated_at: '2023-01-19T11:21:34Z' - '403': *229 + '403': *230 '404': *34 '503': *99 x-github: @@ -48403,8 +48404,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -48475,7 +48476,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *343 + '403': *344 '404': *34 '409': description: Response if there is already a validation run in progress with @@ -48540,8 +48541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -48549,7 +48550,7 @@ paths: schema: type: object properties: - commit_sha: *344 + commit_sha: *345 ref: type: string description: |- @@ -48604,7 +48605,7 @@ paths: schema: type: object properties: - id: *341 + id: *342 url: type: string description: The REST API URL for checking the status of the upload. @@ -48618,7 +48619,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': *343 + '403': *344 '404': *34 '413': description: Payload Too Large if the sarif field is too large @@ -48641,8 +48642,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *251 - *252 + - *253 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -48690,7 +48691,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': *229 + '403': *230 '404': description: Not Found if the sarif id does not match any upload '503': *99 @@ -48715,8 +48716,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#list-codeowners-errors parameters: - - *251 - *252 + - *253 - 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 @@ -48847,8 +48848,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *251 - *252 + - *253 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -48886,7 +48887,7 @@ paths: application/json: schema: type: array - items: &345 + items: &346 title: Collaborator description: Collaborator type: object @@ -49078,8 +49079,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *251 - *252 + - *253 - *8 responses: '204': @@ -49116,8 +49117,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *251 - *252 + - *253 - *8 requestBody: required: false @@ -49183,8 +49184,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *251 - *252 + - *253 - *8 responses: '204': @@ -49214,8 +49215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *251 - *252 + - *253 - *8 responses: '200': @@ -49236,7 +49237,7 @@ paths: user: anyOf: - type: 'null' - - *345 + - *346 required: - permission - role_name @@ -49290,8 +49291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -49301,7 +49302,7 @@ paths: application/json: schema: type: array - items: &346 + items: &347 title: Commit Comment description: Commit Comment type: object @@ -49359,7 +49360,7 @@ paths: - created_at - updated_at examples: - default: &349 + default: &350 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -49418,17 +49419,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/comments#get-a-commit-comment parameters: - - *251 - *252 + - *253 - *113 responses: '200': description: Response content: application/json: - schema: *346 + schema: *347 examples: - default: &350 + default: &351 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -49485,8 +49486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/comments#update-a-commit-comment parameters: - - *251 - *252 + - *253 - *113 requestBody: required: true @@ -49509,7 +49510,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *347 examples: default: value: @@ -49560,8 +49561,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/comments#delete-a-commit-comment parameters: - - *251 - *252 + - *253 - *113 responses: '204': @@ -49583,8 +49584,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *251 - *252 + - *253 - *113 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#about-reactions). @@ -49611,9 +49612,9 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: - default: *242 + default: *243 headers: Link: *6 '404': *34 @@ -49634,8 +49635,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *251 - *252 + - *253 - *113 requestBody: required: true @@ -49668,16 +49669,16 @@ paths: description: Reaction exists content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 '201': description: Reaction created content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 '422': *29 x-github: githubCloudOnly: false @@ -49699,10 +49700,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *251 - *252 + - *253 - *113 - - *243 + - *244 responses: '204': description: Response @@ -49751,8 +49752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/commits#list-commits parameters: - - *251 - *252 + - *253 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -49808,9 +49809,9 @@ paths: application/json: schema: type: array - items: *347 + items: *348 examples: - default: &450 + default: &451 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -49880,7 +49881,7 @@ paths: sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: Link: *6 - '500': *206 + '500': *207 '400': *28 '404': *34 '409': *130 @@ -49903,9 +49904,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/commits#list-branches-for-head-commit parameters: - - *251 - *252 - - &348 + - *253 + - &349 name: commit_sha description: The SHA of the commit. in: path @@ -49977,9 +49978,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/comments#list-commit-comments parameters: - - *251 - *252 - - *348 + - *253 + - *349 - *4 - *5 responses: @@ -49989,9 +49990,9 @@ paths: application/json: schema: type: array - items: *346 + items: *347 examples: - default: *349 + default: *350 headers: Link: *6 x-github: @@ -50019,9 +50020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/comments#create-a-commit-comment parameters: - - *251 - *252 - - *348 + - *253 + - *349 requestBody: required: true content: @@ -50056,9 +50057,9 @@ paths: description: Response content: application/json: - schema: *346 + schema: *347 examples: - default: *350 + default: *351 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -50086,9 +50087,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *251 - *252 - - *348 + - *253 + - *349 - *4 - *5 responses: @@ -50098,7 +50099,7 @@ paths: application/json: schema: type: array - items: &440 + items: &441 title: Pull Request Simple description: Pull Request Simple type: object @@ -50218,7 +50219,7 @@ paths: milestone: anyOf: - type: 'null' - - *351 + - *352 active_lock_reason: type: - string @@ -50273,7 +50274,7 @@ paths: type: - array - 'null' - items: *253 + items: *254 head: type: object properties: @@ -50317,7 +50318,7 @@ paths: _links: type: object properties: - comments: &352 + comments: &353 title: Link description: Hypermedia Link type: object @@ -50326,13 +50327,13 @@ paths: type: string required: - href - commits: *352 - statuses: *352 - html: *352 - issue: *352 - review_comments: *352 - review_comment: *352 - self: *352 + commits: *353 + statuses: *353 + html: *353 + issue: *353 + review_comments: *353 + review_comment: *353 + self: *353 required: - comments - commits @@ -50343,7 +50344,7 @@ paths: - review_comment - self author_association: *101 - auto_merge: &442 + auto_merge: &443 title: Auto merge description: The status of auto merging a pull request. type: @@ -50408,7 +50409,7 @@ paths: - author_association - auto_merge examples: - default: &441 + default: &442 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -50945,11 +50946,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/commits#get-a-commit parameters: - - *251 - *252 + - *253 - *5 - *4 - - &353 + - &354 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)" @@ -50964,9 +50965,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *348 examples: - default: &427 + default: &428 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -51049,7 +51050,7 @@ paths: ..... '422': *29 '404': *34 - '500': *206 + '500': *207 '503': *99 '409': *130 x-github: @@ -51076,11 +51077,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *251 - *252 - - *353 + - *253 - *354 - *355 + - *356 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -51114,9 +51115,9 @@ paths: type: integer check_runs: type: array - items: *321 + items: *322 examples: - default: *356 + default: *357 headers: Link: *6 x-github: @@ -51141,9 +51142,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *251 - *252 - - *353 + - *253 + - *354 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -51151,7 +51152,7 @@ paths: schema: type: integer example: 1 - - *354 + - *355 - *4 - *5 responses: @@ -51169,7 +51170,7 @@ paths: type: integer check_suites: type: array - items: *325 + items: *326 examples: default: value: @@ -51369,9 +51370,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *251 - *252 - - *353 + - *253 + - *354 - *4 - *5 responses: @@ -51573,9 +51574,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *251 - *252 - - *353 + - *253 + - *354 - *4 - *5 responses: @@ -51585,7 +51586,7 @@ paths: application/json: schema: type: array - items: &470 + items: &471 title: Status description: The status of a commit. type: object @@ -51666,7 +51667,7 @@ paths: site_admin: false headers: Link: *6 - '301': *263 + '301': *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51734,8 +51735,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/commits#compare-two-commits parameters: - - *251 - *252 + - *253 - *5 - *4 - name: basehead @@ -51783,8 +51784,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *347 - merge_base_commit: *347 + base_commit: *348 + merge_base_commit: *348 status: type: string enum: @@ -51808,10 +51809,10 @@ paths: - 6 commits: type: array - items: *347 + items: *348 files: type: array - items: *357 + items: *358 required: - url - html_url @@ -52047,7 +52048,7 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *34 - '500': *206 + '500': *207 '503': *99 x-github: githubCloudOnly: false @@ -52090,8 +52091,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/contents#get-repository-content parameters: - - *251 - *252 + - *253 - name: path description: path parameter in: path @@ -52242,7 +52243,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &358 + response-if-content-is-a-file: &359 summary: Response if content is a file value: type: file @@ -52379,7 +52380,7 @@ paths: - size - type - url - - &455 + - &456 title: Content File description: Content File type: object @@ -52597,7 +52598,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *358 + response-if-content-is-a-file: *359 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -52666,7 +52667,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *34 '403': *38 - '302': &459 + '302': &460 description: Found '304': *37 x-github: @@ -52690,8 +52691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/contents#create-or-update-file-contents parameters: - - *251 - *252 + - *253 - name: path description: path parameter in: path @@ -52786,7 +52787,7 @@ paths: description: Response content: application/json: - schema: &359 + schema: &360 title: File Commit description: File Commit type: object @@ -52935,7 +52936,7 @@ paths: description: Response content: application/json: - schema: *359 + schema: *360 examples: example-for-creating-a-file: value: @@ -52986,7 +52987,7 @@ paths: schema: oneOf: - *27 - - &388 + - &389 description: Repository rule violation was detected type: object properties: @@ -53039,8 +53040,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/contents#delete-a-file parameters: - - *251 - *252 + - *253 - name: path description: path parameter in: path @@ -53101,7 +53102,7 @@ paths: description: Response content: application/json: - schema: *359 + schema: *360 examples: default: value: @@ -53152,8 +53153,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#list-repository-contributors parameters: - - *251 - *252 + - *253 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -53277,20 +53278,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *251 - *252 - - *175 + - *253 - *176 - *177 - *178 + - *179 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *179 - *180 + - *181 - *9 responses: '200': @@ -53299,7 +53300,7 @@ paths: application/json: schema: type: array - items: &362 + items: &363 type: object description: A Dependabot alert. properties: @@ -53334,7 +53335,7 @@ paths: - development - runtime - - security_advisory: *360 + security_advisory: *361 security_vulnerability: *91 url: *92 html_url: *93 @@ -53365,7 +53366,7 @@ paths: dismissal. maxLength: 280 fixed_at: *97 - auto_dismissed_at: *361 + auto_dismissed_at: *362 required: - number - state @@ -53592,9 +53593,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *251 - *252 - - &363 + - *253 + - &364 name: alert_number in: path description: |- @@ -53609,7 +53610,7 @@ paths: description: Response content: application/json: - schema: *362 + schema: *363 examples: default: value: @@ -53713,9 +53714,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *251 - *252 - - *363 + - *253 + - *364 requestBody: required: true content: @@ -53760,7 +53761,7 @@ paths: description: Response content: application/json: - schema: *362 + schema: *363 examples: default: value: @@ -53889,8 +53890,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/secrets#list-repository-secrets parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -53908,7 +53909,7 @@ paths: type: integer secrets: type: array - items: &366 + items: &367 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -53962,16 +53963,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *251 - *252 + - *253 responses: '200': description: Response content: application/json: - schema: *364 + schema: *365 examples: - default: *365 + default: *366 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53991,15 +53992,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/secrets#get-a-repository-secret parameters: - - *251 - *252 + - *253 - *153 responses: '200': description: Response content: application/json: - schema: *366 + schema: *367 examples: default: value: @@ -54025,8 +54026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *251 - *252 + - *253 - *153 requestBody: required: true @@ -54079,8 +54080,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *251 - *252 + - *253 - *153 responses: '204': @@ -54103,8 +54104,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *251 - *252 + - *253 - 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 @@ -54278,8 +54279,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *251 - *252 + - *253 responses: '200': description: Response @@ -54528,8 +54529,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -54612,7 +54613,7 @@ paths: - version - url additionalProperties: false - metadata: &367 + metadata: &368 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -54651,7 +54652,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *367 + metadata: *368 resolved: type: object description: A collection of resolved package dependencies. @@ -54665,7 +54666,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *367 + metadata: *368 relationship: type: string description: A notation of whether a dependency is requested @@ -54798,8 +54799,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments#list-deployments parameters: - - *251 - *252 + - *253 - name: sha description: The SHA recorded at creation time. in: query @@ -54840,9 +54841,9 @@ paths: application/json: schema: type: array - items: *368 + items: *369 examples: - default: *369 + default: *370 headers: Link: *6 x-github: @@ -54908,8 +54909,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments#create-a-deployment parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -54991,7 +54992,7 @@ paths: description: Response content: application/json: - schema: *368 + schema: *369 examples: simple-example: summary: Simple example @@ -55064,9 +55065,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments#get-a-deployment parameters: - - *251 - *252 - - &370 + - *253 + - &371 name: deployment_id description: deployment_id parameter in: path @@ -55078,7 +55079,7 @@ paths: description: Response content: application/json: - schema: *368 + schema: *369 examples: default: value: @@ -55143,9 +55144,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments#delete-a-deployment parameters: - - *251 - *252 - - *370 + - *253 + - *371 responses: '204': description: Response @@ -55167,9 +55168,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/statuses#list-deployment-statuses parameters: - - *251 - *252 - - *370 + - *253 + - *371 - *4 - *5 responses: @@ -55179,7 +55180,7 @@ paths: application/json: schema: type: array - items: &371 + items: &372 title: Deployment Status description: The status of a deployment. type: object @@ -55343,9 +55344,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/statuses#create-a-deployment-status parameters: - - *251 - *252 - - *370 + - *253 + - *371 requestBody: required: true content: @@ -55420,9 +55421,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *372 examples: - default: &372 + default: &373 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -55478,9 +55479,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/statuses#get-a-deployment-status parameters: - - *251 - *252 - - *370 + - *253 + - *371 - name: status_id in: path required: true @@ -55491,9 +55492,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *372 examples: - default: *372 + default: *373 '404': *34 x-github: githubCloudOnly: false @@ -55518,8 +55519,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -55576,8 +55577,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/environments#list-environments parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -55595,7 +55596,7 @@ paths: - 5 environments: type: array - items: &374 + items: &375 title: Environment description: Details of a deployment environment type: object @@ -55657,7 +55658,7 @@ paths: type: string examples: - wait_timer - wait_timer: &376 + wait_timer: &377 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -55693,11 +55694,11 @@ paths: items: type: object properties: - type: *373 + type: *374 reviewer: anyOf: - *17 - - *253 + - *254 required: - id - node_id @@ -55720,7 +55721,7 @@ paths: - id - node_id - type - deployment_branch_policy: &377 + deployment_branch_policy: &378 type: - object - 'null' @@ -55835,9 +55836,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/environments#get-an-environment parameters: - - *251 - *252 - - &375 + - *253 + - &376 name: environment_name in: path required: true @@ -55850,9 +55851,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *375 examples: - default: &378 + default: &379 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -55934,9 +55935,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/environments#create-or-update-an-environment parameters: - - *251 - *252 - - *375 + - *253 + - *376 requestBody: required: false content: @@ -55946,7 +55947,7 @@ paths: - object - 'null' properties: - wait_timer: *376 + wait_timer: *377 reviewers: type: - array @@ -55959,14 +55960,14 @@ paths: items: type: object properties: - type: *373 + type: *374 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *377 + deployment_branch_policy: *378 additionalProperties: false examples: default: @@ -55985,9 +55986,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *375 examples: - default: *378 + default: *379 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -56011,9 +56012,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/environments#delete-an-environment parameters: - - *251 - *252 - - *375 + - *253 + - *376 responses: '204': description: Default response @@ -56038,9 +56039,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *251 - *252 - - *375 + - *253 + - *376 - *4 - *5 responses: @@ -56059,7 +56060,7 @@ paths: - 2 branch_policies: type: array - items: &379 + items: &380 title: Deployment branch policy description: Details of a deployment branch policy. type: object @@ -56111,9 +56112,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *251 - *252 - - *375 + - *253 + - *376 requestBody: required: true content: @@ -56147,9 +56148,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *380 examples: - example-wildcard: &380 + example-wildcard: &381 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -56185,10 +56186,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *251 - *252 - - *375 - - &381 + - *253 + - *376 + - &382 name: branch_policy_id in: path required: true @@ -56200,9 +56201,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *380 examples: - default: *380 + default: *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56221,10 +56222,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *251 - *252 - - *375 - - *381 + - *253 + - *376 + - *382 requestBody: required: true content: @@ -56253,9 +56254,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *380 examples: - default: *380 + default: *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56274,10 +56275,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *251 - *252 - - *375 - - *381 + - *253 + - *376 + - *382 responses: '204': description: Response @@ -56302,9 +56303,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *375 + - *376 + - *253 - *252 - - *251 responses: '200': description: List of deployment protection rules @@ -56321,7 +56322,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &382 + items: &383 title: Deployment protection rule description: Deployment protection rule type: object @@ -56343,7 +56344,7 @@ paths: for the environment. examples: - true - app: &383 + app: &384 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -56446,9 +56447,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *375 + - *376 + - *253 - *252 - - *251 requestBody: content: application/json: @@ -56469,9 +56470,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *382 + schema: *383 examples: - default: &384 + default: &385 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -56506,9 +56507,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *375 + - *376 + - *253 - *252 - - *251 - *5 - *4 responses: @@ -56528,7 +56529,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *383 + items: *384 examples: default: value: @@ -56563,10 +56564,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *251 - *252 - - *375 - - &385 + - *253 + - *376 + - &386 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -56578,9 +56579,9 @@ paths: description: Response content: application/json: - schema: *382 + schema: *383 examples: - default: *384 + default: *385 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56601,10 +56602,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *375 + - *376 + - *253 - *252 - - *251 - - *385 + - *386 responses: '204': description: Response @@ -56630,9 +56631,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#list-environment-secrets parameters: - - *251 - *252 - - *375 + - *253 + - *376 - *4 - *5 responses: @@ -56650,9 +56651,9 @@ paths: type: integer secrets: type: array - items: *288 + items: *289 examples: - default: *289 + default: *290 headers: Link: *6 x-github: @@ -56677,17 +56678,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#get-an-environment-public-key parameters: - - *251 - *252 - - *375 + - *253 + - *376 responses: '200': description: Response content: application/json: - schema: *290 + schema: *291 examples: - default: *291 + default: *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56709,18 +56710,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#get-an-environment-secret parameters: - - *251 - *252 - - *375 + - *253 + - *376 - *153 responses: '200': description: Response content: application/json: - schema: *288 + schema: *289 examples: - default: *386 + default: *387 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56742,9 +56743,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *251 - *252 - - *375 + - *253 + - *376 - *153 requestBody: required: true @@ -56802,9 +56803,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#delete-an-environment-secret parameters: - - *251 - *252 - - *375 + - *253 + - *376 - *153 responses: '204': @@ -56830,10 +56831,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#list-environment-variables parameters: - - *251 - *252 - - *375 - - *275 + - *253 + - *376 + - *276 - *5 responses: '200': @@ -56850,9 +56851,9 @@ paths: type: integer variables: type: array - items: *292 + items: *293 examples: - default: *293 + default: *294 headers: Link: *6 x-github: @@ -56875,9 +56876,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#create-an-environment-variable parameters: - - *251 - *252 - - *375 + - *253 + - *376 requestBody: required: true content: @@ -56929,18 +56930,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#get-an-environment-variable parameters: - - *251 - *252 - - *375 + - *253 + - *376 - *156 responses: '200': description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *387 + default: *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56961,10 +56962,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#update-an-environment-variable parameters: - - *251 - *252 + - *253 - *156 - - *375 + - *376 requestBody: required: true content: @@ -57006,10 +57007,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#delete-an-environment-variable parameters: - - *251 - *252 + - *253 - *156 - - *375 + - *376 responses: '204': description: Response @@ -57031,8 +57032,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/events#list-repository-events parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -57109,8 +57110,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/forks#list-forks parameters: - - *251 - *252 + - *253 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -57269,8 +57270,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/forks#create-a-fork parameters: - - *251 - *252 + - *253 requestBody: required: false content: @@ -57303,9 +57304,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: *264 + default: *265 '400': *28 '422': *29 '403': *38 @@ -57326,8 +57327,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/blobs#create-a-blob parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -57387,7 +57388,7 @@ paths: schema: oneOf: - *128 - - *388 + - *389 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57412,8 +57413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/blobs#get-a-blob parameters: - - *251 - *252 + - *253 - name: file_sha in: path required: true @@ -57513,8 +57514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/commits#create-a-commit parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -57623,7 +57624,7 @@ paths: description: Response content: application/json: - schema: &389 + schema: &390 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -57842,15 +57843,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/commits#get-a-commit-object parameters: - - *251 - *252 - - *348 + - *253 + - *349 responses: '200': description: Response content: application/json: - schema: *389 + schema: *390 examples: default: value: @@ -57903,9 +57904,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/refs#list-matching-references parameters: - - *251 - *252 - - &390 + - *253 + - &391 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -57922,7 +57923,7 @@ paths: application/json: schema: type: array - items: &391 + items: &392 title: Git Reference description: Git references within a repository type: object @@ -57998,17 +57999,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/refs#get-a-reference parameters: - - *251 - *252 - - *390 + - *253 + - *391 responses: '200': description: Response content: application/json: - schema: *391 + schema: *392 examples: - default: &392 + default: &393 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -58037,8 +58038,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/refs#create-a-reference parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -58067,9 +58068,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *392 examples: - default: *392 + default: *393 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -58095,9 +58096,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/refs#update-a-reference parameters: - - *251 - *252 - - *390 + - *253 + - *391 requestBody: required: true content: @@ -58126,9 +58127,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *392 examples: - default: *392 + default: *393 '422': *29 '409': *130 x-github: @@ -58146,9 +58147,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/refs#delete-a-reference parameters: - - *251 - *252 - - *390 + - *253 + - *391 responses: '204': description: Response @@ -58201,8 +58202,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/tags#create-a-tag-object parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -58269,7 +58270,7 @@ paths: description: Response content: application/json: - schema: &394 + schema: &395 title: Git Tag description: Metadata for a Git tag type: object @@ -58325,7 +58326,7 @@ paths: - sha - type - url - verification: *393 + verification: *394 required: - sha - url @@ -58335,7 +58336,7 @@ paths: - tag - message examples: - default: &395 + default: &396 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -58405,8 +58406,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/tags#get-a-tag parameters: - - *251 - *252 + - *253 - name: tag_sha in: path required: true @@ -58417,9 +58418,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *395 examples: - default: *395 + default: *396 '404': *34 '409': *130 x-github: @@ -58443,8 +58444,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/trees#create-a-tree parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -58518,7 +58519,7 @@ paths: description: Response content: application/json: - schema: &396 + schema: &397 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -58636,8 +58637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/trees#get-a-tree parameters: - - *251 - *252 + - *253 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -58660,7 +58661,7 @@ paths: description: Response content: application/json: - schema: *396 + schema: *397 examples: default-response: summary: Default response @@ -58719,8 +58720,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#list-repository-webhooks parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -58730,7 +58731,7 @@ paths: application/json: schema: type: array - items: &397 + items: &398 title: Webhook description: Webhooks for repositories. type: object @@ -58793,7 +58794,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &574 + last_response: &575 title: Hook Response type: object properties: @@ -58870,8 +58871,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#create-a-repository-webhook parameters: - - *251 - *252 + - *253 requestBody: required: false content: @@ -58924,9 +58925,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *398 examples: - default: &398 + default: &399 value: type: Repository id: 12345678 @@ -58974,17 +58975,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#get-a-repository-webhook parameters: - - *251 - *252 + - *253 - *3 responses: '200': description: Response content: application/json: - schema: *397 + schema: *398 examples: - default: *398 + default: *399 '404': *34 x-github: githubCloudOnly: false @@ -59004,8 +59005,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#update-a-repository-webhook parameters: - - *251 - *252 + - *253 - *3 requestBody: required: true @@ -59051,9 +59052,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *398 examples: - default: *398 + default: *399 '422': *29 '404': *34 x-github: @@ -59074,8 +59075,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *251 - *252 + - *253 - *3 responses: '204': @@ -59100,8 +59101,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *251 - *252 + - *253 - *3 responses: '200': @@ -59129,8 +59130,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *251 - *252 + - *253 - *3 requestBody: required: false @@ -59175,11 +59176,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *251 - *252 + - *253 - *3 - *4 - - *188 + - *189 responses: '200': description: Response @@ -59187,9 +59188,9 @@ paths: application/json: schema: type: array - items: *189 + items: *190 examples: - default: *190 + default: *191 '400': *28 '422': *29 x-github: @@ -59208,8 +59209,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *251 - *252 + - *253 - *3 - *30 responses: @@ -59217,9 +59218,9 @@ paths: description: Response content: application/json: - schema: *191 + schema: *192 examples: - default: *192 + default: *193 '400': *28 '422': *29 x-github: @@ -59238,8 +59239,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *251 - *252 + - *253 - *3 - *30 responses: @@ -59263,8 +59264,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *251 - *252 + - *253 - *3 responses: '204': @@ -59290,8 +59291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *251 - *252 + - *253 - *3 responses: '204': @@ -59316,8 +59317,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *251 - *252 + - *253 responses: '200': description: Response @@ -59325,8 +59326,8 @@ paths: application/json: schema: *33 examples: - default: *399 - '301': *263 + default: *400 + '301': *264 '404': *34 x-github: githubCloudOnly: false @@ -59345,8 +59346,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/invitations#list-repository-invitations parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -59356,7 +59357,7 @@ paths: application/json: schema: type: array - items: &400 + items: &401 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -59418,7 +59419,7 @@ paths: - html_url - created_at examples: - default: &527 + default: &528 value: - id: 1 repository: @@ -59549,9 +59550,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *251 - *252 - - &401 + - *253 + - &402 name: invitation_id description: The unique identifier of the invitation. in: path @@ -59586,7 +59587,7 @@ paths: description: Response content: application/json: - schema: *400 + schema: *401 examples: default: value: @@ -59717,9 +59718,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *251 - *252 - - *401 + - *253 + - *402 responses: '204': description: Response @@ -59750,8 +59751,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/issues#list-repository-issues parameters: - - *251 - *252 + - *253 - 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 @@ -59791,7 +59792,7 @@ paths: required: false schema: type: string - - *193 + - *194 - name: sort description: What to sort results by. in: query @@ -59964,7 +59965,7 @@ paths: state_reason: completed headers: Link: *6 - '301': *263 + '301': *264 '422': *29 '404': *34 x-github: @@ -59993,8 +59994,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/issues#create-an-issue parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -60077,7 +60078,7 @@ paths: application/json: schema: *114 examples: - default: &405 + default: &406 value: id: 1 node_id: MDU6SXNzdWUx @@ -60233,7 +60234,7 @@ paths: '422': *29 '503': *99 '404': *34 - '410': *218 + '410': *219 x-github: triggersNotification: true githubCloudOnly: false @@ -60261,9 +60262,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *251 - *252 - - &448 + - *253 + - &449 name: sort description: The property to sort the results by. in: query @@ -60293,9 +60294,9 @@ paths: application/json: schema: type: array - items: *402 + items: *403 examples: - default: &407 + default: &408 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -60353,17 +60354,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/comments#get-an-issue-comment parameters: - - *251 - *252 + - *253 - *113 responses: '200': description: Response content: application/json: - schema: *402 + schema: *403 examples: - default: &403 + default: &404 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -60417,8 +60418,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/comments#update-an-issue-comment parameters: - - *251 - *252 + - *253 - *113 requestBody: required: true @@ -60441,9 +60442,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *403 examples: - default: *403 + default: *404 '422': *29 x-github: githubCloudOnly: false @@ -60461,8 +60462,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/comments#delete-an-issue-comment parameters: - - *251 - *252 + - *253 - *113 responses: '204': @@ -60483,8 +60484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *251 - *252 + - *253 - *113 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#about-reactions). @@ -60511,9 +60512,9 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: - default: *242 + default: *243 headers: Link: *6 '404': *34 @@ -60534,8 +60535,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *251 - *252 + - *253 - *113 requestBody: required: true @@ -60568,16 +60569,16 @@ paths: description: Reaction exists content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 '201': description: Reaction created content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 '422': *29 x-github: githubCloudOnly: false @@ -60599,10 +60600,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *251 - *252 + - *253 - *113 - - *243 + - *244 responses: '204': description: Response @@ -60622,8 +60623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/events#list-issue-events-for-a-repository parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -60633,7 +60634,7 @@ paths: application/json: schema: type: array - items: &404 + items: &405 title: Issue Event description: Issue Event type: object @@ -60713,7 +60714,7 @@ paths: anyOf: - type: 'null' - *17 - requested_team: *253 + requested_team: *254 dismissed_review: title: Issue Event Dismissed Review type: object @@ -60972,8 +60973,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/events#get-an-issue-event parameters: - - *251 - *252 + - *253 - name: event_id in: path required: true @@ -60984,7 +60985,7 @@ paths: description: Response content: application/json: - schema: *404 + schema: *405 examples: default: value: @@ -61177,7 +61178,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *34 - '410': *218 + '410': *219 '403': *38 x-github: githubCloudOnly: false @@ -61211,9 +61212,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue parameters: - - *251 - *252 - - &406 + - *253 + - &407 name: issue_number description: The number that identifies the issue. in: path @@ -61227,10 +61228,10 @@ paths: application/json: schema: *114 examples: - default: *405 - '301': *263 + default: *406 + '301': *264 '404': *34 - '410': *218 + '410': *219 '304': *37 x-github: githubCloudOnly: false @@ -61255,9 +61256,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/issues#update-an-issue parameters: - - *251 - *252 - - *406 + - *253 + - *407 requestBody: required: false content: @@ -61367,13 +61368,13 @@ paths: application/json: schema: *114 examples: - default: *405 + default: *406 '422': *29 '503': *99 '403': *38 - '301': *263 + '301': *264 '404': *34 - '410': *218 + '410': *219 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61391,9 +61392,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *251 - *252 - - *406 + - *253 + - *407 requestBody: required: false content: @@ -61421,7 +61422,7 @@ paths: application/json: schema: *114 examples: - default: *405 + default: *406 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61437,9 +61438,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *251 - *252 - - *406 + - *253 + - *407 requestBody: content: application/json: @@ -61466,7 +61467,7 @@ paths: application/json: schema: *114 examples: - default: *405 + default: *406 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61488,9 +61489,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *251 - *252 - - *406 + - *253 + - *407 - name: assignee in: path required: true @@ -61530,9 +61531,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/comments#list-issue-comments parameters: - - *251 - *252 - - *406 + - *253 + - *407 - *104 - *4 - *5 @@ -61543,13 +61544,13 @@ paths: application/json: schema: type: array - items: *402 + items: *403 examples: - default: *407 + default: *408 headers: Link: *6 '404': *34 - '410': *218 + '410': *219 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61578,9 +61579,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/comments#create-an-issue-comment parameters: - - *251 - *252 - - *406 + - *253 + - *407 requestBody: required: true content: @@ -61602,16 +61603,16 @@ paths: description: Response content: application/json: - schema: *402 + schema: *403 examples: - default: *403 + default: *404 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *38 - '410': *218 + '410': *219 '422': *29 '404': *34 x-github: @@ -61631,9 +61632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/events#list-issue-events parameters: - - *251 - *252 - - *406 + - *253 + - *407 - *4 - *5 responses: @@ -61647,7 +61648,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &410 + - &411 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -61696,7 +61697,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &411 + - &412 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -61824,7 +61825,7 @@ paths: - performed_via_github_app - assignee - assigner - - &412 + - &413 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -61870,7 +61871,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &413 + - &414 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -61916,7 +61917,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &414 + - &415 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -61965,7 +61966,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &415 + - &416 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -61994,7 +61995,7 @@ paths: - type: 'null' - *20 review_requester: *17 - requested_team: *253 + requested_team: *254 requested_reviewer: *17 required: - review_requester @@ -62007,7 +62008,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &416 + - &417 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -62036,7 +62037,7 @@ paths: - type: 'null' - *20 review_requester: *17 - requested_team: *253 + requested_team: *254 requested_reviewer: *17 required: - review_requester @@ -62049,7 +62050,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &417 + - &418 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -62105,7 +62106,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &418 + - &419 title: Locked Issue Event description: Locked Issue Event type: object @@ -62150,7 +62151,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &419 + - &420 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -62211,7 +62212,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &420 + - &421 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -62272,7 +62273,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &421 + - &422 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -62333,7 +62334,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &422 + - &423 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -62426,7 +62427,7 @@ paths: color: red headers: Link: *6 - '410': *218 + '410': *219 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62443,9 +62444,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#list-labels-for-an-issue parameters: - - *251 - *252 - - *406 + - *253 + - *407 - *4 - *5 responses: @@ -62455,7 +62456,7 @@ paths: application/json: schema: type: array - items: &408 + items: &409 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -62510,7 +62511,7 @@ paths: - color - default examples: - default: &409 + default: &410 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -62528,9 +62529,9 @@ paths: default: false headers: Link: *6 - '301': *263 + '301': *264 '404': *34 - '410': *218 + '410': *219 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62547,9 +62548,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#add-labels-to-an-issue parameters: - - *251 - *252 - - *406 + - *253 + - *407 requestBody: required: false content: @@ -62608,12 +62609,12 @@ paths: application/json: schema: type: array - items: *408 + items: *409 examples: - default: *409 - '301': *263 + default: *410 + '301': *264 '404': *34 - '410': *218 + '410': *219 '422': *29 x-github: githubCloudOnly: false @@ -62630,9 +62631,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#set-labels-for-an-issue parameters: - - *251 - *252 - - *406 + - *253 + - *407 requestBody: required: false content: @@ -62692,12 +62693,12 @@ paths: application/json: schema: type: array - items: *408 + items: *409 examples: - default: *409 - '301': *263 + default: *410 + '301': *264 '404': *34 - '410': *218 + '410': *219 '422': *29 x-github: githubCloudOnly: false @@ -62714,15 +62715,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *251 - *252 - - *406 + - *253 + - *407 responses: '204': description: Response - '301': *263 + '301': *264 '404': *34 - '410': *218 + '410': *219 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62741,9 +62742,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *251 - *252 - - *406 + - *253 + - *407 - name: name in: path required: true @@ -62756,7 +62757,7 @@ paths: application/json: schema: type: array - items: *408 + items: *409 examples: default: value: @@ -62767,9 +62768,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *263 + '301': *264 '404': *34 - '410': *218 + '410': *219 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62789,9 +62790,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/issues#lock-an-issue parameters: - - *251 - *252 - - *406 + - *253 + - *407 requestBody: required: false content: @@ -62820,7 +62821,7 @@ paths: '204': description: Response '403': *38 - '410': *218 + '410': *219 '404': *34 '422': *29 x-github: @@ -62838,9 +62839,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/issues#unlock-an-issue parameters: - - *251 - *252 - - *406 + - *253 + - *407 responses: '204': description: Response @@ -62862,9 +62863,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *251 - *252 - - *406 + - *253 + - *407 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -62890,13 +62891,13 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: - default: *242 + default: *243 headers: Link: *6 '404': *34 - '410': *218 + '410': *219 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62914,9 +62915,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *251 - *252 - - *406 + - *253 + - *407 requestBody: required: true content: @@ -62948,20 +62949,20 @@ paths: description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 '201': description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 '422': *29 x-github: githubCloudOnly: false - enabledForGitHubApps: false + enabledForGitHubApps: true category: reactions subcategory: reactions "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": @@ -62979,10 +62980,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *251 - *252 - - *406 - - *243 + - *253 + - *407 + - *244 responses: '204': description: Response @@ -63002,9 +63003,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *251 - *252 - - *406 + - *253 + - *407 - *4 - *5 responses: @@ -63019,7 +63020,6 @@ paths: description: Timeline Event type: object anyOf: - - *410 - *411 - *412 - *413 @@ -63032,6 +63032,7 @@ paths: - *420 - *421 - *422 + - *423 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -63350,7 +63351,7 @@ paths: type: string comments: type: array - items: &443 + items: &444 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -63588,7 +63589,7 @@ paths: type: string comments: type: array - items: *346 + items: *347 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -63863,7 +63864,7 @@ paths: headers: Link: *6 '404': *34 - '410': *218 + '410': *219 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63880,8 +63881,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -63891,7 +63892,7 @@ paths: application/json: schema: type: array - items: &423 + items: &424 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -63956,8 +63957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -63993,9 +63994,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: - default: &424 + default: &425 value: id: 1 key: ssh-rsa AAA... @@ -64028,9 +64029,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *251 - *252 - - &425 + - *253 + - &426 name: key_id description: The unique identifier of the key. in: path @@ -64042,9 +64043,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: - default: *424 + default: *425 '404': *34 x-github: githubCloudOnly: false @@ -64062,9 +64063,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *251 - *252 - - *425 + - *253 + - *426 responses: '204': description: Response @@ -64084,8 +64085,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#list-labels-for-a-repository parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -64095,9 +64096,9 @@ paths: application/json: schema: type: array - items: *408 + items: *409 examples: - default: *409 + default: *410 headers: Link: *6 '404': *34 @@ -64118,8 +64119,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#create-a-label parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -64155,9 +64156,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *409 examples: - default: &426 + default: &427 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -64189,8 +64190,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#get-a-label parameters: - - *251 - *252 + - *253 - name: name in: path required: true @@ -64201,9 +64202,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *409 examples: - default: *426 + default: *427 '404': *34 x-github: githubCloudOnly: false @@ -64220,8 +64221,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#update-a-label parameters: - - *251 - *252 + - *253 - name: name in: path required: true @@ -64260,7 +64261,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *409 examples: default: value: @@ -64286,8 +64287,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#delete-a-label parameters: - - *251 - *252 + - *253 - name: name in: path required: true @@ -64313,8 +64314,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#list-repository-languages parameters: - - *251 - *252 + - *253 responses: '200': description: Response @@ -64350,8 +64351,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *251 - *252 + - *253 responses: '202': *131 '403': @@ -64379,8 +64380,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *251 - *252 + - *253 responses: '204': description: Response @@ -64406,8 +64407,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *251 - *252 + - *253 responses: '200': description: Response @@ -64554,8 +64555,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -64620,8 +64621,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branches#merge-a-branch parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -64655,9 +64656,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *347 + schema: *348 examples: - default: *427 + default: *428 '204': description: Response when already merged '404': @@ -64682,8 +64683,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/milestones#list-milestones parameters: - - *251 - *252 + - *253 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -64724,7 +64725,7 @@ paths: application/json: schema: type: array - items: *351 + items: *352 examples: default: value: @@ -64780,8 +64781,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/milestones#create-a-milestone parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -64821,9 +64822,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *352 examples: - default: &428 + default: &429 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -64882,9 +64883,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/milestones#get-a-milestone parameters: - - *251 - *252 - - &429 + - *253 + - &430 name: milestone_number description: The number that identifies the milestone. in: path @@ -64896,9 +64897,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *352 examples: - default: *428 + default: *429 '404': *34 x-github: githubCloudOnly: false @@ -64915,9 +64916,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/milestones#update-a-milestone parameters: - - *251 - *252 - - *429 + - *253 + - *430 requestBody: required: false content: @@ -64955,9 +64956,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *352 examples: - default: *428 + default: *429 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64973,9 +64974,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/milestones#delete-a-milestone parameters: - - *251 - *252 - - *429 + - *253 + - *430 responses: '204': description: Response @@ -64996,9 +64997,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *251 - *252 - - *429 + - *253 + - *430 - *4 - *5 responses: @@ -65008,9 +65009,9 @@ paths: application/json: schema: type: array - items: *408 + items: *409 examples: - default: *409 + default: *410 headers: Link: *6 x-github: @@ -65029,12 +65030,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *251 - *252 - - *430 + - *253 - *431 - - *104 - *432 + - *104 + - *433 - *4 - *5 responses: @@ -65046,7 +65047,7 @@ paths: type: array items: *121 examples: - default: *433 + default: *434 headers: Link: *6 x-github: @@ -65070,8 +65071,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *251 - *252 + - *253 requestBody: required: false content: @@ -65129,14 +65130,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#get-a-apiname-pages-site parameters: - - *251 - *252 + - *253 responses: '200': description: Response content: application/json: - schema: &434 + schema: &435 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -65280,7 +65281,7 @@ paths: - custom_404 - public examples: - default: &435 + default: &436 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -65321,8 +65322,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#create-a-apiname-pages-site parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -65377,9 +65378,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *435 examples: - default: *435 + default: *436 '422': *29 '409': *130 x-github: @@ -65402,8 +65403,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -65503,8 +65504,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *251 - *252 + - *253 responses: '204': description: Response @@ -65530,8 +65531,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#list-apiname-pages-builds parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -65541,7 +65542,7 @@ paths: application/json: schema: type: array - items: &436 + items: &437 title: Page Build description: Page Build type: object @@ -65633,8 +65634,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#request-a-apiname-pages-build parameters: - - *251 - *252 + - *253 responses: '201': description: Response @@ -65681,16 +65682,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#get-latest-pages-build parameters: - - *251 - *252 + - *253 responses: '200': description: Response content: application/json: - schema: *436 + schema: *437 examples: - default: &437 + default: &438 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -65738,8 +65739,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#get-apiname-pages-build parameters: - - *251 - *252 + - *253 - name: build_id in: path required: true @@ -65750,9 +65751,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *437 examples: - default: *437 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65772,8 +65773,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#create-a-github-pages-deployment parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -65868,8 +65869,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/enterprise-admin/repo-pre-receive-hooks#list-pre-receive-hooks-for-a-repository parameters: - - *251 - *252 + - *253 - *4 - *5 - *9 @@ -65890,7 +65891,7 @@ paths: application/json: schema: type: array - items: &438 + items: &439 type: object properties: id: @@ -65924,17 +65925,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/enterprise-admin/repo-pre-receive-hooks#get-a-pre-receive-hook-for-a-repository parameters: - - *251 - *252 + - *253 - *16 responses: '200': description: Response content: application/json: - schema: *438 + schema: *439 examples: - default: &439 + default: &440 value: id: 42 name: Check Commits @@ -65956,15 +65957,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/enterprise-admin/repo-pre-receive-hooks#update-pre-receive-hook-enforcement-for-a-repository parameters: - - *251 - *252 + - *253 - *16 responses: '200': description: Response content: application/json: - schema: *438 + schema: *439 examples: default: value: @@ -66008,8 +66009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/enterprise-admin/repo-pre-receive-hooks#remove-pre-receive-hook-enforcement-for-a-repository parameters: - - *251 - *252 + - *253 - *16 responses: '200': @@ -66017,9 +66018,9 @@ paths: global level. content: application/json: - schema: *438 + schema: *439 examples: - default: *439 + default: *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66039,8 +66040,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/projects#list-repository-projects parameters: - - *251 - *252 + - *253 - name: state description: Indicates the state of the projects to return. in: query @@ -66061,7 +66062,7 @@ paths: application/json: schema: type: array - items: *217 + items: *218 examples: default: value: @@ -66101,7 +66102,7 @@ paths: '401': *36 '403': *38 '404': *34 - '410': *218 + '410': *219 '422': *79 x-github: githubCloudOnly: false @@ -66121,8 +66122,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/projects#create-a-repository-project parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -66148,13 +66149,13 @@ paths: description: Response content: application/json: - schema: *217 + schema: *218 examples: - default: *260 + default: *261 '401': *36 '403': *38 '404': *34 - '410': *218 + '410': *219 '422': *79 x-github: githubCloudOnly: false @@ -66186,8 +66187,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#list-pull-requests parameters: - - *251 - *252 + - *253 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -66247,9 +66248,9 @@ paths: application/json: schema: type: array - items: *440 + items: *441 examples: - default: *441 + default: *442 headers: Link: *6 '304': *37 @@ -66281,8 +66282,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#create-a-pull-request parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -66349,7 +66350,7 @@ paths: description: Response content: application/json: - schema: &445 + schema: &446 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -66478,7 +66479,7 @@ paths: milestone: anyOf: - type: 'null' - - *351 + - *352 active_lock_reason: type: - string @@ -66533,7 +66534,7 @@ paths: type: - array - 'null' - items: *230 + items: *231 head: type: object properties: @@ -66571,14 +66572,14 @@ paths: _links: type: object properties: - comments: *352 - commits: *352 - statuses: *352 - html: *352 - issue: *352 - review_comments: *352 - review_comment: *352 - self: *352 + comments: *353 + commits: *353 + statuses: *353 + html: *353 + issue: *353 + review_comments: *353 + review_comment: *353 + self: *353 required: - comments - commits @@ -66589,7 +66590,7 @@ paths: - review_comment - self author_association: *101 - auto_merge: *442 + auto_merge: *443 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -66691,7 +66692,7 @@ paths: - merged_by - review_comments examples: - default: &446 + default: &447 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -67218,8 +67219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *251 - *252 + - *253 - name: sort in: query required: false @@ -67248,9 +67249,9 @@ paths: application/json: schema: type: array - items: *443 + items: *444 examples: - default: &449 + default: &450 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -67327,17 +67328,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *251 - *252 + - *253 - *113 responses: '200': description: Response content: application/json: - schema: *443 + schema: *444 examples: - default: &444 + default: &445 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -67412,8 +67413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *251 - *252 + - *253 - *113 requestBody: required: true @@ -67436,9 +67437,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: - default: *444 + default: *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67454,8 +67455,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *251 - *252 + - *253 - *113 responses: '204': @@ -67477,8 +67478,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *251 - *252 + - *253 - *113 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#about-reactions). @@ -67505,9 +67506,9 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: - default: *242 + default: *243 headers: Link: *6 '404': *34 @@ -67528,8 +67529,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *251 - *252 + - *253 - *113 requestBody: required: true @@ -67562,16 +67563,16 @@ paths: description: Reaction exists content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 '201': description: Reaction created content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 '422': *29 x-github: githubCloudOnly: false @@ -67593,10 +67594,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *251 - *252 + - *253 - *113 - - *243 + - *244 responses: '204': description: Response @@ -67639,9 +67640,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#get-a-pull-request parameters: - - *251 - *252 - - &447 + - *253 + - &448 name: pull_number description: The number that identifies the pull request. in: path @@ -67654,9 +67655,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *445 + schema: *446 examples: - default: *446 + default: *447 '304': *37 '404': *34 '406': @@ -67664,7 +67665,7 @@ paths: content: application/json: schema: *27 - '500': *206 + '500': *207 '503': *99 x-github: githubCloudOnly: false @@ -67691,9 +67692,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#update-a-pull-request parameters: - - *251 - *252 - - *447 + - *253 + - *448 requestBody: required: false content: @@ -67735,9 +67736,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *446 examples: - default: *446 + default: *447 '422': *29 '403': *38 x-github: @@ -67765,10 +67766,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *251 - *252 - - *447 + - *253 - *448 + - *449 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -67788,9 +67789,9 @@ paths: application/json: schema: type: array - items: *443 + items: *444 examples: - default: *449 + default: *450 headers: Link: *6 x-github: @@ -67823,9 +67824,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *251 - *252 - - *447 + - *253 + - *448 requestBody: required: true content: @@ -67931,7 +67932,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: example-for-a-multi-line-comment: value: @@ -68019,9 +68020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *251 - *252 - - *447 + - *253 + - *448 - *113 requestBody: required: true @@ -68044,7 +68045,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: default: value: @@ -68130,9 +68131,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *251 - *252 - - *447 + - *253 + - *448 - *4 - *5 responses: @@ -68142,9 +68143,9 @@ paths: application/json: schema: type: array - items: *347 + items: *348 examples: - default: *450 + default: *451 headers: Link: *6 x-github: @@ -68174,9 +68175,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#list-pull-requests-files parameters: - - *251 - *252 - - *447 + - *253 + - *448 - *4 - *5 responses: @@ -68186,7 +68187,7 @@ paths: application/json: schema: type: array - items: *357 + items: *358 examples: default: value: @@ -68204,7 +68205,7 @@ paths: headers: Link: *6 '422': *29 - '500': *206 + '500': *207 '503': *99 x-github: githubCloudOnly: false @@ -68224,9 +68225,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *251 - *252 - - *447 + - *253 + - *448 responses: '204': description: Response if pull request has been merged @@ -68249,9 +68250,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#merge-a-pull-request parameters: - - *251 - *252 - - *447 + - *253 + - *448 requestBody: required: false content: @@ -68363,9 +68364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *251 - *252 - - *447 + - *253 + - *448 responses: '200': description: Response @@ -68381,7 +68382,7 @@ paths: items: *17 teams: type: array - items: *253 + items: *254 required: - users - teams @@ -68440,9 +68441,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *251 - *252 - - *447 + - *253 + - *448 requestBody: required: false content: @@ -68479,7 +68480,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: default: value: @@ -69015,9 +69016,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *251 - *252 - - *447 + - *253 + - *448 requestBody: required: true content: @@ -69051,7 +69052,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: default: value: @@ -69556,9 +69557,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *251 - *252 - - *447 + - *253 + - *448 - *4 - *5 responses: @@ -69568,7 +69569,7 @@ paths: application/json: schema: type: array - items: &451 + items: &452 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -69724,9 +69725,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *251 - *252 - - *447 + - *253 + - *448 requestBody: required: false content: @@ -69816,9 +69817,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: - default: &453 + default: &454 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -69881,10 +69882,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *251 - *252 - - *447 - - &452 + - *253 + - *448 + - &453 name: review_id description: The unique identifier of the review. in: path @@ -69896,9 +69897,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: - default: &454 + default: &455 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -69957,10 +69958,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *251 - *252 - - *447 - - *452 + - *253 + - *448 + - *453 requestBody: required: true content: @@ -69983,7 +69984,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: default: value: @@ -70045,18 +70046,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *251 - *252 - - *447 - - *452 + - *253 + - *448 + - *453 responses: '200': description: Response content: application/json: - schema: *451 + schema: *452 examples: - default: *453 + default: *454 '422': *79 '404': *34 x-github: @@ -70083,10 +70084,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *251 - *252 - - *447 - - *452 + - *253 + - *448 + - *453 - *4 - *5 responses: @@ -70184,9 +70185,9 @@ paths: _links: type: object properties: - self: *352 - html: *352 - pull_request: *352 + self: *353 + html: *353 + pull_request: *353 required: - self - html @@ -70337,10 +70338,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *251 - *252 - - *447 - - *452 + - *253 + - *448 + - *453 requestBody: required: true content: @@ -70369,7 +70370,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: default: value: @@ -70432,10 +70433,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *251 - *252 - - *447 - - *452 + - *253 + - *448 + - *453 requestBody: required: true content: @@ -70470,9 +70471,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: - default: *454 + default: *455 '404': *34 '422': *79 '403': *38 @@ -70494,9 +70495,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *251 - *252 - - *447 + - *253 + - *448 requestBody: required: false content: @@ -70560,8 +70561,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/contents#get-a-repository-readme parameters: - - *251 - *252 + - *253 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -70574,9 +70575,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: &456 + default: &457 value: type: file encoding: base64 @@ -70618,8 +70619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *251 - *252 + - *253 - name: dir description: The alternate path to look for a README file in: path @@ -70639,9 +70640,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: *456 + default: *457 '404': *34 '422': *29 x-github: @@ -70663,8 +70664,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/releases#list-releases parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -70674,7 +70675,7 @@ paths: application/json: schema: type: array - items: &457 + items: &458 title: Release description: A release. type: object @@ -70746,7 +70747,7 @@ paths: author: *17 assets: type: array - items: &458 + items: &459 title: Release Asset description: Data related to a release. type: object @@ -70922,8 +70923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/releases#create-a-release parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -70993,9 +70994,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: &462 + default: &463 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -71093,9 +71094,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/assets#get-a-release-asset parameters: - - *251 - *252 - - &460 + - *253 + - &461 name: asset_id description: The unique identifier of the asset. in: path @@ -71107,9 +71108,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: - default: &461 + default: &462 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -71143,7 +71144,7 @@ paths: type: User site_admin: false '404': *34 - '302': *459 + '302': *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71159,9 +71160,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/assets#update-a-release-asset parameters: - - *251 - *252 - - *460 + - *253 + - *461 requestBody: required: false content: @@ -71190,9 +71191,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: - default: *461 + default: *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71208,9 +71209,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/assets#delete-a-release-asset parameters: - - *251 - *252 - - *460 + - *253 + - *461 responses: '204': description: Response @@ -71234,8 +71235,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -71321,16 +71322,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/releases#get-the-latest-release parameters: - - *251 - *252 + - *253 responses: '200': description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: *462 + default: *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71347,8 +71348,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/releases#get-a-release-by-tag-name parameters: - - *251 - *252 + - *253 - name: tag description: tag parameter in: path @@ -71361,9 +71362,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: *462 + default: *463 '404': *34 x-github: githubCloudOnly: false @@ -71385,9 +71386,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/releases#get-a-release parameters: - - *251 - *252 - - &463 + - *253 + - &464 name: release_id description: The unique identifier of the release. in: path @@ -71401,9 +71402,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *457 + schema: *458 examples: - default: *462 + default: *463 '401': description: Unauthorized x-github: @@ -71421,9 +71422,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/releases#update-a-release parameters: - - *251 - *252 - - *463 + - *253 + - *464 requestBody: required: false content: @@ -71480,9 +71481,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: *462 + default: *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71498,9 +71499,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/releases#delete-a-release parameters: - - *251 - *252 - - *463 + - *253 + - *464 responses: '204': description: Response @@ -71520,9 +71521,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/assets#list-release-assets parameters: - - *251 - *252 - - *463 + - *253 + - *464 - *4 - *5 responses: @@ -71532,7 +71533,7 @@ paths: application/json: schema: type: array - items: *458 + items: *459 examples: default: value: @@ -71613,9 +71614,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *251 - *252 - - *463 + - *253 + - *464 - name: name in: query required: true @@ -71641,7 +71642,7 @@ paths: description: Response for successful upload content: application/json: - schema: *458 + schema: *459 examples: response-for-successful-upload: value: @@ -71695,9 +71696,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *251 - *252 - - *463 + - *253 + - *464 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -71721,9 +71722,9 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: - default: *242 + default: *243 headers: Link: *6 '404': *34 @@ -71744,9 +71745,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *251 - *252 - - *463 + - *253 + - *464 requestBody: required: true content: @@ -71776,16 +71777,16 @@ paths: description: Reaction exists content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 '201': description: Reaction created content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 '422': *29 x-github: githubCloudOnly: false @@ -71807,10 +71808,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#delete-a-release-reaction parameters: - - *251 - *252 - - *463 - - *243 + - *253 + - *464 + - *244 responses: '204': description: Response @@ -71830,8 +71831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#list-repository-cache-replication-status parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -71907,17 +71908,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *251 - *252 - - *220 + - *253 - *221 - *222 - *223 + - *224 - *9 - *5 - *4 - - *464 - *465 + - *466 responses: '200': description: Response @@ -71925,7 +71926,7 @@ paths: application/json: schema: type: array - items: &468 + items: &469 type: object properties: number: *89 @@ -71941,8 +71942,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *466 - resolution: *467 + state: *467 + resolution: *468 resolved_at: type: - string @@ -72083,15 +72084,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *251 - *252 - - *336 + - *253 + - *337 responses: '200': description: Response content: application/json: - schema: *468 + schema: *469 examples: default: value: @@ -72130,9 +72131,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *251 - *252 - - *336 + - *253 + - *337 requestBody: required: true content: @@ -72140,8 +72141,8 @@ paths: schema: type: object properties: - state: *466 - resolution: *467 + state: *467 + resolution: *468 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -72160,7 +72161,7 @@ paths: description: Response content: application/json: - schema: *468 + schema: *469 examples: default: value: @@ -72226,9 +72227,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *251 - *252 - - *336 + - *253 + - *337 - *5 - *4 responses: @@ -72239,7 +72240,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &592 + items: &593 type: object properties: type: @@ -72561,8 +72562,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/starring#list-stargazers parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -72655,8 +72656,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *251 - *252 + - *253 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -72665,7 +72666,7 @@ paths: application/json: schema: type: array - items: &469 + items: &470 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -72678,7 +72679,7 @@ paths: - 1124 - -435 '202': *131 - '204': *214 + '204': *215 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72696,8 +72697,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *251 - *252 + - *253 responses: '200': description: Response @@ -72748,7 +72749,7 @@ paths: total: 89 week: 1336280400 '202': *131 - '204': *214 + '204': *215 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72772,8 +72773,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *251 - *252 + - *253 responses: '200': description: Response @@ -72845,7 +72846,7 @@ paths: d: 77 c: 10 '202': *131 - '204': *214 + '204': *215 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72867,8 +72868,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *251 - *252 + - *253 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -73022,8 +73023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *251 - *252 + - *253 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -73033,7 +73034,7 @@ paths: application/json: schema: type: array - items: *469 + items: *470 examples: default: value: @@ -73046,7 +73047,7 @@ paths: - - 0 - 2 - 21 - '204': *214 + '204': *215 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73066,8 +73067,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/statuses#create-a-commit-status parameters: - - *251 - *252 + - *253 - name: sha in: path required: true @@ -73123,7 +73124,7 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: default: value: @@ -73177,8 +73178,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/watching#list-watchers parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -73190,7 +73191,7 @@ paths: type: array items: *17 examples: - default: *199 + default: *200 headers: Link: *6 x-github: @@ -73210,14 +73211,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/watching#get-a-repository-subscription parameters: - - *251 - *252 + - *253 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &471 + schema: &472 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -73290,8 +73291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/watching#set-a-repository-subscription parameters: - - *251 - *252 + - *253 requestBody: required: false content: @@ -73317,7 +73318,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: default: value: @@ -73344,8 +73345,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/watching#delete-a-repository-subscription parameters: - - *251 - *252 + - *253 responses: '204': description: Response @@ -73365,8 +73366,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#list-repository-tags parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -73448,8 +73449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *251 - *252 + - *253 responses: '200': description: Response @@ -73457,7 +73458,7 @@ paths: application/json: schema: type: array - items: &472 + items: &473 title: Tag protection description: Tag protection type: object @@ -73514,8 +73515,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -73538,7 +73539,7 @@ paths: description: Response content: application/json: - schema: *472 + schema: *473 examples: default: value: @@ -73569,8 +73570,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *251 - *252 + - *253 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -73607,8 +73608,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *251 - *252 + - *253 - name: ref in: path required: true @@ -73644,8 +73645,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#list-repository-teams parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -73655,9 +73656,9 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: *231 + default: *232 headers: Link: *6 '404': *34 @@ -73677,8 +73678,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#get-all-repository-topics parameters: - - *251 - *252 + - *253 - *5 - *4 responses: @@ -73686,7 +73687,7 @@ paths: description: Response content: application/json: - schema: &473 + schema: &474 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -73698,7 +73699,7 @@ paths: required: - names examples: - default: &474 + default: &475 value: names: - octocat @@ -73721,8 +73722,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#replace-all-repository-topics parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -73753,9 +73754,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *474 examples: - default: *474 + default: *475 '404': *34 '422': *79 x-github: @@ -73778,8 +73779,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#transfer-a-repository parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -74053,8 +74054,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *251 - *252 + - *253 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -74077,8 +74078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#enable-vulnerability-alerts parameters: - - *251 - *252 + - *253 responses: '204': description: Response @@ -74100,8 +74101,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#disable-vulnerability-alerts parameters: - - *251 - *252 + - *253 responses: '204': description: Response @@ -74127,8 +74128,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *251 - *252 + - *253 - name: ref in: path required: true @@ -74220,9 +74221,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: *264 + default: *265 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -74397,7 +74398,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &482 + - &483 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -74407,7 +74408,7 @@ paths: type: string examples: - members - - &487 + - &488 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -74419,7 +74420,7 @@ paths: format: int32 examples: - 1 - - &488 + - &489 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -74463,7 +74464,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &476 + items: &477 allOf: - type: object required: @@ -74545,7 +74546,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &489 + meta: &490 type: object description: The metadata associated with the creation/updates to the user. @@ -74610,31 +74611,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &477 + '400': &478 description: Bad request content: application/json: - schema: *475 + schema: *476 application/scim+json: - schema: *475 - '401': &478 + schema: *476 + '401': &479 description: Authorization failure - '403': &479 + '403': &480 description: Permission denied - '429': &480 + '429': &481 description: Too many requests content: application/json: - schema: *475 + schema: *476 application/scim+json: - schema: *475 - '500': &481 + schema: *476 + '500': &482 description: Internal server error content: application/json: - schema: *475 + schema: *476 application/scim+json: - schema: *475 + schema: *476 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -74661,7 +74662,7 @@ paths: required: true content: application/json: - schema: &485 + schema: &486 type: object required: - schemas @@ -74721,9 +74722,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *476 + schema: *477 examples: - group: &483 + group: &484 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -74742,13 +74743,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *477 - '401': *478 - '403': *479 - '409': &486 + '400': *478 + '401': *479 + '403': *480 + '409': &487 description: Duplicate record detected - '429': *480 - '500': *481 + '429': *481 + '500': *482 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -74769,7 +74770,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &484 + - &485 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -74778,22 +74779,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *482 + - *483 - *60 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *476 + schema: *477 examples: - default: *483 - '400': *477 - '401': *478 - '403': *479 + default: *484 + '400': *478 + '401': *479 + '403': *480 '404': *34 - '429': *480 - '500': *481 + '429': *481 + '500': *482 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -74815,13 +74816,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *484 + - *485 - *60 requestBody: required: true content: application/json: - schema: *485 + schema: *486 examples: group: summary: Group @@ -74847,17 +74848,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *476 + schema: *477 examples: - group: *483 - groupWithMembers: *483 - '400': *477 - '401': *478 - '403': *479 + group: *484 + groupWithMembers: *484 + '400': *478 + '401': *479 + '403': *480 '404': *34 - '409': *486 - '429': *480 - '500': *481 + '409': *487 + '429': *481 + '500': *482 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -74881,13 +74882,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *484 + - *485 - *60 requestBody: required: true content: application/json: - schema: &496 + schema: &497 type: object required: - Operations @@ -74947,17 +74948,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *476 + schema: *477 examples: - updateGroup: *483 - addMembers: *483 - '400': *477 - '401': *478 - '403': *479 + updateGroup: *484 + addMembers: *484 + '400': *478 + '401': *479 + '403': *480 '404': *34 - '409': *486 - '429': *480 - '500': *481 + '409': *487 + '429': *481 + '500': *482 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -74977,17 +74978,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *484 + - *485 - *60 responses: '204': description: Group was deleted, no content - '400': *477 - '401': *478 - '403': *479 + '400': *478 + '401': *479 + '403': *480 '404': *34 - '429': *480 - '500': *481 + '429': *481 + '500': *482 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -75024,8 +75025,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *487 - *488 + - *489 - *60 responses: '200': @@ -75059,7 +75060,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &491 + items: &492 allOf: - type: object required: @@ -75151,7 +75152,7 @@ paths: address. examples: - true - roles: &490 + roles: &491 type: array description: The roles assigned to the user. items: @@ -75210,7 +75211,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *489 + meta: *490 startIndex: type: integer description: A starting index for the returned page @@ -75249,11 +75250,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *477 - '401': *478 - '403': *479 - '429': *480 - '500': *481 + '400': *478 + '401': *479 + '403': *480 + '429': *481 + '500': *482 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -75282,7 +75283,7 @@ paths: required: true content: application/json: - schema: &494 + schema: &495 type: object required: - schemas @@ -75375,9 +75376,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *490 + roles: *491 examples: - user: &495 + user: &496 summary: User value: schemas: @@ -75424,9 +75425,9 @@ paths: description: User has been created content: application/scim+json: - schema: *491 + schema: *492 examples: - user: &492 + user: &493 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -75452,13 +75453,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *492 - '400': *477 - '401': *478 - '403': *479 - '409': *486 - '429': *480 - '500': *481 + enterpriseOwner: *493 + '400': *478 + '401': *479 + '403': *480 + '409': *487 + '429': *481 + '500': *482 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -75479,7 +75480,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &493 + - &494 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -75492,15 +75493,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *491 + schema: *492 examples: - default: *492 - '400': *477 - '401': *478 - '403': *479 + default: *493 + '400': *478 + '401': *479 + '403': *480 '404': *34 - '429': *480 - '500': *481 + '429': *481 + '500': *482 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -75525,30 +75526,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *493 + - *494 - *60 requestBody: required: true content: application/json: - schema: *494 + schema: *495 examples: - user: *495 + user: *496 responses: '200': description: User was updated content: application/scim+json: - schema: *491 + schema: *492 examples: - user: *492 - '400': *477 - '401': *478 - '403': *479 + user: *493 + '400': *478 + '401': *479 + '403': *480 '404': *34 - '409': *486 - '429': *480 - '500': *481 + '409': *487 + '429': *481 + '500': *482 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -75586,13 +75587,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *493 + - *494 - *60 requestBody: required: true content: application/json: - schema: *496 + schema: *497 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -75632,18 +75633,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *491 - examples: - userMultiValuedProperties: *492 - userSingleValuedProperties: *492 - disableUser: *492 - '400': *477 - '401': *478 - '403': *479 + schema: *492 + examples: + userMultiValuedProperties: *493 + userSingleValuedProperties: *493 + disableUser: *493 + '400': *478 + '401': *479 + '403': *480 '404': *34 - '409': *486 - '429': *480 - '500': *481 + '409': *487 + '429': *481 + '500': *482 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -75663,17 +75664,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *493 + - *494 - *60 responses: '204': description: User was deleted, no content - '400': *477 - '401': *478 - '403': *479 + '400': *478 + '401': *479 + '403': *480 '404': *34 - '429': *480 - '500': *481 + '429': *481 + '500': *482 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -75801,7 +75802,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &497 + text_matches: &498 title: Search Result Text Matches type: array items: @@ -75965,7 +75966,7 @@ paths: enum: - author-date - committer-date - - &498 + - &499 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -76034,7 +76035,7 @@ paths: committer: anyOf: - type: 'null' - - *307 + - *308 comment_count: type: integer message: @@ -76053,7 +76054,7 @@ paths: url: type: string format: uri - verification: *393 + verification: *394 required: - author - committer @@ -76068,7 +76069,7 @@ paths: committer: anyOf: - type: 'null' - - *307 + - *308 parents: type: array items: @@ -76085,7 +76086,7 @@ paths: type: number node_id: type: string - text_matches: *497 + text_matches: *498 required: - sha - node_id @@ -76278,7 +76279,7 @@ paths: - interactions - created - updated - - *498 + - *499 - *4 - *5 responses: @@ -76394,7 +76395,7 @@ paths: milestone: anyOf: - type: 'null' - - *351 + - *352 comments: type: integer created_at: @@ -76408,7 +76409,7 @@ paths: - string - 'null' format: date-time - text_matches: *497 + text_matches: *498 pull_request: type: object properties: @@ -76630,7 +76631,7 @@ paths: enum: - created - updated - - *498 + - *499 - *4 - *5 responses: @@ -76675,7 +76676,7 @@ paths: - 'null' score: type: number - text_matches: *497 + text_matches: *498 required: - id - node_id @@ -76761,7 +76762,7 @@ paths: - forks - help-wanted-issues - updated - - *498 + - *499 - *4 - *5 responses: @@ -76998,7 +76999,7 @@ paths: - admin - pull - push - text_matches: *497 + text_matches: *498 temp_clone_token: type: string allow_merge_commit: @@ -77307,7 +77308,7 @@ paths: - string - 'null' format: uri - text_matches: *497 + text_matches: *498 related: type: - array @@ -77502,7 +77503,7 @@ paths: - followers - repositories - joined - - *498 + - *499 - *4 - *5 responses: @@ -77612,7 +77613,7 @@ paths: type: - boolean - 'null' - text_matches: *497 + text_matches: *498 blog: type: - string @@ -77810,7 +77811,7 @@ paths: description: Response content: application/json: - schema: &499 + schema: &500 type: object properties: status: @@ -77830,7 +77831,7 @@ paths: - name - number examples: - default: &500 + default: &501 value: status: scheduled scheduled_time: Tuesday, January 22 at 15:34 -0800 @@ -77875,9 +77876,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: *500 + default: *501 '401': description: Unauthorized requestBody: @@ -78470,7 +78471,7 @@ paths: application/json: schema: type: array - items: &501 + items: &502 type: object properties: key: @@ -78478,7 +78479,7 @@ paths: pretty-print: type: string examples: - default: &502 + default: &503 value: - key: ssh-rsa AAAAB3NzaC1yc2EAAAAB... pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 @@ -78521,9 +78522,9 @@ paths: application/json: schema: type: array - items: *501 + items: *502 examples: - default: *502 + default: *503 '401': description: Unauthorized requestBody: @@ -78575,9 +78576,9 @@ paths: application/json: schema: type: array - items: *501 + items: *502 examples: - default: *502 + default: *503 '401': description: Unauthorized requestBody: @@ -78734,9 +78735,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *233 examples: - default: *233 + default: *234 '404': *34 x-github: githubCloudOnly: false @@ -78827,16 +78828,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *232 + schema: *233 examples: - default: *233 + default: *234 '201': description: Response content: application/json: - schema: *232 + schema: *233 examples: - default: *233 + default: *234 '404': *34 '422': *29 '403': *38 @@ -78906,9 +78907,9 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: *503 + default: *504 headers: Link: *6 x-github: @@ -78971,9 +78972,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 x-github: triggersNotification: true githubCloudOnly: false @@ -79001,15 +79002,15 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussions#get-a-discussion-legacy parameters: - *7 - - *236 + - *237 responses: '200': description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79035,7 +79036,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussions#update-a-discussion-legacy parameters: - *7 - - *236 + - *237 requestBody: required: false content: @@ -79058,9 +79059,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *504 + default: *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79086,7 +79087,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussions#delete-a-discussion-legacy parameters: - *7 - - *236 + - *237 responses: '204': description: Response @@ -79116,7 +79117,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - *7 - - *236 + - *237 - *9 - *4 - *5 @@ -79127,9 +79128,9 @@ paths: application/json: schema: type: array - items: *237 + items: *238 examples: - default: *505 + default: *506 headers: Link: *6 x-github: @@ -79159,7 +79160,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - *7 - - *236 + - *237 requestBody: required: true content: @@ -79181,9 +79182,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: - default: *238 + default: *239 x-github: triggersNotification: true githubCloudOnly: false @@ -79211,16 +79212,16 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - *7 - - *236 - - *239 + - *237 + - *240 responses: '200': description: Response content: application/json: - schema: *237 + schema: *238 examples: - default: *238 + default: *239 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79246,8 +79247,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - *7 - - *236 - - *239 + - *237 + - *240 requestBody: required: true content: @@ -79269,9 +79270,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: - default: *506 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79297,8 +79298,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - *7 - - *236 - - *239 + - *237 + - *240 responses: '204': description: Response @@ -79328,8 +79329,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - *7 - - *236 - - *239 + - *237 + - *240 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -79355,9 +79356,9 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: - default: *242 + default: *243 headers: Link: *6 x-github: @@ -79387,8 +79388,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - *7 - - *236 - - *239 + - *237 + - *240 requestBody: required: true content: @@ -79420,9 +79421,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79449,7 +79450,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - *7 - - *236 + - *237 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -79475,9 +79476,9 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: - default: *242 + default: *243 headers: Link: *6 x-github: @@ -79507,7 +79508,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - *7 - - *236 + - *237 requestBody: required: true content: @@ -79539,9 +79540,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -79588,7 +79589,7 @@ paths: type: array items: *17 examples: - default: *199 + default: *200 headers: Link: *6 '404': *34 @@ -79737,9 +79738,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *249 examples: - response-if-user-is-a-team-maintainer: *507 + response-if-user-is-a-team-maintainer: *508 '404': *34 x-github: githubCloudOnly: false @@ -79798,9 +79799,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *249 examples: - response-if-users-membership-with-team-is-now-pending: *508 + response-if-users-membership-with-team-is-now-pending: *509 '403': description: Forbidden if team synchronization is set up '422': @@ -79874,9 +79875,9 @@ paths: application/json: schema: type: array - items: *249 + items: *250 examples: - default: *509 + default: *510 headers: Link: *6 '404': *34 @@ -79904,15 +79905,15 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - *7 - - *250 + - *251 responses: '200': description: Response content: application/json: - schema: *249 + schema: *250 examples: - default: *510 + default: *511 '404': description: Not Found if project is not managed by this team x-github: @@ -79938,7 +79939,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - *7 - - *250 + - *251 requestBody: required: false content: @@ -80007,7 +80008,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - *7 - - *250 + - *251 responses: '204': description: Response @@ -80046,7 +80047,7 @@ paths: type: array items: *143 examples: - default: *207 + default: *208 headers: Link: *6 '404': *34 @@ -80077,14 +80078,14 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - *7 - - *251 - *252 + - *253 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *511 + schema: *512 examples: alternative-response-with-extra-repository-information: value: @@ -80236,8 +80237,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - *7 - - *251 - *252 + - *253 requestBody: required: false content: @@ -80288,8 +80289,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - *7 - - *251 - *252 + - *253 responses: '204': description: Response @@ -80324,9 +80325,9 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - response-if-child-teams-exist: *512 + response-if-child-teams-exist: *513 headers: Link: *6 '404': *34 @@ -80359,7 +80360,7 @@ paths: application/json: schema: oneOf: - - &514 + - &515 title: Private User description: Private User type: object @@ -80609,7 +80610,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *513 + - *514 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -80767,7 +80768,7 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: default: value: @@ -80843,9 +80844,9 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: &524 + default: &525 value: - id: 197 name: hello_docker @@ -80932,7 +80933,7 @@ paths: application/json: schema: type: array - items: &515 + items: &516 title: Email description: Email type: object @@ -80962,7 +80963,7 @@ paths: - verified - visibility examples: - default: &526 + default: &527 value: - email: octocat@github.com verified: true @@ -81039,7 +81040,7 @@ paths: application/json: schema: type: array - items: *515 + items: *516 examples: default: value: @@ -81151,7 +81152,7 @@ paths: type: array items: *17 examples: - default: *199 + default: *200 headers: Link: *6 '304': *37 @@ -81184,7 +81185,7 @@ paths: type: array items: *17 examples: - default: *199 + default: *200 headers: Link: *6 '304': *37 @@ -81297,7 +81298,7 @@ paths: application/json: schema: type: array - items: &516 + items: &517 title: GPG Key description: A unique encryption key type: object @@ -81442,7 +81443,7 @@ paths: - subkeys - revoked examples: - default: &536 + default: &537 value: - id: 3 name: Octocat's GPG Key @@ -81527,9 +81528,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: &517 + default: &518 value: id: 3 name: Octocat's GPG Key @@ -81586,7 +81587,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &518 + - &519 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -81598,9 +81599,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: *517 + default: *518 '404': *34 '304': *37 '403': *38 @@ -81623,7 +81624,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *518 + - *519 responses: '204': description: Response @@ -81814,7 +81815,7 @@ paths: type: array items: *80 examples: - default: *519 + default: *520 headers: Link: *6 '404': *34 @@ -81932,7 +81933,7 @@ paths: - closed - all default: open - - *193 + - *194 - name: sort description: What to sort results by. in: query @@ -81957,7 +81958,7 @@ paths: type: array items: *114 examples: - default: *194 + default: *195 headers: Link: *6 '404': *34 @@ -81990,7 +81991,7 @@ paths: application/json: schema: type: array - items: &520 + items: &521 title: Key description: Key type: object @@ -82088,9 +82089,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *521 examples: - default: &521 + default: &522 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -82123,15 +82124,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *425 + - *426 responses: '200': description: Response content: application/json: - schema: *520 + schema: *521 examples: - default: *521 + default: *522 '404': *34 '304': *37 '403': *38 @@ -82154,7 +82155,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *425 + - *426 responses: '204': description: Response @@ -82197,7 +82198,7 @@ paths: application/json: schema: type: array - items: *195 + items: *196 examples: default: value: @@ -82305,7 +82306,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *196 examples: default: value: @@ -82388,7 +82389,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *196 examples: default: value: @@ -82456,7 +82457,7 @@ paths: application/json: schema: type: array - items: *197 + items: *198 examples: default: value: @@ -82718,7 +82719,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *198 examples: default: value: @@ -82911,7 +82912,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/migrations/users#download-a-user-migration-archive parameters: - - *198 + - *199 responses: '302': description: Response @@ -82934,7 +82935,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *198 + - *199 - *4 - *5 responses: @@ -82946,7 +82947,7 @@ paths: type: array items: *143 examples: - default: *207 + default: *208 headers: Link: *6 '404': *34 @@ -82983,7 +82984,7 @@ paths: type: array items: *65 examples: - default: *522 + default: *523 headers: Link: *6 '304': *37 @@ -83025,7 +83026,7 @@ paths: - docker - nuget - container - - *523 + - *524 - *5 - *4 responses: @@ -83035,10 +83036,10 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: *524 - '400': *525 + default: *525 + '400': *526 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -83058,16 +83059,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *202 - *203 + - *204 responses: '200': description: Response content: application/json: - schema: *200 + schema: *201 examples: - default: &537 + default: &538 value: id: 40201 name: octo-name @@ -83180,8 +83181,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *202 - *203 + - *204 responses: '204': description: Response @@ -83211,8 +83212,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *202 - *203 + - *204 - name: token description: package token schema: @@ -83244,8 +83245,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *202 - *203 + - *204 - *5 - *4 - name: state @@ -83265,7 +83266,7 @@ paths: application/json: schema: type: array - items: *204 + items: *205 examples: default: value: @@ -83314,15 +83315,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *202 - *203 - - *205 + - *204 + - *206 responses: '200': description: Response content: application/json: - schema: *204 + schema: *205 examples: default: value: @@ -83358,9 +83359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *202 - *203 - - *205 + - *204 + - *206 responses: '204': description: Response @@ -83390,9 +83391,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *202 - *203 - - *205 + - *204 + - *206 responses: '204': description: Response @@ -83450,7 +83451,7 @@ paths: description: Response content: application/json: - schema: *217 + schema: *218 examples: default: value: @@ -83519,9 +83520,9 @@ paths: application/json: schema: type: array - items: *515 + items: *516 examples: - default: *526 + default: *527 headers: Link: *6 '304': *37 @@ -83634,7 +83635,7 @@ paths: type: array items: *80 examples: - default: &533 + default: &534 summary: Default response value: - id: 1296269 @@ -83950,9 +83951,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: *264 + default: *265 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -83990,9 +83991,9 @@ paths: application/json: schema: type: array - items: *400 + items: *401 examples: - default: *527 + default: *528 headers: Link: *6 '304': *37 @@ -84015,7 +84016,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *401 + - *402 responses: '204': description: Response @@ -84038,7 +84039,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *401 + - *402 responses: '204': description: Response @@ -84071,7 +84072,7 @@ paths: application/json: schema: type: array - items: &528 + items: &529 title: Social account description: Social media account type: object @@ -84088,7 +84089,7 @@ paths: - provider - url examples: - default: &529 + default: &530 value: - provider: twitter url: https://twitter.com/github @@ -84151,9 +84152,9 @@ paths: application/json: schema: type: array - items: *528 + items: *529 examples: - default: *529 + default: *530 '422': *29 '304': *37 '404': *34 @@ -84241,7 +84242,7 @@ paths: application/json: schema: type: array - items: &530 + items: &531 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -84261,7 +84262,7 @@ paths: - title - created_at examples: - default: &538 + default: &539 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -84328,9 +84329,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *531 examples: - default: &531 + default: &532 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -84361,7 +84362,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &532 + - &533 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -84373,9 +84374,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *531 examples: - default: *531 + default: *532 '404': *34 '304': *37 '403': *38 @@ -84398,7 +84399,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *532 + - *533 responses: '204': description: Response @@ -84427,7 +84428,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &539 + - &540 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -84452,11 +84453,11 @@ paths: type: array items: *80 examples: - default-response: *533 + default-response: *534 application/vnd.github.v3.star+json: schema: type: array - items: &540 + items: &541 title: Starred Repository description: Starred Repository type: object @@ -84612,8 +84613,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *251 - *252 + - *253 responses: '204': description: Response if this repository is starred by you @@ -84641,8 +84642,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *251 - *252 + - *253 responses: '204': description: Response @@ -84666,8 +84667,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *251 - *252 + - *253 responses: '204': description: Response @@ -84702,7 +84703,7 @@ paths: type: array items: *143 examples: - default: *207 + default: *208 headers: Link: *6 '304': *37 @@ -84739,7 +84740,7 @@ paths: application/json: schema: type: array - items: *232 + items: *233 examples: default: value: @@ -84826,10 +84827,10 @@ paths: application/json: schema: oneOf: + - *515 - *514 - - *513 examples: - default-response: &534 + default-response: &535 summary: Default response value: login: octocat @@ -84864,7 +84865,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &535 + response-with-git-hub-plan-information: &536 summary: Response with GitHub plan information value: login: octocat @@ -84940,7 +84941,7 @@ paths: type: array items: *17 examples: - default: *199 + default: *200 headers: Link: example: ; rel="next" @@ -84976,11 +84977,11 @@ paths: application/json: schema: oneOf: + - *515 - *514 - - *513 examples: - default-response: *534 - response-with-git-hub-plan-information: *535 + default-response: *535 + response-with-git-hub-plan-information: *536 '404': *34 x-github: githubCloudOnly: false @@ -85009,9 +85010,9 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: *524 + default: *525 '403': *38 '401': *36 x-github: @@ -85294,7 +85295,7 @@ paths: type: array items: *17 examples: - default: *199 + default: *200 headers: Link: *6 x-github: @@ -85325,7 +85326,7 @@ paths: type: array items: *17 examples: - default: *199 + default: *200 headers: Link: *6 x-github: @@ -85415,9 +85416,9 @@ paths: application/json: schema: type: array - items: *516 + items: *517 examples: - default: *536 + default: *537 headers: Link: *6 x-github: @@ -85521,7 +85522,7 @@ paths: application/json: schema: *33 examples: - default: *399 + default: *400 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -85599,7 +85600,7 @@ paths: type: array items: *65 examples: - default: *522 + default: *523 headers: Link: *6 x-github: @@ -85638,7 +85639,7 @@ paths: - docker - nuget - container - - *523 + - *524 - *8 - *5 - *4 @@ -85649,12 +85650,12 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: *524 + default: *525 '403': *38 '401': *36 - '400': *525 + '400': *526 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -85674,17 +85675,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#get-a-package-for-a-user parameters: - - *202 - *203 + - *204 - *8 responses: '200': description: Response content: application/json: - schema: *200 + schema: *201 examples: - default: *537 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -85705,8 +85706,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#delete-a-package-for-a-user parameters: - - *202 - *203 + - *204 - *8 responses: '204': @@ -85739,8 +85740,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#restore-a-package-for-a-user parameters: - - *202 - *203 + - *204 - *8 - name: token description: package token @@ -85773,8 +85774,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *202 - *203 + - *204 - *8 responses: '200': @@ -85783,7 +85784,7 @@ paths: application/json: schema: type: array - items: *204 + items: *205 examples: default: value: @@ -85841,16 +85842,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *202 - *203 - - *205 + - *204 + - *206 - *8 responses: '200': description: Response content: application/json: - schema: *204 + schema: *205 examples: default: value: @@ -85885,10 +85886,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#delete-package-version-for-a-user parameters: - - *202 - *203 + - *204 - *8 - - *205 + - *206 responses: '204': description: Response @@ -85920,10 +85921,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#restore-package-version-for-a-user parameters: - - *202 - *203 + - *204 - *8 - - *205 + - *206 responses: '204': description: Response @@ -85967,7 +85968,7 @@ paths: application/json: schema: type: array - items: *217 + items: *218 examples: default: value: @@ -86247,7 +86248,7 @@ paths: type: array items: *143 examples: - default: *207 + default: *208 headers: Link: *6 x-github: @@ -86317,9 +86318,9 @@ paths: application/json: schema: type: array - items: *528 + items: *529 examples: - default: *529 + default: *530 headers: Link: *6 x-github: @@ -86349,9 +86350,9 @@ paths: application/json: schema: type: array - items: *530 + items: *531 examples: - default: *538 + default: *539 headers: Link: *6 x-github: @@ -86376,7 +86377,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *8 - - *539 + - *540 - *9 - *4 - *5 @@ -86388,11 +86389,11 @@ paths: schema: anyOf: - type: array - items: *540 + items: *541 - type: array items: *80 examples: - default-response: *533 + default-response: *534 headers: Link: *6 x-github: @@ -86423,7 +86424,7 @@ paths: type: array items: *143 examples: - default: *207 + default: *208 headers: Link: *6 x-github: @@ -86612,7 +86613,7 @@ webhooks: type: string enum: - created - enterprise: &541 + enterprise: &542 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -86681,7 +86682,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &542 + installation: &543 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -86702,7 +86703,7 @@ webhooks: required: - id - node_id - organization: &543 + organization: &544 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -86775,7 +86776,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &544 + repository: &545 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -87605,7 +87606,7 @@ webhooks: - watchers_count - created_at - updated_at - rule: &545 + rule: &546 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-server@3.10/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -87822,11 +87823,11 @@ webhooks: type: string enum: - deleted - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 - rule: *545 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 + rule: *546 sender: *17 required: - action @@ -88004,11 +88005,11 @@ webhooks: - everyone required: - from - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 - rule: *545 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 + rule: *546 sender: *17 required: - action @@ -88093,12 +88094,12 @@ webhooks: type: string cache_location: type: string - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 ref: type: string - repository: *544 + repository: *545 sender: *17 required: - cache_location @@ -88192,7 +88193,7 @@ webhooks: type: string enum: - completed - check_run: &547 + check_run: &548 title: CheckRun description: A check performed on the code of a given code change type: object @@ -88260,7 +88261,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *320 + items: *321 repository: *143 status: type: string @@ -88305,7 +88306,7 @@ webhooks: - examples: - neutral - deployment: *546 + deployment: *547 details_url: type: string examples: @@ -88365,7 +88366,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *320 + items: *321 started_at: type: string format: date-time @@ -88403,9 +88404,9 @@ webhooks: - output - app - pull_requests - installation: *542 - organization: *543 - repository: *544 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - check_run @@ -88808,10 +88809,10 @@ webhooks: type: string enum: - created - check_run: *547 - installation: *542 - organization: *543 - repository: *544 + check_run: *548 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - check_run @@ -89217,10 +89218,10 @@ webhooks: type: string enum: - requested_action - check_run: *547 - installation: *542 - organization: *543 - repository: *544 + check_run: *548 + installation: *543 + organization: *544 + repository: *545 requested_action: description: The action requested by the user. type: object @@ -89635,10 +89636,10 @@ webhooks: type: string enum: - rerequested - check_run: *547 - installation: *542 - organization: *543 - repository: *544 + check_run: *548 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - check_run @@ -90640,10 +90641,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -91338,10 +91339,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -92030,10 +92031,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -92209,7 +92210,7 @@ webhooks: required: - login - id - dismissed_comment: *332 + dismissed_comment: *333 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -92361,20 +92362,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &548 + commit_oid: &549 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *541 - installation: *542 - organization: *543 - ref: &549 + enterprise: *542 + installation: *543 + organization: *544 + ref: &550 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *544 + repository: *545 sender: *17 required: - action @@ -92548,7 +92549,7 @@ webhooks: required: - login - id - dismissed_comment: *332 + dismissed_comment: *333 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -92718,12 +92719,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *548 - enterprise: *541 - installation: *542 - organization: *543 - ref: *549 - repository: *544 + commit_oid: *549 + enterprise: *542 + installation: *543 + organization: *544 + ref: *550 + repository: *545 sender: *17 required: - action @@ -92831,7 +92832,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *332 + dismissed_comment: *333 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -93010,12 +93011,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *548 - enterprise: *541 - installation: *542 - organization: *543 - ref: *549 - repository: *544 + commit_oid: *549 + enterprise: *542 + installation: *543 + organization: *544 + ref: *550 + repository: *545 sender: *17 required: - action @@ -93191,7 +93192,7 @@ webhooks: required: - login - id - dismissed_comment: *332 + dismissed_comment: *333 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -93368,12 +93369,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *548 - enterprise: *541 - installation: *542 - organization: *543 - ref: *549 - repository: *544 + commit_oid: *549 + enterprise: *542 + installation: *543 + organization: *544 + ref: *550 + repository: *545 sender: *17 required: - action @@ -93483,7 +93484,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *332 + dismissed_comment: *333 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -93663,9 +93664,9 @@ webhooks: type: - string - 'null' - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -93673,7 +93674,7 @@ webhooks: type: - string - 'null' - repository: *544 + repository: *545 sender: *17 required: - action @@ -93779,7 +93780,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *332 + dismissed_comment: *333 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -93926,12 +93927,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *548 - enterprise: *541 - installation: *542 - organization: *543 - ref: *549 - repository: *544 + commit_oid: *549 + enterprise: *542 + installation: *543 + organization: *544 + ref: *550 + repository: *545 sender: *17 required: - action @@ -94203,10 +94204,10 @@ webhooks: - updated_at - author_association - body - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -94297,18 +94298,18 @@ webhooks: type: - string - 'null' - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *543 - pusher_type: &550 + organization: *544 + pusher_type: &551 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &551 + ref: &552 description: The [`git ref`](https://docs.github.com/enterprise-server@3.10/rest/git/refs#get-a-reference) resource. type: string @@ -94318,7 +94319,7 @@ webhooks: enum: - tag - branch - repository: *544 + repository: *545 sender: *17 required: - ref @@ -94407,18 +94408,18 @@ webhooks: title: delete event type: object properties: - enterprise: *541 - installation: *542 - organization: *543 - pusher_type: *550 - ref: *551 + enterprise: *542 + installation: *543 + organization: *544 + pusher_type: *551 + ref: *552 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *544 + repository: *545 sender: *17 required: - ref @@ -94513,11 +94514,11 @@ webhooks: type: string enum: - created - alert: *362 - installation: *542 - organization: *543 - enterprise: *541 - repository: *544 + alert: *363 + installation: *543 + organization: *544 + enterprise: *542 + repository: *545 sender: *17 required: - action @@ -94609,11 +94610,11 @@ webhooks: type: string enum: - dismissed - alert: *362 - installation: *542 - organization: *543 - enterprise: *541 - repository: *544 + alert: *363 + installation: *543 + organization: *544 + enterprise: *542 + repository: *545 sender: *17 required: - action @@ -94705,11 +94706,11 @@ webhooks: type: string enum: - fixed - alert: *362 - installation: *542 - organization: *543 - enterprise: *541 - repository: *544 + alert: *363 + installation: *543 + organization: *544 + enterprise: *542 + repository: *545 sender: *17 required: - action @@ -94802,11 +94803,11 @@ webhooks: type: string enum: - reintroduced - alert: *362 - installation: *542 - organization: *543 - enterprise: *541 - repository: *544 + alert: *363 + installation: *543 + organization: *544 + enterprise: *542 + repository: *545 sender: *17 required: - action @@ -94898,11 +94899,11 @@ webhooks: type: string enum: - reopened - alert: *362 - installation: *542 - organization: *543 - enterprise: *541 - repository: *544 + alert: *363 + installation: *543 + organization: *544 + enterprise: *542 + repository: *545 sender: *17 required: - action @@ -94989,9 +94990,9 @@ webhooks: type: string enum: - created - enterprise: *541 - installation: *542 - key: &552 + enterprise: *542 + installation: *543 + key: &553 description: The [`deploy key`](https://docs.github.com/enterprise-server@3.10/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -95027,8 +95028,8 @@ webhooks: - verified - created_at - read_only - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 required: - action @@ -95115,11 +95116,11 @@ webhooks: type: string enum: - deleted - enterprise: *541 - installation: *542 - key: *552 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + key: *553 + organization: *544 + repository: *545 sender: *17 required: - action @@ -95701,12 +95702,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 - workflow: &556 + workflow: &557 title: Workflow type: - object @@ -96454,13 +96455,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *368 + deployment: *369 pull_requests: type: array - items: *445 - repository: *544 - organization: *543 - installation: *542 + items: *446 + repository: *545 + organization: *544 + installation: *543 sender: *17 responses: '200': @@ -96541,7 +96542,7 @@ webhooks: type: string enum: - approved - approver: &553 + approver: &554 type: object properties: avatar_url: @@ -96584,11 +96585,11 @@ webhooks: type: string comment: type: string - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 - reviewers: &554 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 + reviewers: &555 type: array items: type: object @@ -96669,7 +96670,7 @@ webhooks: sender: *17 since: type: string - workflow_job_run: &555 + workflow_job_run: &556 type: object properties: conclusion: @@ -97425,18 +97426,18 @@ webhooks: type: string enum: - rejected - approver: *553 + approver: *554 comment: type: string - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 - reviewers: *554 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 + reviewers: *555 sender: *17 since: type: string - workflow_job_run: *555 + workflow_job_run: *556 workflow_job_runs: type: array items: @@ -98163,13 +98164,13 @@ webhooks: type: string enum: - requested - enterprise: *541 + enterprise: *542 environment: type: string - installation: *542 - organization: *543 - repository: *544 - requestor: &561 + installation: *543 + organization: *544 + repository: *545 + requestor: &562 title: User type: - object @@ -100122,12 +100123,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 - workflow: *556 + workflow: *557 workflow_run: title: Deployment Workflow Run type: @@ -100828,7 +100829,7 @@ webhooks: type: string enum: - answered - answer: &559 + answer: &560 type: object properties: author_association: @@ -100988,7 +100989,7 @@ webhooks: - created_at - updated_at - body - discussion: &557 + discussion: &558 title: Discussion description: A Discussion in a repository. type: object @@ -101284,7 +101285,7 @@ webhooks: - id labels: type: array - items: *408 + items: *409 required: - repository_url - category @@ -101306,10 +101307,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -101446,11 +101447,11 @@ webhooks: - from required: - category - discussion: *557 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + discussion: *558 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -101543,11 +101544,11 @@ webhooks: type: string enum: - closed - discussion: *557 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + discussion: *558 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -101639,7 +101640,7 @@ webhooks: type: string enum: - created - comment: &558 + comment: &559 type: object properties: author_association: @@ -101799,11 +101800,11 @@ webhooks: - updated_at - body - reactions - discussion: *557 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + discussion: *558 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -101896,12 +101897,12 @@ webhooks: type: string enum: - deleted - comment: *558 - discussion: *557 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + comment: *559 + discussion: *558 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -102006,12 +102007,12 @@ webhooks: - from required: - body - comment: *558 - discussion: *557 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + comment: *559 + discussion: *558 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -102105,11 +102106,11 @@ webhooks: type: string enum: - created - discussion: *557 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + discussion: *558 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -102201,11 +102202,11 @@ webhooks: type: string enum: - deleted - discussion: *557 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + discussion: *558 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -102315,11 +102316,11 @@ webhooks: type: string required: - from - discussion: *557 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + discussion: *558 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -102411,10 +102412,10 @@ webhooks: type: string enum: - labeled - discussion: *557 - enterprise: *541 - installation: *542 - label: &560 + discussion: *558 + enterprise: *542 + installation: *543 + label: &561 title: Label type: object properties: @@ -102447,8 +102448,8 @@ webhooks: - color - default - description - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 required: - action @@ -102541,11 +102542,11 @@ webhooks: type: string enum: - locked - discussion: *557 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + discussion: *558 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -102637,11 +102638,11 @@ webhooks: type: string enum: - pinned - discussion: *557 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + discussion: *558 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -102733,11 +102734,11 @@ webhooks: type: string enum: - reopened - discussion: *557 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + discussion: *558 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -102832,16 +102833,16 @@ webhooks: changes: type: object properties: - new_discussion: *557 - new_repository: *544 + new_discussion: *558 + new_repository: *545 required: - new_discussion - new_repository - discussion: *557 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + discussion: *558 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -102934,10 +102935,10 @@ webhooks: type: string enum: - unanswered - discussion: *557 - old_answer: *559 - organization: *543 - repository: *544 + discussion: *558 + old_answer: *560 + organization: *544 + repository: *545 sender: *17 required: - action @@ -103029,12 +103030,12 @@ webhooks: type: string enum: - unlabeled - discussion: *557 - enterprise: *541 - installation: *542 - label: *560 - organization: *543 - repository: *544 + discussion: *558 + enterprise: *542 + installation: *543 + label: *561 + organization: *544 + repository: *545 sender: *17 required: - action @@ -103127,11 +103128,11 @@ webhooks: type: string enum: - unlocked - discussion: *557 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + discussion: *558 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -103223,11 +103224,11 @@ webhooks: type: string enum: - unpinned - discussion: *557 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + discussion: *558 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -103468,7 +103469,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *541 + enterprise: *542 forkee: description: The created [`repository`](https://docs.github.com/enterprise-server@3.10/rest/repos/repos#get-a-repository) resource. @@ -104146,9 +104147,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *542 - organization: *543 - repository: *544 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - forkee @@ -104314,9 +104315,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 pages: description: The pages that were updated. type: array @@ -104354,7 +104355,7 @@ webhooks: - action - sha - html_url - repository: *544 + repository: *545 sender: *17 required: - pages @@ -104440,10 +104441,10 @@ webhooks: type: string enum: - created - enterprise: *541 + enterprise: *542 installation: *33 - organization: *543 - repositories: &562 + organization: *544 + repositories: &563 description: An array of repository objects that the installation can access. type: array @@ -104469,8 +104470,8 @@ webhooks: - name - full_name - private - repository: *544 - requester: *561 + repository: *545 + requester: *562 sender: *17 required: - action @@ -104555,11 +104556,11 @@ webhooks: type: string enum: - deleted - enterprise: *541 + enterprise: *542 installation: *33 - organization: *543 - repositories: *562 - repository: *544 + organization: *544 + repositories: *563 + repository: *545 requester: type: - 'null' @@ -104646,11 +104647,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *541 + enterprise: *542 installation: *33 - organization: *543 - repositories: *562 - repository: *544 + organization: *544 + repositories: *563 + repository: *545 requester: type: - 'null' @@ -104737,10 +104738,10 @@ webhooks: type: string enum: - added - enterprise: *541 + enterprise: *542 installation: *33 - organization: *543 - repositories_added: &563 + organization: *544 + repositories_added: &564 description: An array of repository objects, which were added to the installation. type: array @@ -104786,15 +104787,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *544 - repository_selection: &564 + repository: *545 + repository_selection: &565 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *561 + requester: *562 sender: *17 required: - action @@ -104883,10 +104884,10 @@ webhooks: type: string enum: - removed - enterprise: *541 + enterprise: *542 installation: *33 - organization: *543 - repositories_added: *563 + organization: *544 + repositories_added: *564 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -104913,9 +104914,9 @@ webhooks: - name - full_name - private - repository: *544 - repository_selection: *564 - requester: *561 + repository: *545 + repository_selection: *565 + requester: *562 sender: *17 required: - action @@ -105004,11 +105005,11 @@ webhooks: type: string enum: - suspend - enterprise: *541 + enterprise: *542 installation: *33 - organization: *543 - repositories: *562 - repository: *544 + organization: *544 + repositories: *563 + repository: *545 requester: type: - 'null' @@ -105197,10 +105198,10 @@ webhooks: type: string required: - from - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 target_type: type: string @@ -105289,11 +105290,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *541 + enterprise: *542 installation: *33 - organization: *543 - repositories: *562 - repository: *544 + organization: *544 + repositories: *563 + repository: *545 requester: type: - 'null' @@ -105551,8 +105552,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 issue: description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) the comment belongs to. @@ -106742,8 +106743,8 @@ webhooks: - state - locked - assignee - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 required: - action @@ -106833,7 +106834,7 @@ webhooks: type: string enum: - deleted - comment: &565 + comment: &566 title: issue comment description: The [comment](https://docs.github.com/enterprise-server@3.10/rest/issues/comments#get-an-issue-comment) itself. @@ -107000,8 +107001,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 issue: description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) the comment belongs to. @@ -108189,8 +108190,8 @@ webhooks: - state - locked - assignee - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 required: - action @@ -108280,7 +108281,7 @@ webhooks: type: string enum: - edited - changes: &584 + changes: &585 description: The changes to the comment. type: object properties: @@ -108292,9 +108293,9 @@ webhooks: type: string required: - from - comment: *565 - enterprise: *541 - installation: *542 + comment: *566 + enterprise: *542 + installation: *543 issue: description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) the comment belongs to. @@ -109483,8 +109484,8 @@ webhooks: - state - locked - assignee - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 required: - action @@ -109576,10 +109577,10 @@ webhooks: type: string enum: - assigned - assignee: *561 - enterprise: *541 - installation: *542 - issue: &568 + assignee: *562 + enterprise: *542 + installation: *543 + issue: &569 title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) itself. @@ -110523,8 +110524,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 required: - action @@ -110614,8 +110615,8 @@ webhooks: type: string enum: - closed - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 issue: description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) itself. @@ -111707,8 +111708,8 @@ webhooks: required: - state - closed_at - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 required: - action @@ -111797,8 +111798,8 @@ webhooks: type: string enum: - deleted - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -112735,8 +112736,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 required: - action @@ -112825,8 +112826,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -113767,7 +113768,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &566 + milestone: &567 title: Milestone description: A collection of related issues and pull requests. type: object @@ -113910,8 +113911,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 required: - action @@ -114020,8 +114021,8 @@ webhooks: type: string required: - from - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -114965,9 +114966,9 @@ webhooks: - active_lock_reason - body - reactions - label: *560 - organization: *543 - repository: *544 + label: *561 + organization: *544 + repository: *545 sender: *17 required: - action @@ -115057,8 +115058,8 @@ webhooks: type: string enum: - labeled - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -116001,9 +116002,9 @@ webhooks: - active_lock_reason - body - reactions - label: *560 - organization: *543 - repository: *544 + label: *561 + organization: *544 + repository: *545 sender: *17 required: - action @@ -116093,8 +116094,8 @@ webhooks: type: string enum: - locked - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -117039,8 +117040,8 @@ webhooks: format: uri user_view_type: type: string - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 required: - action @@ -117129,8 +117130,8 @@ webhooks: type: string enum: - milestoned - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -118069,9 +118070,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *566 - organization: *543 - repository: *544 + milestone: *567 + organization: *544 + repository: *545 sender: *17 required: - action @@ -119575,8 +119576,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -120519,8 +120520,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 required: - action @@ -120610,9 +120611,9 @@ webhooks: type: string enum: - pinned - enterprise: *541 - installation: *542 - issue: &567 + enterprise: *542 + installation: *543 + issue: &568 title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) itself. @@ -121549,8 +121550,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 required: - action @@ -121639,8 +121640,8 @@ webhooks: type: string enum: - reopened - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -122584,8 +122585,8 @@ webhooks: format: uri user_view_type: type: string - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 required: - action @@ -124089,11 +124090,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *541 - installation: *542 - issue: *567 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + issue: *568 + organization: *544 + repository: *545 sender: *17 required: - action @@ -124184,7 +124185,7 @@ webhooks: type: string enum: - unassigned - assignee: &587 + assignee: &588 title: User type: - object @@ -124256,11 +124257,11 @@ webhooks: required: - login - id - enterprise: *541 - installation: *542 - issue: *568 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + issue: *569 + organization: *544 + repository: *545 sender: *17 required: - action @@ -124349,12 +124350,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *541 - installation: *542 - issue: *568 - label: *560 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + issue: *569 + label: *561 + organization: *544 + repository: *545 sender: *17 required: - action @@ -124444,8 +124445,8 @@ webhooks: type: string enum: - unlocked - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -125388,8 +125389,8 @@ webhooks: format: uri user_view_type: type: string - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 required: - action @@ -125479,11 +125480,11 @@ webhooks: type: string enum: - unpinned - enterprise: *541 - installation: *542 - issue: *567 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + issue: *568 + organization: *544 + repository: *545 sender: *17 required: - action @@ -125572,11 +125573,11 @@ webhooks: type: string enum: - created - enterprise: *541 - installation: *542 - label: *560 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + label: *561 + organization: *544 + repository: *545 sender: *17 required: - action @@ -125664,11 +125665,11 @@ webhooks: type: string enum: - deleted - enterprise: *541 - installation: *542 - label: *560 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + label: *561 + organization: *544 + repository: *545 sender: *17 required: - action @@ -125788,11 +125789,11 @@ webhooks: type: string required: - from - enterprise: *541 - installation: *542 - label: *560 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + label: *561 + organization: *544 + repository: *545 sender: *17 required: - action @@ -125893,11 +125894,11 @@ webhooks: - read required: - to - enterprise: *541 - installation: *542 - member: *561 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + member: *562 + organization: *544 + repository: *545 sender: *17 required: - action @@ -126009,11 +126010,11 @@ webhooks: type: - string - 'null' - enterprise: *541 - installation: *542 - member: *561 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + member: *562 + organization: *544 + repository: *545 sender: *17 required: - action @@ -126102,11 +126103,11 @@ webhooks: type: string enum: - removed - enterprise: *541 - installation: *542 - member: *561 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + member: *562 + organization: *544 + repository: *545 sender: *17 required: - action @@ -126194,11 +126195,11 @@ webhooks: type: string enum: - added - enterprise: *541 - installation: *542 - member: *561 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + member: *562 + organization: *544 + repository: *545 scope: description: The scope of the membership. Currently, can only be `team`. @@ -126276,7 +126277,7 @@ webhooks: required: - login - id - team: &569 + team: &570 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -126479,11 +126480,11 @@ webhooks: type: string enum: - removed - enterprise: *541 - installation: *542 - member: *561 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + member: *562 + organization: *544 + repository: *545 scope: description: The scope of the membership. Currently, can only be `team`. @@ -126562,7 +126563,7 @@ webhooks: required: - login - id - team: *569 + team: *570 required: - action - scope @@ -126650,7 +126651,7 @@ webhooks: type: string enum: - deleted - enterprise: *541 + enterprise: *542 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -126758,12 +126759,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *542 - organization: *543 + installation: *543 + organization: *544 repository: anyOf: - type: 'null' - - *544 + - *545 sender: *17 required: - action @@ -126853,11 +126854,11 @@ webhooks: type: string enum: - closed - enterprise: *541 - installation: *542 - milestone: *566 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + milestone: *567 + organization: *544 + repository: *545 sender: *17 required: - action @@ -126946,9 +126947,9 @@ webhooks: type: string enum: - created - enterprise: *541 - installation: *542 - milestone: &570 + enterprise: *542 + installation: *543 + milestone: &571 title: Milestone description: A collection of related issues and pull requests. type: object @@ -127090,8 +127091,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 required: - action @@ -127180,11 +127181,11 @@ webhooks: type: string enum: - deleted - enterprise: *541 - installation: *542 - milestone: *566 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + milestone: *567 + organization: *544 + repository: *545 sender: *17 required: - action @@ -127304,11 +127305,11 @@ webhooks: type: string required: - from - enterprise: *541 - installation: *542 - milestone: *566 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + milestone: *567 + organization: *544 + repository: *545 sender: *17 required: - action @@ -127398,11 +127399,11 @@ webhooks: type: string enum: - opened - enterprise: *541 - installation: *542 - milestone: *570 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + milestone: *571 + organization: *544 + repository: *545 sender: *17 required: - action @@ -127491,9 +127492,9 @@ webhooks: type: string enum: - deleted - enterprise: *541 - installation: *542 - membership: &571 + enterprise: *542 + installation: *543 + membership: &572 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -127587,8 +127588,8 @@ webhooks: - role - organization_url - user - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 required: - action @@ -127676,11 +127677,11 @@ webhooks: type: string enum: - member_added - enterprise: *541 - installation: *542 - membership: *571 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + membership: *572 + organization: *544 + repository: *545 sender: *17 required: - action @@ -127769,8 +127770,8 @@ webhooks: type: string enum: - member_invited - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -127892,10 +127893,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 - user: *561 + user: *562 required: - action - invitation @@ -127983,11 +127984,11 @@ webhooks: type: string enum: - member_removed - enterprise: *541 - installation: *542 - membership: *571 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + membership: *572 + organization: *544 + repository: *545 sender: *17 required: - action @@ -128084,11 +128085,11 @@ webhooks: properties: from: type: string - enterprise: *541 - installation: *542 - membership: *571 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + membership: *572 + organization: *544 + repository: *545 sender: *17 required: - action @@ -128174,9 +128175,9 @@ webhooks: type: string enum: - published - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 package: description: Information about the package. type: object @@ -128699,7 +128700,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &572 + items: &573 title: Ruby Gems metadata type: object properties: @@ -128796,7 +128797,7 @@ webhooks: - owner - package_version - registry - repository: *544 + repository: *545 sender: *17 required: - action @@ -128882,9 +128883,9 @@ webhooks: type: string enum: - updated - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 package: description: Information about the package. type: object @@ -129246,7 +129247,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *572 + items: *573 source_url: type: string format: uri @@ -129317,7 +129318,7 @@ webhooks: - owner - package_version - registry - repository: *544 + repository: *545 sender: *17 required: - action @@ -129508,12 +129509,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *541 + enterprise: *542 id: type: integer - installation: *542 - organization: *543 - repository: *544 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - id @@ -129593,7 +129594,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &573 + personal_access_token_request: &574 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -129743,10 +129744,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *541 - organization: *543 + enterprise: *542 + organization: *544 sender: *17 - installation: *542 + installation: *543 required: - action - personal_access_token_request @@ -129825,11 +129826,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *573 - enterprise: *541 - organization: *543 + personal_access_token_request: *574 + enterprise: *542 + organization: *544 sender: *17 - installation: *542 + installation: *543 required: - action - personal_access_token_request @@ -129907,11 +129908,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *573 - enterprise: *541 - organization: *543 + personal_access_token_request: *574 + enterprise: *542 + organization: *544 sender: *17 - installation: *542 + installation: *543 required: - action - personal_access_token_request @@ -129988,11 +129989,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *573 - organization: *543 - enterprise: *541 + personal_access_token_request: *574 + organization: *544 + enterprise: *542 sender: *17 - installation: *542 + installation: *543 required: - action - personal_access_token_request @@ -130106,7 +130107,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *574 + last_response: *575 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -130138,8 +130139,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 zen: description: Random string of GitHub zen. @@ -130394,10 +130395,10 @@ webhooks: - from required: - note - enterprise: *541 - installation: *542 - organization: *543 - project_card: &575 + enterprise: *542 + installation: *543 + organization: *544 + project_card: &576 title: Project Card type: object properties: @@ -130520,7 +130521,7 @@ webhooks: - creator - created_at - updated_at - repository: *544 + repository: *545 sender: *17 required: - action @@ -130611,11 +130612,11 @@ webhooks: type: string enum: - created - enterprise: *541 - installation: *542 - organization: *543 - project_card: *575 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + project_card: *576 + repository: *545 sender: *17 required: - action @@ -130705,9 +130706,9 @@ webhooks: type: string enum: - deleted - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 project_card: title: Project Card type: object @@ -130837,7 +130838,7 @@ webhooks: repository: anyOf: - type: 'null' - - *544 + - *545 sender: *17 required: - action @@ -130941,11 +130942,11 @@ webhooks: - from required: - note - enterprise: *541 - installation: *542 - organization: *543 - project_card: *575 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + project_card: *576 + repository: *545 sender: *17 required: - action @@ -131049,9 +131050,9 @@ webhooks: - from required: - column_id - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 project_card: allOf: - title: Project Card @@ -131248,7 +131249,7 @@ webhooks: type: string required: - after_id - repository: *544 + repository: *545 sender: *17 required: - action @@ -131338,10 +131339,10 @@ webhooks: type: string enum: - closed - enterprise: *541 - installation: *542 - organization: *543 - project: &577 + enterprise: *542 + installation: *543 + organization: *544 + project: &578 title: Project type: object properties: @@ -131468,7 +131469,7 @@ webhooks: - creator - created_at - updated_at - repository: *544 + repository: *545 sender: *17 required: - action @@ -131558,10 +131559,10 @@ webhooks: type: string enum: - created - enterprise: *541 - installation: *542 - organization: *543 - project_column: &576 + enterprise: *542 + installation: *543 + organization: *544 + project_column: &577 title: Project Column type: object properties: @@ -131601,7 +131602,7 @@ webhooks: - name - created_at - updated_at - repository: *544 + repository: *545 sender: *17 required: - action @@ -131690,14 +131691,14 @@ webhooks: type: string enum: - deleted - enterprise: *541 - installation: *542 - organization: *543 - project_column: *576 + enterprise: *542 + installation: *543 + organization: *544 + project_column: *577 repository: anyOf: - type: 'null' - - *544 + - *545 sender: *17 required: - action @@ -131796,11 +131797,11 @@ webhooks: type: string required: - from - enterprise: *541 - installation: *542 - organization: *543 - project_column: *576 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + project_column: *577 + repository: *545 sender: *17 required: - action @@ -131890,11 +131891,11 @@ webhooks: type: string enum: - moved - enterprise: *541 - installation: *542 - organization: *543 - project_column: *576 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + project_column: *577 + repository: *545 sender: *17 required: - action @@ -131984,11 +131985,11 @@ webhooks: type: string enum: - created - enterprise: *541 - installation: *542 - organization: *543 - project: *577 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + project: *578 + repository: *545 sender: *17 required: - action @@ -132078,14 +132079,14 @@ webhooks: type: string enum: - deleted - enterprise: *541 - installation: *542 - organization: *543 - project: *577 + enterprise: *542 + installation: *543 + organization: *544 + project: *578 repository: anyOf: - type: 'null' - - *544 + - *545 sender: *17 required: - action @@ -132196,11 +132197,11 @@ webhooks: type: string required: - from - enterprise: *541 - installation: *542 - organization: *543 - project: *577 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + project: *578 + repository: *545 sender: *17 required: - action @@ -132289,11 +132290,11 @@ webhooks: type: string enum: - reopened - enterprise: *541 - installation: *542 - organization: *543 - project: *577 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + project: *578 + repository: *545 sender: *17 required: - action @@ -132384,9 +132385,9 @@ webhooks: type: string enum: - closed - installation: *542 - organization: *543 - projects_v2: &578 + installation: *543 + organization: *544 + projects_v2: &579 title: Projects v2 Project description: A projects v2 project type: object @@ -132544,9 +132545,9 @@ webhooks: type: string enum: - created - installation: *542 - organization: *543 - projects_v2: *578 + installation: *543 + organization: *544 + projects_v2: *579 sender: *17 required: - action @@ -132637,9 +132638,9 @@ webhooks: type: string enum: - deleted - installation: *542 - organization: *543 - projects_v2: *578 + installation: *543 + organization: *544 + projects_v2: *579 sender: *17 required: - action @@ -132770,9 +132771,9 @@ webhooks: type: string to: type: string - installation: *542 - organization: *543 - projects_v2: *578 + installation: *543 + organization: *544 + projects_v2: *579 sender: *17 required: - action @@ -132865,7 +132866,7 @@ webhooks: type: string enum: - archived - changes: &580 + changes: &581 type: object properties: archived_at: @@ -132881,9 +132882,9 @@ webhooks: - string - 'null' format: date-time - installation: *542 - organization: *543 - projects_v2_item: &579 + installation: *543 + organization: *544 + projects_v2_item: &580 title: Projects v2 Item description: An item belonging to a project type: object @@ -133032,9 +133033,9 @@ webhooks: - 'null' to: type: string - installation: *542 - organization: *543 - projects_v2_item: *579 + installation: *543 + organization: *544 + projects_v2_item: *580 sender: *17 required: - action @@ -133126,9 +133127,9 @@ webhooks: type: string enum: - created - installation: *542 - organization: *543 - projects_v2_item: *579 + installation: *543 + organization: *544 + projects_v2_item: *580 sender: *17 required: - action @@ -133219,9 +133220,9 @@ webhooks: type: string enum: - deleted - installation: *542 - organization: *543 - projects_v2_item: *579 + installation: *543 + organization: *544 + projects_v2_item: *580 sender: *17 required: - action @@ -133345,9 +133346,9 @@ webhooks: - 'null' required: - body - installation: *542 - organization: *543 - projects_v2_item: *579 + installation: *543 + organization: *544 + projects_v2_item: *580 sender: *17 required: - action @@ -133454,9 +133455,9 @@ webhooks: type: - string - 'null' - installation: *542 - organization: *543 - projects_v2_item: *579 + installation: *543 + organization: *544 + projects_v2_item: *580 sender: *17 required: - action @@ -133549,10 +133550,10 @@ webhooks: type: string enum: - restored - changes: *580 - installation: *542 - organization: *543 - projects_v2_item: *579 + changes: *581 + installation: *543 + organization: *544 + projects_v2_item: *580 sender: *17 required: - action @@ -133644,9 +133645,9 @@ webhooks: type: string enum: - reopened - installation: *542 - organization: *543 - projects_v2: *578 + installation: *543 + organization: *544 + projects_v2: *579 sender: *17 required: - action @@ -133727,10 +133728,10 @@ webhooks: title: public event type: object properties: - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - repository @@ -133817,13 +133818,13 @@ webhooks: type: string enum: - assigned - assignee: *561 - enterprise: *541 - installation: *542 - number: &581 + assignee: *562 + enterprise: *542 + installation: *543 + number: &582 description: The pull request number. type: integer - organization: *543 + organization: *544 pull_request: title: Pull Request type: object @@ -136172,7 +136173,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *544 + repository: *545 sender: *17 required: - action @@ -136264,11 +136265,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 number: type: integer - organization: *543 + organization: *544 pull_request: title: Pull Request type: object @@ -138610,7 +138611,7 @@ webhooks: - draft reason: type: string - repository: *544 + repository: *545 sender: *17 required: - action @@ -138702,11 +138703,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 number: type: integer - organization: *543 + organization: *544 pull_request: title: Pull Request type: object @@ -141048,7 +141049,7 @@ webhooks: - draft reason: type: string - repository: *544 + repository: *545 sender: *17 required: - action @@ -141140,13 +141141,13 @@ webhooks: type: string enum: - closed - enterprise: *541 - installation: *542 - number: *581 - organization: *543 - pull_request: &582 + enterprise: *542 + installation: *543 + number: *582 + organization: *544 + pull_request: &583 allOf: - - *445 + - *446 - type: object properties: allow_auto_merge: @@ -141208,7 +141209,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *544 + repository: *545 sender: *17 required: - action @@ -141299,12 +141300,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *541 - installation: *542 - number: *581 - organization: *543 - pull_request: *582 - repository: *544 + enterprise: *542 + installation: *543 + number: *582 + organization: *544 + pull_request: *583 + repository: *545 sender: *17 required: - action @@ -141394,11 +141395,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *541 - milestone: *351 - number: *581 - organization: *543 - pull_request: &583 + enterprise: *542 + milestone: *352 + number: *582 + organization: *544 + pull_request: &584 title: Pull Request type: object properties: @@ -143725,7 +143726,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *544 + repository: *545 sender: *17 required: - action @@ -143857,12 +143858,12 @@ webhooks: type: string required: - from - enterprise: *541 - installation: *542 - number: *581 - organization: *543 - pull_request: *582 - repository: *544 + enterprise: *542 + installation: *543 + number: *582 + organization: *544 + pull_request: *583 + repository: *545 sender: *17 required: - action @@ -143952,11 +143953,11 @@ webhooks: type: string enum: - labeled - enterprise: *541 - installation: *542 - label: *560 - number: *581 - organization: *543 + enterprise: *542 + installation: *543 + label: *561 + number: *582 + organization: *544 pull_request: title: Pull Request type: object @@ -146304,7 +146305,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *544 + repository: *545 sender: *17 required: - action @@ -146395,10 +146396,10 @@ webhooks: type: string enum: - locked - enterprise: *541 - installation: *542 - number: *581 - organization: *543 + enterprise: *542 + installation: *543 + number: *582 + organization: *544 pull_request: title: Pull Request type: object @@ -148744,7 +148745,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *544 + repository: *545 sender: *17 required: - action @@ -148834,12 +148835,12 @@ webhooks: type: string enum: - milestoned - enterprise: *541 - milestone: *351 - number: *581 - organization: *543 - pull_request: *583 - repository: *544 + enterprise: *542 + milestone: *352 + number: *582 + organization: *544 + pull_request: *584 + repository: *545 sender: *17 required: - action @@ -148928,12 +148929,12 @@ webhooks: type: string enum: - opened - enterprise: *541 - installation: *542 - number: *581 - organization: *543 - pull_request: *582 - repository: *544 + enterprise: *542 + installation: *543 + number: *582 + organization: *544 + pull_request: *583 + repository: *545 sender: *17 required: - action @@ -149024,12 +149025,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *541 - installation: *542 - number: *581 - organization: *543 - pull_request: *582 - repository: *544 + enterprise: *542 + installation: *543 + number: *582 + organization: *544 + pull_request: *583 + repository: *545 sender: *17 required: - action @@ -149119,12 +149120,12 @@ webhooks: type: string enum: - reopened - enterprise: *541 - installation: *542 - number: *581 - organization: *543 - pull_request: *582 - repository: *544 + enterprise: *542 + installation: *543 + number: *582 + organization: *544 + pull_request: *583 + repository: *545 sender: *17 required: - action @@ -149509,9 +149510,9 @@ webhooks: - start_side - side - reactions - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 pull_request: type: object properties: @@ -151741,7 +151742,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *544 + repository: *545 sender: *17 required: - action @@ -151831,7 +151832,7 @@ webhooks: type: string enum: - deleted - comment: &585 + comment: &586 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-server@3.10/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -152124,9 +152125,9 @@ webhooks: - start_side - side - reactions - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 pull_request: type: object properties: @@ -154344,7 +154345,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *544 + repository: *545 sender: *17 required: - action @@ -154434,11 +154435,11 @@ webhooks: type: string enum: - edited - changes: *584 - comment: *585 - enterprise: *541 - installation: *542 - organization: *543 + changes: *585 + comment: *586 + enterprise: *542 + installation: *543 + organization: *544 pull_request: type: object properties: @@ -156659,7 +156660,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *544 + repository: *545 sender: *17 required: - action @@ -156750,9 +156751,9 @@ webhooks: type: string enum: - dismissed - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 pull_request: title: Simple Pull Request type: object @@ -158985,7 +158986,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *544 + repository: *545 review: description: The review that was affected. type: object @@ -159241,9 +159242,9 @@ webhooks: type: string required: - from - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 pull_request: title: Simple Pull Request type: object @@ -161357,8 +161358,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *544 - review: &586 + repository: *545 + review: &587 description: The review that was affected. type: object properties: @@ -161601,12 +161602,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 number: description: The pull request number. type: integer - organization: *543 + organization: *544 pull_request: title: Pull Request type: object @@ -163953,7 +163954,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *544 + repository: *545 requested_reviewer: title: User type: @@ -164039,12 +164040,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 number: description: The pull request number. type: integer - organization: *543 + organization: *544 pull_request: title: Pull Request type: object @@ -166398,7 +166399,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *544 + repository: *545 requested_team: title: Team description: Groups of organization members that gives permissions @@ -166603,12 +166604,12 @@ webhooks: type: string enum: - review_requested - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 number: description: The pull request number. type: integer - organization: *543 + organization: *544 pull_request: title: Pull Request type: object @@ -168957,7 +168958,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *544 + repository: *545 requested_reviewer: title: User type: @@ -169044,12 +169045,12 @@ webhooks: type: string enum: - review_requested - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 number: description: The pull request number. type: integer - organization: *543 + organization: *544 pull_request: title: Pull Request type: object @@ -171389,7 +171390,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *544 + repository: *545 requested_team: title: Team description: Groups of organization members that gives permissions @@ -171583,9 +171584,9 @@ webhooks: type: string enum: - submitted - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 pull_request: title: Simple Pull Request type: object @@ -173821,8 +173822,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *544 - review: *586 + repository: *545 + review: *587 sender: *17 required: - action @@ -173912,9 +173913,9 @@ webhooks: type: string enum: - resolved - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 pull_request: title: Simple Pull Request type: object @@ -176045,7 +176046,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *544 + repository: *545 sender: *17 thread: type: object @@ -176447,9 +176448,9 @@ webhooks: type: string enum: - unresolved - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 pull_request: title: Simple Pull Request type: object @@ -178563,7 +178564,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *544 + repository: *545 sender: *17 thread: type: object @@ -178967,10 +178968,10 @@ webhooks: type: string before: type: string - enterprise: *541 - installation: *542 - number: *581 - organization: *543 + enterprise: *542 + installation: *543 + number: *582 + organization: *544 pull_request: title: Pull Request type: object @@ -181305,7 +181306,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *544 + repository: *545 sender: *17 required: - action @@ -181397,11 +181398,11 @@ webhooks: type: string enum: - unassigned - assignee: *587 - enterprise: *541 - installation: *542 - number: *581 - organization: *543 + assignee: *588 + enterprise: *542 + installation: *543 + number: *582 + organization: *544 pull_request: title: Pull Request type: object @@ -183751,7 +183752,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *544 + repository: *545 sender: *17 required: - action @@ -183840,11 +183841,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *541 - installation: *542 - label: *560 - number: *581 - organization: *543 + enterprise: *542 + installation: *543 + label: *561 + number: *582 + organization: *544 pull_request: title: Pull Request type: object @@ -186183,7 +186184,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *544 + repository: *545 sender: *17 required: - action @@ -186274,10 +186275,10 @@ webhooks: type: string enum: - unlocked - enterprise: *541 - installation: *542 - number: *581 - organization: *543 + enterprise: *542 + installation: *543 + number: *582 + organization: *544 pull_request: title: Pull Request type: object @@ -188606,7 +188607,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *544 + repository: *545 sender: *17 required: - action @@ -188819,7 +188820,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *541 + enterprise: *542 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -188914,8 +188915,8 @@ webhooks: - url - author - committer - installation: *542 - organization: *543 + installation: *543 + organization: *544 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -189507,9 +189508,9 @@ webhooks: type: string enum: - published - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 registry_package: type: object properties: @@ -189986,7 +189987,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *572 + items: *573 summary: type: string tag_name: @@ -190042,7 +190043,7 @@ webhooks: - owner - package_version - registry - repository: *544 + repository: *545 sender: *17 required: - action @@ -190130,9 +190131,9 @@ webhooks: type: string enum: - updated - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 registry_package: type: object properties: @@ -190444,7 +190445,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *572 + items: *573 summary: type: string tag_name: @@ -190494,7 +190495,7 @@ webhooks: - owner - package_version - registry - repository: *544 + repository: *545 sender: *17 required: - action @@ -190581,10 +190582,10 @@ webhooks: type: string enum: - created - enterprise: *541 - installation: *542 - organization: *543 - release: &588 + enterprise: *542 + installation: *543 + organization: *544 + release: &589 title: Release description: The [release](https://docs.github.com/enterprise-server@3.10/rest/releases/releases/#get-a-release) object. @@ -190900,7 +190901,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *544 + repository: *545 sender: *17 required: - action @@ -190987,11 +190988,11 @@ webhooks: type: string enum: - deleted - enterprise: *541 - installation: *542 - organization: *543 - release: *588 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + release: *589 + repository: *545 sender: *17 required: - action @@ -191109,11 +191110,11 @@ webhooks: type: boolean required: - to - enterprise: *541 - installation: *542 - organization: *543 - release: *588 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + release: *589 + repository: *545 sender: *17 required: - action @@ -191201,9 +191202,9 @@ webhooks: type: string enum: - prereleased - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 release: title: Release description: The [release](https://docs.github.com/enterprise-server@3.10/rest/releases/releases/#get-a-release) @@ -191524,7 +191525,7 @@ webhooks: - string - 'null' format: uri - repository: *544 + repository: *545 sender: *17 required: - action @@ -191610,10 +191611,10 @@ webhooks: type: string enum: - published - enterprise: *541 - installation: *542 - organization: *543 - release: &589 + enterprise: *542 + installation: *543 + organization: *544 + release: &590 title: Release description: The [release](https://docs.github.com/enterprise-server@3.10/rest/releases/releases/#get-a-release) object. @@ -191931,7 +191932,7 @@ webhooks: - string - 'null' format: uri - repository: *544 + repository: *545 sender: *17 required: - action @@ -192017,11 +192018,11 @@ webhooks: type: string enum: - released - enterprise: *541 - installation: *542 - organization: *543 - release: *588 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + release: *589 + repository: *545 sender: *17 required: - action @@ -192107,11 +192108,11 @@ webhooks: type: string enum: - unpublished - enterprise: *541 - installation: *542 - organization: *543 - release: *589 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + release: *590 + repository: *545 sender: *17 required: - action @@ -192197,10 +192198,10 @@ webhooks: type: string enum: - anonymous_access_disabled - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -192285,10 +192286,10 @@ webhooks: type: string enum: - anonymous_access_enabled - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -192373,10 +192374,10 @@ webhooks: type: string enum: - archived - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -192463,10 +192464,10 @@ webhooks: type: string enum: - created - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -192554,10 +192555,10 @@ webhooks: type: string enum: - deleted - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -192652,10 +192653,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -192780,10 +192781,10 @@ webhooks: - 'null' items: type: string - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -192871,10 +192872,10 @@ webhooks: type: string enum: - privatized - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -192961,10 +192962,10 @@ webhooks: type: string enum: - publicized - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -193068,10 +193069,10 @@ webhooks: - name required: - repository - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -193302,10 +193303,10 @@ webhooks: - from required: - owner - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -193393,10 +193394,10 @@ webhooks: type: string enum: - unarchived - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -193484,7 +193485,7 @@ webhooks: type: string enum: - create - alert: &590 + alert: &591 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -193608,10 +193609,10 @@ webhooks: type: string enum: - open - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -193831,10 +193832,10 @@ webhooks: type: string enum: - dismissed - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -193922,11 +193923,11 @@ webhooks: type: string enum: - reopen - alert: *590 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + alert: *591 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -194138,10 +194139,10 @@ webhooks: enum: - fixed - open - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -194229,7 +194230,7 @@ webhooks: type: string enum: - created - alert: &591 + alert: &592 type: object properties: number: *89 @@ -194301,10 +194302,10 @@ webhooks: format: date-time description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -194395,11 +194396,11 @@ webhooks: type: string enum: - created - alert: *591 - installation: *542 - location: *592 - organization: *543 - repository: *544 + alert: *592 + installation: *543 + location: *593 + organization: *544 + repository: *545 sender: *17 required: - location @@ -194642,11 +194643,11 @@ webhooks: type: string enum: - reopened - alert: *591 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + alert: *592 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -194734,11 +194735,11 @@ webhooks: type: string enum: - resolved - alert: *591 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + alert: *592 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -194824,11 +194825,11 @@ webhooks: type: string enum: - published - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 - security_advisory: &594 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 + security_advisory: &595 description: The details of the security advisory, including summary, description, and severity. type: object @@ -194845,7 +194846,7 @@ webhooks: required: - vector_string - score - cvss_severities: *593 + cvss_severities: *594 cwes: type: array items: @@ -195024,11 +195025,11 @@ webhooks: type: string enum: - updated - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 - security_advisory: *594 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 + security_advisory: *595 sender: *17 required: - action @@ -195111,10 +195112,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -195132,7 +195133,7 @@ webhooks: required: - vector_string - score - cvss_severities: *593 + cvss_severities: *594 cwes: type: array items: @@ -195310,11 +195311,11 @@ webhooks: from: type: object properties: - security_and_analysis: *219 - enterprise: *541 - installation: *542 - organization: *543 - repository: *262 + security_and_analysis: *220 + enterprise: *542 + installation: *543 + organization: *544 + repository: *263 sender: *17 required: - changes @@ -195402,12 +195403,12 @@ webhooks: type: string enum: - cancelled - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 - sponsorship: &595 + sponsorship: &596 type: object properties: created_at: @@ -195722,12 +195723,12 @@ webhooks: type: string enum: - created - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 - sponsorship: *595 + sponsorship: *596 required: - action - sponsorship @@ -195825,12 +195826,12 @@ webhooks: type: string required: - from - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 - sponsorship: *595 + sponsorship: *596 required: - action - changes @@ -195917,17 +195918,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &596 + effective_date: &597 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 - sponsorship: *595 + sponsorship: *596 required: - action - sponsorship @@ -196011,7 +196012,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &597 + changes: &598 type: object properties: tier: @@ -196055,13 +196056,13 @@ webhooks: - from required: - tier - effective_date: *596 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + effective_date: *597 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 - sponsorship: *595 + sponsorship: *596 required: - action - changes @@ -196148,13 +196149,13 @@ webhooks: type: string enum: - tier_changed - changes: *597 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + changes: *598 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 - sponsorship: *595 + sponsorship: *596 required: - action - changes @@ -196238,10 +196239,10 @@ webhooks: type: string enum: - created - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 starred_at: description: 'The time the star was created. This is a timestamp @@ -196335,10 +196336,10 @@ webhooks: type: string enum: - deleted - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 starred_at: description: 'The time the star was created. This is a timestamp @@ -196777,15 +196778,15 @@ webhooks: type: - string - 'null' - enterprise: *541 + enterprise: *542 id: description: The unique identifier of the status. type: integer - installation: *542 + installation: *543 name: type: string - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 sha: description: The Commit SHA. @@ -196898,12 +196899,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 - team: &598 + team: &599 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -197106,9 +197107,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 repository: title: Repository description: A git repository @@ -197572,7 +197573,7 @@ webhooks: - topics - visibility sender: *17 - team: *598 + team: *599 required: - action - team @@ -197658,9 +197659,9 @@ webhooks: type: string enum: - created - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 repository: title: Repository description: A git repository @@ -198124,7 +198125,7 @@ webhooks: - topics - visibility sender: *17 - team: *598 + team: *599 required: - action - team @@ -198211,9 +198212,9 @@ webhooks: type: string enum: - deleted - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 repository: title: Repository description: A git repository @@ -198677,7 +198678,7 @@ webhooks: - topics - visibility sender: *17 - team: *598 + team: *599 required: - action - team @@ -198831,9 +198832,9 @@ webhooks: - from required: - permissions - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 repository: title: Repository description: A git repository @@ -199297,7 +199298,7 @@ webhooks: - topics - visibility sender: *17 - team: *598 + team: *599 required: - action - changes @@ -199385,9 +199386,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 repository: title: Repository description: A git repository @@ -199851,7 +199852,7 @@ webhooks: - topics - visibility sender: *17 - team: *598 + team: *599 required: - action - team @@ -199934,12 +199935,12 @@ webhooks: type: string enum: - created - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 - user: *561 + user: *562 required: - action responses: @@ -200017,12 +200018,12 @@ webhooks: type: string enum: - deleted - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 - user: *561 + user: *562 required: - action responses: @@ -200103,10 +200104,10 @@ webhooks: type: string enum: - started - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -200189,17 +200190,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *541 + enterprise: *542 inputs: type: - object - 'null' additionalProperties: true - installation: *542 - organization: *543 + installation: *543 + organization: *544 ref: type: string - repository: *544 + repository: *545 sender: *17 workflow: type: string @@ -200291,10 +200292,10 @@ webhooks: type: string enum: - completed - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 workflow_job: allOf: @@ -200550,7 +200551,7 @@ webhooks: type: string required: - conclusion - deployment: *368 + deployment: *369 required: - action - repository @@ -200639,10 +200640,10 @@ webhooks: type: string enum: - in_progress - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 workflow_job: allOf: @@ -200924,7 +200925,7 @@ webhooks: required: - status - steps - deployment: *368 + deployment: *369 required: - action - repository @@ -201013,10 +201014,10 @@ webhooks: type: string enum: - queued - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 workflow_job: type: object @@ -201162,7 +201163,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *368 + deployment: *369 required: - action - repository @@ -201251,10 +201252,10 @@ webhooks: type: string enum: - waiting - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 workflow_job: type: object @@ -201401,7 +201402,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *368 + deployment: *369 required: - action - repository @@ -201491,12 +201492,12 @@ webhooks: type: string enum: - completed - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 - workflow: *556 + workflow: *557 workflow_run: title: Workflow Run type: object @@ -202525,12 +202526,12 @@ webhooks: type: string enum: - in_progress - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 - workflow: *556 + workflow: *557 workflow_run: title: Workflow Run type: object @@ -203544,12 +203545,12 @@ webhooks: type: string enum: - requested - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 - workflow: *556 + workflow: *557 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.deref.json b/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.deref.json index c6e48e3bb..49e92dffb 100644 --- a/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.deref.json +++ b/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.deref.json @@ -30822,6 +30822,17 @@ "examples": [ "\"2021-01-01T00:00:00.000-07:00\"" ] + }, + "user_dismissible": { + "type": [ + "boolean", + "null" + ], + "description": "Whether an announcement can be dismissed by the user.", + "default": false, + "examples": [ + false + ] } }, "required": [ @@ -30889,6 +30900,17 @@ "examples": [ "\"2021-01-01T00:00:00.000-07:00\"" ] + }, + "user_dismissible": { + "type": [ + "boolean", + "null" + ], + "description": "Whether an announcement can be dismissed by the user.", + "default": false, + "examples": [ + false + ] } }, "required": [ @@ -30936,6 +30958,17 @@ "examples": [ "\"2021-01-01T00:00:00.000-07:00\"" ] + }, + "user_dismissible": { + "type": [ + "boolean", + "null" + ], + "description": "Whether an announcement can be dismissed by the user.", + "default": false, + "examples": [ + false + ] } }, "required": [ @@ -87834,6 +87867,17 @@ "examples": [ "\"2021-01-01T00:00:00.000-07:00\"" ] + }, + "user_dismissible": { + "type": [ + "boolean", + "null" + ], + "description": "Whether an announcement can be dismissed by the user.", + "default": false, + "examples": [ + false + ] } }, "required": [ @@ -339618,7 +339662,7 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "reactions", "subcategory": "reactions" } diff --git a/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.deref.yaml b/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.deref.yaml index f5a8c1040..8bb721c9a 100644 --- a/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.deref.yaml +++ b/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.deref.yaml @@ -3770,7 +3770,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/apps/webhooks#list-deliveries-for-an-app-webhook parameters: - *4 - - &188 + - &189 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 @@ -3786,7 +3786,7 @@ paths: application/json: schema: type: array - items: &189 + items: &190 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -3879,7 +3879,7 @@ paths: - installation_id - repository_id examples: - default: &190 + default: &191 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -3911,7 +3911,7 @@ paths: application/json: schema: *27 application/scim+json: - schema: &475 + schema: &476 title: Scim Error description: Scim Error type: object @@ -4014,7 +4014,7 @@ paths: description: Response content: application/json: - schema: &191 + schema: &192 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4149,7 +4149,7 @@ paths: - request - response examples: - default: &192 + default: &193 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -6271,7 +6271,7 @@ paths: schema: type: string '422': *29 - '410': &218 + '410': &219 description: Gone content: application/json: @@ -8862,6 +8862,14 @@ paths: it to an empty string.' examples: - '"2021-01-01T00:00:00.000-07:00"' + user_dismissible: &160 + type: + - boolean + - 'null' + description: Whether an announcement can be dismissed by the user. + default: false + examples: + - false required: - announcement examples: @@ -11518,7 +11526,7 @@ paths: required: false schema: type: string - - &161 + - &162 name: include description: |- The event types to include: @@ -11536,7 +11544,7 @@ paths: - web - git - all - - &162 + - &163 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.10/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. @@ -11544,7 +11552,7 @@ paths: required: false schema: type: string - - &163 + - &164 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.10/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. @@ -11552,7 +11560,7 @@ paths: required: false schema: type: string - - &164 + - &165 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11574,7 +11582,7 @@ paths: application/json: schema: type: array - items: &165 + items: &166 type: object properties: "@timestamp": @@ -11696,7 +11704,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &166 + default: &167 value: - actor_ip: 88.123.45.123 from: pull_requests#merge @@ -11841,7 +11849,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *60 - - &167 + - &168 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`, @@ -11851,7 +11859,7 @@ paths: schema: &84 type: string description: The name of the tool used to generate the code scanning analysis. - - &168 + - &169 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 @@ -11891,7 +11899,7 @@ paths: be returned. in: query required: false - schema: &169 + schema: &170 type: string description: State of a code scanning alert. enum: @@ -11916,7 +11924,7 @@ paths: application/json: schema: type: array - items: &170 + items: &171 type: object properties: number: &89 @@ -11945,7 +11953,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &330 + instances_url: &331 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -11981,7 +11989,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &331 + dismissed_reason: &332 type: - string - 'null' @@ -11992,14 +12000,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &332 + dismissed_comment: &333 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &333 + rule: &334 type: object properties: id: @@ -12044,7 +12052,7 @@ paths: description: A set of tags applicable for the rule. items: type: string - tool: &334 + tool: &335 type: object properties: name: *84 @@ -12055,15 +12063,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *85 - most_recent_instance: &335 + most_recent_instance: &336 type: object properties: - ref: &328 + ref: &329 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &339 + analysis_key: &340 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -12074,7 +12082,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &340 + category: &341 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -12458,7 +12466,7 @@ paths: - most_recent_instance - repository examples: - default: &171 + default: &172 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -12877,7 +12885,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *60 - - &175 + - &176 name: state in: query description: |- @@ -12886,7 +12894,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &176 + - &177 name: severity in: query description: |- @@ -12895,7 +12903,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &177 + - &178 name: ecosystem in: query description: |- @@ -12904,14 +12912,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &178 + - &179 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &179 + - &180 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -12921,7 +12929,7 @@ paths: enum: - development - runtime - - &180 + - &181 name: sort in: query description: |- @@ -12937,7 +12945,7 @@ paths: - *9 - *87 - *88 - - &181 + - &182 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -12950,7 +12958,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &182 + - &183 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -12970,7 +12978,7 @@ paths: application/json: schema: type: array - items: &183 + items: &184 type: object description: A Dependabot alert. properties: @@ -13022,7 +13030,7 @@ paths: - development - runtime - - security_advisory: &360 + security_advisory: &361 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -13127,7 +13135,7 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: &593 + cvss_severities: &594 type: - object - 'null' @@ -13303,7 +13311,7 @@ paths: dismissal. maxLength: 280 fixed_at: *97 - auto_dismissed_at: &361 + auto_dismissed_at: &362 type: - string - 'null' @@ -13330,7 +13338,7 @@ paths: - repository additionalProperties: false examples: - default: &184 + default: &185 value: - number: 2 state: dismissed @@ -13669,7 +13677,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *60 - - &220 + - &221 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -13680,7 +13688,7 @@ paths: enum: - open - resolved - - &221 + - &222 name: secret_type in: query description: A comma-separated list of secret types to return. By default @@ -13689,7 +13697,7 @@ paths: required: false schema: type: string - - &222 + - &223 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -13698,7 +13706,7 @@ paths: required: false schema: type: string - - &223 + - &224 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. @@ -13721,7 +13729,7 @@ paths: application/json: schema: type: array - items: &224 + items: &225 type: object properties: number: *89 @@ -13737,14 +13745,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &466 + state: &467 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &467 + resolution: &468 type: - string - 'null' @@ -13803,7 +13811,7 @@ paths: description: The comment that was optionally added when this alert was closed examples: - default: &225 + default: &226 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -14036,7 +14044,7 @@ paths: description: Success content: application/json: - schema: &227 + schema: &228 type: object properties: total_advanced_security_committers: @@ -14081,7 +14089,7 @@ paths: required: - repositories examples: - default: &228 + default: &229 value: total_advanced_security_committers: 2 total_count: 2 @@ -14098,7 +14106,7 @@ paths: advanced_security_committers_breakdown: - user_login: octokitten last_pushed_date: '2021-10-26' - '403': &229 + '403': &230 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -14362,7 +14370,7 @@ paths: milestone: anyOf: - type: 'null' - - &351 + - &352 title: Milestone description: A collection of related issues and pull requests. @@ -14626,7 +14634,7 @@ paths: - author_association - created_at - updated_at - comment: &402 + comment: &403 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -15196,7 +15204,7 @@ paths: url: type: string format: uri - user: &513 + user: &514 title: Public User description: Public User type: object @@ -17085,7 +17093,7 @@ paths: - closed - all default: open - - &193 + - &194 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -17136,7 +17144,7 @@ paths: type: array items: *114 examples: - default: &194 + default: &195 value: - id: 1 node_id: MDU6SXNzdWUx @@ -18403,14 +18411,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &251 + - &252 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &252 + - &253 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -18481,7 +18489,7 @@ paths: '404': *34 '403': *38 '304': *37 - '301': &263 + '301': &264 description: Moved permanently content: application/json: @@ -18503,7 +18511,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &430 + - &431 name: all description: If `true`, show notifications marked as read. in: query @@ -18511,7 +18519,7 @@ paths: schema: type: boolean default: false - - &431 + - &432 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -18521,7 +18529,7 @@ paths: type: boolean default: false - *104 - - &432 + - &433 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -18892,7 +18900,7 @@ paths: type: boolean examples: - false - security_and_analysis: &219 + security_and_analysis: &220 type: - object - 'null' @@ -19023,7 +19031,7 @@ paths: - url - subscription_url examples: - default: &433 + default: &434 value: - id: '1' repository: @@ -19555,7 +19563,7 @@ paths: type: array items: *65 examples: - default: &522 + default: &523 value: - login: github id: 1 @@ -19620,7 +19628,7 @@ paths: - 3 custom_roles: type: array - items: &172 + items: &173 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -19669,7 +19677,7 @@ paths: - created_at - updated_at examples: - default: &173 + default: &174 value: id: 8030 name: Security Engineer @@ -20431,7 +20439,7 @@ paths: type: integer repository_cache_usages: type: array - items: &268 + items: &269 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -20685,7 +20693,7 @@ paths: type: array items: *80 examples: - default: &519 + default: &520 value: total_count: 1 repositories: @@ -22485,7 +22493,7 @@ paths: description: Response content: application/json: - schema: &290 + schema: &291 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -22520,7 +22528,7 @@ paths: - key_id - key examples: - default: &291 + default: &292 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22933,7 +22941,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#list-organization-variables parameters: - *125 - - &275 + - &276 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-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -23423,7 +23431,7 @@ paths: description: Response content: application/json: - schema: &160 + schema: &161 title: Announcement Banner description: Announcement at either the repository, organization, or enterprise level @@ -23431,14 +23439,7 @@ paths: properties: announcement: *158 expires_at: *159 - user_dismissible: - type: - - boolean - - 'null' - description: Whether an announcement can be dismissed by the user. - default: false - examples: - - false + user_dismissible: *160 required: - announcement - expires_at @@ -23473,7 +23474,7 @@ paths: description: Response content: application/json: - schema: *160 + schema: *161 examples: default: *49 x-github: @@ -23528,10 +23529,10 @@ paths: required: false schema: type: string - - *161 - *162 - *163 - *164 + - *165 - *4 - *5 responses: @@ -23541,9 +23542,9 @@ paths: application/json: schema: type: array - items: *165 + items: *166 examples: - default: *166 + default: *167 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -23566,8 +23567,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *125 - - *167 - *168 + - *169 - *87 - *88 - *5 @@ -23578,7 +23579,7 @@ paths: be returned. in: query required: false - schema: *169 + schema: *170 - name: sort description: The property by which to sort the results. in: query @@ -23594,7 +23595,7 @@ paths: be returned. in: query required: false - schema: &329 + schema: &330 type: string description: Severity of a code scanning alert. enum: @@ -23612,9 +23613,9 @@ paths: application/json: schema: type: array - items: *170 + items: *171 examples: - default: *171 + default: *172 headers: Link: *6 '404': *34 @@ -23656,7 +23657,7 @@ paths: - 3 custom_roles: type: array - items: *172 + items: *173 examples: default: value: @@ -23790,9 +23791,9 @@ paths: description: Response content: application/json: - schema: *172 + schema: *173 examples: - default: *173 + default: *174 '422': *29 '404': *34 x-github: @@ -23817,7 +23818,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *125 - - &174 + - &175 name: role_id description: The unique identifier of the role. in: path @@ -23829,9 +23830,9 @@ paths: description: Response content: application/json: - schema: *172 + schema: *173 examples: - default: *173 + default: *174 '404': *34 x-github: githubCloudOnly: true @@ -23854,7 +23855,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *125 - - *174 + - *175 requestBody: required: true content: @@ -23898,9 +23899,9 @@ paths: description: Response content: application/json: - schema: *172 + schema: *173 examples: - default: *173 + default: *174 '422': *29 '404': *34 x-github: @@ -23925,7 +23926,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *125 - - *174 + - *175 responses: '204': description: Response @@ -23951,17 +23952,17 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *125 - - *175 - *176 - *177 - *178 - *179 - *180 + - *181 - *9 - *87 - *88 - - *181 - *182 + - *183 - *4 responses: '200': @@ -23970,9 +23971,9 @@ paths: application/json: schema: type: array - items: *183 + items: *184 examples: - default: *184 + default: *185 '304': *37 '400': *28 '403': *38 @@ -24016,7 +24017,7 @@ paths: type: integer secrets: type: array - items: &185 + items: &186 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -24095,7 +24096,7 @@ paths: description: Response content: application/json: - schema: &364 + schema: &365 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -24114,7 +24115,7 @@ paths: - key_id - key examples: - default: &365 + default: &366 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -24144,7 +24145,7 @@ paths: description: Response content: application/json: - schema: *185 + schema: *186 examples: default: value: @@ -24441,7 +24442,7 @@ paths: application/json: schema: type: array - items: &200 + items: &201 title: Package description: A software package type: object @@ -24512,7 +24513,7 @@ paths: - created_at - updated_at examples: - default: &201 + default: &202 value: - id: 197 name: hello_docker @@ -24696,7 +24697,7 @@ paths: description: Response content: application/json: - schema: &246 + schema: &247 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -24786,7 +24787,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &247 + default: &248 value: group_id: '123' group_name: Octocat admins @@ -24841,7 +24842,7 @@ paths: description: Response content: application/json: - schema: &244 + schema: &245 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -24881,7 +24882,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &245 + default: &246 value: groups: - group_id: '123' @@ -24928,7 +24929,7 @@ paths: application/json: schema: type: array - items: &186 + items: &187 title: Org Hook description: Org Hook type: object @@ -25113,9 +25114,9 @@ paths: description: Response content: application/json: - schema: *186 + schema: *187 examples: - default: &187 + default: &188 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -25169,9 +25170,9 @@ paths: description: Response content: application/json: - schema: *186 + schema: *187 examples: - default: *187 + default: *188 '404': *34 x-github: githubCloudOnly: false @@ -25245,7 +25246,7 @@ paths: description: Response content: application/json: - schema: *186 + schema: *187 examples: default: value: @@ -25399,7 +25400,7 @@ paths: - *125 - *3 - *4 - - *188 + - *189 responses: '200': description: Response @@ -25407,9 +25408,9 @@ paths: application/json: schema: type: array - items: *189 + items: *190 examples: - default: *190 + default: *191 '400': *28 '422': *29 x-github: @@ -25442,9 +25443,9 @@ paths: description: Response content: application/json: - schema: *191 + schema: *192 examples: - default: *192 + default: *193 '400': *28 '422': *29 x-github: @@ -25532,7 +25533,7 @@ paths: application/json: schema: *33 examples: - default: &399 + default: &400 value: id: 1 account: @@ -25729,7 +25730,7 @@ paths: - closed - all default: open - - *193 + - *194 - name: sort description: What to sort results by. in: query @@ -25754,7 +25755,7 @@ paths: type: array items: *114 examples: - default: *194 + default: *195 headers: Link: *6 '404': *34 @@ -25812,7 +25813,7 @@ paths: type: array items: *17 examples: - default: &199 + default: &200 value: - login: octocat id: 1 @@ -25914,7 +25915,7 @@ paths: description: Response content: application/json: - schema: &195 + schema: &196 title: Org Membership description: Org Membership type: object @@ -25967,7 +25968,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &196 + response-if-user-has-an-active-admin-membership-with-organization: &197 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -26063,9 +26064,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *196 examples: - response-if-user-already-had-membership-with-organization: *196 + response-if-user-already-had-membership-with-organization: *197 '422': *29 '403': *38 x-github: @@ -26134,7 +26135,7 @@ paths: application/json: schema: type: array - items: &197 + items: &198 title: Migration description: A migration. type: object @@ -26475,7 +26476,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *198 examples: default: value: @@ -26654,7 +26655,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/migrations/orgs#get-an-organization-migration-status parameters: - *125 - - &198 + - &199 name: migration_id description: The unique identifier of the migration. in: path @@ -26682,7 +26683,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *197 + schema: *198 examples: default: value: @@ -26852,7 +26853,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *125 - - *198 + - *199 responses: '302': description: Response @@ -26874,7 +26875,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *125 - - *198 + - *199 responses: '204': description: Response @@ -26898,7 +26899,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/migrations/orgs#unlock-an-organization-repository parameters: - *125 - - *198 + - *199 - name: repo_name description: repo_name parameter in: path @@ -26926,7 +26927,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *125 - - *198 + - *199 - *4 - *5 responses: @@ -26938,7 +26939,7 @@ paths: type: array items: *143 examples: - default: &207 + default: &208 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -27089,7 +27090,7 @@ paths: type: array items: *17 examples: - default: *199 + default: *200 headers: Link: *6 x-github: @@ -27231,7 +27232,7 @@ paths: - nuget - container - *125 - - &523 + - &524 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -27267,12 +27268,12 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: *201 + default: *202 '403': *38 '401': *36 - '400': &525 + '400': &526 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -27294,7 +27295,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#get-a-package-for-an-organization parameters: - - &202 + - &203 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 @@ -27312,7 +27313,7 @@ paths: - docker - nuget - container - - &203 + - &204 name: package_name description: The name of the package. in: path @@ -27325,7 +27326,7 @@ paths: description: Response content: application/json: - schema: *200 + schema: *201 examples: default: value: @@ -27377,8 +27378,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *202 - *203 + - *204 - *125 responses: '204': @@ -27411,8 +27412,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *202 - *203 + - *204 - *125 - name: token description: package token @@ -27445,8 +27446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *202 - *203 + - *204 - *125 - *5 - *4 @@ -27467,7 +27468,7 @@ paths: application/json: schema: type: array - items: &204 + items: &205 title: Package Version description: A version of a software package type: object @@ -27602,10 +27603,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *202 - *203 + - *204 - *125 - - &205 + - &206 name: package_version_id description: Unique identifier of the package version. in: path @@ -27617,7 +27618,7 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: default: value: @@ -27653,10 +27654,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *202 - *203 + - *204 - *125 - - *205 + - *206 responses: '204': description: Response @@ -27688,10 +27689,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *202 - *203 + - *204 - *125 - - *205 + - *206 responses: '204': description: Response @@ -27721,7 +27722,7 @@ paths: - *125 - *4 - *5 - - &208 + - &209 name: sort description: The property by which to sort the results. in: query @@ -27732,7 +27733,7 @@ paths: - created_at default: created_at - *9 - - &209 + - &210 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -27744,7 +27745,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &210 + - &211 name: repository description: The name of the repository to use to filter the results. in: query @@ -27753,7 +27754,7 @@ paths: type: string examples: - Hello-World - - &211 + - &212 name: permission description: The permission to use to filter the results. in: query @@ -27762,7 +27763,7 @@ paths: type: string examples: - issues_read - - &212 + - &213 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) @@ -27772,7 +27773,7 @@ paths: schema: type: string format: date-time - - &213 + - &214 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) @@ -27783,7 +27784,7 @@ paths: type: string format: date-time responses: - '500': &206 + '500': &207 description: Internal Error content: application/json: @@ -27984,7 +27985,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *206 + '500': *207 '422': *29 '404': *34 '403': *38 @@ -28046,11 +28047,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *206 + '500': *207 '422': *29 '404': *34 '403': *38 - '204': &214 + '204': &215 description: A header with no content is returned. x-github: githubCloudOnly: false @@ -28083,7 +28084,7 @@ paths: - *4 - *5 responses: - '500': *206 + '500': *207 '404': *34 '403': *38 '200': @@ -28094,7 +28095,7 @@ paths: type: array items: *143 examples: - default: *207 + default: *208 headers: Link: *6 x-github: @@ -28120,15 +28121,15 @@ paths: - *125 - *4 - *5 - - *208 - - *9 - *209 + - *9 - *210 - *211 - *212 - *213 + - *214 responses: - '500': *206 + '500': *207 '422': *29 '404': *34 '403': *38 @@ -28312,7 +28313,7 @@ paths: - 1296269 - 1296280 responses: - '500': *206 + '500': *207 '404': *34 '202': *131 '403': *38 @@ -28365,9 +28366,9 @@ paths: value: action: revoke responses: - '500': *206 + '500': *207 '404': *34 - '204': *214 + '204': *215 '403': *38 '422': *29 x-github: @@ -28399,7 +28400,7 @@ paths: - *4 - *5 responses: - '500': *206 + '500': *207 '404': *34 '403': *38 '200': @@ -28410,7 +28411,7 @@ paths: type: array items: *143 examples: - default: *207 + default: *208 headers: Link: *6 x-github: @@ -28454,7 +28455,7 @@ paths: application/json: schema: type: array - items: &215 + items: &216 type: object properties: id: @@ -28498,9 +28499,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *216 examples: - default: &216 + default: &217 value: id: 42 name: Check Commits @@ -28530,7 +28531,7 @@ paths: description: Response content: application/json: - schema: *215 + schema: *216 examples: default: value: @@ -28579,9 +28580,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *216 examples: - default: *216 + default: *217 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28622,7 +28623,7 @@ paths: application/json: schema: type: array - items: &217 + items: &218 title: Project description: Projects are a way to organize columns and cards of work. @@ -28801,7 +28802,7 @@ paths: description: Response content: application/json: - schema: *217 + schema: *218 examples: default: value: @@ -28839,7 +28840,7 @@ paths: '401': *36 '403': *38 '404': *34 - '410': *218 + '410': *219 '422': *79 x-github: githubCloudOnly: false @@ -28870,7 +28871,7 @@ paths: type: array items: *17 examples: - default: *199 + default: *200 headers: Link: *6 x-github: @@ -29011,7 +29012,7 @@ paths: type: array items: *143 examples: - default: *207 + default: *208 headers: Link: *6 x-github: @@ -29215,7 +29216,7 @@ paths: description: Response content: application/json: - schema: &262 + schema: &263 title: Full Repository description: Full Repository type: object @@ -29710,7 +29711,7 @@ paths: - key - name - html_url - security_and_analysis: *219 + security_and_analysis: *220 required: - archive_url - assignees_url @@ -29788,7 +29789,7 @@ paths: - network_count - subscribers_count examples: - default: &264 + default: &265 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -30358,14 +30359,14 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *125 - - *220 - *221 - *222 - *223 + - *224 - *9 - *5 - *4 - - &464 + - &465 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.10/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -30375,7 +30376,7 @@ paths: required: false schema: type: string - - &465 + - &466 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.10/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -30392,9 +30393,9 @@ paths: application/json: schema: type: array - items: *224 + items: *225 examples: - default: *225 + default: *226 headers: Link: *6 '404': *34 @@ -30428,7 +30429,7 @@ paths: application/json: schema: type: array - items: &230 + items: &231 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -30512,7 +30513,7 @@ paths: - repositories_url - slug examples: - default: &231 + default: &232 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -30550,7 +30551,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/orgs/security-managers#add-a-security-manager-team parameters: - *125 - - &226 + - &227 name: team_slug description: The slug of the team name. in: path @@ -30585,7 +30586,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *125 - - *226 + - *227 responses: '204': description: Response @@ -30621,10 +30622,10 @@ paths: description: Success content: application/json: - schema: *227 + schema: *228 examples: - default: *228 - '403': *229 + default: *229 + '403': *230 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30652,7 +30653,7 @@ paths: application/json: schema: type: array - items: &253 + items: &254 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -30711,7 +30712,7 @@ paths: parent: anyOf: - type: 'null' - - *230 + - *231 required: - id - node_id @@ -30725,7 +30726,7 @@ paths: - slug - parent examples: - default: *231 + default: *232 headers: Link: *6 '403': *38 @@ -30827,7 +30828,7 @@ paths: description: Response content: application/json: - schema: &232 + schema: &233 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -30901,7 +30902,7 @@ paths: parent: anyOf: - type: 'null' - - *230 + - *231 members_count: type: integer examples: @@ -31202,7 +31203,7 @@ paths: - repos_count - organization examples: - default: &233 + default: &234 value: id: 1 node_id: MDQ6VGVhbTE= @@ -31272,15 +31273,15 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#get-a-team-by-name parameters: - *125 - - *226 + - *227 responses: '200': description: Response content: application/json: - schema: *232 + schema: *233 examples: - default: *233 + default: *234 '404': *34 x-github: githubCloudOnly: false @@ -31302,7 +31303,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#update-a-team parameters: - *125 - - *226 + - *227 requestBody: required: false content: @@ -31365,16 +31366,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *232 + schema: *233 examples: - default: *233 + default: *234 '201': description: Response content: application/json: - schema: *232 + schema: *233 examples: - default: *233 + default: *234 '404': *34 '422': *29 '403': *38 @@ -31400,7 +31401,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#delete-a-team parameters: - *125 - - *226 + - *227 responses: '204': description: Response @@ -31427,7 +31428,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussions#list-discussions parameters: - *125 - - *226 + - *227 - *9 - *4 - *5 @@ -31444,7 +31445,7 @@ paths: application/json: schema: type: array - items: &234 + items: &235 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -31555,7 +31556,7 @@ paths: - updated_at - url examples: - default: &503 + default: &504 value: - author: login: octocat @@ -31630,7 +31631,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussions#create-a-discussion parameters: - *125 - - *226 + - *227 requestBody: required: true content: @@ -31664,9 +31665,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: &235 + default: &236 value: author: login: octocat @@ -31739,8 +31740,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussions#get-a-discussion parameters: - *125 - - *226 - - &236 + - *227 + - &237 name: discussion_number description: The number that identifies the discussion. in: path @@ -31752,9 +31753,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31777,8 +31778,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussions#update-a-discussion parameters: - *125 - - *226 - - *236 + - *227 + - *237 requestBody: required: false content: @@ -31801,9 +31802,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: &504 + default: &505 value: author: login: octocat @@ -31874,8 +31875,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussions#delete-a-discussion parameters: - *125 - - *226 - - *236 + - *227 + - *237 responses: '204': description: Response @@ -31902,8 +31903,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#list-discussion-comments parameters: - *125 - - *226 - - *236 + - *227 + - *237 - *9 - *4 - *5 @@ -31914,7 +31915,7 @@ paths: application/json: schema: type: array - items: &237 + items: &238 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -31994,7 +31995,7 @@ paths: - updated_at - url examples: - default: &505 + default: &506 value: - author: login: octocat @@ -32063,8 +32064,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#create-a-discussion-comment parameters: - *125 - - *226 - - *236 + - *227 + - *237 requestBody: required: true content: @@ -32086,9 +32087,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: - default: &238 + default: &239 value: author: login: octocat @@ -32155,9 +32156,9 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#get-a-discussion-comment parameters: - *125 - - *226 - - *236 - - &239 + - *227 + - *237 + - &240 name: comment_number description: The number that identifies the comment. in: path @@ -32169,9 +32170,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: - default: *238 + default: *239 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32194,9 +32195,9 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#update-a-discussion-comment parameters: - *125 - - *226 - - *236 - - *239 + - *227 + - *237 + - *240 requestBody: required: true content: @@ -32218,9 +32219,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: - default: &506 + default: &507 value: author: login: octocat @@ -32285,9 +32286,9 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *125 - - *226 - - *236 - - *239 + - *227 + - *237 + - *240 responses: '204': description: Response @@ -32314,9 +32315,9 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *125 - - *226 - - *236 - - *239 + - *227 + - *237 + - *240 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -32342,7 +32343,7 @@ paths: application/json: schema: type: array - items: &240 + items: &241 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -32386,7 +32387,7 @@ paths: - content - created_at examples: - default: &242 + default: &243 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -32437,9 +32438,9 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *125 - - *226 - - *236 - - *239 + - *227 + - *237 + - *240 requestBody: required: true content: @@ -32472,9 +32473,9 @@ paths: team discussion comment content: application/json: - schema: *240 + schema: *241 examples: - default: &241 + default: &242 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -32503,9 +32504,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32529,10 +32530,10 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *125 - - *226 - - *236 - - *239 - - &243 + - *227 + - *237 + - *240 + - &244 name: reaction_id description: The unique identifier of the reaction. in: path @@ -32565,8 +32566,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *125 - - *226 - - *236 + - *227 + - *237 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -32592,9 +32593,9 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: - default: *242 + default: *243 headers: Link: *6 x-github: @@ -32621,8 +32622,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *125 - - *226 - - *236 + - *227 + - *237 requestBody: required: true content: @@ -32654,16 +32655,16 @@ paths: description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 '201': description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -32687,9 +32688,9 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#delete-team-discussion-reaction parameters: - *125 - - *226 - - *236 - - *243 + - *227 + - *237 + - *244 responses: '204': description: Response @@ -32713,15 +32714,15 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *125 - - *226 + - *227 responses: '200': description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: *245 + default: *246 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -32741,7 +32742,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *125 - - *226 + - *227 requestBody: required: true content: @@ -32765,9 +32766,9 @@ paths: description: Response content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -32787,7 +32788,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *125 - - *226 + - *227 responses: '204': description: Response @@ -32811,7 +32812,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/members#list-team-members parameters: - *125 - - *226 + - *227 - name: role description: Filters members returned by their role in the team. in: query @@ -32834,7 +32835,7 @@ paths: type: array items: *17 examples: - default: *199 + default: *200 headers: Link: *6 x-github: @@ -32865,14 +32866,14 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/members#get-team-membership-for-a-user parameters: - *125 - - *226 + - *227 - *8 responses: '200': description: Response content: application/json: - schema: &248 + schema: &249 title: Team Membership description: Team Membership type: object @@ -32900,7 +32901,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &507 + response-if-user-is-a-team-maintainer: &508 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -32937,7 +32938,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *125 - - *226 + - *227 - *8 requestBody: required: false @@ -32963,9 +32964,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *249 examples: - response-if-users-membership-with-team-is-now-pending: &508 + response-if-users-membership-with-team-is-now-pending: &509 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -33001,7 +33002,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/members#remove-team-membership-for-a-user parameters: - *125 - - *226 + - *227 - *8 responses: '204': @@ -33029,7 +33030,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#list-team-projects parameters: - *125 - - *226 + - *227 - *4 - *5 responses: @@ -33039,7 +33040,7 @@ paths: application/json: schema: type: array - items: &249 + items: &250 title: Team Project description: A team's access to a project. type: object @@ -33108,7 +33109,7 @@ paths: - updated_at - permissions examples: - default: &509 + default: &510 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -33170,8 +33171,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#check-team-permissions-for-a-project parameters: - *125 - - *226 - - &250 + - *227 + - &251 name: project_id description: The unique identifier of the project. in: path @@ -33183,9 +33184,9 @@ paths: description: Response content: application/json: - schema: *249 + schema: *250 examples: - default: &510 + default: &511 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -33246,8 +33247,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#add-or-update-team-project-permissions parameters: - *125 - - *226 - - *250 + - *227 + - *251 requestBody: required: false content: @@ -33313,8 +33314,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#remove-a-project-from-a-team parameters: - *125 - - *226 - - *250 + - *227 + - *251 responses: '204': description: Response @@ -33339,7 +33340,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#list-team-repositories parameters: - *125 - - *226 + - *227 - *4 - *5 responses: @@ -33351,7 +33352,7 @@ paths: type: array items: *143 examples: - default: *207 + default: *208 headers: Link: *6 x-github: @@ -33381,15 +33382,15 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *125 - - *226 - - *251 + - *227 - *252 + - *253 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &511 + schema: &512 title: Team Repository description: A team's access to a repository. type: object @@ -34031,9 +34032,9 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *125 - - *226 - - *251 + - *227 - *252 + - *253 requestBody: required: false content: @@ -34079,9 +34080,9 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#remove-a-repository-from-a-team parameters: - *125 - - *226 - - *251 + - *227 - *252 + - *253 responses: '204': description: Response @@ -34106,7 +34107,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#list-child-teams parameters: - *125 - - *226 + - *227 - *4 - *5 responses: @@ -34116,9 +34117,9 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - response-if-child-teams-exist: &512 + response-if-child-teams-exist: &513 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -34219,7 +34220,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/cards#get-a-project-card parameters: - - &254 + - &255 name: card_id description: The unique identifier of the card. in: path @@ -34231,7 +34232,7 @@ paths: description: Response content: application/json: - schema: &255 + schema: &256 title: Project Card description: Project cards represent a scope of work. type: object @@ -34306,7 +34307,7 @@ paths: - created_at - updated_at examples: - default: &256 + default: &257 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -34356,7 +34357,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/cards#update-an-existing-project-card parameters: - - *254 + - *255 requestBody: required: false content: @@ -34386,9 +34387,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *256 examples: - default: *256 + default: *257 '304': *37 '403': *38 '401': *36 @@ -34409,7 +34410,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/cards#delete-a-project-card parameters: - - *254 + - *255 responses: '204': description: Response @@ -34447,7 +34448,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/cards#move-a-project-card parameters: - - *254 + - *255 requestBody: required: true content: @@ -34554,7 +34555,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/columns#get-a-project-column parameters: - - &257 + - &258 name: column_id description: The unique identifier of the column. in: path @@ -34566,7 +34567,7 @@ paths: description: Response content: application/json: - schema: &258 + schema: &259 title: Project Column description: Project columns contain cards of work. type: object @@ -34620,7 +34621,7 @@ paths: - created_at - updated_at examples: - default: &259 + default: &260 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -34649,7 +34650,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/columns#update-an-existing-project-column parameters: - - *257 + - *258 requestBody: required: true content: @@ -34674,9 +34675,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - default: *259 + default: *260 '304': *37 '403': *38 '401': *36 @@ -34695,7 +34696,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/columns#delete-a-project-column parameters: - - *257 + - *258 responses: '204': description: Response @@ -34718,7 +34719,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/cards#list-project-cards parameters: - - *257 + - *258 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -34739,7 +34740,7 @@ paths: application/json: schema: type: array - items: *255 + items: *256 examples: default: value: @@ -34792,7 +34793,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/cards#create-a-project-card parameters: - - *257 + - *258 requestBody: required: true content: @@ -34836,9 +34837,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *256 examples: - default: *256 + default: *257 '304': *37 '403': *38 '401': *36 @@ -34888,7 +34889,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/columns#move-a-project-column parameters: - - *257 + - *258 requestBody: required: true content: @@ -34945,15 +34946,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/projects#get-a-project parameters: - - *250 + - *251 responses: '200': description: Response content: application/json: - schema: *217 + schema: *218 examples: - default: &260 + default: &261 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -35006,7 +35007,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/projects#update-a-project parameters: - - *250 + - *251 requestBody: required: false content: @@ -35055,9 +35056,9 @@ paths: description: Response content: application/json: - schema: *217 + schema: *218 examples: - default: *260 + default: *261 '404': description: Not Found if the authenticated user does not have access to the project @@ -35078,7 +35079,7 @@ paths: items: type: string '401': *36 - '410': *218 + '410': *219 '422': *79 x-github: githubCloudOnly: false @@ -35096,7 +35097,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/projects#delete-a-project parameters: - - *250 + - *251 responses: '204': description: Delete Success @@ -35117,7 +35118,7 @@ paths: items: type: string '401': *36 - '410': *218 + '410': *219 '404': *34 x-github: githubCloudOnly: false @@ -35140,7 +35141,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/collaborators#list-project-collaborators parameters: - - *250 + - *251 - 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 @@ -35167,7 +35168,7 @@ paths: type: array items: *17 examples: - default: *199 + default: *200 headers: Link: *6 '404': *34 @@ -35192,7 +35193,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/collaborators#add-project-collaborator parameters: - - *250 + - *251 - *8 requestBody: required: false @@ -35242,7 +35243,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *250 + - *251 - *8 responses: '204': @@ -35271,7 +35272,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *250 + - *251 - *8 responses: '200': @@ -35336,7 +35337,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/columns#list-project-columns parameters: - - *250 + - *251 - *4 - *5 responses: @@ -35346,7 +35347,7 @@ paths: application/json: schema: type: array - items: *258 + items: *259 examples: default: value: @@ -35378,7 +35379,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/columns#create-a-project-column parameters: - - *250 + - *251 requestBody: required: true content: @@ -35402,7 +35403,7 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: default: value: @@ -35463,7 +35464,7 @@ paths: resources: type: object properties: - core: &261 + core: &262 title: Rate Limit type: object properties: @@ -35480,19 +35481,19 @@ paths: - remaining - reset - used - graphql: *261 - search: *261 - code_search: *261 - source_import: *261 - integration_manifest: *261 - code_scanning_upload: *261 - actions_runner_registration: *261 - scim: *261 - code_scanning_autofix: *261 + graphql: *262 + search: *262 + code_search: *262 + source_import: *262 + integration_manifest: *262 + code_scanning_upload: *262 + actions_runner_registration: *262 + scim: *262 + code_scanning_autofix: *262 required: - core - search - rate: *261 + rate: *262 required: - rate - resources @@ -35596,14 +35597,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#get-a-repository parameters: - - *251 - *252 + - *253 responses: '200': description: Response content: application/json: - schema: *262 + schema: *263 examples: default-response: summary: Default response @@ -36102,7 +36103,7 @@ paths: status: disabled '403': *38 '404': *34 - '301': *263 + '301': *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36120,8 +36121,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#update-a-repository parameters: - - *251 - *252 + - *253 requestBody: required: false content: @@ -36335,10 +36336,10 @@ paths: description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: *264 - '307': &265 + default: *265 + '307': &266 description: Temporary Redirect content: application/json: @@ -36383,8 +36384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#delete-a-repository parameters: - - *251 - *252 + - *253 responses: '204': description: Response @@ -36406,7 +36407,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#delete-a-repository - '307': *265 + '307': *266 '404': *34 x-github: githubCloudOnly: false @@ -36429,11 +36430,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *251 - *252 + - *253 - *4 - *5 - - &282 + - &283 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -36456,7 +36457,7 @@ paths: type: integer artifacts: type: array - items: &266 + items: &267 title: Artifact description: An artifact type: object @@ -36542,7 +36543,7 @@ paths: - expires_at - updated_at examples: - default: &283 + default: &284 value: total_count: 2 artifacts: @@ -36601,9 +36602,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/artifacts#get-an-artifact parameters: - - *251 - *252 - - &267 + - *253 + - &268 name: artifact_id description: The unique identifier of the artifact. in: path @@ -36615,7 +36616,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *267 examples: default: value: @@ -36652,9 +36653,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/artifacts#delete-an-artifact parameters: - - *251 - *252 - - *267 + - *253 + - *268 responses: '204': description: Response @@ -36678,9 +36679,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/artifacts#download-an-artifact parameters: - - *251 - *252 - - *267 + - *253 + - *268 - name: archive_format in: path required: true @@ -36694,7 +36695,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': *218 + '410': *219 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36717,14 +36718,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *251 - *252 + - *253 responses: '200': description: Response content: application/json: - schema: *268 + schema: *269 examples: default: value: @@ -36750,14 +36751,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/cache#get-github-actions-cache-usage-policy-for-a-repository parameters: - - *251 - *252 + - *253 responses: '200': description: Response content: application/json: - schema: &269 + schema: &270 title: Actions cache usage policy for repository description: GitHub Actions cache usage policy for repository. type: object @@ -36770,7 +36771,7 @@ paths: required: - repo_cache_size_limit_in_gb examples: - default: &270 + default: &271 value: repo_cache_size_limit_in_gb: 14 x-github: @@ -36791,8 +36792,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/cache#set-github-actions-cache-usage-policy-for-a-repository parameters: - - *251 - *252 + - *253 responses: '204': description: Response @@ -36800,9 +36801,9 @@ paths: required: true content: application/json: - schema: *269 + schema: *270 examples: - selected_actions: *270 + selected_actions: *271 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36822,11 +36823,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *251 - *252 + - *253 - *4 - *5 - - &271 + - &272 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 @@ -36860,7 +36861,7 @@ paths: description: Response content: application/json: - schema: &272 + schema: &273 title: Repository actions caches description: Repository actions caches type: object @@ -36910,7 +36911,7 @@ paths: - total_count - actions_caches examples: - default: &273 + default: &274 value: total_count: 1 actions_caches: @@ -36942,23 +36943,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *251 - *252 + - *253 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *271 + - *272 responses: '200': description: Response content: application/json: - schema: *272 + schema: *273 examples: - default: *273 + default: *274 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36978,8 +36979,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *251 - *252 + - *253 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -37010,9 +37011,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *251 - *252 - - &274 + - *253 + - &275 name: job_id description: The unique identifier of the job. in: path @@ -37024,7 +37025,7 @@ paths: description: Response content: application/json: - schema: &286 + schema: &287 title: Job description: Information of a job execution in a workflow run type: object @@ -37371,9 +37372,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *251 - *252 - - *274 + - *253 + - *275 responses: '302': description: Response @@ -37401,9 +37402,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *251 - *252 - - *274 + - *253 + - *275 requestBody: required: false content: @@ -37449,8 +37450,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *251 - *252 + - *253 responses: '200': description: Status response @@ -37500,8 +37501,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -37564,8 +37565,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#list-repository-organization-secrets parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -37583,7 +37584,7 @@ paths: type: integer secrets: type: array - items: &288 + items: &289 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -37604,7 +37605,7 @@ paths: - created_at - updated_at examples: - default: &289 + default: &290 value: total_count: 2 secrets: @@ -37637,9 +37638,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#list-repository-organization-variables parameters: - - *251 - *252 - - *275 + - *253 + - *276 - *5 responses: '200': @@ -37656,7 +37657,7 @@ paths: type: integer variables: type: array - items: &292 + items: &293 title: Actions Variable type: object properties: @@ -37690,7 +37691,7 @@ paths: - created_at - updated_at examples: - default: &293 + default: &294 value: total_count: 2 variables: @@ -37723,8 +37724,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *251 - *252 + - *253 responses: '200': description: Response @@ -37733,7 +37734,7 @@ paths: schema: type: object properties: - enabled: &276 + enabled: &277 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *64 @@ -37766,8 +37767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *251 - *252 + - *253 responses: '204': description: Response @@ -37778,7 +37779,7 @@ paths: schema: type: object properties: - enabled: *276 + enabled: *277 allowed_actions: *64 required: - enabled @@ -37809,14 +37810,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *251 - *252 + - *253 responses: '200': description: Response content: application/json: - schema: &277 + schema: &278 type: object properties: access_level: @@ -37834,7 +37835,7 @@ paths: required: - access_level examples: - default: &278 + default: &279 value: access_level: organization x-github: @@ -37859,15 +37860,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *251 - *252 + - *253 requestBody: required: true content: application/json: - schema: *277 + schema: *278 examples: - default: *278 + default: *279 responses: '204': description: Response @@ -37891,8 +37892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *251 - *252 + - *253 responses: '200': description: Response @@ -37923,8 +37924,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *251 - *252 + - *253 responses: '204': description: Response @@ -37956,8 +37957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *251 - *252 + - *253 responses: '200': description: Response @@ -37986,8 +37987,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *251 - *252 + - *253 responses: '204': description: Success response @@ -38022,8 +38023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/self-hosted-runners#list-self-hosted-runners-for-a-repository parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -38067,8 +38068,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *251 - *252 + - *253 responses: '200': description: Response @@ -38100,8 +38101,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -38175,8 +38176,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *251 - *252 + - *253 responses: '201': description: Response @@ -38212,8 +38213,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *251 - *252 + - *253 responses: '201': description: Response @@ -38243,8 +38244,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *251 - *252 + - *253 - *76 responses: '200': @@ -38274,8 +38275,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *251 - *252 + - *253 - *76 responses: '204': @@ -38301,8 +38302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *251 - *252 + - *253 - *76 responses: '200': *83 @@ -38327,8 +38328,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *251 - *252 + - *253 - *76 requestBody: required: true @@ -38377,8 +38378,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *251 - *252 + - *253 - *76 requestBody: required: true @@ -38428,8 +38429,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *251 - *252 + - *253 - *76 responses: '200': *150 @@ -38459,8 +38460,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *251 - *252 + - *253 - *76 - *151 responses: @@ -38490,9 +38491,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *251 - *252 - - &296 + - *253 + - &297 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. @@ -38500,7 +38501,7 @@ paths: required: false schema: type: string - - &297 + - &298 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -38508,7 +38509,7 @@ paths: required: false schema: type: string - - &298 + - &299 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -38517,7 +38518,7 @@ paths: required: false schema: type: string - - &299 + - &300 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 @@ -38544,7 +38545,7 @@ paths: - pending - *4 - *5 - - &300 + - &301 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-server@3.10/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -38553,7 +38554,7 @@ paths: schema: type: string format: date-time - - &279 + - &280 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -38562,13 +38563,13 @@ paths: schema: type: boolean default: false - - &301 + - &302 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &302 + - &303 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -38591,7 +38592,7 @@ paths: type: integer workflow_runs: type: array - items: &280 + items: &281 title: Workflow Run description: An invocation of a workflow type: object @@ -38708,7 +38709,7 @@ paths: type: - array - 'null' - items: &320 + items: &321 title: Pull Request Minimal type: object properties: @@ -38835,7 +38836,7 @@ paths: head_commit: anyOf: - type: 'null' - - &324 + - &325 title: Simple Commit description: A commit. type: object @@ -38950,7 +38951,7 @@ paths: - workflow_url - pull_requests examples: - default: &303 + default: &304 value: total_count: 1 workflow_runs: @@ -39186,24 +39187,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *251 - *252 - - &281 + - *253 + - &282 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *279 + - *280 responses: '200': description: Response content: application/json: - schema: *280 + schema: *281 examples: - default: &284 + default: &285 value: id: 30433642 name: Build @@ -39444,9 +39445,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *251 - *252 - - *281 + - *253 + - *282 responses: '204': description: Response @@ -39469,9 +39470,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *251 - *252 - - *281 + - *253 + - *282 responses: '200': description: Response @@ -39601,12 +39602,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *251 - *252 - - *281 + - *253 + - *282 - *4 - *5 - - *282 + - *283 responses: '200': description: Response @@ -39622,9 +39623,9 @@ paths: type: integer artifacts: type: array - items: *266 + items: *267 examples: - default: *283 + default: *284 headers: Link: *6 x-github: @@ -39648,25 +39649,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *251 - *252 - - *281 - - &285 + - *253 + - *282 + - &286 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *279 + - *280 responses: '200': description: Response content: application/json: - schema: *280 + schema: *281 examples: - default: *284 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39689,10 +39690,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *251 - *252 - - *281 - - *285 + - *253 + - *282 + - *286 - *4 - *5 responses: @@ -39710,9 +39711,9 @@ paths: type: integer jobs: type: array - items: *286 + items: *287 examples: - default: &287 + default: &288 value: total_count: 1 jobs: @@ -39825,10 +39826,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *251 - *252 - - *281 - - *285 + - *253 + - *282 + - *286 responses: '302': description: Response @@ -39856,9 +39857,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *251 - *252 - - *281 + - *253 + - *282 responses: '202': description: Response @@ -39891,9 +39892,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *251 - *252 - - *281 + - *253 + - *282 requestBody: required: true content: @@ -39962,9 +39963,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *251 - *252 - - *281 + - *253 + - *282 - 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 @@ -39994,9 +39995,9 @@ paths: type: integer jobs: type: array - items: *286 + items: *287 examples: - default: *287 + default: *288 headers: Link: *6 x-github: @@ -40021,9 +40022,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *251 - *252 - - *281 + - *253 + - *282 responses: '302': description: Response @@ -40050,14 +40051,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *251 - *252 - - *281 + - *253 + - *282 responses: '204': description: Response '403': *38 - '500': *206 + '500': *207 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40079,9 +40080,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *251 - *252 - - *281 + - *253 + - *282 responses: '200': description: Response @@ -40150,7 +40151,7 @@ paths: items: type: object properties: - type: &373 + type: &374 type: string description: The type of reviewer. enum: @@ -40161,7 +40162,7 @@ paths: reviewer: anyOf: - *17 - - *253 + - *254 required: - environment - wait_timer @@ -40236,9 +40237,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *251 - *252 - - *281 + - *253 + - *282 requestBody: required: true content: @@ -40288,7 +40289,7 @@ paths: application/json: schema: type: array - items: &368 + items: &369 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -40400,7 +40401,7 @@ paths: - created_at - updated_at examples: - default: &369 + default: &370 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -40456,9 +40457,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *251 - *252 - - *281 + - *253 + - *282 requestBody: required: false content: @@ -40503,9 +40504,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *251 - *252 - - *281 + - *253 + - *282 requestBody: required: false content: @@ -40553,8 +40554,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#list-repository-secrets parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -40572,9 +40573,9 @@ paths: type: integer secrets: type: array - items: *288 + items: *289 examples: - default: *289 + default: *290 headers: Link: *6 x-github: @@ -40599,16 +40600,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#get-a-repository-public-key parameters: - - *251 - *252 + - *253 responses: '200': description: Response content: application/json: - schema: *290 + schema: *291 examples: - default: *291 + default: *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40630,17 +40631,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#get-a-repository-secret parameters: - - *251 - *252 + - *253 - *153 responses: '200': description: Response content: application/json: - schema: *288 + schema: *289 examples: - default: &386 + default: &387 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -40666,8 +40667,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *251 - *252 + - *253 - *153 requestBody: required: true @@ -40725,8 +40726,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#delete-a-repository-secret parameters: - - *251 - *252 + - *253 - *153 responses: '204': @@ -40752,9 +40753,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#list-repository-variables parameters: - - *251 - *252 - - *275 + - *253 + - *276 - *5 responses: '200': @@ -40771,9 +40772,9 @@ paths: type: integer variables: type: array - items: *292 + items: *293 examples: - default: *293 + default: *294 headers: Link: *6 x-github: @@ -40796,8 +40797,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#create-a-repository-variable parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -40849,17 +40850,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#get-a-repository-variable parameters: - - *251 - *252 + - *253 - *156 responses: '200': description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: &387 + default: &388 value: name: USERNAME value: octocat @@ -40885,8 +40886,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#update-a-repository-variable parameters: - - *251 - *252 + - *253 - *156 requestBody: required: true @@ -40929,8 +40930,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#delete-a-repository-variable parameters: - - *251 - *252 + - *253 - *156 responses: '204': @@ -40956,8 +40957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflows#list-repository-workflows parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -40975,7 +40976,7 @@ paths: type: integer workflows: type: array - items: &294 + items: &295 title: Workflow description: A GitHub Actions workflow type: object @@ -41093,9 +41094,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflows#get-a-workflow parameters: - - *251 - *252 - - &295 + - *253 + - &296 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -41110,7 +41111,7 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -41143,9 +41144,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflows#disable-a-workflow parameters: - - *251 - *252 - - *295 + - *253 + - *296 responses: '204': description: Response @@ -41170,9 +41171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *251 - *252 - - *295 + - *253 + - *296 responses: '204': description: Response @@ -41223,9 +41224,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflows#enable-a-workflow parameters: - - *251 - *252 - - *295 + - *253 + - *296 responses: '204': description: Response @@ -41252,19 +41253,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *251 - *252 - - *295 + - *253 - *296 - *297 - *298 - *299 + - *300 - *4 - *5 - - *300 - - *279 - *301 + - *280 - *302 + - *303 responses: '200': description: Response @@ -41280,9 +41281,9 @@ paths: type: integer workflow_runs: type: array - items: *280 + items: *281 examples: - default: *303 + default: *304 headers: Link: *6 x-github: @@ -41302,8 +41303,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/assignees#list-assignees parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -41315,7 +41316,7 @@ paths: type: array items: *17 examples: - default: *199 + default: *200 headers: Link: *6 '404': *34 @@ -41340,8 +41341,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *251 - *252 + - *253 - name: assignee in: path required: true @@ -41375,8 +41376,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *251 - *252 + - *253 responses: '200': description: Response @@ -41384,7 +41385,7 @@ paths: application/json: schema: type: array - items: &304 + items: &305 title: Autolink reference description: An autolink reference. type: object @@ -41438,8 +41439,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -41478,9 +41479,9 @@ paths: description: response content: application/json: - schema: *304 + schema: *305 examples: - default: &305 + default: &306 value: id: 1 key_prefix: TICKET- @@ -41511,9 +41512,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *251 - *252 - - &306 + - *253 + - &307 name: autolink_id description: The unique identifier of the autolink. in: path @@ -41525,9 +41526,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *305 examples: - default: *305 + default: *306 '404': *34 x-github: githubCloudOnly: false @@ -41547,9 +41548,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *251 - *252 - - *306 + - *253 + - *307 responses: '204': description: Response @@ -41573,8 +41574,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *251 - *252 + - *253 responses: '200': description: Response if Dependabot is enabled @@ -41623,8 +41624,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branches#list-branches parameters: - - *251 - *252 + - *253 - name: protected description: Setting to `true` returns only protected branches. When set to `false`, only unprotected branches are returned. Omitting this parameter @@ -41662,7 +41663,7 @@ paths: - url protected: type: boolean - protection: &308 + protection: &309 title: Branch Protection description: Branch Protection type: object @@ -41705,7 +41706,7 @@ paths: required: - contexts - checks - enforce_admins: &311 + enforce_admins: &312 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -41722,7 +41723,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &313 + required_pull_request_reviews: &314 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -41744,7 +41745,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *253 + items: *254 apps: description: The list of apps with review dismissal access. @@ -41776,7 +41777,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *253 + items: *254 apps: description: The list of apps allowed to bypass pull request requirements. @@ -41806,7 +41807,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &310 + restrictions: &311 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -42131,9 +42132,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branches#get-a-branch parameters: - - *251 - *252 - - &309 + - *253 + - &310 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-server@3.10/graphql). @@ -42147,14 +42148,14 @@ paths: description: Response content: application/json: - schema: &319 + schema: &320 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &347 + commit: &348 title: Commit description: Commit type: object @@ -42193,7 +42194,7 @@ paths: author: anyOf: - type: 'null' - - &307 + - &308 title: Git User description: Metaproperties for Git author/committer information. @@ -42214,7 +42215,7 @@ paths: committer: anyOf: - type: 'null' - - *307 + - *308 message: type: string examples: @@ -42238,7 +42239,7 @@ paths: required: - sha - url - verification: &393 + verification: &394 title: Verification type: object properties: @@ -42313,7 +42314,7 @@ paths: type: integer files: type: array - items: &357 + items: &358 title: Diff Entry description: Diff Entry type: object @@ -42407,7 +42408,7 @@ paths: - self protected: type: boolean - protection: *308 + protection: *309 protection_url: type: string format: uri @@ -42513,7 +42514,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *263 + '301': *264 '404': *34 x-github: githubCloudOnly: false @@ -42535,15 +42536,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#get-branch-protection parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '200': description: Response content: application/json: - schema: *308 + schema: *309 examples: default: value: @@ -42737,9 +42738,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#update-branch-protection parameters: - - *251 - *252 - - *309 + - *253 + - *310 requestBody: required: true content: @@ -42999,7 +43000,7 @@ paths: url: type: string format: uri - required_status_checks: &316 + required_status_checks: &317 title: Status Check Policy description: Status Check Policy type: object @@ -43080,7 +43081,7 @@ paths: items: *17 teams: type: array - items: *253 + items: *254 apps: type: array items: *20 @@ -43098,7 +43099,7 @@ paths: items: *17 teams: type: array - items: *253 + items: *254 apps: type: array items: *20 @@ -43158,7 +43159,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *310 + restrictions: *311 required_conversation_resolution: type: object properties: @@ -43270,9 +43271,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#delete-branch-protection parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '204': description: Response @@ -43297,17 +43298,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: &312 + default: &313 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -43329,17 +43330,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *312 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43358,9 +43359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '204': description: Response @@ -43385,17 +43386,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '200': description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: &314 + default: &315 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -43491,9 +43492,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *251 - *252 - - *309 + - *253 + - *310 requestBody: required: false content: @@ -43591,9 +43592,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 '422': *29 x-github: githubCloudOnly: false @@ -43614,9 +43615,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '204': description: Response @@ -43643,17 +43644,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: &315 + default: &316 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -43676,17 +43677,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *315 + default: *316 '404': *34 x-github: githubCloudOnly: false @@ -43706,9 +43707,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '204': description: Response @@ -43733,17 +43734,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#get-status-checks-protection parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '200': description: Response content: application/json: - schema: *316 + schema: *317 examples: - default: &317 + default: &318 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -43769,9 +43770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#update-status-check-protection parameters: - - *251 - *252 - - *309 + - *253 + - *310 requestBody: required: false content: @@ -43823,9 +43824,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 '404': *34 '422': *29 x-github: @@ -43847,9 +43848,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#remove-status-check-protection parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '204': description: Response @@ -43873,9 +43874,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '200': description: Response @@ -43909,9 +43910,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#add-status-check-contexts parameters: - - *251 - *252 - - *309 + - *253 + - *310 requestBody: required: false content: @@ -43978,9 +43979,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#set-status-check-contexts parameters: - - *251 - *252 - - *309 + - *253 + - *310 requestBody: required: false content: @@ -44044,9 +44045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *251 - *252 - - *309 + - *253 + - *310 requestBody: content: application/json: @@ -44112,15 +44113,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#get-access-restrictions parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '200': description: Response content: application/json: - schema: *310 + schema: *311 examples: default: value: @@ -44211,9 +44212,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#delete-access-restrictions parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '204': description: Response @@ -44236,9 +44237,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '200': description: Response @@ -44248,7 +44249,7 @@ paths: type: array items: *20 examples: - default: &318 + default: &319 value: - id: 1 slug: octoapp @@ -44305,9 +44306,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *251 - *252 - - *309 + - *253 + - *310 requestBody: required: true content: @@ -44341,7 +44342,7 @@ paths: type: array items: *20 examples: - default: *318 + default: *319 '422': *29 x-github: githubCloudOnly: false @@ -44362,9 +44363,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *251 - *252 - - *309 + - *253 + - *310 requestBody: required: true content: @@ -44398,7 +44399,7 @@ paths: type: array items: *20 examples: - default: *318 + default: *319 '422': *29 x-github: githubCloudOnly: false @@ -44419,9 +44420,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *251 - *252 - - *309 + - *253 + - *310 requestBody: required: true content: @@ -44455,7 +44456,7 @@ paths: type: array items: *20 examples: - default: *318 + default: *319 '422': *29 x-github: githubCloudOnly: false @@ -44477,9 +44478,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '200': description: Response @@ -44487,9 +44488,9 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: *231 + default: *232 '404': *34 x-github: githubCloudOnly: false @@ -44509,9 +44510,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *251 - *252 - - *309 + - *253 + - *310 requestBody: required: false content: @@ -44547,9 +44548,9 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: *231 + default: *232 '422': *29 x-github: githubCloudOnly: false @@ -44570,9 +44571,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *251 - *252 - - *309 + - *253 + - *310 requestBody: required: false content: @@ -44608,9 +44609,9 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: *231 + default: *232 '422': *29 x-github: githubCloudOnly: false @@ -44631,9 +44632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *251 - *252 - - *309 + - *253 + - *310 requestBody: content: application/json: @@ -44668,9 +44669,9 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: *231 + default: *232 '422': *29 x-github: githubCloudOnly: false @@ -44692,9 +44693,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *251 - *252 - - *309 + - *253 + - *310 responses: '200': description: Response @@ -44704,7 +44705,7 @@ paths: type: array items: *17 examples: - default: *199 + default: *200 '404': *34 x-github: githubCloudOnly: false @@ -44728,9 +44729,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *251 - *252 - - *309 + - *253 + - *310 requestBody: required: true content: @@ -44763,7 +44764,7 @@ paths: type: array items: *17 examples: - default: *199 + default: *200 '422': *29 x-github: githubCloudOnly: false @@ -44788,9 +44789,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *251 - *252 - - *309 + - *253 + - *310 requestBody: required: true content: @@ -44823,7 +44824,7 @@ paths: type: array items: *17 examples: - default: *199 + default: *200 '422': *29 x-github: githubCloudOnly: false @@ -44848,9 +44849,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *251 - *252 - - *309 + - *253 + - *310 requestBody: required: true content: @@ -44883,7 +44884,7 @@ paths: type: array items: *17 examples: - default: *199 + default: *200 '422': *29 x-github: githubCloudOnly: false @@ -44910,9 +44911,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branches#rename-a-branch parameters: - - *251 - *252 - - *309 + - *253 + - *310 requestBody: required: true content: @@ -44934,7 +44935,7 @@ paths: description: Response content: application/json: - schema: *319 + schema: *320 examples: default: value: @@ -45047,8 +45048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/runs#create-a-check-run parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -45327,7 +45328,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &322 title: CheckRun description: A check performed on the code of a given code change type: object @@ -45462,8 +45463,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *320 - deployment: &546 + items: *321 + deployment: &547 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -45750,9 +45751,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/runs#get-a-check-run parameters: - - *251 - *252 - - &322 + - *253 + - &323 name: check_run_id description: The unique identifier of the check run. in: path @@ -45764,9 +45765,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: &323 + default: &324 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -45866,9 +45867,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/runs#update-a-check-run parameters: - - *251 - *252 - - *322 + - *253 + - *323 requestBody: required: true content: @@ -46108,9 +46109,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *323 + default: *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46130,9 +46131,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/runs#list-check-run-annotations parameters: - - *251 - *252 - - *322 + - *253 + - *323 - *4 - *5 responses: @@ -46244,9 +46245,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/runs#rerequest-a-check-run parameters: - - *251 - *252 - - *322 + - *253 + - *323 responses: '201': description: Response @@ -46290,8 +46291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/suites#create-a-check-suite parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -46313,7 +46314,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &325 + schema: &326 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -46395,7 +46396,7 @@ paths: type: - array - 'null' - items: *320 + items: *321 app: anyOf: - type: 'null' @@ -46411,7 +46412,7 @@ paths: - string - 'null' format: date-time - head_commit: *324 + head_commit: *325 latest_check_runs_count: type: integer check_runs_url: @@ -46439,7 +46440,7 @@ paths: - check_runs_url - pull_requests examples: - default: &326 + default: &327 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -46730,9 +46731,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *325 + schema: *326 examples: - default: *326 + default: *327 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46751,8 +46752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -47061,9 +47062,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/suites#get-a-check-suite parameters: - - *251 - *252 - - &327 + - *253 + - &328 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -47075,9 +47076,9 @@ paths: description: Response content: application/json: - schema: *325 + schema: *326 examples: - default: *326 + default: *327 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47100,17 +47101,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *251 - *252 - - *327 - - &354 + - *253 + - *328 + - &355 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &355 + - &356 name: status description: Returns check runs with the specified `status`. in: query @@ -47149,9 +47150,9 @@ paths: type: integer check_runs: type: array - items: *321 + items: *322 examples: - default: &356 + default: &357 value: total_count: 1 check_runs: @@ -47253,9 +47254,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/suites#rerequest-a-check-suite parameters: - - *251 - *252 - - *327 + - *253 + - *328 responses: '201': description: Response @@ -47288,20 +47289,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *251 - *252 - - *167 + - *253 - *168 + - *169 - *5 - *4 - - &338 + - &339 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: *328 + schema: *329 - *9 - name: sort description: The property by which to sort the results. @@ -47318,13 +47319,13 @@ paths: be returned. in: query required: false - schema: *169 + schema: *170 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *329 + schema: *330 responses: '200': description: Response @@ -47340,7 +47341,7 @@ paths: updated_at: *95 url: *92 html_url: *93 - instances_url: *330 + instances_url: *331 state: *86 fixed_at: *97 dismissed_by: @@ -47348,11 +47349,11 @@ paths: - type: 'null' - *17 dismissed_at: *96 - dismissed_reason: *331 - dismissed_comment: *332 - rule: *333 - tool: *334 - most_recent_instance: *335 + dismissed_reason: *332 + dismissed_comment: *333 + rule: *334 + tool: *335 + most_recent_instance: *336 required: - number - created_at @@ -47468,7 +47469,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': *229 + '403': *230 '404': *34 '503': *99 x-github: @@ -47490,9 +47491,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *251 - *252 - - &336 + - *253 + - &337 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -47506,7 +47507,7 @@ paths: description: Response content: application/json: - schema: &337 + schema: &338 type: object properties: number: *89 @@ -47514,7 +47515,7 @@ paths: updated_at: *95 url: *92 html_url: *93 - instances_url: *330 + instances_url: *331 state: *86 fixed_at: *97 dismissed_by: @@ -47522,8 +47523,8 @@ paths: - type: 'null' - *17 dismissed_at: *96 - dismissed_reason: *331 - dismissed_comment: *332 + dismissed_reason: *332 + dismissed_comment: *333 rule: type: object properties: @@ -47585,8 +47586,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *334 - most_recent_instance: *335 + tool: *335 + most_recent_instance: *336 required: - number - created_at @@ -47675,7 +47676,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *229 + '403': *230 '404': *34 '503': *99 x-github: @@ -47695,9 +47696,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *251 - *252 - - *336 + - *253 + - *337 requestBody: required: true content: @@ -47712,8 +47713,8 @@ paths: enum: - open - dismissed - dismissed_reason: *331 - dismissed_comment: *332 + dismissed_reason: *332 + dismissed_comment: *333 required: - state examples: @@ -47728,7 +47729,7 @@ paths: description: Response content: application/json: - schema: *337 + schema: *338 examples: default: value: @@ -47803,7 +47804,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &343 + '403': &344 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -47830,12 +47831,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *251 - *252 - - *336 + - *253 + - *337 - *5 - *4 - - *338 + - *339 responses: '200': description: Response @@ -47843,7 +47844,7 @@ paths: application/json: schema: type: array - items: *335 + items: *336 examples: default: value: @@ -47882,7 +47883,7 @@ paths: end_column: 50 classifications: - source - '403': *229 + '403': *230 '404': *34 '503': *99 x-github: @@ -47916,10 +47917,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *251 - *252 - - *167 + - *253 - *168 + - *169 - *5 - *4 - name: ref @@ -47928,12 +47929,12 @@ paths: for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *328 + schema: *329 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &341 + schema: &342 type: string description: An identifier for the upload. examples: @@ -47955,23 +47956,23 @@ paths: application/json: schema: type: array - items: &342 + items: &343 type: object properties: - ref: *328 - commit_sha: &344 + ref: *329 + commit_sha: &345 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: *339 + analysis_key: *340 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *340 + category: *341 error: type: string examples: @@ -47996,8 +47997,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *341 - tool: *334 + sarif_id: *342 + tool: *335 deletable: type: boolean warning: @@ -48059,7 +48060,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *229 + '403': *230 '404': *34 '503': *99 x-github: @@ -48095,8 +48096,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *251 - *252 + - *253 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -48109,7 +48110,7 @@ paths: description: Response content: application/json: - schema: *342 + schema: *343 examples: response: summary: application/json response @@ -48163,7 +48164,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *229 + '403': *230 '404': *34 '503': *99 x-github: @@ -48245,8 +48246,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *251 - *252 + - *253 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -48302,7 +48303,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': *28 - '403': *343 + '403': *344 '404': *34 '503': *99 x-github: @@ -48324,8 +48325,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *251 - *252 + - *253 responses: '200': description: Response @@ -48382,7 +48383,7 @@ paths: - python query_suite: default updated_at: '2023-01-19T11:21:34Z' - '403': *229 + '403': *230 '404': *34 '503': *99 x-github: @@ -48403,8 +48404,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -48475,7 +48476,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *343 + '403': *344 '404': *34 '409': description: Response if there is already a validation run in progress with @@ -48540,8 +48541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -48549,7 +48550,7 @@ paths: schema: type: object properties: - commit_sha: *344 + commit_sha: *345 ref: type: string description: |- @@ -48604,7 +48605,7 @@ paths: schema: type: object properties: - id: *341 + id: *342 url: type: string description: The REST API URL for checking the status of the upload. @@ -48618,7 +48619,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': *343 + '403': *344 '404': *34 '413': description: Payload Too Large if the sarif field is too large @@ -48641,8 +48642,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *251 - *252 + - *253 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -48690,7 +48691,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': *229 + '403': *230 '404': description: Not Found if the sarif id does not match any upload '503': *99 @@ -48715,8 +48716,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#list-codeowners-errors parameters: - - *251 - *252 + - *253 - 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 @@ -48847,8 +48848,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *251 - *252 + - *253 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -48886,7 +48887,7 @@ paths: application/json: schema: type: array - items: &345 + items: &346 title: Collaborator description: Collaborator type: object @@ -49078,8 +49079,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *251 - *252 + - *253 - *8 responses: '204': @@ -49116,8 +49117,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *251 - *252 + - *253 - *8 requestBody: required: false @@ -49183,8 +49184,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *251 - *252 + - *253 - *8 responses: '204': @@ -49214,8 +49215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *251 - *252 + - *253 - *8 responses: '200': @@ -49236,7 +49237,7 @@ paths: user: anyOf: - type: 'null' - - *345 + - *346 required: - permission - role_name @@ -49290,8 +49291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -49301,7 +49302,7 @@ paths: application/json: schema: type: array - items: &346 + items: &347 title: Commit Comment description: Commit Comment type: object @@ -49359,7 +49360,7 @@ paths: - created_at - updated_at examples: - default: &349 + default: &350 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -49418,17 +49419,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/comments#get-a-commit-comment parameters: - - *251 - *252 + - *253 - *113 responses: '200': description: Response content: application/json: - schema: *346 + schema: *347 examples: - default: &350 + default: &351 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -49485,8 +49486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/comments#update-a-commit-comment parameters: - - *251 - *252 + - *253 - *113 requestBody: required: true @@ -49509,7 +49510,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *347 examples: default: value: @@ -49560,8 +49561,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/comments#delete-a-commit-comment parameters: - - *251 - *252 + - *253 - *113 responses: '204': @@ -49583,8 +49584,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *251 - *252 + - *253 - *113 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#about-reactions). @@ -49611,9 +49612,9 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: - default: *242 + default: *243 headers: Link: *6 '404': *34 @@ -49634,8 +49635,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *251 - *252 + - *253 - *113 requestBody: required: true @@ -49668,16 +49669,16 @@ paths: description: Reaction exists content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 '201': description: Reaction created content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 '422': *29 x-github: githubCloudOnly: false @@ -49699,10 +49700,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *251 - *252 + - *253 - *113 - - *243 + - *244 responses: '204': description: Response @@ -49751,8 +49752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/commits#list-commits parameters: - - *251 - *252 + - *253 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -49808,9 +49809,9 @@ paths: application/json: schema: type: array - items: *347 + items: *348 examples: - default: &450 + default: &451 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -49880,7 +49881,7 @@ paths: sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: Link: *6 - '500': *206 + '500': *207 '400': *28 '404': *34 '409': *130 @@ -49903,9 +49904,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/commits#list-branches-for-head-commit parameters: - - *251 - *252 - - &348 + - *253 + - &349 name: commit_sha description: The SHA of the commit. in: path @@ -49977,9 +49978,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/comments#list-commit-comments parameters: - - *251 - *252 - - *348 + - *253 + - *349 - *4 - *5 responses: @@ -49989,9 +49990,9 @@ paths: application/json: schema: type: array - items: *346 + items: *347 examples: - default: *349 + default: *350 headers: Link: *6 x-github: @@ -50019,9 +50020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/comments#create-a-commit-comment parameters: - - *251 - *252 - - *348 + - *253 + - *349 requestBody: required: true content: @@ -50056,9 +50057,9 @@ paths: description: Response content: application/json: - schema: *346 + schema: *347 examples: - default: *350 + default: *351 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -50086,9 +50087,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *251 - *252 - - *348 + - *253 + - *349 - *4 - *5 responses: @@ -50098,7 +50099,7 @@ paths: application/json: schema: type: array - items: &440 + items: &441 title: Pull Request Simple description: Pull Request Simple type: object @@ -50218,7 +50219,7 @@ paths: milestone: anyOf: - type: 'null' - - *351 + - *352 active_lock_reason: type: - string @@ -50273,7 +50274,7 @@ paths: type: - array - 'null' - items: *253 + items: *254 head: type: object properties: @@ -50317,7 +50318,7 @@ paths: _links: type: object properties: - comments: &352 + comments: &353 title: Link description: Hypermedia Link type: object @@ -50326,13 +50327,13 @@ paths: type: string required: - href - commits: *352 - statuses: *352 - html: *352 - issue: *352 - review_comments: *352 - review_comment: *352 - self: *352 + commits: *353 + statuses: *353 + html: *353 + issue: *353 + review_comments: *353 + review_comment: *353 + self: *353 required: - comments - commits @@ -50343,7 +50344,7 @@ paths: - review_comment - self author_association: *101 - auto_merge: &442 + auto_merge: &443 title: Auto merge description: The status of auto merging a pull request. type: @@ -50408,7 +50409,7 @@ paths: - author_association - auto_merge examples: - default: &441 + default: &442 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -50945,11 +50946,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/commits#get-a-commit parameters: - - *251 - *252 + - *253 - *5 - *4 - - &353 + - &354 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)" @@ -50964,9 +50965,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *348 examples: - default: &427 + default: &428 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -51049,7 +51050,7 @@ paths: ..... '422': *29 '404': *34 - '500': *206 + '500': *207 '503': *99 '409': *130 x-github: @@ -51076,11 +51077,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *251 - *252 - - *353 + - *253 - *354 - *355 + - *356 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -51114,9 +51115,9 @@ paths: type: integer check_runs: type: array - items: *321 + items: *322 examples: - default: *356 + default: *357 headers: Link: *6 x-github: @@ -51141,9 +51142,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *251 - *252 - - *353 + - *253 + - *354 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -51151,7 +51152,7 @@ paths: schema: type: integer example: 1 - - *354 + - *355 - *4 - *5 responses: @@ -51169,7 +51170,7 @@ paths: type: integer check_suites: type: array - items: *325 + items: *326 examples: default: value: @@ -51369,9 +51370,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *251 - *252 - - *353 + - *253 + - *354 - *4 - *5 responses: @@ -51573,9 +51574,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *251 - *252 - - *353 + - *253 + - *354 - *4 - *5 responses: @@ -51585,7 +51586,7 @@ paths: application/json: schema: type: array - items: &470 + items: &471 title: Status description: The status of a commit. type: object @@ -51666,7 +51667,7 @@ paths: site_admin: false headers: Link: *6 - '301': *263 + '301': *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51734,8 +51735,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/commits#compare-two-commits parameters: - - *251 - *252 + - *253 - *5 - *4 - name: basehead @@ -51783,8 +51784,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *347 - merge_base_commit: *347 + base_commit: *348 + merge_base_commit: *348 status: type: string enum: @@ -51808,10 +51809,10 @@ paths: - 6 commits: type: array - items: *347 + items: *348 files: type: array - items: *357 + items: *358 required: - url - html_url @@ -52047,7 +52048,7 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *34 - '500': *206 + '500': *207 '503': *99 x-github: githubCloudOnly: false @@ -52090,8 +52091,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/contents#get-repository-content parameters: - - *251 - *252 + - *253 - name: path description: path parameter in: path @@ -52242,7 +52243,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &358 + response-if-content-is-a-file: &359 summary: Response if content is a file value: type: file @@ -52379,7 +52380,7 @@ paths: - size - type - url - - &455 + - &456 title: Content File description: Content File type: object @@ -52597,7 +52598,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *358 + response-if-content-is-a-file: *359 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -52666,7 +52667,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *34 '403': *38 - '302': &459 + '302': &460 description: Found '304': *37 x-github: @@ -52690,8 +52691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/contents#create-or-update-file-contents parameters: - - *251 - *252 + - *253 - name: path description: path parameter in: path @@ -52786,7 +52787,7 @@ paths: description: Response content: application/json: - schema: &359 + schema: &360 title: File Commit description: File Commit type: object @@ -52935,7 +52936,7 @@ paths: description: Response content: application/json: - schema: *359 + schema: *360 examples: example-for-creating-a-file: value: @@ -52986,7 +52987,7 @@ paths: schema: oneOf: - *27 - - &388 + - &389 description: Repository rule violation was detected type: object properties: @@ -53039,8 +53040,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/contents#delete-a-file parameters: - - *251 - *252 + - *253 - name: path description: path parameter in: path @@ -53101,7 +53102,7 @@ paths: description: Response content: application/json: - schema: *359 + schema: *360 examples: default: value: @@ -53152,8 +53153,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#list-repository-contributors parameters: - - *251 - *252 + - *253 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -53277,20 +53278,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *251 - *252 - - *175 + - *253 - *176 - *177 - *178 + - *179 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *179 - *180 + - *181 - *9 responses: '200': @@ -53299,7 +53300,7 @@ paths: application/json: schema: type: array - items: &362 + items: &363 type: object description: A Dependabot alert. properties: @@ -53334,7 +53335,7 @@ paths: - development - runtime - - security_advisory: *360 + security_advisory: *361 security_vulnerability: *91 url: *92 html_url: *93 @@ -53365,7 +53366,7 @@ paths: dismissal. maxLength: 280 fixed_at: *97 - auto_dismissed_at: *361 + auto_dismissed_at: *362 required: - number - state @@ -53592,9 +53593,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *251 - *252 - - &363 + - *253 + - &364 name: alert_number in: path description: |- @@ -53609,7 +53610,7 @@ paths: description: Response content: application/json: - schema: *362 + schema: *363 examples: default: value: @@ -53713,9 +53714,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *251 - *252 - - *363 + - *253 + - *364 requestBody: required: true content: @@ -53760,7 +53761,7 @@ paths: description: Response content: application/json: - schema: *362 + schema: *363 examples: default: value: @@ -53889,8 +53890,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/secrets#list-repository-secrets parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -53908,7 +53909,7 @@ paths: type: integer secrets: type: array - items: &366 + items: &367 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -53962,16 +53963,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *251 - *252 + - *253 responses: '200': description: Response content: application/json: - schema: *364 + schema: *365 examples: - default: *365 + default: *366 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53991,15 +53992,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/secrets#get-a-repository-secret parameters: - - *251 - *252 + - *253 - *153 responses: '200': description: Response content: application/json: - schema: *366 + schema: *367 examples: default: value: @@ -54025,8 +54026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *251 - *252 + - *253 - *153 requestBody: required: true @@ -54079,8 +54080,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *251 - *252 + - *253 - *153 responses: '204': @@ -54103,8 +54104,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *251 - *252 + - *253 - 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 @@ -54278,8 +54279,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *251 - *252 + - *253 responses: '200': description: Response @@ -54528,8 +54529,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -54612,7 +54613,7 @@ paths: - version - url additionalProperties: false - metadata: &367 + metadata: &368 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -54651,7 +54652,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *367 + metadata: *368 resolved: type: object description: A collection of resolved package dependencies. @@ -54665,7 +54666,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *367 + metadata: *368 relationship: type: string description: A notation of whether a dependency is requested @@ -54798,8 +54799,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments#list-deployments parameters: - - *251 - *252 + - *253 - name: sha description: The SHA recorded at creation time. in: query @@ -54840,9 +54841,9 @@ paths: application/json: schema: type: array - items: *368 + items: *369 examples: - default: *369 + default: *370 headers: Link: *6 x-github: @@ -54908,8 +54909,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments#create-a-deployment parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -54991,7 +54992,7 @@ paths: description: Response content: application/json: - schema: *368 + schema: *369 examples: simple-example: summary: Simple example @@ -55064,9 +55065,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments#get-a-deployment parameters: - - *251 - *252 - - &370 + - *253 + - &371 name: deployment_id description: deployment_id parameter in: path @@ -55078,7 +55079,7 @@ paths: description: Response content: application/json: - schema: *368 + schema: *369 examples: default: value: @@ -55143,9 +55144,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments#delete-a-deployment parameters: - - *251 - *252 - - *370 + - *253 + - *371 responses: '204': description: Response @@ -55167,9 +55168,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/statuses#list-deployment-statuses parameters: - - *251 - *252 - - *370 + - *253 + - *371 - *4 - *5 responses: @@ -55179,7 +55180,7 @@ paths: application/json: schema: type: array - items: &371 + items: &372 title: Deployment Status description: The status of a deployment. type: object @@ -55343,9 +55344,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/statuses#create-a-deployment-status parameters: - - *251 - *252 - - *370 + - *253 + - *371 requestBody: required: true content: @@ -55420,9 +55421,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *372 examples: - default: &372 + default: &373 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -55478,9 +55479,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/statuses#get-a-deployment-status parameters: - - *251 - *252 - - *370 + - *253 + - *371 - name: status_id in: path required: true @@ -55491,9 +55492,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *372 examples: - default: *372 + default: *373 '404': *34 x-github: githubCloudOnly: false @@ -55518,8 +55519,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -55576,8 +55577,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/environments#list-environments parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -55595,7 +55596,7 @@ paths: - 5 environments: type: array - items: &374 + items: &375 title: Environment description: Details of a deployment environment type: object @@ -55657,7 +55658,7 @@ paths: type: string examples: - wait_timer - wait_timer: &376 + wait_timer: &377 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -55693,11 +55694,11 @@ paths: items: type: object properties: - type: *373 + type: *374 reviewer: anyOf: - *17 - - *253 + - *254 required: - id - node_id @@ -55720,7 +55721,7 @@ paths: - id - node_id - type - deployment_branch_policy: &377 + deployment_branch_policy: &378 type: - object - 'null' @@ -55835,9 +55836,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/environments#get-an-environment parameters: - - *251 - *252 - - &375 + - *253 + - &376 name: environment_name in: path required: true @@ -55850,9 +55851,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *375 examples: - default: &378 + default: &379 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -55934,9 +55935,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/environments#create-or-update-an-environment parameters: - - *251 - *252 - - *375 + - *253 + - *376 requestBody: required: false content: @@ -55946,7 +55947,7 @@ paths: - object - 'null' properties: - wait_timer: *376 + wait_timer: *377 reviewers: type: - array @@ -55959,14 +55960,14 @@ paths: items: type: object properties: - type: *373 + type: *374 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *377 + deployment_branch_policy: *378 additionalProperties: false examples: default: @@ -55985,9 +55986,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *375 examples: - default: *378 + default: *379 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -56011,9 +56012,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/environments#delete-an-environment parameters: - - *251 - *252 - - *375 + - *253 + - *376 responses: '204': description: Default response @@ -56038,9 +56039,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *251 - *252 - - *375 + - *253 + - *376 - *4 - *5 responses: @@ -56059,7 +56060,7 @@ paths: - 2 branch_policies: type: array - items: &379 + items: &380 title: Deployment branch policy description: Details of a deployment branch policy. type: object @@ -56111,9 +56112,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *251 - *252 - - *375 + - *253 + - *376 requestBody: required: true content: @@ -56147,9 +56148,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *380 examples: - example-wildcard: &380 + example-wildcard: &381 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -56185,10 +56186,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *251 - *252 - - *375 - - &381 + - *253 + - *376 + - &382 name: branch_policy_id in: path required: true @@ -56200,9 +56201,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *380 examples: - default: *380 + default: *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56221,10 +56222,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *251 - *252 - - *375 - - *381 + - *253 + - *376 + - *382 requestBody: required: true content: @@ -56253,9 +56254,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *380 examples: - default: *380 + default: *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56274,10 +56275,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *251 - *252 - - *375 - - *381 + - *253 + - *376 + - *382 responses: '204': description: Response @@ -56302,9 +56303,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *375 + - *376 + - *253 - *252 - - *251 responses: '200': description: List of deployment protection rules @@ -56321,7 +56322,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &382 + items: &383 title: Deployment protection rule description: Deployment protection rule type: object @@ -56343,7 +56344,7 @@ paths: for the environment. examples: - true - app: &383 + app: &384 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -56446,9 +56447,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *375 + - *376 + - *253 - *252 - - *251 requestBody: content: application/json: @@ -56469,9 +56470,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *382 + schema: *383 examples: - default: &384 + default: &385 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -56506,9 +56507,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *375 + - *376 + - *253 - *252 - - *251 - *5 - *4 responses: @@ -56528,7 +56529,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *383 + items: *384 examples: default: value: @@ -56563,10 +56564,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *251 - *252 - - *375 - - &385 + - *253 + - *376 + - &386 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -56578,9 +56579,9 @@ paths: description: Response content: application/json: - schema: *382 + schema: *383 examples: - default: *384 + default: *385 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56601,10 +56602,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *375 + - *376 + - *253 - *252 - - *251 - - *385 + - *386 responses: '204': description: Response @@ -56630,9 +56631,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#list-environment-secrets parameters: - - *251 - *252 - - *375 + - *253 + - *376 - *4 - *5 responses: @@ -56650,9 +56651,9 @@ paths: type: integer secrets: type: array - items: *288 + items: *289 examples: - default: *289 + default: *290 headers: Link: *6 x-github: @@ -56677,17 +56678,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#get-an-environment-public-key parameters: - - *251 - *252 - - *375 + - *253 + - *376 responses: '200': description: Response content: application/json: - schema: *290 + schema: *291 examples: - default: *291 + default: *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56709,18 +56710,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#get-an-environment-secret parameters: - - *251 - *252 - - *375 + - *253 + - *376 - *153 responses: '200': description: Response content: application/json: - schema: *288 + schema: *289 examples: - default: *386 + default: *387 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56742,9 +56743,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *251 - *252 - - *375 + - *253 + - *376 - *153 requestBody: required: true @@ -56802,9 +56803,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#delete-an-environment-secret parameters: - - *251 - *252 - - *375 + - *253 + - *376 - *153 responses: '204': @@ -56830,10 +56831,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#list-environment-variables parameters: - - *251 - *252 - - *375 - - *275 + - *253 + - *376 + - *276 - *5 responses: '200': @@ -56850,9 +56851,9 @@ paths: type: integer variables: type: array - items: *292 + items: *293 examples: - default: *293 + default: *294 headers: Link: *6 x-github: @@ -56875,9 +56876,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#create-an-environment-variable parameters: - - *251 - *252 - - *375 + - *253 + - *376 requestBody: required: true content: @@ -56929,18 +56930,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#get-an-environment-variable parameters: - - *251 - *252 - - *375 + - *253 + - *376 - *156 responses: '200': description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *387 + default: *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56961,10 +56962,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#update-an-environment-variable parameters: - - *251 - *252 + - *253 - *156 - - *375 + - *376 requestBody: required: true content: @@ -57006,10 +57007,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#delete-an-environment-variable parameters: - - *251 - *252 + - *253 - *156 - - *375 + - *376 responses: '204': description: Response @@ -57031,8 +57032,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/events#list-repository-events parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -57109,8 +57110,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/forks#list-forks parameters: - - *251 - *252 + - *253 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -57269,8 +57270,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/forks#create-a-fork parameters: - - *251 - *252 + - *253 requestBody: required: false content: @@ -57303,9 +57304,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: *264 + default: *265 '400': *28 '422': *29 '403': *38 @@ -57326,8 +57327,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/blobs#create-a-blob parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -57387,7 +57388,7 @@ paths: schema: oneOf: - *128 - - *388 + - *389 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57412,8 +57413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/blobs#get-a-blob parameters: - - *251 - *252 + - *253 - name: file_sha in: path required: true @@ -57513,8 +57514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/commits#create-a-commit parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -57623,7 +57624,7 @@ paths: description: Response content: application/json: - schema: &389 + schema: &390 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -57842,15 +57843,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/commits#get-a-commit-object parameters: - - *251 - *252 - - *348 + - *253 + - *349 responses: '200': description: Response content: application/json: - schema: *389 + schema: *390 examples: default: value: @@ -57903,9 +57904,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/refs#list-matching-references parameters: - - *251 - *252 - - &390 + - *253 + - &391 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -57922,7 +57923,7 @@ paths: application/json: schema: type: array - items: &391 + items: &392 title: Git Reference description: Git references within a repository type: object @@ -57998,17 +57999,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/refs#get-a-reference parameters: - - *251 - *252 - - *390 + - *253 + - *391 responses: '200': description: Response content: application/json: - schema: *391 + schema: *392 examples: - default: &392 + default: &393 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -58037,8 +58038,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/refs#create-a-reference parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -58067,9 +58068,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *392 examples: - default: *392 + default: *393 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -58095,9 +58096,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/refs#update-a-reference parameters: - - *251 - *252 - - *390 + - *253 + - *391 requestBody: required: true content: @@ -58126,9 +58127,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *392 examples: - default: *392 + default: *393 '422': *29 '409': *130 x-github: @@ -58146,9 +58147,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/refs#delete-a-reference parameters: - - *251 - *252 - - *390 + - *253 + - *391 responses: '204': description: Response @@ -58201,8 +58202,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/tags#create-a-tag-object parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -58269,7 +58270,7 @@ paths: description: Response content: application/json: - schema: &394 + schema: &395 title: Git Tag description: Metadata for a Git tag type: object @@ -58325,7 +58326,7 @@ paths: - sha - type - url - verification: *393 + verification: *394 required: - sha - url @@ -58335,7 +58336,7 @@ paths: - tag - message examples: - default: &395 + default: &396 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -58405,8 +58406,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/tags#get-a-tag parameters: - - *251 - *252 + - *253 - name: tag_sha in: path required: true @@ -58417,9 +58418,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *395 examples: - default: *395 + default: *396 '404': *34 '409': *130 x-github: @@ -58443,8 +58444,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/trees#create-a-tree parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -58518,7 +58519,7 @@ paths: description: Response content: application/json: - schema: &396 + schema: &397 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -58636,8 +58637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/trees#get-a-tree parameters: - - *251 - *252 + - *253 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -58660,7 +58661,7 @@ paths: description: Response content: application/json: - schema: *396 + schema: *397 examples: default-response: summary: Default response @@ -58719,8 +58720,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#list-repository-webhooks parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -58730,7 +58731,7 @@ paths: application/json: schema: type: array - items: &397 + items: &398 title: Webhook description: Webhooks for repositories. type: object @@ -58793,7 +58794,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &574 + last_response: &575 title: Hook Response type: object properties: @@ -58870,8 +58871,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#create-a-repository-webhook parameters: - - *251 - *252 + - *253 requestBody: required: false content: @@ -58924,9 +58925,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *398 examples: - default: &398 + default: &399 value: type: Repository id: 12345678 @@ -58974,17 +58975,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#get-a-repository-webhook parameters: - - *251 - *252 + - *253 - *3 responses: '200': description: Response content: application/json: - schema: *397 + schema: *398 examples: - default: *398 + default: *399 '404': *34 x-github: githubCloudOnly: false @@ -59004,8 +59005,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#update-a-repository-webhook parameters: - - *251 - *252 + - *253 - *3 requestBody: required: true @@ -59051,9 +59052,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *398 examples: - default: *398 + default: *399 '422': *29 '404': *34 x-github: @@ -59074,8 +59075,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *251 - *252 + - *253 - *3 responses: '204': @@ -59100,8 +59101,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *251 - *252 + - *253 - *3 responses: '200': @@ -59129,8 +59130,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *251 - *252 + - *253 - *3 requestBody: required: false @@ -59175,11 +59176,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *251 - *252 + - *253 - *3 - *4 - - *188 + - *189 responses: '200': description: Response @@ -59187,9 +59188,9 @@ paths: application/json: schema: type: array - items: *189 + items: *190 examples: - default: *190 + default: *191 '400': *28 '422': *29 x-github: @@ -59208,8 +59209,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *251 - *252 + - *253 - *3 - *30 responses: @@ -59217,9 +59218,9 @@ paths: description: Response content: application/json: - schema: *191 + schema: *192 examples: - default: *192 + default: *193 '400': *28 '422': *29 x-github: @@ -59238,8 +59239,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *251 - *252 + - *253 - *3 - *30 responses: @@ -59263,8 +59264,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *251 - *252 + - *253 - *3 responses: '204': @@ -59290,8 +59291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *251 - *252 + - *253 - *3 responses: '204': @@ -59316,8 +59317,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *251 - *252 + - *253 responses: '200': description: Response @@ -59325,8 +59326,8 @@ paths: application/json: schema: *33 examples: - default: *399 - '301': *263 + default: *400 + '301': *264 '404': *34 x-github: githubCloudOnly: false @@ -59345,8 +59346,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/invitations#list-repository-invitations parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -59356,7 +59357,7 @@ paths: application/json: schema: type: array - items: &400 + items: &401 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -59418,7 +59419,7 @@ paths: - html_url - created_at examples: - default: &527 + default: &528 value: - id: 1 repository: @@ -59549,9 +59550,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *251 - *252 - - &401 + - *253 + - &402 name: invitation_id description: The unique identifier of the invitation. in: path @@ -59586,7 +59587,7 @@ paths: description: Response content: application/json: - schema: *400 + schema: *401 examples: default: value: @@ -59717,9 +59718,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *251 - *252 - - *401 + - *253 + - *402 responses: '204': description: Response @@ -59750,8 +59751,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/issues#list-repository-issues parameters: - - *251 - *252 + - *253 - 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 @@ -59791,7 +59792,7 @@ paths: required: false schema: type: string - - *193 + - *194 - name: sort description: What to sort results by. in: query @@ -59964,7 +59965,7 @@ paths: state_reason: completed headers: Link: *6 - '301': *263 + '301': *264 '422': *29 '404': *34 x-github: @@ -59993,8 +59994,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/issues#create-an-issue parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -60077,7 +60078,7 @@ paths: application/json: schema: *114 examples: - default: &405 + default: &406 value: id: 1 node_id: MDU6SXNzdWUx @@ -60233,7 +60234,7 @@ paths: '422': *29 '503': *99 '404': *34 - '410': *218 + '410': *219 x-github: triggersNotification: true githubCloudOnly: false @@ -60261,9 +60262,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *251 - *252 - - &448 + - *253 + - &449 name: sort description: The property to sort the results by. in: query @@ -60293,9 +60294,9 @@ paths: application/json: schema: type: array - items: *402 + items: *403 examples: - default: &407 + default: &408 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -60353,17 +60354,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/comments#get-an-issue-comment parameters: - - *251 - *252 + - *253 - *113 responses: '200': description: Response content: application/json: - schema: *402 + schema: *403 examples: - default: &403 + default: &404 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -60417,8 +60418,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/comments#update-an-issue-comment parameters: - - *251 - *252 + - *253 - *113 requestBody: required: true @@ -60441,9 +60442,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *403 examples: - default: *403 + default: *404 '422': *29 x-github: githubCloudOnly: false @@ -60461,8 +60462,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/comments#delete-an-issue-comment parameters: - - *251 - *252 + - *253 - *113 responses: '204': @@ -60483,8 +60484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *251 - *252 + - *253 - *113 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#about-reactions). @@ -60511,9 +60512,9 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: - default: *242 + default: *243 headers: Link: *6 '404': *34 @@ -60534,8 +60535,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *251 - *252 + - *253 - *113 requestBody: required: true @@ -60568,16 +60569,16 @@ paths: description: Reaction exists content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 '201': description: Reaction created content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 '422': *29 x-github: githubCloudOnly: false @@ -60599,10 +60600,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *251 - *252 + - *253 - *113 - - *243 + - *244 responses: '204': description: Response @@ -60622,8 +60623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/events#list-issue-events-for-a-repository parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -60633,7 +60634,7 @@ paths: application/json: schema: type: array - items: &404 + items: &405 title: Issue Event description: Issue Event type: object @@ -60713,7 +60714,7 @@ paths: anyOf: - type: 'null' - *17 - requested_team: *253 + requested_team: *254 dismissed_review: title: Issue Event Dismissed Review type: object @@ -60972,8 +60973,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/events#get-an-issue-event parameters: - - *251 - *252 + - *253 - name: event_id in: path required: true @@ -60984,7 +60985,7 @@ paths: description: Response content: application/json: - schema: *404 + schema: *405 examples: default: value: @@ -61177,7 +61178,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *34 - '410': *218 + '410': *219 '403': *38 x-github: githubCloudOnly: false @@ -61211,9 +61212,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue parameters: - - *251 - *252 - - &406 + - *253 + - &407 name: issue_number description: The number that identifies the issue. in: path @@ -61227,10 +61228,10 @@ paths: application/json: schema: *114 examples: - default: *405 - '301': *263 + default: *406 + '301': *264 '404': *34 - '410': *218 + '410': *219 '304': *37 x-github: githubCloudOnly: false @@ -61255,9 +61256,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/issues#update-an-issue parameters: - - *251 - *252 - - *406 + - *253 + - *407 requestBody: required: false content: @@ -61367,13 +61368,13 @@ paths: application/json: schema: *114 examples: - default: *405 + default: *406 '422': *29 '503': *99 '403': *38 - '301': *263 + '301': *264 '404': *34 - '410': *218 + '410': *219 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61391,9 +61392,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *251 - *252 - - *406 + - *253 + - *407 requestBody: required: false content: @@ -61421,7 +61422,7 @@ paths: application/json: schema: *114 examples: - default: *405 + default: *406 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61437,9 +61438,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *251 - *252 - - *406 + - *253 + - *407 requestBody: content: application/json: @@ -61466,7 +61467,7 @@ paths: application/json: schema: *114 examples: - default: *405 + default: *406 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61488,9 +61489,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *251 - *252 - - *406 + - *253 + - *407 - name: assignee in: path required: true @@ -61530,9 +61531,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/comments#list-issue-comments parameters: - - *251 - *252 - - *406 + - *253 + - *407 - *104 - *4 - *5 @@ -61543,13 +61544,13 @@ paths: application/json: schema: type: array - items: *402 + items: *403 examples: - default: *407 + default: *408 headers: Link: *6 '404': *34 - '410': *218 + '410': *219 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61578,9 +61579,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/comments#create-an-issue-comment parameters: - - *251 - *252 - - *406 + - *253 + - *407 requestBody: required: true content: @@ -61602,16 +61603,16 @@ paths: description: Response content: application/json: - schema: *402 + schema: *403 examples: - default: *403 + default: *404 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *38 - '410': *218 + '410': *219 '422': *29 '404': *34 x-github: @@ -61631,9 +61632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/events#list-issue-events parameters: - - *251 - *252 - - *406 + - *253 + - *407 - *4 - *5 responses: @@ -61647,7 +61648,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &410 + - &411 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -61696,7 +61697,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &411 + - &412 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -61824,7 +61825,7 @@ paths: - performed_via_github_app - assignee - assigner - - &412 + - &413 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -61870,7 +61871,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &413 + - &414 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -61916,7 +61917,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &414 + - &415 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -61965,7 +61966,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &415 + - &416 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -61994,7 +61995,7 @@ paths: - type: 'null' - *20 review_requester: *17 - requested_team: *253 + requested_team: *254 requested_reviewer: *17 required: - review_requester @@ -62007,7 +62008,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &416 + - &417 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -62036,7 +62037,7 @@ paths: - type: 'null' - *20 review_requester: *17 - requested_team: *253 + requested_team: *254 requested_reviewer: *17 required: - review_requester @@ -62049,7 +62050,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &417 + - &418 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -62105,7 +62106,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &418 + - &419 title: Locked Issue Event description: Locked Issue Event type: object @@ -62150,7 +62151,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &419 + - &420 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -62211,7 +62212,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &420 + - &421 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -62272,7 +62273,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &421 + - &422 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -62333,7 +62334,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &422 + - &423 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -62426,7 +62427,7 @@ paths: color: red headers: Link: *6 - '410': *218 + '410': *219 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62443,9 +62444,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#list-labels-for-an-issue parameters: - - *251 - *252 - - *406 + - *253 + - *407 - *4 - *5 responses: @@ -62455,7 +62456,7 @@ paths: application/json: schema: type: array - items: &408 + items: &409 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -62510,7 +62511,7 @@ paths: - color - default examples: - default: &409 + default: &410 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -62528,9 +62529,9 @@ paths: default: false headers: Link: *6 - '301': *263 + '301': *264 '404': *34 - '410': *218 + '410': *219 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62547,9 +62548,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#add-labels-to-an-issue parameters: - - *251 - *252 - - *406 + - *253 + - *407 requestBody: required: false content: @@ -62608,12 +62609,12 @@ paths: application/json: schema: type: array - items: *408 + items: *409 examples: - default: *409 - '301': *263 + default: *410 + '301': *264 '404': *34 - '410': *218 + '410': *219 '422': *29 x-github: githubCloudOnly: false @@ -62630,9 +62631,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#set-labels-for-an-issue parameters: - - *251 - *252 - - *406 + - *253 + - *407 requestBody: required: false content: @@ -62692,12 +62693,12 @@ paths: application/json: schema: type: array - items: *408 + items: *409 examples: - default: *409 - '301': *263 + default: *410 + '301': *264 '404': *34 - '410': *218 + '410': *219 '422': *29 x-github: githubCloudOnly: false @@ -62714,15 +62715,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *251 - *252 - - *406 + - *253 + - *407 responses: '204': description: Response - '301': *263 + '301': *264 '404': *34 - '410': *218 + '410': *219 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62741,9 +62742,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *251 - *252 - - *406 + - *253 + - *407 - name: name in: path required: true @@ -62756,7 +62757,7 @@ paths: application/json: schema: type: array - items: *408 + items: *409 examples: default: value: @@ -62767,9 +62768,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *263 + '301': *264 '404': *34 - '410': *218 + '410': *219 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62789,9 +62790,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/issues#lock-an-issue parameters: - - *251 - *252 - - *406 + - *253 + - *407 requestBody: required: false content: @@ -62820,7 +62821,7 @@ paths: '204': description: Response '403': *38 - '410': *218 + '410': *219 '404': *34 '422': *29 x-github: @@ -62838,9 +62839,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/issues#unlock-an-issue parameters: - - *251 - *252 - - *406 + - *253 + - *407 responses: '204': description: Response @@ -62862,9 +62863,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *251 - *252 - - *406 + - *253 + - *407 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -62890,13 +62891,13 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: - default: *242 + default: *243 headers: Link: *6 '404': *34 - '410': *218 + '410': *219 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62914,9 +62915,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *251 - *252 - - *406 + - *253 + - *407 requestBody: required: true content: @@ -62948,20 +62949,20 @@ paths: description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 '201': description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 '422': *29 x-github: githubCloudOnly: false - enabledForGitHubApps: false + enabledForGitHubApps: true category: reactions subcategory: reactions "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": @@ -62979,10 +62980,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *251 - *252 - - *406 - - *243 + - *253 + - *407 + - *244 responses: '204': description: Response @@ -63002,9 +63003,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *251 - *252 - - *406 + - *253 + - *407 - *4 - *5 responses: @@ -63019,7 +63020,6 @@ paths: description: Timeline Event type: object anyOf: - - *410 - *411 - *412 - *413 @@ -63032,6 +63032,7 @@ paths: - *420 - *421 - *422 + - *423 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -63350,7 +63351,7 @@ paths: type: string comments: type: array - items: &443 + items: &444 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -63588,7 +63589,7 @@ paths: type: string comments: type: array - items: *346 + items: *347 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -63863,7 +63864,7 @@ paths: headers: Link: *6 '404': *34 - '410': *218 + '410': *219 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63880,8 +63881,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -63891,7 +63892,7 @@ paths: application/json: schema: type: array - items: &423 + items: &424 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -63956,8 +63957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -63993,9 +63994,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: - default: &424 + default: &425 value: id: 1 key: ssh-rsa AAA... @@ -64028,9 +64029,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *251 - *252 - - &425 + - *253 + - &426 name: key_id description: The unique identifier of the key. in: path @@ -64042,9 +64043,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: - default: *424 + default: *425 '404': *34 x-github: githubCloudOnly: false @@ -64062,9 +64063,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *251 - *252 - - *425 + - *253 + - *426 responses: '204': description: Response @@ -64084,8 +64085,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#list-labels-for-a-repository parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -64095,9 +64096,9 @@ paths: application/json: schema: type: array - items: *408 + items: *409 examples: - default: *409 + default: *410 headers: Link: *6 '404': *34 @@ -64118,8 +64119,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#create-a-label parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -64155,9 +64156,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *409 examples: - default: &426 + default: &427 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -64189,8 +64190,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#get-a-label parameters: - - *251 - *252 + - *253 - name: name in: path required: true @@ -64201,9 +64202,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *409 examples: - default: *426 + default: *427 '404': *34 x-github: githubCloudOnly: false @@ -64220,8 +64221,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#update-a-label parameters: - - *251 - *252 + - *253 - name: name in: path required: true @@ -64260,7 +64261,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *409 examples: default: value: @@ -64286,8 +64287,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#delete-a-label parameters: - - *251 - *252 + - *253 - name: name in: path required: true @@ -64313,8 +64314,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#list-repository-languages parameters: - - *251 - *252 + - *253 responses: '200': description: Response @@ -64350,8 +64351,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *251 - *252 + - *253 responses: '202': *131 '403': @@ -64379,8 +64380,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *251 - *252 + - *253 responses: '204': description: Response @@ -64406,8 +64407,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *251 - *252 + - *253 responses: '200': description: Response @@ -64554,8 +64555,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -64620,8 +64621,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branches#merge-a-branch parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -64655,9 +64656,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *347 + schema: *348 examples: - default: *427 + default: *428 '204': description: Response when already merged '404': @@ -64682,8 +64683,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/milestones#list-milestones parameters: - - *251 - *252 + - *253 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -64724,7 +64725,7 @@ paths: application/json: schema: type: array - items: *351 + items: *352 examples: default: value: @@ -64780,8 +64781,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/milestones#create-a-milestone parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -64821,9 +64822,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *352 examples: - default: &428 + default: &429 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -64882,9 +64883,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/milestones#get-a-milestone parameters: - - *251 - *252 - - &429 + - *253 + - &430 name: milestone_number description: The number that identifies the milestone. in: path @@ -64896,9 +64897,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *352 examples: - default: *428 + default: *429 '404': *34 x-github: githubCloudOnly: false @@ -64915,9 +64916,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/milestones#update-a-milestone parameters: - - *251 - *252 - - *429 + - *253 + - *430 requestBody: required: false content: @@ -64955,9 +64956,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *352 examples: - default: *428 + default: *429 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64973,9 +64974,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/milestones#delete-a-milestone parameters: - - *251 - *252 - - *429 + - *253 + - *430 responses: '204': description: Response @@ -64996,9 +64997,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *251 - *252 - - *429 + - *253 + - *430 - *4 - *5 responses: @@ -65008,9 +65009,9 @@ paths: application/json: schema: type: array - items: *408 + items: *409 examples: - default: *409 + default: *410 headers: Link: *6 x-github: @@ -65029,12 +65030,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *251 - *252 - - *430 + - *253 - *431 - - *104 - *432 + - *104 + - *433 - *4 - *5 responses: @@ -65046,7 +65047,7 @@ paths: type: array items: *121 examples: - default: *433 + default: *434 headers: Link: *6 x-github: @@ -65070,8 +65071,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *251 - *252 + - *253 requestBody: required: false content: @@ -65129,14 +65130,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#get-a-apiname-pages-site parameters: - - *251 - *252 + - *253 responses: '200': description: Response content: application/json: - schema: &434 + schema: &435 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -65280,7 +65281,7 @@ paths: - custom_404 - public examples: - default: &435 + default: &436 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -65321,8 +65322,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#create-a-apiname-pages-site parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -65377,9 +65378,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *435 examples: - default: *435 + default: *436 '422': *29 '409': *130 x-github: @@ -65402,8 +65403,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -65503,8 +65504,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *251 - *252 + - *253 responses: '204': description: Response @@ -65530,8 +65531,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#list-apiname-pages-builds parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -65541,7 +65542,7 @@ paths: application/json: schema: type: array - items: &436 + items: &437 title: Page Build description: Page Build type: object @@ -65633,8 +65634,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#request-a-apiname-pages-build parameters: - - *251 - *252 + - *253 responses: '201': description: Response @@ -65681,16 +65682,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#get-latest-pages-build parameters: - - *251 - *252 + - *253 responses: '200': description: Response content: application/json: - schema: *436 + schema: *437 examples: - default: &437 + default: &438 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -65738,8 +65739,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#get-apiname-pages-build parameters: - - *251 - *252 + - *253 - name: build_id in: path required: true @@ -65750,9 +65751,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *437 examples: - default: *437 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65772,8 +65773,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#create-a-github-pages-deployment parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -65868,8 +65869,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/enterprise-admin/repo-pre-receive-hooks#list-pre-receive-hooks-for-a-repository parameters: - - *251 - *252 + - *253 - *4 - *5 - *9 @@ -65890,7 +65891,7 @@ paths: application/json: schema: type: array - items: &438 + items: &439 type: object properties: id: @@ -65924,17 +65925,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/enterprise-admin/repo-pre-receive-hooks#get-a-pre-receive-hook-for-a-repository parameters: - - *251 - *252 + - *253 - *16 responses: '200': description: Response content: application/json: - schema: *438 + schema: *439 examples: - default: &439 + default: &440 value: id: 42 name: Check Commits @@ -65956,15 +65957,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/enterprise-admin/repo-pre-receive-hooks#update-pre-receive-hook-enforcement-for-a-repository parameters: - - *251 - *252 + - *253 - *16 responses: '200': description: Response content: application/json: - schema: *438 + schema: *439 examples: default: value: @@ -66008,8 +66009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/enterprise-admin/repo-pre-receive-hooks#remove-pre-receive-hook-enforcement-for-a-repository parameters: - - *251 - *252 + - *253 - *16 responses: '200': @@ -66017,9 +66018,9 @@ paths: global level. content: application/json: - schema: *438 + schema: *439 examples: - default: *439 + default: *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66039,8 +66040,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/projects#list-repository-projects parameters: - - *251 - *252 + - *253 - name: state description: Indicates the state of the projects to return. in: query @@ -66061,7 +66062,7 @@ paths: application/json: schema: type: array - items: *217 + items: *218 examples: default: value: @@ -66101,7 +66102,7 @@ paths: '401': *36 '403': *38 '404': *34 - '410': *218 + '410': *219 '422': *79 x-github: githubCloudOnly: false @@ -66121,8 +66122,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/projects#create-a-repository-project parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -66148,13 +66149,13 @@ paths: description: Response content: application/json: - schema: *217 + schema: *218 examples: - default: *260 + default: *261 '401': *36 '403': *38 '404': *34 - '410': *218 + '410': *219 '422': *79 x-github: githubCloudOnly: false @@ -66186,8 +66187,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#list-pull-requests parameters: - - *251 - *252 + - *253 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -66247,9 +66248,9 @@ paths: application/json: schema: type: array - items: *440 + items: *441 examples: - default: *441 + default: *442 headers: Link: *6 '304': *37 @@ -66281,8 +66282,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#create-a-pull-request parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -66349,7 +66350,7 @@ paths: description: Response content: application/json: - schema: &445 + schema: &446 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -66478,7 +66479,7 @@ paths: milestone: anyOf: - type: 'null' - - *351 + - *352 active_lock_reason: type: - string @@ -66533,7 +66534,7 @@ paths: type: - array - 'null' - items: *230 + items: *231 head: type: object properties: @@ -66571,14 +66572,14 @@ paths: _links: type: object properties: - comments: *352 - commits: *352 - statuses: *352 - html: *352 - issue: *352 - review_comments: *352 - review_comment: *352 - self: *352 + comments: *353 + commits: *353 + statuses: *353 + html: *353 + issue: *353 + review_comments: *353 + review_comment: *353 + self: *353 required: - comments - commits @@ -66589,7 +66590,7 @@ paths: - review_comment - self author_association: *101 - auto_merge: *442 + auto_merge: *443 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -66691,7 +66692,7 @@ paths: - merged_by - review_comments examples: - default: &446 + default: &447 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -67218,8 +67219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *251 - *252 + - *253 - name: sort in: query required: false @@ -67248,9 +67249,9 @@ paths: application/json: schema: type: array - items: *443 + items: *444 examples: - default: &449 + default: &450 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -67327,17 +67328,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *251 - *252 + - *253 - *113 responses: '200': description: Response content: application/json: - schema: *443 + schema: *444 examples: - default: &444 + default: &445 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -67412,8 +67413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *251 - *252 + - *253 - *113 requestBody: required: true @@ -67436,9 +67437,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: - default: *444 + default: *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67454,8 +67455,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *251 - *252 + - *253 - *113 responses: '204': @@ -67477,8 +67478,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *251 - *252 + - *253 - *113 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#about-reactions). @@ -67505,9 +67506,9 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: - default: *242 + default: *243 headers: Link: *6 '404': *34 @@ -67528,8 +67529,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *251 - *252 + - *253 - *113 requestBody: required: true @@ -67562,16 +67563,16 @@ paths: description: Reaction exists content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 '201': description: Reaction created content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 '422': *29 x-github: githubCloudOnly: false @@ -67593,10 +67594,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *251 - *252 + - *253 - *113 - - *243 + - *244 responses: '204': description: Response @@ -67639,9 +67640,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#get-a-pull-request parameters: - - *251 - *252 - - &447 + - *253 + - &448 name: pull_number description: The number that identifies the pull request. in: path @@ -67654,9 +67655,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *445 + schema: *446 examples: - default: *446 + default: *447 '304': *37 '404': *34 '406': @@ -67664,7 +67665,7 @@ paths: content: application/json: schema: *27 - '500': *206 + '500': *207 '503': *99 x-github: githubCloudOnly: false @@ -67691,9 +67692,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#update-a-pull-request parameters: - - *251 - *252 - - *447 + - *253 + - *448 requestBody: required: false content: @@ -67735,9 +67736,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *446 examples: - default: *446 + default: *447 '422': *29 '403': *38 x-github: @@ -67765,10 +67766,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *251 - *252 - - *447 + - *253 - *448 + - *449 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -67788,9 +67789,9 @@ paths: application/json: schema: type: array - items: *443 + items: *444 examples: - default: *449 + default: *450 headers: Link: *6 x-github: @@ -67823,9 +67824,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *251 - *252 - - *447 + - *253 + - *448 requestBody: required: true content: @@ -67931,7 +67932,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: example-for-a-multi-line-comment: value: @@ -68019,9 +68020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *251 - *252 - - *447 + - *253 + - *448 - *113 requestBody: required: true @@ -68044,7 +68045,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: default: value: @@ -68130,9 +68131,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *251 - *252 - - *447 + - *253 + - *448 - *4 - *5 responses: @@ -68142,9 +68143,9 @@ paths: application/json: schema: type: array - items: *347 + items: *348 examples: - default: *450 + default: *451 headers: Link: *6 x-github: @@ -68174,9 +68175,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#list-pull-requests-files parameters: - - *251 - *252 - - *447 + - *253 + - *448 - *4 - *5 responses: @@ -68186,7 +68187,7 @@ paths: application/json: schema: type: array - items: *357 + items: *358 examples: default: value: @@ -68204,7 +68205,7 @@ paths: headers: Link: *6 '422': *29 - '500': *206 + '500': *207 '503': *99 x-github: githubCloudOnly: false @@ -68224,9 +68225,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *251 - *252 - - *447 + - *253 + - *448 responses: '204': description: Response if pull request has been merged @@ -68249,9 +68250,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#merge-a-pull-request parameters: - - *251 - *252 - - *447 + - *253 + - *448 requestBody: required: false content: @@ -68363,9 +68364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *251 - *252 - - *447 + - *253 + - *448 responses: '200': description: Response @@ -68381,7 +68382,7 @@ paths: items: *17 teams: type: array - items: *253 + items: *254 required: - users - teams @@ -68440,9 +68441,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *251 - *252 - - *447 + - *253 + - *448 requestBody: required: false content: @@ -68479,7 +68480,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: default: value: @@ -69015,9 +69016,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *251 - *252 - - *447 + - *253 + - *448 requestBody: required: true content: @@ -69051,7 +69052,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: default: value: @@ -69556,9 +69557,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *251 - *252 - - *447 + - *253 + - *448 - *4 - *5 responses: @@ -69568,7 +69569,7 @@ paths: application/json: schema: type: array - items: &451 + items: &452 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -69724,9 +69725,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *251 - *252 - - *447 + - *253 + - *448 requestBody: required: false content: @@ -69816,9 +69817,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: - default: &453 + default: &454 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -69881,10 +69882,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *251 - *252 - - *447 - - &452 + - *253 + - *448 + - &453 name: review_id description: The unique identifier of the review. in: path @@ -69896,9 +69897,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: - default: &454 + default: &455 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -69957,10 +69958,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *251 - *252 - - *447 - - *452 + - *253 + - *448 + - *453 requestBody: required: true content: @@ -69983,7 +69984,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: default: value: @@ -70045,18 +70046,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *251 - *252 - - *447 - - *452 + - *253 + - *448 + - *453 responses: '200': description: Response content: application/json: - schema: *451 + schema: *452 examples: - default: *453 + default: *454 '422': *79 '404': *34 x-github: @@ -70083,10 +70084,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *251 - *252 - - *447 - - *452 + - *253 + - *448 + - *453 - *4 - *5 responses: @@ -70184,9 +70185,9 @@ paths: _links: type: object properties: - self: *352 - html: *352 - pull_request: *352 + self: *353 + html: *353 + pull_request: *353 required: - self - html @@ -70337,10 +70338,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *251 - *252 - - *447 - - *452 + - *253 + - *448 + - *453 requestBody: required: true content: @@ -70369,7 +70370,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: default: value: @@ -70432,10 +70433,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *251 - *252 - - *447 - - *452 + - *253 + - *448 + - *453 requestBody: required: true content: @@ -70470,9 +70471,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: - default: *454 + default: *455 '404': *34 '422': *79 '403': *38 @@ -70494,9 +70495,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *251 - *252 - - *447 + - *253 + - *448 requestBody: required: false content: @@ -70560,8 +70561,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/contents#get-a-repository-readme parameters: - - *251 - *252 + - *253 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -70574,9 +70575,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: &456 + default: &457 value: type: file encoding: base64 @@ -70618,8 +70619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *251 - *252 + - *253 - name: dir description: The alternate path to look for a README file in: path @@ -70639,9 +70640,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: *456 + default: *457 '404': *34 '422': *29 x-github: @@ -70663,8 +70664,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/releases#list-releases parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -70674,7 +70675,7 @@ paths: application/json: schema: type: array - items: &457 + items: &458 title: Release description: A release. type: object @@ -70746,7 +70747,7 @@ paths: author: *17 assets: type: array - items: &458 + items: &459 title: Release Asset description: Data related to a release. type: object @@ -70922,8 +70923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/releases#create-a-release parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -70993,9 +70994,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: &462 + default: &463 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -71093,9 +71094,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/assets#get-a-release-asset parameters: - - *251 - *252 - - &460 + - *253 + - &461 name: asset_id description: The unique identifier of the asset. in: path @@ -71107,9 +71108,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: - default: &461 + default: &462 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -71143,7 +71144,7 @@ paths: type: User site_admin: false '404': *34 - '302': *459 + '302': *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71159,9 +71160,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/assets#update-a-release-asset parameters: - - *251 - *252 - - *460 + - *253 + - *461 requestBody: required: false content: @@ -71190,9 +71191,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: - default: *461 + default: *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71208,9 +71209,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/assets#delete-a-release-asset parameters: - - *251 - *252 - - *460 + - *253 + - *461 responses: '204': description: Response @@ -71234,8 +71235,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -71321,16 +71322,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/releases#get-the-latest-release parameters: - - *251 - *252 + - *253 responses: '200': description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: *462 + default: *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71347,8 +71348,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/releases#get-a-release-by-tag-name parameters: - - *251 - *252 + - *253 - name: tag description: tag parameter in: path @@ -71361,9 +71362,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: *462 + default: *463 '404': *34 x-github: githubCloudOnly: false @@ -71385,9 +71386,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/releases#get-a-release parameters: - - *251 - *252 - - &463 + - *253 + - &464 name: release_id description: The unique identifier of the release. in: path @@ -71401,9 +71402,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *457 + schema: *458 examples: - default: *462 + default: *463 '401': description: Unauthorized x-github: @@ -71421,9 +71422,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/releases#update-a-release parameters: - - *251 - *252 - - *463 + - *253 + - *464 requestBody: required: false content: @@ -71480,9 +71481,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: *462 + default: *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71498,9 +71499,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/releases#delete-a-release parameters: - - *251 - *252 - - *463 + - *253 + - *464 responses: '204': description: Response @@ -71520,9 +71521,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/assets#list-release-assets parameters: - - *251 - *252 - - *463 + - *253 + - *464 - *4 - *5 responses: @@ -71532,7 +71533,7 @@ paths: application/json: schema: type: array - items: *458 + items: *459 examples: default: value: @@ -71613,9 +71614,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *251 - *252 - - *463 + - *253 + - *464 - name: name in: query required: true @@ -71641,7 +71642,7 @@ paths: description: Response for successful upload content: application/json: - schema: *458 + schema: *459 examples: response-for-successful-upload: value: @@ -71695,9 +71696,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *251 - *252 - - *463 + - *253 + - *464 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -71721,9 +71722,9 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: - default: *242 + default: *243 headers: Link: *6 '404': *34 @@ -71744,9 +71745,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *251 - *252 - - *463 + - *253 + - *464 requestBody: required: true content: @@ -71776,16 +71777,16 @@ paths: description: Reaction exists content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 '201': description: Reaction created content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 '422': *29 x-github: githubCloudOnly: false @@ -71807,10 +71808,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#delete-a-release-reaction parameters: - - *251 - *252 - - *463 - - *243 + - *253 + - *464 + - *244 responses: '204': description: Response @@ -71830,8 +71831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#list-repository-cache-replication-status parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -71907,17 +71908,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *251 - *252 - - *220 + - *253 - *221 - *222 - *223 + - *224 - *9 - *5 - *4 - - *464 - *465 + - *466 responses: '200': description: Response @@ -71925,7 +71926,7 @@ paths: application/json: schema: type: array - items: &468 + items: &469 type: object properties: number: *89 @@ -71941,8 +71942,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *466 - resolution: *467 + state: *467 + resolution: *468 resolved_at: type: - string @@ -72083,15 +72084,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *251 - *252 - - *336 + - *253 + - *337 responses: '200': description: Response content: application/json: - schema: *468 + schema: *469 examples: default: value: @@ -72130,9 +72131,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *251 - *252 - - *336 + - *253 + - *337 requestBody: required: true content: @@ -72140,8 +72141,8 @@ paths: schema: type: object properties: - state: *466 - resolution: *467 + state: *467 + resolution: *468 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -72160,7 +72161,7 @@ paths: description: Response content: application/json: - schema: *468 + schema: *469 examples: default: value: @@ -72226,9 +72227,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *251 - *252 - - *336 + - *253 + - *337 - *5 - *4 responses: @@ -72239,7 +72240,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &592 + items: &593 type: object properties: type: @@ -72561,8 +72562,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/starring#list-stargazers parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -72655,8 +72656,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *251 - *252 + - *253 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -72665,7 +72666,7 @@ paths: application/json: schema: type: array - items: &469 + items: &470 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -72678,7 +72679,7 @@ paths: - 1124 - -435 '202': *131 - '204': *214 + '204': *215 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72696,8 +72697,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *251 - *252 + - *253 responses: '200': description: Response @@ -72748,7 +72749,7 @@ paths: total: 89 week: 1336280400 '202': *131 - '204': *214 + '204': *215 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72772,8 +72773,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *251 - *252 + - *253 responses: '200': description: Response @@ -72845,7 +72846,7 @@ paths: d: 77 c: 10 '202': *131 - '204': *214 + '204': *215 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72867,8 +72868,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *251 - *252 + - *253 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -73022,8 +73023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *251 - *252 + - *253 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -73033,7 +73034,7 @@ paths: application/json: schema: type: array - items: *469 + items: *470 examples: default: value: @@ -73046,7 +73047,7 @@ paths: - - 0 - 2 - 21 - '204': *214 + '204': *215 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73066,8 +73067,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/statuses#create-a-commit-status parameters: - - *251 - *252 + - *253 - name: sha in: path required: true @@ -73123,7 +73124,7 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: default: value: @@ -73177,8 +73178,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/watching#list-watchers parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -73190,7 +73191,7 @@ paths: type: array items: *17 examples: - default: *199 + default: *200 headers: Link: *6 x-github: @@ -73210,14 +73211,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/watching#get-a-repository-subscription parameters: - - *251 - *252 + - *253 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &471 + schema: &472 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -73290,8 +73291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/watching#set-a-repository-subscription parameters: - - *251 - *252 + - *253 requestBody: required: false content: @@ -73317,7 +73318,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: default: value: @@ -73344,8 +73345,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/watching#delete-a-repository-subscription parameters: - - *251 - *252 + - *253 responses: '204': description: Response @@ -73365,8 +73366,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#list-repository-tags parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -73448,8 +73449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *251 - *252 + - *253 responses: '200': description: Response @@ -73457,7 +73458,7 @@ paths: application/json: schema: type: array - items: &472 + items: &473 title: Tag protection description: Tag protection type: object @@ -73514,8 +73515,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -73538,7 +73539,7 @@ paths: description: Response content: application/json: - schema: *472 + schema: *473 examples: default: value: @@ -73569,8 +73570,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *251 - *252 + - *253 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -73607,8 +73608,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *251 - *252 + - *253 - name: ref in: path required: true @@ -73644,8 +73645,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#list-repository-teams parameters: - - *251 - *252 + - *253 - *4 - *5 responses: @@ -73655,9 +73656,9 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: *231 + default: *232 headers: Link: *6 '404': *34 @@ -73677,8 +73678,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#get-all-repository-topics parameters: - - *251 - *252 + - *253 - *5 - *4 responses: @@ -73686,7 +73687,7 @@ paths: description: Response content: application/json: - schema: &473 + schema: &474 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -73698,7 +73699,7 @@ paths: required: - names examples: - default: &474 + default: &475 value: names: - octocat @@ -73721,8 +73722,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#replace-all-repository-topics parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -73753,9 +73754,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *474 examples: - default: *474 + default: *475 '404': *34 '422': *79 x-github: @@ -73778,8 +73779,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#transfer-a-repository parameters: - - *251 - *252 + - *253 requestBody: required: true content: @@ -74053,8 +74054,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *251 - *252 + - *253 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -74077,8 +74078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#enable-vulnerability-alerts parameters: - - *251 - *252 + - *253 responses: '204': description: Response @@ -74100,8 +74101,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#disable-vulnerability-alerts parameters: - - *251 - *252 + - *253 responses: '204': description: Response @@ -74127,8 +74128,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *251 - *252 + - *253 - name: ref in: path required: true @@ -74220,9 +74221,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: *264 + default: *265 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -74397,7 +74398,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &482 + - &483 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -74407,7 +74408,7 @@ paths: type: string examples: - members - - &487 + - &488 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -74419,7 +74420,7 @@ paths: format: int32 examples: - 1 - - &488 + - &489 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -74463,7 +74464,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &476 + items: &477 allOf: - type: object required: @@ -74545,7 +74546,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &489 + meta: &490 type: object description: The metadata associated with the creation/updates to the user. @@ -74610,31 +74611,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &477 + '400': &478 description: Bad request content: application/json: - schema: *475 + schema: *476 application/scim+json: - schema: *475 - '401': &478 + schema: *476 + '401': &479 description: Authorization failure - '403': &479 + '403': &480 description: Permission denied - '429': &480 + '429': &481 description: Too many requests content: application/json: - schema: *475 + schema: *476 application/scim+json: - schema: *475 - '500': &481 + schema: *476 + '500': &482 description: Internal server error content: application/json: - schema: *475 + schema: *476 application/scim+json: - schema: *475 + schema: *476 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -74661,7 +74662,7 @@ paths: required: true content: application/json: - schema: &485 + schema: &486 type: object required: - schemas @@ -74721,9 +74722,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *476 + schema: *477 examples: - group: &483 + group: &484 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -74742,13 +74743,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *477 - '401': *478 - '403': *479 - '409': &486 + '400': *478 + '401': *479 + '403': *480 + '409': &487 description: Duplicate record detected - '429': *480 - '500': *481 + '429': *481 + '500': *482 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -74769,7 +74770,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &484 + - &485 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -74778,22 +74779,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *482 + - *483 - *60 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *476 + schema: *477 examples: - default: *483 - '400': *477 - '401': *478 - '403': *479 + default: *484 + '400': *478 + '401': *479 + '403': *480 '404': *34 - '429': *480 - '500': *481 + '429': *481 + '500': *482 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -74815,13 +74816,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *484 + - *485 - *60 requestBody: required: true content: application/json: - schema: *485 + schema: *486 examples: group: summary: Group @@ -74847,17 +74848,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *476 + schema: *477 examples: - group: *483 - groupWithMembers: *483 - '400': *477 - '401': *478 - '403': *479 + group: *484 + groupWithMembers: *484 + '400': *478 + '401': *479 + '403': *480 '404': *34 - '409': *486 - '429': *480 - '500': *481 + '409': *487 + '429': *481 + '500': *482 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -74881,13 +74882,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *484 + - *485 - *60 requestBody: required: true content: application/json: - schema: &496 + schema: &497 type: object required: - Operations @@ -74947,17 +74948,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *476 + schema: *477 examples: - updateGroup: *483 - addMembers: *483 - '400': *477 - '401': *478 - '403': *479 + updateGroup: *484 + addMembers: *484 + '400': *478 + '401': *479 + '403': *480 '404': *34 - '409': *486 - '429': *480 - '500': *481 + '409': *487 + '429': *481 + '500': *482 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -74977,17 +74978,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *484 + - *485 - *60 responses: '204': description: Group was deleted, no content - '400': *477 - '401': *478 - '403': *479 + '400': *478 + '401': *479 + '403': *480 '404': *34 - '429': *480 - '500': *481 + '429': *481 + '500': *482 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -75024,8 +75025,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *487 - *488 + - *489 - *60 responses: '200': @@ -75059,7 +75060,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &491 + items: &492 allOf: - type: object required: @@ -75151,7 +75152,7 @@ paths: address. examples: - true - roles: &490 + roles: &491 type: array description: The roles assigned to the user. items: @@ -75210,7 +75211,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *489 + meta: *490 startIndex: type: integer description: A starting index for the returned page @@ -75249,11 +75250,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *477 - '401': *478 - '403': *479 - '429': *480 - '500': *481 + '400': *478 + '401': *479 + '403': *480 + '429': *481 + '500': *482 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -75282,7 +75283,7 @@ paths: required: true content: application/json: - schema: &494 + schema: &495 type: object required: - schemas @@ -75375,9 +75376,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *490 + roles: *491 examples: - user: &495 + user: &496 summary: User value: schemas: @@ -75424,9 +75425,9 @@ paths: description: User has been created content: application/scim+json: - schema: *491 + schema: *492 examples: - user: &492 + user: &493 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -75452,13 +75453,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *492 - '400': *477 - '401': *478 - '403': *479 - '409': *486 - '429': *480 - '500': *481 + enterpriseOwner: *493 + '400': *478 + '401': *479 + '403': *480 + '409': *487 + '429': *481 + '500': *482 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -75479,7 +75480,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &493 + - &494 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -75492,15 +75493,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *491 + schema: *492 examples: - default: *492 - '400': *477 - '401': *478 - '403': *479 + default: *493 + '400': *478 + '401': *479 + '403': *480 '404': *34 - '429': *480 - '500': *481 + '429': *481 + '500': *482 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -75525,30 +75526,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *493 + - *494 - *60 requestBody: required: true content: application/json: - schema: *494 + schema: *495 examples: - user: *495 + user: *496 responses: '200': description: User was updated content: application/scim+json: - schema: *491 + schema: *492 examples: - user: *492 - '400': *477 - '401': *478 - '403': *479 + user: *493 + '400': *478 + '401': *479 + '403': *480 '404': *34 - '409': *486 - '429': *480 - '500': *481 + '409': *487 + '429': *481 + '500': *482 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -75586,13 +75587,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *493 + - *494 - *60 requestBody: required: true content: application/json: - schema: *496 + schema: *497 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -75632,18 +75633,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *491 - examples: - userMultiValuedProperties: *492 - userSingleValuedProperties: *492 - disableUser: *492 - '400': *477 - '401': *478 - '403': *479 + schema: *492 + examples: + userMultiValuedProperties: *493 + userSingleValuedProperties: *493 + disableUser: *493 + '400': *478 + '401': *479 + '403': *480 '404': *34 - '409': *486 - '429': *480 - '500': *481 + '409': *487 + '429': *481 + '500': *482 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -75663,17 +75664,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *493 + - *494 - *60 responses: '204': description: User was deleted, no content - '400': *477 - '401': *478 - '403': *479 + '400': *478 + '401': *479 + '403': *480 '404': *34 - '429': *480 - '500': *481 + '429': *481 + '500': *482 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -75801,7 +75802,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &497 + text_matches: &498 title: Search Result Text Matches type: array items: @@ -75965,7 +75966,7 @@ paths: enum: - author-date - committer-date - - &498 + - &499 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -76034,7 +76035,7 @@ paths: committer: anyOf: - type: 'null' - - *307 + - *308 comment_count: type: integer message: @@ -76053,7 +76054,7 @@ paths: url: type: string format: uri - verification: *393 + verification: *394 required: - author - committer @@ -76068,7 +76069,7 @@ paths: committer: anyOf: - type: 'null' - - *307 + - *308 parents: type: array items: @@ -76085,7 +76086,7 @@ paths: type: number node_id: type: string - text_matches: *497 + text_matches: *498 required: - sha - node_id @@ -76278,7 +76279,7 @@ paths: - interactions - created - updated - - *498 + - *499 - *4 - *5 responses: @@ -76394,7 +76395,7 @@ paths: milestone: anyOf: - type: 'null' - - *351 + - *352 comments: type: integer created_at: @@ -76408,7 +76409,7 @@ paths: - string - 'null' format: date-time - text_matches: *497 + text_matches: *498 pull_request: type: object properties: @@ -76630,7 +76631,7 @@ paths: enum: - created - updated - - *498 + - *499 - *4 - *5 responses: @@ -76675,7 +76676,7 @@ paths: - 'null' score: type: number - text_matches: *497 + text_matches: *498 required: - id - node_id @@ -76761,7 +76762,7 @@ paths: - forks - help-wanted-issues - updated - - *498 + - *499 - *4 - *5 responses: @@ -76998,7 +76999,7 @@ paths: - admin - pull - push - text_matches: *497 + text_matches: *498 temp_clone_token: type: string allow_merge_commit: @@ -77307,7 +77308,7 @@ paths: - string - 'null' format: uri - text_matches: *497 + text_matches: *498 related: type: - array @@ -77502,7 +77503,7 @@ paths: - followers - repositories - joined - - *498 + - *499 - *4 - *5 responses: @@ -77612,7 +77613,7 @@ paths: type: - boolean - 'null' - text_matches: *497 + text_matches: *498 blog: type: - string @@ -77810,7 +77811,7 @@ paths: description: Response content: application/json: - schema: &499 + schema: &500 type: object properties: status: @@ -77830,7 +77831,7 @@ paths: - name - number examples: - default: &500 + default: &501 value: status: scheduled scheduled_time: Tuesday, January 22 at 15:34 -0800 @@ -77875,9 +77876,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: *500 + default: *501 '401': description: Unauthorized requestBody: @@ -78470,7 +78471,7 @@ paths: application/json: schema: type: array - items: &501 + items: &502 type: object properties: key: @@ -78478,7 +78479,7 @@ paths: pretty-print: type: string examples: - default: &502 + default: &503 value: - key: ssh-rsa AAAAB3NzaC1yc2EAAAAB... pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 @@ -78521,9 +78522,9 @@ paths: application/json: schema: type: array - items: *501 + items: *502 examples: - default: *502 + default: *503 '401': description: Unauthorized requestBody: @@ -78575,9 +78576,9 @@ paths: application/json: schema: type: array - items: *501 + items: *502 examples: - default: *502 + default: *503 '401': description: Unauthorized requestBody: @@ -78734,9 +78735,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *233 examples: - default: *233 + default: *234 '404': *34 x-github: githubCloudOnly: false @@ -78827,16 +78828,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *232 + schema: *233 examples: - default: *233 + default: *234 '201': description: Response content: application/json: - schema: *232 + schema: *233 examples: - default: *233 + default: *234 '404': *34 '422': *29 '403': *38 @@ -78906,9 +78907,9 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: *503 + default: *504 headers: Link: *6 x-github: @@ -78971,9 +78972,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 x-github: triggersNotification: true githubCloudOnly: false @@ -79001,15 +79002,15 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussions#get-a-discussion-legacy parameters: - *7 - - *236 + - *237 responses: '200': description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79035,7 +79036,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussions#update-a-discussion-legacy parameters: - *7 - - *236 + - *237 requestBody: required: false content: @@ -79058,9 +79059,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *504 + default: *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79086,7 +79087,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussions#delete-a-discussion-legacy parameters: - *7 - - *236 + - *237 responses: '204': description: Response @@ -79116,7 +79117,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - *7 - - *236 + - *237 - *9 - *4 - *5 @@ -79127,9 +79128,9 @@ paths: application/json: schema: type: array - items: *237 + items: *238 examples: - default: *505 + default: *506 headers: Link: *6 x-github: @@ -79159,7 +79160,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - *7 - - *236 + - *237 requestBody: required: true content: @@ -79181,9 +79182,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: - default: *238 + default: *239 x-github: triggersNotification: true githubCloudOnly: false @@ -79211,16 +79212,16 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - *7 - - *236 - - *239 + - *237 + - *240 responses: '200': description: Response content: application/json: - schema: *237 + schema: *238 examples: - default: *238 + default: *239 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79246,8 +79247,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - *7 - - *236 - - *239 + - *237 + - *240 requestBody: required: true content: @@ -79269,9 +79270,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: - default: *506 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79297,8 +79298,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - *7 - - *236 - - *239 + - *237 + - *240 responses: '204': description: Response @@ -79328,8 +79329,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - *7 - - *236 - - *239 + - *237 + - *240 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -79355,9 +79356,9 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: - default: *242 + default: *243 headers: Link: *6 x-github: @@ -79387,8 +79388,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - *7 - - *236 - - *239 + - *237 + - *240 requestBody: required: true content: @@ -79420,9 +79421,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79449,7 +79450,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - *7 - - *236 + - *237 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -79475,9 +79476,9 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: - default: *242 + default: *243 headers: Link: *6 x-github: @@ -79507,7 +79508,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - *7 - - *236 + - *237 requestBody: required: true content: @@ -79539,9 +79540,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -79588,7 +79589,7 @@ paths: type: array items: *17 examples: - default: *199 + default: *200 headers: Link: *6 '404': *34 @@ -79737,9 +79738,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *249 examples: - response-if-user-is-a-team-maintainer: *507 + response-if-user-is-a-team-maintainer: *508 '404': *34 x-github: githubCloudOnly: false @@ -79798,9 +79799,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *249 examples: - response-if-users-membership-with-team-is-now-pending: *508 + response-if-users-membership-with-team-is-now-pending: *509 '403': description: Forbidden if team synchronization is set up '422': @@ -79874,9 +79875,9 @@ paths: application/json: schema: type: array - items: *249 + items: *250 examples: - default: *509 + default: *510 headers: Link: *6 '404': *34 @@ -79904,15 +79905,15 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - *7 - - *250 + - *251 responses: '200': description: Response content: application/json: - schema: *249 + schema: *250 examples: - default: *510 + default: *511 '404': description: Not Found if project is not managed by this team x-github: @@ -79938,7 +79939,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - *7 - - *250 + - *251 requestBody: required: false content: @@ -80007,7 +80008,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - *7 - - *250 + - *251 responses: '204': description: Response @@ -80046,7 +80047,7 @@ paths: type: array items: *143 examples: - default: *207 + default: *208 headers: Link: *6 '404': *34 @@ -80077,14 +80078,14 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - *7 - - *251 - *252 + - *253 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *511 + schema: *512 examples: alternative-response-with-extra-repository-information: value: @@ -80236,8 +80237,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - *7 - - *251 - *252 + - *253 requestBody: required: false content: @@ -80288,8 +80289,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - *7 - - *251 - *252 + - *253 responses: '204': description: Response @@ -80324,9 +80325,9 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - response-if-child-teams-exist: *512 + response-if-child-teams-exist: *513 headers: Link: *6 '404': *34 @@ -80359,7 +80360,7 @@ paths: application/json: schema: oneOf: - - &514 + - &515 title: Private User description: Private User type: object @@ -80609,7 +80610,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *513 + - *514 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -80767,7 +80768,7 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: default: value: @@ -80843,9 +80844,9 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: &524 + default: &525 value: - id: 197 name: hello_docker @@ -80932,7 +80933,7 @@ paths: application/json: schema: type: array - items: &515 + items: &516 title: Email description: Email type: object @@ -80962,7 +80963,7 @@ paths: - verified - visibility examples: - default: &526 + default: &527 value: - email: octocat@github.com verified: true @@ -81039,7 +81040,7 @@ paths: application/json: schema: type: array - items: *515 + items: *516 examples: default: value: @@ -81151,7 +81152,7 @@ paths: type: array items: *17 examples: - default: *199 + default: *200 headers: Link: *6 '304': *37 @@ -81184,7 +81185,7 @@ paths: type: array items: *17 examples: - default: *199 + default: *200 headers: Link: *6 '304': *37 @@ -81297,7 +81298,7 @@ paths: application/json: schema: type: array - items: &516 + items: &517 title: GPG Key description: A unique encryption key type: object @@ -81442,7 +81443,7 @@ paths: - subkeys - revoked examples: - default: &536 + default: &537 value: - id: 3 name: Octocat's GPG Key @@ -81527,9 +81528,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: &517 + default: &518 value: id: 3 name: Octocat's GPG Key @@ -81586,7 +81587,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &518 + - &519 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -81598,9 +81599,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: *517 + default: *518 '404': *34 '304': *37 '403': *38 @@ -81623,7 +81624,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *518 + - *519 responses: '204': description: Response @@ -81814,7 +81815,7 @@ paths: type: array items: *80 examples: - default: *519 + default: *520 headers: Link: *6 '404': *34 @@ -81932,7 +81933,7 @@ paths: - closed - all default: open - - *193 + - *194 - name: sort description: What to sort results by. in: query @@ -81957,7 +81958,7 @@ paths: type: array items: *114 examples: - default: *194 + default: *195 headers: Link: *6 '404': *34 @@ -81990,7 +81991,7 @@ paths: application/json: schema: type: array - items: &520 + items: &521 title: Key description: Key type: object @@ -82088,9 +82089,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *521 examples: - default: &521 + default: &522 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -82123,15 +82124,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *425 + - *426 responses: '200': description: Response content: application/json: - schema: *520 + schema: *521 examples: - default: *521 + default: *522 '404': *34 '304': *37 '403': *38 @@ -82154,7 +82155,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *425 + - *426 responses: '204': description: Response @@ -82197,7 +82198,7 @@ paths: application/json: schema: type: array - items: *195 + items: *196 examples: default: value: @@ -82305,7 +82306,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *196 examples: default: value: @@ -82388,7 +82389,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *196 examples: default: value: @@ -82456,7 +82457,7 @@ paths: application/json: schema: type: array - items: *197 + items: *198 examples: default: value: @@ -82718,7 +82719,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *198 examples: default: value: @@ -82911,7 +82912,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/migrations/users#download-a-user-migration-archive parameters: - - *198 + - *199 responses: '302': description: Response @@ -82934,7 +82935,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *198 + - *199 - *4 - *5 responses: @@ -82946,7 +82947,7 @@ paths: type: array items: *143 examples: - default: *207 + default: *208 headers: Link: *6 '404': *34 @@ -82983,7 +82984,7 @@ paths: type: array items: *65 examples: - default: *522 + default: *523 headers: Link: *6 '304': *37 @@ -83025,7 +83026,7 @@ paths: - docker - nuget - container - - *523 + - *524 - *5 - *4 responses: @@ -83035,10 +83036,10 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: *524 - '400': *525 + default: *525 + '400': *526 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -83058,16 +83059,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *202 - *203 + - *204 responses: '200': description: Response content: application/json: - schema: *200 + schema: *201 examples: - default: &537 + default: &538 value: id: 40201 name: octo-name @@ -83180,8 +83181,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *202 - *203 + - *204 responses: '204': description: Response @@ -83211,8 +83212,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *202 - *203 + - *204 - name: token description: package token schema: @@ -83244,8 +83245,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *202 - *203 + - *204 - *5 - *4 - name: state @@ -83265,7 +83266,7 @@ paths: application/json: schema: type: array - items: *204 + items: *205 examples: default: value: @@ -83314,15 +83315,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *202 - *203 - - *205 + - *204 + - *206 responses: '200': description: Response content: application/json: - schema: *204 + schema: *205 examples: default: value: @@ -83358,9 +83359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *202 - *203 - - *205 + - *204 + - *206 responses: '204': description: Response @@ -83390,9 +83391,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *202 - *203 - - *205 + - *204 + - *206 responses: '204': description: Response @@ -83450,7 +83451,7 @@ paths: description: Response content: application/json: - schema: *217 + schema: *218 examples: default: value: @@ -83519,9 +83520,9 @@ paths: application/json: schema: type: array - items: *515 + items: *516 examples: - default: *526 + default: *527 headers: Link: *6 '304': *37 @@ -83634,7 +83635,7 @@ paths: type: array items: *80 examples: - default: &533 + default: &534 summary: Default response value: - id: 1296269 @@ -83950,9 +83951,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: *264 + default: *265 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -83990,9 +83991,9 @@ paths: application/json: schema: type: array - items: *400 + items: *401 examples: - default: *527 + default: *528 headers: Link: *6 '304': *37 @@ -84015,7 +84016,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *401 + - *402 responses: '204': description: Response @@ -84038,7 +84039,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *401 + - *402 responses: '204': description: Response @@ -84071,7 +84072,7 @@ paths: application/json: schema: type: array - items: &528 + items: &529 title: Social account description: Social media account type: object @@ -84088,7 +84089,7 @@ paths: - provider - url examples: - default: &529 + default: &530 value: - provider: twitter url: https://twitter.com/github @@ -84151,9 +84152,9 @@ paths: application/json: schema: type: array - items: *528 + items: *529 examples: - default: *529 + default: *530 '422': *29 '304': *37 '404': *34 @@ -84241,7 +84242,7 @@ paths: application/json: schema: type: array - items: &530 + items: &531 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -84261,7 +84262,7 @@ paths: - title - created_at examples: - default: &538 + default: &539 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -84328,9 +84329,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *531 examples: - default: &531 + default: &532 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -84361,7 +84362,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &532 + - &533 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -84373,9 +84374,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *531 examples: - default: *531 + default: *532 '404': *34 '304': *37 '403': *38 @@ -84398,7 +84399,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *532 + - *533 responses: '204': description: Response @@ -84427,7 +84428,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &539 + - &540 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -84452,11 +84453,11 @@ paths: type: array items: *80 examples: - default-response: *533 + default-response: *534 application/vnd.github.v3.star+json: schema: type: array - items: &540 + items: &541 title: Starred Repository description: Starred Repository type: object @@ -84612,8 +84613,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *251 - *252 + - *253 responses: '204': description: Response if this repository is starred by you @@ -84641,8 +84642,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *251 - *252 + - *253 responses: '204': description: Response @@ -84666,8 +84667,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *251 - *252 + - *253 responses: '204': description: Response @@ -84702,7 +84703,7 @@ paths: type: array items: *143 examples: - default: *207 + default: *208 headers: Link: *6 '304': *37 @@ -84739,7 +84740,7 @@ paths: application/json: schema: type: array - items: *232 + items: *233 examples: default: value: @@ -84826,10 +84827,10 @@ paths: application/json: schema: oneOf: + - *515 - *514 - - *513 examples: - default-response: &534 + default-response: &535 summary: Default response value: login: octocat @@ -84864,7 +84865,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &535 + response-with-git-hub-plan-information: &536 summary: Response with GitHub plan information value: login: octocat @@ -84940,7 +84941,7 @@ paths: type: array items: *17 examples: - default: *199 + default: *200 headers: Link: example: ; rel="next" @@ -84976,11 +84977,11 @@ paths: application/json: schema: oneOf: + - *515 - *514 - - *513 examples: - default-response: *534 - response-with-git-hub-plan-information: *535 + default-response: *535 + response-with-git-hub-plan-information: *536 '404': *34 x-github: githubCloudOnly: false @@ -85009,9 +85010,9 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: *524 + default: *525 '403': *38 '401': *36 x-github: @@ -85294,7 +85295,7 @@ paths: type: array items: *17 examples: - default: *199 + default: *200 headers: Link: *6 x-github: @@ -85325,7 +85326,7 @@ paths: type: array items: *17 examples: - default: *199 + default: *200 headers: Link: *6 x-github: @@ -85415,9 +85416,9 @@ paths: application/json: schema: type: array - items: *516 + items: *517 examples: - default: *536 + default: *537 headers: Link: *6 x-github: @@ -85521,7 +85522,7 @@ paths: application/json: schema: *33 examples: - default: *399 + default: *400 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -85599,7 +85600,7 @@ paths: type: array items: *65 examples: - default: *522 + default: *523 headers: Link: *6 x-github: @@ -85638,7 +85639,7 @@ paths: - docker - nuget - container - - *523 + - *524 - *8 - *5 - *4 @@ -85649,12 +85650,12 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: *524 + default: *525 '403': *38 '401': *36 - '400': *525 + '400': *526 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -85674,17 +85675,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#get-a-package-for-a-user parameters: - - *202 - *203 + - *204 - *8 responses: '200': description: Response content: application/json: - schema: *200 + schema: *201 examples: - default: *537 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -85705,8 +85706,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#delete-a-package-for-a-user parameters: - - *202 - *203 + - *204 - *8 responses: '204': @@ -85739,8 +85740,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#restore-a-package-for-a-user parameters: - - *202 - *203 + - *204 - *8 - name: token description: package token @@ -85773,8 +85774,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *202 - *203 + - *204 - *8 responses: '200': @@ -85783,7 +85784,7 @@ paths: application/json: schema: type: array - items: *204 + items: *205 examples: default: value: @@ -85841,16 +85842,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *202 - *203 - - *205 + - *204 + - *206 - *8 responses: '200': description: Response content: application/json: - schema: *204 + schema: *205 examples: default: value: @@ -85885,10 +85886,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#delete-package-version-for-a-user parameters: - - *202 - *203 + - *204 - *8 - - *205 + - *206 responses: '204': description: Response @@ -85920,10 +85921,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/packages/packages#restore-package-version-for-a-user parameters: - - *202 - *203 + - *204 - *8 - - *205 + - *206 responses: '204': description: Response @@ -85967,7 +85968,7 @@ paths: application/json: schema: type: array - items: *217 + items: *218 examples: default: value: @@ -86247,7 +86248,7 @@ paths: type: array items: *143 examples: - default: *207 + default: *208 headers: Link: *6 x-github: @@ -86317,9 +86318,9 @@ paths: application/json: schema: type: array - items: *528 + items: *529 examples: - default: *529 + default: *530 headers: Link: *6 x-github: @@ -86349,9 +86350,9 @@ paths: application/json: schema: type: array - items: *530 + items: *531 examples: - default: *538 + default: *539 headers: Link: *6 x-github: @@ -86376,7 +86377,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *8 - - *539 + - *540 - *9 - *4 - *5 @@ -86388,11 +86389,11 @@ paths: schema: anyOf: - type: array - items: *540 + items: *541 - type: array items: *80 examples: - default-response: *533 + default-response: *534 headers: Link: *6 x-github: @@ -86423,7 +86424,7 @@ paths: type: array items: *143 examples: - default: *207 + default: *208 headers: Link: *6 x-github: @@ -86612,7 +86613,7 @@ webhooks: type: string enum: - created - enterprise: &541 + enterprise: &542 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -86681,7 +86682,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &542 + installation: &543 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -86702,7 +86703,7 @@ webhooks: required: - id - node_id - organization: &543 + organization: &544 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -86775,7 +86776,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &544 + repository: &545 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -87605,7 +87606,7 @@ webhooks: - watchers_count - created_at - updated_at - rule: &545 + rule: &546 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-server@3.10/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -87822,11 +87823,11 @@ webhooks: type: string enum: - deleted - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 - rule: *545 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 + rule: *546 sender: *17 required: - action @@ -88004,11 +88005,11 @@ webhooks: - everyone required: - from - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 - rule: *545 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 + rule: *546 sender: *17 required: - action @@ -88093,12 +88094,12 @@ webhooks: type: string cache_location: type: string - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 ref: type: string - repository: *544 + repository: *545 sender: *17 required: - cache_location @@ -88192,7 +88193,7 @@ webhooks: type: string enum: - completed - check_run: &547 + check_run: &548 title: CheckRun description: A check performed on the code of a given code change type: object @@ -88260,7 +88261,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *320 + items: *321 repository: *143 status: type: string @@ -88305,7 +88306,7 @@ webhooks: - examples: - neutral - deployment: *546 + deployment: *547 details_url: type: string examples: @@ -88365,7 +88366,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *320 + items: *321 started_at: type: string format: date-time @@ -88403,9 +88404,9 @@ webhooks: - output - app - pull_requests - installation: *542 - organization: *543 - repository: *544 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - check_run @@ -88808,10 +88809,10 @@ webhooks: type: string enum: - created - check_run: *547 - installation: *542 - organization: *543 - repository: *544 + check_run: *548 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - check_run @@ -89217,10 +89218,10 @@ webhooks: type: string enum: - requested_action - check_run: *547 - installation: *542 - organization: *543 - repository: *544 + check_run: *548 + installation: *543 + organization: *544 + repository: *545 requested_action: description: The action requested by the user. type: object @@ -89635,10 +89636,10 @@ webhooks: type: string enum: - rerequested - check_run: *547 - installation: *542 - organization: *543 - repository: *544 + check_run: *548 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - check_run @@ -90640,10 +90641,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -91338,10 +91339,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -92030,10 +92031,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -92209,7 +92210,7 @@ webhooks: required: - login - id - dismissed_comment: *332 + dismissed_comment: *333 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -92361,20 +92362,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &548 + commit_oid: &549 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *541 - installation: *542 - organization: *543 - ref: &549 + enterprise: *542 + installation: *543 + organization: *544 + ref: &550 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *544 + repository: *545 sender: *17 required: - action @@ -92548,7 +92549,7 @@ webhooks: required: - login - id - dismissed_comment: *332 + dismissed_comment: *333 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -92718,12 +92719,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *548 - enterprise: *541 - installation: *542 - organization: *543 - ref: *549 - repository: *544 + commit_oid: *549 + enterprise: *542 + installation: *543 + organization: *544 + ref: *550 + repository: *545 sender: *17 required: - action @@ -92831,7 +92832,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *332 + dismissed_comment: *333 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -93010,12 +93011,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *548 - enterprise: *541 - installation: *542 - organization: *543 - ref: *549 - repository: *544 + commit_oid: *549 + enterprise: *542 + installation: *543 + organization: *544 + ref: *550 + repository: *545 sender: *17 required: - action @@ -93191,7 +93192,7 @@ webhooks: required: - login - id - dismissed_comment: *332 + dismissed_comment: *333 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -93368,12 +93369,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *548 - enterprise: *541 - installation: *542 - organization: *543 - ref: *549 - repository: *544 + commit_oid: *549 + enterprise: *542 + installation: *543 + organization: *544 + ref: *550 + repository: *545 sender: *17 required: - action @@ -93483,7 +93484,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *332 + dismissed_comment: *333 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -93663,9 +93664,9 @@ webhooks: type: - string - 'null' - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -93673,7 +93674,7 @@ webhooks: type: - string - 'null' - repository: *544 + repository: *545 sender: *17 required: - action @@ -93779,7 +93780,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *332 + dismissed_comment: *333 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -93926,12 +93927,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *548 - enterprise: *541 - installation: *542 - organization: *543 - ref: *549 - repository: *544 + commit_oid: *549 + enterprise: *542 + installation: *543 + organization: *544 + ref: *550 + repository: *545 sender: *17 required: - action @@ -94203,10 +94204,10 @@ webhooks: - updated_at - author_association - body - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -94297,18 +94298,18 @@ webhooks: type: - string - 'null' - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *543 - pusher_type: &550 + organization: *544 + pusher_type: &551 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &551 + ref: &552 description: The [`git ref`](https://docs.github.com/enterprise-server@3.10/rest/git/refs#get-a-reference) resource. type: string @@ -94318,7 +94319,7 @@ webhooks: enum: - tag - branch - repository: *544 + repository: *545 sender: *17 required: - ref @@ -94407,18 +94408,18 @@ webhooks: title: delete event type: object properties: - enterprise: *541 - installation: *542 - organization: *543 - pusher_type: *550 - ref: *551 + enterprise: *542 + installation: *543 + organization: *544 + pusher_type: *551 + ref: *552 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *544 + repository: *545 sender: *17 required: - ref @@ -94513,11 +94514,11 @@ webhooks: type: string enum: - created - alert: *362 - installation: *542 - organization: *543 - enterprise: *541 - repository: *544 + alert: *363 + installation: *543 + organization: *544 + enterprise: *542 + repository: *545 sender: *17 required: - action @@ -94609,11 +94610,11 @@ webhooks: type: string enum: - dismissed - alert: *362 - installation: *542 - organization: *543 - enterprise: *541 - repository: *544 + alert: *363 + installation: *543 + organization: *544 + enterprise: *542 + repository: *545 sender: *17 required: - action @@ -94705,11 +94706,11 @@ webhooks: type: string enum: - fixed - alert: *362 - installation: *542 - organization: *543 - enterprise: *541 - repository: *544 + alert: *363 + installation: *543 + organization: *544 + enterprise: *542 + repository: *545 sender: *17 required: - action @@ -94802,11 +94803,11 @@ webhooks: type: string enum: - reintroduced - alert: *362 - installation: *542 - organization: *543 - enterprise: *541 - repository: *544 + alert: *363 + installation: *543 + organization: *544 + enterprise: *542 + repository: *545 sender: *17 required: - action @@ -94898,11 +94899,11 @@ webhooks: type: string enum: - reopened - alert: *362 - installation: *542 - organization: *543 - enterprise: *541 - repository: *544 + alert: *363 + installation: *543 + organization: *544 + enterprise: *542 + repository: *545 sender: *17 required: - action @@ -94989,9 +94990,9 @@ webhooks: type: string enum: - created - enterprise: *541 - installation: *542 - key: &552 + enterprise: *542 + installation: *543 + key: &553 description: The [`deploy key`](https://docs.github.com/enterprise-server@3.10/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -95027,8 +95028,8 @@ webhooks: - verified - created_at - read_only - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 required: - action @@ -95115,11 +95116,11 @@ webhooks: type: string enum: - deleted - enterprise: *541 - installation: *542 - key: *552 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + key: *553 + organization: *544 + repository: *545 sender: *17 required: - action @@ -95701,12 +95702,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 - workflow: &556 + workflow: &557 title: Workflow type: - object @@ -96454,13 +96455,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *368 + deployment: *369 pull_requests: type: array - items: *445 - repository: *544 - organization: *543 - installation: *542 + items: *446 + repository: *545 + organization: *544 + installation: *543 sender: *17 responses: '200': @@ -96541,7 +96542,7 @@ webhooks: type: string enum: - approved - approver: &553 + approver: &554 type: object properties: avatar_url: @@ -96584,11 +96585,11 @@ webhooks: type: string comment: type: string - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 - reviewers: &554 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 + reviewers: &555 type: array items: type: object @@ -96669,7 +96670,7 @@ webhooks: sender: *17 since: type: string - workflow_job_run: &555 + workflow_job_run: &556 type: object properties: conclusion: @@ -97425,18 +97426,18 @@ webhooks: type: string enum: - rejected - approver: *553 + approver: *554 comment: type: string - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 - reviewers: *554 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 + reviewers: *555 sender: *17 since: type: string - workflow_job_run: *555 + workflow_job_run: *556 workflow_job_runs: type: array items: @@ -98163,13 +98164,13 @@ webhooks: type: string enum: - requested - enterprise: *541 + enterprise: *542 environment: type: string - installation: *542 - organization: *543 - repository: *544 - requestor: &561 + installation: *543 + organization: *544 + repository: *545 + requestor: &562 title: User type: - object @@ -100122,12 +100123,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 - workflow: *556 + workflow: *557 workflow_run: title: Deployment Workflow Run type: @@ -100828,7 +100829,7 @@ webhooks: type: string enum: - answered - answer: &559 + answer: &560 type: object properties: author_association: @@ -100988,7 +100989,7 @@ webhooks: - created_at - updated_at - body - discussion: &557 + discussion: &558 title: Discussion description: A Discussion in a repository. type: object @@ -101284,7 +101285,7 @@ webhooks: - id labels: type: array - items: *408 + items: *409 required: - repository_url - category @@ -101306,10 +101307,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -101446,11 +101447,11 @@ webhooks: - from required: - category - discussion: *557 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + discussion: *558 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -101543,11 +101544,11 @@ webhooks: type: string enum: - closed - discussion: *557 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + discussion: *558 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -101639,7 +101640,7 @@ webhooks: type: string enum: - created - comment: &558 + comment: &559 type: object properties: author_association: @@ -101799,11 +101800,11 @@ webhooks: - updated_at - body - reactions - discussion: *557 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + discussion: *558 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -101896,12 +101897,12 @@ webhooks: type: string enum: - deleted - comment: *558 - discussion: *557 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + comment: *559 + discussion: *558 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -102006,12 +102007,12 @@ webhooks: - from required: - body - comment: *558 - discussion: *557 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + comment: *559 + discussion: *558 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -102105,11 +102106,11 @@ webhooks: type: string enum: - created - discussion: *557 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + discussion: *558 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -102201,11 +102202,11 @@ webhooks: type: string enum: - deleted - discussion: *557 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + discussion: *558 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -102315,11 +102316,11 @@ webhooks: type: string required: - from - discussion: *557 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + discussion: *558 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -102411,10 +102412,10 @@ webhooks: type: string enum: - labeled - discussion: *557 - enterprise: *541 - installation: *542 - label: &560 + discussion: *558 + enterprise: *542 + installation: *543 + label: &561 title: Label type: object properties: @@ -102447,8 +102448,8 @@ webhooks: - color - default - description - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 required: - action @@ -102541,11 +102542,11 @@ webhooks: type: string enum: - locked - discussion: *557 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + discussion: *558 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -102637,11 +102638,11 @@ webhooks: type: string enum: - pinned - discussion: *557 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + discussion: *558 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -102733,11 +102734,11 @@ webhooks: type: string enum: - reopened - discussion: *557 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + discussion: *558 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -102832,16 +102833,16 @@ webhooks: changes: type: object properties: - new_discussion: *557 - new_repository: *544 + new_discussion: *558 + new_repository: *545 required: - new_discussion - new_repository - discussion: *557 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + discussion: *558 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -102934,10 +102935,10 @@ webhooks: type: string enum: - unanswered - discussion: *557 - old_answer: *559 - organization: *543 - repository: *544 + discussion: *558 + old_answer: *560 + organization: *544 + repository: *545 sender: *17 required: - action @@ -103029,12 +103030,12 @@ webhooks: type: string enum: - unlabeled - discussion: *557 - enterprise: *541 - installation: *542 - label: *560 - organization: *543 - repository: *544 + discussion: *558 + enterprise: *542 + installation: *543 + label: *561 + organization: *544 + repository: *545 sender: *17 required: - action @@ -103127,11 +103128,11 @@ webhooks: type: string enum: - unlocked - discussion: *557 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + discussion: *558 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -103223,11 +103224,11 @@ webhooks: type: string enum: - unpinned - discussion: *557 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + discussion: *558 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -103468,7 +103469,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *541 + enterprise: *542 forkee: description: The created [`repository`](https://docs.github.com/enterprise-server@3.10/rest/repos/repos#get-a-repository) resource. @@ -104146,9 +104147,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *542 - organization: *543 - repository: *544 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - forkee @@ -104314,9 +104315,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 pages: description: The pages that were updated. type: array @@ -104354,7 +104355,7 @@ webhooks: - action - sha - html_url - repository: *544 + repository: *545 sender: *17 required: - pages @@ -104440,10 +104441,10 @@ webhooks: type: string enum: - created - enterprise: *541 + enterprise: *542 installation: *33 - organization: *543 - repositories: &562 + organization: *544 + repositories: &563 description: An array of repository objects that the installation can access. type: array @@ -104469,8 +104470,8 @@ webhooks: - name - full_name - private - repository: *544 - requester: *561 + repository: *545 + requester: *562 sender: *17 required: - action @@ -104555,11 +104556,11 @@ webhooks: type: string enum: - deleted - enterprise: *541 + enterprise: *542 installation: *33 - organization: *543 - repositories: *562 - repository: *544 + organization: *544 + repositories: *563 + repository: *545 requester: type: - 'null' @@ -104646,11 +104647,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *541 + enterprise: *542 installation: *33 - organization: *543 - repositories: *562 - repository: *544 + organization: *544 + repositories: *563 + repository: *545 requester: type: - 'null' @@ -104737,10 +104738,10 @@ webhooks: type: string enum: - added - enterprise: *541 + enterprise: *542 installation: *33 - organization: *543 - repositories_added: &563 + organization: *544 + repositories_added: &564 description: An array of repository objects, which were added to the installation. type: array @@ -104786,15 +104787,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *544 - repository_selection: &564 + repository: *545 + repository_selection: &565 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *561 + requester: *562 sender: *17 required: - action @@ -104883,10 +104884,10 @@ webhooks: type: string enum: - removed - enterprise: *541 + enterprise: *542 installation: *33 - organization: *543 - repositories_added: *563 + organization: *544 + repositories_added: *564 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -104913,9 +104914,9 @@ webhooks: - name - full_name - private - repository: *544 - repository_selection: *564 - requester: *561 + repository: *545 + repository_selection: *565 + requester: *562 sender: *17 required: - action @@ -105004,11 +105005,11 @@ webhooks: type: string enum: - suspend - enterprise: *541 + enterprise: *542 installation: *33 - organization: *543 - repositories: *562 - repository: *544 + organization: *544 + repositories: *563 + repository: *545 requester: type: - 'null' @@ -105197,10 +105198,10 @@ webhooks: type: string required: - from - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 target_type: type: string @@ -105289,11 +105290,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *541 + enterprise: *542 installation: *33 - organization: *543 - repositories: *562 - repository: *544 + organization: *544 + repositories: *563 + repository: *545 requester: type: - 'null' @@ -105551,8 +105552,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 issue: description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) the comment belongs to. @@ -106742,8 +106743,8 @@ webhooks: - state - locked - assignee - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 required: - action @@ -106833,7 +106834,7 @@ webhooks: type: string enum: - deleted - comment: &565 + comment: &566 title: issue comment description: The [comment](https://docs.github.com/enterprise-server@3.10/rest/issues/comments#get-an-issue-comment) itself. @@ -107000,8 +107001,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 issue: description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) the comment belongs to. @@ -108189,8 +108190,8 @@ webhooks: - state - locked - assignee - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 required: - action @@ -108280,7 +108281,7 @@ webhooks: type: string enum: - edited - changes: &584 + changes: &585 description: The changes to the comment. type: object properties: @@ -108292,9 +108293,9 @@ webhooks: type: string required: - from - comment: *565 - enterprise: *541 - installation: *542 + comment: *566 + enterprise: *542 + installation: *543 issue: description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) the comment belongs to. @@ -109483,8 +109484,8 @@ webhooks: - state - locked - assignee - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 required: - action @@ -109576,10 +109577,10 @@ webhooks: type: string enum: - assigned - assignee: *561 - enterprise: *541 - installation: *542 - issue: &568 + assignee: *562 + enterprise: *542 + installation: *543 + issue: &569 title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) itself. @@ -110523,8 +110524,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 required: - action @@ -110614,8 +110615,8 @@ webhooks: type: string enum: - closed - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 issue: description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) itself. @@ -111707,8 +111708,8 @@ webhooks: required: - state - closed_at - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 required: - action @@ -111797,8 +111798,8 @@ webhooks: type: string enum: - deleted - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -112735,8 +112736,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 required: - action @@ -112825,8 +112826,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -113767,7 +113768,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &566 + milestone: &567 title: Milestone description: A collection of related issues and pull requests. type: object @@ -113910,8 +113911,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 required: - action @@ -114020,8 +114021,8 @@ webhooks: type: string required: - from - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -114965,9 +114966,9 @@ webhooks: - active_lock_reason - body - reactions - label: *560 - organization: *543 - repository: *544 + label: *561 + organization: *544 + repository: *545 sender: *17 required: - action @@ -115057,8 +115058,8 @@ webhooks: type: string enum: - labeled - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -116001,9 +116002,9 @@ webhooks: - active_lock_reason - body - reactions - label: *560 - organization: *543 - repository: *544 + label: *561 + organization: *544 + repository: *545 sender: *17 required: - action @@ -116093,8 +116094,8 @@ webhooks: type: string enum: - locked - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -117039,8 +117040,8 @@ webhooks: format: uri user_view_type: type: string - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 required: - action @@ -117129,8 +117130,8 @@ webhooks: type: string enum: - milestoned - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -118069,9 +118070,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *566 - organization: *543 - repository: *544 + milestone: *567 + organization: *544 + repository: *545 sender: *17 required: - action @@ -119575,8 +119576,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -120519,8 +120520,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 required: - action @@ -120610,9 +120611,9 @@ webhooks: type: string enum: - pinned - enterprise: *541 - installation: *542 - issue: &567 + enterprise: *542 + installation: *543 + issue: &568 title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) itself. @@ -121549,8 +121550,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 required: - action @@ -121639,8 +121640,8 @@ webhooks: type: string enum: - reopened - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -122584,8 +122585,8 @@ webhooks: format: uri user_view_type: type: string - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 required: - action @@ -124089,11 +124090,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *541 - installation: *542 - issue: *567 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + issue: *568 + organization: *544 + repository: *545 sender: *17 required: - action @@ -124184,7 +124185,7 @@ webhooks: type: string enum: - unassigned - assignee: &587 + assignee: &588 title: User type: - object @@ -124256,11 +124257,11 @@ webhooks: required: - login - id - enterprise: *541 - installation: *542 - issue: *568 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + issue: *569 + organization: *544 + repository: *545 sender: *17 required: - action @@ -124349,12 +124350,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *541 - installation: *542 - issue: *568 - label: *560 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + issue: *569 + label: *561 + organization: *544 + repository: *545 sender: *17 required: - action @@ -124444,8 +124445,8 @@ webhooks: type: string enum: - unlocked - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -125388,8 +125389,8 @@ webhooks: format: uri user_view_type: type: string - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 required: - action @@ -125479,11 +125480,11 @@ webhooks: type: string enum: - unpinned - enterprise: *541 - installation: *542 - issue: *567 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + issue: *568 + organization: *544 + repository: *545 sender: *17 required: - action @@ -125572,11 +125573,11 @@ webhooks: type: string enum: - created - enterprise: *541 - installation: *542 - label: *560 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + label: *561 + organization: *544 + repository: *545 sender: *17 required: - action @@ -125664,11 +125665,11 @@ webhooks: type: string enum: - deleted - enterprise: *541 - installation: *542 - label: *560 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + label: *561 + organization: *544 + repository: *545 sender: *17 required: - action @@ -125788,11 +125789,11 @@ webhooks: type: string required: - from - enterprise: *541 - installation: *542 - label: *560 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + label: *561 + organization: *544 + repository: *545 sender: *17 required: - action @@ -125893,11 +125894,11 @@ webhooks: - read required: - to - enterprise: *541 - installation: *542 - member: *561 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + member: *562 + organization: *544 + repository: *545 sender: *17 required: - action @@ -126009,11 +126010,11 @@ webhooks: type: - string - 'null' - enterprise: *541 - installation: *542 - member: *561 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + member: *562 + organization: *544 + repository: *545 sender: *17 required: - action @@ -126102,11 +126103,11 @@ webhooks: type: string enum: - removed - enterprise: *541 - installation: *542 - member: *561 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + member: *562 + organization: *544 + repository: *545 sender: *17 required: - action @@ -126194,11 +126195,11 @@ webhooks: type: string enum: - added - enterprise: *541 - installation: *542 - member: *561 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + member: *562 + organization: *544 + repository: *545 scope: description: The scope of the membership. Currently, can only be `team`. @@ -126276,7 +126277,7 @@ webhooks: required: - login - id - team: &569 + team: &570 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -126479,11 +126480,11 @@ webhooks: type: string enum: - removed - enterprise: *541 - installation: *542 - member: *561 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + member: *562 + organization: *544 + repository: *545 scope: description: The scope of the membership. Currently, can only be `team`. @@ -126562,7 +126563,7 @@ webhooks: required: - login - id - team: *569 + team: *570 required: - action - scope @@ -126650,7 +126651,7 @@ webhooks: type: string enum: - deleted - enterprise: *541 + enterprise: *542 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -126758,12 +126759,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *542 - organization: *543 + installation: *543 + organization: *544 repository: anyOf: - type: 'null' - - *544 + - *545 sender: *17 required: - action @@ -126853,11 +126854,11 @@ webhooks: type: string enum: - closed - enterprise: *541 - installation: *542 - milestone: *566 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + milestone: *567 + organization: *544 + repository: *545 sender: *17 required: - action @@ -126946,9 +126947,9 @@ webhooks: type: string enum: - created - enterprise: *541 - installation: *542 - milestone: &570 + enterprise: *542 + installation: *543 + milestone: &571 title: Milestone description: A collection of related issues and pull requests. type: object @@ -127090,8 +127091,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 required: - action @@ -127180,11 +127181,11 @@ webhooks: type: string enum: - deleted - enterprise: *541 - installation: *542 - milestone: *566 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + milestone: *567 + organization: *544 + repository: *545 sender: *17 required: - action @@ -127304,11 +127305,11 @@ webhooks: type: string required: - from - enterprise: *541 - installation: *542 - milestone: *566 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + milestone: *567 + organization: *544 + repository: *545 sender: *17 required: - action @@ -127398,11 +127399,11 @@ webhooks: type: string enum: - opened - enterprise: *541 - installation: *542 - milestone: *570 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + milestone: *571 + organization: *544 + repository: *545 sender: *17 required: - action @@ -127491,9 +127492,9 @@ webhooks: type: string enum: - deleted - enterprise: *541 - installation: *542 - membership: &571 + enterprise: *542 + installation: *543 + membership: &572 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -127587,8 +127588,8 @@ webhooks: - role - organization_url - user - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 required: - action @@ -127676,11 +127677,11 @@ webhooks: type: string enum: - member_added - enterprise: *541 - installation: *542 - membership: *571 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + membership: *572 + organization: *544 + repository: *545 sender: *17 required: - action @@ -127769,8 +127770,8 @@ webhooks: type: string enum: - member_invited - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -127892,10 +127893,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 - user: *561 + user: *562 required: - action - invitation @@ -127983,11 +127984,11 @@ webhooks: type: string enum: - member_removed - enterprise: *541 - installation: *542 - membership: *571 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + membership: *572 + organization: *544 + repository: *545 sender: *17 required: - action @@ -128084,11 +128085,11 @@ webhooks: properties: from: type: string - enterprise: *541 - installation: *542 - membership: *571 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + membership: *572 + organization: *544 + repository: *545 sender: *17 required: - action @@ -128174,9 +128175,9 @@ webhooks: type: string enum: - published - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 package: description: Information about the package. type: object @@ -128699,7 +128700,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &572 + items: &573 title: Ruby Gems metadata type: object properties: @@ -128796,7 +128797,7 @@ webhooks: - owner - package_version - registry - repository: *544 + repository: *545 sender: *17 required: - action @@ -128882,9 +128883,9 @@ webhooks: type: string enum: - updated - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 package: description: Information about the package. type: object @@ -129246,7 +129247,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *572 + items: *573 source_url: type: string format: uri @@ -129317,7 +129318,7 @@ webhooks: - owner - package_version - registry - repository: *544 + repository: *545 sender: *17 required: - action @@ -129508,12 +129509,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *541 + enterprise: *542 id: type: integer - installation: *542 - organization: *543 - repository: *544 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - id @@ -129593,7 +129594,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &573 + personal_access_token_request: &574 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -129743,10 +129744,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *541 - organization: *543 + enterprise: *542 + organization: *544 sender: *17 - installation: *542 + installation: *543 required: - action - personal_access_token_request @@ -129825,11 +129826,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *573 - enterprise: *541 - organization: *543 + personal_access_token_request: *574 + enterprise: *542 + organization: *544 sender: *17 - installation: *542 + installation: *543 required: - action - personal_access_token_request @@ -129907,11 +129908,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *573 - enterprise: *541 - organization: *543 + personal_access_token_request: *574 + enterprise: *542 + organization: *544 sender: *17 - installation: *542 + installation: *543 required: - action - personal_access_token_request @@ -129988,11 +129989,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *573 - organization: *543 - enterprise: *541 + personal_access_token_request: *574 + organization: *544 + enterprise: *542 sender: *17 - installation: *542 + installation: *543 required: - action - personal_access_token_request @@ -130106,7 +130107,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *574 + last_response: *575 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -130138,8 +130139,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 zen: description: Random string of GitHub zen. @@ -130394,10 +130395,10 @@ webhooks: - from required: - note - enterprise: *541 - installation: *542 - organization: *543 - project_card: &575 + enterprise: *542 + installation: *543 + organization: *544 + project_card: &576 title: Project Card type: object properties: @@ -130520,7 +130521,7 @@ webhooks: - creator - created_at - updated_at - repository: *544 + repository: *545 sender: *17 required: - action @@ -130611,11 +130612,11 @@ webhooks: type: string enum: - created - enterprise: *541 - installation: *542 - organization: *543 - project_card: *575 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + project_card: *576 + repository: *545 sender: *17 required: - action @@ -130705,9 +130706,9 @@ webhooks: type: string enum: - deleted - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 project_card: title: Project Card type: object @@ -130837,7 +130838,7 @@ webhooks: repository: anyOf: - type: 'null' - - *544 + - *545 sender: *17 required: - action @@ -130941,11 +130942,11 @@ webhooks: - from required: - note - enterprise: *541 - installation: *542 - organization: *543 - project_card: *575 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + project_card: *576 + repository: *545 sender: *17 required: - action @@ -131049,9 +131050,9 @@ webhooks: - from required: - column_id - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 project_card: allOf: - title: Project Card @@ -131248,7 +131249,7 @@ webhooks: type: string required: - after_id - repository: *544 + repository: *545 sender: *17 required: - action @@ -131338,10 +131339,10 @@ webhooks: type: string enum: - closed - enterprise: *541 - installation: *542 - organization: *543 - project: &577 + enterprise: *542 + installation: *543 + organization: *544 + project: &578 title: Project type: object properties: @@ -131468,7 +131469,7 @@ webhooks: - creator - created_at - updated_at - repository: *544 + repository: *545 sender: *17 required: - action @@ -131558,10 +131559,10 @@ webhooks: type: string enum: - created - enterprise: *541 - installation: *542 - organization: *543 - project_column: &576 + enterprise: *542 + installation: *543 + organization: *544 + project_column: &577 title: Project Column type: object properties: @@ -131601,7 +131602,7 @@ webhooks: - name - created_at - updated_at - repository: *544 + repository: *545 sender: *17 required: - action @@ -131690,14 +131691,14 @@ webhooks: type: string enum: - deleted - enterprise: *541 - installation: *542 - organization: *543 - project_column: *576 + enterprise: *542 + installation: *543 + organization: *544 + project_column: *577 repository: anyOf: - type: 'null' - - *544 + - *545 sender: *17 required: - action @@ -131796,11 +131797,11 @@ webhooks: type: string required: - from - enterprise: *541 - installation: *542 - organization: *543 - project_column: *576 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + project_column: *577 + repository: *545 sender: *17 required: - action @@ -131890,11 +131891,11 @@ webhooks: type: string enum: - moved - enterprise: *541 - installation: *542 - organization: *543 - project_column: *576 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + project_column: *577 + repository: *545 sender: *17 required: - action @@ -131984,11 +131985,11 @@ webhooks: type: string enum: - created - enterprise: *541 - installation: *542 - organization: *543 - project: *577 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + project: *578 + repository: *545 sender: *17 required: - action @@ -132078,14 +132079,14 @@ webhooks: type: string enum: - deleted - enterprise: *541 - installation: *542 - organization: *543 - project: *577 + enterprise: *542 + installation: *543 + organization: *544 + project: *578 repository: anyOf: - type: 'null' - - *544 + - *545 sender: *17 required: - action @@ -132196,11 +132197,11 @@ webhooks: type: string required: - from - enterprise: *541 - installation: *542 - organization: *543 - project: *577 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + project: *578 + repository: *545 sender: *17 required: - action @@ -132289,11 +132290,11 @@ webhooks: type: string enum: - reopened - enterprise: *541 - installation: *542 - organization: *543 - project: *577 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + project: *578 + repository: *545 sender: *17 required: - action @@ -132384,9 +132385,9 @@ webhooks: type: string enum: - closed - installation: *542 - organization: *543 - projects_v2: &578 + installation: *543 + organization: *544 + projects_v2: &579 title: Projects v2 Project description: A projects v2 project type: object @@ -132544,9 +132545,9 @@ webhooks: type: string enum: - created - installation: *542 - organization: *543 - projects_v2: *578 + installation: *543 + organization: *544 + projects_v2: *579 sender: *17 required: - action @@ -132637,9 +132638,9 @@ webhooks: type: string enum: - deleted - installation: *542 - organization: *543 - projects_v2: *578 + installation: *543 + organization: *544 + projects_v2: *579 sender: *17 required: - action @@ -132770,9 +132771,9 @@ webhooks: type: string to: type: string - installation: *542 - organization: *543 - projects_v2: *578 + installation: *543 + organization: *544 + projects_v2: *579 sender: *17 required: - action @@ -132865,7 +132866,7 @@ webhooks: type: string enum: - archived - changes: &580 + changes: &581 type: object properties: archived_at: @@ -132881,9 +132882,9 @@ webhooks: - string - 'null' format: date-time - installation: *542 - organization: *543 - projects_v2_item: &579 + installation: *543 + organization: *544 + projects_v2_item: &580 title: Projects v2 Item description: An item belonging to a project type: object @@ -133032,9 +133033,9 @@ webhooks: - 'null' to: type: string - installation: *542 - organization: *543 - projects_v2_item: *579 + installation: *543 + organization: *544 + projects_v2_item: *580 sender: *17 required: - action @@ -133126,9 +133127,9 @@ webhooks: type: string enum: - created - installation: *542 - organization: *543 - projects_v2_item: *579 + installation: *543 + organization: *544 + projects_v2_item: *580 sender: *17 required: - action @@ -133219,9 +133220,9 @@ webhooks: type: string enum: - deleted - installation: *542 - organization: *543 - projects_v2_item: *579 + installation: *543 + organization: *544 + projects_v2_item: *580 sender: *17 required: - action @@ -133345,9 +133346,9 @@ webhooks: - 'null' required: - body - installation: *542 - organization: *543 - projects_v2_item: *579 + installation: *543 + organization: *544 + projects_v2_item: *580 sender: *17 required: - action @@ -133454,9 +133455,9 @@ webhooks: type: - string - 'null' - installation: *542 - organization: *543 - projects_v2_item: *579 + installation: *543 + organization: *544 + projects_v2_item: *580 sender: *17 required: - action @@ -133549,10 +133550,10 @@ webhooks: type: string enum: - restored - changes: *580 - installation: *542 - organization: *543 - projects_v2_item: *579 + changes: *581 + installation: *543 + organization: *544 + projects_v2_item: *580 sender: *17 required: - action @@ -133644,9 +133645,9 @@ webhooks: type: string enum: - reopened - installation: *542 - organization: *543 - projects_v2: *578 + installation: *543 + organization: *544 + projects_v2: *579 sender: *17 required: - action @@ -133727,10 +133728,10 @@ webhooks: title: public event type: object properties: - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - repository @@ -133817,13 +133818,13 @@ webhooks: type: string enum: - assigned - assignee: *561 - enterprise: *541 - installation: *542 - number: &581 + assignee: *562 + enterprise: *542 + installation: *543 + number: &582 description: The pull request number. type: integer - organization: *543 + organization: *544 pull_request: title: Pull Request type: object @@ -136172,7 +136173,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *544 + repository: *545 sender: *17 required: - action @@ -136264,11 +136265,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 number: type: integer - organization: *543 + organization: *544 pull_request: title: Pull Request type: object @@ -138610,7 +138611,7 @@ webhooks: - draft reason: type: string - repository: *544 + repository: *545 sender: *17 required: - action @@ -138702,11 +138703,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 number: type: integer - organization: *543 + organization: *544 pull_request: title: Pull Request type: object @@ -141048,7 +141049,7 @@ webhooks: - draft reason: type: string - repository: *544 + repository: *545 sender: *17 required: - action @@ -141140,13 +141141,13 @@ webhooks: type: string enum: - closed - enterprise: *541 - installation: *542 - number: *581 - organization: *543 - pull_request: &582 + enterprise: *542 + installation: *543 + number: *582 + organization: *544 + pull_request: &583 allOf: - - *445 + - *446 - type: object properties: allow_auto_merge: @@ -141208,7 +141209,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *544 + repository: *545 sender: *17 required: - action @@ -141299,12 +141300,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *541 - installation: *542 - number: *581 - organization: *543 - pull_request: *582 - repository: *544 + enterprise: *542 + installation: *543 + number: *582 + organization: *544 + pull_request: *583 + repository: *545 sender: *17 required: - action @@ -141394,11 +141395,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *541 - milestone: *351 - number: *581 - organization: *543 - pull_request: &583 + enterprise: *542 + milestone: *352 + number: *582 + organization: *544 + pull_request: &584 title: Pull Request type: object properties: @@ -143725,7 +143726,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *544 + repository: *545 sender: *17 required: - action @@ -143857,12 +143858,12 @@ webhooks: type: string required: - from - enterprise: *541 - installation: *542 - number: *581 - organization: *543 - pull_request: *582 - repository: *544 + enterprise: *542 + installation: *543 + number: *582 + organization: *544 + pull_request: *583 + repository: *545 sender: *17 required: - action @@ -143952,11 +143953,11 @@ webhooks: type: string enum: - labeled - enterprise: *541 - installation: *542 - label: *560 - number: *581 - organization: *543 + enterprise: *542 + installation: *543 + label: *561 + number: *582 + organization: *544 pull_request: title: Pull Request type: object @@ -146304,7 +146305,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *544 + repository: *545 sender: *17 required: - action @@ -146395,10 +146396,10 @@ webhooks: type: string enum: - locked - enterprise: *541 - installation: *542 - number: *581 - organization: *543 + enterprise: *542 + installation: *543 + number: *582 + organization: *544 pull_request: title: Pull Request type: object @@ -148744,7 +148745,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *544 + repository: *545 sender: *17 required: - action @@ -148834,12 +148835,12 @@ webhooks: type: string enum: - milestoned - enterprise: *541 - milestone: *351 - number: *581 - organization: *543 - pull_request: *583 - repository: *544 + enterprise: *542 + milestone: *352 + number: *582 + organization: *544 + pull_request: *584 + repository: *545 sender: *17 required: - action @@ -148928,12 +148929,12 @@ webhooks: type: string enum: - opened - enterprise: *541 - installation: *542 - number: *581 - organization: *543 - pull_request: *582 - repository: *544 + enterprise: *542 + installation: *543 + number: *582 + organization: *544 + pull_request: *583 + repository: *545 sender: *17 required: - action @@ -149024,12 +149025,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *541 - installation: *542 - number: *581 - organization: *543 - pull_request: *582 - repository: *544 + enterprise: *542 + installation: *543 + number: *582 + organization: *544 + pull_request: *583 + repository: *545 sender: *17 required: - action @@ -149119,12 +149120,12 @@ webhooks: type: string enum: - reopened - enterprise: *541 - installation: *542 - number: *581 - organization: *543 - pull_request: *582 - repository: *544 + enterprise: *542 + installation: *543 + number: *582 + organization: *544 + pull_request: *583 + repository: *545 sender: *17 required: - action @@ -149509,9 +149510,9 @@ webhooks: - start_side - side - reactions - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 pull_request: type: object properties: @@ -151741,7 +151742,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *544 + repository: *545 sender: *17 required: - action @@ -151831,7 +151832,7 @@ webhooks: type: string enum: - deleted - comment: &585 + comment: &586 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-server@3.10/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -152124,9 +152125,9 @@ webhooks: - start_side - side - reactions - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 pull_request: type: object properties: @@ -154344,7 +154345,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *544 + repository: *545 sender: *17 required: - action @@ -154434,11 +154435,11 @@ webhooks: type: string enum: - edited - changes: *584 - comment: *585 - enterprise: *541 - installation: *542 - organization: *543 + changes: *585 + comment: *586 + enterprise: *542 + installation: *543 + organization: *544 pull_request: type: object properties: @@ -156659,7 +156660,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *544 + repository: *545 sender: *17 required: - action @@ -156750,9 +156751,9 @@ webhooks: type: string enum: - dismissed - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 pull_request: title: Simple Pull Request type: object @@ -158985,7 +158986,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *544 + repository: *545 review: description: The review that was affected. type: object @@ -159241,9 +159242,9 @@ webhooks: type: string required: - from - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 pull_request: title: Simple Pull Request type: object @@ -161357,8 +161358,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *544 - review: &586 + repository: *545 + review: &587 description: The review that was affected. type: object properties: @@ -161601,12 +161602,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 number: description: The pull request number. type: integer - organization: *543 + organization: *544 pull_request: title: Pull Request type: object @@ -163953,7 +163954,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *544 + repository: *545 requested_reviewer: title: User type: @@ -164039,12 +164040,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 number: description: The pull request number. type: integer - organization: *543 + organization: *544 pull_request: title: Pull Request type: object @@ -166398,7 +166399,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *544 + repository: *545 requested_team: title: Team description: Groups of organization members that gives permissions @@ -166603,12 +166604,12 @@ webhooks: type: string enum: - review_requested - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 number: description: The pull request number. type: integer - organization: *543 + organization: *544 pull_request: title: Pull Request type: object @@ -168957,7 +168958,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *544 + repository: *545 requested_reviewer: title: User type: @@ -169044,12 +169045,12 @@ webhooks: type: string enum: - review_requested - enterprise: *541 - installation: *542 + enterprise: *542 + installation: *543 number: description: The pull request number. type: integer - organization: *543 + organization: *544 pull_request: title: Pull Request type: object @@ -171389,7 +171390,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *544 + repository: *545 requested_team: title: Team description: Groups of organization members that gives permissions @@ -171583,9 +171584,9 @@ webhooks: type: string enum: - submitted - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 pull_request: title: Simple Pull Request type: object @@ -173821,8 +173822,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *544 - review: *586 + repository: *545 + review: *587 sender: *17 required: - action @@ -173912,9 +173913,9 @@ webhooks: type: string enum: - resolved - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 pull_request: title: Simple Pull Request type: object @@ -176045,7 +176046,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *544 + repository: *545 sender: *17 thread: type: object @@ -176447,9 +176448,9 @@ webhooks: type: string enum: - unresolved - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 pull_request: title: Simple Pull Request type: object @@ -178563,7 +178564,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *544 + repository: *545 sender: *17 thread: type: object @@ -178967,10 +178968,10 @@ webhooks: type: string before: type: string - enterprise: *541 - installation: *542 - number: *581 - organization: *543 + enterprise: *542 + installation: *543 + number: *582 + organization: *544 pull_request: title: Pull Request type: object @@ -181305,7 +181306,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *544 + repository: *545 sender: *17 required: - action @@ -181397,11 +181398,11 @@ webhooks: type: string enum: - unassigned - assignee: *587 - enterprise: *541 - installation: *542 - number: *581 - organization: *543 + assignee: *588 + enterprise: *542 + installation: *543 + number: *582 + organization: *544 pull_request: title: Pull Request type: object @@ -183751,7 +183752,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *544 + repository: *545 sender: *17 required: - action @@ -183840,11 +183841,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *541 - installation: *542 - label: *560 - number: *581 - organization: *543 + enterprise: *542 + installation: *543 + label: *561 + number: *582 + organization: *544 pull_request: title: Pull Request type: object @@ -186183,7 +186184,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *544 + repository: *545 sender: *17 required: - action @@ -186274,10 +186275,10 @@ webhooks: type: string enum: - unlocked - enterprise: *541 - installation: *542 - number: *581 - organization: *543 + enterprise: *542 + installation: *543 + number: *582 + organization: *544 pull_request: title: Pull Request type: object @@ -188606,7 +188607,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *544 + repository: *545 sender: *17 required: - action @@ -188819,7 +188820,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *541 + enterprise: *542 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -188914,8 +188915,8 @@ webhooks: - url - author - committer - installation: *542 - organization: *543 + installation: *543 + organization: *544 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -189507,9 +189508,9 @@ webhooks: type: string enum: - published - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 registry_package: type: object properties: @@ -189986,7 +189987,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *572 + items: *573 summary: type: string tag_name: @@ -190042,7 +190043,7 @@ webhooks: - owner - package_version - registry - repository: *544 + repository: *545 sender: *17 required: - action @@ -190130,9 +190131,9 @@ webhooks: type: string enum: - updated - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 registry_package: type: object properties: @@ -190444,7 +190445,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *572 + items: *573 summary: type: string tag_name: @@ -190494,7 +190495,7 @@ webhooks: - owner - package_version - registry - repository: *544 + repository: *545 sender: *17 required: - action @@ -190581,10 +190582,10 @@ webhooks: type: string enum: - created - enterprise: *541 - installation: *542 - organization: *543 - release: &588 + enterprise: *542 + installation: *543 + organization: *544 + release: &589 title: Release description: The [release](https://docs.github.com/enterprise-server@3.10/rest/releases/releases/#get-a-release) object. @@ -190900,7 +190901,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *544 + repository: *545 sender: *17 required: - action @@ -190987,11 +190988,11 @@ webhooks: type: string enum: - deleted - enterprise: *541 - installation: *542 - organization: *543 - release: *588 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + release: *589 + repository: *545 sender: *17 required: - action @@ -191109,11 +191110,11 @@ webhooks: type: boolean required: - to - enterprise: *541 - installation: *542 - organization: *543 - release: *588 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + release: *589 + repository: *545 sender: *17 required: - action @@ -191201,9 +191202,9 @@ webhooks: type: string enum: - prereleased - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 release: title: Release description: The [release](https://docs.github.com/enterprise-server@3.10/rest/releases/releases/#get-a-release) @@ -191524,7 +191525,7 @@ webhooks: - string - 'null' format: uri - repository: *544 + repository: *545 sender: *17 required: - action @@ -191610,10 +191611,10 @@ webhooks: type: string enum: - published - enterprise: *541 - installation: *542 - organization: *543 - release: &589 + enterprise: *542 + installation: *543 + organization: *544 + release: &590 title: Release description: The [release](https://docs.github.com/enterprise-server@3.10/rest/releases/releases/#get-a-release) object. @@ -191931,7 +191932,7 @@ webhooks: - string - 'null' format: uri - repository: *544 + repository: *545 sender: *17 required: - action @@ -192017,11 +192018,11 @@ webhooks: type: string enum: - released - enterprise: *541 - installation: *542 - organization: *543 - release: *588 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + release: *589 + repository: *545 sender: *17 required: - action @@ -192107,11 +192108,11 @@ webhooks: type: string enum: - unpublished - enterprise: *541 - installation: *542 - organization: *543 - release: *589 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + release: *590 + repository: *545 sender: *17 required: - action @@ -192197,10 +192198,10 @@ webhooks: type: string enum: - anonymous_access_disabled - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -192285,10 +192286,10 @@ webhooks: type: string enum: - anonymous_access_enabled - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -192373,10 +192374,10 @@ webhooks: type: string enum: - archived - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -192463,10 +192464,10 @@ webhooks: type: string enum: - created - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -192554,10 +192555,10 @@ webhooks: type: string enum: - deleted - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -192652,10 +192653,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -192780,10 +192781,10 @@ webhooks: - 'null' items: type: string - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -192871,10 +192872,10 @@ webhooks: type: string enum: - privatized - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -192961,10 +192962,10 @@ webhooks: type: string enum: - publicized - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -193068,10 +193069,10 @@ webhooks: - name required: - repository - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -193302,10 +193303,10 @@ webhooks: - from required: - owner - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -193393,10 +193394,10 @@ webhooks: type: string enum: - unarchived - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -193484,7 +193485,7 @@ webhooks: type: string enum: - create - alert: &590 + alert: &591 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -193608,10 +193609,10 @@ webhooks: type: string enum: - open - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -193831,10 +193832,10 @@ webhooks: type: string enum: - dismissed - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -193922,11 +193923,11 @@ webhooks: type: string enum: - reopen - alert: *590 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + alert: *591 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -194138,10 +194139,10 @@ webhooks: enum: - fixed - open - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -194229,7 +194230,7 @@ webhooks: type: string enum: - created - alert: &591 + alert: &592 type: object properties: number: *89 @@ -194301,10 +194302,10 @@ webhooks: format: date-time description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -194395,11 +194396,11 @@ webhooks: type: string enum: - created - alert: *591 - installation: *542 - location: *592 - organization: *543 - repository: *544 + alert: *592 + installation: *543 + location: *593 + organization: *544 + repository: *545 sender: *17 required: - location @@ -194642,11 +194643,11 @@ webhooks: type: string enum: - reopened - alert: *591 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + alert: *592 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -194734,11 +194735,11 @@ webhooks: type: string enum: - resolved - alert: *591 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + alert: *592 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -194824,11 +194825,11 @@ webhooks: type: string enum: - published - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 - security_advisory: &594 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 + security_advisory: &595 description: The details of the security advisory, including summary, description, and severity. type: object @@ -194845,7 +194846,7 @@ webhooks: required: - vector_string - score - cvss_severities: *593 + cvss_severities: *594 cwes: type: array items: @@ -195024,11 +195025,11 @@ webhooks: type: string enum: - updated - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 - security_advisory: *594 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 + security_advisory: *595 sender: *17 required: - action @@ -195111,10 +195112,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -195132,7 +195133,7 @@ webhooks: required: - vector_string - score - cvss_severities: *593 + cvss_severities: *594 cwes: type: array items: @@ -195310,11 +195311,11 @@ webhooks: from: type: object properties: - security_and_analysis: *219 - enterprise: *541 - installation: *542 - organization: *543 - repository: *262 + security_and_analysis: *220 + enterprise: *542 + installation: *543 + organization: *544 + repository: *263 sender: *17 required: - changes @@ -195402,12 +195403,12 @@ webhooks: type: string enum: - cancelled - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 - sponsorship: &595 + sponsorship: &596 type: object properties: created_at: @@ -195722,12 +195723,12 @@ webhooks: type: string enum: - created - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 - sponsorship: *595 + sponsorship: *596 required: - action - sponsorship @@ -195825,12 +195826,12 @@ webhooks: type: string required: - from - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 - sponsorship: *595 + sponsorship: *596 required: - action - changes @@ -195917,17 +195918,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &596 + effective_date: &597 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 - sponsorship: *595 + sponsorship: *596 required: - action - sponsorship @@ -196011,7 +196012,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &597 + changes: &598 type: object properties: tier: @@ -196055,13 +196056,13 @@ webhooks: - from required: - tier - effective_date: *596 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + effective_date: *597 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 - sponsorship: *595 + sponsorship: *596 required: - action - changes @@ -196148,13 +196149,13 @@ webhooks: type: string enum: - tier_changed - changes: *597 - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + changes: *598 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 - sponsorship: *595 + sponsorship: *596 required: - action - changes @@ -196238,10 +196239,10 @@ webhooks: type: string enum: - created - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 starred_at: description: 'The time the star was created. This is a timestamp @@ -196335,10 +196336,10 @@ webhooks: type: string enum: - deleted - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 starred_at: description: 'The time the star was created. This is a timestamp @@ -196777,15 +196778,15 @@ webhooks: type: - string - 'null' - enterprise: *541 + enterprise: *542 id: description: The unique identifier of the status. type: integer - installation: *542 + installation: *543 name: type: string - organization: *543 - repository: *544 + organization: *544 + repository: *545 sender: *17 sha: description: The Commit SHA. @@ -196898,12 +196899,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 - team: &598 + team: &599 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -197106,9 +197107,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 repository: title: Repository description: A git repository @@ -197572,7 +197573,7 @@ webhooks: - topics - visibility sender: *17 - team: *598 + team: *599 required: - action - team @@ -197658,9 +197659,9 @@ webhooks: type: string enum: - created - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 repository: title: Repository description: A git repository @@ -198124,7 +198125,7 @@ webhooks: - topics - visibility sender: *17 - team: *598 + team: *599 required: - action - team @@ -198211,9 +198212,9 @@ webhooks: type: string enum: - deleted - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 repository: title: Repository description: A git repository @@ -198677,7 +198678,7 @@ webhooks: - topics - visibility sender: *17 - team: *598 + team: *599 required: - action - team @@ -198831,9 +198832,9 @@ webhooks: - from required: - permissions - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 repository: title: Repository description: A git repository @@ -199297,7 +199298,7 @@ webhooks: - topics - visibility sender: *17 - team: *598 + team: *599 required: - action - changes @@ -199385,9 +199386,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *541 - installation: *542 - organization: *543 + enterprise: *542 + installation: *543 + organization: *544 repository: title: Repository description: A git repository @@ -199851,7 +199852,7 @@ webhooks: - topics - visibility sender: *17 - team: *598 + team: *599 required: - action - team @@ -199934,12 +199935,12 @@ webhooks: type: string enum: - created - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 - user: *561 + user: *562 required: - action responses: @@ -200017,12 +200018,12 @@ webhooks: type: string enum: - deleted - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 - user: *561 + user: *562 required: - action responses: @@ -200103,10 +200104,10 @@ webhooks: type: string enum: - started - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 required: - action @@ -200189,17 +200190,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *541 + enterprise: *542 inputs: type: - object - 'null' additionalProperties: true - installation: *542 - organization: *543 + installation: *543 + organization: *544 ref: type: string - repository: *544 + repository: *545 sender: *17 workflow: type: string @@ -200291,10 +200292,10 @@ webhooks: type: string enum: - completed - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 workflow_job: allOf: @@ -200550,7 +200551,7 @@ webhooks: type: string required: - conclusion - deployment: *368 + deployment: *369 required: - action - repository @@ -200639,10 +200640,10 @@ webhooks: type: string enum: - in_progress - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 workflow_job: allOf: @@ -200924,7 +200925,7 @@ webhooks: required: - status - steps - deployment: *368 + deployment: *369 required: - action - repository @@ -201013,10 +201014,10 @@ webhooks: type: string enum: - queued - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 workflow_job: type: object @@ -201162,7 +201163,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *368 + deployment: *369 required: - action - repository @@ -201251,10 +201252,10 @@ webhooks: type: string enum: - waiting - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 workflow_job: type: object @@ -201401,7 +201402,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *368 + deployment: *369 required: - action - repository @@ -201491,12 +201492,12 @@ webhooks: type: string enum: - completed - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 - workflow: *556 + workflow: *557 workflow_run: title: Workflow Run type: object @@ -202525,12 +202526,12 @@ webhooks: type: string enum: - in_progress - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 - workflow: *556 + workflow: *557 workflow_run: title: Workflow Run type: object @@ -203544,12 +203545,12 @@ webhooks: type: string enum: - requested - enterprise: *541 - installation: *542 - organization: *543 - repository: *544 + enterprise: *542 + installation: *543 + organization: *544 + repository: *545 sender: *17 - workflow: *556 + workflow: *557 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghes-3.10/ghes-3.10.2022-11-28.json b/descriptions-next/ghes-3.10/ghes-3.10.2022-11-28.json index 98a096955..1eb3d4974 100644 --- a/descriptions-next/ghes-3.10/ghes-3.10.2022-11-28.json +++ b/descriptions-next/ghes-3.10/ghes-3.10.2022-11-28.json @@ -43197,7 +43197,7 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "reactions", "subcategory": "reactions" } @@ -90377,6 +90377,17 @@ "\"2021-01-01T00:00:00.000-07:00\"" ] }, + "announcement-user-dismissible": { + "type": [ + "boolean", + "null" + ], + "description": "Whether an announcement can be dismissed by the user.", + "default": false, + "examples": [ + false + ] + }, "announcement": { "title": "Enterprise Announcement", "description": "Enterprise global announcement", @@ -90387,6 +90398,9 @@ }, "expires_at": { "$ref": "#/components/schemas/announcement-expiration" + }, + "user_dismissible": { + "$ref": "#/components/schemas/announcement-user-dismissible" } }, "required": [ @@ -96553,17 +96567,6 @@ "visibility" ] }, - "announcement-user-dismissible": { - "type": [ - "boolean", - "null" - ], - "description": "Whether an announcement can be dismissed by the user.", - "default": false, - "examples": [ - false - ] - }, "announcement-banner": { "title": "Announcement Banner", "description": "Announcement at either the repository, organization, or enterprise level", diff --git a/descriptions-next/ghes-3.10/ghes-3.10.2022-11-28.yaml b/descriptions-next/ghes-3.10/ghes-3.10.2022-11-28.yaml index 3532c38da..8436bfc1c 100644 --- a/descriptions-next/ghes-3.10/ghes-3.10.2022-11-28.yaml +++ b/descriptions-next/ghes-3.10/ghes-3.10.2022-11-28.yaml @@ -31223,7 +31223,7 @@ paths: "$ref": "#/components/responses/validation_failed" x-github: githubCloudOnly: false - e{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}