diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index 492aead3a..67aa432b2 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -20951,6 +20951,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", @@ -29388,7 +29520,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" ], @@ -30367,7 +30499,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" ], @@ -48357,7 +48489,7 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "reactions", "subcategory": "reactions" } @@ -56046,6 +56178,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", @@ -108426,6 +108696,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", @@ -276203,6 +276524,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": [ { @@ -290346,6 +290752,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/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index c772f5459..98828f3ee 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -15200,6 +15200,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 @@ -21313,12 +21397,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 @@ -22003,14 +22094,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 @@ -35234,7 +35331,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}": @@ -40700,6 +40797,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 @@ -79520,6 +79703,39 @@ components: nullable: true 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. @@ -207600,6 +207816,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 @@ -219719,6 +219989,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/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 492aead3a..67aa432b2 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -20951,6 +20951,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", @@ -29388,7 +29520,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" ], @@ -30367,7 +30499,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" ], @@ -48357,7 +48489,7 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "reactions", "subcategory": "reactions" } @@ -56046,6 +56178,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", @@ -108426,6 +108696,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", @@ -276203,6 +276524,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": [ { @@ -290346,6 +290752,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/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index c772f5459..98828f3ee 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -15200,6 +15200,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 @@ -21313,12 +21397,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 @@ -22003,14 +22094,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 @@ -35234,7 +35331,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}": @@ -40700,6 +40797,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 @@ -79520,6 +79703,39 @@ components: nullable: true 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. @@ -207600,6 +207816,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 @@ -219719,6 +219989,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/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 0ff483638..5863f7ccc 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -130850,6 +130850,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", @@ -179034,7 +179435,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" ], @@ -183159,7 +183560,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" ], @@ -326692,7 +327093,7 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "reactions", "subcategory": "reactions" } @@ -412787,6 +413188,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/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index d98cf53dc..4305b347f 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -847,7 +847,7 @@ paths: - subscriptions_url - type - url - type: &248 + type: &249 type: string description: The type of credit the user is receiving. enum: @@ -1013,7 +1013,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &572 + - &575 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -8481,7 +8481,7 @@ paths: enum: - development - runtime - security_advisory: &423 + security_advisory: &424 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8743,7 +8743,7 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &424 + auto_dismissed_at: &425 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9116,7 +9116,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &239 + - &240 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9127,7 +9127,7 @@ paths: enum: - open - resolved - - &240 + - &241 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -9137,7 +9137,7 @@ paths: required: false schema: type: string - - &241 + - &242 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9146,7 +9146,7 @@ paths: required: false schema: type: string - - &242 + - &243 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. @@ -9162,7 +9162,7 @@ paths: - *17 - *39 - *40 - - &243 + - &244 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9171,7 +9171,7 @@ paths: required: false schema: type: string - - &244 + - &245 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9180,7 +9180,7 @@ paths: schema: type: boolean default: false - - &245 + - &246 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9196,7 +9196,7 @@ paths: application/json: schema: type: array - items: &246 + items: &247 type: object properties: number: *54 @@ -9215,14 +9215,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &564 + state: &567 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: &565 + resolution: &568 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -9319,7 +9319,7 @@ paths: repositories in the same organization or enterprise. nullable: true examples: - default: &247 + default: &248 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -9655,7 +9655,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &472 + properties: &473 id: type: integer format: int64 @@ -9766,7 +9766,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &408 + properties: &409 url: type: string format: uri @@ -9836,7 +9836,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &409 + required: &410 - closed_issues - creator - description @@ -9991,7 +9991,7 @@ paths: - total - completed - percent_completed - required: &473 + required: &474 - assignee - closed_at - comments @@ -10013,7 +10013,7 @@ paths: - author_association - created_at - updated_at - comment: &470 + comment: &471 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -10580,7 +10580,7 @@ paths: url: type: string format: uri - user: &595 + user: &598 title: Public User description: Public User type: object @@ -13885,14 +13885,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &273 + - &274 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &274 + - &275 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -13963,7 +13963,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &285 + '301': &286 description: Moved permanently content: application/json: @@ -13985,7 +13985,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &502 + - &503 name: all description: If `true`, show notifications marked as read. in: query @@ -13993,7 +13993,7 @@ paths: schema: type: boolean default: false - - &503 + - &504 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14003,7 +14003,7 @@ paths: type: boolean default: false - *67 - - &504 + - &505 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: @@ -14459,7 +14459,7 @@ paths: - url - subscription_url examples: - default: &505 + default: &506 value: - id: '1' repository: @@ -15060,7 +15060,7 @@ paths: - avatar_url - description examples: - default: &613 + default: &616 value: - login: github id: 1 @@ -15969,7 +15969,7 @@ paths: type: integer repository_cache_usages: type: array - items: &290 + items: &291 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -16854,7 +16854,7 @@ paths: - all - local_only - selected - selected_actions_url: &296 + selected_actions_url: &297 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` @@ -16944,7 +16944,7 @@ paths: type: array items: *60 examples: - default: &607 + default: &610 value: total_count: 1 repositories: @@ -17272,7 +17272,7 @@ paths: description: Response content: application/json: - schema: &300 + schema: &301 type: object properties: default_workflow_permissions: &112 @@ -17323,7 +17323,7 @@ paths: required: false content: application/json: - schema: &301 + schema: &302 type: object properties: default_workflow_permissions: *112 @@ -17812,7 +17812,7 @@ paths: type: array items: *119 examples: - default: &598 + default: &601 value: total_count: 1 repositories: @@ -18454,7 +18454,7 @@ paths: application/json: schema: type: array - items: &302 + items: &303 title: Runner Application description: Runner Application type: object @@ -18479,7 +18479,7 @@ paths: - download_url - filename examples: - default: &303 + default: &304 value: - os: osx architecture: x64 @@ -18565,7 +18565,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &304 + '201': &305 description: Response content: application/json: @@ -18676,7 +18676,7 @@ paths: - token - expires_at examples: - default: &305 + default: &306 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -18715,7 +18715,7 @@ paths: application/json: schema: *123 examples: - default: &306 + default: &307 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -18749,7 +18749,7 @@ paths: application/json: schema: *121 examples: - default: &307 + default: &308 value: id: 23 name: MBP @@ -18974,7 +18974,7 @@ paths: - *94 - *120 responses: - '200': &308 + '200': &309 description: Response content: application/json: @@ -19031,7 +19031,7 @@ paths: parameters: - *94 - *120 - - &309 + - &310 name: name description: The name of a self-hosted runner's custom label. in: path @@ -19161,7 +19161,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &322 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -19190,7 +19190,7 @@ paths: - key_id - key examples: - default: &322 + default: &323 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -19603,7 +19603,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *94 - - &295 + - &296 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)." @@ -20130,7 +20130,7 @@ paths: bundle_url: type: string examples: - default: &335 + default: &336 value: attestations: - bundle: @@ -20367,7 +20367,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *94 - - &361 + - &362 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`, @@ -20377,7 +20377,7 @@ paths: schema: &136 type: string description: The name of the tool used to generate the code scanning analysis. - - &362 + - &363 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 @@ -20400,7 +20400,7 @@ paths: be returned. in: query required: false - schema: &364 + schema: &365 type: string description: State of a code scanning alert. enum: @@ -20423,7 +20423,7 @@ paths: be returned. in: query required: false - schema: &365 + schema: &366 type: string description: Severity of a code scanning alert. enum: @@ -20449,7 +20449,7 @@ paths: updated_at: *133 url: *56 html_url: *57 - instances_url: &366 + instances_url: &367 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -20472,7 +20472,7 @@ paths: required: *21 nullable: true dismissed_at: *135 - dismissed_reason: &367 + dismissed_reason: &368 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -20481,13 +20481,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &368 + dismissed_comment: &369 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &369 + rule: &370 type: object properties: id: @@ -20540,7 +20540,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &370 + tool: &371 type: object properties: name: *136 @@ -20550,15 +20550,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *137 - most_recent_instance: &371 + most_recent_instance: &372 type: object properties: - ref: &363 + ref: &364 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &381 + analysis_key: &382 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -20569,7 +20569,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &382 + category: &383 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -21781,7 +21781,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &394 + properties: &395 name: type: string description: The name of the machine. @@ -21823,7 +21823,7 @@ paths: - ready - in_progress nullable: true - required: &395 + required: &396 - name - display_name - operating_system @@ -22691,7 +22691,7 @@ paths: - updated_at - visibility examples: - default: &396 + default: &397 value: total_count: 2 secrets: @@ -22729,7 +22729,7 @@ paths: description: Response content: application/json: - schema: &397 + schema: &398 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -22758,7 +22758,7 @@ paths: - key_id - key examples: - default: &398 + default: &399 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22790,7 +22790,7 @@ paths: application/json: schema: *146 examples: - default: &400 + default: &401 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -23961,7 +23961,7 @@ paths: application/json: schema: type: array - items: &253 + items: &254 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -24268,7 +24268,7 @@ paths: - date additionalProperties: true examples: - default: &254 + default: &255 value: - date: '2024-06-24' total_active_users: 24 @@ -24370,7 +24370,7 @@ paths: '500': *145 '403': *29 '404': *6 - '422': &255 + '422': &256 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -24438,7 +24438,7 @@ paths: application/json: schema: type: array - items: &256 + items: &257 title: Copilot Usage Metrics description: Summary of Copilot usage. type: object @@ -24525,7 +24525,7 @@ paths: - breakdown additionalProperties: false examples: - default: &257 + default: &258 value: - day: '2023-10-15' total_suggestions_count: 1000 @@ -24758,7 +24758,7 @@ paths: description: Response content: application/json: - schema: &427 + schema: &428 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -24775,7 +24775,7 @@ paths: - key_id - key examples: - default: &428 + default: &429 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26568,7 +26568,7 @@ paths: application/json: schema: *22 examples: - default: &466 + default: &467 value: id: 1 account: @@ -26793,7 +26793,7 @@ paths: required: true content: application/json: - schema: &467 + schema: &468 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -27404,7 +27404,7 @@ paths: application/json: schema: *192 examples: - default: &393 + default: &394 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -28630,7 +28630,7 @@ paths: parameters: - *94 - *200 - - &612 + - &615 name: repo_name description: repo_name parameter in: path @@ -29364,7 +29364,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &249 + items: &250 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -29655,7 +29655,7 @@ paths: - nuget - container - *94 - - &614 + - &617 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -29696,7 +29696,7 @@ paths: default: *208 '403': *29 '401': *25 - '400': &616 + '400': &619 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -31522,7 +31522,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &282 + '410': &283 description: Gone content: application/json: @@ -32410,7 +32410,7 @@ paths: description: Response content: application/json: - schema: &284 + schema: &285 title: Full Repository description: Full Repository type: object @@ -32803,7 +32803,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &415 + properties: &416 url: type: string format: uri @@ -32819,7 +32819,7 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &416 + required: &417 - url - key - name @@ -32908,7 +32908,7 @@ paths: - network_count - subscribers_count examples: - default: &286 + default: &287 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -33429,7 +33429,7 @@ paths: - *94 - *17 - *19 - - &551 + - &552 name: targets description: | A comma-separated list of rule targets to filter by. @@ -33710,7 +33710,7 @@ paths: type: object description: A repository rule. oneOf: - - &533 + - &534 title: creation description: Only allow users with bypass permission to create matching refs. @@ -33722,7 +33722,7 @@ paths: type: string enum: - creation - - &534 + - &535 title: update description: Only allow users with bypass permission to update matching refs. @@ -33743,7 +33743,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &536 + - &537 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -33755,7 +33755,7 @@ paths: type: string enum: - deletion - - &537 + - &538 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -33767,7 +33767,7 @@ paths: type: string enum: - required_linear_history - - &538 + - &539 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -33845,7 +33845,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &539 + - &540 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -33869,7 +33869,7 @@ paths: type: string required: - required_deployment_environments - - &540 + - &541 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -33881,7 +33881,7 @@ paths: type: string enum: - required_signatures - - &541 + - &542 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -33934,7 +33934,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &542 + - &543 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -33982,7 +33982,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &543 + - &544 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -33994,7 +33994,7 @@ paths: type: string enum: - non_fast_forward - - &544 + - &545 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -34030,7 +34030,7 @@ paths: required: - operator - pattern - - &545 + - &546 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -34066,7 +34066,7 @@ paths: required: - operator - pattern - - &546 + - &547 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -34102,7 +34102,7 @@ paths: required: - operator - pattern - - &547 + - &548 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -34138,7 +34138,7 @@ paths: required: - operator - pattern - - &548 + - &549 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -34264,7 +34264,7 @@ paths: maximum: 100 required: - max_file_size - - &549 + - &550 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -34314,7 +34314,7 @@ paths: - repository_id required: - workflows - - &550 + - &551 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -34552,7 +34552,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *94 - - &552 + - &553 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 @@ -34567,7 +34567,7 @@ paths: in: query schema: type: string - - &553 + - &554 name: time_period description: |- The time period to filter by. @@ -34583,14 +34583,14 @@ paths: - week - month default: day - - &554 + - &555 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 - - &555 + - &556 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -34610,7 +34610,7 @@ paths: description: Response content: application/json: - schema: &556 + schema: &557 title: Rule Suites description: Response type: array @@ -34665,7 +34665,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &557 + default: &558 value: - id: 21 actor_id: 12 @@ -34709,7 +34709,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *94 - - &558 + - &559 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -34725,7 +34725,7 @@ paths: description: Response content: application/json: - schema: &559 + schema: &560 title: Rule Suite description: Response type: object @@ -34824,7 +34824,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &560 + default: &561 value: id: 21 actor_id: 12 @@ -35019,6 +35019,165 @@ paths: description: Response '404': *6 '500': *145 + "/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: + - *94 + - *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: &239 + 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: &563 + 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': *145 + 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: + - *94 + - 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: &564 + allOf: + - *239 + - 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': *145 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: rules "/orgs/{org}/secret-scanning/alerts": get: summary: List secret scanning alerts for an organization @@ -35036,14 +35195,14 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *94 - - *239 - *240 - *241 - *242 + - *243 - *48 - *19 - *17 - - &562 + - &565 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 @@ -35053,7 +35212,7 @@ paths: required: false schema: type: string - - &563 + - &566 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 @@ -35063,9 +35222,9 @@ paths: required: false schema: type: string - - *243 - *244 - *245 + - *246 responses: '200': description: Response @@ -35073,9 +35232,9 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: *247 + default: *248 headers: Link: *58 '404': *6 @@ -35145,7 +35304,7 @@ paths: application/json: schema: type: array - items: &570 + items: &573 description: A repository security advisory. type: object properties: @@ -35365,7 +35524,7 @@ paths: login: type: string description: The username of the user credited. - type: *248 + type: *249 credits_detailed: type: array nullable: true @@ -35375,7 +35534,7 @@ paths: type: object properties: user: *4 - type: *248 + type: *249 state: type: string description: The state of the user's acceptance of the @@ -35436,7 +35595,7 @@ paths: - private_fork additionalProperties: false examples: - default: &571 + default: &574 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -35823,7 +35982,7 @@ paths: application/json: schema: type: array - items: *249 + items: *250 examples: default: *206 x-github: @@ -35910,7 +36069,7 @@ paths: description: Response content: application/json: - schema: &630 + schema: &633 type: object properties: total_minutes_used: @@ -35980,7 +36139,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &631 + default: &634 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -36016,7 +36175,7 @@ paths: description: Response content: application/json: - schema: &632 + schema: &635 type: object properties: total_gigabytes_bandwidth_used: @@ -36034,7 +36193,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &633 + default: &636 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -36066,7 +36225,7 @@ paths: description: Response content: application/json: - schema: &634 + schema: &637 type: object properties: days_left_in_billing_cycle: @@ -36084,7 +36243,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &635 + default: &638 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -36126,7 +36285,7 @@ paths: type: integer network_configurations: type: array - items: &250 + items: &251 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -36246,9 +36405,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: &251 + default: &252 value: id: 123456789ABCDEF name: My network configuration @@ -36277,7 +36436,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *94 - - &252 + - &253 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -36289,9 +36448,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 headers: Link: *58 x-github: @@ -36313,7 +36472,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *94 - - *252 + - *253 requestBody: required: true content: @@ -36352,9 +36511,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36374,7 +36533,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *94 - - *252 + - *253 responses: '204': description: Response @@ -36514,13 +36673,13 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: *254 + default: *255 '500': *145 '403': *29 '404': *6 - '422': *255 + '422': *256 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36587,9 +36746,9 @@ paths: application/json: schema: type: array - items: *256 + items: *257 examples: - default: *257 + default: *258 '500': *145 '401': *25 '403': *29 @@ -36717,7 +36876,7 @@ paths: description: Response content: application/json: - schema: &258 + schema: &259 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -37027,7 +37186,7 @@ paths: - repos_count - organization examples: - default: &259 + default: &260 value: id: 1 node_id: MDQ6VGVhbTE= @@ -37104,9 +37263,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - default: *259 + default: *260 '404': *6 x-github: githubCloudOnly: false @@ -37190,16 +37349,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *258 + schema: *259 examples: - default: *259 + default: *260 '201': description: Response content: application/json: - schema: *258 + schema: *259 examples: - default: *259 + default: *260 '404': *6 '422': *15 '403': *29 @@ -37269,7 +37428,7 @@ paths: application/json: schema: type: array - items: &260 + items: &261 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -37368,7 +37527,7 @@ paths: - updated_at - url examples: - default: &585 + default: &588 value: - author: login: octocat @@ -37477,9 +37636,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *261 examples: - default: &261 + default: &262 value: author: login: octocat @@ -37553,7 +37712,7 @@ paths: parameters: - *94 - *201 - - &262 + - &263 name: discussion_number description: The number that identifies the discussion. in: path @@ -37565,9 +37724,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *261 examples: - default: *261 + default: *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37591,7 +37750,7 @@ paths: parameters: - *94 - *201 - - *262 + - *263 requestBody: required: false content: @@ -37614,9 +37773,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *261 examples: - default: &586 + default: &589 value: author: login: octocat @@ -37688,7 +37847,7 @@ paths: parameters: - *94 - *201 - - *262 + - *263 responses: '204': description: Response @@ -37716,7 +37875,7 @@ paths: parameters: - *94 - *201 - - *262 + - *263 - *48 - *17 - *19 @@ -37727,7 +37886,7 @@ paths: application/json: schema: type: array - items: &263 + items: &264 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -37799,7 +37958,7 @@ paths: - updated_at - url examples: - default: &587 + default: &590 value: - author: login: octocat @@ -37869,7 +38028,7 @@ paths: parameters: - *94 - *201 - - *262 + - *263 requestBody: required: true content: @@ -37891,9 +38050,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *264 examples: - default: &264 + default: &265 value: author: login: octocat @@ -37961,8 +38120,8 @@ paths: parameters: - *94 - *201 - - *262 - - &265 + - *263 + - &266 name: comment_number description: The number that identifies the comment. in: path @@ -37974,9 +38133,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *264 examples: - default: *264 + default: *265 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38000,8 +38159,8 @@ paths: parameters: - *94 - *201 - - *262 - - *265 + - *263 + - *266 requestBody: required: true content: @@ -38023,9 +38182,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *264 examples: - default: &588 + default: &591 value: author: login: octocat @@ -38091,8 +38250,8 @@ paths: parameters: - *94 - *201 - - *262 - - *265 + - *263 + - *266 responses: '204': description: Response @@ -38120,8 +38279,8 @@ paths: parameters: - *94 - *201 - - *262 - - *265 + - *263 + - *266 - 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. @@ -38147,7 +38306,7 @@ paths: application/json: schema: type: array - items: &266 + items: &267 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -38190,7 +38349,7 @@ paths: - content - created_at examples: - default: &268 + default: &269 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -38242,8 +38401,8 @@ paths: parameters: - *94 - *201 - - *262 - - *265 + - *263 + - *266 requestBody: required: true content: @@ -38276,9 +38435,9 @@ paths: team discussion comment content: application/json: - schema: *266 + schema: *267 examples: - default: &267 + default: &268 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -38307,9 +38466,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38334,9 +38493,9 @@ paths: parameters: - *94 - *201 - - *262 - - *265 - - &269 + - *263 + - *266 + - &270 name: reaction_id description: The unique identifier of the reaction. in: path @@ -38370,7 +38529,7 @@ paths: parameters: - *94 - *201 - - *262 + - *263 - 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. @@ -38396,9 +38555,9 @@ paths: application/json: schema: type: array - items: *266 + items: *267 examples: - default: *268 + default: *269 headers: Link: *58 x-github: @@ -38426,7 +38585,7 @@ paths: parameters: - *94 - *201 - - *262 + - *263 requestBody: required: true content: @@ -38458,16 +38617,16 @@ paths: description: Response content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 '201': description: Response content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -38492,8 +38651,8 @@ paths: parameters: - *94 - *201 - - *262 - - *269 + - *263 + - *270 responses: '204': description: Response @@ -38614,7 +38773,7 @@ paths: description: Response content: application/json: - schema: &270 + schema: &271 title: Team Membership description: Team Membership type: object @@ -38641,7 +38800,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &589 + response-if-user-is-a-team-maintainer: &592 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -38704,9 +38863,9 @@ paths: description: Response content: application/json: - schema: *270 + schema: *271 examples: - response-if-users-membership-with-team-is-now-pending: &590 + response-if-users-membership-with-team-is-now-pending: &593 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -38780,7 +38939,7 @@ paths: application/json: schema: type: array - items: &271 + items: &272 title: Team Project description: A team's access to a project. type: object @@ -38848,7 +39007,7 @@ paths: - updated_at - permissions examples: - default: &591 + default: &594 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -38911,7 +39070,7 @@ paths: parameters: - *94 - *201 - - &272 + - &273 name: project_id description: The unique identifier of the project. in: path @@ -38923,9 +39082,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *272 examples: - default: &592 + default: &595 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -38987,7 +39146,7 @@ paths: parameters: - *94 - *201 - - *272 + - *273 requestBody: required: false content: @@ -39053,7 +39212,7 @@ paths: parameters: - *94 - *201 - - *272 + - *273 responses: '204': description: Response @@ -39121,14 +39280,14 @@ paths: parameters: - *94 - *201 - - *273 - *274 + - *275 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &593 + schema: &596 title: Team Repository description: A team's access to a repository. type: object @@ -39699,8 +39858,8 @@ paths: parameters: - *94 - *201 - - *273 - *274 + - *275 requestBody: required: false content: @@ -39747,8 +39906,8 @@ paths: parameters: - *94 - *201 - - *273 - *274 + - *275 responses: '204': description: Response @@ -39785,7 +39944,7 @@ paths: type: array items: *188 examples: - response-if-child-teams-exist: &594 + response-if-child-teams-exist: &597 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -39912,7 +40071,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#get-a-project-card parameters: - - &275 + - &276 name: card_id description: The unique identifier of the card. in: path @@ -39924,7 +40083,7 @@ paths: description: Response content: application/json: - schema: &276 + schema: &277 title: Project Card description: Project cards represent a scope of work. type: object @@ -39991,7 +40150,7 @@ paths: - created_at - updated_at examples: - default: &277 + default: &278 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -40047,7 +40206,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#update-an-existing-project-card parameters: - - *275 + - *276 requestBody: required: false content: @@ -40074,9 +40233,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *277 examples: - default: *277 + default: *278 '304': *37 '403': *29 '401': *25 @@ -40103,7 +40262,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#delete-a-project-card parameters: - - *275 + - *276 responses: '204': description: Response @@ -40147,7 +40306,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#move-a-project-card parameters: - - *275 + - *276 requestBody: required: true content: @@ -40258,7 +40417,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#get-a-project-column parameters: - - &278 + - &279 name: column_id description: The unique identifier of the column. in: path @@ -40270,7 +40429,7 @@ paths: description: Response content: application/json: - schema: &279 + schema: &280 title: Project Column description: Project columns contain cards of work. type: object @@ -40316,7 +40475,7 @@ paths: - created_at - updated_at examples: - default: &280 + default: &281 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -40351,7 +40510,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#update-an-existing-project-column parameters: - - *278 + - *279 requestBody: required: true content: @@ -40375,9 +40534,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: - default: *280 + default: *281 '304': *37 '403': *29 '401': *25 @@ -40402,7 +40561,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#delete-a-project-column parameters: - - *278 + - *279 responses: '204': description: Response @@ -40431,7 +40590,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#list-project-cards parameters: - - *278 + - *279 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -40452,7 +40611,7 @@ paths: application/json: schema: type: array - items: *276 + items: *277 examples: default: value: @@ -40511,7 +40670,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#create-a-project-card parameters: - - *278 + - *279 requestBody: required: true content: @@ -40551,9 +40710,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *277 examples: - default: *277 + default: *278 '304': *37 '403': *29 '401': *25 @@ -40609,7 +40768,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#move-a-project-column parameters: - - *278 + - *279 requestBody: required: true content: @@ -40669,7 +40828,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-a-project parameters: - - *272 + - *273 responses: '200': description: Response @@ -40677,7 +40836,7 @@ paths: application/json: schema: *222 examples: - default: &281 + default: &282 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -40734,7 +40893,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#update-a-project parameters: - - *272 + - *273 requestBody: required: false content: @@ -40782,7 +40941,7 @@ paths: application/json: schema: *222 examples: - default: *281 + default: *282 '404': description: Not Found if the authenticated user does not have access to the project @@ -40803,7 +40962,7 @@ paths: items: type: string '401': *25 - '410': *282 + '410': *283 '422': *7 x-github: githubCloudOnly: false @@ -40826,7 +40985,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#delete-a-project parameters: - - *272 + - *273 responses: '204': description: Delete Success @@ -40847,7 +41006,7 @@ paths: items: type: string '401': *25 - '410': *282 + '410': *283 '404': *6 x-github: githubCloudOnly: false @@ -40871,7 +41030,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#list-project-collaborators parameters: - - *272 + - *273 - 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 @@ -40928,7 +41087,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - - *272 + - *273 - *132 requestBody: required: false @@ -40981,7 +41140,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *272 + - *273 - *132 responses: '204': @@ -41013,7 +41172,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *272 + - *273 - *132 responses: '200': @@ -41087,7 +41246,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#list-project-columns parameters: - - *272 + - *273 - *17 - *19 responses: @@ -41097,7 +41256,7 @@ paths: application/json: schema: type: array - items: *279 + items: *280 examples: default: value: @@ -41135,7 +41294,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#create-a-project-column parameters: - - *272 + - *273 requestBody: required: true content: @@ -41158,7 +41317,7 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: default: value: @@ -41222,7 +41381,7 @@ paths: resources: type: object properties: - core: &283 + core: &284 title: Rate Limit type: object properties: @@ -41239,20 +41398,20 @@ paths: - remaining - reset - used - graphql: *283 - search: *283 - code_search: *283 - source_import: *283 - integration_manifest: *283 - code_scanning_upload: *283 - actions_runner_registration: *283 - scim: *283 - dependency_snapshots: *283 - code_scanning_autofix: *283 + graphql: *284 + search: *284 + code_search: *284 + source_import: *284 + integration_manifest: *284 + code_scanning_upload: *284 + actions_runner_registration: *284 + scim: *284 + dependency_snapshots: *284 + code_scanning_autofix: *284 required: - core - search - rate: *283 + rate: *284 required: - rate - resources @@ -41356,14 +41515,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *273 - *274 + - *275 responses: '200': description: Response content: application/json: - schema: *284 + schema: *285 examples: default-response: summary: Default response @@ -41864,7 +42023,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *285 + '301': *286 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41882,8 +42041,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *273 - *274 + - *275 requestBody: required: false content: @@ -42119,10 +42278,10 @@ paths: description: Response content: application/json: - schema: *284 + schema: *285 examples: - default: *286 - '307': &287 + default: *287 + '307': &288 description: Temporary Redirect content: application/json: @@ -42151,8 +42310,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *273 - *274 + - *275 responses: '204': description: Response @@ -42174,7 +42333,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *287 + '307': *288 '404': *6 x-github: githubCloudOnly: false @@ -42197,11 +42356,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *273 - *274 + - *275 - *17 - *19 - - &313 + - &314 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -42224,7 +42383,7 @@ paths: type: integer artifacts: type: array - items: &288 + items: &289 title: Artifact description: An artifact type: object @@ -42295,7 +42454,7 @@ paths: - expires_at - updated_at examples: - default: &314 + default: &315 value: total_count: 2 artifacts: @@ -42354,9 +42513,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *273 - *274 - - &289 + - *275 + - &290 name: artifact_id description: The unique identifier of the artifact. in: path @@ -42368,7 +42527,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *289 examples: default: value: @@ -42405,9 +42564,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *273 - *274 - - *289 + - *275 + - *290 responses: '204': description: Response @@ -42431,9 +42590,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *273 - *274 - - *289 + - *275 + - *290 - name: archive_format in: path required: true @@ -42447,7 +42606,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': *282 + '410': *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42470,14 +42629,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *273 - *274 + - *275 responses: '200': description: Response content: application/json: - schema: *290 + schema: *291 examples: default: value: @@ -42503,11 +42662,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *273 - *274 + - *275 - *17 - *19 - - &291 + - &292 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 @@ -42541,7 +42700,7 @@ paths: description: Response content: application/json: - schema: &292 + schema: &293 title: Repository actions caches description: Repository actions caches type: object @@ -42583,7 +42742,7 @@ paths: - total_count - actions_caches examples: - default: &293 + default: &294 value: total_count: 1 actions_caches: @@ -42615,23 +42774,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: - - *273 - *274 + - *275 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *291 + - *292 responses: '200': description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42651,8 +42810,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: - - *273 - *274 + - *275 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -42683,9 +42842,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *273 - *274 - - &294 + - *275 + - &295 name: job_id description: The unique identifier of the job. in: path @@ -42697,7 +42856,7 @@ paths: description: Response content: application/json: - schema: &317 + schema: &318 title: Job description: Information of a job execution in a workflow run type: object @@ -43004,9 +43163,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *273 - *274 - - *294 + - *275 + - *295 responses: '302': description: Response @@ -43034,9 +43193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *273 - *274 - - *294 + - *275 + - *295 requestBody: required: false content: @@ -43081,8 +43240,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: - - *273 - *274 + - *275 responses: '200': description: Status response @@ -43132,8 +43291,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: - - *273 - *274 + - *275 requestBody: required: true content: @@ -43196,8 +43355,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -43215,7 +43374,7 @@ paths: type: integer secrets: type: array - items: &319 + items: &320 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -43235,7 +43394,7 @@ paths: - created_at - updated_at examples: - default: &320 + default: &321 value: total_count: 2 secrets: @@ -43268,9 +43427,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *273 - *274 - - *295 + - *275 + - *296 - *19 responses: '200': @@ -43287,7 +43446,7 @@ paths: type: integer variables: type: array - items: &323 + items: &324 title: Actions Variable type: object properties: @@ -43317,7 +43476,7 @@ paths: - created_at - updated_at examples: - default: &324 + default: &325 value: total_count: 2 variables: @@ -43350,8 +43509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -43360,11 +43519,11 @@ paths: schema: type: object properties: - enabled: &297 + enabled: &298 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *108 - selected_actions_url: *296 + selected_actions_url: *297 required: - enabled examples: @@ -43391,8 +43550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *273 - *274 + - *275 responses: '204': description: Response @@ -43403,7 +43562,7 @@ paths: schema: type: object properties: - enabled: *297 + enabled: *298 allowed_actions: *108 required: - enabled @@ -43433,14 +43592,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: - - *273 - *274 + - *275 responses: '200': description: Response content: application/json: - schema: &298 + schema: &299 type: object properties: access_level: @@ -43457,7 +43616,7 @@ paths: required: - access_level examples: - default: &299 + default: &300 value: access_level: organization x-github: @@ -43481,15 +43640,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: - - *273 - *274 + - *275 requestBody: required: true content: application/json: - schema: *298 + schema: *299 examples: - default: *299 + default: *300 responses: '204': description: Response @@ -43513,8 +43672,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -43541,8 +43700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *273 - *274 + - *275 responses: '204': description: Response @@ -43574,14 +43733,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *273 - *274 + - *275 responses: '200': description: Response content: application/json: - schema: *300 + schema: *301 examples: default: *114 x-github: @@ -43604,8 +43763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *273 - *274 + - *275 responses: '204': description: Success response @@ -43616,7 +43775,7 @@ paths: required: true content: application/json: - schema: *301 + schema: *302 examples: default: *114 x-github: @@ -43645,8 +43804,8 @@ paths: in: query schema: type: string - - *273 - *274 + - *275 - *17 - *19 responses: @@ -43690,8 +43849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -43699,9 +43858,9 @@ paths: application/json: schema: type: array - items: *302 + items: *303 examples: - default: *303 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43723,8 +43882,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: - - *273 - *274 + - *275 requestBody: required: true content: @@ -43767,7 +43926,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *304 + '201': *305 '404': *6 '422': *7 '409': *46 @@ -43798,8 +43957,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *273 - *274 + - *275 responses: '201': description: Response @@ -43807,7 +43966,7 @@ paths: application/json: schema: *123 examples: - default: *305 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43835,8 +43994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *273 - *274 + - *275 responses: '201': description: Response @@ -43844,7 +44003,7 @@ paths: application/json: schema: *123 examples: - default: *306 + default: *307 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43866,8 +44025,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: - - *273 - *274 + - *275 - *120 responses: '200': @@ -43876,7 +44035,7 @@ paths: application/json: schema: *121 examples: - default: *307 + default: *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43897,8 +44056,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: - - *273 - *274 + - *275 - *120 responses: '204': @@ -43924,8 +44083,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: - - *273 - *274 + - *275 - *120 responses: '200': *125 @@ -43950,8 +44109,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: - - *273 - *274 + - *275 - *120 requestBody: required: true @@ -44000,8 +44159,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: - - *273 - *274 + - *275 - *120 requestBody: required: true @@ -44051,11 +44210,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: - - *273 - *274 + - *275 - *120 responses: - '200': *308 + '200': *309 '404': *6 x-github: githubCloudOnly: false @@ -44082,10 +44241,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: - - *273 - *274 + - *275 - *120 - - *309 + - *310 responses: '200': *125 '404': *6 @@ -44113,9 +44272,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *273 - *274 - - &327 + - *275 + - &328 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. @@ -44123,7 +44282,7 @@ paths: required: false schema: type: string - - &328 + - &329 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -44131,7 +44290,7 @@ paths: required: false schema: type: string - - &329 + - &330 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -44140,7 +44299,7 @@ paths: required: false schema: type: string - - &330 + - &331 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 @@ -44167,7 +44326,7 @@ paths: - pending - *17 - *19 - - &331 + - &332 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)." @@ -44176,7 +44335,7 @@ paths: schema: type: string format: date-time - - &310 + - &311 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -44185,13 +44344,13 @@ paths: schema: type: boolean default: false - - &332 + - &333 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &333 + - &334 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -44214,7 +44373,7 @@ paths: type: integer workflow_runs: type: array - items: &311 + items: &312 title: Workflow Run description: An invocation of a workflow type: object @@ -44309,7 +44468,7 @@ paths: that triggered the run. type: array nullable: true - items: &352 + items: &353 title: Pull Request Minimal type: object properties: @@ -44428,7 +44587,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &356 + properties: &357 id: type: string description: SHA for the commit @@ -44479,7 +44638,7 @@ paths: - name - email nullable: true - required: &357 + required: &358 - id - tree_id - message @@ -44526,7 +44685,7 @@ paths: - workflow_url - pull_requests examples: - default: &334 + default: &335 value: total_count: 1 workflow_runs: @@ -44762,24 +44921,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *273 - *274 - - &312 + - *275 + - &313 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *310 + - *311 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: &315 + default: &316 value: id: 30433642 name: Build @@ -45020,9 +45179,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *273 - *274 - - *312 + - *275 + - *313 responses: '204': description: Response @@ -45045,9 +45204,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *273 - *274 - - *312 + - *275 + - *313 responses: '200': description: Response @@ -45166,9 +45325,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: - - *273 - *274 - - *312 + - *275 + - *313 responses: '201': description: Response @@ -45201,12 +45360,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *273 - *274 - - *312 + - *275 + - *313 - *17 - *19 - - *313 + - *314 responses: '200': description: Response @@ -45222,9 +45381,9 @@ paths: type: integer artifacts: type: array - items: *288 + items: *289 examples: - default: *314 + default: *315 headers: Link: *58 x-github: @@ -45248,25 +45407,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *273 - *274 - - *312 - - &316 + - *275 + - *313 + - &317 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *310 + - *311 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *315 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45289,10 +45448,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *273 - *274 - - *312 - - *316 + - *275 + - *313 + - *317 - *17 - *19 responses: @@ -45310,9 +45469,9 @@ paths: type: integer jobs: type: array - items: *317 + items: *318 examples: - default: &318 + default: &319 value: total_count: 1 jobs: @@ -45425,10 +45584,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *273 - *274 - - *312 - - *316 + - *275 + - *313 + - *317 responses: '302': description: Response @@ -45456,9 +45615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *273 - *274 - - *312 + - *275 + - *313 responses: '202': description: Response @@ -45491,9 +45650,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: - - *273 - *274 - - *312 + - *275 + - *313 requestBody: required: true content: @@ -45560,9 +45719,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *273 - *274 - - *312 + - *275 + - *313 responses: '202': description: Response @@ -45595,9 +45754,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *273 - *274 - - *312 + - *275 + - *313 - 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 @@ -45627,9 +45786,9 @@ paths: type: integer jobs: type: array - items: *317 + items: *318 examples: - default: *318 + default: *319 headers: Link: *58 x-github: @@ -45654,9 +45813,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *273 - *274 - - *312 + - *275 + - *313 responses: '302': description: Response @@ -45683,9 +45842,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *273 - *274 - - *312 + - *275 + - *313 responses: '204': description: Response @@ -45712,9 +45871,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *273 - *274 - - *312 + - *275 + - *313 responses: '200': description: Response @@ -45774,7 +45933,7 @@ paths: items: type: object properties: - type: &436 + type: &437 type: string description: The type of reviewer. enum: @@ -45859,9 +46018,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *273 - *274 - - *312 + - *275 + - *313 requestBody: required: true content: @@ -45908,7 +46067,7 @@ paths: application/json: schema: type: array - items: &431 + items: &432 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -46014,7 +46173,7 @@ paths: - created_at - updated_at examples: - default: &432 + default: &433 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -46070,9 +46229,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *273 - *274 - - *312 + - *275 + - *313 requestBody: required: false content: @@ -46116,9 +46275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *273 - *274 - - *312 + - *275 + - *313 requestBody: required: false content: @@ -46151,12 +46310,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 @@ -46164,9 +46330,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *273 - *274 - - *312 + - *275 + - *313 responses: '200': description: Response @@ -46303,8 +46469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -46322,9 +46488,9 @@ paths: type: integer secrets: type: array - items: *319 + items: *320 examples: - default: *320 + default: *321 headers: Link: *58 x-github: @@ -46349,16 +46515,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *273 - *274 + - *275 responses: '200': description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *322 + default: *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46380,17 +46546,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *273 - *274 + - *275 - *127 responses: '200': description: Response content: application/json: - schema: *319 + schema: *320 examples: - default: &449 + default: &450 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -46416,8 +46582,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *273 - *274 + - *275 - *127 requestBody: required: true @@ -46475,8 +46641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *273 - *274 + - *275 - *127 responses: '204': @@ -46502,9 +46668,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *273 - *274 - - *295 + - *275 + - *296 - *19 responses: '200': @@ -46521,9 +46687,9 @@ paths: type: integer variables: type: array - items: *323 + items: *324 examples: - default: *324 + default: *325 headers: Link: *58 x-github: @@ -46546,8 +46712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -46599,17 +46765,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *273 - *274 + - *275 - *130 responses: '200': description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: &450 + default: &451 value: name: USERNAME value: octocat @@ -46635,8 +46801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *273 - *274 + - *275 - *130 requestBody: required: true @@ -46679,8 +46845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *273 - *274 + - *275 - *130 responses: '204': @@ -46706,8 +46872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -46725,7 +46891,7 @@ paths: type: integer workflows: type: array - items: &325 + items: &326 title: Workflow description: A GitHub Actions workflow type: object @@ -46832,9 +46998,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *273 - *274 - - &326 + - *275 + - &327 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -46849,7 +47015,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *326 examples: default: value: @@ -46882,9 +47048,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *273 - *274 - - *326 + - *275 + - *327 responses: '204': description: Response @@ -46909,9 +47075,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *273 - *274 - - *326 + - *275 + - *327 responses: '204': description: Response @@ -46962,9 +47128,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *273 - *274 - - *326 + - *275 + - *327 responses: '204': description: Response @@ -46991,19 +47157,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *273 - *274 - - *326 + - *275 - *327 - *328 - *329 - *330 + - *331 - *17 - *19 - - *331 - - *310 - *332 + - *311 - *333 + - *334 responses: '200': description: Response @@ -47019,9 +47185,9 @@ paths: type: integer workflow_runs: type: array - items: *311 + items: *312 examples: - default: *334 + default: *335 headers: Link: *58 x-github: @@ -47032,14 +47198,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 @@ -47047,9 +47219,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *273 - *274 - - *326 + - *275 + - *327 responses: '200': description: Response @@ -47110,8 +47282,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *273 - *274 + - *275 - *48 - *17 - *39 @@ -47275,8 +47447,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -47313,8 +47485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *273 - *274 + - *275 - name: assignee in: path required: true @@ -47350,8 +47522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -47463,8 +47635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *273 - *274 + - *275 - *17 - *39 - *40 @@ -47510,7 +47682,7 @@ paths: bundle_url: type: string examples: - default: *335 + default: *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47530,8 +47702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -47539,7 +47711,7 @@ paths: application/json: schema: type: array - items: &336 + items: &337 title: Autolink reference description: An autolink reference. type: object @@ -47589,8 +47761,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -47629,9 +47801,9 @@ paths: description: response content: application/json: - schema: *336 + schema: *337 examples: - default: &337 + default: &338 value: id: 1 key_prefix: TICKET- @@ -47662,9 +47834,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *273 - *274 - - &338 + - *275 + - &339 name: autolink_id description: The unique identifier of the autolink. in: path @@ -47676,9 +47848,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *337 examples: - default: *337 + default: *338 '404': *6 x-github: githubCloudOnly: false @@ -47698,9 +47870,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *273 - *274 - - *338 + - *275 + - *339 responses: '204': description: Response @@ -47724,8 +47896,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: - - *273 - *274 + - *275 responses: '200': description: Response if Dependabot is enabled @@ -47773,8 +47945,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *273 - *274 + - *275 responses: '204': description: Response @@ -47795,8 +47967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *273 - *274 + - *275 responses: '204': description: Response @@ -47816,8 +47988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *273 - *274 + - *275 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -47855,7 +48027,7 @@ paths: - url protected: type: boolean - protection: &340 + protection: &341 title: Branch Protection description: Branch Protection type: object @@ -47897,7 +48069,7 @@ paths: required: - contexts - checks - enforce_admins: &343 + enforce_admins: &344 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -47912,7 +48084,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &345 + required_pull_request_reviews: &346 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -47988,7 +48160,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &342 + restrictions: &343 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -48295,9 +48467,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *273 - *274 - - &341 + - *275 + - &342 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). @@ -48311,14 +48483,14 @@ paths: description: Response content: application/json: - schema: &351 + schema: &352 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &404 + commit: &405 title: Commit description: Commit type: object @@ -48352,7 +48524,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &339 + properties: &340 name: type: string example: '"Chris Wanstrath"' @@ -48367,7 +48539,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *339 + properties: *340 nullable: true message: type: string @@ -48388,7 +48560,7 @@ paths: required: - sha - url - verification: &456 + verification: &457 title: Verification type: object properties: @@ -48458,7 +48630,7 @@ paths: type: integer files: type: array - items: &419 + items: &420 title: Diff Entry description: Diff Entry type: object @@ -48541,7 +48713,7 @@ paths: - self protected: type: boolean - protection: *340 + protection: *341 protection_url: type: string format: uri @@ -48648,7 +48820,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *285 + '301': *286 '404': *6 x-github: githubCloudOnly: false @@ -48670,15 +48842,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '200': description: Response content: application/json: - schema: *340 + schema: *341 examples: default: value: @@ -48872,9 +49044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *273 - *274 - - *341 + - *275 + - *342 requestBody: required: true content: @@ -49129,7 +49301,7 @@ paths: url: type: string format: uri - required_status_checks: &348 + required_status_checks: &349 title: Status Check Policy description: Status Check Policy type: object @@ -49281,7 +49453,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *342 + restrictions: *343 required_conversation_resolution: type: object properties: @@ -49393,9 +49565,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '204': description: Response @@ -49420,17 +49592,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '200': description: Response content: application/json: - schema: *343 + schema: *344 examples: - default: &344 + default: &345 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -49452,17 +49624,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '200': description: Response content: application/json: - schema: *343 + schema: *344 examples: - default: *344 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49481,9 +49653,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '204': description: Response @@ -49508,17 +49680,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '200': description: Response content: application/json: - schema: *345 + schema: *346 examples: - default: &346 + default: &347 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -49614,9 +49786,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *273 - *274 - - *341 + - *275 + - *342 requestBody: required: false content: @@ -49714,9 +49886,9 @@ paths: description: Response content: application/json: - schema: *345 + schema: *346 examples: - default: *346 + default: *347 '422': *15 x-github: githubCloudOnly: false @@ -49737,9 +49909,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '204': description: Response @@ -49766,17 +49938,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '200': description: Response content: application/json: - schema: *343 + schema: *344 examples: - default: &347 + default: &348 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -49799,17 +49971,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '200': description: Response content: application/json: - schema: *343 + schema: *344 examples: - default: *347 + default: *348 '404': *6 x-github: githubCloudOnly: false @@ -49829,9 +50001,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '204': description: Response @@ -49856,17 +50028,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '200': description: Response content: application/json: - schema: *348 + schema: *349 examples: - default: &349 + default: &350 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -49892,9 +50064,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *273 - *274 - - *341 + - *275 + - *342 requestBody: required: false content: @@ -49946,9 +50118,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *349 examples: - default: *349 + default: *350 '404': *6 '422': *15 x-github: @@ -49970,9 +50142,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '204': description: Response @@ -49996,9 +50168,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '200': description: Response @@ -50032,9 +50204,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *273 - *274 - - *341 + - *275 + - *342 requestBody: required: false content: @@ -50101,9 +50273,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *273 - *274 - - *341 + - *275 + - *342 requestBody: required: false content: @@ -50167,9 +50339,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *273 - *274 - - *341 + - *275 + - *342 requestBody: content: application/json: @@ -50235,15 +50407,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '200': description: Response content: application/json: - schema: *342 + schema: *343 examples: default: value: @@ -50334,9 +50506,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '204': description: Response @@ -50359,9 +50531,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '200': description: Response @@ -50371,7 +50543,7 @@ paths: type: array items: *5 examples: - default: &350 + default: &351 value: - id: 1 slug: octoapp @@ -50428,9 +50600,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *273 - *274 - - *341 + - *275 + - *342 requestBody: required: true content: @@ -50464,7 +50636,7 @@ paths: type: array items: *5 examples: - default: *350 + default: *351 '422': *15 x-github: githubCloudOnly: false @@ -50485,9 +50657,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *273 - *274 - - *341 + - *275 + - *342 requestBody: required: true content: @@ -50521,7 +50693,7 @@ paths: type: array items: *5 examples: - default: *350 + default: *351 '422': *15 x-github: githubCloudOnly: false @@ -50542,9 +50714,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *273 - *274 - - *341 + - *275 + - *342 requestBody: required: true content: @@ -50578,7 +50750,7 @@ paths: type: array items: *5 examples: - default: *350 + default: *351 '422': *15 x-github: githubCloudOnly: false @@ -50600,9 +50772,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '200': description: Response @@ -50632,9 +50804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *273 - *274 - - *341 + - *275 + - *342 requestBody: required: false content: @@ -50693,9 +50865,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *273 - *274 - - *341 + - *275 + - *342 requestBody: required: false content: @@ -50754,9 +50926,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *273 - *274 - - *341 + - *275 + - *342 requestBody: content: application/json: @@ -50815,9 +50987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '200': description: Response @@ -50851,9 +51023,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *273 - *274 - - *341 + - *275 + - *342 requestBody: required: true content: @@ -50911,9 +51083,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *273 - *274 - - *341 + - *275 + - *342 requestBody: required: true content: @@ -50971,9 +51143,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *273 - *274 - - *341 + - *275 + - *342 requestBody: required: true content: @@ -51033,9 +51205,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *273 - *274 - - *341 + - *275 + - *342 requestBody: required: true content: @@ -51057,7 +51229,7 @@ paths: description: Response content: application/json: - schema: *351 + schema: *352 examples: default: value: @@ -51173,8 +51345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -51453,7 +51625,7 @@ paths: description: Response content: application/json: - schema: &353 + schema: &354 title: CheckRun description: A check performed on the code of a given code change type: object @@ -51572,8 +51744,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *352 - deployment: &644 + items: *353 + deployment: &647 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -51853,9 +52025,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *273 - *274 - - &354 + - *275 + - &355 name: check_run_id description: The unique identifier of the check run. in: path @@ -51867,9 +52039,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *354 examples: - default: &355 + default: &356 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -51969,9 +52141,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *273 - *274 - - *354 + - *275 + - *355 requestBody: required: true content: @@ -52211,9 +52383,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *354 examples: - default: *355 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52233,9 +52405,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *273 - *274 - - *354 + - *275 + - *355 - *17 - *19 responses: @@ -52332,9 +52504,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *273 - *274 - - *354 + - *275 + - *355 responses: '201': description: Response @@ -52378,8 +52550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -52401,7 +52573,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &358 + schema: &359 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -52465,7 +52637,7 @@ paths: nullable: true pull_requests: type: array - items: *352 + items: *353 nullable: true app: title: GitHub app @@ -52487,12 +52659,12 @@ paths: type: string format: date-time nullable: true - head_commit: &670 + head_commit: &673 title: Simple Commit description: A commit. type: object - properties: *356 - required: *357 + properties: *357 + required: *358 latest_check_runs_count: type: integer check_runs_url: @@ -52520,7 +52692,7 @@ paths: - check_runs_url - pull_requests examples: - default: &359 + default: &360 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -52811,9 +52983,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *358 + schema: *359 examples: - default: *359 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52832,8 +53004,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -53142,9 +53314,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *273 - *274 - - &360 + - *275 + - &361 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -53156,9 +53328,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *359 examples: - default: *359 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53181,17 +53353,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *273 - *274 - - *360 - - &412 + - *275 + - *361 + - &413 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &413 + - &414 name: status description: Returns check runs with the specified `status`. in: query @@ -53230,9 +53402,9 @@ paths: type: integer check_runs: type: array - items: *353 + items: *354 examples: - default: &414 + default: &415 value: total_count: 1 check_runs: @@ -53334,9 +53506,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *273 - *274 - - *360 + - *275 + - *361 responses: '201': description: Response @@ -53369,21 +53541,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *273 - *274 - - *361 + - *275 - *362 + - *363 - *19 - *17 - - &379 + - &380 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: *363 - - &380 + schema: *364 + - &381 name: pr description: The number of the pull request for the results you want to list. in: query @@ -53408,13 +53580,13 @@ paths: be returned. in: query required: false - schema: *364 + schema: *365 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *365 + schema: *366 responses: '200': description: Response @@ -53430,7 +53602,7 @@ paths: updated_at: *133 url: *56 html_url: *57 - instances_url: *366 + instances_url: *367 state: *138 fixed_at: *134 dismissed_by: @@ -53441,11 +53613,11 @@ paths: required: *21 nullable: true dismissed_at: *135 - dismissed_reason: *367 - dismissed_comment: *368 - rule: *369 - tool: *370 - most_recent_instance: *371 + dismissed_reason: *368 + dismissed_comment: *369 + rule: *370 + tool: *371 + most_recent_instance: *372 required: - number - created_at @@ -53561,7 +53733,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &372 + '403': &373 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -53588,9 +53760,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *273 - *274 - - &373 + - *275 + - &374 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -53604,7 +53776,7 @@ paths: description: Response content: application/json: - schema: &374 + schema: &375 type: object properties: number: *54 @@ -53612,7 +53784,7 @@ paths: updated_at: *133 url: *56 html_url: *57 - instances_url: *366 + instances_url: *367 state: *138 fixed_at: *134 dismissed_by: @@ -53623,8 +53795,8 @@ paths: required: *21 nullable: true dismissed_at: *135 - dismissed_reason: *367 - dismissed_comment: *368 + dismissed_reason: *368 + dismissed_comment: *369 rule: type: object properties: @@ -53678,8 +53850,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *370 - most_recent_instance: *371 + tool: *371 + most_recent_instance: *372 required: - number - created_at @@ -53768,7 +53940,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *372 + '403': *373 '404': *6 '503': *65 x-github: @@ -53788,9 +53960,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *273 - *274 - - *373 + - *275 + - *374 requestBody: required: true content: @@ -53805,8 +53977,8 @@ paths: enum: - open - dismissed - dismissed_reason: *367 - dismissed_comment: *368 + dismissed_reason: *368 + dismissed_comment: *369 required: - state examples: @@ -53821,7 +53993,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *375 examples: default: value: @@ -53896,7 +54068,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &378 + '403': &379 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -53923,15 +54095,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: - - *273 - *274 - - *373 + - *275 + - *374 responses: '200': description: Response content: application/json: - schema: &375 + schema: &376 type: object properties: status: @@ -53957,13 +54129,13 @@ paths: - description - started_at examples: - default: &376 + default: &377 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &377 + '400': &378 description: Bad Request content: application/json: @@ -53974,7 +54146,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': *372 + '403': *373 '404': *6 '503': *65 x-github: @@ -53999,29 +54171,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: - - *273 - *274 - - *373 + - *275 + - *374 responses: '200': description: OK content: application/json: - schema: *375 + schema: *376 examples: - default: *376 + default: *377 '202': description: Accepted content: application/json: - schema: *375 + schema: *376 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *377 + '400': *378 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -54053,9 +54225,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: - - *273 - *274 - - *373 + - *275 + - *374 requestBody: required: false content: @@ -54100,8 +54272,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *377 - '403': *378 + '400': *378 + '403': *379 '404': *6 '422': description: Unprocessable Entity @@ -54125,13 +54297,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *273 - *274 - - *373 + - *275 + - *374 - *19 - *17 - - *379 - *380 + - *381 responses: '200': description: Response @@ -54139,7 +54311,7 @@ paths: application/json: schema: type: array - items: *371 + items: *372 examples: default: value: @@ -54178,7 +54350,7 @@ paths: end_column: 50 classifications: - source - '403': *372 + '403': *373 '404': *6 '503': *65 x-github: @@ -54212,25 +54384,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *273 - *274 - - *361 + - *275 - *362 + - *363 - *19 - *17 - - *380 + - *381 - 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: *363 + schema: *364 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &383 + schema: &384 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -54251,23 +54423,23 @@ paths: application/json: schema: type: array - items: &384 + items: &385 type: object properties: - ref: *363 - commit_sha: &392 + ref: *364 + commit_sha: &393 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: *381 + analysis_key: *382 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *382 + category: *383 error: type: string example: error reading field xyz @@ -54291,8 +54463,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *383 - tool: *370 + sarif_id: *384 + tool: *371 deletable: type: boolean warning: @@ -54353,7 +54525,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *372 + '403': *373 '404': *6 '503': *65 x-github: @@ -54389,8 +54561,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: - - *273 - *274 + - *275 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -54403,7 +54575,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *385 examples: response: summary: application/json response @@ -54457,7 +54629,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *372 + '403': *373 '404': *6 '503': *65 x-github: @@ -54539,8 +54711,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: - - *273 - *274 + - *275 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -54593,7 +54765,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': *378 + '403': *379 '404': *6 '503': *65 x-github: @@ -54615,8 +54787,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -54624,7 +54796,7 @@ paths: application/json: schema: type: array - items: &385 + items: &386 title: CodeQL Database description: A CodeQL database. type: object @@ -54735,7 +54907,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': *372 + '403': *373 '404': *6 '503': *65 x-github: @@ -54764,8 +54936,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *273 - *274 + - *275 - name: language in: path description: The language of the CodeQL database. @@ -54777,7 +54949,7 @@ paths: description: Response content: application/json: - schema: *385 + schema: *386 examples: default: value: @@ -54809,9 +54981,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': &421 + '302': &422 description: Found - '403': *372 + '403': *373 '404': *6 '503': *65 x-github: @@ -54833,8 +55005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *273 - *274 + - *275 - name: language in: path description: The language of the CodeQL database. @@ -54844,7 +55016,7 @@ paths: responses: '204': description: Response - '403': *378 + '403': *379 '404': *6 '503': *65 x-github: @@ -54872,8 +55044,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -54882,7 +55054,7 @@ paths: type: object additionalProperties: false properties: - language: &386 + language: &387 type: string description: The language targeted by the CodeQL query enum: @@ -54960,7 +55132,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &390 + schema: &391 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -54970,7 +55142,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *386 + query_language: *387 query_pack_url: type: string description: The download url for the query pack. @@ -55017,7 +55189,7 @@ paths: items: type: object properties: - repository: &387 + repository: &388 title: Repository Identifier description: Repository Identifier type: object @@ -55053,7 +55225,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &391 + analysis_status: &392 type: string description: The new status of the CodeQL variant analysis repository task. @@ -55085,7 +55257,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &388 + access_mismatch_repos: &389 type: object properties: repository_count: @@ -55099,7 +55271,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: *387 + items: *388 required: - repository_count - repositories @@ -55121,8 +55293,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *388 - over_limit_repos: *388 + no_codeql_db_repos: *389 + over_limit_repos: *389 required: - access_mismatch_repos - not_found_repos @@ -55138,7 +55310,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &389 + value: &390 summary: Default response value: id: 1 @@ -55290,10 +55462,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *389 + value: *390 repository_lists: summary: Response for a successful variant analysis submission - value: *389 + value: *390 '404': *6 '422': description: Unable to process variant analysis submission @@ -55321,8 +55493,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: - - *273 - *274 + - *275 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -55334,9 +55506,9 @@ paths: description: Response content: application/json: - schema: *390 + schema: *391 examples: - default: *389 + default: *390 '404': *6 '503': *65 x-github: @@ -55359,7 +55531,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: - - *273 + - *274 - name: repo in: path description: The name of the controller repository. @@ -55394,7 +55566,7 @@ paths: type: object properties: repository: *53 - analysis_status: *391 + analysis_status: *392 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -55519,8 +55691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -55594,7 +55766,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *372 + '403': *373 '404': *6 '503': *65 x-github: @@ -55615,8 +55787,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -55698,7 +55870,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *378 + '403': *379 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -55763,8 +55935,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -55772,7 +55944,7 @@ paths: schema: type: object properties: - commit_sha: *392 + commit_sha: *393 ref: type: string description: |- @@ -55830,7 +56002,7 @@ paths: schema: type: object properties: - id: *383 + id: *384 url: type: string description: The REST API URL for checking the status of the upload. @@ -55844,7 +56016,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': *378 + '403': *379 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -55867,8 +56039,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *273 - *274 + - *275 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -55914,7 +56086,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': *372 + '403': *373 '404': description: Not Found if the sarif id does not match any upload '503': *65 @@ -55939,8 +56111,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: - - *273 - *274 + - *275 responses: '200': description: Response @@ -56018,8 +56190,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *273 - *274 + - *275 - 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 @@ -56139,8 +56311,8 @@ paths: parameters: - *17 - *19 - - *273 - *274 + - *275 responses: '200': description: Response @@ -56454,8 +56626,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -56520,7 +56692,7 @@ paths: application/json: schema: *192 examples: - default: *393 + default: *394 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -56528,7 +56700,7 @@ paths: application/json: schema: *192 examples: - default: *393 + default: *394 '400': *14 '401': *25 '403': *29 @@ -56557,8 +56729,8 @@ paths: parameters: - *17 - *19 - - *273 - *274 + - *275 responses: '200': description: Response @@ -56622,8 +56794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *273 - *274 + - *275 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -56658,14 +56830,14 @@ paths: type: integer machines: type: array - items: &601 + items: &604 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *394 - required: *395 + properties: *395 + required: *396 examples: - default: &602 + default: &605 value: total_count: 2 machines: @@ -56705,8 +56877,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *273 - *274 + - *275 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -56790,8 +56962,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: - - *273 - *274 + - *275 - 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 @@ -56857,8 +57029,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -56876,7 +57048,7 @@ paths: type: integer secrets: type: array - items: &399 + items: &400 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -56896,7 +57068,7 @@ paths: - created_at - updated_at examples: - default: *396 + default: *397 headers: Link: *58 x-github: @@ -56919,16 +57091,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *273 - *274 + - *275 responses: '200': description: Response content: application/json: - schema: *397 + schema: *398 examples: - default: *398 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -56948,17 +57120,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *273 - *274 + - *275 - *127 responses: '200': description: Response content: application/json: - schema: *399 + schema: *400 examples: - default: *400 + default: *401 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56978,8 +57150,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *273 - *274 + - *275 - *127 requestBody: required: true @@ -57032,8 +57204,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *273 - *274 + - *275 - *127 responses: '204': @@ -57062,8 +57234,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *273 - *274 + - *275 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -57105,7 +57277,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &401 + properties: &402 login: type: string example: octocat @@ -57198,7 +57370,7 @@ paths: user_view_type: type: string example: public - required: &402 + required: &403 - avatar_url - events_url - followers_url @@ -57272,8 +57444,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *273 - *274 + - *275 - *132 responses: '204': @@ -57316,8 +57488,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *273 - *274 + - *275 - *132 requestBody: required: false @@ -57344,7 +57516,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &469 + schema: &470 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -57566,8 +57738,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *273 - *274 + - *275 - *132 responses: '204': @@ -57597,8 +57769,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *273 - *274 + - *275 - *132 responses: '200': @@ -57619,8 +57791,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *401 - required: *402 + properties: *402 + required: *403 nullable: true required: - permission @@ -57675,8 +57847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -57686,7 +57858,7 @@ paths: application/json: schema: type: array - items: &403 + items: &404 title: Commit Comment description: Commit Comment type: object @@ -57744,7 +57916,7 @@ paths: - created_at - updated_at examples: - default: &406 + default: &407 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -57803,17 +57975,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *273 - *274 + - *275 - *76 responses: '200': description: Response content: application/json: - schema: *403 + schema: *404 examples: - default: &407 + default: &408 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -57870,8 +58042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *273 - *274 + - *275 - *76 requestBody: required: true @@ -57894,7 +58066,7 @@ paths: description: Response content: application/json: - schema: *403 + schema: *404 examples: default: value: @@ -57945,8 +58117,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *273 - *274 + - *275 - *76 responses: '204': @@ -57968,8 +58140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *273 - *274 + - *275 - *76 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -57996,9 +58168,9 @@ paths: application/json: schema: type: array - items: *266 + items: *267 examples: - default: *268 + default: *269 headers: Link: *58 '404': *6 @@ -58019,8 +58191,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *273 - *274 + - *275 - *76 requestBody: required: true @@ -58053,16 +58225,16 @@ paths: description: Reaction exists content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 '201': description: Reaction created content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 '422': *15 x-github: githubCloudOnly: false @@ -58084,10 +58256,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *273 - *274 + - *275 - *76 - - *269 + - *270 responses: '204': description: Response @@ -58136,8 +58308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *273 - *274 + - *275 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -58193,9 +58365,9 @@ paths: application/json: schema: type: array - items: *404 + items: *405 examples: - default: &520 + default: &521 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -58289,9 +58461,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *273 - *274 - - &405 + - *275 + - &406 name: commit_sha description: The SHA of the commit. in: path @@ -58363,9 +58535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *273 - *274 - - *405 + - *275 + - *406 - *17 - *19 responses: @@ -58375,9 +58547,9 @@ paths: application/json: schema: type: array - items: *403 + items: *404 examples: - default: *406 + default: *407 headers: Link: *58 x-github: @@ -58405,9 +58577,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *273 - *274 - - *405 + - *275 + - *406 requestBody: required: true content: @@ -58442,9 +58614,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *404 examples: - default: *407 + default: *408 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -58472,9 +58644,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *273 - *274 - - *405 + - *275 + - *406 - *17 - *19 responses: @@ -58484,7 +58656,7 @@ paths: application/json: schema: type: array - items: &511 + items: &512 title: Pull Request Simple description: Pull Request Simple type: object @@ -58590,8 +58762,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *408 - required: *409 + properties: *409 + required: *410 nullable: true active_lock_reason: type: string @@ -58687,7 +58859,7 @@ paths: _links: type: object properties: - comments: &410 + comments: &411 title: Link description: Hypermedia Link type: object @@ -58696,13 +58868,13 @@ paths: type: string required: - href - commits: *410 - statuses: *410 - html: *410 - issue: *410 - review_comments: *410 - review_comment: *410 - self: *410 + commits: *411 + statuses: *411 + html: *411 + issue: *411 + review_comments: *411 + review_comment: *411 + self: *411 required: - comments - commits @@ -58713,7 +58885,7 @@ paths: - review_comment - self author_association: *63 - auto_merge: &513 + auto_merge: &514 title: Auto merge description: The status of auto merging a pull request. type: object @@ -58776,7 +58948,7 @@ paths: - author_association - auto_merge examples: - default: &512 + default: &513 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -59313,11 +59485,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *273 - *274 + - *275 - *19 - *17 - - &411 + - &412 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)" @@ -59332,9 +59504,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: &498 + default: &499 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -59447,11 +59619,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *273 - *274 - - *411 + - *275 - *412 - *413 + - *414 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -59485,9 +59657,9 @@ paths: type: integer check_runs: type: array - items: *353 + items: *354 examples: - default: *414 + default: *415 headers: Link: *58 x-github: @@ -59512,9 +59684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *273 - *274 - - *411 + - *275 + - *412 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -59522,7 +59694,7 @@ paths: schema: type: integer example: 1 - - *412 + - *413 - *17 - *19 responses: @@ -59540,7 +59712,7 @@ paths: type: integer check_suites: type: array - items: *358 + items: *359 examples: default: value: @@ -59740,9 +59912,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *273 - *274 - - *411 + - *275 + - *412 - *17 - *19 responses: @@ -59940,9 +60112,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *273 - *274 - - *411 + - *275 + - *412 - *17 - *19 responses: @@ -59952,7 +60124,7 @@ paths: application/json: schema: type: array - items: &575 + items: &578 title: Status description: The status of a commit. type: object @@ -60033,7 +60205,7 @@ paths: site_admin: false headers: Link: *58 - '301': *285 + '301': *286 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60061,8 +60233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -60091,20 +60263,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *415 - required: *416 + properties: *416 + required: *417 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &417 + properties: &418 url: type: string format: uri html_url: type: string format: uri - required: &418 + required: &419 - url - html_url nullable: true @@ -60118,26 +60290,26 @@ paths: contributing: title: Community Health File type: object - properties: *417 - required: *418 + properties: *418 + required: *419 nullable: true readme: title: Community Health File type: object - properties: *417 - required: *418 + properties: *418 + required: *419 nullable: true issue_template: title: Community Health File type: object - properties: *417 - required: *418 + properties: *418 + required: *419 nullable: true pull_request_template: title: Community Health File type: object - properties: *417 - required: *418 + properties: *418 + required: *419 nullable: true required: - code_of_conduct @@ -60264,8 +60436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *273 - *274 + - *275 - *19 - *17 - name: basehead @@ -60308,8 +60480,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *404 - merge_base_commit: *404 + base_commit: *405 + merge_base_commit: *405 status: type: string enum: @@ -60329,10 +60501,10 @@ paths: example: 6 commits: type: array - items: *404 + items: *405 files: type: array - items: *419 + items: *420 required: - url - html_url @@ -60618,8 +60790,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *273 - *274 + - *275 - name: path description: path parameter in: path @@ -60760,7 +60932,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &420 + response-if-content-is-a-file: &421 summary: Response if content is a file value: type: file @@ -60892,7 +61064,7 @@ paths: - size - type - url - - &525 + - &526 title: Content File description: Content File type: object @@ -61093,7 +61265,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *420 + response-if-content-is-a-file: *421 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -61162,7 +61334,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *421 + '302': *422 '304': *37 x-github: githubCloudOnly: false @@ -61185,8 +61357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *273 - *274 + - *275 - name: path description: path parameter in: path @@ -61279,7 +61451,7 @@ paths: description: Response content: application/json: - schema: &422 + schema: &423 title: File Commit description: File Commit type: object @@ -61431,7 +61603,7 @@ paths: description: Response content: application/json: - schema: *422 + schema: *423 examples: example-for-creating-a-file: value: @@ -61485,7 +61657,7 @@ paths: schema: oneOf: - *3 - - &451 + - &452 description: Repository rule violation was detected type: object properties: @@ -61506,7 +61678,7 @@ paths: items: type: object properties: - placeholder_id: &567 + placeholder_id: &570 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -61538,8 +61710,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *273 - *274 + - *275 - name: path description: path parameter in: path @@ -61600,7 +61772,7 @@ paths: description: Response content: application/json: - schema: *422 + schema: *423 examples: default: value: @@ -61655,8 +61827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *273 - *274 + - *275 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -61779,8 +61951,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *273 - *274 + - *275 - *149 - *150 - *151 @@ -61822,7 +61994,7 @@ paths: application/json: schema: type: array - items: &425 + items: &426 type: object description: A Dependabot alert. properties: @@ -61855,7 +62027,7 @@ paths: enum: - development - runtime - security_advisory: *423 + security_advisory: *424 security_vulnerability: *52 url: *56 html_url: *57 @@ -61886,7 +62058,7 @@ paths: nullable: true maxLength: 280 fixed_at: *134 - auto_dismissed_at: *424 + auto_dismissed_at: *425 required: - number - state @@ -62116,9 +62288,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *273 - *274 - - &426 + - *275 + - &427 name: alert_number in: path description: |- @@ -62133,7 +62305,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *426 examples: default: value: @@ -62246,9 +62418,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *273 - *274 - - *426 + - *275 + - *427 requestBody: required: true content: @@ -62293,7 +62465,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *426 examples: default: value: @@ -62422,8 +62594,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -62441,7 +62613,7 @@ paths: type: integer secrets: type: array - items: &429 + items: &430 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -62494,16 +62666,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *273 - *274 + - *275 responses: '200': description: Response content: application/json: - schema: *427 + schema: *428 examples: - default: *428 + default: *429 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62523,15 +62695,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *273 - *274 + - *275 - *127 responses: '200': description: Response content: application/json: - schema: *429 + schema: *430 examples: default: value: @@ -62557,8 +62729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *273 - *274 + - *275 - *127 requestBody: required: true @@ -62611,8 +62783,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *273 - *274 + - *275 - *127 responses: '204': @@ -62635,8 +62807,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: - - *273 - *274 + - *275 - 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 @@ -62796,8 +62968,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: - - *273 - *274 + - *275 responses: '200': description: Response @@ -63036,8 +63208,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: - - *273 - *274 + - *275 requestBody: required: true content: @@ -63112,7 +63284,7 @@ paths: - version - url additionalProperties: false - metadata: &430 + metadata: &431 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -63145,7 +63317,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *430 + metadata: *431 resolved: type: object description: A collection of resolved package dependencies. @@ -63158,7 +63330,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *430 + metadata: *431 relationship: type: string description: A notation of whether a dependency is requested @@ -63287,8 +63459,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *273 - *274 + - *275 - name: sha description: The SHA recorded at creation time. in: query @@ -63328,9 +63500,9 @@ paths: application/json: schema: type: array - items: *431 + items: *432 examples: - default: *432 + default: *433 headers: Link: *58 x-github: @@ -63396,8 +63568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -63478,7 +63650,7 @@ paths: description: Response content: application/json: - schema: *431 + schema: *432 examples: simple-example: summary: Simple example @@ -63551,9 +63723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *273 - *274 - - &433 + - *275 + - &434 name: deployment_id description: deployment_id parameter in: path @@ -63565,7 +63737,7 @@ paths: description: Response content: application/json: - schema: *431 + schema: *432 examples: default: value: @@ -63630,9 +63802,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *273 - *274 - - *433 + - *275 + - *434 responses: '204': description: Response @@ -63654,9 +63826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *273 - *274 - - *433 + - *275 + - *434 - *17 - *19 responses: @@ -63666,7 +63838,7 @@ paths: application/json: schema: type: array - items: &434 + items: &435 title: Deployment Status description: The status of a deployment. type: object @@ -63827,9 +63999,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *273 - *274 - - *433 + - *275 + - *434 requestBody: required: true content: @@ -63904,9 +64076,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *435 examples: - default: &435 + default: &436 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -63962,9 +64134,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *273 - *274 - - *433 + - *275 + - *434 - name: status_id in: path required: true @@ -63975,9 +64147,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *435 examples: - default: *435 + default: *436 '404': *6 x-github: githubCloudOnly: false @@ -64002,8 +64174,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -64060,8 +64232,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -64078,7 +64250,7 @@ paths: type: integer environments: type: array - items: &437 + items: &438 title: Environment description: Details of a deployment environment type: object @@ -64130,7 +64302,7 @@ paths: type: type: string example: wait_timer - wait_timer: &439 + wait_timer: &440 type: integer example: 30 description: The amount of time to delay a job after @@ -64167,7 +64339,7 @@ paths: items: type: object properties: - type: *436 + type: *437 reviewer: anyOf: - *4 @@ -64191,7 +64363,7 @@ paths: - id - node_id - type - deployment_branch_policy: &440 + deployment_branch_policy: &441 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -64307,9 +64479,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *273 - *274 - - &438 + - *275 + - &439 name: environment_name in: path required: true @@ -64322,9 +64494,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *438 examples: - default: &441 + default: &442 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -64408,9 +64580,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *273 - *274 - - *438 + - *275 + - *439 requestBody: required: false content: @@ -64419,7 +64591,7 @@ paths: type: object nullable: true properties: - wait_timer: *439 + wait_timer: *440 prevent_self_review: type: boolean example: false @@ -64436,13 +64608,13 @@ paths: items: type: object properties: - type: *436 + type: *437 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *440 + deployment_branch_policy: *441 additionalProperties: false examples: default: @@ -64462,9 +64634,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *438 examples: - default: *441 + default: *442 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -64488,9 +64660,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *273 - *274 - - *438 + - *275 + - *439 responses: '204': description: Default response @@ -64515,9 +64687,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *273 - *274 - - *438 + - *275 + - *439 - *17 - *19 responses: @@ -64535,7 +64707,7 @@ paths: example: 2 branch_policies: type: array - items: &442 + items: &443 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -64592,9 +64764,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *273 - *274 - - *438 + - *275 + - *439 requestBody: required: true content: @@ -64640,9 +64812,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *443 examples: - example-wildcard: &443 + example-wildcard: &444 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -64684,10 +64856,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *273 - *274 - - *438 - - &444 + - *275 + - *439 + - &445 name: branch_policy_id in: path required: true @@ -64699,9 +64871,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *443 examples: - default: *443 + default: *444 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64720,10 +64892,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *273 - *274 - - *438 - - *444 + - *275 + - *439 + - *445 requestBody: required: true content: @@ -64751,9 +64923,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *443 examples: - default: *443 + default: *444 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64772,10 +64944,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *273 - *274 - - *438 - - *444 + - *275 + - *439 + - *445 responses: '204': description: Response @@ -64800,9 +64972,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *438 + - *439 + - *275 - *274 - - *273 responses: '200': description: List of deployment protection rules @@ -64818,7 +64990,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &445 + items: &446 title: Deployment protection rule description: Deployment protection rule type: object @@ -64837,7 +65009,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &446 + app: &447 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -64936,9 +65108,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: - - *438 + - *439 + - *275 - *274 - - *273 requestBody: content: application/json: @@ -64959,9 +65131,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *445 + schema: *446 examples: - default: &447 + default: &448 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -64996,9 +65168,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: - - *438 + - *439 + - *275 - *274 - - *273 - *19 - *17 responses: @@ -65017,7 +65189,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *446 + items: *447 examples: default: value: @@ -65052,10 +65224,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *273 - *274 - - *438 - - &448 + - *275 + - *439 + - &449 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -65067,9 +65239,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *446 examples: - default: *447 + default: *448 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65090,10 +65262,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *438 + - *439 + - *275 - *274 - - *273 - - *448 + - *449 responses: '204': description: Response @@ -65119,9 +65291,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *273 - *274 - - *438 + - *275 + - *439 - *17 - *19 responses: @@ -65139,9 +65311,9 @@ paths: type: integer secrets: type: array - items: *319 + items: *320 examples: - default: *320 + default: *321 headers: Link: *58 x-github: @@ -65166,17 +65338,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *273 - *274 - - *438 + - *275 + - *439 responses: '200': description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *322 + default: *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65198,18 +65370,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *273 - *274 - - *438 + - *275 + - *439 - *127 responses: '200': description: Response content: application/json: - schema: *319 + schema: *320 examples: - default: *449 + default: *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65231,9 +65403,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *273 - *274 - - *438 + - *275 + - *439 - *127 requestBody: required: true @@ -65291,9 +65463,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *273 - *274 - - *438 + - *275 + - *439 - *127 responses: '204': @@ -65319,10 +65491,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *273 - *274 - - *438 - - *295 + - *275 + - *439 + - *296 - *19 responses: '200': @@ -65339,9 +65511,9 @@ paths: type: integer variables: type: array - items: *323 + items: *324 examples: - default: *324 + default: *325 headers: Link: *58 x-github: @@ -65364,9 +65536,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *273 - *274 - - *438 + - *275 + - *439 requestBody: required: true content: @@ -65418,18 +65590,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *273 - *274 - - *438 + - *275 + - *439 - *130 responses: '200': description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: *450 + default: *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65450,10 +65622,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *273 - *274 + - *275 - *130 - - *438 + - *439 requestBody: required: true content: @@ -65495,10 +65667,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *273 - *274 + - *275 - *130 - - *438 + - *439 responses: '204': description: Response @@ -65520,8 +65692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -65598,8 +65770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *273 - *274 + - *275 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -65758,8 +65930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *273 - *274 + - *275 requestBody: required: false content: @@ -65791,9 +65963,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *285 examples: - default: *286 + default: *287 '400': *14 '422': *15 '403': *29 @@ -65814,8 +65986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -65875,7 +66047,7 @@ paths: schema: oneOf: - *97 - - *451 + - *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65900,8 +66072,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *273 - *274 + - *275 - name: file_sha in: path required: true @@ -66000,8 +66172,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -66110,7 +66282,7 @@ paths: description: Response content: application/json: - schema: &452 + schema: &453 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -66324,15 +66496,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *273 - *274 - - *405 + - *275 + - *406 responses: '200': description: Response content: application/json: - schema: *452 + schema: *453 examples: default: value: @@ -66388,9 +66560,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *273 - *274 - - &453 + - *275 + - &454 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. @@ -66407,7 +66579,7 @@ paths: application/json: schema: type: array - items: &454 + items: &455 title: Git Reference description: Git references within a repository type: object @@ -66482,17 +66654,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *273 - *274 - - *453 + - *275 + - *454 responses: '200': description: Response content: application/json: - schema: *454 + schema: *455 examples: - default: &455 + default: &456 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -66521,8 +66693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -66551,9 +66723,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *455 examples: - default: *455 + default: *456 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -66579,9 +66751,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *273 - *274 - - *453 + - *275 + - *454 requestBody: required: true content: @@ -66610,9 +66782,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *455 examples: - default: *455 + default: *456 '422': *15 '409': *46 x-github: @@ -66630,9 +66802,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *273 - *274 - - *453 + - *275 + - *454 responses: '204': description: Response @@ -66685,8 +66857,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -66753,7 +66925,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &458 title: Git Tag description: Metadata for a Git tag type: object @@ -66804,7 +66976,7 @@ paths: - sha - type - url - verification: *456 + verification: *457 required: - sha - url @@ -66814,7 +66986,7 @@ paths: - tag - message examples: - default: &458 + default: &459 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -66887,8 +67059,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *273 - *274 + - *275 - name: tag_sha in: path required: true @@ -66899,9 +67071,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: *458 + default: *459 '404': *6 '409': *46 x-github: @@ -66925,8 +67097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -66999,7 +67171,7 @@ paths: description: Response content: application/json: - schema: &459 + schema: &460 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -67111,8 +67283,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *273 - *274 + - *275 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -67135,7 +67307,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *460 examples: default-response: summary: Default response @@ -67194,8 +67366,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -67205,7 +67377,7 @@ paths: application/json: schema: type: array - items: &460 + items: &461 title: Webhook description: Webhooks for repositories. type: object @@ -67259,7 +67431,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &678 + last_response: &681 title: Hook Response type: object properties: @@ -67333,8 +67505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *273 - *274 + - *275 requestBody: required: false content: @@ -67386,9 +67558,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *461 examples: - default: &461 + default: &462 value: type: Repository id: 12345678 @@ -67436,17 +67608,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *273 - *274 + - *275 - *165 responses: '200': description: Response content: application/json: - schema: *460 + schema: *461 examples: - default: *461 + default: *462 '404': *6 x-github: githubCloudOnly: false @@ -67466,8 +67638,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *273 - *274 + - *275 - *165 requestBody: required: true @@ -67513,9 +67685,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *461 examples: - default: *461 + default: *462 '422': *15 '404': *6 x-github: @@ -67536,8 +67708,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *273 - *274 + - *275 - *165 responses: '204': @@ -67562,8 +67734,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *273 - *274 + - *275 - *165 responses: '200': @@ -67591,8 +67763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *273 - *274 + - *275 - *165 requestBody: required: false @@ -67637,8 +67809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *273 - *274 + - *275 - *165 - *17 - *166 @@ -67670,8 +67842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *273 - *274 + - *275 - *165 - *16 responses: @@ -67700,8 +67872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *273 - *274 + - *275 - *165 - *16 responses: @@ -67725,8 +67897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *273 - *274 + - *275 - *165 responses: '204': @@ -67752,8 +67924,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *273 - *274 + - *275 - *165 responses: '204': @@ -67812,14 +67984,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *273 - *274 + - *275 responses: '200': description: Response content: application/json: - schema: &462 + schema: &463 title: Import description: A repository import from an external source. type: object @@ -67918,7 +68090,7 @@ paths: - html_url - authors_url examples: - default: &465 + default: &466 value: vcs: subversion use_lfs: true @@ -67934,7 +68106,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': &463 + '503': &464 description: Unavailable due to service under maintenance. content: application/json: @@ -67963,8 +68135,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -68012,7 +68184,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *463 examples: default: value: @@ -68037,7 +68209,7 @@ paths: type: string '422': *15 '404': *6 - '503': *463 + '503': *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68065,8 +68237,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *273 - *274 + - *275 requestBody: required: false content: @@ -68115,7 +68287,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *463 examples: example-1: summary: Example 1 @@ -68163,7 +68335,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': *463 + '503': *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68186,12 +68358,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *273 - *274 + - *275 responses: '204': description: Response - '503': *463 + '503': *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68217,9 +68389,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *273 - *274 - - &625 + - *275 + - &628 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -68233,7 +68405,7 @@ paths: application/json: schema: type: array - items: &464 + items: &465 title: Porter Author description: Porter Author type: object @@ -68287,7 +68459,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': *463 + '503': *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68312,8 +68484,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *273 - *274 + - *275 - name: author_id in: path required: true @@ -68343,7 +68515,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *465 examples: default: value: @@ -68356,7 +68528,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *463 + '503': *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68380,8 +68552,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -68422,7 +68594,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *463 + '503': *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68450,8 +68622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -68478,11 +68650,11 @@ paths: description: Response content: application/json: - schema: *462 + schema: *463 examples: - default: *465 + default: *466 '422': *15 - '503': *463 + '503': *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68505,8 +68677,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -68514,8 +68686,8 @@ paths: application/json: schema: *22 examples: - default: *466 - '301': *285 + default: *467 + '301': *286 '404': *6 x-github: githubCloudOnly: false @@ -68535,8 +68707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -68549,7 +68721,7 @@ paths: properties: {} additionalProperties: false examples: - default: &468 + default: &469 value: limit: collaborators_only origin: repository @@ -68574,13 +68746,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *273 - *274 + - *275 requestBody: required: true content: application/json: - schema: *467 + schema: *468 examples: default: summary: Example request body @@ -68594,7 +68766,7 @@ paths: application/json: schema: *183 examples: - default: *468 + default: *469 '409': description: Response x-github: @@ -68616,8 +68788,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *273 - *274 + - *275 responses: '204': description: Response @@ -68640,8 +68812,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -68651,9 +68823,9 @@ paths: application/json: schema: type: array - items: *469 + items: *470 examples: - default: &618 + default: &621 value: - id: 1 repository: @@ -68784,8 +68956,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *273 - *274 + - *275 - *187 requestBody: required: false @@ -68815,7 +68987,7 @@ paths: description: Response content: application/json: - schema: *469 + schema: *470 examples: default: value: @@ -68946,8 +69118,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *273 - *274 + - *275 - *187 responses: '204': @@ -68979,8 +69151,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *273 - *274 + - *275 - 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 @@ -69045,7 +69217,7 @@ paths: type: array items: *77 examples: - default: &480 + default: &481 value: - id: 1 node_id: MDU6SXNzdWUx @@ -69193,7 +69365,7 @@ paths: state_reason: completed headers: Link: *58 - '301': *285 + '301': *286 '422': *15 '404': *6 x-github: @@ -69222,8 +69394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -69300,7 +69472,7 @@ paths: application/json: schema: *77 examples: - default: &475 + default: &476 value: id: 1 node_id: MDU6SXNzdWUx @@ -69456,7 +69628,7 @@ paths: '422': *15 '503': *65 '404': *6 - '410': *282 + '410': *283 x-github: triggersNotification: true githubCloudOnly: false @@ -69484,8 +69656,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *273 - *274 + - *275 - *87 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -69506,9 +69678,9 @@ paths: application/json: schema: type: array - items: *470 + items: *471 examples: - default: &477 + default: &478 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -69566,17 +69738,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *273 - *274 + - *275 - *76 responses: '200': description: Response content: application/json: - schema: *470 + schema: *471 examples: - default: &471 + default: &472 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -69630,8 +69802,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *273 - *274 + - *275 - *76 requestBody: required: true @@ -69654,9 +69826,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: - default: *471 + default: *472 '422': *15 x-github: githubCloudOnly: false @@ -69674,8 +69846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *273 - *274 + - *275 - *76 responses: '204': @@ -69696,8 +69868,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *273 - *274 + - *275 - *76 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -69724,9 +69896,9 @@ paths: application/json: schema: type: array - items: *266 + items: *267 examples: - default: *268 + default: *269 headers: Link: *58 '404': *6 @@ -69747,8 +69919,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *273 - *274 + - *275 - *76 requestBody: required: true @@ -69781,16 +69953,16 @@ paths: description: Reaction exists content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 '201': description: Reaction created content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 '422': *15 x-github: githubCloudOnly: false @@ -69812,10 +69984,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *273 - *274 + - *275 - *76 - - *269 + - *270 responses: '204': description: Response @@ -69835,8 +70007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -69846,7 +70018,7 @@ paths: application/json: schema: type: array - items: &474 + items: &475 title: Issue Event description: Issue Event type: object @@ -69889,8 +70061,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *472 - required: *473 + properties: *473 + required: *474 nullable: true label: title: Issue Event Label @@ -70197,8 +70369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *273 - *274 + - *275 - name: event_id in: path required: true @@ -70209,7 +70381,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: default: value: @@ -70402,7 +70574,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *282 + '410': *283 '403': *29 x-github: githubCloudOnly: false @@ -70436,9 +70608,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *273 - *274 - - &476 + - *275 + - &477 name: issue_number description: The number that identifies the issue. in: path @@ -70452,10 +70624,10 @@ paths: application/json: schema: *77 examples: - default: *475 - '301': *285 + default: *476 + '301': *286 '404': *6 - '410': *282 + '410': *283 '304': *37 x-github: githubCloudOnly: false @@ -70480,9 +70652,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *273 - *274 - - *476 + - *275 + - *477 requestBody: required: false content: @@ -70579,13 +70751,13 @@ paths: application/json: schema: *77 examples: - default: *475 + default: *476 '422': *15 '503': *65 '403': *29 - '301': *285 + '301': *286 '404': *6 - '410': *282 + '410': *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70603,9 +70775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *273 - *274 - - *476 + - *275 + - *477 requestBody: required: false content: @@ -70633,7 +70805,7 @@ paths: application/json: schema: *77 examples: - default: *475 + default: *476 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70649,9 +70821,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *273 - *274 - - *476 + - *275 + - *477 requestBody: content: application/json: @@ -70678,7 +70850,7 @@ paths: application/json: schema: *77 examples: - default: *475 + default: *476 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70700,9 +70872,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: - - *273 - *274 - - *476 + - *275 + - *477 - name: assignee in: path required: true @@ -70742,9 +70914,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *273 - *274 - - *476 + - *275 + - *477 - *67 - *17 - *19 @@ -70755,13 +70927,13 @@ paths: application/json: schema: type: array - items: *470 + items: *471 examples: - default: *477 + default: *478 headers: Link: *58 '404': *6 - '410': *282 + '410': *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70790,9 +70962,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *273 - *274 - - *476 + - *275 + - *477 requestBody: required: true content: @@ -70814,16 +70986,16 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: - default: *471 + default: *472 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *282 + '410': *283 '422': *15 '404': *6 x-github: @@ -70843,9 +71015,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *273 - *274 - - *476 + - *275 + - *477 - *17 - *19 responses: @@ -70859,7 +71031,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &481 + - &482 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -70913,7 +71085,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &482 + - &483 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -71049,7 +71221,7 @@ paths: - performed_via_github_app - assignee - assigner - - &483 + - &484 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -71100,7 +71272,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &484 + - &485 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -71151,7 +71323,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &485 + - &486 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -71205,7 +71377,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &486 + - &487 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -71252,7 +71424,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &487 + - &488 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -71299,7 +71471,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &488 + - &489 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -71359,7 +71531,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &489 + - &490 title: Locked Issue Event description: Locked Issue Event type: object @@ -71407,7 +71579,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &490 + - &491 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -71473,7 +71645,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &491 + - &492 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -71539,7 +71711,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &492 + - &493 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -71605,7 +71777,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &493 + - &494 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -71696,7 +71868,7 @@ paths: color: red headers: Link: *58 - '410': *282 + '410': *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71713,9 +71885,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *273 - *274 - - *476 + - *275 + - *477 - *17 - *19 responses: @@ -71725,7 +71897,7 @@ paths: application/json: schema: type: array - items: &478 + items: &479 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -71772,7 +71944,7 @@ paths: - color - default examples: - default: &479 + default: &480 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -71790,9 +71962,9 @@ paths: default: false headers: Link: *58 - '301': *285 + '301': *286 '404': *6 - '410': *282 + '410': *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71809,9 +71981,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *273 - *274 - - *476 + - *275 + - *477 requestBody: required: false content: @@ -71870,12 +72042,12 @@ paths: application/json: schema: type: array - items: *478 + items: *479 examples: - default: *479 - '301': *285 + default: *480 + '301': *286 '404': *6 - '410': *282 + '410': *283 '422': *15 x-github: githubCloudOnly: false @@ -71892,9 +72064,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *273 - *274 - - *476 + - *275 + - *477 requestBody: required: false content: @@ -71954,12 +72126,12 @@ paths: application/json: schema: type: array - items: *478 + items: *479 examples: - default: *479 - '301': *285 + default: *480 + '301': *286 '404': *6 - '410': *282 + '410': *283 '422': *15 x-github: githubCloudOnly: false @@ -71976,15 +72148,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *273 - *274 - - *476 + - *275 + - *477 responses: '204': description: Response - '301': *285 + '301': *286 '404': *6 - '410': *282 + '410': *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72003,9 +72175,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *273 - *274 - - *476 + - *275 + - *477 - name: name in: path required: true @@ -72018,7 +72190,7 @@ paths: application/json: schema: type: array - items: *478 + items: *479 examples: default: value: @@ -72029,9 +72201,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *285 + '301': *286 '404': *6 - '410': *282 + '410': *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72051,9 +72223,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *273 - *274 - - *476 + - *275 + - *477 requestBody: required: false content: @@ -72081,7 +72253,7 @@ paths: '204': description: Response '403': *29 - '410': *282 + '410': *283 '404': *6 '422': *15 x-github: @@ -72099,9 +72271,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *273 - *274 - - *476 + - *275 + - *477 responses: '204': description: Response @@ -72123,9 +72295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *273 - *274 - - *476 + - *275 + - *477 - 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. @@ -72151,13 +72323,13 @@ paths: application/json: schema: type: array - items: *266 + items: *267 examples: - default: *268 + default: *269 headers: Link: *58 '404': *6 - '410': *282 + '410': *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72175,9 +72347,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *273 - *274 - - *476 + - *275 + - *477 requestBody: required: true content: @@ -72209,20 +72381,20 @@ paths: description: Response content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 '201': description: Response content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 '422': *15 x-github: githubCloudOnly: false - enabledForGitHubApps: false + enabledForGitHubApps: true category: reactions subcategory: reactions "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": @@ -72240,10 +72412,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *273 - *274 - - *476 - - *269 + - *275 + - *477 + - *270 responses: '204': description: Response @@ -72272,9 +72444,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *273 - *274 - - *476 + - *275 + - *477 requestBody: required: true content: @@ -72298,7 +72470,7 @@ paths: application/json: schema: *77 examples: - default: *475 + default: *476 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -72331,9 +72503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *273 - *274 - - *476 + - *275 + - *477 - *17 - *19 responses: @@ -72345,11 +72517,11 @@ paths: type: array items: *77 examples: - default: *480 + default: *481 headers: Link: *58 '404': *6 - '410': *282 + '410': *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72377,9 +72549,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *273 - *274 - - *476 + - *275 + - *477 requestBody: required: true content: @@ -72408,14 +72580,14 @@ paths: application/json: schema: *77 examples: - default: *475 + default: *476 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *282 + '410': *283 '422': *15 '404': *6 x-github: @@ -72435,9 +72607,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *273 - *274 - - *476 + - *275 + - *477 requestBody: required: true content: @@ -72470,7 +72642,7 @@ paths: application/json: schema: *77 examples: - default: *475 + default: *476 '403': *29 '404': *6 '422': *7 @@ -72492,9 +72664,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *273 - *274 - - *476 + - *275 + - *477 - *17 - *19 responses: @@ -72509,7 +72681,6 @@ paths: description: Timeline Event type: object anyOf: - - *481 - *482 - *483 - *484 @@ -72522,6 +72693,7 @@ paths: - *491 - *492 - *493 + - *494 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -72826,7 +72998,7 @@ paths: type: string comments: type: array - items: &514 + items: &515 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -73035,7 +73207,7 @@ paths: type: string comments: type: array - items: *403 + items: *404 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -73324,7 +73496,7 @@ paths: headers: Link: *58 '404': *6 - '410': *282 + '410': *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73341,8 +73513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -73352,7 +73524,7 @@ paths: application/json: schema: type: array - items: &494 + items: &495 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -73417,8 +73589,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -73454,9 +73626,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *495 examples: - default: &495 + default: &496 value: id: 1 key: ssh-rsa AAA... @@ -73490,9 +73662,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *273 - *274 - - &496 + - *275 + - &497 name: key_id description: The unique identifier of the key. in: path @@ -73504,9 +73676,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *495 examples: - default: *495 + default: *496 '404': *6 x-github: githubCloudOnly: false @@ -73524,9 +73696,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *273 - *274 - - *496 + - *275 + - *497 responses: '204': description: Response @@ -73546,8 +73718,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -73557,9 +73729,9 @@ paths: application/json: schema: type: array - items: *478 + items: *479 examples: - default: *479 + default: *480 headers: Link: *58 '404': *6 @@ -73580,8 +73752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -73617,9 +73789,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *479 examples: - default: &497 + default: &498 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -73651,8 +73823,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *273 - *274 + - *275 - name: name in: path required: true @@ -73663,9 +73835,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *479 examples: - default: *497 + default: *498 '404': *6 x-github: githubCloudOnly: false @@ -73682,8 +73854,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *273 - *274 + - *275 - name: name in: path required: true @@ -73722,7 +73894,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *479 examples: default: value: @@ -73748,8 +73920,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *273 - *274 + - *275 - name: name in: path required: true @@ -73775,8 +73947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -73815,9 +73987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *273 - *274 - - *379 + - *275 + - *380 responses: '200': description: Response @@ -73962,8 +74134,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -74028,8 +74200,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -74063,9 +74235,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *404 + schema: *405 examples: - default: *498 + default: *499 '204': description: Response when already merged '404': @@ -74090,8 +74262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *273 - *274 + - *275 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -74132,12 +74304,12 @@ paths: application/json: schema: type: array - items: &499 + items: &500 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *408 - required: *409 + properties: *409 + required: *410 examples: default: value: @@ -74193,8 +74365,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -74234,9 +74406,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: &500 + default: &501 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -74295,9 +74467,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *273 - *274 - - &501 + - *275 + - &502 name: milestone_number description: The number that identifies the milestone. in: path @@ -74309,9 +74481,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: *500 + default: *501 '404': *6 x-github: githubCloudOnly: false @@ -74328,9 +74500,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *273 - *274 - - *501 + - *275 + - *502 requestBody: required: false content: @@ -74368,9 +74540,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: *500 + default: *501 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74386,9 +74558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *273 - *274 - - *501 + - *275 + - *502 responses: '204': description: Response @@ -74409,9 +74581,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *273 - *274 - - *501 + - *275 + - *502 - *17 - *19 responses: @@ -74421,9 +74593,9 @@ paths: application/json: schema: type: array - items: *478 + items: *479 examples: - default: *479 + default: *480 headers: Link: *58 x-github: @@ -74442,12 +74614,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *273 - *274 - - *502 + - *275 - *503 - - *67 - *504 + - *67 + - *505 - *17 - *19 responses: @@ -74459,7 +74631,7 @@ paths: type: array items: *90 examples: - default: *505 + default: *506 headers: Link: *58 x-github: @@ -74483,8 +74655,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *273 - *274 + - *275 requestBody: required: false content: @@ -74542,14 +74714,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *273 - *274 + - *275 responses: '200': description: Response content: application/json: - schema: &506 + schema: &507 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -74674,7 +74846,7 @@ paths: - custom_404 - public examples: - default: &507 + default: &508 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -74715,8 +74887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -74770,9 +74942,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: *507 + default: *508 '422': *15 '409': *46 x-github: @@ -74795,8 +74967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -74895,8 +75067,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *273 - *274 + - *275 responses: '204': description: Response @@ -74922,8 +75094,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -74933,7 +75105,7 @@ paths: application/json: schema: type: array - items: &508 + items: &509 title: Page Build description: Page Build type: object @@ -75027,8 +75199,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *273 - *274 + - *275 responses: '201': description: Response @@ -75073,16 +75245,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *273 - *274 + - *275 responses: '200': description: Response content: application/json: - schema: *508 + schema: *509 examples: - default: &509 + default: &510 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -75130,8 +75302,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *273 - *274 + - *275 - name: build_id in: path required: true @@ -75142,9 +75314,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *509 examples: - default: *509 + default: *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75164,8 +75336,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -75270,9 +75442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *273 - *274 - - &510 + - *275 + - &511 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -75330,9 +75502,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *273 - *274 - - *510 + - *275 + - *511 responses: '204': *142 '404': *6 @@ -75359,8 +75531,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -75618,8 +75790,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: - - *273 - *274 + - *275 responses: '200': description: Private vulnerability reporting status @@ -75656,8 +75828,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *273 - *274 + - *275 responses: '204': *142 '422': *14 @@ -75678,8 +75850,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *273 - *274 + - *275 responses: '204': *142 '422': *14 @@ -75702,8 +75874,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-repository-projects parameters: - - *273 - *274 + - *275 - name: state description: Indicates the state of the projects to return. in: query @@ -75764,7 +75936,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *282 + '410': *283 '422': *7 x-github: githubCloudOnly: false @@ -75787,8 +75959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-a-repository-project parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -75816,11 +75988,11 @@ paths: application/json: schema: *222 examples: - default: *281 + default: *282 '401': *25 '403': *29 '404': *6 - '410': *282 + '410': *283 '422': *7 x-github: githubCloudOnly: false @@ -75843,8 +76015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -75883,8 +76055,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: - - *273 - *274 + - *275 requestBody: required: true content: @@ -75946,8 +76118,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *273 - *274 + - *275 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -76007,9 +76179,9 @@ paths: application/json: schema: type: array - items: *511 + items: *512 examples: - default: *512 + default: *513 headers: Link: *58 '304': *37 @@ -76041,8 +76213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -76107,7 +76279,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &517 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -76218,8 +76390,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *408 - required: *409 + properties: *409 + required: *410 nullable: true active_lock_reason: type: string @@ -76264,7 +76436,7 @@ paths: nullable: true requested_teams: type: array - items: *249 + items: *250 nullable: true head: type: object @@ -76303,14 +76475,14 @@ paths: _links: type: object properties: - comments: *410 - commits: *410 - statuses: *410 - html: *410 - issue: *410 - review_comments: *410 - review_comment: *410 - self: *410 + comments: *411 + commits: *411 + statuses: *411 + html: *411 + issue: *411 + review_comments: *411 + review_comment: *411 + self: *411 required: - comments - commits @@ -76321,7 +76493,7 @@ paths: - review_comment - self author_association: *63 - auto_merge: *513 + auto_merge: *514 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -76413,7 +76585,7 @@ paths: - merged_by - review_comments examples: - default: &517 + default: &518 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -76940,8 +77112,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *273 - *274 + - *275 - name: sort in: query required: false @@ -76970,9 +77142,9 @@ paths: application/json: schema: type: array - items: *514 + items: *515 examples: - default: &519 + default: &520 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -77049,17 +77221,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *273 - *274 + - *275 - *76 responses: '200': description: Response content: application/json: - schema: *514 + schema: *515 examples: - default: &515 + default: &516 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -77134,8 +77306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *273 - *274 + - *275 - *76 requestBody: required: true @@ -77158,9 +77330,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: - default: *515 + default: *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77176,8 +77348,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *273 - *274 + - *275 - *76 responses: '204': @@ -77199,8 +77371,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *273 - *274 + - *275 - *76 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -77227,9 +77399,9 @@ paths: application/json: schema: type: array - items: *266 + items: *267 examples: - default: *268 + default: *269 headers: Link: *58 '404': *6 @@ -77250,8 +77422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *273 - *274 + - *275 - *76 requestBody: required: true @@ -77284,16 +77456,16 @@ paths: description: Reaction exists content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 '201': description: Reaction created content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 '422': *15 x-github: githubCloudOnly: false @@ -77315,10 +77487,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *273 - *274 + - *275 - *76 - - *269 + - *270 responses: '204': description: Response @@ -77361,9 +77533,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *273 - *274 - - &518 + - *275 + - &519 name: pull_number description: The number that identifies the pull request. in: path @@ -77376,9 +77548,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *516 + schema: *517 examples: - default: *517 + default: *518 '304': *37 '404': *6 '406': @@ -77413,9 +77585,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *273 - *274 - - *518 + - *275 + - *519 requestBody: required: false content: @@ -77457,9 +77629,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: *517 + default: *518 '422': *15 '403': *29 x-github: @@ -77481,9 +77653,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *273 - *274 - - *518 + - *275 + - *519 requestBody: required: true content: @@ -77545,7 +77717,7 @@ paths: application/json: schema: *192 examples: - default: *393 + default: *394 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -77553,7 +77725,7 @@ paths: application/json: schema: *192 examples: - default: *393 + default: *394 '401': *25 '403': *29 '404': *6 @@ -77583,9 +77755,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *273 - *274 - - *518 + - *275 + - *519 - *87 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -77606,9 +77778,9 @@ paths: application/json: schema: type: array - items: *514 + items: *515 examples: - default: *519 + default: *520 headers: Link: *58 x-github: @@ -77641,9 +77813,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *273 - *274 - - *518 + - *275 + - *519 requestBody: required: true content: @@ -77748,7 +77920,7 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: example-for-a-multi-line-comment: value: @@ -77836,9 +78008,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *273 - *274 - - *518 + - *275 + - *519 - *76 requestBody: required: true @@ -77861,7 +78033,7 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: default: value: @@ -77947,9 +78119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *273 - *274 - - *518 + - *275 + - *519 - *17 - *19 responses: @@ -77959,9 +78131,9 @@ paths: application/json: schema: type: array - items: *404 + items: *405 examples: - default: *520 + default: *521 headers: Link: *58 x-github: @@ -77991,9 +78163,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *273 - *274 - - *518 + - *275 + - *519 - *17 - *19 responses: @@ -78003,7 +78175,7 @@ paths: application/json: schema: type: array - items: *419 + items: *420 examples: default: value: @@ -78041,9 +78213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *273 - *274 - - *518 + - *275 + - *519 responses: '204': description: Response if pull request has been merged @@ -78066,9 +78238,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *273 - *274 - - *518 + - *275 + - *519 requestBody: required: false content: @@ -78179,9 +78351,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *273 - *274 - - *518 + - *275 + - *519 responses: '200': description: Response @@ -78256,9 +78428,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *273 - *274 - - *518 + - *275 + - *519 requestBody: required: false content: @@ -78295,7 +78467,7 @@ paths: description: Response content: application/json: - schema: *511 + schema: *512 examples: default: value: @@ -78831,9 +79003,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *273 - *274 - - *518 + - *275 + - *519 requestBody: required: true content: @@ -78867,7 +79039,7 @@ paths: description: Response content: application/json: - schema: *511 + schema: *512 examples: default: value: @@ -79372,9 +79544,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *273 - *274 - - *518 + - *275 + - *519 - *17 - *19 responses: @@ -79384,7 +79556,7 @@ paths: application/json: schema: type: array - items: &521 + items: &522 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -79535,9 +79707,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *273 - *274 - - *518 + - *275 + - *519 requestBody: required: false content: @@ -79623,9 +79795,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: - default: &523 + default: &524 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -79688,10 +79860,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *273 - *274 - - *518 - - &522 + - *275 + - *519 + - &523 name: review_id description: The unique identifier of the review. in: path @@ -79703,9 +79875,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: - default: &524 + default: &525 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -79764,10 +79936,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *273 - *274 - - *518 - - *522 + - *275 + - *519 + - *523 requestBody: required: true content: @@ -79790,7 +79962,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: default: value: @@ -79852,18 +80024,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *273 - *274 - - *518 - - *522 + - *275 + - *519 + - *523 responses: '200': description: Response content: application/json: - schema: *521 + schema: *522 examples: - default: *523 + default: *524 '422': *7 '404': *6 x-github: @@ -79890,10 +80062,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *273 - *274 - - *518 - - *522 + - *275 + - *519 + - *523 - *17 - *19 responses: @@ -79976,9 +80148,9 @@ paths: _links: type: object properties: - self: *410 - html: *410 - pull_request: *410 + self: *411 + html: *411 + pull_request: *411 required: - self - html @@ -80121,10 +80293,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *273 - *274 - - *518 - - *522 + - *275 + - *519 + - *523 requestBody: required: true content: @@ -80152,7 +80324,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: default: value: @@ -80215,10 +80387,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *273 - *274 - - *518 - - *522 + - *275 + - *519 + - *523 requestBody: required: true content: @@ -80253,9 +80425,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: - default: *524 + default: *525 '404': *6 '422': *7 '403': *29 @@ -80277,9 +80449,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *273 - *274 - - *518 + - *275 + - *519 requestBody: required: false content: @@ -80342,8 +80514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *273 - *274 + - *275 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -80356,9 +80528,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: &526 + default: &527 value: type: file encoding: base64 @@ -80400,8 +80572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *273 - *274 + - *275 - name: dir description: The alternate path to look for a README file in: path @@ -80421,9 +80593,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: *526 + default: *527 '404': *6 '422': *15 x-github: @@ -80445,8 +80617,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -80456,7 +80628,7 @@ paths: application/json: schema: type: array - items: &527 + items: &528 title: Release description: A release. type: object @@ -80519,7 +80691,7 @@ paths: author: *4 assets: type: array - items: &528 + items: &529 title: Release Asset description: Data related to a release. type: object @@ -80700,8 +80872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -80777,9 +80949,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: - default: &531 + default: &532 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -80882,9 +81054,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *273 - *274 - - &529 + - *275 + - &530 name: asset_id description: The unique identifier of the asset. in: path @@ -80896,9 +81068,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *529 examples: - default: &530 + default: &531 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 @@ -80932,7 +81104,7 @@ paths: type: User site_admin: false '404': *6 - '302': *421 + '302': *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80948,9 +81120,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *273 - *274 - - *529 + - *275 + - *530 requestBody: required: false content: @@ -80978,9 +81150,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *529 examples: - default: *530 + default: *531 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80996,9 +81168,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *273 - *274 - - *529 + - *275 + - *530 responses: '204': description: Response @@ -81022,8 +81194,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -81108,16 +81280,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *273 - *274 + - *275 responses: '200': description: Response content: application/json: - schema: *527 + schema: *528 examples: - default: *531 + default: *532 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81134,8 +81306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *273 - *274 + - *275 - name: tag description: tag parameter in: path @@ -81148,9 +81320,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: - default: *531 + default: *532 '404': *6 x-github: githubCloudOnly: false @@ -81172,9 +81344,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *273 - *274 - - &532 + - *275 + - &533 name: release_id description: The unique identifier of the release. in: path @@ -81188,9 +81360,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: *527 + schema: *528 examples: - default: *531 + default: *532 '401': description: Unauthorized x-github: @@ -81208,9 +81380,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *273 - *274 - - *532 + - *275 + - *533 requestBody: required: false content: @@ -81274,9 +81446,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: - default: *531 + default: *532 '404': description: Not Found if the discussion category name is invalid content: @@ -81297,9 +81469,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *273 - *274 - - *532 + - *275 + - *533 responses: '204': description: Response @@ -81319,9 +81491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *273 - *274 - - *532 + - *275 + - *533 - *17 - *19 responses: @@ -81331,7 +81503,7 @@ paths: application/json: schema: type: array - items: *528 + items: *529 examples: default: value: @@ -81411,9 +81583,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: - - *273 - *274 - - *532 + - *275 + - *533 - name: name in: query required: true @@ -81439,7 +81611,7 @@ paths: description: Response for successful upload content: application/json: - schema: *528 + schema: *529 examples: response-for-successful-upload: value: @@ -81493,9 +81665,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *273 - *274 - - *532 + - *275 + - *533 - 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. @@ -81519,9 +81691,9 @@ paths: application/json: schema: type: array - items: *266 + items: *267 examples: - default: *268 + default: *269 headers: Link: *58 '404': *6 @@ -81542,9 +81714,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *273 - *274 - - *532 + - *275 + - *533 requestBody: required: true content: @@ -81574,16 +81746,16 @@ paths: description: Reaction exists content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 '201': description: Reaction created content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 '422': *15 x-github: githubCloudOnly: false @@ -81605,10 +81777,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *273 - *274 - - *532 - - *269 + - *275 + - *533 + - *270 responses: '204': description: Response @@ -81632,9 +81804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *273 - *274 - - *341 + - *275 + - *342 - *17 - *19 responses: @@ -81650,8 +81822,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *533 - - &535 + - *534 + - &536 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -81671,53 +81843,53 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *534 - *535 - - allOf: - *536 - - *535 - allOf: - *537 - - *535 + - *536 - allOf: - *538 - - *535 + - *536 - allOf: - *539 - - *535 + - *536 - allOf: - *540 - - *535 + - *536 - allOf: - *541 - - *535 + - *536 - allOf: - *542 - - *535 + - *536 - allOf: - *543 - - *535 + - *536 - allOf: - *544 - - *535 + - *536 - allOf: - *545 - - *535 + - *536 - allOf: - *546 - - *535 + - *536 - allOf: - *547 - - *535 + - *536 - allOf: - *548 - - *535 + - *536 - allOf: - *549 - - *535 + - *536 - allOf: - *550 - - *535 + - *536 + - allOf: + - *551 + - *536 examples: default: value: @@ -81756,8 +81928,8 @@ paths: category: repos subcategory: rules parameters: - - *273 - *274 + - *275 - *17 - *19 - name: includes_parents @@ -81768,7 +81940,7 @@ paths: schema: type: boolean default: true - - *551 + - *552 responses: '200': description: Response @@ -81823,8 +81995,8 @@ paths: category: repos subcategory: rules parameters: - - *273 - *274 + - *275 requestBody: description: Request body required: true @@ -81886,7 +82058,7 @@ paths: application/json: schema: *237 examples: - default: &561 + default: &562 value: id: 42 name: super cool ruleset @@ -81933,12 +82105,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *273 - *274 - - *552 + - *275 - *553 - *554 - *555 + - *556 - *17 - *19 responses: @@ -81946,9 +82118,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: *557 + default: *558 '404': *6 '500': *145 x-github: @@ -81969,17 +82141,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *273 - *274 - - *558 + - *275 + - *559 responses: '200': description: Response content: application/json: - schema: *559 + schema: *560 examples: - default: *560 + default: *561 '404': *6 '500': *145 x-github: @@ -82007,8 +82179,8 @@ paths: category: repos subcategory: rules parameters: - - *273 - *274 + - *275 - name: ruleset_id description: The ID of the ruleset. in: path @@ -82030,7 +82202,7 @@ paths: application/json: schema: *237 examples: - default: *561 + default: *562 '404': *6 '500': *145 put: @@ -82048,8 +82220,8 @@ paths: category: repos subcategory: rules parameters: - - *273 - *274 + - *275 - name: ruleset_id description: The ID of the ruleset. in: path @@ -82113,7 +82285,7 @@ paths: application/json: schema: *237 examples: - default: *561 + default: *562 '404': *6 '500': *145 delete: @@ -82131,8 +82303,8 @@ paths: category: repos subcategory: rules parameters: - - *273 - *274 + - *275 - name: ruleset_id description: The ID of the ruleset. in: path @@ -82144,6 +82316,113 @@ paths: description: Response '404': *6 '500': *145 + "/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: + - *274 + - *275 + - *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: *239 + examples: + default: *563 + '404': *6 + '500': *145 + 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: + - *274 + - *275 + - 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: *564 + 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': *145 + 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 @@ -82160,20 +82439,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *273 - *274 - - *239 + - *275 - *240 - *241 - *242 + - *243 - *48 - *19 - *17 - - *562 - - *563 - - *243 + - *565 + - *566 - *244 - *245 + - *246 responses: '200': description: Response @@ -82181,7 +82460,7 @@ paths: application/json: schema: type: array - items: &566 + items: &569 type: object properties: number: *54 @@ -82200,8 +82479,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *564 - resolution: *565 + state: *567 + resolution: *568 resolved_at: type: string format: date-time @@ -82414,15 +82693,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *273 - *274 - - *373 + - *275 + - *374 responses: '200': description: Response content: application/json: - schema: *566 + schema: *569 examples: default: value: @@ -82474,9 +82753,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *273 - *274 - - *373 + - *275 + - *374 requestBody: required: true content: @@ -82484,8 +82763,8 @@ paths: schema: type: object properties: - state: *564 - resolution: *565 + state: *567 + resolution: *568 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -82503,7 +82782,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *569 examples: default: value: @@ -82578,9 +82857,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *273 - *274 - - *373 + - *275 + - *374 - *19 - *17 responses: @@ -82591,7 +82870,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &699 + items: &702 type: object properties: type: @@ -82950,8 +83229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -82959,14 +83238,14 @@ paths: schema: type: object properties: - reason: &568 + reason: &571 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *567 + placeholder_id: *570 required: - reason - placeholder_id @@ -82983,7 +83262,7 @@ paths: schema: type: object properties: - reason: *568 + reason: *571 expire_at: type: string format: date-time @@ -83026,8 +83305,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: - - *273 - *274 + - *275 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -83042,7 +83321,7 @@ paths: properties: incremental_scans: type: array - items: &569 + items: &572 description: Information on a single scan performed by secret scanning on the repository type: object @@ -83068,15 +83347,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *569 + items: *572 backfill_scans: type: array - items: *569 + items: *572 custom_pattern_backfill_scans: type: array items: allOf: - - *569 + - *572 - type: object properties: pattern_name: @@ -83146,8 +83425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *273 - *274 + - *275 - *48 - name: sort description: The property to sort the results by. @@ -83191,9 +83470,9 @@ paths: application/json: schema: type: array - items: *570 + items: *573 examples: - default: *571 + default: *574 '400': *14 '404': *6 x-github: @@ -83216,8 +83495,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -83290,7 +83569,7 @@ paths: login: type: string description: The username of the user credited. - type: *248 + type: *249 required: - login - type @@ -83377,9 +83656,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *573 examples: - default: &573 + default: &576 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -83612,8 +83891,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -83717,7 +83996,7 @@ paths: description: Response content: application/json: - schema: *570 + schema: *573 examples: default: value: @@ -83864,17 +84143,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *273 - *274 - - *572 + - *275 + - *575 responses: '200': description: Response content: application/json: - schema: *570 + schema: *573 examples: - default: *573 + default: *576 '403': *29 '404': *6 x-github: @@ -83898,9 +84177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *273 - *274 - - *572 + - *275 + - *575 requestBody: required: true content: @@ -83973,7 +84252,7 @@ paths: login: type: string description: The username of the user credited. - type: *248 + type: *249 required: - login - type @@ -84059,10 +84338,10 @@ paths: description: Response content: application/json: - schema: *570 + schema: *573 examples: - default: *573 - add_credit: *573 + default: *576 + add_credit: *576 '403': *29 '404': *6 '422': @@ -84100,9 +84379,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: - - *273 - *274 - - *572 + - *275 + - *575 responses: '202': *47 '400': *14 @@ -84129,17 +84408,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *273 - *274 - - *572 + - *275 + - *575 responses: '202': description: Response content: application/json: - schema: *284 + schema: *285 examples: - default: *286 + default: *287 '400': *14 '422': *15 '403': *29 @@ -84165,8 +84444,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -84265,8 +84544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *273 - *274 + - *275 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -84275,7 +84554,7 @@ paths: application/json: schema: type: array - items: &574 + items: &577 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -84308,8 +84587,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -84385,8 +84664,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -84482,8 +84761,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *273 - *274 + - *275 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -84637,8 +84916,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *273 - *274 + - *275 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -84648,7 +84927,7 @@ paths: application/json: schema: type: array - items: *574 + items: *577 examples: default: value: @@ -84681,8 +84960,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *273 - *274 + - *275 - name: sha in: path required: true @@ -84736,7 +85015,7 @@ paths: description: Response content: application/json: - schema: *575 + schema: *578 examples: default: value: @@ -84790,8 +85069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -84823,14 +85102,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *273 - *274 + - *275 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &576 + schema: &579 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -84898,8 +85177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *273 - *274 + - *275 requestBody: required: false content: @@ -84925,7 +85204,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *579 examples: default: value: @@ -84952,8 +85231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *273 - *274 + - *275 responses: '204': description: Response @@ -84973,8 +85252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -85053,8 +85332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -85062,7 +85341,7 @@ paths: application/json: schema: type: array - items: &577 + items: &580 title: Tag protection description: Tag protection type: object @@ -85114,8 +85393,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: - - *273 - *274 + - *275 requestBody: required: true content: @@ -85138,7 +85417,7 @@ paths: description: Response content: application/json: - schema: *577 + schema: *580 examples: default: value: @@ -85169,8 +85448,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: - - *273 - *274 + - *275 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -85207,8 +85486,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *273 - *274 + - *275 - name: ref in: path required: true @@ -85244,8 +85523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -85277,8 +85556,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *273 - *274 + - *275 - *19 - *17 responses: @@ -85286,7 +85565,7 @@ paths: description: Response content: application/json: - schema: &578 + schema: &581 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -85298,7 +85577,7 @@ paths: required: - names examples: - default: &579 + default: &582 value: names: - octocat @@ -85321,8 +85600,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -85353,9 +85632,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *581 examples: - default: *579 + default: *582 '404': *6 '422': *7 x-github: @@ -85376,9 +85655,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *273 - *274 - - &580 + - *275 + - &583 name: per description: The time frame to display results for. in: query @@ -85407,7 +85686,7 @@ paths: example: 128 clones: type: array - items: &581 + items: &584 title: Traffic type: object properties: @@ -85494,8 +85773,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -85585,8 +85864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -85646,9 +85925,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *273 - *274 - - *580 + - *275 + - *583 responses: '200': description: Response @@ -85667,7 +85946,7 @@ paths: example: 3782 views: type: array - items: *581 + items: *584 required: - uniques - count @@ -85744,8 +86023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -86019,8 +86298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *273 - *274 + - *275 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -86043,8 +86322,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *273 - *274 + - *275 responses: '204': description: Response @@ -86066,8 +86345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *273 - *274 + - *275 responses: '204': description: Response @@ -86093,8 +86372,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *273 - *274 + - *275 - name: ref in: path required: true @@ -86186,9 +86465,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *285 examples: - default: *286 + default: *287 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -86436,7 +86715,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &582 + text_matches: &585 title: Search Result Text Matches type: array items: @@ -86598,7 +86877,7 @@ paths: enum: - author-date - committer-date - - &583 + - &586 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 @@ -86669,7 +86948,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *339 + properties: *340 nullable: true comment_count: type: integer @@ -86689,7 +86968,7 @@ paths: url: type: string format: uri - verification: *456 + verification: *457 required: - author - committer @@ -86708,7 +86987,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *339 + properties: *340 nullable: true parents: type: array @@ -86726,7 +87005,7 @@ paths: type: number node_id: type: string - text_matches: *582 + text_matches: *585 required: - sha - node_id @@ -86918,7 +87197,7 @@ paths: - interactions - created - updated - - *583 + - *586 - *17 - *19 responses: @@ -87037,8 +87316,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *408 - required: *409 + properties: *409 + required: *410 nullable: true comments: type: integer @@ -87052,7 +87331,7 @@ paths: type: string format: date-time nullable: true - text_matches: *582 + text_matches: *585 pull_request: type: object properties: @@ -87276,7 +87555,7 @@ paths: enum: - created - updated - - *583 + - *586 - *17 - *19 responses: @@ -87320,7 +87599,7 @@ paths: nullable: true score: type: number - text_matches: *582 + text_matches: *585 required: - id - node_id @@ -87405,7 +87684,7 @@ paths: - forks - help-wanted-issues - updated - - *583 + - *586 - *17 - *19 responses: @@ -87644,7 +87923,7 @@ paths: - admin - pull - push - text_matches: *582 + text_matches: *585 temp_clone_token: type: string allow_merge_commit: @@ -87944,7 +88223,7 @@ paths: type: string format: uri nullable: true - text_matches: *582 + text_matches: *585 related: type: array nullable: true @@ -88135,7 +88414,7 @@ paths: - followers - repositories - joined - - *583 + - *586 - *17 - *19 responses: @@ -88239,7 +88518,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *582 + text_matches: *585 blog: type: string nullable: true @@ -88318,7 +88597,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &584 + - &587 name: team_id description: The unique identifier of the team. in: path @@ -88330,9 +88609,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - default: *259 + default: *260 '404': *6 x-github: githubCloudOnly: false @@ -88359,7 +88638,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *584 + - *587 requestBody: required: true content: @@ -88422,16 +88701,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *258 + schema: *259 examples: - default: *259 + default: *260 '201': description: Response content: application/json: - schema: *258 + schema: *259 examples: - default: *259 + default: *260 '404': *6 '422': *15 '403': *29 @@ -88459,7 +88738,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *584 + - *587 responses: '204': description: Response @@ -88490,7 +88769,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *584 + - *587 - *48 - *17 - *19 @@ -88501,9 +88780,9 @@ paths: application/json: schema: type: array - items: *260 + items: *261 examples: - default: *585 + default: *588 headers: Link: *58 x-github: @@ -88532,7 +88811,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *584 + - *587 requestBody: required: true content: @@ -88566,9 +88845,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *261 examples: - default: *261 + default: *262 x-github: triggersNotification: true githubCloudOnly: false @@ -88595,16 +88874,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *584 - - *262 + - *587 + - *263 responses: '200': description: Response content: application/json: - schema: *260 + schema: *261 examples: - default: *261 + default: *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88629,8 +88908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *584 - - *262 + - *587 + - *263 requestBody: required: false content: @@ -88653,9 +88932,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *261 examples: - default: *586 + default: *589 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88680,8 +88959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *584 - - *262 + - *587 + - *263 responses: '204': description: Response @@ -88710,8 +88989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *584 - - *262 + - *587 + - *263 - *48 - *17 - *19 @@ -88722,9 +89001,9 @@ paths: application/json: schema: type: array - items: *263 + items: *264 examples: - default: *587 + default: *590 headers: Link: *58 x-github: @@ -88753,8 +89032,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *584 - - *262 + - *587 + - *263 requestBody: required: true content: @@ -88776,9 +89055,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *264 examples: - default: *264 + default: *265 x-github: triggersNotification: true githubCloudOnly: false @@ -88805,17 +89084,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *584 - - *262 - - *265 + - *587 + - *263 + - *266 responses: '200': description: Response content: application/json: - schema: *263 + schema: *264 examples: - default: *264 + default: *265 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88840,9 +89119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *584 - - *262 - - *265 + - *587 + - *263 + - *266 requestBody: required: true content: @@ -88864,9 +89143,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *264 examples: - default: *588 + default: *591 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88891,9 +89170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *584 - - *262 - - *265 + - *587 + - *263 + - *266 responses: '204': description: Response @@ -88922,9 +89201,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *584 - - *262 - - *265 + - *587 + - *263 + - *266 - 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. @@ -88950,9 +89229,9 @@ paths: application/json: schema: type: array - items: *266 + items: *267 examples: - default: *268 + default: *269 headers: Link: *58 x-github: @@ -88981,9 +89260,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *584 - - *262 - - *265 + - *587 + - *263 + - *266 requestBody: required: true content: @@ -89015,9 +89294,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89043,8 +89322,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *584 - - *262 + - *587 + - *263 - 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. @@ -89070,9 +89349,9 @@ paths: application/json: schema: type: array - items: *266 + items: *267 examples: - default: *268 + default: *269 headers: Link: *58 x-github: @@ -89101,8 +89380,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *584 - - *262 + - *587 + - *263 requestBody: required: true content: @@ -89134,9 +89413,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -89160,7 +89439,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *584 + - *587 - *17 - *19 responses: @@ -89198,7 +89477,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *584 + - *587 - name: role description: Filters members returned by their role in the team. in: query @@ -89249,7 +89528,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *584 + - *587 - *132 responses: '204': @@ -89286,7 +89565,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *584 + - *587 - *132 responses: '204': @@ -89326,7 +89605,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *584 + - *587 - *132 responses: '204': @@ -89363,16 +89642,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *584 + - *587 - *132 responses: '200': description: Response content: application/json: - schema: *270 + schema: *271 examples: - response-if-user-is-a-team-maintainer: *589 + response-if-user-is-a-team-maintainer: *592 '404': *6 x-github: githubCloudOnly: false @@ -89405,7 +89684,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *584 + - *587 - *132 requestBody: required: false @@ -89431,9 +89710,9 @@ paths: description: Response content: application/json: - schema: *270 + schema: *271 examples: - response-if-users-membership-with-team-is-now-pending: *590 + response-if-users-membership-with-team-is-now-pending: *593 '403': description: Forbidden if team synchronization is set up '422': @@ -89467,7 +89746,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *584 + - *587 - *132 responses: '204': @@ -89497,7 +89776,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *584 + - *587 - *17 - *19 responses: @@ -89507,9 +89786,9 @@ paths: application/json: schema: type: array - items: *271 + items: *272 examples: - default: *591 + default: *594 headers: Link: *58 '404': *6 @@ -89536,16 +89815,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *584 - - *272 + - *587 + - *273 responses: '200': description: Response content: application/json: - schema: *271 + schema: *272 examples: - default: *592 + default: *595 '404': description: Not Found if project is not managed by this team x-github: @@ -89570,8 +89849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *584 - - *272 + - *587 + - *273 requestBody: required: false content: @@ -89639,8 +89918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *584 - - *272 + - *587 + - *273 responses: '204': description: Response @@ -89667,7 +89946,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *584 + - *587 - *17 - *19 responses: @@ -89709,15 +89988,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *584 - - *273 + - *587 - *274 + - *275 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *593 + schema: *596 examples: alternative-response-with-extra-repository-information: value: @@ -89868,9 +90147,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *584 - - *273 + - *587 - *274 + - *275 requestBody: required: false content: @@ -89920,9 +90199,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *584 - - *273 + - *587 - *274 + - *275 responses: '204': description: Response @@ -89947,7 +90226,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *584 + - *587 - *17 - *19 responses: @@ -89959,7 +90238,7 @@ paths: type: array items: *188 examples: - response-if-child-teams-exist: *594 + response-if-child-teams-exist: *597 headers: Link: *58 '404': *6 @@ -89992,7 +90271,7 @@ paths: application/json: schema: oneOf: - - &596 + - &599 title: Private User description: Private User type: object @@ -90195,7 +90474,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *595 + - *598 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -90348,7 +90627,7 @@ paths: description: Response content: application/json: - schema: *596 + schema: *599 examples: default: value: @@ -90694,7 +90973,7 @@ paths: application/json: schema: *192 examples: - default: *393 + default: *394 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -90702,7 +90981,7 @@ paths: application/json: schema: *192 examples: - default: *393 + default: *394 '401': *25 '403': *29 '404': *6 @@ -90746,7 +91025,7 @@ paths: type: integer secrets: type: array - items: &597 + items: &600 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -90786,7 +91065,7 @@ paths: - visibility - selected_repositories_url examples: - default: *396 + default: *397 headers: Link: *58 x-github: @@ -90862,7 +91141,7 @@ paths: description: Response content: application/json: - schema: *597 + schema: *600 examples: default: value: @@ -91008,7 +91287,7 @@ paths: type: array items: *119 examples: - default: *598 + default: *601 '401': *25 '403': *29 '404': *6 @@ -91160,7 +91439,7 @@ paths: application/json: schema: *192 examples: - default: *393 + default: *394 '304': *37 '500': *145 '401': *25 @@ -91218,7 +91497,7 @@ paths: application/json: schema: *192 examples: - default: *393 + default: *394 '401': *25 '403': *29 '404': *6 @@ -91275,7 +91554,7 @@ paths: description: Response content: application/json: - schema: &599 + schema: &602 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -91316,7 +91595,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &600 + default: &603 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -91361,9 +91640,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *602 examples: - default: *600 + default: *603 '404': *6 x-github: githubCloudOnly: false @@ -91400,9 +91679,9 @@ paths: type: integer machines: type: array - items: *601 + items: *604 examples: - default: *602 + default: *605 '304': *37 '500': *145 '401': *25 @@ -91481,13 +91760,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *284 + repository: *285 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *394 - required: *395 + properties: *395 + required: *396 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -92269,7 +92548,7 @@ paths: application/json: schema: *192 examples: - default: *393 + default: *394 '304': *37 '500': *145 '400': *14 @@ -92309,7 +92588,7 @@ paths: application/json: schema: *192 examples: - default: *393 + default: *394 '500': *145 '401': *25 '403': *29 @@ -92341,7 +92620,7 @@ paths: type: array items: *207 examples: - default: &615 + default: &618 value: - id: 197 name: hello_docker @@ -92442,7 +92721,7 @@ paths: application/json: schema: type: array - items: &603 + items: &606 title: Email description: Email type: object @@ -92507,9 +92786,9 @@ paths: application/json: schema: type: array - items: *603 + items: *606 examples: - default: &617 + default: &620 value: - email: octocat@github.com verified: true @@ -92584,7 +92863,7 @@ paths: application/json: schema: type: array - items: *603 + items: *606 examples: default: value: @@ -92840,7 +93119,7 @@ paths: application/json: schema: type: array - items: &604 + items: &607 title: GPG Key description: A unique encryption key type: object @@ -92971,7 +93250,7 @@ paths: - subkeys - revoked examples: - default: &628 + default: &631 value: - id: 3 name: Octocat's GPG Key @@ -93056,9 +93335,9 @@ paths: description: Response content: application/json: - schema: *604 + schema: *607 examples: - default: &605 + default: &608 value: id: 3 name: Octocat's GPG Key @@ -93115,7 +93394,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &606 + - &609 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -93127,9 +93406,9 @@ paths: description: Response content: application/json: - schema: *604 + schema: *607 examples: - default: *605 + default: *608 '404': *6 '304': *37 '403': *29 @@ -93152,7 +93431,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *606 + - *609 responses: '204': description: Response @@ -93343,7 +93622,7 @@ paths: type: array items: *60 examples: - default: *607 + default: *610 headers: Link: *58 '404': *6 @@ -93457,7 +93736,7 @@ paths: required: true content: application/json: - schema: *467 + schema: *468 examples: default: value: @@ -93607,7 +93886,7 @@ paths: application/json: schema: type: array - items: &608 + items: &611 title: Key description: Key type: object @@ -93704,9 +93983,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *611 examples: - default: &609 + default: &612 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -93739,15 +94018,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *496 + - *497 responses: '200': description: Response content: application/json: - schema: *608 + schema: *611 examples: - default: *609 + default: *612 '404': *6 '304': *37 '403': *29 @@ -93770,7 +94049,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *496 + - *497 responses: '204': description: Response @@ -93803,7 +94082,7 @@ paths: application/json: schema: type: array - items: &610 + items: &613 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -93871,7 +94150,7 @@ paths: - account - plan examples: - default: &611 + default: &614 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -93933,9 +94212,9 @@ paths: application/json: schema: type: array - items: *610 + items: *613 examples: - default: *611 + default: *614 headers: Link: *58 '304': *37 @@ -94930,7 +95209,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *200 - - *612 + - *615 responses: '204': description: Response @@ -95003,7 +95282,7 @@ paths: type: array items: *196 examples: - default: *613 + default: *616 headers: Link: *58 '304': *37 @@ -95045,7 +95324,7 @@ paths: - docker - nuget - container - - *614 + - *617 - *19 - *17 responses: @@ -95057,8 +95336,8 @@ paths: type: array items: *207 examples: - default: *615 - '400': *616 + default: *618 + '400': *619 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95087,7 +95366,7 @@ paths: application/json: schema: *207 examples: - default: &629 + default: &632 value: id: 40201 name: octo-name @@ -95540,9 +95819,9 @@ paths: application/json: schema: type: array - items: *603 + items: *606 examples: - default: *617 + default: *620 headers: Link: *58 '304': *37 @@ -95655,7 +95934,7 @@ paths: type: array items: *60 examples: - default: &624 + default: &627 summary: Default response value: - id: 1296269 @@ -95957,9 +96236,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *285 examples: - default: *286 + default: *287 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95997,9 +96276,9 @@ paths: application/json: schema: type: array - items: *469 + items: *470 examples: - default: *618 + default: *621 headers: Link: *58 '304': *37 @@ -96078,7 +96357,7 @@ paths: application/json: schema: type: array - items: &619 + items: &622 title: Social account description: Social media account type: object @@ -96093,7 +96372,7 @@ paths: - provider - url examples: - default: &620 + default: &623 value: - provider: twitter url: https://twitter.com/github @@ -96155,9 +96434,9 @@ paths: application/json: schema: type: array - items: *619 + items: *622 examples: - default: *620 + default: *623 '422': *15 '304': *37 '404': *6 @@ -96244,7 +96523,7 @@ paths: application/json: schema: type: array - items: &621 + items: &624 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -96264,7 +96543,7 @@ paths: - title - created_at examples: - default: &636 + default: &639 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -96330,9 +96609,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *624 examples: - default: &622 + default: &625 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -96363,7 +96642,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: - - &623 + - &626 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -96375,9 +96654,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *624 examples: - default: *622 + default: *625 '404': *6 '304': *37 '403': *29 @@ -96400,7 +96679,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: - - *623 + - *626 responses: '204': description: Response @@ -96429,7 +96708,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &637 + - &640 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 @@ -96454,11 +96733,11 @@ paths: type: array items: *60 examples: - default-response: *624 + default-response: *627 application/vnd.github.v3.star+json: schema: type: array - items: &638 + items: &641 title: Starred Repository description: Starred Repository type: object @@ -96614,8 +96893,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: - - *273 - *274 + - *275 responses: '204': description: Response if this repository is starred by you @@ -96643,8 +96922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *273 - *274 + - *275 responses: '204': description: Response @@ -96668,8 +96947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *273 - *274 + - *275 responses: '204': description: Response @@ -96741,7 +97020,7 @@ paths: application/json: schema: type: array - items: *258 + items: *259 examples: default: value: @@ -96827,10 +97106,10 @@ paths: application/json: schema: oneOf: - - *596 - - *595 + - *599 + - *598 examples: - default-response: &626 + default-response: &629 summary: Default response value: login: octocat @@ -96865,7 +97144,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &627 + response-with-git-hub-plan-information: &630 summary: Response with GitHub plan information value: login: octocat @@ -96925,7 +97204,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *625 + - *628 - *17 responses: '200': @@ -96974,11 +97253,11 @@ paths: application/json: schema: oneOf: - - *596 - - *595 + - *599 + - *598 examples: - default-response: *626 - response-with-git-hub-plan-information: *627 + default-response: *629 + response-with-git-hub-plan-information: *630 '404': *6 x-github: githubCloudOnly: false @@ -97142,7 +97421,7 @@ paths: type: array items: *207 examples: - default: *615 + default: *618 '403': *29 '401': *25 x-github: @@ -97546,9 +97825,9 @@ paths: application/json: schema: type: array - items: *604 + items: *607 examples: - default: *628 + default: *631 headers: Link: *58 x-github: @@ -97652,7 +97931,7 @@ paths: application/json: schema: *22 examples: - default: *466 + default: *467 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97730,7 +98009,7 @@ paths: type: array items: *196 examples: - default: *613 + default: *616 headers: Link: *58 x-github: @@ -97769,7 +98048,7 @@ paths: - docker - nuget - container - - *614 + - *617 - *132 - *19 - *17 @@ -97782,10 +98061,10 @@ paths: type: array items: *207 examples: - default: *615 + default: *618 '403': *29 '401': *25 - '400': *616 + '400': *619 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97815,7 +98094,7 @@ paths: application/json: schema: *207 examples: - default: *629 + default: *632 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98414,9 +98693,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *633 examples: - default: *631 + default: *634 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98444,9 +98723,9 @@ paths: description: Response content: application/json: - schema: *632 + schema: *635 examples: - default: *633 + default: *636 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98474,9 +98753,9 @@ paths: description: Response content: application/json: - schema: *634 + schema: *637 examples: - default: *635 + default: *638 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98504,9 +98783,9 @@ paths: application/json: schema: type: array - items: *619 + items: *622 examples: - default: *620 + default: *623 headers: Link: *58 x-github: @@ -98536,9 +98815,9 @@ paths: application/json: schema: type: array - items: *621 + items: *624 examples: - default: *636 + default: *639 headers: Link: *58 x-github: @@ -98563,7 +98842,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *132 - - *637 + - *640 - *48 - *17 - *19 @@ -98575,11 +98854,11 @@ paths: schema: anyOf: - type: array - items: *638 + items: *641 - type: array items: *60 examples: - default-response: *624 + default-response: *627 headers: Link: *58 x-github: @@ -98738,7 +99017,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &639 + enterprise: &642 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -98796,7 +99075,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &640 + installation: &643 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -98815,7 +99094,7 @@ x-webhooks: required: - id - node_id - organization: &641 + organization: &644 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -98875,13 +99154,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &642 + repository: &645 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &672 + properties: &675 id: description: Unique identifier of the repository example: 42 @@ -99564,7 +99843,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &673 + required: &676 - archive_url - assignees_url - blobs_url @@ -99715,10 +99994,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -99794,11 +100073,11 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - rule: &643 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 + rule: &646 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) @@ -100021,11 +100300,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - rule: *643 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 + rule: *646 sender: *4 required: - action @@ -100208,11 +100487,11 @@ x-webhooks: - everyone required: - from - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - rule: *643 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 + rule: *646 sender: *4 required: - action @@ -100296,7 +100575,7 @@ x-webhooks: type: string enum: - completed - check_run: &645 + check_run: &648 title: CheckRun description: A check performed on the code of a given code change type: object @@ -100359,7 +100638,7 @@ x-webhooks: type: string pull_requests: type: array - items: *352 + items: *353 repository: *119 status: example: completed @@ -100397,7 +100676,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *644 + deployment: *647 details_url: example: https://example.com type: string @@ -100447,7 +100726,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *352 + items: *353 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -100482,9 +100761,9 @@ x-webhooks: - output - app - pull_requests - installation: *640 - organization: *641 - repository: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - check_run @@ -100877,10 +101156,10 @@ x-webhooks: type: string enum: - created - check_run: *645 - installation: *640 - organization: *641 - repository: *642 + check_run: *648 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - check_run @@ -101276,10 +101555,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *645 - installation: *640 - organization: *641 - repository: *642 + check_run: *648 + installation: *643 + organization: *644 + repository: *645 requested_action: description: The action requested by the user. type: object @@ -101684,10 +101963,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *645 - installation: *640 - organization: *641 - repository: *642 + check_run: *648 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - check_run @@ -102664,10 +102943,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -103337,10 +103616,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -104004,10 +104283,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -104170,7 +104449,7 @@ x-webhooks: required: - login - id - dismissed_comment: *368 + dismissed_comment: *369 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -104315,20 +104594,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &646 + commit_oid: &649 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: *639 - installation: *640 - organization: *641 - ref: &647 + enterprise: *642 + installation: *643 + organization: *644 + ref: &650 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: *642 + repository: *645 sender: *4 required: - action @@ -104490,7 +104769,7 @@ x-webhooks: required: - login - id - dismissed_comment: *368 + dismissed_comment: *369 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -104651,12 +104930,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *646 - enterprise: *639 - installation: *640 - organization: *641 - ref: *647 - repository: *642 + commit_oid: *649 + enterprise: *642 + installation: *643 + organization: *644 + ref: *650 + repository: *645 sender: *4 required: - action @@ -104751,7 +105030,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *368 + dismissed_comment: *369 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -104917,12 +105196,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *646 - enterprise: *639 - installation: *640 - organization: *641 - ref: *647 - repository: *642 + commit_oid: *649 + enterprise: *642 + installation: *643 + organization: *644 + ref: *650 + repository: *645 sender: *4 required: - action @@ -105085,7 +105364,7 @@ x-webhooks: required: - login - id - dismissed_comment: *368 + dismissed_comment: *369 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -105251,12 +105530,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *646 - enterprise: *639 - installation: *640 - organization: *641 - ref: *647 - repository: *642 + commit_oid: *649 + enterprise: *642 + installation: *643 + organization: *644 + ref: *650 + repository: *645 sender: *4 required: - action @@ -105353,7 +105632,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *368 + dismissed_comment: *369 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -105521,16 +105800,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 ref: 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 nullable: true - repository: *642 + repository: *645 sender: *4 required: - action @@ -105624,7 +105903,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *368 + dismissed_comment: *369 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -105764,12 +106043,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *646 - enterprise: *639 - installation: *640 - organization: *641 - ref: *647 - repository: *642 + commit_oid: *649 + enterprise: *642 + installation: *643 + organization: *644 + ref: *650 + repository: *645 sender: *4 required: - action @@ -106026,10 +106305,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -106109,18 +106388,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *641 - pusher_type: &648 + organization: *644 + pusher_type: &651 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &649 + ref: &652 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -106130,7 +106409,7 @@ x-webhooks: enum: - tag - branch - repository: *642 + repository: *645 sender: *4 required: - ref @@ -106213,9 +106492,9 @@ x-webhooks: enum: - created definition: *223 - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 sender: *4 required: - action @@ -106300,9 +106579,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 sender: *4 required: - action @@ -106380,9 +106659,9 @@ x-webhooks: enum: - updated definition: *223 - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 sender: *4 required: - action @@ -106459,10 +106738,10 @@ x-webhooks: type: string enum: - updated - enterprise: *639 - installation: *640 - repository: *642 - organization: *641 + enterprise: *642 + installation: *643 + repository: *645 + organization: *644 sender: *4 new_property_values: type: array @@ -106547,18 +106826,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *639 - installation: *640 - organization: *641 - pusher_type: *648 - ref: *649 + enterprise: *642 + installation: *643 + organization: *644 + pusher_type: *651 + ref: *652 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *642 + repository: *645 sender: *4 required: - ref @@ -106642,11 +106921,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *425 - installation: *640 - organization: *641 - enterprise: *639 - repository: *642 + alert: *426 + installation: *643 + organization: *644 + enterprise: *642 + repository: *645 sender: *4 required: - action @@ -106730,11 +107009,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *425 - installation: *640 - organization: *641 - enterprise: *639 - repository: *642 + alert: *426 + installation: *643 + organization: *644 + enterprise: *642 + repository: *645 sender: *4 required: - action @@ -106818,11 +107097,11 @@ x-webhooks: type: string enum: - created - alert: *425 - installation: *640 - organization: *641 - enterprise: *639 - repository: *642 + alert: *426 + installation: *643 + organization: *644 + enterprise: *642 + repository: *645 sender: *4 required: - action @@ -106904,11 +107183,11 @@ x-webhooks: type: string enum: - dismissed - alert: *425 - installation: *640 - organization: *641 - enterprise: *639 - repository: *642 + alert: *426 + installation: *643 + organization: *644 + enterprise: *642 + repository: *645 sender: *4 required: - action @@ -106990,11 +107269,11 @@ x-webhooks: type: string enum: - fixed - alert: *425 - installation: *640 - organization: *641 - enterprise: *639 - repository: *642 + alert: *426 + installation: *643 + organization: *644 + enterprise: *642 + repository: *645 sender: *4 required: - action @@ -107077,11 +107356,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *425 - installation: *640 - organization: *641 - enterprise: *639 - repository: *642 + alert: *426 + installation: *643 + organization: *644 + enterprise: *642 + repository: *645 sender: *4 required: - action @@ -107163,11 +107442,11 @@ x-webhooks: type: string enum: - reopened - alert: *425 - installation: *640 - organization: *641 - enterprise: *639 - repository: *642 + alert: *426 + installation: *643 + organization: *644 + enterprise: *642 + repository: *645 sender: *4 required: - action @@ -107244,9 +107523,9 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - key: &650 + enterprise: *642 + installation: *643 + key: &653 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -107282,8 +107561,8 @@ x-webhooks: - verified - created_at - read_only - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -107360,11 +107639,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - key: *650 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + key: *653 + organization: *644 + repository: *645 sender: *4 required: - action @@ -107925,12 +108204,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 - workflow: &654 + workflow: &657 title: Workflow type: object nullable: true @@ -108656,13 +108935,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *431 + deployment: *432 pull_requests: type: array - items: *516 - repository: *642 - organization: *641 - installation: *640 + items: *517 + repository: *645 + organization: *644 + installation: *643 sender: *4 responses: '200': @@ -108733,7 +109012,7 @@ x-webhooks: type: string enum: - approved - approver: &651 + approver: &654 type: object properties: avatar_url: @@ -108776,11 +109055,11 @@ x-webhooks: type: string comment: type: string - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - reviewers: &652 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 + reviewers: &655 type: array items: type: object @@ -108859,7 +109138,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &653 + workflow_job_run: &656 type: object properties: conclusion: @@ -109590,18 +109869,18 @@ x-webhooks: type: string enum: - rejected - approver: *651 + approver: *654 comment: type: string - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - reviewers: *652 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 + reviewers: *655 sender: *4 since: type: string - workflow_job_run: *653 + workflow_job_run: *656 workflow_job_runs: type: array items: @@ -110305,13 +110584,13 @@ x-webhooks: type: string enum: - requested - enterprise: *639 + enterprise: *642 environment: type: string - installation: *640 - organization: *641 - repository: *642 - requestor: &659 + installation: *643 + organization: *644 + repository: *645 + requestor: &662 title: User type: object nullable: true @@ -112210,12 +112489,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 - workflow: *654 + workflow: *657 workflow_run: title: Deployment Workflow Run type: object @@ -112895,7 +113174,7 @@ x-webhooks: type: string enum: - answered - answer: &657 + answer: &660 type: object properties: author_association: @@ -113052,7 +113331,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &655 + discussion: &658 title: Discussion description: A Discussion in a repository. type: object @@ -113338,7 +113617,7 @@ x-webhooks: - id labels: type: array - items: *478 + items: *479 required: - repository_url - category @@ -113360,10 +113639,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -113490,11 +113769,11 @@ x-webhooks: - from required: - category - discussion: *655 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *658 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -113577,11 +113856,11 @@ x-webhooks: type: string enum: - closed - discussion: *655 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *658 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -113663,7 +113942,7 @@ x-webhooks: type: string enum: - created - comment: &656 + comment: &659 type: object properties: author_association: @@ -113820,11 +114099,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *655 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *658 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -113907,12 +114186,12 @@ x-webhooks: type: string enum: - deleted - comment: *656 - discussion: *655 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + comment: *659 + discussion: *658 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -114007,12 +114286,12 @@ x-webhooks: - from required: - body - comment: *656 - discussion: *655 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + comment: *659 + discussion: *658 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -114096,11 +114375,11 @@ x-webhooks: type: string enum: - created - discussion: *655 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *658 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -114182,11 +114461,11 @@ x-webhooks: type: string enum: - deleted - discussion: *655 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *658 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -114286,11 +114565,11 @@ x-webhooks: type: string required: - from - discussion: *655 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *658 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -114372,10 +114651,10 @@ x-webhooks: type: string enum: - labeled - discussion: *655 - enterprise: *639 - installation: *640 - label: &658 + discussion: *658 + enterprise: *642 + installation: *643 + label: &661 title: Label type: object properties: @@ -114407,8 +114686,8 @@ x-webhooks: - color - default - description - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -114491,11 +114770,11 @@ x-webhooks: type: string enum: - locked - discussion: *655 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *658 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -114577,11 +114856,11 @@ x-webhooks: type: string enum: - pinned - discussion: *655 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *658 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -114663,11 +114942,11 @@ x-webhooks: type: string enum: - reopened - discussion: *655 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *658 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -114752,16 +115031,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *655 - new_repository: *642 + new_discussion: *658 + new_repository: *645 required: - new_discussion - new_repository - discussion: *655 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *658 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -114844,10 +115123,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *655 - old_answer: *657 - organization: *641 - repository: *642 + discussion: *658 + old_answer: *660 + organization: *644 + repository: *645 sender: *4 required: - action @@ -114929,12 +115208,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *655 - enterprise: *639 - installation: *640 - label: *658 - organization: *641 - repository: *642 + discussion: *658 + enterprise: *642 + installation: *643 + label: *661 + organization: *644 + repository: *645 sender: *4 required: - action @@ -115017,11 +115296,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *655 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *658 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -115103,11 +115382,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *655 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *658 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -115180,7 +115459,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *639 + enterprise: *642 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -115840,9 +116119,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *640 - organization: *641 - repository: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - forkee @@ -115988,9 +116267,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 pages: description: The pages that were updated. type: array @@ -116027,7 +116306,7 @@ x-webhooks: - action - sha - html_url - repository: *642 + repository: *645 sender: *4 required: - pages @@ -116103,10 +116382,10 @@ x-webhooks: type: string enum: - created - enterprise: *639 + enterprise: *642 installation: *22 - organization: *641 - repositories: &660 + organization: *644 + repositories: &663 description: An array of repository objects that the installation can access. type: array @@ -116132,8 +116411,8 @@ x-webhooks: - name - full_name - private - repository: *642 - requester: *659 + repository: *645 + requester: *662 sender: *4 required: - action @@ -116208,11 +116487,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 + enterprise: *642 installation: *22 - organization: *641 - repositories: *660 - repository: *642 + organization: *644 + repositories: *663 + repository: *645 requester: nullable: true sender: *4 @@ -116288,11 +116567,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *639 + enterprise: *642 installation: *22 - organization: *641 - repositories: *660 - repository: *642 + organization: *644 + repositories: *663 + repository: *645 requester: nullable: true sender: *4 @@ -116368,10 +116647,10 @@ x-webhooks: type: string enum: - added - enterprise: *639 + enterprise: *642 installation: *22 - organization: *641 - repositories_added: &661 + organization: *644 + repositories_added: &664 description: An array of repository objects, which were added to the installation. type: array @@ -116417,15 +116696,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *642 - repository_selection: &662 + repository: *645 + repository_selection: &665 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *659 + requester: *662 sender: *4 required: - action @@ -116504,10 +116783,10 @@ x-webhooks: type: string enum: - removed - enterprise: *639 + enterprise: *642 installation: *22 - organization: *641 - repositories_added: *661 + organization: *644 + repositories_added: *664 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -116534,9 +116813,9 @@ x-webhooks: - name - full_name - private - repository: *642 - repository_selection: *662 - requester: *659 + repository: *645 + repository_selection: *665 + requester: *662 sender: *4 required: - action @@ -116615,11 +116894,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *639 + enterprise: *642 installation: *22 - organization: *641 - repositories: *660 - repository: *642 + organization: *644 + repositories: *663 + repository: *645 requester: nullable: true sender: *4 @@ -116797,10 +117076,10 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 target_type: type: string @@ -116879,11 +117158,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *639 + enterprise: *642 installation: *22 - organization: *641 - repositories: *660 - repository: *642 + organization: *644 + repositories: *663 + repository: *645 requester: nullable: true sender: *4 @@ -117135,8 +117414,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -118291,8 +118570,8 @@ x-webhooks: - state - locked - assignee - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -118372,7 +118651,7 @@ x-webhooks: type: string enum: - deleted - comment: &663 + comment: &666 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -118537,8 +118816,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -119691,8 +119970,8 @@ x-webhooks: - state - locked - assignee - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -119772,7 +120051,7 @@ x-webhooks: type: string enum: - edited - changes: &691 + changes: &694 description: The changes to the comment. type: object properties: @@ -119784,9 +120063,9 @@ x-webhooks: type: string required: - from - comment: *663 - enterprise: *639 - installation: *640 + comment: *666 + enterprise: *642 + installation: *643 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -120940,8 +121219,8 @@ x-webhooks: - state - locked - assignee - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -121023,10 +121302,10 @@ x-webhooks: type: string enum: - assigned - assignee: *659 - enterprise: *639 - installation: *640 - issue: &666 + assignee: *662 + enterprise: *642 + installation: *643 + issue: &669 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -121944,8 +122223,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -122025,8 +122304,8 @@ x-webhooks: type: string enum: - closed - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -123084,8 +123363,8 @@ x-webhooks: required: - state - closed_at - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -123164,8 +123443,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -124076,8 +124355,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -124156,8 +124435,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -125071,7 +125350,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &664 + milestone: &667 title: Milestone description: A collection of related issues and pull requests. type: object @@ -125209,8 +125488,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -125309,8 +125588,8 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -126228,9 +126507,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *658 - organization: *641 - repository: *642 + label: *661 + organization: *644 + repository: *645 sender: *4 required: - action @@ -126310,8 +126589,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127228,9 +127507,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *658 - organization: *641 - repository: *642 + label: *661 + organization: *644 + repository: *645 sender: *4 required: - action @@ -127310,8 +127589,8 @@ x-webhooks: type: string enum: - locked - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128229,8 +128508,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -128309,8 +128588,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129222,9 +129501,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *664 - organization: *641 - repository: *642 + milestone: *667 + organization: *644 + repository: *645 sender: *4 required: - action @@ -130685,8 +130964,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131603,8 +131882,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -131684,9 +131963,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *639 - installation: *640 - issue: &665 + enterprise: *642 + installation: *643 + issue: &668 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -132597,8 +132876,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -132677,8 +132956,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133595,8 +133874,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -135058,11 +135337,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *639 - installation: *640 - issue: *665 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + issue: *668 + organization: *644 + repository: *645 sender: *4 required: - action @@ -135143,7 +135422,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &694 + assignee: &697 title: User type: object nullable: true @@ -135213,11 +135492,11 @@ x-webhooks: required: - login - id - enterprise: *639 - installation: *640 - issue: *666 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + issue: *669 + organization: *644 + repository: *645 sender: *4 required: - action @@ -135296,12 +135575,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *639 - installation: *640 - issue: *666 - label: *658 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + issue: *669 + label: *661 + organization: *644 + repository: *645 sender: *4 required: - action @@ -135381,8 +135660,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136298,8 +136577,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -136379,11 +136658,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *639 - installation: *640 - issue: *665 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + issue: *668 + organization: *644 + repository: *645 sender: *4 required: - action @@ -136462,11 +136741,11 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - label: *658 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + label: *661 + organization: *644 + repository: *645 sender: *4 required: - action @@ -136544,11 +136823,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - label: *658 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + label: *661 + organization: *644 + repository: *645 sender: *4 required: - action @@ -136658,11 +136937,11 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 - label: *658 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + label: *661 + organization: *644 + repository: *645 sender: *4 required: - action @@ -136744,9 +137023,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *639 - installation: *640 - marketplace_purchase: &667 + enterprise: *642 + installation: *643 + marketplace_purchase: &670 title: Marketplace Purchase type: object required: @@ -136829,8 +137108,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *641 - previous_marketplace_purchase: &668 + organization: *644 + previous_marketplace_purchase: &671 title: Marketplace Purchase type: object properties: @@ -136910,7 +137189,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *642 + repository: *645 sender: *4 required: - action @@ -136990,10 +137269,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *639 - installation: *640 - marketplace_purchase: *667 - organization: *641 + enterprise: *642 + installation: *643 + marketplace_purchase: *670 + organization: *644 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -137076,7 +137355,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *642 + repository: *645 sender: *4 required: - action @@ -137158,10 +137437,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *639 - installation: *640 - marketplace_purchase: *667 - organization: *641 + enterprise: *642 + installation: *643 + marketplace_purchase: *670 + organization: *644 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -137243,7 +137522,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *642 + repository: *645 sender: *4 required: - action @@ -137324,8 +137603,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 marketplace_purchase: title: Marketplace Purchase type: object @@ -137407,9 +137686,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *641 - previous_marketplace_purchase: *668 - repository: *642 + organization: *644 + previous_marketplace_purchase: *671 + repository: *645 sender: *4 required: - action @@ -137489,12 +137768,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *639 - installation: *640 - marketplace_purchase: *667 - organization: *641 - previous_marketplace_purchase: *668 - repository: *642 + enterprise: *642 + installation: *643 + marketplace_purchase: *670 + organization: *644 + previous_marketplace_purchase: *671 + repository: *645 sender: *4 required: - action @@ -137596,11 +137875,11 @@ x-webhooks: type: string required: - to - enterprise: *639 - installation: *640 - member: *659 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + member: *662 + organization: *644 + repository: *645 sender: *4 required: - action @@ -137700,11 +137979,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *639 - installation: *640 - member: *659 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + member: *662 + organization: *644 + repository: *645 sender: *4 required: - action @@ -137783,11 +138062,11 @@ x-webhooks: type: string enum: - removed - enterprise: *639 - installation: *640 - member: *659 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + member: *662 + organization: *644 + repository: *645 sender: *4 required: - action @@ -137865,11 +138144,11 @@ x-webhooks: type: string enum: - added - enterprise: *639 - installation: *640 - member: *659 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + member: *662 + organization: *644 + repository: *645 scope: description: The scope of the membership. Currently, can only be `team`. @@ -137945,7 +138224,7 @@ x-webhooks: required: - login - id - team: &669 + team: &672 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -138135,11 +138414,11 @@ x-webhooks: type: string enum: - removed - enterprise: *639 - installation: *640 - member: *659 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + member: *662 + organization: *644 + repository: *645 scope: description: The scope of the membership. Currently, can only be `team`. @@ -138216,7 +138495,7 @@ x-webhooks: required: - login - id - team: *669 + team: *672 required: - action - scope @@ -138298,8 +138577,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *640 - merge_group: &671 + installation: *643 + merge_group: &674 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -138318,15 +138597,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *670 + head_commit: *673 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -138412,10 +138691,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *640 - merge_group: *671 - organization: *641 - repository: *642 + installation: *643 + merge_group: *674 + organization: *644 + repository: *645 sender: *4 required: - action @@ -138488,7 +138767,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 + enterprise: *642 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -138596,16 +138875,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *640 - organization: *641 + installation: *643 + organization: *644 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *672 - required: *673 + properties: *675 + required: *676 nullable: true sender: *4 required: @@ -138686,11 +138965,11 @@ x-webhooks: type: string enum: - closed - enterprise: *639 - installation: *640 - milestone: *664 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + milestone: *667 + organization: *644 + repository: *645 sender: *4 required: - action @@ -138769,9 +139048,9 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - milestone: &674 + enterprise: *642 + installation: *643 + milestone: &677 title: Milestone description: A collection of related issues and pull requests. type: object @@ -138908,8 +139187,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -138988,11 +139267,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - milestone: *664 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + milestone: *667 + organization: *644 + repository: *645 sender: *4 required: - action @@ -139102,11 +139381,11 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 - milestone: *664 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + milestone: *667 + organization: *644 + repository: *645 sender: *4 required: - action @@ -139186,11 +139465,11 @@ x-webhooks: type: string enum: - opened - enterprise: *639 - installation: *640 - milestone: *674 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + milestone: *677 + organization: *644 + repository: *645 sender: *4 required: - action @@ -139269,11 +139548,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *659 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + blocked_user: *662 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -139352,11 +139631,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *659 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + blocked_user: *662 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -139435,9 +139714,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - membership: &675 + enterprise: *642 + installation: *643 + membership: &678 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -139529,8 +139808,8 @@ x-webhooks: - role - organization_url - user - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -139608,11 +139887,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *639 - installation: *640 - membership: *675 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + membership: *678 + organization: *644 + repository: *645 sender: *4 required: - action @@ -139691,8 +139970,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -139808,10 +140087,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 - user: *659 + user: *662 required: - action - invitation @@ -139889,11 +140168,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *639 - installation: *640 - membership: *675 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + membership: *678 + organization: *644 + repository: *645 sender: *4 required: - action @@ -139980,11 +140259,11 @@ x-webhooks: properties: from: type: string - enterprise: *639 - installation: *640 - membership: *675 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + membership: *678 + organization: *644 + repository: *645 sender: *4 required: - action @@ -140060,9 +140339,9 @@ x-webhooks: type: string enum: - published - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 package: description: Information about the package. type: object @@ -140561,7 +140840,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &676 + items: &679 title: Ruby Gems metadata type: object properties: @@ -140656,7 +140935,7 @@ x-webhooks: - owner - package_version - registry - repository: *642 + repository: *645 sender: *4 required: - action @@ -140732,9 +141011,9 @@ x-webhooks: type: string enum: - updated - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 package: description: Information about the package. type: object @@ -141087,7 +141366,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *676 + items: *679 source_url: type: string format: uri @@ -141157,7 +141436,7 @@ x-webhooks: - owner - package_version - registry - repository: *642 + repository: *645 sender: *4 required: - action @@ -141334,12 +141613,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *639 + enterprise: *642 id: type: integer - installation: *640 - organization: *641 - repository: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - id @@ -141419,7 +141698,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &677 + personal_access_token_request: &680 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -141565,10 +141844,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *639 - organization: *641 + enterprise: *642 + organization: *644 sender: *4 - installation: *640 + installation: *643 required: - action - personal_access_token_request @@ -141647,11 +141926,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *677 - enterprise: *639 - organization: *641 + personal_access_token_request: *680 + enterprise: *642 + organization: *644 sender: *4 - installation: *640 + installation: *643 required: - action - personal_access_token_request @@ -141729,11 +142008,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *677 - enterprise: *639 - organization: *641 + personal_access_token_request: *680 + enterprise: *642 + organization: *644 sender: *4 - installation: *640 + installation: *643 required: - action - personal_access_token_request @@ -141810,11 +142089,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *677 - organization: *641 - enterprise: *639 + personal_access_token_request: *680 + organization: *644 + enterprise: *642 sender: *4 - installation: *640 + installation: *643 required: - action - personal_access_token_request @@ -141918,7 +142197,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *678 + last_response: *681 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -141950,8 +142229,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 zen: description: Random string of GitHub zen. @@ -142196,10 +142475,10 @@ x-webhooks: - from required: - note - enterprise: *639 - installation: *640 - organization: *641 - project_card: &679 + enterprise: *642 + installation: *643 + organization: *644 + project_card: &682 title: Project Card type: object properties: @@ -142318,7 +142597,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *642 + repository: *645 sender: *4 required: - action @@ -142399,11 +142678,11 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - project_card: *679 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + project_card: *682 + repository: *645 sender: *4 required: - action @@ -142483,9 +142762,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 project_card: title: Project Card type: object @@ -142613,8 +142892,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *672 - required: *673 + properties: *675 + required: *676 nullable: true sender: *4 required: @@ -142708,11 +142987,11 @@ x-webhooks: - from required: - note - enterprise: *639 - installation: *640 - organization: *641 - project_card: *679 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + project_card: *682 + repository: *645 sender: *4 required: - action @@ -142806,9 +143085,9 @@ x-webhooks: - from required: - column_id - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 project_card: allOf: - title: Project Card @@ -142998,7 +143277,7 @@ x-webhooks: type: string required: - after_id - repository: *642 + repository: *645 sender: *4 required: - action @@ -143078,10 +143357,10 @@ x-webhooks: type: string enum: - closed - enterprise: *639 - installation: *640 - organization: *641 - project: &681 + enterprise: *642 + installation: *643 + organization: *644 + project: &684 title: Project type: object properties: @@ -143205,7 +143484,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *642 + repository: *645 sender: *4 required: - action @@ -143285,10 +143564,10 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - project_column: &680 + enterprise: *642 + installation: *643 + organization: *644 + project_column: &683 title: Project Column type: object properties: @@ -143327,7 +143606,7 @@ x-webhooks: - name - created_at - updated_at - repository: *642 + repository: *645 sender: *4 required: - action @@ -143406,18 +143685,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 - project_column: *680 + enterprise: *642 + installation: *643 + organization: *644 + project_column: *683 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *672 - required: *673 + properties: *675 + required: *676 nullable: true sender: *4 required: @@ -143507,11 +143786,11 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 - organization: *641 - project_column: *680 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + project_column: *683 + repository: *645 sender: *4 required: - action @@ -143591,11 +143870,11 @@ x-webhooks: type: string enum: - moved - enterprise: *639 - installation: *640 - organization: *641 - project_column: *680 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + project_column: *683 + repository: *645 sender: *4 required: - action @@ -143675,11 +143954,11 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - project: *681 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + project: *684 + repository: *645 sender: *4 required: - action @@ -143759,18 +144038,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 - project: *681 + enterprise: *642 + installation: *643 + organization: *644 + project: *684 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *672 - required: *673 + properties: *675 + required: *676 nullable: true sender: *4 required: @@ -143872,11 +144151,11 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 - organization: *641 - project: *681 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + project: *684 + repository: *645 sender: *4 required: - action @@ -143955,11 +144234,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *639 - installation: *640 - organization: *641 - project: *681 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + project: *684 + repository: *645 sender: *4 required: - action @@ -144040,9 +144319,9 @@ x-webhooks: type: string enum: - closed - installation: *640 - organization: *641 - projects_v2: &682 + installation: *643 + organization: *644 + projects_v2: &685 title: Projects v2 Project description: A projects v2 project type: object @@ -144185,9 +144464,9 @@ x-webhooks: type: string enum: - created - installation: *640 - organization: *641 - projects_v2: *682 + installation: *643 + organization: *644 + projects_v2: *685 sender: *4 required: - action @@ -144268,9 +144547,9 @@ x-webhooks: type: string enum: - deleted - installation: *640 - organization: *641 - projects_v2: *682 + installation: *643 + organization: *644 + projects_v2: *685 sender: *4 required: - action @@ -144387,9 +144666,9 @@ x-webhooks: type: string to: type: string - installation: *640 - organization: *641 - projects_v2: *682 + installation: *643 + organization: *644 + projects_v2: *685 sender: *4 required: - action @@ -144472,7 +144751,7 @@ x-webhooks: type: string enum: - archived - changes: &686 + changes: &689 type: object properties: archived_at: @@ -144486,9 +144765,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *640 - organization: *641 - projects_v2_item: &683 + installation: *643 + organization: *644 + projects_v2_item: &686 title: Projects v2 Item description: An item belonging to a project type: object @@ -144622,9 +144901,9 @@ x-webhooks: nullable: true to: type: string - installation: *640 - organization: *641 - projects_v2_item: *683 + installation: *643 + organization: *644 + projects_v2_item: *686 sender: *4 required: - action @@ -144706,9 +144985,9 @@ x-webhooks: type: string enum: - created - installation: *640 - organization: *641 - projects_v2_item: *683 + installation: *643 + organization: *644 + projects_v2_item: *686 sender: *4 required: - action @@ -144789,9 +145068,9 @@ x-webhooks: type: string enum: - deleted - installation: *640 - organization: *641 - projects_v2_item: *683 + installation: *643 + organization: *644 + projects_v2_item: *686 sender: *4 required: - action @@ -144897,7 +145176,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &684 + - &687 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -144915,7 +145194,7 @@ x-webhooks: required: - id - name - - &685 + - &688 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -144938,8 +145217,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *684 - - *685 + - *687 + - *688 required: - field_value - type: object @@ -144955,9 +145234,9 @@ x-webhooks: nullable: true required: - body - installation: *640 - organization: *641 - projects_v2_item: *683 + installation: *643 + organization: *644 + projects_v2_item: *686 sender: *4 required: - action @@ -145052,9 +145331,9 @@ x-webhooks: to: type: string nullable: true - installation: *640 - organization: *641 - projects_v2_item: *683 + installation: *643 + organization: *644 + projects_v2_item: *686 sender: *4 required: - action @@ -145137,10 +145416,10 @@ x-webhooks: type: string enum: - restored - changes: *686 - installation: *640 - organization: *641 - projects_v2_item: *683 + changes: *689 + installation: *643 + organization: *644 + projects_v2_item: *686 sender: *4 required: - action @@ -145222,9 +145501,9 @@ x-webhooks: type: string enum: - reopened - installation: *640 - organization: *641 - projects_v2: *682 + installation: *643 + organization: *644 + projects_v2: *685 sender: *4 required: - action @@ -145305,9 +145584,9 @@ x-webhooks: type: string enum: - created - installation: *640 - organization: *641 - projects_v2_status_update: &687 + installation: *643 + organization: *644 + projects_v2_status_update: &690 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -145434,9 +145713,9 @@ x-webhooks: type: string enum: - deleted - installation: *640 - organization: *641 - projects_v2_status_update: *687 + installation: *643 + organization: *644 + projects_v2_status_update: *690 sender: *4 required: - action @@ -145572,9 +145851,9 @@ x-webhooks: type: string format: date nullable: true - installation: *640 - organization: *641 - projects_v2_status_update: *687 + installation: *643 + organization: *644 + projects_v2_status_update: *690 sender: *4 required: - action @@ -145645,10 +145924,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - repository @@ -145725,13 +146004,13 @@ x-webhooks: type: string enum: - assigned - assignee: *659 - enterprise: *639 - installation: *640 - number: &688 + assignee: *662 + enterprise: *642 + installation: *643 + number: &691 description: The pull request number. type: integer - organization: *641 + organization: *644 pull_request: title: Pull Request type: object @@ -148014,7 +148293,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *645 sender: *4 required: - action @@ -148096,11 +148375,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 number: type: integer - organization: *641 + organization: *644 pull_request: title: Pull Request type: object @@ -150378,7 +150657,7 @@ x-webhooks: - draft reason: type: string - repository: *642 + repository: *645 sender: *4 required: - action @@ -150460,11 +150739,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 number: type: integer - organization: *641 + organization: *644 pull_request: title: Pull Request type: object @@ -152742,7 +153021,7 @@ x-webhooks: - draft reason: type: string - repository: *642 + repository: *645 sender: *4 required: - action @@ -152824,13 +153103,13 @@ x-webhooks: type: string enum: - closed - enterprise: *639 - installation: *640 - number: *688 - organization: *641 - pull_request: &689 + enterprise: *642 + installation: *643 + number: *691 + organization: *644 + pull_request: &692 allOf: - - *516 + - *517 - type: object properties: allow_auto_merge: @@ -152892,7 +153171,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *642 + repository: *645 sender: *4 required: - action @@ -152973,12 +153252,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *639 - installation: *640 - number: *688 - organization: *641 - pull_request: *689 - repository: *642 + enterprise: *642 + installation: *643 + number: *691 + organization: *644 + pull_request: *692 + repository: *645 sender: *4 required: - action @@ -153058,11 +153337,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *639 - milestone: *499 - number: *688 - organization: *641 - pull_request: &690 + enterprise: *642 + milestone: *500 + number: *691 + organization: *644 + pull_request: &693 title: Pull Request type: object properties: @@ -155325,7 +155604,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *645 sender: *4 required: - action @@ -155404,11 +155683,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 number: type: integer - organization: *641 + organization: *644 pull_request: title: Pull Request type: object @@ -157690,7 +157969,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *642 + repository: *645 sender: *4 required: - action @@ -157814,12 +158093,12 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 - number: *688 - organization: *641 - pull_request: *689 - repository: *642 + enterprise: *642 + installation: *643 + number: *691 + organization: *644 + pull_request: *692 + repository: *645 sender: *4 required: - action @@ -157899,11 +158178,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 number: type: integer - organization: *641 + organization: *644 pull_request: title: Pull Request type: object @@ -160170,7 +160449,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *645 sender: *4 required: - action @@ -160250,11 +160529,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *639 - installation: *640 - label: *658 - number: *688 - organization: *641 + enterprise: *642 + installation: *643 + label: *661 + number: *691 + organization: *644 pull_request: title: Pull Request type: object @@ -162536,7 +162815,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *645 sender: *4 required: - action @@ -162617,10 +162896,10 @@ x-webhooks: type: string enum: - locked - enterprise: *639 - installation: *640 - number: *688 - organization: *641 + enterprise: *642 + installation: *643 + number: *691 + organization: *644 pull_request: title: Pull Request type: object @@ -164900,7 +165179,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *645 sender: *4 required: - action @@ -164980,12 +165259,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *639 - milestone: *499 - number: *688 - organization: *641 - pull_request: *690 - repository: *642 + enterprise: *642 + milestone: *500 + number: *691 + organization: *644 + pull_request: *693 + repository: *645 sender: *4 required: - action @@ -165064,12 +165343,12 @@ x-webhooks: type: string enum: - opened - enterprise: *639 - installation: *640 - number: *688 - organization: *641 - pull_request: *689 - repository: *642 + enterprise: *642 + installation: *643 + number: *691 + organization: *644 + pull_request: *692 + repository: *645 sender: *4 required: - action @@ -165150,12 +165429,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *639 - installation: *640 - number: *688 - organization: *641 - pull_request: *689 - repository: *642 + enterprise: *642 + installation: *643 + number: *691 + organization: *644 + pull_request: *692 + repository: *645 sender: *4 required: - action @@ -165235,12 +165514,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *639 - installation: *640 - number: *688 - organization: *641 - pull_request: *689 - repository: *642 + enterprise: *642 + installation: *643 + number: *691 + organization: *644 + pull_request: *692 + repository: *645 sender: *4 required: - action @@ -165606,9 +165885,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 pull_request: type: object properties: @@ -167778,7 +168057,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *642 + repository: *645 sender: *4 required: - action @@ -167858,7 +168137,7 @@ x-webhooks: type: string enum: - deleted - comment: &692 + comment: &695 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -168143,9 +168422,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 pull_request: type: object properties: @@ -170303,7 +170582,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *642 + repository: *645 sender: *4 required: - action @@ -170383,11 +170662,11 @@ x-webhooks: type: string enum: - edited - changes: *691 - comment: *692 - enterprise: *639 - installation: *640 - organization: *641 + changes: *694 + comment: *695 + enterprise: *642 + installation: *643 + organization: *644 pull_request: type: object properties: @@ -172548,7 +172827,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *642 + repository: *645 sender: *4 required: - action @@ -172629,9 +172908,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 pull_request: title: Simple Pull Request type: object @@ -174804,7 +175083,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *642 + repository: *645 review: description: The review that was affected. type: object @@ -175047,9 +175326,9 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 pull_request: title: Simple Pull Request type: object @@ -177103,8 +177382,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *642 - review: &693 + repository: *645 + review: &696 description: The review that was affected. type: object properties: @@ -177333,12 +177612,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 number: description: The pull request number. type: integer - organization: *641 + organization: *644 pull_request: title: Pull Request type: object @@ -179621,7 +179900,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *645 requested_reviewer: title: User type: object @@ -179705,12 +179984,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 number: description: The pull request number. type: integer - organization: *641 + organization: *644 pull_request: title: Pull Request type: object @@ -182000,7 +182279,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *645 requested_team: title: Team description: Groups of organization members that gives permissions @@ -182192,12 +182471,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 number: description: The pull request number. type: integer - organization: *641 + organization: *644 pull_request: title: Pull Request type: object @@ -184482,7 +184761,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *645 requested_reviewer: title: User type: object @@ -184567,12 +184846,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 number: description: The pull request number. type: integer - organization: *641 + organization: *644 pull_request: title: Pull Request type: object @@ -186848,7 +187127,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *645 requested_team: title: Team description: Groups of organization members that gives permissions @@ -187029,9 +187308,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 pull_request: title: Simple Pull Request type: object @@ -189206,8 +189485,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *642 - review: *693 + repository: *645 + review: *696 sender: *4 required: - action @@ -189287,9 +189566,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 pull_request: title: Simple Pull Request type: object @@ -191359,7 +191638,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *642 + repository: *645 sender: *4 thread: type: object @@ -191742,9 +192021,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 pull_request: title: Simple Pull Request type: object @@ -193800,7 +194079,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *642 + repository: *645 sender: *4 thread: type: object @@ -194186,10 +194465,10 @@ x-webhooks: type: string before: type: string - enterprise: *639 - installation: *640 - number: *688 - organization: *641 + enterprise: *642 + installation: *643 + number: *691 + organization: *644 pull_request: title: Pull Request type: object @@ -196460,7 +196739,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *645 sender: *4 required: - action @@ -196542,11 +196821,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *694 - enterprise: *639 - installation: *640 - number: *688 - organization: *641 + assignee: *697 + enterprise: *642 + installation: *643 + number: *691 + organization: *644 pull_request: title: Pull Request type: object @@ -198829,7 +199108,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *645 sender: *4 required: - action @@ -198908,11 +199187,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *639 - installation: *640 - label: *658 - number: *688 - organization: *641 + enterprise: *642 + installation: *643 + label: *661 + number: *691 + organization: *644 pull_request: title: Pull Request type: object @@ -201185,7 +201464,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *645 sender: *4 required: - action @@ -201266,10 +201545,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *639 - installation: *640 - number: *688 - organization: *641 + enterprise: *642 + installation: *643 + number: *691 + organization: *644 pull_request: title: Pull Request type: object @@ -203534,7 +203813,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *645 sender: *4 required: - action @@ -203734,7 +204013,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *639 + enterprise: *642 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -203826,8 +204105,8 @@ x-webhooks: - url - author - committer - installation: *640 - organization: *641 + installation: *643 + organization: *644 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -204402,9 +204681,9 @@ x-webhooks: type: string enum: - published - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 registry_package: type: object properties: @@ -204850,7 +205129,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *676 + items: *679 summary: type: string tag_name: @@ -204904,7 +205183,7 @@ x-webhooks: - owner - package_version - registry - repository: *642 + repository: *645 sender: *4 required: - action @@ -204982,9 +205261,9 @@ x-webhooks: type: string enum: - updated - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 registry_package: type: object properties: @@ -205292,7 +205571,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *676 + items: *679 summary: type: string tag_name: @@ -205341,7 +205620,7 @@ x-webhooks: - owner - package_version - registry - repository: *642 + repository: *645 sender: *4 required: - action @@ -205418,10 +205697,10 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - release: &695 + enterprise: *642 + installation: *643 + organization: *644 + release: &698 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -205726,7 +206005,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *642 + repository: *645 sender: *4 required: - action @@ -205803,11 +206082,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 - release: *695 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + release: *698 + repository: *645 sender: *4 required: - action @@ -205915,11 +206194,11 @@ x-webhooks: type: boolean required: - to - enterprise: *639 - installation: *640 - organization: *641 - release: *695 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + release: *698 + repository: *645 sender: *4 required: - action @@ -205997,9 +206276,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -206308,7 +206587,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *642 + repository: *645 sender: *4 required: - action @@ -206384,10 +206663,10 @@ x-webhooks: type: string enum: - published - enterprise: *639 - installation: *640 - organization: *641 - release: &696 + enterprise: *642 + installation: *643 + organization: *644 + release: &699 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -206693,7 +206972,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *642 + repository: *645 sender: *4 required: - action @@ -206769,11 +207048,11 @@ x-webhooks: type: string enum: - released - enterprise: *639 - installation: *640 - organization: *641 - release: *695 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + release: *698 + repository: *645 sender: *4 required: - action @@ -206849,11 +207128,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *639 - installation: *640 - organization: *641 - release: *696 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + release: *699 + repository: *645 sender: *4 required: - action @@ -206929,11 +207208,11 @@ x-webhooks: type: string enum: - published - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - repository_advisory: *570 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 + repository_advisory: *573 sender: *4 required: - action @@ -207009,11 +207288,11 @@ x-webhooks: type: string enum: - reported - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - repository_advisory: *570 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 + repository_advisory: *573 sender: *4 required: - action @@ -207089,10 +207368,10 @@ x-webhooks: type: string enum: - archived - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -207169,10 +207448,10 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -207250,10 +207529,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -207337,10 +207616,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -207452,10 +207731,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -207527,10 +207806,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 status: type: string @@ -207611,10 +207890,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -207691,10 +207970,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -207788,10 +208067,10 @@ x-webhooks: - name required: - repository - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -207871,10 +208150,10 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 repository_ruleset: *237 sender: *4 required: @@ -207953,10 +208232,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 repository_ruleset: *237 sender: *4 required: @@ -208035,10 +208314,10 @@ x-webhooks: type: string enum: - edited - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 repository_ruleset: *237 changes: type: object @@ -208343,10 +208622,10 @@ x-webhooks: - from required: - owner - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -208424,10 +208703,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -208505,7 +208784,7 @@ x-webhooks: type: string enum: - create - alert: &697 + alert: &700 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -208626,10 +208905,10 @@ x-webhooks: type: string enum: - open - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -208835,10 +209114,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -208916,11 +209195,11 @@ x-webhooks: type: string enum: - reopen - alert: *697 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + alert: *700 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -209119,10 +209398,10 @@ x-webhooks: enum: - fixed - open - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -209200,7 +209479,7 @@ x-webhooks: type: string enum: - created - alert: &698 + alert: &701 type: object properties: number: *54 @@ -209311,10 +209590,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -209395,11 +209674,11 @@ x-webhooks: type: string enum: - created - alert: *698 - installation: *640 - location: *699 - organization: *641 - repository: *642 + alert: *701 + installation: *643 + location: *702 + organization: *644 + repository: *645 sender: *4 required: - location @@ -209637,11 +209916,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *698 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + alert: *701 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -209719,11 +209998,11 @@ x-webhooks: type: string enum: - reopened - alert: *698 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + alert: *701 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -209801,11 +210080,11 @@ x-webhooks: type: string enum: - resolved - alert: *698 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + alert: *701 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -209883,11 +210162,11 @@ x-webhooks: type: string enum: - validated - alert: *698 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + alert: *701 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -210013,10 +210292,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *642 - enterprise: *639 - installation: *640 - organization: *641 + repository: *645 + enterprise: *642 + installation: *643 + organization: *644 sender: *4 required: - action @@ -210094,11 +210373,11 @@ x-webhooks: type: string enum: - published - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - security_advisory: &700 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 + security_advisory: &703 description: The details of the security advisory, including summary, description, and severity. type: object @@ -210281,11 +210560,11 @@ x-webhooks: type: string enum: - updated - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - security_advisory: *700 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 + security_advisory: *703 sender: *4 required: - action @@ -210358,10 +210637,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -210546,10 +210825,10 @@ x-webhooks: type: object properties: security_and_analysis: *230 - enterprise: *639 - installation: *640 - organization: *641 - repository: *284 + enterprise: *642 + installation: *643 + organization: *644 + repository: *285 sender: *4 required: - changes @@ -210627,12 +210906,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 - sponsorship: &701 + sponsorship: &704 type: object properties: created_at: @@ -210933,12 +211212,12 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 - sponsorship: *701 + sponsorship: *704 required: - action - sponsorship @@ -211026,12 +211305,12 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 - sponsorship: *701 + sponsorship: *704 required: - action - changes @@ -211108,17 +211387,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &702 + effective_date: &705 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: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 - sponsorship: *701 + sponsorship: *704 required: - action - sponsorship @@ -211192,7 +211471,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &703 + changes: &706 type: object properties: tier: @@ -211236,13 +211515,13 @@ x-webhooks: - from required: - tier - effective_date: *702 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + effective_date: *705 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 - sponsorship: *701 + sponsorship: *704 required: - action - changes @@ -211319,13 +211598,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *703 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + changes: *706 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 - sponsorship: *701 + sponsorship: *704 required: - action - changes @@ -211399,10 +211678,10 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -211485,10 +211764,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -211908,15 +212187,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *639 + enterprise: *642 id: description: The unique identifier of the status. type: integer - installation: *640 + installation: *643 name: type: string - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 sha: description: The Commit SHA. @@ -212031,9 +212310,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *640 - organization: *641 - repository: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -212123,9 +212402,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *640 - organization: *641 - repository: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -212215,9 +212494,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *640 - organization: *641 - repository: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -212307,9 +212586,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *640 - organization: *641 - repository: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -212386,12 +212665,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 - team: &704 + team: &707 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -212581,9 +212860,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 repository: title: Repository description: A git repository @@ -213041,7 +213320,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *704 + team: *707 required: - action - team @@ -213117,9 +213396,9 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 repository: title: Repository description: A git repository @@ -213577,7 +213856,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *704 + team: *707 required: - action - team @@ -213654,9 +213933,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 repository: title: Repository description: A git repository @@ -214114,7 +214393,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *704 + team: *707 required: - action - team @@ -214258,9 +214537,9 @@ x-webhooks: - from required: - permissions - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 repository: title: Repository description: A git repository @@ -214718,7 +214997,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *704 + team: *707 required: - action - changes @@ -214796,9 +215075,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 repository: title: Repository description: A git repository @@ -215256,7 +215535,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *704 + team: *707 required: - action - team @@ -215332,10 +215611,10 @@ x-webhooks: type: string enum: - started - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -215408,16 +215687,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *639 + enterprise: *642 inputs: type: object nullable: true additionalProperties: true - installation: *640 - organization: *641 + installation: *643 + organization: *644 ref: type: string - repository: *642 + repository: *645 sender: *4 workflow: type: string @@ -215499,10 +215778,10 @@ x-webhooks: type: string enum: - completed - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 workflow_job: allOf: @@ -215739,7 +216018,7 @@ x-webhooks: type: string required: - conclusion - deployment: *431 + deployment: *432 required: - action - repository @@ -215818,10 +216097,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 workflow_job: allOf: @@ -216081,7 +216360,7 @@ x-webhooks: required: - status - steps - deployment: *431 + deployment: *432 required: - action - repository @@ -216160,10 +216439,10 @@ x-webhooks: type: string enum: - queued - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 workflow_job: type: object @@ -216298,7 +216577,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *431 + deployment: *432 required: - action - repository @@ -216377,10 +216656,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 workflow_job: type: object @@ -216516,7 +216795,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *431 + deployment: *432 required: - action - repository @@ -216596,12 +216875,12 @@ x-webhooks: type: string enum: - completed - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 - workflow: *654 + workflow: *657 workflow_run: title: Workflow Run type: object @@ -217600,12 +217879,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 - workflow: *654 + workflow: *657 workflow_run: title: Workflow Run type: object @@ -218589,12 +218868,12 @@ x-webhooks: type: string enum: - requested - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 - workflow: *654 + workflow: *657 workflow_run: title: Workflow Run type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index 0ff483638..5863f7ccc 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -130850,6 +130850,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", @@ -179034,7 +179435,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" ], @@ -183159,7 +183560,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" ], @@ -326692,7 +327093,7 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "reactions", "subcategory": "reactions" } @@ -412787,6 +413188,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/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index d98cf53dc..4305b347f 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -847,7 +847,7 @@ paths: - subscriptions_url - type - url - type: &248 + type: &249 type: string description: The type of credit the user is receiving. enum: @@ -1013,7 +1013,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &572 + - &575 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -8481,7 +8481,7 @@ paths: enum: - development - runtime - security_advisory: &423 + security_advisory: &424 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8743,7 +8743,7 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &424 + auto_dismissed_at: &425 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9116,7 +9116,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &239 + - &240 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9127,7 +9127,7 @@ paths: enum: - open - resolved - - &240 + - &241 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -9137,7 +9137,7 @@ paths: required: false schema: type: string - - &241 + - &242 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9146,7 +9146,7 @@ paths: required: false schema: type: string - - &242 + - &243 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. @@ -9162,7 +9162,7 @@ paths: - *17 - *39 - *40 - - &243 + - &244 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9171,7 +9171,7 @@ paths: required: false schema: type: string - - &244 + - &245 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9180,7 +9180,7 @@ paths: schema: type: boolean default: false - - &245 + - &246 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9196,7 +9196,7 @@ paths: application/json: schema: type: array - items: &246 + items: &247 type: object properties: number: *54 @@ -9215,14 +9215,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &564 + state: &567 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: &565 + resolution: &568 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -9319,7 +9319,7 @@ paths: repositories in the same organization or enterprise. nullable: true examples: - default: &247 + default: &248 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -9655,7 +9655,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &472 + properties: &473 id: type: integer format: int64 @@ -9766,7 +9766,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &408 + properties: &409 url: type: string format: uri @@ -9836,7 +9836,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &409 + required: &410 - closed_issues - creator - description @@ -9991,7 +9991,7 @@ paths: - total - completed - percent_completed - required: &473 + required: &474 - assignee - closed_at - comments @@ -10013,7 +10013,7 @@ paths: - author_association - created_at - updated_at - comment: &470 + comment: &471 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -10580,7 +10580,7 @@ paths: url: type: string format: uri - user: &595 + user: &598 title: Public User description: Public User type: object @@ -13885,14 +13885,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &273 + - &274 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &274 + - &275 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -13963,7 +13963,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &285 + '301': &286 description: Moved permanently content: application/json: @@ -13985,7 +13985,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &502 + - &503 name: all description: If `true`, show notifications marked as read. in: query @@ -13993,7 +13993,7 @@ paths: schema: type: boolean default: false - - &503 + - &504 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14003,7 +14003,7 @@ paths: type: boolean default: false - *67 - - &504 + - &505 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: @@ -14459,7 +14459,7 @@ paths: - url - subscription_url examples: - default: &505 + default: &506 value: - id: '1' repository: @@ -15060,7 +15060,7 @@ paths: - avatar_url - description examples: - default: &613 + default: &616 value: - login: github id: 1 @@ -15969,7 +15969,7 @@ paths: type: integer repository_cache_usages: type: array - items: &290 + items: &291 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -16854,7 +16854,7 @@ paths: - all - local_only - selected - selected_actions_url: &296 + selected_actions_url: &297 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` @@ -16944,7 +16944,7 @@ paths: type: array items: *60 examples: - default: &607 + default: &610 value: total_count: 1 repositories: @@ -17272,7 +17272,7 @@ paths: description: Response content: application/json: - schema: &300 + schema: &301 type: object properties: default_workflow_permissions: &112 @@ -17323,7 +17323,7 @@ paths: required: false content: application/json: - schema: &301 + schema: &302 type: object properties: default_workflow_permissions: *112 @@ -17812,7 +17812,7 @@ paths: type: array items: *119 examples: - default: &598 + default: &601 value: total_count: 1 repositories: @@ -18454,7 +18454,7 @@ paths: application/json: schema: type: array - items: &302 + items: &303 title: Runner Application description: Runner Application type: object @@ -18479,7 +18479,7 @@ paths: - download_url - filename examples: - default: &303 + default: &304 value: - os: osx architecture: x64 @@ -18565,7 +18565,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &304 + '201': &305 description: Response content: application/json: @@ -18676,7 +18676,7 @@ paths: - token - expires_at examples: - default: &305 + default: &306 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -18715,7 +18715,7 @@ paths: application/json: schema: *123 examples: - default: &306 + default: &307 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -18749,7 +18749,7 @@ paths: application/json: schema: *121 examples: - default: &307 + default: &308 value: id: 23 name: MBP @@ -18974,7 +18974,7 @@ paths: - *94 - *120 responses: - '200': &308 + '200': &309 description: Response content: application/json: @@ -19031,7 +19031,7 @@ paths: parameters: - *94 - *120 - - &309 + - &310 name: name description: The name of a self-hosted runner's custom label. in: path @@ -19161,7 +19161,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &322 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -19190,7 +19190,7 @@ paths: - key_id - key examples: - default: &322 + default: &323 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -19603,7 +19603,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *94 - - &295 + - &296 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)." @@ -20130,7 +20130,7 @@ paths: bundle_url: type: string examples: - default: &335 + default: &336 value: attestations: - bundle: @@ -20367,7 +20367,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *94 - - &361 + - &362 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`, @@ -20377,7 +20377,7 @@ paths: schema: &136 type: string description: The name of the tool used to generate the code scanning analysis. - - &362 + - &363 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 @@ -20400,7 +20400,7 @@ paths: be returned. in: query required: false - schema: &364 + schema: &365 type: string description: State of a code scanning alert. enum: @@ -20423,7 +20423,7 @@ paths: be returned. in: query required: false - schema: &365 + schema: &366 type: string description: Severity of a code scanning alert. enum: @@ -20449,7 +20449,7 @@ paths: updated_at: *133 url: *56 html_url: *57 - instances_url: &366 + instances_url: &367 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -20472,7 +20472,7 @@ paths: required: *21 nullable: true dismissed_at: *135 - dismissed_reason: &367 + dismissed_reason: &368 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -20481,13 +20481,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &368 + dismissed_comment: &369 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &369 + rule: &370 type: object properties: id: @@ -20540,7 +20540,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &370 + tool: &371 type: object properties: name: *136 @@ -20550,15 +20550,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *137 - most_recent_instance: &371 + most_recent_instance: &372 type: object properties: - ref: &363 + ref: &364 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &381 + analysis_key: &382 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -20569,7 +20569,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &382 + category: &383 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -21781,7 +21781,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &394 + properties: &395 name: type: string description: The name of the machine. @@ -21823,7 +21823,7 @@ paths: - ready - in_progress nullable: true - required: &395 + required: &396 - name - display_name - operating_system @@ -22691,7 +22691,7 @@ paths: - updated_at - visibility examples: - default: &396 + default: &397 value: total_count: 2 secrets: @@ -22729,7 +22729,7 @@ paths: description: Response content: application/json: - schema: &397 + schema: &398 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -22758,7 +22758,7 @@ paths: - key_id - key examples: - default: &398 + default: &399 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22790,7 +22790,7 @@ paths: application/json: schema: *146 examples: - default: &400 + default: &401 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -23961,7 +23961,7 @@ paths: application/json: schema: type: array - items: &253 + items: &254 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -24268,7 +24268,7 @@ paths: - date additionalProperties: true examples: - default: &254 + default: &255 value: - date: '2024-06-24' total_active_users: 24 @@ -24370,7 +24370,7 @@ paths: '500': *145 '403': *29 '404': *6 - '422': &255 + '422': &256 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -24438,7 +24438,7 @@ paths: application/json: schema: type: array - items: &256 + items: &257 title: Copilot Usage Metrics description: Summary of Copilot usage. type: object @@ -24525,7 +24525,7 @@ paths: - breakdown additionalProperties: false examples: - default: &257 + default: &258 value: - day: '2023-10-15' total_suggestions_count: 1000 @@ -24758,7 +24758,7 @@ paths: description: Response content: application/json: - schema: &427 + schema: &428 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -24775,7 +24775,7 @@ paths: - key_id - key examples: - default: &428 + default: &429 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26568,7 +26568,7 @@ paths: application/json: schema: *22 examples: - default: &466 + default: &467 value: id: 1 account: @@ -26793,7 +26793,7 @@ paths: required: true content: application/json: - schema: &467 + schema: &468 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -27404,7 +27404,7 @@ paths: application/json: schema: *192 examples: - default: &393 + default: &394 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -28630,7 +28630,7 @@ paths: parameters: - *94 - *200 - - &612 + - &615 name: repo_name description: repo_name parameter in: path @@ -29364,7 +29364,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &249 + items: &250 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -29655,7 +29655,7 @@ paths: - nuget - container - *94 - - &614 + - &617 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -29696,7 +29696,7 @@ paths: default: *208 '403': *29 '401': *25 - '400': &616 + '400': &619 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -31522,7 +31522,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &282 + '410': &283 description: Gone content: application/json: @@ -32410,7 +32410,7 @@ paths: description: Response content: application/json: - schema: &284 + schema: &285 title: Full Repository description: Full Repository type: object @@ -32803,7 +32803,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &415 + properties: &416 url: type: string format: uri @@ -32819,7 +32819,7 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &416 + required: &417 - url - key - name @@ -32908,7 +32908,7 @@ paths: - network_count - subscribers_count examples: - default: &286 + default: &287 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -33429,7 +33429,7 @@ paths: - *94 - *17 - *19 - - &551 + - &552 name: targets description: | A comma-separated list of rule targets to filter by. @@ -33710,7 +33710,7 @@ paths: type: object description: A repository rule. oneOf: - - &533 + - &534 title: creation description: Only allow users with bypass permission to create matching refs. @@ -33722,7 +33722,7 @@ paths: type: string enum: - creation - - &534 + - &535 title: update description: Only allow users with bypass permission to update matching refs. @@ -33743,7 +33743,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &536 + - &537 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -33755,7 +33755,7 @@ paths: type: string enum: - deletion - - &537 + - &538 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -33767,7 +33767,7 @@ paths: type: string enum: - required_linear_history - - &538 + - &539 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -33845,7 +33845,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &539 + - &540 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -33869,7 +33869,7 @@ paths: type: string required: - required_deployment_environments - - &540 + - &541 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -33881,7 +33881,7 @@ paths: type: string enum: - required_signatures - - &541 + - &542 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -33934,7 +33934,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &542 + - &543 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -33982,7 +33982,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &543 + - &544 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -33994,7 +33994,7 @@ paths: type: string enum: - non_fast_forward - - &544 + - &545 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -34030,7 +34030,7 @@ paths: required: - operator - pattern - - &545 + - &546 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -34066,7 +34066,7 @@ paths: required: - operator - pattern - - &546 + - &547 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -34102,7 +34102,7 @@ paths: required: - operator - pattern - - &547 + - &548 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -34138,7 +34138,7 @@ paths: required: - operator - pattern - - &548 + - &549 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -34264,7 +34264,7 @@ paths: maximum: 100 required: - max_file_size - - &549 + - &550 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -34314,7 +34314,7 @@ paths: - repository_id required: - workflows - - &550 + - &551 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -34552,7 +34552,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *94 - - &552 + - &553 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 @@ -34567,7 +34567,7 @@ paths: in: query schema: type: string - - &553 + - &554 name: time_period description: |- The time period to filter by. @@ -34583,14 +34583,14 @@ paths: - week - month default: day - - &554 + - &555 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 - - &555 + - &556 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -34610,7 +34610,7 @@ paths: description: Response content: application/json: - schema: &556 + schema: &557 title: Rule Suites description: Response type: array @@ -34665,7 +34665,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &557 + default: &558 value: - id: 21 actor_id: 12 @@ -34709,7 +34709,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *94 - - &558 + - &559 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -34725,7 +34725,7 @@ paths: description: Response content: application/json: - schema: &559 + schema: &560 title: Rule Suite description: Response type: object @@ -34824,7 +34824,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &560 + default: &561 value: id: 21 actor_id: 12 @@ -35019,6 +35019,165 @@ paths: description: Response '404': *6 '500': *145 + "/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: + - *94 + - *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: &239 + 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: &563 + 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': *145 + 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: + - *94 + - 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: &564 + allOf: + - *239 + - 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': *145 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: rules "/orgs/{org}/secret-scanning/alerts": get: summary: List secret scanning alerts for an organization @@ -35036,14 +35195,14 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *94 - - *239 - *240 - *241 - *242 + - *243 - *48 - *19 - *17 - - &562 + - &565 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 @@ -35053,7 +35212,7 @@ paths: required: false schema: type: string - - &563 + - &566 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 @@ -35063,9 +35222,9 @@ paths: required: false schema: type: string - - *243 - *244 - *245 + - *246 responses: '200': description: Response @@ -35073,9 +35232,9 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: *247 + default: *248 headers: Link: *58 '404': *6 @@ -35145,7 +35304,7 @@ paths: application/json: schema: type: array - items: &570 + items: &573 description: A repository security advisory. type: object properties: @@ -35365,7 +35524,7 @@ paths: login: type: string description: The username of the user credited. - type: *248 + type: *249 credits_detailed: type: array nullable: true @@ -35375,7 +35534,7 @@ paths: type: object properties: user: *4 - type: *248 + type: *249 state: type: string description: The state of the user's acceptance of the @@ -35436,7 +35595,7 @@ paths: - private_fork additionalProperties: false examples: - default: &571 + default: &574 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -35823,7 +35982,7 @@ paths: application/json: schema: type: array - items: *249 + items: *250 examples: default: *206 x-github: @@ -35910,7 +36069,7 @@ paths: description: Response content: application/json: - schema: &630 + schema: &633 type: object properties: total_minutes_used: @@ -35980,7 +36139,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &631 + default: &634 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -36016,7 +36175,7 @@ paths: description: Response content: application/json: - schema: &632 + schema: &635 type: object properties: total_gigabytes_bandwidth_used: @@ -36034,7 +36193,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &633 + default: &636 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -36066,7 +36225,7 @@ paths: description: Response content: application/json: - schema: &634 + schema: &637 type: object properties: days_left_in_billing_cycle: @@ -36084,7 +36243,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &635 + default: &638 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -36126,7 +36285,7 @@ paths: type: integer network_configurations: type: array - items: &250 + items: &251 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -36246,9 +36405,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: &251 + default: &252 value: id: 123456789ABCDEF name: My network configuration @@ -36277,7 +36436,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *94 - - &252 + - &253 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -36289,9 +36448,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 headers: Link: *58 x-github: @@ -36313,7 +36472,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *94 - - *252 + - *253 requestBody: required: true content: @@ -36352,9 +36511,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36374,7 +36533,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *94 - - *252 + - *253 responses: '204': description: Response @@ -36514,13 +36673,13 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: *254 + default: *255 '500': *145 '403': *29 '404': *6 - '422': *255 + '422': *256 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36587,9 +36746,9 @@ paths: application/json: schema: type: array - items: *256 + items: *257 examples: - default: *257 + default: *258 '500': *145 '401': *25 '403': *29 @@ -36717,7 +36876,7 @@ paths: description: Response content: application/json: - schema: &258 + schema: &259 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -37027,7 +37186,7 @@ paths: - repos_count - organization examples: - default: &259 + default: &260 value: id: 1 node_id: MDQ6VGVhbTE= @@ -37104,9 +37263,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - default: *259 + default: *260 '404': *6 x-github: githubCloudOnly: false @@ -37190,16 +37349,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *258 + schema: *259 examples: - default: *259 + default: *260 '201': description: Response content: application/json: - schema: *258 + schema: *259 examples: - default: *259 + default: *260 '404': *6 '422': *15 '403': *29 @@ -37269,7 +37428,7 @@ paths: application/json: schema: type: array - items: &260 + items: &261 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -37368,7 +37527,7 @@ paths: - updated_at - url examples: - default: &585 + default: &588 value: - author: login: octocat @@ -37477,9 +37636,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *261 examples: - default: &261 + default: &262 value: author: login: octocat @@ -37553,7 +37712,7 @@ paths: parameters: - *94 - *201 - - &262 + - &263 name: discussion_number description: The number that identifies the discussion. in: path @@ -37565,9 +37724,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *261 examples: - default: *261 + default: *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37591,7 +37750,7 @@ paths: parameters: - *94 - *201 - - *262 + - *263 requestBody: required: false content: @@ -37614,9 +37773,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *261 examples: - default: &586 + default: &589 value: author: login: octocat @@ -37688,7 +37847,7 @@ paths: parameters: - *94 - *201 - - *262 + - *263 responses: '204': description: Response @@ -37716,7 +37875,7 @@ paths: parameters: - *94 - *201 - - *262 + - *263 - *48 - *17 - *19 @@ -37727,7 +37886,7 @@ paths: application/json: schema: type: array - items: &263 + items: &264 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -37799,7 +37958,7 @@ paths: - updated_at - url examples: - default: &587 + default: &590 value: - author: login: octocat @@ -37869,7 +38028,7 @@ paths: parameters: - *94 - *201 - - *262 + - *263 requestBody: required: true content: @@ -37891,9 +38050,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *264 examples: - default: &264 + default: &265 value: author: login: octocat @@ -37961,8 +38120,8 @@ paths: parameters: - *94 - *201 - - *262 - - &265 + - *263 + - &266 name: comment_number description: The number that identifies the comment. in: path @@ -37974,9 +38133,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *264 examples: - default: *264 + default: *265 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38000,8 +38159,8 @@ paths: parameters: - *94 - *201 - - *262 - - *265 + - *263 + - *266 requestBody: required: true content: @@ -38023,9 +38182,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *264 examples: - default: &588 + default: &591 value: author: login: octocat @@ -38091,8 +38250,8 @@ paths: parameters: - *94 - *201 - - *262 - - *265 + - *263 + - *266 responses: '204': description: Response @@ -38120,8 +38279,8 @@ paths: parameters: - *94 - *201 - - *262 - - *265 + - *263 + - *266 - 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. @@ -38147,7 +38306,7 @@ paths: application/json: schema: type: array - items: &266 + items: &267 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -38190,7 +38349,7 @@ paths: - content - created_at examples: - default: &268 + default: &269 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -38242,8 +38401,8 @@ paths: parameters: - *94 - *201 - - *262 - - *265 + - *263 + - *266 requestBody: required: true content: @@ -38276,9 +38435,9 @@ paths: team discussion comment content: application/json: - schema: *266 + schema: *267 examples: - default: &267 + default: &268 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -38307,9 +38466,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38334,9 +38493,9 @@ paths: parameters: - *94 - *201 - - *262 - - *265 - - &269 + - *263 + - *266 + - &270 name: reaction_id description: The unique identifier of the reaction. in: path @@ -38370,7 +38529,7 @@ paths: parameters: - *94 - *201 - - *262 + - *263 - 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. @@ -38396,9 +38555,9 @@ paths: application/json: schema: type: array - items: *266 + items: *267 examples: - default: *268 + default: *269 headers: Link: *58 x-github: @@ -38426,7 +38585,7 @@ paths: parameters: - *94 - *201 - - *262 + - *263 requestBody: required: true content: @@ -38458,16 +38617,16 @@ paths: description: Response content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 '201': description: Response content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -38492,8 +38651,8 @@ paths: parameters: - *94 - *201 - - *262 - - *269 + - *263 + - *270 responses: '204': description: Response @@ -38614,7 +38773,7 @@ paths: description: Response content: application/json: - schema: &270 + schema: &271 title: Team Membership description: Team Membership type: object @@ -38641,7 +38800,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &589 + response-if-user-is-a-team-maintainer: &592 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -38704,9 +38863,9 @@ paths: description: Response content: application/json: - schema: *270 + schema: *271 examples: - response-if-users-membership-with-team-is-now-pending: &590 + response-if-users-membership-with-team-is-now-pending: &593 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -38780,7 +38939,7 @@ paths: application/json: schema: type: array - items: &271 + items: &272 title: Team Project description: A team's access to a project. type: object @@ -38848,7 +39007,7 @@ paths: - updated_at - permissions examples: - default: &591 + default: &594 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -38911,7 +39070,7 @@ paths: parameters: - *94 - *201 - - &272 + - &273 name: project_id description: The unique identifier of the project. in: path @@ -38923,9 +39082,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *272 examples: - default: &592 + default: &595 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -38987,7 +39146,7 @@ paths: parameters: - *94 - *201 - - *272 + - *273 requestBody: required: false content: @@ -39053,7 +39212,7 @@ paths: parameters: - *94 - *201 - - *272 + - *273 responses: '204': description: Response @@ -39121,14 +39280,14 @@ paths: parameters: - *94 - *201 - - *273 - *274 + - *275 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &593 + schema: &596 title: Team Repository description: A team's access to a repository. type: object @@ -39699,8 +39858,8 @@ paths: parameters: - *94 - *201 - - *273 - *274 + - *275 requestBody: required: false content: @@ -39747,8 +39906,8 @@ paths: parameters: - *94 - *201 - - *273 - *274 + - *275 responses: '204': description: Response @@ -39785,7 +39944,7 @@ paths: type: array items: *188 examples: - response-if-child-teams-exist: &594 + response-if-child-teams-exist: &597 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -39912,7 +40071,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#get-a-project-card parameters: - - &275 + - &276 name: card_id description: The unique identifier of the card. in: path @@ -39924,7 +40083,7 @@ paths: description: Response content: application/json: - schema: &276 + schema: &277 title: Project Card description: Project cards represent a scope of work. type: object @@ -39991,7 +40150,7 @@ paths: - created_at - updated_at examples: - default: &277 + default: &278 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -40047,7 +40206,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#update-an-existing-project-card parameters: - - *275 + - *276 requestBody: required: false content: @@ -40074,9 +40233,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *277 examples: - default: *277 + default: *278 '304': *37 '403': *29 '401': *25 @@ -40103,7 +40262,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#delete-a-project-card parameters: - - *275 + - *276 responses: '204': description: Response @@ -40147,7 +40306,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#move-a-project-card parameters: - - *275 + - *276 requestBody: required: true content: @@ -40258,7 +40417,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#get-a-project-column parameters: - - &278 + - &279 name: column_id description: The unique identifier of the column. in: path @@ -40270,7 +40429,7 @@ paths: description: Response content: application/json: - schema: &279 + schema: &280 title: Project Column description: Project columns contain cards of work. type: object @@ -40316,7 +40475,7 @@ paths: - created_at - updated_at examples: - default: &280 + default: &281 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -40351,7 +40510,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#update-an-existing-project-column parameters: - - *278 + - *279 requestBody: required: true content: @@ -40375,9 +40534,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: - default: *280 + default: *281 '304': *37 '403': *29 '401': *25 @@ -40402,7 +40561,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#delete-a-project-column parameters: - - *278 + - *279 responses: '204': description: Response @@ -40431,7 +40590,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#list-project-cards parameters: - - *278 + - *279 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -40452,7 +40611,7 @@ paths: application/json: schema: type: array - items: *276 + items: *277 examples: default: value: @@ -40511,7 +40670,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#create-a-project-card parameters: - - *278 + - *279 requestBody: required: true content: @@ -40551,9 +40710,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *277 examples: - default: *277 + default: *278 '304': *37 '403': *29 '401': *25 @@ -40609,7 +40768,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#move-a-project-column parameters: - - *278 + - *279 requestBody: required: true content: @@ -40669,7 +40828,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-a-project parameters: - - *272 + - *273 responses: '200': description: Response @@ -40677,7 +40836,7 @@ paths: application/json: schema: *222 examples: - default: &281 + default: &282 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -40734,7 +40893,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#update-a-project parameters: - - *272 + - *273 requestBody: required: false content: @@ -40782,7 +40941,7 @@ paths: application/json: schema: *222 examples: - default: *281 + default: *282 '404': description: Not Found if the authenticated user does not have access to the project @@ -40803,7 +40962,7 @@ paths: items: type: string '401': *25 - '410': *282 + '410': *283 '422': *7 x-github: githubCloudOnly: false @@ -40826,7 +40985,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#delete-a-project parameters: - - *272 + - *273 responses: '204': description: Delete Success @@ -40847,7 +41006,7 @@ paths: items: type: string '401': *25 - '410': *282 + '410': *283 '404': *6 x-github: githubCloudOnly: false @@ -40871,7 +41030,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#list-project-collaborators parameters: - - *272 + - *273 - 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 @@ -40928,7 +41087,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - - *272 + - *273 - *132 requestBody: required: false @@ -40981,7 +41140,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *272 + - *273 - *132 responses: '204': @@ -41013,7 +41172,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *272 + - *273 - *132 responses: '200': @@ -41087,7 +41246,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#list-project-columns parameters: - - *272 + - *273 - *17 - *19 responses: @@ -41097,7 +41256,7 @@ paths: application/json: schema: type: array - items: *279 + items: *280 examples: default: value: @@ -41135,7 +41294,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#create-a-project-column parameters: - - *272 + - *273 requestBody: required: true content: @@ -41158,7 +41317,7 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: default: value: @@ -41222,7 +41381,7 @@ paths: resources: type: object properties: - core: &283 + core: &284 title: Rate Limit type: object properties: @@ -41239,20 +41398,20 @@ paths: - remaining - reset - used - graphql: *283 - search: *283 - code_search: *283 - source_import: *283 - integration_manifest: *283 - code_scanning_upload: *283 - actions_runner_registration: *283 - scim: *283 - dependency_snapshots: *283 - code_scanning_autofix: *283 + graphql: *284 + search: *284 + code_search: *284 + source_import: *284 + integration_manifest: *284 + code_scanning_upload: *284 + actions_runner_registration: *284 + scim: *284 + dependency_snapshots: *284 + code_scanning_autofix: *284 required: - core - search - rate: *283 + rate: *284 required: - rate - resources @@ -41356,14 +41515,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *273 - *274 + - *275 responses: '200': description: Response content: application/json: - schema: *284 + schema: *285 examples: default-response: summary: Default response @@ -41864,7 +42023,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *285 + '301': *286 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41882,8 +42041,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *273 - *274 + - *275 requestBody: required: false content: @@ -42119,10 +42278,10 @@ paths: description: Response content: application/json: - schema: *284 + schema: *285 examples: - default: *286 - '307': &287 + default: *287 + '307': &288 description: Temporary Redirect content: application/json: @@ -42151,8 +42310,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *273 - *274 + - *275 responses: '204': description: Response @@ -42174,7 +42333,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *287 + '307': *288 '404': *6 x-github: githubCloudOnly: false @@ -42197,11 +42356,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *273 - *274 + - *275 - *17 - *19 - - &313 + - &314 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -42224,7 +42383,7 @@ paths: type: integer artifacts: type: array - items: &288 + items: &289 title: Artifact description: An artifact type: object @@ -42295,7 +42454,7 @@ paths: - expires_at - updated_at examples: - default: &314 + default: &315 value: total_count: 2 artifacts: @@ -42354,9 +42513,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *273 - *274 - - &289 + - *275 + - &290 name: artifact_id description: The unique identifier of the artifact. in: path @@ -42368,7 +42527,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *289 examples: default: value: @@ -42405,9 +42564,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *273 - *274 - - *289 + - *275 + - *290 responses: '204': description: Response @@ -42431,9 +42590,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *273 - *274 - - *289 + - *275 + - *290 - name: archive_format in: path required: true @@ -42447,7 +42606,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': *282 + '410': *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42470,14 +42629,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *273 - *274 + - *275 responses: '200': description: Response content: application/json: - schema: *290 + schema: *291 examples: default: value: @@ -42503,11 +42662,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *273 - *274 + - *275 - *17 - *19 - - &291 + - &292 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 @@ -42541,7 +42700,7 @@ paths: description: Response content: application/json: - schema: &292 + schema: &293 title: Repository actions caches description: Repository actions caches type: object @@ -42583,7 +42742,7 @@ paths: - total_count - actions_caches examples: - default: &293 + default: &294 value: total_count: 1 actions_caches: @@ -42615,23 +42774,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: - - *273 - *274 + - *275 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *291 + - *292 responses: '200': description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42651,8 +42810,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: - - *273 - *274 + - *275 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -42683,9 +42842,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *273 - *274 - - &294 + - *275 + - &295 name: job_id description: The unique identifier of the job. in: path @@ -42697,7 +42856,7 @@ paths: description: Response content: application/json: - schema: &317 + schema: &318 title: Job description: Information of a job execution in a workflow run type: object @@ -43004,9 +43163,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *273 - *274 - - *294 + - *275 + - *295 responses: '302': description: Response @@ -43034,9 +43193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *273 - *274 - - *294 + - *275 + - *295 requestBody: required: false content: @@ -43081,8 +43240,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: - - *273 - *274 + - *275 responses: '200': description: Status response @@ -43132,8 +43291,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: - - *273 - *274 + - *275 requestBody: required: true content: @@ -43196,8 +43355,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -43215,7 +43374,7 @@ paths: type: integer secrets: type: array - items: &319 + items: &320 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -43235,7 +43394,7 @@ paths: - created_at - updated_at examples: - default: &320 + default: &321 value: total_count: 2 secrets: @@ -43268,9 +43427,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *273 - *274 - - *295 + - *275 + - *296 - *19 responses: '200': @@ -43287,7 +43446,7 @@ paths: type: integer variables: type: array - items: &323 + items: &324 title: Actions Variable type: object properties: @@ -43317,7 +43476,7 @@ paths: - created_at - updated_at examples: - default: &324 + default: &325 value: total_count: 2 variables: @@ -43350,8 +43509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -43360,11 +43519,11 @@ paths: schema: type: object properties: - enabled: &297 + enabled: &298 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *108 - selected_actions_url: *296 + selected_actions_url: *297 required: - enabled examples: @@ -43391,8 +43550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *273 - *274 + - *275 responses: '204': description: Response @@ -43403,7 +43562,7 @@ paths: schema: type: object properties: - enabled: *297 + enabled: *298 allowed_actions: *108 required: - enabled @@ -43433,14 +43592,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: - - *273 - *274 + - *275 responses: '200': description: Response content: application/json: - schema: &298 + schema: &299 type: object properties: access_level: @@ -43457,7 +43616,7 @@ paths: required: - access_level examples: - default: &299 + default: &300 value: access_level: organization x-github: @@ -43481,15 +43640,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: - - *273 - *274 + - *275 requestBody: required: true content: application/json: - schema: *298 + schema: *299 examples: - default: *299 + default: *300 responses: '204': description: Response @@ -43513,8 +43672,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -43541,8 +43700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *273 - *274 + - *275 responses: '204': description: Response @@ -43574,14 +43733,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *273 - *274 + - *275 responses: '200': description: Response content: application/json: - schema: *300 + schema: *301 examples: default: *114 x-github: @@ -43604,8 +43763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *273 - *274 + - *275 responses: '204': description: Success response @@ -43616,7 +43775,7 @@ paths: required: true content: application/json: - schema: *301 + schema: *302 examples: default: *114 x-github: @@ -43645,8 +43804,8 @@ paths: in: query schema: type: string - - *273 - *274 + - *275 - *17 - *19 responses: @@ -43690,8 +43849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -43699,9 +43858,9 @@ paths: application/json: schema: type: array - items: *302 + items: *303 examples: - default: *303 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43723,8 +43882,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: - - *273 - *274 + - *275 requestBody: required: true content: @@ -43767,7 +43926,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *304 + '201': *305 '404': *6 '422': *7 '409': *46 @@ -43798,8 +43957,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *273 - *274 + - *275 responses: '201': description: Response @@ -43807,7 +43966,7 @@ paths: application/json: schema: *123 examples: - default: *305 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43835,8 +43994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *273 - *274 + - *275 responses: '201': description: Response @@ -43844,7 +44003,7 @@ paths: application/json: schema: *123 examples: - default: *306 + default: *307 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43866,8 +44025,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: - - *273 - *274 + - *275 - *120 responses: '200': @@ -43876,7 +44035,7 @@ paths: application/json: schema: *121 examples: - default: *307 + default: *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43897,8 +44056,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: - - *273 - *274 + - *275 - *120 responses: '204': @@ -43924,8 +44083,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: - - *273 - *274 + - *275 - *120 responses: '200': *125 @@ -43950,8 +44109,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: - - *273 - *274 + - *275 - *120 requestBody: required: true @@ -44000,8 +44159,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: - - *273 - *274 + - *275 - *120 requestBody: required: true @@ -44051,11 +44210,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: - - *273 - *274 + - *275 - *120 responses: - '200': *308 + '200': *309 '404': *6 x-github: githubCloudOnly: false @@ -44082,10 +44241,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: - - *273 - *274 + - *275 - *120 - - *309 + - *310 responses: '200': *125 '404': *6 @@ -44113,9 +44272,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *273 - *274 - - &327 + - *275 + - &328 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. @@ -44123,7 +44282,7 @@ paths: required: false schema: type: string - - &328 + - &329 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -44131,7 +44290,7 @@ paths: required: false schema: type: string - - &329 + - &330 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -44140,7 +44299,7 @@ paths: required: false schema: type: string - - &330 + - &331 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 @@ -44167,7 +44326,7 @@ paths: - pending - *17 - *19 - - &331 + - &332 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)." @@ -44176,7 +44335,7 @@ paths: schema: type: string format: date-time - - &310 + - &311 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -44185,13 +44344,13 @@ paths: schema: type: boolean default: false - - &332 + - &333 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &333 + - &334 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -44214,7 +44373,7 @@ paths: type: integer workflow_runs: type: array - items: &311 + items: &312 title: Workflow Run description: An invocation of a workflow type: object @@ -44309,7 +44468,7 @@ paths: that triggered the run. type: array nullable: true - items: &352 + items: &353 title: Pull Request Minimal type: object properties: @@ -44428,7 +44587,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &356 + properties: &357 id: type: string description: SHA for the commit @@ -44479,7 +44638,7 @@ paths: - name - email nullable: true - required: &357 + required: &358 - id - tree_id - message @@ -44526,7 +44685,7 @@ paths: - workflow_url - pull_requests examples: - default: &334 + default: &335 value: total_count: 1 workflow_runs: @@ -44762,24 +44921,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *273 - *274 - - &312 + - *275 + - &313 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *310 + - *311 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: &315 + default: &316 value: id: 30433642 name: Build @@ -45020,9 +45179,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *273 - *274 - - *312 + - *275 + - *313 responses: '204': description: Response @@ -45045,9 +45204,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *273 - *274 - - *312 + - *275 + - *313 responses: '200': description: Response @@ -45166,9 +45325,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: - - *273 - *274 - - *312 + - *275 + - *313 responses: '201': description: Response @@ -45201,12 +45360,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *273 - *274 - - *312 + - *275 + - *313 - *17 - *19 - - *313 + - *314 responses: '200': description: Response @@ -45222,9 +45381,9 @@ paths: type: integer artifacts: type: array - items: *288 + items: *289 examples: - default: *314 + default: *315 headers: Link: *58 x-github: @@ -45248,25 +45407,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *273 - *274 - - *312 - - &316 + - *275 + - *313 + - &317 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *310 + - *311 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *315 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45289,10 +45448,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *273 - *274 - - *312 - - *316 + - *275 + - *313 + - *317 - *17 - *19 responses: @@ -45310,9 +45469,9 @@ paths: type: integer jobs: type: array - items: *317 + items: *318 examples: - default: &318 + default: &319 value: total_count: 1 jobs: @@ -45425,10 +45584,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *273 - *274 - - *312 - - *316 + - *275 + - *313 + - *317 responses: '302': description: Response @@ -45456,9 +45615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *273 - *274 - - *312 + - *275 + - *313 responses: '202': description: Response @@ -45491,9 +45650,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: - - *273 - *274 - - *312 + - *275 + - *313 requestBody: required: true content: @@ -45560,9 +45719,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *273 - *274 - - *312 + - *275 + - *313 responses: '202': description: Response @@ -45595,9 +45754,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *273 - *274 - - *312 + - *275 + - *313 - 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 @@ -45627,9 +45786,9 @@ paths: type: integer jobs: type: array - items: *317 + items: *318 examples: - default: *318 + default: *319 headers: Link: *58 x-github: @@ -45654,9 +45813,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *273 - *274 - - *312 + - *275 + - *313 responses: '302': description: Response @@ -45683,9 +45842,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *273 - *274 - - *312 + - *275 + - *313 responses: '204': description: Response @@ -45712,9 +45871,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *273 - *274 - - *312 + - *275 + - *313 responses: '200': description: Response @@ -45774,7 +45933,7 @@ paths: items: type: object properties: - type: &436 + type: &437 type: string description: The type of reviewer. enum: @@ -45859,9 +46018,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *273 - *274 - - *312 + - *275 + - *313 requestBody: required: true content: @@ -45908,7 +46067,7 @@ paths: application/json: schema: type: array - items: &431 + items: &432 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -46014,7 +46173,7 @@ paths: - created_at - updated_at examples: - default: &432 + default: &433 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -46070,9 +46229,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *273 - *274 - - *312 + - *275 + - *313 requestBody: required: false content: @@ -46116,9 +46275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *273 - *274 - - *312 + - *275 + - *313 requestBody: required: false content: @@ -46151,12 +46310,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 @@ -46164,9 +46330,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *273 - *274 - - *312 + - *275 + - *313 responses: '200': description: Response @@ -46303,8 +46469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -46322,9 +46488,9 @@ paths: type: integer secrets: type: array - items: *319 + items: *320 examples: - default: *320 + default: *321 headers: Link: *58 x-github: @@ -46349,16 +46515,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *273 - *274 + - *275 responses: '200': description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *322 + default: *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46380,17 +46546,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *273 - *274 + - *275 - *127 responses: '200': description: Response content: application/json: - schema: *319 + schema: *320 examples: - default: &449 + default: &450 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -46416,8 +46582,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *273 - *274 + - *275 - *127 requestBody: required: true @@ -46475,8 +46641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *273 - *274 + - *275 - *127 responses: '204': @@ -46502,9 +46668,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *273 - *274 - - *295 + - *275 + - *296 - *19 responses: '200': @@ -46521,9 +46687,9 @@ paths: type: integer variables: type: array - items: *323 + items: *324 examples: - default: *324 + default: *325 headers: Link: *58 x-github: @@ -46546,8 +46712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -46599,17 +46765,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *273 - *274 + - *275 - *130 responses: '200': description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: &450 + default: &451 value: name: USERNAME value: octocat @@ -46635,8 +46801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *273 - *274 + - *275 - *130 requestBody: required: true @@ -46679,8 +46845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *273 - *274 + - *275 - *130 responses: '204': @@ -46706,8 +46872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -46725,7 +46891,7 @@ paths: type: integer workflows: type: array - items: &325 + items: &326 title: Workflow description: A GitHub Actions workflow type: object @@ -46832,9 +46998,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *273 - *274 - - &326 + - *275 + - &327 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -46849,7 +47015,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *326 examples: default: value: @@ -46882,9 +47048,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *273 - *274 - - *326 + - *275 + - *327 responses: '204': description: Response @@ -46909,9 +47075,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *273 - *274 - - *326 + - *275 + - *327 responses: '204': description: Response @@ -46962,9 +47128,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *273 - *274 - - *326 + - *275 + - *327 responses: '204': description: Response @@ -46991,19 +47157,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *273 - *274 - - *326 + - *275 - *327 - *328 - *329 - *330 + - *331 - *17 - *19 - - *331 - - *310 - *332 + - *311 - *333 + - *334 responses: '200': description: Response @@ -47019,9 +47185,9 @@ paths: type: integer workflow_runs: type: array - items: *311 + items: *312 examples: - default: *334 + default: *335 headers: Link: *58 x-github: @@ -47032,14 +47198,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 @@ -47047,9 +47219,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *273 - *274 - - *326 + - *275 + - *327 responses: '200': description: Response @@ -47110,8 +47282,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *273 - *274 + - *275 - *48 - *17 - *39 @@ -47275,8 +47447,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -47313,8 +47485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *273 - *274 + - *275 - name: assignee in: path required: true @@ -47350,8 +47522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -47463,8 +47635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *273 - *274 + - *275 - *17 - *39 - *40 @@ -47510,7 +47682,7 @@ paths: bundle_url: type: string examples: - default: *335 + default: *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47530,8 +47702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -47539,7 +47711,7 @@ paths: application/json: schema: type: array - items: &336 + items: &337 title: Autolink reference description: An autolink reference. type: object @@ -47589,8 +47761,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -47629,9 +47801,9 @@ paths: description: response content: application/json: - schema: *336 + schema: *337 examples: - default: &337 + default: &338 value: id: 1 key_prefix: TICKET- @@ -47662,9 +47834,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *273 - *274 - - &338 + - *275 + - &339 name: autolink_id description: The unique identifier of the autolink. in: path @@ -47676,9 +47848,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *337 examples: - default: *337 + default: *338 '404': *6 x-github: githubCloudOnly: false @@ -47698,9 +47870,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *273 - *274 - - *338 + - *275 + - *339 responses: '204': description: Response @@ -47724,8 +47896,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: - - *273 - *274 + - *275 responses: '200': description: Response if Dependabot is enabled @@ -47773,8 +47945,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *273 - *274 + - *275 responses: '204': description: Response @@ -47795,8 +47967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *273 - *274 + - *275 responses: '204': description: Response @@ -47816,8 +47988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *273 - *274 + - *275 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -47855,7 +48027,7 @@ paths: - url protected: type: boolean - protection: &340 + protection: &341 title: Branch Protection description: Branch Protection type: object @@ -47897,7 +48069,7 @@ paths: required: - contexts - checks - enforce_admins: &343 + enforce_admins: &344 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -47912,7 +48084,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &345 + required_pull_request_reviews: &346 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -47988,7 +48160,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &342 + restrictions: &343 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -48295,9 +48467,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *273 - *274 - - &341 + - *275 + - &342 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). @@ -48311,14 +48483,14 @@ paths: description: Response content: application/json: - schema: &351 + schema: &352 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &404 + commit: &405 title: Commit description: Commit type: object @@ -48352,7 +48524,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &339 + properties: &340 name: type: string example: '"Chris Wanstrath"' @@ -48367,7 +48539,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *339 + properties: *340 nullable: true message: type: string @@ -48388,7 +48560,7 @@ paths: required: - sha - url - verification: &456 + verification: &457 title: Verification type: object properties: @@ -48458,7 +48630,7 @@ paths: type: integer files: type: array - items: &419 + items: &420 title: Diff Entry description: Diff Entry type: object @@ -48541,7 +48713,7 @@ paths: - self protected: type: boolean - protection: *340 + protection: *341 protection_url: type: string format: uri @@ -48648,7 +48820,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *285 + '301': *286 '404': *6 x-github: githubCloudOnly: false @@ -48670,15 +48842,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '200': description: Response content: application/json: - schema: *340 + schema: *341 examples: default: value: @@ -48872,9 +49044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *273 - *274 - - *341 + - *275 + - *342 requestBody: required: true content: @@ -49129,7 +49301,7 @@ paths: url: type: string format: uri - required_status_checks: &348 + required_status_checks: &349 title: Status Check Policy description: Status Check Policy type: object @@ -49281,7 +49453,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *342 + restrictions: *343 required_conversation_resolution: type: object properties: @@ -49393,9 +49565,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '204': description: Response @@ -49420,17 +49592,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '200': description: Response content: application/json: - schema: *343 + schema: *344 examples: - default: &344 + default: &345 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -49452,17 +49624,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '200': description: Response content: application/json: - schema: *343 + schema: *344 examples: - default: *344 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49481,9 +49653,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '204': description: Response @@ -49508,17 +49680,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '200': description: Response content: application/json: - schema: *345 + schema: *346 examples: - default: &346 + default: &347 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -49614,9 +49786,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *273 - *274 - - *341 + - *275 + - *342 requestBody: required: false content: @@ -49714,9 +49886,9 @@ paths: description: Response content: application/json: - schema: *345 + schema: *346 examples: - default: *346 + default: *347 '422': *15 x-github: githubCloudOnly: false @@ -49737,9 +49909,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '204': description: Response @@ -49766,17 +49938,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '200': description: Response content: application/json: - schema: *343 + schema: *344 examples: - default: &347 + default: &348 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -49799,17 +49971,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '200': description: Response content: application/json: - schema: *343 + schema: *344 examples: - default: *347 + default: *348 '404': *6 x-github: githubCloudOnly: false @@ -49829,9 +50001,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '204': description: Response @@ -49856,17 +50028,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '200': description: Response content: application/json: - schema: *348 + schema: *349 examples: - default: &349 + default: &350 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -49892,9 +50064,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *273 - *274 - - *341 + - *275 + - *342 requestBody: required: false content: @@ -49946,9 +50118,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *349 examples: - default: *349 + default: *350 '404': *6 '422': *15 x-github: @@ -49970,9 +50142,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '204': description: Response @@ -49996,9 +50168,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '200': description: Response @@ -50032,9 +50204,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *273 - *274 - - *341 + - *275 + - *342 requestBody: required: false content: @@ -50101,9 +50273,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *273 - *274 - - *341 + - *275 + - *342 requestBody: required: false content: @@ -50167,9 +50339,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *273 - *274 - - *341 + - *275 + - *342 requestBody: content: application/json: @@ -50235,15 +50407,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '200': description: Response content: application/json: - schema: *342 + schema: *343 examples: default: value: @@ -50334,9 +50506,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '204': description: Response @@ -50359,9 +50531,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '200': description: Response @@ -50371,7 +50543,7 @@ paths: type: array items: *5 examples: - default: &350 + default: &351 value: - id: 1 slug: octoapp @@ -50428,9 +50600,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *273 - *274 - - *341 + - *275 + - *342 requestBody: required: true content: @@ -50464,7 +50636,7 @@ paths: type: array items: *5 examples: - default: *350 + default: *351 '422': *15 x-github: githubCloudOnly: false @@ -50485,9 +50657,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *273 - *274 - - *341 + - *275 + - *342 requestBody: required: true content: @@ -50521,7 +50693,7 @@ paths: type: array items: *5 examples: - default: *350 + default: *351 '422': *15 x-github: githubCloudOnly: false @@ -50542,9 +50714,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *273 - *274 - - *341 + - *275 + - *342 requestBody: required: true content: @@ -50578,7 +50750,7 @@ paths: type: array items: *5 examples: - default: *350 + default: *351 '422': *15 x-github: githubCloudOnly: false @@ -50600,9 +50772,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '200': description: Response @@ -50632,9 +50804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *273 - *274 - - *341 + - *275 + - *342 requestBody: required: false content: @@ -50693,9 +50865,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *273 - *274 - - *341 + - *275 + - *342 requestBody: required: false content: @@ -50754,9 +50926,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *273 - *274 - - *341 + - *275 + - *342 requestBody: content: application/json: @@ -50815,9 +50987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *273 - *274 - - *341 + - *275 + - *342 responses: '200': description: Response @@ -50851,9 +51023,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *273 - *274 - - *341 + - *275 + - *342 requestBody: required: true content: @@ -50911,9 +51083,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *273 - *274 - - *341 + - *275 + - *342 requestBody: required: true content: @@ -50971,9 +51143,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *273 - *274 - - *341 + - *275 + - *342 requestBody: required: true content: @@ -51033,9 +51205,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *273 - *274 - - *341 + - *275 + - *342 requestBody: required: true content: @@ -51057,7 +51229,7 @@ paths: description: Response content: application/json: - schema: *351 + schema: *352 examples: default: value: @@ -51173,8 +51345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -51453,7 +51625,7 @@ paths: description: Response content: application/json: - schema: &353 + schema: &354 title: CheckRun description: A check performed on the code of a given code change type: object @@ -51572,8 +51744,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *352 - deployment: &644 + items: *353 + deployment: &647 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -51853,9 +52025,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *273 - *274 - - &354 + - *275 + - &355 name: check_run_id description: The unique identifier of the check run. in: path @@ -51867,9 +52039,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *354 examples: - default: &355 + default: &356 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -51969,9 +52141,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *273 - *274 - - *354 + - *275 + - *355 requestBody: required: true content: @@ -52211,9 +52383,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *354 examples: - default: *355 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52233,9 +52405,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *273 - *274 - - *354 + - *275 + - *355 - *17 - *19 responses: @@ -52332,9 +52504,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *273 - *274 - - *354 + - *275 + - *355 responses: '201': description: Response @@ -52378,8 +52550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -52401,7 +52573,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &358 + schema: &359 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -52465,7 +52637,7 @@ paths: nullable: true pull_requests: type: array - items: *352 + items: *353 nullable: true app: title: GitHub app @@ -52487,12 +52659,12 @@ paths: type: string format: date-time nullable: true - head_commit: &670 + head_commit: &673 title: Simple Commit description: A commit. type: object - properties: *356 - required: *357 + properties: *357 + required: *358 latest_check_runs_count: type: integer check_runs_url: @@ -52520,7 +52692,7 @@ paths: - check_runs_url - pull_requests examples: - default: &359 + default: &360 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -52811,9 +52983,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *358 + schema: *359 examples: - default: *359 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52832,8 +53004,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -53142,9 +53314,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *273 - *274 - - &360 + - *275 + - &361 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -53156,9 +53328,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *359 examples: - default: *359 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53181,17 +53353,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *273 - *274 - - *360 - - &412 + - *275 + - *361 + - &413 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &413 + - &414 name: status description: Returns check runs with the specified `status`. in: query @@ -53230,9 +53402,9 @@ paths: type: integer check_runs: type: array - items: *353 + items: *354 examples: - default: &414 + default: &415 value: total_count: 1 check_runs: @@ -53334,9 +53506,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *273 - *274 - - *360 + - *275 + - *361 responses: '201': description: Response @@ -53369,21 +53541,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *273 - *274 - - *361 + - *275 - *362 + - *363 - *19 - *17 - - &379 + - &380 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: *363 - - &380 + schema: *364 + - &381 name: pr description: The number of the pull request for the results you want to list. in: query @@ -53408,13 +53580,13 @@ paths: be returned. in: query required: false - schema: *364 + schema: *365 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *365 + schema: *366 responses: '200': description: Response @@ -53430,7 +53602,7 @@ paths: updated_at: *133 url: *56 html_url: *57 - instances_url: *366 + instances_url: *367 state: *138 fixed_at: *134 dismissed_by: @@ -53441,11 +53613,11 @@ paths: required: *21 nullable: true dismissed_at: *135 - dismissed_reason: *367 - dismissed_comment: *368 - rule: *369 - tool: *370 - most_recent_instance: *371 + dismissed_reason: *368 + dismissed_comment: *369 + rule: *370 + tool: *371 + most_recent_instance: *372 required: - number - created_at @@ -53561,7 +53733,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &372 + '403': &373 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -53588,9 +53760,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *273 - *274 - - &373 + - *275 + - &374 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -53604,7 +53776,7 @@ paths: description: Response content: application/json: - schema: &374 + schema: &375 type: object properties: number: *54 @@ -53612,7 +53784,7 @@ paths: updated_at: *133 url: *56 html_url: *57 - instances_url: *366 + instances_url: *367 state: *138 fixed_at: *134 dismissed_by: @@ -53623,8 +53795,8 @@ paths: required: *21 nullable: true dismissed_at: *135 - dismissed_reason: *367 - dismissed_comment: *368 + dismissed_reason: *368 + dismissed_comment: *369 rule: type: object properties: @@ -53678,8 +53850,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *370 - most_recent_instance: *371 + tool: *371 + most_recent_instance: *372 required: - number - created_at @@ -53768,7 +53940,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *372 + '403': *373 '404': *6 '503': *65 x-github: @@ -53788,9 +53960,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *273 - *274 - - *373 + - *275 + - *374 requestBody: required: true content: @@ -53805,8 +53977,8 @@ paths: enum: - open - dismissed - dismissed_reason: *367 - dismissed_comment: *368 + dismissed_reason: *368 + dismissed_comment: *369 required: - state examples: @@ -53821,7 +53993,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *375 examples: default: value: @@ -53896,7 +54068,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &378 + '403': &379 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -53923,15 +54095,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: - - *273 - *274 - - *373 + - *275 + - *374 responses: '200': description: Response content: application/json: - schema: &375 + schema: &376 type: object properties: status: @@ -53957,13 +54129,13 @@ paths: - description - started_at examples: - default: &376 + default: &377 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &377 + '400': &378 description: Bad Request content: application/json: @@ -53974,7 +54146,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': *372 + '403': *373 '404': *6 '503': *65 x-github: @@ -53999,29 +54171,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: - - *273 - *274 - - *373 + - *275 + - *374 responses: '200': description: OK content: application/json: - schema: *375 + schema: *376 examples: - default: *376 + default: *377 '202': description: Accepted content: application/json: - schema: *375 + schema: *376 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *377 + '400': *378 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -54053,9 +54225,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: - - *273 - *274 - - *373 + - *275 + - *374 requestBody: required: false content: @@ -54100,8 +54272,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *377 - '403': *378 + '400': *378 + '403': *379 '404': *6 '422': description: Unprocessable Entity @@ -54125,13 +54297,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *273 - *274 - - *373 + - *275 + - *374 - *19 - *17 - - *379 - *380 + - *381 responses: '200': description: Response @@ -54139,7 +54311,7 @@ paths: application/json: schema: type: array - items: *371 + items: *372 examples: default: value: @@ -54178,7 +54350,7 @@ paths: end_column: 50 classifications: - source - '403': *372 + '403': *373 '404': *6 '503': *65 x-github: @@ -54212,25 +54384,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *273 - *274 - - *361 + - *275 - *362 + - *363 - *19 - *17 - - *380 + - *381 - 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: *363 + schema: *364 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &383 + schema: &384 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -54251,23 +54423,23 @@ paths: application/json: schema: type: array - items: &384 + items: &385 type: object properties: - ref: *363 - commit_sha: &392 + ref: *364 + commit_sha: &393 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: *381 + analysis_key: *382 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *382 + category: *383 error: type: string example: error reading field xyz @@ -54291,8 +54463,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *383 - tool: *370 + sarif_id: *384 + tool: *371 deletable: type: boolean warning: @@ -54353,7 +54525,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *372 + '403': *373 '404': *6 '503': *65 x-github: @@ -54389,8 +54561,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: - - *273 - *274 + - *275 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -54403,7 +54575,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *385 examples: response: summary: application/json response @@ -54457,7 +54629,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *372 + '403': *373 '404': *6 '503': *65 x-github: @@ -54539,8 +54711,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: - - *273 - *274 + - *275 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -54593,7 +54765,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': *378 + '403': *379 '404': *6 '503': *65 x-github: @@ -54615,8 +54787,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -54624,7 +54796,7 @@ paths: application/json: schema: type: array - items: &385 + items: &386 title: CodeQL Database description: A CodeQL database. type: object @@ -54735,7 +54907,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': *372 + '403': *373 '404': *6 '503': *65 x-github: @@ -54764,8 +54936,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *273 - *274 + - *275 - name: language in: path description: The language of the CodeQL database. @@ -54777,7 +54949,7 @@ paths: description: Response content: application/json: - schema: *385 + schema: *386 examples: default: value: @@ -54809,9 +54981,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': &421 + '302': &422 description: Found - '403': *372 + '403': *373 '404': *6 '503': *65 x-github: @@ -54833,8 +55005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *273 - *274 + - *275 - name: language in: path description: The language of the CodeQL database. @@ -54844,7 +55016,7 @@ paths: responses: '204': description: Response - '403': *378 + '403': *379 '404': *6 '503': *65 x-github: @@ -54872,8 +55044,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -54882,7 +55054,7 @@ paths: type: object additionalProperties: false properties: - language: &386 + language: &387 type: string description: The language targeted by the CodeQL query enum: @@ -54960,7 +55132,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &390 + schema: &391 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -54970,7 +55142,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *386 + query_language: *387 query_pack_url: type: string description: The download url for the query pack. @@ -55017,7 +55189,7 @@ paths: items: type: object properties: - repository: &387 + repository: &388 title: Repository Identifier description: Repository Identifier type: object @@ -55053,7 +55225,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &391 + analysis_status: &392 type: string description: The new status of the CodeQL variant analysis repository task. @@ -55085,7 +55257,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &388 + access_mismatch_repos: &389 type: object properties: repository_count: @@ -55099,7 +55271,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: *387 + items: *388 required: - repository_count - repositories @@ -55121,8 +55293,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *388 - over_limit_repos: *388 + no_codeql_db_repos: *389 + over_limit_repos: *389 required: - access_mismatch_repos - not_found_repos @@ -55138,7 +55310,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &389 + value: &390 summary: Default response value: id: 1 @@ -55290,10 +55462,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *389 + value: *390 repository_lists: summary: Response for a successful variant analysis submission - value: *389 + value: *390 '404': *6 '422': description: Unable to process variant analysis submission @@ -55321,8 +55493,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: - - *273 - *274 + - *275 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -55334,9 +55506,9 @@ paths: description: Response content: application/json: - schema: *390 + schema: *391 examples: - default: *389 + default: *390 '404': *6 '503': *65 x-github: @@ -55359,7 +55531,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: - - *273 + - *274 - name: repo in: path description: The name of the controller repository. @@ -55394,7 +55566,7 @@ paths: type: object properties: repository: *53 - analysis_status: *391 + analysis_status: *392 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -55519,8 +55691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -55594,7 +55766,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *372 + '403': *373 '404': *6 '503': *65 x-github: @@ -55615,8 +55787,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -55698,7 +55870,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *378 + '403': *379 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -55763,8 +55935,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -55772,7 +55944,7 @@ paths: schema: type: object properties: - commit_sha: *392 + commit_sha: *393 ref: type: string description: |- @@ -55830,7 +56002,7 @@ paths: schema: type: object properties: - id: *383 + id: *384 url: type: string description: The REST API URL for checking the status of the upload. @@ -55844,7 +56016,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': *378 + '403': *379 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -55867,8 +56039,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *273 - *274 + - *275 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -55914,7 +56086,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': *372 + '403': *373 '404': description: Not Found if the sarif id does not match any upload '503': *65 @@ -55939,8 +56111,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: - - *273 - *274 + - *275 responses: '200': description: Response @@ -56018,8 +56190,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *273 - *274 + - *275 - 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 @@ -56139,8 +56311,8 @@ paths: parameters: - *17 - *19 - - *273 - *274 + - *275 responses: '200': description: Response @@ -56454,8 +56626,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -56520,7 +56692,7 @@ paths: application/json: schema: *192 examples: - default: *393 + default: *394 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -56528,7 +56700,7 @@ paths: application/json: schema: *192 examples: - default: *393 + default: *394 '400': *14 '401': *25 '403': *29 @@ -56557,8 +56729,8 @@ paths: parameters: - *17 - *19 - - *273 - *274 + - *275 responses: '200': description: Response @@ -56622,8 +56794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *273 - *274 + - *275 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -56658,14 +56830,14 @@ paths: type: integer machines: type: array - items: &601 + items: &604 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *394 - required: *395 + properties: *395 + required: *396 examples: - default: &602 + default: &605 value: total_count: 2 machines: @@ -56705,8 +56877,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *273 - *274 + - *275 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -56790,8 +56962,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: - - *273 - *274 + - *275 - 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 @@ -56857,8 +57029,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -56876,7 +57048,7 @@ paths: type: integer secrets: type: array - items: &399 + items: &400 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -56896,7 +57068,7 @@ paths: - created_at - updated_at examples: - default: *396 + default: *397 headers: Link: *58 x-github: @@ -56919,16 +57091,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *273 - *274 + - *275 responses: '200': description: Response content: application/json: - schema: *397 + schema: *398 examples: - default: *398 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -56948,17 +57120,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *273 - *274 + - *275 - *127 responses: '200': description: Response content: application/json: - schema: *399 + schema: *400 examples: - default: *400 + default: *401 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56978,8 +57150,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *273 - *274 + - *275 - *127 requestBody: required: true @@ -57032,8 +57204,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *273 - *274 + - *275 - *127 responses: '204': @@ -57062,8 +57234,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *273 - *274 + - *275 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -57105,7 +57277,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &401 + properties: &402 login: type: string example: octocat @@ -57198,7 +57370,7 @@ paths: user_view_type: type: string example: public - required: &402 + required: &403 - avatar_url - events_url - followers_url @@ -57272,8 +57444,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *273 - *274 + - *275 - *132 responses: '204': @@ -57316,8 +57488,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *273 - *274 + - *275 - *132 requestBody: required: false @@ -57344,7 +57516,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &469 + schema: &470 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -57566,8 +57738,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *273 - *274 + - *275 - *132 responses: '204': @@ -57597,8 +57769,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *273 - *274 + - *275 - *132 responses: '200': @@ -57619,8 +57791,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *401 - required: *402 + properties: *402 + required: *403 nullable: true required: - permission @@ -57675,8 +57847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -57686,7 +57858,7 @@ paths: application/json: schema: type: array - items: &403 + items: &404 title: Commit Comment description: Commit Comment type: object @@ -57744,7 +57916,7 @@ paths: - created_at - updated_at examples: - default: &406 + default: &407 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -57803,17 +57975,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *273 - *274 + - *275 - *76 responses: '200': description: Response content: application/json: - schema: *403 + schema: *404 examples: - default: &407 + default: &408 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -57870,8 +58042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *273 - *274 + - *275 - *76 requestBody: required: true @@ -57894,7 +58066,7 @@ paths: description: Response content: application/json: - schema: *403 + schema: *404 examples: default: value: @@ -57945,8 +58117,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *273 - *274 + - *275 - *76 responses: '204': @@ -57968,8 +58140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *273 - *274 + - *275 - *76 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -57996,9 +58168,9 @@ paths: application/json: schema: type: array - items: *266 + items: *267 examples: - default: *268 + default: *269 headers: Link: *58 '404': *6 @@ -58019,8 +58191,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *273 - *274 + - *275 - *76 requestBody: required: true @@ -58053,16 +58225,16 @@ paths: description: Reaction exists content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 '201': description: Reaction created content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 '422': *15 x-github: githubCloudOnly: false @@ -58084,10 +58256,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *273 - *274 + - *275 - *76 - - *269 + - *270 responses: '204': description: Response @@ -58136,8 +58308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *273 - *274 + - *275 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -58193,9 +58365,9 @@ paths: application/json: schema: type: array - items: *404 + items: *405 examples: - default: &520 + default: &521 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -58289,9 +58461,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *273 - *274 - - &405 + - *275 + - &406 name: commit_sha description: The SHA of the commit. in: path @@ -58363,9 +58535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *273 - *274 - - *405 + - *275 + - *406 - *17 - *19 responses: @@ -58375,9 +58547,9 @@ paths: application/json: schema: type: array - items: *403 + items: *404 examples: - default: *406 + default: *407 headers: Link: *58 x-github: @@ -58405,9 +58577,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *273 - *274 - - *405 + - *275 + - *406 requestBody: required: true content: @@ -58442,9 +58614,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *404 examples: - default: *407 + default: *408 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -58472,9 +58644,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *273 - *274 - - *405 + - *275 + - *406 - *17 - *19 responses: @@ -58484,7 +58656,7 @@ paths: application/json: schema: type: array - items: &511 + items: &512 title: Pull Request Simple description: Pull Request Simple type: object @@ -58590,8 +58762,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *408 - required: *409 + properties: *409 + required: *410 nullable: true active_lock_reason: type: string @@ -58687,7 +58859,7 @@ paths: _links: type: object properties: - comments: &410 + comments: &411 title: Link description: Hypermedia Link type: object @@ -58696,13 +58868,13 @@ paths: type: string required: - href - commits: *410 - statuses: *410 - html: *410 - issue: *410 - review_comments: *410 - review_comment: *410 - self: *410 + commits: *411 + statuses: *411 + html: *411 + issue: *411 + review_comments: *411 + review_comment: *411 + self: *411 required: - comments - commits @@ -58713,7 +58885,7 @@ paths: - review_comment - self author_association: *63 - auto_merge: &513 + auto_merge: &514 title: Auto merge description: The status of auto merging a pull request. type: object @@ -58776,7 +58948,7 @@ paths: - author_association - auto_merge examples: - default: &512 + default: &513 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -59313,11 +59485,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *273 - *274 + - *275 - *19 - *17 - - &411 + - &412 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)" @@ -59332,9 +59504,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: &498 + default: &499 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -59447,11 +59619,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *273 - *274 - - *411 + - *275 - *412 - *413 + - *414 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -59485,9 +59657,9 @@ paths: type: integer check_runs: type: array - items: *353 + items: *354 examples: - default: *414 + default: *415 headers: Link: *58 x-github: @@ -59512,9 +59684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *273 - *274 - - *411 + - *275 + - *412 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -59522,7 +59694,7 @@ paths: schema: type: integer example: 1 - - *412 + - *413 - *17 - *19 responses: @@ -59540,7 +59712,7 @@ paths: type: integer check_suites: type: array - items: *358 + items: *359 examples: default: value: @@ -59740,9 +59912,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *273 - *274 - - *411 + - *275 + - *412 - *17 - *19 responses: @@ -59940,9 +60112,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *273 - *274 - - *411 + - *275 + - *412 - *17 - *19 responses: @@ -59952,7 +60124,7 @@ paths: application/json: schema: type: array - items: &575 + items: &578 title: Status description: The status of a commit. type: object @@ -60033,7 +60205,7 @@ paths: site_admin: false headers: Link: *58 - '301': *285 + '301': *286 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60061,8 +60233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -60091,20 +60263,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *415 - required: *416 + properties: *416 + required: *417 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &417 + properties: &418 url: type: string format: uri html_url: type: string format: uri - required: &418 + required: &419 - url - html_url nullable: true @@ -60118,26 +60290,26 @@ paths: contributing: title: Community Health File type: object - properties: *417 - required: *418 + properties: *418 + required: *419 nullable: true readme: title: Community Health File type: object - properties: *417 - required: *418 + properties: *418 + required: *419 nullable: true issue_template: title: Community Health File type: object - properties: *417 - required: *418 + properties: *418 + required: *419 nullable: true pull_request_template: title: Community Health File type: object - properties: *417 - required: *418 + properties: *418 + required: *419 nullable: true required: - code_of_conduct @@ -60264,8 +60436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *273 - *274 + - *275 - *19 - *17 - name: basehead @@ -60308,8 +60480,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *404 - merge_base_commit: *404 + base_commit: *405 + merge_base_commit: *405 status: type: string enum: @@ -60329,10 +60501,10 @@ paths: example: 6 commits: type: array - items: *404 + items: *405 files: type: array - items: *419 + items: *420 required: - url - html_url @@ -60618,8 +60790,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *273 - *274 + - *275 - name: path description: path parameter in: path @@ -60760,7 +60932,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &420 + response-if-content-is-a-file: &421 summary: Response if content is a file value: type: file @@ -60892,7 +61064,7 @@ paths: - size - type - url - - &525 + - &526 title: Content File description: Content File type: object @@ -61093,7 +61265,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *420 + response-if-content-is-a-file: *421 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -61162,7 +61334,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *421 + '302': *422 '304': *37 x-github: githubCloudOnly: false @@ -61185,8 +61357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *273 - *274 + - *275 - name: path description: path parameter in: path @@ -61279,7 +61451,7 @@ paths: description: Response content: application/json: - schema: &422 + schema: &423 title: File Commit description: File Commit type: object @@ -61431,7 +61603,7 @@ paths: description: Response content: application/json: - schema: *422 + schema: *423 examples: example-for-creating-a-file: value: @@ -61485,7 +61657,7 @@ paths: schema: oneOf: - *3 - - &451 + - &452 description: Repository rule violation was detected type: object properties: @@ -61506,7 +61678,7 @@ paths: items: type: object properties: - placeholder_id: &567 + placeholder_id: &570 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -61538,8 +61710,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *273 - *274 + - *275 - name: path description: path parameter in: path @@ -61600,7 +61772,7 @@ paths: description: Response content: application/json: - schema: *422 + schema: *423 examples: default: value: @@ -61655,8 +61827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *273 - *274 + - *275 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -61779,8 +61951,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *273 - *274 + - *275 - *149 - *150 - *151 @@ -61822,7 +61994,7 @@ paths: application/json: schema: type: array - items: &425 + items: &426 type: object description: A Dependabot alert. properties: @@ -61855,7 +62027,7 @@ paths: enum: - development - runtime - security_advisory: *423 + security_advisory: *424 security_vulnerability: *52 url: *56 html_url: *57 @@ -61886,7 +62058,7 @@ paths: nullable: true maxLength: 280 fixed_at: *134 - auto_dismissed_at: *424 + auto_dismissed_at: *425 required: - number - state @@ -62116,9 +62288,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *273 - *274 - - &426 + - *275 + - &427 name: alert_number in: path description: |- @@ -62133,7 +62305,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *426 examples: default: value: @@ -62246,9 +62418,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *273 - *274 - - *426 + - *275 + - *427 requestBody: required: true content: @@ -62293,7 +62465,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *426 examples: default: value: @@ -62422,8 +62594,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -62441,7 +62613,7 @@ paths: type: integer secrets: type: array - items: &429 + items: &430 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -62494,16 +62666,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *273 - *274 + - *275 responses: '200': description: Response content: application/json: - schema: *427 + schema: *428 examples: - default: *428 + default: *429 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62523,15 +62695,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *273 - *274 + - *275 - *127 responses: '200': description: Response content: application/json: - schema: *429 + schema: *430 examples: default: value: @@ -62557,8 +62729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *273 - *274 + - *275 - *127 requestBody: required: true @@ -62611,8 +62783,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *273 - *274 + - *275 - *127 responses: '204': @@ -62635,8 +62807,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: - - *273 - *274 + - *275 - 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 @@ -62796,8 +62968,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: - - *273 - *274 + - *275 responses: '200': description: Response @@ -63036,8 +63208,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: - - *273 - *274 + - *275 requestBody: required: true content: @@ -63112,7 +63284,7 @@ paths: - version - url additionalProperties: false - metadata: &430 + metadata: &431 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -63145,7 +63317,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *430 + metadata: *431 resolved: type: object description: A collection of resolved package dependencies. @@ -63158,7 +63330,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *430 + metadata: *431 relationship: type: string description: A notation of whether a dependency is requested @@ -63287,8 +63459,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *273 - *274 + - *275 - name: sha description: The SHA recorded at creation time. in: query @@ -63328,9 +63500,9 @@ paths: application/json: schema: type: array - items: *431 + items: *432 examples: - default: *432 + default: *433 headers: Link: *58 x-github: @@ -63396,8 +63568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -63478,7 +63650,7 @@ paths: description: Response content: application/json: - schema: *431 + schema: *432 examples: simple-example: summary: Simple example @@ -63551,9 +63723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *273 - *274 - - &433 + - *275 + - &434 name: deployment_id description: deployment_id parameter in: path @@ -63565,7 +63737,7 @@ paths: description: Response content: application/json: - schema: *431 + schema: *432 examples: default: value: @@ -63630,9 +63802,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *273 - *274 - - *433 + - *275 + - *434 responses: '204': description: Response @@ -63654,9 +63826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *273 - *274 - - *433 + - *275 + - *434 - *17 - *19 responses: @@ -63666,7 +63838,7 @@ paths: application/json: schema: type: array - items: &434 + items: &435 title: Deployment Status description: The status of a deployment. type: object @@ -63827,9 +63999,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *273 - *274 - - *433 + - *275 + - *434 requestBody: required: true content: @@ -63904,9 +64076,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *435 examples: - default: &435 + default: &436 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -63962,9 +64134,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *273 - *274 - - *433 + - *275 + - *434 - name: status_id in: path required: true @@ -63975,9 +64147,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *435 examples: - default: *435 + default: *436 '404': *6 x-github: githubCloudOnly: false @@ -64002,8 +64174,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -64060,8 +64232,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -64078,7 +64250,7 @@ paths: type: integer environments: type: array - items: &437 + items: &438 title: Environment description: Details of a deployment environment type: object @@ -64130,7 +64302,7 @@ paths: type: type: string example: wait_timer - wait_timer: &439 + wait_timer: &440 type: integer example: 30 description: The amount of time to delay a job after @@ -64167,7 +64339,7 @@ paths: items: type: object properties: - type: *436 + type: *437 reviewer: anyOf: - *4 @@ -64191,7 +64363,7 @@ paths: - id - node_id - type - deployment_branch_policy: &440 + deployment_branch_policy: &441 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -64307,9 +64479,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *273 - *274 - - &438 + - *275 + - &439 name: environment_name in: path required: true @@ -64322,9 +64494,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *438 examples: - default: &441 + default: &442 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -64408,9 +64580,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *273 - *274 - - *438 + - *275 + - *439 requestBody: required: false content: @@ -64419,7 +64591,7 @@ paths: type: object nullable: true properties: - wait_timer: *439 + wait_timer: *440 prevent_self_review: type: boolean example: false @@ -64436,13 +64608,13 @@ paths: items: type: object properties: - type: *436 + type: *437 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *440 + deployment_branch_policy: *441 additionalProperties: false examples: default: @@ -64462,9 +64634,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *438 examples: - default: *441 + default: *442 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -64488,9 +64660,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *273 - *274 - - *438 + - *275 + - *439 responses: '204': description: Default response @@ -64515,9 +64687,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *273 - *274 - - *438 + - *275 + - *439 - *17 - *19 responses: @@ -64535,7 +64707,7 @@ paths: example: 2 branch_policies: type: array - items: &442 + items: &443 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -64592,9 +64764,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *273 - *274 - - *438 + - *275 + - *439 requestBody: required: true content: @@ -64640,9 +64812,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *443 examples: - example-wildcard: &443 + example-wildcard: &444 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -64684,10 +64856,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *273 - *274 - - *438 - - &444 + - *275 + - *439 + - &445 name: branch_policy_id in: path required: true @@ -64699,9 +64871,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *443 examples: - default: *443 + default: *444 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64720,10 +64892,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *273 - *274 - - *438 - - *444 + - *275 + - *439 + - *445 requestBody: required: true content: @@ -64751,9 +64923,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *443 examples: - default: *443 + default: *444 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64772,10 +64944,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *273 - *274 - - *438 - - *444 + - *275 + - *439 + - *445 responses: '204': description: Response @@ -64800,9 +64972,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *438 + - *439 + - *275 - *274 - - *273 responses: '200': description: List of deployment protection rules @@ -64818,7 +64990,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &445 + items: &446 title: Deployment protection rule description: Deployment protection rule type: object @@ -64837,7 +65009,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &446 + app: &447 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -64936,9 +65108,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: - - *438 + - *439 + - *275 - *274 - - *273 requestBody: content: application/json: @@ -64959,9 +65131,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *445 + schema: *446 examples: - default: &447 + default: &448 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -64996,9 +65168,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: - - *438 + - *439 + - *275 - *274 - - *273 - *19 - *17 responses: @@ -65017,7 +65189,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *446 + items: *447 examples: default: value: @@ -65052,10 +65224,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *273 - *274 - - *438 - - &448 + - *275 + - *439 + - &449 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -65067,9 +65239,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *446 examples: - default: *447 + default: *448 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65090,10 +65262,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *438 + - *439 + - *275 - *274 - - *273 - - *448 + - *449 responses: '204': description: Response @@ -65119,9 +65291,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *273 - *274 - - *438 + - *275 + - *439 - *17 - *19 responses: @@ -65139,9 +65311,9 @@ paths: type: integer secrets: type: array - items: *319 + items: *320 examples: - default: *320 + default: *321 headers: Link: *58 x-github: @@ -65166,17 +65338,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *273 - *274 - - *438 + - *275 + - *439 responses: '200': description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *322 + default: *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65198,18 +65370,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *273 - *274 - - *438 + - *275 + - *439 - *127 responses: '200': description: Response content: application/json: - schema: *319 + schema: *320 examples: - default: *449 + default: *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65231,9 +65403,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *273 - *274 - - *438 + - *275 + - *439 - *127 requestBody: required: true @@ -65291,9 +65463,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *273 - *274 - - *438 + - *275 + - *439 - *127 responses: '204': @@ -65319,10 +65491,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *273 - *274 - - *438 - - *295 + - *275 + - *439 + - *296 - *19 responses: '200': @@ -65339,9 +65511,9 @@ paths: type: integer variables: type: array - items: *323 + items: *324 examples: - default: *324 + default: *325 headers: Link: *58 x-github: @@ -65364,9 +65536,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *273 - *274 - - *438 + - *275 + - *439 requestBody: required: true content: @@ -65418,18 +65590,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *273 - *274 - - *438 + - *275 + - *439 - *130 responses: '200': description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: *450 + default: *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65450,10 +65622,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *273 - *274 + - *275 - *130 - - *438 + - *439 requestBody: required: true content: @@ -65495,10 +65667,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *273 - *274 + - *275 - *130 - - *438 + - *439 responses: '204': description: Response @@ -65520,8 +65692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -65598,8 +65770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *273 - *274 + - *275 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -65758,8 +65930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *273 - *274 + - *275 requestBody: required: false content: @@ -65791,9 +65963,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *285 examples: - default: *286 + default: *287 '400': *14 '422': *15 '403': *29 @@ -65814,8 +65986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -65875,7 +66047,7 @@ paths: schema: oneOf: - *97 - - *451 + - *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65900,8 +66072,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *273 - *274 + - *275 - name: file_sha in: path required: true @@ -66000,8 +66172,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -66110,7 +66282,7 @@ paths: description: Response content: application/json: - schema: &452 + schema: &453 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -66324,15 +66496,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *273 - *274 - - *405 + - *275 + - *406 responses: '200': description: Response content: application/json: - schema: *452 + schema: *453 examples: default: value: @@ -66388,9 +66560,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *273 - *274 - - &453 + - *275 + - &454 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. @@ -66407,7 +66579,7 @@ paths: application/json: schema: type: array - items: &454 + items: &455 title: Git Reference description: Git references within a repository type: object @@ -66482,17 +66654,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *273 - *274 - - *453 + - *275 + - *454 responses: '200': description: Response content: application/json: - schema: *454 + schema: *455 examples: - default: &455 + default: &456 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -66521,8 +66693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -66551,9 +66723,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *455 examples: - default: *455 + default: *456 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -66579,9 +66751,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *273 - *274 - - *453 + - *275 + - *454 requestBody: required: true content: @@ -66610,9 +66782,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *455 examples: - default: *455 + default: *456 '422': *15 '409': *46 x-github: @@ -66630,9 +66802,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *273 - *274 - - *453 + - *275 + - *454 responses: '204': description: Response @@ -66685,8 +66857,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -66753,7 +66925,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &458 title: Git Tag description: Metadata for a Git tag type: object @@ -66804,7 +66976,7 @@ paths: - sha - type - url - verification: *456 + verification: *457 required: - sha - url @@ -66814,7 +66986,7 @@ paths: - tag - message examples: - default: &458 + default: &459 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -66887,8 +67059,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *273 - *274 + - *275 - name: tag_sha in: path required: true @@ -66899,9 +67071,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: *458 + default: *459 '404': *6 '409': *46 x-github: @@ -66925,8 +67097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -66999,7 +67171,7 @@ paths: description: Response content: application/json: - schema: &459 + schema: &460 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -67111,8 +67283,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *273 - *274 + - *275 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -67135,7 +67307,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *460 examples: default-response: summary: Default response @@ -67194,8 +67366,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -67205,7 +67377,7 @@ paths: application/json: schema: type: array - items: &460 + items: &461 title: Webhook description: Webhooks for repositories. type: object @@ -67259,7 +67431,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &678 + last_response: &681 title: Hook Response type: object properties: @@ -67333,8 +67505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *273 - *274 + - *275 requestBody: required: false content: @@ -67386,9 +67558,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *461 examples: - default: &461 + default: &462 value: type: Repository id: 12345678 @@ -67436,17 +67608,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *273 - *274 + - *275 - *165 responses: '200': description: Response content: application/json: - schema: *460 + schema: *461 examples: - default: *461 + default: *462 '404': *6 x-github: githubCloudOnly: false @@ -67466,8 +67638,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *273 - *274 + - *275 - *165 requestBody: required: true @@ -67513,9 +67685,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *461 examples: - default: *461 + default: *462 '422': *15 '404': *6 x-github: @@ -67536,8 +67708,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *273 - *274 + - *275 - *165 responses: '204': @@ -67562,8 +67734,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *273 - *274 + - *275 - *165 responses: '200': @@ -67591,8 +67763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *273 - *274 + - *275 - *165 requestBody: required: false @@ -67637,8 +67809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *273 - *274 + - *275 - *165 - *17 - *166 @@ -67670,8 +67842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *273 - *274 + - *275 - *165 - *16 responses: @@ -67700,8 +67872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *273 - *274 + - *275 - *165 - *16 responses: @@ -67725,8 +67897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *273 - *274 + - *275 - *165 responses: '204': @@ -67752,8 +67924,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *273 - *274 + - *275 - *165 responses: '204': @@ -67812,14 +67984,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *273 - *274 + - *275 responses: '200': description: Response content: application/json: - schema: &462 + schema: &463 title: Import description: A repository import from an external source. type: object @@ -67918,7 +68090,7 @@ paths: - html_url - authors_url examples: - default: &465 + default: &466 value: vcs: subversion use_lfs: true @@ -67934,7 +68106,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': &463 + '503': &464 description: Unavailable due to service under maintenance. content: application/json: @@ -67963,8 +68135,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -68012,7 +68184,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *463 examples: default: value: @@ -68037,7 +68209,7 @@ paths: type: string '422': *15 '404': *6 - '503': *463 + '503': *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68065,8 +68237,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *273 - *274 + - *275 requestBody: required: false content: @@ -68115,7 +68287,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *463 examples: example-1: summary: Example 1 @@ -68163,7 +68335,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': *463 + '503': *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68186,12 +68358,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *273 - *274 + - *275 responses: '204': description: Response - '503': *463 + '503': *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68217,9 +68389,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *273 - *274 - - &625 + - *275 + - &628 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -68233,7 +68405,7 @@ paths: application/json: schema: type: array - items: &464 + items: &465 title: Porter Author description: Porter Author type: object @@ -68287,7 +68459,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': *463 + '503': *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68312,8 +68484,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *273 - *274 + - *275 - name: author_id in: path required: true @@ -68343,7 +68515,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *465 examples: default: value: @@ -68356,7 +68528,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *463 + '503': *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68380,8 +68552,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -68422,7 +68594,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *463 + '503': *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68450,8 +68622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -68478,11 +68650,11 @@ paths: description: Response content: application/json: - schema: *462 + schema: *463 examples: - default: *465 + default: *466 '422': *15 - '503': *463 + '503': *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68505,8 +68677,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -68514,8 +68686,8 @@ paths: application/json: schema: *22 examples: - default: *466 - '301': *285 + default: *467 + '301': *286 '404': *6 x-github: githubCloudOnly: false @@ -68535,8 +68707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -68549,7 +68721,7 @@ paths: properties: {} additionalProperties: false examples: - default: &468 + default: &469 value: limit: collaborators_only origin: repository @@ -68574,13 +68746,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *273 - *274 + - *275 requestBody: required: true content: application/json: - schema: *467 + schema: *468 examples: default: summary: Example request body @@ -68594,7 +68766,7 @@ paths: application/json: schema: *183 examples: - default: *468 + default: *469 '409': description: Response x-github: @@ -68616,8 +68788,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *273 - *274 + - *275 responses: '204': description: Response @@ -68640,8 +68812,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -68651,9 +68823,9 @@ paths: application/json: schema: type: array - items: *469 + items: *470 examples: - default: &618 + default: &621 value: - id: 1 repository: @@ -68784,8 +68956,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *273 - *274 + - *275 - *187 requestBody: required: false @@ -68815,7 +68987,7 @@ paths: description: Response content: application/json: - schema: *469 + schema: *470 examples: default: value: @@ -68946,8 +69118,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *273 - *274 + - *275 - *187 responses: '204': @@ -68979,8 +69151,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *273 - *274 + - *275 - 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 @@ -69045,7 +69217,7 @@ paths: type: array items: *77 examples: - default: &480 + default: &481 value: - id: 1 node_id: MDU6SXNzdWUx @@ -69193,7 +69365,7 @@ paths: state_reason: completed headers: Link: *58 - '301': *285 + '301': *286 '422': *15 '404': *6 x-github: @@ -69222,8 +69394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -69300,7 +69472,7 @@ paths: application/json: schema: *77 examples: - default: &475 + default: &476 value: id: 1 node_id: MDU6SXNzdWUx @@ -69456,7 +69628,7 @@ paths: '422': *15 '503': *65 '404': *6 - '410': *282 + '410': *283 x-github: triggersNotification: true githubCloudOnly: false @@ -69484,8 +69656,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *273 - *274 + - *275 - *87 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -69506,9 +69678,9 @@ paths: application/json: schema: type: array - items: *470 + items: *471 examples: - default: &477 + default: &478 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -69566,17 +69738,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *273 - *274 + - *275 - *76 responses: '200': description: Response content: application/json: - schema: *470 + schema: *471 examples: - default: &471 + default: &472 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -69630,8 +69802,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *273 - *274 + - *275 - *76 requestBody: required: true @@ -69654,9 +69826,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: - default: *471 + default: *472 '422': *15 x-github: githubCloudOnly: false @@ -69674,8 +69846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *273 - *274 + - *275 - *76 responses: '204': @@ -69696,8 +69868,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *273 - *274 + - *275 - *76 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -69724,9 +69896,9 @@ paths: application/json: schema: type: array - items: *266 + items: *267 examples: - default: *268 + default: *269 headers: Link: *58 '404': *6 @@ -69747,8 +69919,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *273 - *274 + - *275 - *76 requestBody: required: true @@ -69781,16 +69953,16 @@ paths: description: Reaction exists content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 '201': description: Reaction created content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 '422': *15 x-github: githubCloudOnly: false @@ -69812,10 +69984,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *273 - *274 + - *275 - *76 - - *269 + - *270 responses: '204': description: Response @@ -69835,8 +70007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -69846,7 +70018,7 @@ paths: application/json: schema: type: array - items: &474 + items: &475 title: Issue Event description: Issue Event type: object @@ -69889,8 +70061,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *472 - required: *473 + properties: *473 + required: *474 nullable: true label: title: Issue Event Label @@ -70197,8 +70369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *273 - *274 + - *275 - name: event_id in: path required: true @@ -70209,7 +70381,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: default: value: @@ -70402,7 +70574,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *282 + '410': *283 '403': *29 x-github: githubCloudOnly: false @@ -70436,9 +70608,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *273 - *274 - - &476 + - *275 + - &477 name: issue_number description: The number that identifies the issue. in: path @@ -70452,10 +70624,10 @@ paths: application/json: schema: *77 examples: - default: *475 - '301': *285 + default: *476 + '301': *286 '404': *6 - '410': *282 + '410': *283 '304': *37 x-github: githubCloudOnly: false @@ -70480,9 +70652,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *273 - *274 - - *476 + - *275 + - *477 requestBody: required: false content: @@ -70579,13 +70751,13 @@ paths: application/json: schema: *77 examples: - default: *475 + default: *476 '422': *15 '503': *65 '403': *29 - '301': *285 + '301': *286 '404': *6 - '410': *282 + '410': *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70603,9 +70775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *273 - *274 - - *476 + - *275 + - *477 requestBody: required: false content: @@ -70633,7 +70805,7 @@ paths: application/json: schema: *77 examples: - default: *475 + default: *476 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70649,9 +70821,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *273 - *274 - - *476 + - *275 + - *477 requestBody: content: application/json: @@ -70678,7 +70850,7 @@ paths: application/json: schema: *77 examples: - default: *475 + default: *476 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70700,9 +70872,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: - - *273 - *274 - - *476 + - *275 + - *477 - name: assignee in: path required: true @@ -70742,9 +70914,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *273 - *274 - - *476 + - *275 + - *477 - *67 - *17 - *19 @@ -70755,13 +70927,13 @@ paths: application/json: schema: type: array - items: *470 + items: *471 examples: - default: *477 + default: *478 headers: Link: *58 '404': *6 - '410': *282 + '410': *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70790,9 +70962,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *273 - *274 - - *476 + - *275 + - *477 requestBody: required: true content: @@ -70814,16 +70986,16 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: - default: *471 + default: *472 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *282 + '410': *283 '422': *15 '404': *6 x-github: @@ -70843,9 +71015,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *273 - *274 - - *476 + - *275 + - *477 - *17 - *19 responses: @@ -70859,7 +71031,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &481 + - &482 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -70913,7 +71085,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &482 + - &483 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -71049,7 +71221,7 @@ paths: - performed_via_github_app - assignee - assigner - - &483 + - &484 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -71100,7 +71272,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &484 + - &485 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -71151,7 +71323,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &485 + - &486 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -71205,7 +71377,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &486 + - &487 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -71252,7 +71424,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &487 + - &488 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -71299,7 +71471,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &488 + - &489 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -71359,7 +71531,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &489 + - &490 title: Locked Issue Event description: Locked Issue Event type: object @@ -71407,7 +71579,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &490 + - &491 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -71473,7 +71645,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &491 + - &492 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -71539,7 +71711,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &492 + - &493 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -71605,7 +71777,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &493 + - &494 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -71696,7 +71868,7 @@ paths: color: red headers: Link: *58 - '410': *282 + '410': *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71713,9 +71885,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *273 - *274 - - *476 + - *275 + - *477 - *17 - *19 responses: @@ -71725,7 +71897,7 @@ paths: application/json: schema: type: array - items: &478 + items: &479 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -71772,7 +71944,7 @@ paths: - color - default examples: - default: &479 + default: &480 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -71790,9 +71962,9 @@ paths: default: false headers: Link: *58 - '301': *285 + '301': *286 '404': *6 - '410': *282 + '410': *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71809,9 +71981,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *273 - *274 - - *476 + - *275 + - *477 requestBody: required: false content: @@ -71870,12 +72042,12 @@ paths: application/json: schema: type: array - items: *478 + items: *479 examples: - default: *479 - '301': *285 + default: *480 + '301': *286 '404': *6 - '410': *282 + '410': *283 '422': *15 x-github: githubCloudOnly: false @@ -71892,9 +72064,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *273 - *274 - - *476 + - *275 + - *477 requestBody: required: false content: @@ -71954,12 +72126,12 @@ paths: application/json: schema: type: array - items: *478 + items: *479 examples: - default: *479 - '301': *285 + default: *480 + '301': *286 '404': *6 - '410': *282 + '410': *283 '422': *15 x-github: githubCloudOnly: false @@ -71976,15 +72148,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *273 - *274 - - *476 + - *275 + - *477 responses: '204': description: Response - '301': *285 + '301': *286 '404': *6 - '410': *282 + '410': *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72003,9 +72175,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *273 - *274 - - *476 + - *275 + - *477 - name: name in: path required: true @@ -72018,7 +72190,7 @@ paths: application/json: schema: type: array - items: *478 + items: *479 examples: default: value: @@ -72029,9 +72201,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *285 + '301': *286 '404': *6 - '410': *282 + '410': *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72051,9 +72223,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *273 - *274 - - *476 + - *275 + - *477 requestBody: required: false content: @@ -72081,7 +72253,7 @@ paths: '204': description: Response '403': *29 - '410': *282 + '410': *283 '404': *6 '422': *15 x-github: @@ -72099,9 +72271,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *273 - *274 - - *476 + - *275 + - *477 responses: '204': description: Response @@ -72123,9 +72295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *273 - *274 - - *476 + - *275 + - *477 - 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. @@ -72151,13 +72323,13 @@ paths: application/json: schema: type: array - items: *266 + items: *267 examples: - default: *268 + default: *269 headers: Link: *58 '404': *6 - '410': *282 + '410': *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72175,9 +72347,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *273 - *274 - - *476 + - *275 + - *477 requestBody: required: true content: @@ -72209,20 +72381,20 @@ paths: description: Response content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 '201': description: Response content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 '422': *15 x-github: githubCloudOnly: false - enabledForGitHubApps: false + enabledForGitHubApps: true category: reactions subcategory: reactions "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": @@ -72240,10 +72412,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *273 - *274 - - *476 - - *269 + - *275 + - *477 + - *270 responses: '204': description: Response @@ -72272,9 +72444,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *273 - *274 - - *476 + - *275 + - *477 requestBody: required: true content: @@ -72298,7 +72470,7 @@ paths: application/json: schema: *77 examples: - default: *475 + default: *476 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -72331,9 +72503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *273 - *274 - - *476 + - *275 + - *477 - *17 - *19 responses: @@ -72345,11 +72517,11 @@ paths: type: array items: *77 examples: - default: *480 + default: *481 headers: Link: *58 '404': *6 - '410': *282 + '410': *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72377,9 +72549,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *273 - *274 - - *476 + - *275 + - *477 requestBody: required: true content: @@ -72408,14 +72580,14 @@ paths: application/json: schema: *77 examples: - default: *475 + default: *476 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *282 + '410': *283 '422': *15 '404': *6 x-github: @@ -72435,9 +72607,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *273 - *274 - - *476 + - *275 + - *477 requestBody: required: true content: @@ -72470,7 +72642,7 @@ paths: application/json: schema: *77 examples: - default: *475 + default: *476 '403': *29 '404': *6 '422': *7 @@ -72492,9 +72664,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *273 - *274 - - *476 + - *275 + - *477 - *17 - *19 responses: @@ -72509,7 +72681,6 @@ paths: description: Timeline Event type: object anyOf: - - *481 - *482 - *483 - *484 @@ -72522,6 +72693,7 @@ paths: - *491 - *492 - *493 + - *494 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -72826,7 +72998,7 @@ paths: type: string comments: type: array - items: &514 + items: &515 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -73035,7 +73207,7 @@ paths: type: string comments: type: array - items: *403 + items: *404 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -73324,7 +73496,7 @@ paths: headers: Link: *58 '404': *6 - '410': *282 + '410': *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73341,8 +73513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -73352,7 +73524,7 @@ paths: application/json: schema: type: array - items: &494 + items: &495 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -73417,8 +73589,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -73454,9 +73626,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *495 examples: - default: &495 + default: &496 value: id: 1 key: ssh-rsa AAA... @@ -73490,9 +73662,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *273 - *274 - - &496 + - *275 + - &497 name: key_id description: The unique identifier of the key. in: path @@ -73504,9 +73676,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *495 examples: - default: *495 + default: *496 '404': *6 x-github: githubCloudOnly: false @@ -73524,9 +73696,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *273 - *274 - - *496 + - *275 + - *497 responses: '204': description: Response @@ -73546,8 +73718,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -73557,9 +73729,9 @@ paths: application/json: schema: type: array - items: *478 + items: *479 examples: - default: *479 + default: *480 headers: Link: *58 '404': *6 @@ -73580,8 +73752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -73617,9 +73789,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *479 examples: - default: &497 + default: &498 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -73651,8 +73823,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *273 - *274 + - *275 - name: name in: path required: true @@ -73663,9 +73835,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *479 examples: - default: *497 + default: *498 '404': *6 x-github: githubCloudOnly: false @@ -73682,8 +73854,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *273 - *274 + - *275 - name: name in: path required: true @@ -73722,7 +73894,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *479 examples: default: value: @@ -73748,8 +73920,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *273 - *274 + - *275 - name: name in: path required: true @@ -73775,8 +73947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -73815,9 +73987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *273 - *274 - - *379 + - *275 + - *380 responses: '200': description: Response @@ -73962,8 +74134,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -74028,8 +74200,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -74063,9 +74235,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *404 + schema: *405 examples: - default: *498 + default: *499 '204': description: Response when already merged '404': @@ -74090,8 +74262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *273 - *274 + - *275 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -74132,12 +74304,12 @@ paths: application/json: schema: type: array - items: &499 + items: &500 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *408 - required: *409 + properties: *409 + required: *410 examples: default: value: @@ -74193,8 +74365,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -74234,9 +74406,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: &500 + default: &501 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -74295,9 +74467,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *273 - *274 - - &501 + - *275 + - &502 name: milestone_number description: The number that identifies the milestone. in: path @@ -74309,9 +74481,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: *500 + default: *501 '404': *6 x-github: githubCloudOnly: false @@ -74328,9 +74500,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *273 - *274 - - *501 + - *275 + - *502 requestBody: required: false content: @@ -74368,9 +74540,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: *500 + default: *501 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74386,9 +74558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *273 - *274 - - *501 + - *275 + - *502 responses: '204': description: Response @@ -74409,9 +74581,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *273 - *274 - - *501 + - *275 + - *502 - *17 - *19 responses: @@ -74421,9 +74593,9 @@ paths: application/json: schema: type: array - items: *478 + items: *479 examples: - default: *479 + default: *480 headers: Link: *58 x-github: @@ -74442,12 +74614,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *273 - *274 - - *502 + - *275 - *503 - - *67 - *504 + - *67 + - *505 - *17 - *19 responses: @@ -74459,7 +74631,7 @@ paths: type: array items: *90 examples: - default: *505 + default: *506 headers: Link: *58 x-github: @@ -74483,8 +74655,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *273 - *274 + - *275 requestBody: required: false content: @@ -74542,14 +74714,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *273 - *274 + - *275 responses: '200': description: Response content: application/json: - schema: &506 + schema: &507 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -74674,7 +74846,7 @@ paths: - custom_404 - public examples: - default: &507 + default: &508 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -74715,8 +74887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -74770,9 +74942,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: *507 + default: *508 '422': *15 '409': *46 x-github: @@ -74795,8 +74967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -74895,8 +75067,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *273 - *274 + - *275 responses: '204': description: Response @@ -74922,8 +75094,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -74933,7 +75105,7 @@ paths: application/json: schema: type: array - items: &508 + items: &509 title: Page Build description: Page Build type: object @@ -75027,8 +75199,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *273 - *274 + - *275 responses: '201': description: Response @@ -75073,16 +75245,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *273 - *274 + - *275 responses: '200': description: Response content: application/json: - schema: *508 + schema: *509 examples: - default: &509 + default: &510 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -75130,8 +75302,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *273 - *274 + - *275 - name: build_id in: path required: true @@ -75142,9 +75314,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *509 examples: - default: *509 + default: *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75164,8 +75336,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -75270,9 +75442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *273 - *274 - - &510 + - *275 + - &511 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -75330,9 +75502,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *273 - *274 - - *510 + - *275 + - *511 responses: '204': *142 '404': *6 @@ -75359,8 +75531,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -75618,8 +75790,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: - - *273 - *274 + - *275 responses: '200': description: Private vulnerability reporting status @@ -75656,8 +75828,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *273 - *274 + - *275 responses: '204': *142 '422': *14 @@ -75678,8 +75850,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *273 - *274 + - *275 responses: '204': *142 '422': *14 @@ -75702,8 +75874,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-repository-projects parameters: - - *273 - *274 + - *275 - name: state description: Indicates the state of the projects to return. in: query @@ -75764,7 +75936,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *282 + '410': *283 '422': *7 x-github: githubCloudOnly: false @@ -75787,8 +75959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-a-repository-project parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -75816,11 +75988,11 @@ paths: application/json: schema: *222 examples: - default: *281 + default: *282 '401': *25 '403': *29 '404': *6 - '410': *282 + '410': *283 '422': *7 x-github: githubCloudOnly: false @@ -75843,8 +76015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -75883,8 +76055,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: - - *273 - *274 + - *275 requestBody: required: true content: @@ -75946,8 +76118,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *273 - *274 + - *275 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -76007,9 +76179,9 @@ paths: application/json: schema: type: array - items: *511 + items: *512 examples: - default: *512 + default: *513 headers: Link: *58 '304': *37 @@ -76041,8 +76213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -76107,7 +76279,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &517 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -76218,8 +76390,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *408 - required: *409 + properties: *409 + required: *410 nullable: true active_lock_reason: type: string @@ -76264,7 +76436,7 @@ paths: nullable: true requested_teams: type: array - items: *249 + items: *250 nullable: true head: type: object @@ -76303,14 +76475,14 @@ paths: _links: type: object properties: - comments: *410 - commits: *410 - statuses: *410 - html: *410 - issue: *410 - review_comments: *410 - review_comment: *410 - self: *410 + comments: *411 + commits: *411 + statuses: *411 + html: *411 + issue: *411 + review_comments: *411 + review_comment: *411 + self: *411 required: - comments - commits @@ -76321,7 +76493,7 @@ paths: - review_comment - self author_association: *63 - auto_merge: *513 + auto_merge: *514 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -76413,7 +76585,7 @@ paths: - merged_by - review_comments examples: - default: &517 + default: &518 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -76940,8 +77112,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *273 - *274 + - *275 - name: sort in: query required: false @@ -76970,9 +77142,9 @@ paths: application/json: schema: type: array - items: *514 + items: *515 examples: - default: &519 + default: &520 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -77049,17 +77221,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *273 - *274 + - *275 - *76 responses: '200': description: Response content: application/json: - schema: *514 + schema: *515 examples: - default: &515 + default: &516 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -77134,8 +77306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *273 - *274 + - *275 - *76 requestBody: required: true @@ -77158,9 +77330,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: - default: *515 + default: *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77176,8 +77348,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *273 - *274 + - *275 - *76 responses: '204': @@ -77199,8 +77371,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *273 - *274 + - *275 - *76 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -77227,9 +77399,9 @@ paths: application/json: schema: type: array - items: *266 + items: *267 examples: - default: *268 + default: *269 headers: Link: *58 '404': *6 @@ -77250,8 +77422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *273 - *274 + - *275 - *76 requestBody: required: true @@ -77284,16 +77456,16 @@ paths: description: Reaction exists content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 '201': description: Reaction created content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 '422': *15 x-github: githubCloudOnly: false @@ -77315,10 +77487,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *273 - *274 + - *275 - *76 - - *269 + - *270 responses: '204': description: Response @@ -77361,9 +77533,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *273 - *274 - - &518 + - *275 + - &519 name: pull_number description: The number that identifies the pull request. in: path @@ -77376,9 +77548,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *516 + schema: *517 examples: - default: *517 + default: *518 '304': *37 '404': *6 '406': @@ -77413,9 +77585,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *273 - *274 - - *518 + - *275 + - *519 requestBody: required: false content: @@ -77457,9 +77629,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: *517 + default: *518 '422': *15 '403': *29 x-github: @@ -77481,9 +77653,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *273 - *274 - - *518 + - *275 + - *519 requestBody: required: true content: @@ -77545,7 +77717,7 @@ paths: application/json: schema: *192 examples: - default: *393 + default: *394 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -77553,7 +77725,7 @@ paths: application/json: schema: *192 examples: - default: *393 + default: *394 '401': *25 '403': *29 '404': *6 @@ -77583,9 +77755,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *273 - *274 - - *518 + - *275 + - *519 - *87 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -77606,9 +77778,9 @@ paths: application/json: schema: type: array - items: *514 + items: *515 examples: - default: *519 + default: *520 headers: Link: *58 x-github: @@ -77641,9 +77813,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *273 - *274 - - *518 + - *275 + - *519 requestBody: required: true content: @@ -77748,7 +77920,7 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: example-for-a-multi-line-comment: value: @@ -77836,9 +78008,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *273 - *274 - - *518 + - *275 + - *519 - *76 requestBody: required: true @@ -77861,7 +78033,7 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: default: value: @@ -77947,9 +78119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *273 - *274 - - *518 + - *275 + - *519 - *17 - *19 responses: @@ -77959,9 +78131,9 @@ paths: application/json: schema: type: array - items: *404 + items: *405 examples: - default: *520 + default: *521 headers: Link: *58 x-github: @@ -77991,9 +78163,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *273 - *274 - - *518 + - *275 + - *519 - *17 - *19 responses: @@ -78003,7 +78175,7 @@ paths: application/json: schema: type: array - items: *419 + items: *420 examples: default: value: @@ -78041,9 +78213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *273 - *274 - - *518 + - *275 + - *519 responses: '204': description: Response if pull request has been merged @@ -78066,9 +78238,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *273 - *274 - - *518 + - *275 + - *519 requestBody: required: false content: @@ -78179,9 +78351,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *273 - *274 - - *518 + - *275 + - *519 responses: '200': description: Response @@ -78256,9 +78428,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *273 - *274 - - *518 + - *275 + - *519 requestBody: required: false content: @@ -78295,7 +78467,7 @@ paths: description: Response content: application/json: - schema: *511 + schema: *512 examples: default: value: @@ -78831,9 +79003,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *273 - *274 - - *518 + - *275 + - *519 requestBody: required: true content: @@ -78867,7 +79039,7 @@ paths: description: Response content: application/json: - schema: *511 + schema: *512 examples: default: value: @@ -79372,9 +79544,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *273 - *274 - - *518 + - *275 + - *519 - *17 - *19 responses: @@ -79384,7 +79556,7 @@ paths: application/json: schema: type: array - items: &521 + items: &522 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -79535,9 +79707,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *273 - *274 - - *518 + - *275 + - *519 requestBody: required: false content: @@ -79623,9 +79795,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: - default: &523 + default: &524 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -79688,10 +79860,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *273 - *274 - - *518 - - &522 + - *275 + - *519 + - &523 name: review_id description: The unique identifier of the review. in: path @@ -79703,9 +79875,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: - default: &524 + default: &525 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -79764,10 +79936,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *273 - *274 - - *518 - - *522 + - *275 + - *519 + - *523 requestBody: required: true content: @@ -79790,7 +79962,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: default: value: @@ -79852,18 +80024,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *273 - *274 - - *518 - - *522 + - *275 + - *519 + - *523 responses: '200': description: Response content: application/json: - schema: *521 + schema: *522 examples: - default: *523 + default: *524 '422': *7 '404': *6 x-github: @@ -79890,10 +80062,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *273 - *274 - - *518 - - *522 + - *275 + - *519 + - *523 - *17 - *19 responses: @@ -79976,9 +80148,9 @@ paths: _links: type: object properties: - self: *410 - html: *410 - pull_request: *410 + self: *411 + html: *411 + pull_request: *411 required: - self - html @@ -80121,10 +80293,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *273 - *274 - - *518 - - *522 + - *275 + - *519 + - *523 requestBody: required: true content: @@ -80152,7 +80324,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: default: value: @@ -80215,10 +80387,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *273 - *274 - - *518 - - *522 + - *275 + - *519 + - *523 requestBody: required: true content: @@ -80253,9 +80425,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: - default: *524 + default: *525 '404': *6 '422': *7 '403': *29 @@ -80277,9 +80449,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *273 - *274 - - *518 + - *275 + - *519 requestBody: required: false content: @@ -80342,8 +80514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *273 - *274 + - *275 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -80356,9 +80528,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: &526 + default: &527 value: type: file encoding: base64 @@ -80400,8 +80572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *273 - *274 + - *275 - name: dir description: The alternate path to look for a README file in: path @@ -80421,9 +80593,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: *526 + default: *527 '404': *6 '422': *15 x-github: @@ -80445,8 +80617,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -80456,7 +80628,7 @@ paths: application/json: schema: type: array - items: &527 + items: &528 title: Release description: A release. type: object @@ -80519,7 +80691,7 @@ paths: author: *4 assets: type: array - items: &528 + items: &529 title: Release Asset description: Data related to a release. type: object @@ -80700,8 +80872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -80777,9 +80949,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: - default: &531 + default: &532 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -80882,9 +81054,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *273 - *274 - - &529 + - *275 + - &530 name: asset_id description: The unique identifier of the asset. in: path @@ -80896,9 +81068,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *529 examples: - default: &530 + default: &531 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 @@ -80932,7 +81104,7 @@ paths: type: User site_admin: false '404': *6 - '302': *421 + '302': *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80948,9 +81120,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *273 - *274 - - *529 + - *275 + - *530 requestBody: required: false content: @@ -80978,9 +81150,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *529 examples: - default: *530 + default: *531 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80996,9 +81168,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *273 - *274 - - *529 + - *275 + - *530 responses: '204': description: Response @@ -81022,8 +81194,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -81108,16 +81280,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *273 - *274 + - *275 responses: '200': description: Response content: application/json: - schema: *527 + schema: *528 examples: - default: *531 + default: *532 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81134,8 +81306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *273 - *274 + - *275 - name: tag description: tag parameter in: path @@ -81148,9 +81320,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: - default: *531 + default: *532 '404': *6 x-github: githubCloudOnly: false @@ -81172,9 +81344,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *273 - *274 - - &532 + - *275 + - &533 name: release_id description: The unique identifier of the release. in: path @@ -81188,9 +81360,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: *527 + schema: *528 examples: - default: *531 + default: *532 '401': description: Unauthorized x-github: @@ -81208,9 +81380,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *273 - *274 - - *532 + - *275 + - *533 requestBody: required: false content: @@ -81274,9 +81446,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: - default: *531 + default: *532 '404': description: Not Found if the discussion category name is invalid content: @@ -81297,9 +81469,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *273 - *274 - - *532 + - *275 + - *533 responses: '204': description: Response @@ -81319,9 +81491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *273 - *274 - - *532 + - *275 + - *533 - *17 - *19 responses: @@ -81331,7 +81503,7 @@ paths: application/json: schema: type: array - items: *528 + items: *529 examples: default: value: @@ -81411,9 +81583,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: - - *273 - *274 - - *532 + - *275 + - *533 - name: name in: query required: true @@ -81439,7 +81611,7 @@ paths: description: Response for successful upload content: application/json: - schema: *528 + schema: *529 examples: response-for-successful-upload: value: @@ -81493,9 +81665,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *273 - *274 - - *532 + - *275 + - *533 - 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. @@ -81519,9 +81691,9 @@ paths: application/json: schema: type: array - items: *266 + items: *267 examples: - default: *268 + default: *269 headers: Link: *58 '404': *6 @@ -81542,9 +81714,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *273 - *274 - - *532 + - *275 + - *533 requestBody: required: true content: @@ -81574,16 +81746,16 @@ paths: description: Reaction exists content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 '201': description: Reaction created content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 '422': *15 x-github: githubCloudOnly: false @@ -81605,10 +81777,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *273 - *274 - - *532 - - *269 + - *275 + - *533 + - *270 responses: '204': description: Response @@ -81632,9 +81804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *273 - *274 - - *341 + - *275 + - *342 - *17 - *19 responses: @@ -81650,8 +81822,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *533 - - &535 + - *534 + - &536 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -81671,53 +81843,53 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *534 - *535 - - allOf: - *536 - - *535 - allOf: - *537 - - *535 + - *536 - allOf: - *538 - - *535 + - *536 - allOf: - *539 - - *535 + - *536 - allOf: - *540 - - *535 + - *536 - allOf: - *541 - - *535 + - *536 - allOf: - *542 - - *535 + - *536 - allOf: - *543 - - *535 + - *536 - allOf: - *544 - - *535 + - *536 - allOf: - *545 - - *535 + - *536 - allOf: - *546 - - *535 + - *536 - allOf: - *547 - - *535 + - *536 - allOf: - *548 - - *535 + - *536 - allOf: - *549 - - *535 + - *536 - allOf: - *550 - - *535 + - *536 + - allOf: + - *551 + - *536 examples: default: value: @@ -81756,8 +81928,8 @@ paths: category: repos subcategory: rules parameters: - - *273 - *274 + - *275 - *17 - *19 - name: includes_parents @@ -81768,7 +81940,7 @@ paths: schema: type: boolean default: true - - *551 + - *552 responses: '200': description: Response @@ -81823,8 +81995,8 @@ paths: category: repos subcategory: rules parameters: - - *273 - *274 + - *275 requestBody: description: Request body required: true @@ -81886,7 +82058,7 @@ paths: application/json: schema: *237 examples: - default: &561 + default: &562 value: id: 42 name: super cool ruleset @@ -81933,12 +82105,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *273 - *274 - - *552 + - *275 - *553 - *554 - *555 + - *556 - *17 - *19 responses: @@ -81946,9 +82118,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: *557 + default: *558 '404': *6 '500': *145 x-github: @@ -81969,17 +82141,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *273 - *274 - - *558 + - *275 + - *559 responses: '200': description: Response content: application/json: - schema: *559 + schema: *560 examples: - default: *560 + default: *561 '404': *6 '500': *145 x-github: @@ -82007,8 +82179,8 @@ paths: category: repos subcategory: rules parameters: - - *273 - *274 + - *275 - name: ruleset_id description: The ID of the ruleset. in: path @@ -82030,7 +82202,7 @@ paths: application/json: schema: *237 examples: - default: *561 + default: *562 '404': *6 '500': *145 put: @@ -82048,8 +82220,8 @@ paths: category: repos subcategory: rules parameters: - - *273 - *274 + - *275 - name: ruleset_id description: The ID of the ruleset. in: path @@ -82113,7 +82285,7 @@ paths: application/json: schema: *237 examples: - default: *561 + default: *562 '404': *6 '500': *145 delete: @@ -82131,8 +82303,8 @@ paths: category: repos subcategory: rules parameters: - - *273 - *274 + - *275 - name: ruleset_id description: The ID of the ruleset. in: path @@ -82144,6 +82316,113 @@ paths: description: Response '404': *6 '500': *145 + "/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: + - *274 + - *275 + - *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: *239 + examples: + default: *563 + '404': *6 + '500': *145 + 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: + - *274 + - *275 + - 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: *564 + 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': *145 + 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 @@ -82160,20 +82439,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *273 - *274 - - *239 + - *275 - *240 - *241 - *242 + - *243 - *48 - *19 - *17 - - *562 - - *563 - - *243 + - *565 + - *566 - *244 - *245 + - *246 responses: '200': description: Response @@ -82181,7 +82460,7 @@ paths: application/json: schema: type: array - items: &566 + items: &569 type: object properties: number: *54 @@ -82200,8 +82479,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *564 - resolution: *565 + state: *567 + resolution: *568 resolved_at: type: string format: date-time @@ -82414,15 +82693,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *273 - *274 - - *373 + - *275 + - *374 responses: '200': description: Response content: application/json: - schema: *566 + schema: *569 examples: default: value: @@ -82474,9 +82753,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *273 - *274 - - *373 + - *275 + - *374 requestBody: required: true content: @@ -82484,8 +82763,8 @@ paths: schema: type: object properties: - state: *564 - resolution: *565 + state: *567 + resolution: *568 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -82503,7 +82782,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *569 examples: default: value: @@ -82578,9 +82857,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *273 - *274 - - *373 + - *275 + - *374 - *19 - *17 responses: @@ -82591,7 +82870,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &699 + items: &702 type: object properties: type: @@ -82950,8 +83229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -82959,14 +83238,14 @@ paths: schema: type: object properties: - reason: &568 + reason: &571 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *567 + placeholder_id: *570 required: - reason - placeholder_id @@ -82983,7 +83262,7 @@ paths: schema: type: object properties: - reason: *568 + reason: *571 expire_at: type: string format: date-time @@ -83026,8 +83305,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: - - *273 - *274 + - *275 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -83042,7 +83321,7 @@ paths: properties: incremental_scans: type: array - items: &569 + items: &572 description: Information on a single scan performed by secret scanning on the repository type: object @@ -83068,15 +83347,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *569 + items: *572 backfill_scans: type: array - items: *569 + items: *572 custom_pattern_backfill_scans: type: array items: allOf: - - *569 + - *572 - type: object properties: pattern_name: @@ -83146,8 +83425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *273 - *274 + - *275 - *48 - name: sort description: The property to sort the results by. @@ -83191,9 +83470,9 @@ paths: application/json: schema: type: array - items: *570 + items: *573 examples: - default: *571 + default: *574 '400': *14 '404': *6 x-github: @@ -83216,8 +83495,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -83290,7 +83569,7 @@ paths: login: type: string description: The username of the user credited. - type: *248 + type: *249 required: - login - type @@ -83377,9 +83656,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *573 examples: - default: &573 + default: &576 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -83612,8 +83891,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -83717,7 +83996,7 @@ paths: description: Response content: application/json: - schema: *570 + schema: *573 examples: default: value: @@ -83864,17 +84143,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *273 - *274 - - *572 + - *275 + - *575 responses: '200': description: Response content: application/json: - schema: *570 + schema: *573 examples: - default: *573 + default: *576 '403': *29 '404': *6 x-github: @@ -83898,9 +84177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *273 - *274 - - *572 + - *275 + - *575 requestBody: required: true content: @@ -83973,7 +84252,7 @@ paths: login: type: string description: The username of the user credited. - type: *248 + type: *249 required: - login - type @@ -84059,10 +84338,10 @@ paths: description: Response content: application/json: - schema: *570 + schema: *573 examples: - default: *573 - add_credit: *573 + default: *576 + add_credit: *576 '403': *29 '404': *6 '422': @@ -84100,9 +84379,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: - - *273 - *274 - - *572 + - *275 + - *575 responses: '202': *47 '400': *14 @@ -84129,17 +84408,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *273 - *274 - - *572 + - *275 + - *575 responses: '202': description: Response content: application/json: - schema: *284 + schema: *285 examples: - default: *286 + default: *287 '400': *14 '422': *15 '403': *29 @@ -84165,8 +84444,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -84265,8 +84544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *273 - *274 + - *275 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -84275,7 +84554,7 @@ paths: application/json: schema: type: array - items: &574 + items: &577 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -84308,8 +84587,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -84385,8 +84664,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -84482,8 +84761,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *273 - *274 + - *275 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -84637,8 +84916,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *273 - *274 + - *275 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -84648,7 +84927,7 @@ paths: application/json: schema: type: array - items: *574 + items: *577 examples: default: value: @@ -84681,8 +84960,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *273 - *274 + - *275 - name: sha in: path required: true @@ -84736,7 +85015,7 @@ paths: description: Response content: application/json: - schema: *575 + schema: *578 examples: default: value: @@ -84790,8 +85069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -84823,14 +85102,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *273 - *274 + - *275 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &576 + schema: &579 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -84898,8 +85177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *273 - *274 + - *275 requestBody: required: false content: @@ -84925,7 +85204,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *579 examples: default: value: @@ -84952,8 +85231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *273 - *274 + - *275 responses: '204': description: Response @@ -84973,8 +85252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -85053,8 +85332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -85062,7 +85341,7 @@ paths: application/json: schema: type: array - items: &577 + items: &580 title: Tag protection description: Tag protection type: object @@ -85114,8 +85393,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: - - *273 - *274 + - *275 requestBody: required: true content: @@ -85138,7 +85417,7 @@ paths: description: Response content: application/json: - schema: *577 + schema: *580 examples: default: value: @@ -85169,8 +85448,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: - - *273 - *274 + - *275 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -85207,8 +85486,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *273 - *274 + - *275 - name: ref in: path required: true @@ -85244,8 +85523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *273 - *274 + - *275 - *17 - *19 responses: @@ -85277,8 +85556,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *273 - *274 + - *275 - *19 - *17 responses: @@ -85286,7 +85565,7 @@ paths: description: Response content: application/json: - schema: &578 + schema: &581 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -85298,7 +85577,7 @@ paths: required: - names examples: - default: &579 + default: &582 value: names: - octocat @@ -85321,8 +85600,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -85353,9 +85632,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *581 examples: - default: *579 + default: *582 '404': *6 '422': *7 x-github: @@ -85376,9 +85655,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *273 - *274 - - &580 + - *275 + - &583 name: per description: The time frame to display results for. in: query @@ -85407,7 +85686,7 @@ paths: example: 128 clones: type: array - items: &581 + items: &584 title: Traffic type: object properties: @@ -85494,8 +85773,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -85585,8 +85864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *273 - *274 + - *275 responses: '200': description: Response @@ -85646,9 +85925,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *273 - *274 - - *580 + - *275 + - *583 responses: '200': description: Response @@ -85667,7 +85946,7 @@ paths: example: 3782 views: type: array - items: *581 + items: *584 required: - uniques - count @@ -85744,8 +86023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *273 - *274 + - *275 requestBody: required: true content: @@ -86019,8 +86298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *273 - *274 + - *275 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -86043,8 +86322,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *273 - *274 + - *275 responses: '204': description: Response @@ -86066,8 +86345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *273 - *274 + - *275 responses: '204': description: Response @@ -86093,8 +86372,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *273 - *274 + - *275 - name: ref in: path required: true @@ -86186,9 +86465,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *285 examples: - default: *286 + default: *287 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -86436,7 +86715,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &582 + text_matches: &585 title: Search Result Text Matches type: array items: @@ -86598,7 +86877,7 @@ paths: enum: - author-date - committer-date - - &583 + - &586 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 @@ -86669,7 +86948,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *339 + properties: *340 nullable: true comment_count: type: integer @@ -86689,7 +86968,7 @@ paths: url: type: string format: uri - verification: *456 + verification: *457 required: - author - committer @@ -86708,7 +86987,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *339 + properties: *340 nullable: true parents: type: array @@ -86726,7 +87005,7 @@ paths: type: number node_id: type: string - text_matches: *582 + text_matches: *585 required: - sha - node_id @@ -86918,7 +87197,7 @@ paths: - interactions - created - updated - - *583 + - *586 - *17 - *19 responses: @@ -87037,8 +87316,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *408 - required: *409 + properties: *409 + required: *410 nullable: true comments: type: integer @@ -87052,7 +87331,7 @@ paths: type: string format: date-time nullable: true - text_matches: *582 + text_matches: *585 pull_request: type: object properties: @@ -87276,7 +87555,7 @@ paths: enum: - created - updated - - *583 + - *586 - *17 - *19 responses: @@ -87320,7 +87599,7 @@ paths: nullable: true score: type: number - text_matches: *582 + text_matches: *585 required: - id - node_id @@ -87405,7 +87684,7 @@ paths: - forks - help-wanted-issues - updated - - *583 + - *586 - *17 - *19 responses: @@ -87644,7 +87923,7 @@ paths: - admin - pull - push - text_matches: *582 + text_matches: *585 temp_clone_token: type: string allow_merge_commit: @@ -87944,7 +88223,7 @@ paths: type: string format: uri nullable: true - text_matches: *582 + text_matches: *585 related: type: array nullable: true @@ -88135,7 +88414,7 @@ paths: - followers - repositories - joined - - *583 + - *586 - *17 - *19 responses: @@ -88239,7 +88518,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *582 + text_matches: *585 blog: type: string nullable: true @@ -88318,7 +88597,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &584 + - &587 name: team_id description: The unique identifier of the team. in: path @@ -88330,9 +88609,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - default: *259 + default: *260 '404': *6 x-github: githubCloudOnly: false @@ -88359,7 +88638,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *584 + - *587 requestBody: required: true content: @@ -88422,16 +88701,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *258 + schema: *259 examples: - default: *259 + default: *260 '201': description: Response content: application/json: - schema: *258 + schema: *259 examples: - default: *259 + default: *260 '404': *6 '422': *15 '403': *29 @@ -88459,7 +88738,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *584 + - *587 responses: '204': description: Response @@ -88490,7 +88769,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *584 + - *587 - *48 - *17 - *19 @@ -88501,9 +88780,9 @@ paths: application/json: schema: type: array - items: *260 + items: *261 examples: - default: *585 + default: *588 headers: Link: *58 x-github: @@ -88532,7 +88811,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *584 + - *587 requestBody: required: true content: @@ -88566,9 +88845,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *261 examples: - default: *261 + default: *262 x-github: triggersNotification: true githubCloudOnly: false @@ -88595,16 +88874,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *584 - - *262 + - *587 + - *263 responses: '200': description: Response content: application/json: - schema: *260 + schema: *261 examples: - default: *261 + default: *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88629,8 +88908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *584 - - *262 + - *587 + - *263 requestBody: required: false content: @@ -88653,9 +88932,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *261 examples: - default: *586 + default: *589 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88680,8 +88959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *584 - - *262 + - *587 + - *263 responses: '204': description: Response @@ -88710,8 +88989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *584 - - *262 + - *587 + - *263 - *48 - *17 - *19 @@ -88722,9 +89001,9 @@ paths: application/json: schema: type: array - items: *263 + items: *264 examples: - default: *587 + default: *590 headers: Link: *58 x-github: @@ -88753,8 +89032,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *584 - - *262 + - *587 + - *263 requestBody: required: true content: @@ -88776,9 +89055,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *264 examples: - default: *264 + default: *265 x-github: triggersNotification: true githubCloudOnly: false @@ -88805,17 +89084,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *584 - - *262 - - *265 + - *587 + - *263 + - *266 responses: '200': description: Response content: application/json: - schema: *263 + schema: *264 examples: - default: *264 + default: *265 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88840,9 +89119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *584 - - *262 - - *265 + - *587 + - *263 + - *266 requestBody: required: true content: @@ -88864,9 +89143,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *264 examples: - default: *588 + default: *591 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88891,9 +89170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *584 - - *262 - - *265 + - *587 + - *263 + - *266 responses: '204': description: Response @@ -88922,9 +89201,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *584 - - *262 - - *265 + - *587 + - *263 + - *266 - 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. @@ -88950,9 +89229,9 @@ paths: application/json: schema: type: array - items: *266 + items: *267 examples: - default: *268 + default: *269 headers: Link: *58 x-github: @@ -88981,9 +89260,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *584 - - *262 - - *265 + - *587 + - *263 + - *266 requestBody: required: true content: @@ -89015,9 +89294,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89043,8 +89322,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *584 - - *262 + - *587 + - *263 - 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. @@ -89070,9 +89349,9 @@ paths: application/json: schema: type: array - items: *266 + items: *267 examples: - default: *268 + default: *269 headers: Link: *58 x-github: @@ -89101,8 +89380,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *584 - - *262 + - *587 + - *263 requestBody: required: true content: @@ -89134,9 +89413,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -89160,7 +89439,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *584 + - *587 - *17 - *19 responses: @@ -89198,7 +89477,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *584 + - *587 - name: role description: Filters members returned by their role in the team. in: query @@ -89249,7 +89528,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *584 + - *587 - *132 responses: '204': @@ -89286,7 +89565,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *584 + - *587 - *132 responses: '204': @@ -89326,7 +89605,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *584 + - *587 - *132 responses: '204': @@ -89363,16 +89642,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *584 + - *587 - *132 responses: '200': description: Response content: application/json: - schema: *270 + schema: *271 examples: - response-if-user-is-a-team-maintainer: *589 + response-if-user-is-a-team-maintainer: *592 '404': *6 x-github: githubCloudOnly: false @@ -89405,7 +89684,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *584 + - *587 - *132 requestBody: required: false @@ -89431,9 +89710,9 @@ paths: description: Response content: application/json: - schema: *270 + schema: *271 examples: - response-if-users-membership-with-team-is-now-pending: *590 + response-if-users-membership-with-team-is-now-pending: *593 '403': description: Forbidden if team synchronization is set up '422': @@ -89467,7 +89746,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *584 + - *587 - *132 responses: '204': @@ -89497,7 +89776,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *584 + - *587 - *17 - *19 responses: @@ -89507,9 +89786,9 @@ paths: application/json: schema: type: array - items: *271 + items: *272 examples: - default: *591 + default: *594 headers: Link: *58 '404': *6 @@ -89536,16 +89815,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *584 - - *272 + - *587 + - *273 responses: '200': description: Response content: application/json: - schema: *271 + schema: *272 examples: - default: *592 + default: *595 '404': description: Not Found if project is not managed by this team x-github: @@ -89570,8 +89849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *584 - - *272 + - *587 + - *273 requestBody: required: false content: @@ -89639,8 +89918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *584 - - *272 + - *587 + - *273 responses: '204': description: Response @@ -89667,7 +89946,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *584 + - *587 - *17 - *19 responses: @@ -89709,15 +89988,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *584 - - *273 + - *587 - *274 + - *275 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *593 + schema: *596 examples: alternative-response-with-extra-repository-information: value: @@ -89868,9 +90147,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *584 - - *273 + - *587 - *274 + - *275 requestBody: required: false content: @@ -89920,9 +90199,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *584 - - *273 + - *587 - *274 + - *275 responses: '204': description: Response @@ -89947,7 +90226,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *584 + - *587 - *17 - *19 responses: @@ -89959,7 +90238,7 @@ paths: type: array items: *188 examples: - response-if-child-teams-exist: *594 + response-if-child-teams-exist: *597 headers: Link: *58 '404': *6 @@ -89992,7 +90271,7 @@ paths: application/json: schema: oneOf: - - &596 + - &599 title: Private User description: Private User type: object @@ -90195,7 +90474,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *595 + - *598 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -90348,7 +90627,7 @@ paths: description: Response content: application/json: - schema: *596 + schema: *599 examples: default: value: @@ -90694,7 +90973,7 @@ paths: application/json: schema: *192 examples: - default: *393 + default: *394 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -90702,7 +90981,7 @@ paths: application/json: schema: *192 examples: - default: *393 + default: *394 '401': *25 '403': *29 '404': *6 @@ -90746,7 +91025,7 @@ paths: type: integer secrets: type: array - items: &597 + items: &600 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -90786,7 +91065,7 @@ paths: - visibility - selected_repositories_url examples: - default: *396 + default: *397 headers: Link: *58 x-github: @@ -90862,7 +91141,7 @@ paths: description: Response content: application/json: - schema: *597 + schema: *600 examples: default: value: @@ -91008,7 +91287,7 @@ paths: type: array items: *119 examples: - default: *598 + default: *601 '401': *25 '403': *29 '404': *6 @@ -91160,7 +91439,7 @@ paths: application/json: schema: *192 examples: - default: *393 + default: *394 '304': *37 '500': *145 '401': *25 @@ -91218,7 +91497,7 @@ paths: application/json: schema: *192 examples: - default: *393 + default: *394 '401': *25 '403': *29 '404': *6 @@ -91275,7 +91554,7 @@ paths: description: Response content: application/json: - schema: &599 + schema: &602 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -91316,7 +91595,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &600 + default: &603 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -91361,9 +91640,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *602 examples: - default: *600 + default: *603 '404': *6 x-github: githubCloudOnly: false @@ -91400,9 +91679,9 @@ paths: type: integer machines: type: array - items: *601 + items: *604 examples: - default: *602 + default: *605 '304': *37 '500': *145 '401': *25 @@ -91481,13 +91760,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *284 + repository: *285 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *394 - required: *395 + properties: *395 + required: *396 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -92269,7 +92548,7 @@ paths: application/json: schema: *192 examples: - default: *393 + default: *394 '304': *37 '500': *145 '400': *14 @@ -92309,7 +92588,7 @@ paths: application/json: schema: *192 examples: - default: *393 + default: *394 '500': *145 '401': *25 '403': *29 @@ -92341,7 +92620,7 @@ paths: type: array items: *207 examples: - default: &615 + default: &618 value: - id: 197 name: hello_docker @@ -92442,7 +92721,7 @@ paths: application/json: schema: type: array - items: &603 + items: &606 title: Email description: Email type: object @@ -92507,9 +92786,9 @@ paths: application/json: schema: type: array - items: *603 + items: *606 examples: - default: &617 + default: &620 value: - email: octocat@github.com verified: true @@ -92584,7 +92863,7 @@ paths: application/json: schema: type: array - items: *603 + items: *606 examples: default: value: @@ -92840,7 +93119,7 @@ paths: application/json: schema: type: array - items: &604 + items: &607 title: GPG Key description: A unique encryption key type: object @@ -92971,7 +93250,7 @@ paths: - subkeys - revoked examples: - default: &628 + default: &631 value: - id: 3 name: Octocat's GPG Key @@ -93056,9 +93335,9 @@ paths: description: Response content: application/json: - schema: *604 + schema: *607 examples: - default: &605 + default: &608 value: id: 3 name: Octocat's GPG Key @@ -93115,7 +93394,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &606 + - &609 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -93127,9 +93406,9 @@ paths: description: Response content: application/json: - schema: *604 + schema: *607 examples: - default: *605 + default: *608 '404': *6 '304': *37 '403': *29 @@ -93152,7 +93431,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *606 + - *609 responses: '204': description: Response @@ -93343,7 +93622,7 @@ paths: type: array items: *60 examples: - default: *607 + default: *610 headers: Link: *58 '404': *6 @@ -93457,7 +93736,7 @@ paths: required: true content: application/json: - schema: *467 + schema: *468 examples: default: value: @@ -93607,7 +93886,7 @@ paths: application/json: schema: type: array - items: &608 + items: &611 title: Key description: Key type: object @@ -93704,9 +93983,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *611 examples: - default: &609 + default: &612 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -93739,15 +94018,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *496 + - *497 responses: '200': description: Response content: application/json: - schema: *608 + schema: *611 examples: - default: *609 + default: *612 '404': *6 '304': *37 '403': *29 @@ -93770,7 +94049,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *496 + - *497 responses: '204': description: Response @@ -93803,7 +94082,7 @@ paths: application/json: schema: type: array - items: &610 + items: &613 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -93871,7 +94150,7 @@ paths: - account - plan examples: - default: &611 + default: &614 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -93933,9 +94212,9 @@ paths: application/json: schema: type: array - items: *610 + items: *613 examples: - default: *611 + default: *614 headers: Link: *58 '304': *37 @@ -94930,7 +95209,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *200 - - *612 + - *615 responses: '204': description: Response @@ -95003,7 +95282,7 @@ paths: type: array items: *196 examples: - default: *613 + default: *616 headers: Link: *58 '304': *37 @@ -95045,7 +95324,7 @@ paths: - docker - nuget - container - - *614 + - *617 - *19 - *17 responses: @@ -95057,8 +95336,8 @@ paths: type: array items: *207 examples: - default: *615 - '400': *616 + default: *618 + '400': *619 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95087,7 +95366,7 @@ paths: application/json: schema: *207 examples: - default: &629 + default: &632 value: id: 40201 name: octo-name @@ -95540,9 +95819,9 @@ paths: application/json: schema: type: array - items: *603 + items: *606 examples: - default: *617 + default: *620 headers: Link: *58 '304': *37 @@ -95655,7 +95934,7 @@ paths: type: array items: *60 examples: - default: &624 + default: &627 summary: Default response value: - id: 1296269 @@ -95957,9 +96236,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *285 examples: - default: *286 + default: *287 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95997,9 +96276,9 @@ paths: application/json: schema: type: array - items: *469 + items: *470 examples: - default: *618 + default: *621 headers: Link: *58 '304': *37 @@ -96078,7 +96357,7 @@ paths: application/json: schema: type: array - items: &619 + items: &622 title: Social account description: Social media account type: object @@ -96093,7 +96372,7 @@ paths: - provider - url examples: - default: &620 + default: &623 value: - provider: twitter url: https://twitter.com/github @@ -96155,9 +96434,9 @@ paths: application/json: schema: type: array - items: *619 + items: *622 examples: - default: *620 + default: *623 '422': *15 '304': *37 '404': *6 @@ -96244,7 +96523,7 @@ paths: application/json: schema: type: array - items: &621 + items: &624 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -96264,7 +96543,7 @@ paths: - title - created_at examples: - default: &636 + default: &639 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -96330,9 +96609,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *624 examples: - default: &622 + default: &625 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -96363,7 +96642,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: - - &623 + - &626 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -96375,9 +96654,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *624 examples: - default: *622 + default: *625 '404': *6 '304': *37 '403': *29 @@ -96400,7 +96679,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: - - *623 + - *626 responses: '204': description: Response @@ -96429,7 +96708,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &637 + - &640 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 @@ -96454,11 +96733,11 @@ paths: type: array items: *60 examples: - default-response: *624 + default-response: *627 application/vnd.github.v3.star+json: schema: type: array - items: &638 + items: &641 title: Starred Repository description: Starred Repository type: object @@ -96614,8 +96893,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: - - *273 - *274 + - *275 responses: '204': description: Response if this repository is starred by you @@ -96643,8 +96922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *273 - *274 + - *275 responses: '204': description: Response @@ -96668,8 +96947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *273 - *274 + - *275 responses: '204': description: Response @@ -96741,7 +97020,7 @@ paths: application/json: schema: type: array - items: *258 + items: *259 examples: default: value: @@ -96827,10 +97106,10 @@ paths: application/json: schema: oneOf: - - *596 - - *595 + - *599 + - *598 examples: - default-response: &626 + default-response: &629 summary: Default response value: login: octocat @@ -96865,7 +97144,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &627 + response-with-git-hub-plan-information: &630 summary: Response with GitHub plan information value: login: octocat @@ -96925,7 +97204,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *625 + - *628 - *17 responses: '200': @@ -96974,11 +97253,11 @@ paths: application/json: schema: oneOf: - - *596 - - *595 + - *599 + - *598 examples: - default-response: *626 - response-with-git-hub-plan-information: *627 + default-response: *629 + response-with-git-hub-plan-information: *630 '404': *6 x-github: githubCloudOnly: false @@ -97142,7 +97421,7 @@ paths: type: array items: *207 examples: - default: *615 + default: *618 '403': *29 '401': *25 x-github: @@ -97546,9 +97825,9 @@ paths: application/json: schema: type: array - items: *604 + items: *607 examples: - default: *628 + default: *631 headers: Link: *58 x-github: @@ -97652,7 +97931,7 @@ paths: application/json: schema: *22 examples: - default: *466 + default: *467 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97730,7 +98009,7 @@ paths: type: array items: *196 examples: - default: *613 + default: *616 headers: Link: *58 x-github: @@ -97769,7 +98048,7 @@ paths: - docker - nuget - container - - *614 + - *617 - *132 - *19 - *17 @@ -97782,10 +98061,10 @@ paths: type: array items: *207 examples: - default: *615 + default: *618 '403': *29 '401': *25 - '400': *616 + '400': *619 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97815,7 +98094,7 @@ paths: application/json: schema: *207 examples: - default: *629 + default: *632 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98414,9 +98693,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *633 examples: - default: *631 + default: *634 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98444,9 +98723,9 @@ paths: description: Response content: application/json: - schema: *632 + schema: *635 examples: - default: *633 + default: *636 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98474,9 +98753,9 @@ paths: description: Response content: application/json: - schema: *634 + schema: *637 examples: - default: *635 + default: *638 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98504,9 +98783,9 @@ paths: application/json: schema: type: array - items: *619 + items: *622 examples: - default: *620 + default: *623 headers: Link: *58 x-github: @@ -98536,9 +98815,9 @@ paths: application/json: schema: type: array - items: *621 + items: *624 examples: - default: *636 + default: *639 headers: Link: *58 x-github: @@ -98563,7 +98842,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *132 - - *637 + - *640 - *48 - *17 - *19 @@ -98575,11 +98854,11 @@ paths: schema: anyOf: - type: array - items: *638 + items: *641 - type: array items: *60 examples: - default-response: *624 + default-response: *627 headers: Link: *58 x-github: @@ -98738,7 +99017,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &639 + enterprise: &642 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -98796,7 +99075,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &640 + installation: &643 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -98815,7 +99094,7 @@ x-webhooks: required: - id - node_id - organization: &641 + organization: &644 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -98875,13 +99154,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &642 + repository: &645 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &672 + properties: &675 id: description: Unique identifier of the repository example: 42 @@ -99564,7 +99843,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &673 + required: &676 - archive_url - assignees_url - blobs_url @@ -99715,10 +99994,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -99794,11 +100073,11 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - rule: &643 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 + rule: &646 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) @@ -100021,11 +100300,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - rule: *643 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 + rule: *646 sender: *4 required: - action @@ -100208,11 +100487,11 @@ x-webhooks: - everyone required: - from - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - rule: *643 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 + rule: *646 sender: *4 required: - action @@ -100296,7 +100575,7 @@ x-webhooks: type: string enum: - completed - check_run: &645 + check_run: &648 title: CheckRun description: A check performed on the code of a given code change type: object @@ -100359,7 +100638,7 @@ x-webhooks: type: string pull_requests: type: array - items: *352 + items: *353 repository: *119 status: example: completed @@ -100397,7 +100676,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *644 + deployment: *647 details_url: example: https://example.com type: string @@ -100447,7 +100726,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *352 + items: *353 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -100482,9 +100761,9 @@ x-webhooks: - output - app - pull_requests - installation: *640 - organization: *641 - repository: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - check_run @@ -100877,10 +101156,10 @@ x-webhooks: type: string enum: - created - check_run: *645 - installation: *640 - organization: *641 - repository: *642 + check_run: *648 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - check_run @@ -101276,10 +101555,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *645 - installation: *640 - organization: *641 - repository: *642 + check_run: *648 + installation: *643 + organization: *644 + repository: *645 requested_action: description: The action requested by the user. type: object @@ -101684,10 +101963,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *645 - installation: *640 - organization: *641 - repository: *642 + check_run: *648 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - check_run @@ -102664,10 +102943,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -103337,10 +103616,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -104004,10 +104283,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -104170,7 +104449,7 @@ x-webhooks: required: - login - id - dismissed_comment: *368 + dismissed_comment: *369 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -104315,20 +104594,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &646 + commit_oid: &649 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: *639 - installation: *640 - organization: *641 - ref: &647 + enterprise: *642 + installation: *643 + organization: *644 + ref: &650 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: *642 + repository: *645 sender: *4 required: - action @@ -104490,7 +104769,7 @@ x-webhooks: required: - login - id - dismissed_comment: *368 + dismissed_comment: *369 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -104651,12 +104930,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *646 - enterprise: *639 - installation: *640 - organization: *641 - ref: *647 - repository: *642 + commit_oid: *649 + enterprise: *642 + installation: *643 + organization: *644 + ref: *650 + repository: *645 sender: *4 required: - action @@ -104751,7 +105030,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *368 + dismissed_comment: *369 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -104917,12 +105196,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *646 - enterprise: *639 - installation: *640 - organization: *641 - ref: *647 - repository: *642 + commit_oid: *649 + enterprise: *642 + installation: *643 + organization: *644 + ref: *650 + repository: *645 sender: *4 required: - action @@ -105085,7 +105364,7 @@ x-webhooks: required: - login - id - dismissed_comment: *368 + dismissed_comment: *369 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -105251,12 +105530,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *646 - enterprise: *639 - installation: *640 - organization: *641 - ref: *647 - repository: *642 + commit_oid: *649 + enterprise: *642 + installation: *643 + organization: *644 + ref: *650 + repository: *645 sender: *4 required: - action @@ -105353,7 +105632,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *368 + dismissed_comment: *369 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -105521,16 +105800,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 ref: 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 nullable: true - repository: *642 + repository: *645 sender: *4 required: - action @@ -105624,7 +105903,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *368 + dismissed_comment: *369 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -105764,12 +106043,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *646 - enterprise: *639 - installation: *640 - organization: *641 - ref: *647 - repository: *642 + commit_oid: *649 + enterprise: *642 + installation: *643 + organization: *644 + ref: *650 + repository: *645 sender: *4 required: - action @@ -106026,10 +106305,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -106109,18 +106388,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *641 - pusher_type: &648 + organization: *644 + pusher_type: &651 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &649 + ref: &652 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -106130,7 +106409,7 @@ x-webhooks: enum: - tag - branch - repository: *642 + repository: *645 sender: *4 required: - ref @@ -106213,9 +106492,9 @@ x-webhooks: enum: - created definition: *223 - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 sender: *4 required: - action @@ -106300,9 +106579,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 sender: *4 required: - action @@ -106380,9 +106659,9 @@ x-webhooks: enum: - updated definition: *223 - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 sender: *4 required: - action @@ -106459,10 +106738,10 @@ x-webhooks: type: string enum: - updated - enterprise: *639 - installation: *640 - repository: *642 - organization: *641 + enterprise: *642 + installation: *643 + repository: *645 + organization: *644 sender: *4 new_property_values: type: array @@ -106547,18 +106826,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *639 - installation: *640 - organization: *641 - pusher_type: *648 - ref: *649 + enterprise: *642 + installation: *643 + organization: *644 + pusher_type: *651 + ref: *652 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *642 + repository: *645 sender: *4 required: - ref @@ -106642,11 +106921,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *425 - installation: *640 - organization: *641 - enterprise: *639 - repository: *642 + alert: *426 + installation: *643 + organization: *644 + enterprise: *642 + repository: *645 sender: *4 required: - action @@ -106730,11 +107009,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *425 - installation: *640 - organization: *641 - enterprise: *639 - repository: *642 + alert: *426 + installation: *643 + organization: *644 + enterprise: *642 + repository: *645 sender: *4 required: - action @@ -106818,11 +107097,11 @@ x-webhooks: type: string enum: - created - alert: *425 - installation: *640 - organization: *641 - enterprise: *639 - repository: *642 + alert: *426 + installation: *643 + organization: *644 + enterprise: *642 + repository: *645 sender: *4 required: - action @@ -106904,11 +107183,11 @@ x-webhooks: type: string enum: - dismissed - alert: *425 - installation: *640 - organization: *641 - enterprise: *639 - repository: *642 + alert: *426 + installation: *643 + organization: *644 + enterprise: *642 + repository: *645 sender: *4 required: - action @@ -106990,11 +107269,11 @@ x-webhooks: type: string enum: - fixed - alert: *425 - installation: *640 - organization: *641 - enterprise: *639 - repository: *642 + alert: *426 + installation: *643 + organization: *644 + enterprise: *642 + repository: *645 sender: *4 required: - action @@ -107077,11 +107356,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *425 - installation: *640 - organization: *641 - enterprise: *639 - repository: *642 + alert: *426 + installation: *643 + organization: *644 + enterprise: *642 + repository: *645 sender: *4 required: - action @@ -107163,11 +107442,11 @@ x-webhooks: type: string enum: - reopened - alert: *425 - installation: *640 - organization: *641 - enterprise: *639 - repository: *642 + alert: *426 + installation: *643 + organization: *644 + enterprise: *642 + repository: *645 sender: *4 required: - action @@ -107244,9 +107523,9 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - key: &650 + enterprise: *642 + installation: *643 + key: &653 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -107282,8 +107561,8 @@ x-webhooks: - verified - created_at - read_only - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -107360,11 +107639,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - key: *650 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + key: *653 + organization: *644 + repository: *645 sender: *4 required: - action @@ -107925,12 +108204,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 - workflow: &654 + workflow: &657 title: Workflow type: object nullable: true @@ -108656,13 +108935,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *431 + deployment: *432 pull_requests: type: array - items: *516 - repository: *642 - organization: *641 - installation: *640 + items: *517 + repository: *645 + organization: *644 + installation: *643 sender: *4 responses: '200': @@ -108733,7 +109012,7 @@ x-webhooks: type: string enum: - approved - approver: &651 + approver: &654 type: object properties: avatar_url: @@ -108776,11 +109055,11 @@ x-webhooks: type: string comment: type: string - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - reviewers: &652 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 + reviewers: &655 type: array items: type: object @@ -108859,7 +109138,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &653 + workflow_job_run: &656 type: object properties: conclusion: @@ -109590,18 +109869,18 @@ x-webhooks: type: string enum: - rejected - approver: *651 + approver: *654 comment: type: string - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - reviewers: *652 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 + reviewers: *655 sender: *4 since: type: string - workflow_job_run: *653 + workflow_job_run: *656 workflow_job_runs: type: array items: @@ -110305,13 +110584,13 @@ x-webhooks: type: string enum: - requested - enterprise: *639 + enterprise: *642 environment: type: string - installation: *640 - organization: *641 - repository: *642 - requestor: &659 + installation: *643 + organization: *644 + repository: *645 + requestor: &662 title: User type: object nullable: true @@ -112210,12 +112489,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 - workflow: *654 + workflow: *657 workflow_run: title: Deployment Workflow Run type: object @@ -112895,7 +113174,7 @@ x-webhooks: type: string enum: - answered - answer: &657 + answer: &660 type: object properties: author_association: @@ -113052,7 +113331,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &655 + discussion: &658 title: Discussion description: A Discussion in a repository. type: object @@ -113338,7 +113617,7 @@ x-webhooks: - id labels: type: array - items: *478 + items: *479 required: - repository_url - category @@ -113360,10 +113639,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -113490,11 +113769,11 @@ x-webhooks: - from required: - category - discussion: *655 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *658 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -113577,11 +113856,11 @@ x-webhooks: type: string enum: - closed - discussion: *655 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *658 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -113663,7 +113942,7 @@ x-webhooks: type: string enum: - created - comment: &656 + comment: &659 type: object properties: author_association: @@ -113820,11 +114099,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *655 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *658 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -113907,12 +114186,12 @@ x-webhooks: type: string enum: - deleted - comment: *656 - discussion: *655 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + comment: *659 + discussion: *658 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -114007,12 +114286,12 @@ x-webhooks: - from required: - body - comment: *656 - discussion: *655 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + comment: *659 + discussion: *658 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -114096,11 +114375,11 @@ x-webhooks: type: string enum: - created - discussion: *655 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *658 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -114182,11 +114461,11 @@ x-webhooks: type: string enum: - deleted - discussion: *655 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *658 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -114286,11 +114565,11 @@ x-webhooks: type: string required: - from - discussion: *655 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *658 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -114372,10 +114651,10 @@ x-webhooks: type: string enum: - labeled - discussion: *655 - enterprise: *639 - installation: *640 - label: &658 + discussion: *658 + enterprise: *642 + installation: *643 + label: &661 title: Label type: object properties: @@ -114407,8 +114686,8 @@ x-webhooks: - color - default - description - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -114491,11 +114770,11 @@ x-webhooks: type: string enum: - locked - discussion: *655 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *658 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -114577,11 +114856,11 @@ x-webhooks: type: string enum: - pinned - discussion: *655 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *658 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -114663,11 +114942,11 @@ x-webhooks: type: string enum: - reopened - discussion: *655 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *658 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -114752,16 +115031,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *655 - new_repository: *642 + new_discussion: *658 + new_repository: *645 required: - new_discussion - new_repository - discussion: *655 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *658 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -114844,10 +115123,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *655 - old_answer: *657 - organization: *641 - repository: *642 + discussion: *658 + old_answer: *660 + organization: *644 + repository: *645 sender: *4 required: - action @@ -114929,12 +115208,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *655 - enterprise: *639 - installation: *640 - label: *658 - organization: *641 - repository: *642 + discussion: *658 + enterprise: *642 + installation: *643 + label: *661 + organization: *644 + repository: *645 sender: *4 required: - action @@ -115017,11 +115296,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *655 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *658 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -115103,11 +115382,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *655 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *658 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -115180,7 +115459,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *639 + enterprise: *642 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -115840,9 +116119,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *640 - organization: *641 - repository: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - forkee @@ -115988,9 +116267,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 pages: description: The pages that were updated. type: array @@ -116027,7 +116306,7 @@ x-webhooks: - action - sha - html_url - repository: *642 + repository: *645 sender: *4 required: - pages @@ -116103,10 +116382,10 @@ x-webhooks: type: string enum: - created - enterprise: *639 + enterprise: *642 installation: *22 - organization: *641 - repositories: &660 + organization: *644 + repositories: &663 description: An array of repository objects that the installation can access. type: array @@ -116132,8 +116411,8 @@ x-webhooks: - name - full_name - private - repository: *642 - requester: *659 + repository: *645 + requester: *662 sender: *4 required: - action @@ -116208,11 +116487,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 + enterprise: *642 installation: *22 - organization: *641 - repositories: *660 - repository: *642 + organization: *644 + repositories: *663 + repository: *645 requester: nullable: true sender: *4 @@ -116288,11 +116567,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *639 + enterprise: *642 installation: *22 - organization: *641 - repositories: *660 - repository: *642 + organization: *644 + repositories: *663 + repository: *645 requester: nullable: true sender: *4 @@ -116368,10 +116647,10 @@ x-webhooks: type: string enum: - added - enterprise: *639 + enterprise: *642 installation: *22 - organization: *641 - repositories_added: &661 + organization: *644 + repositories_added: &664 description: An array of repository objects, which were added to the installation. type: array @@ -116417,15 +116696,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *642 - repository_selection: &662 + repository: *645 + repository_selection: &665 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *659 + requester: *662 sender: *4 required: - action @@ -116504,10 +116783,10 @@ x-webhooks: type: string enum: - removed - enterprise: *639 + enterprise: *642 installation: *22 - organization: *641 - repositories_added: *661 + organization: *644 + repositories_added: *664 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -116534,9 +116813,9 @@ x-webhooks: - name - full_name - private - repository: *642 - repository_selection: *662 - requester: *659 + repository: *645 + repository_selection: *665 + requester: *662 sender: *4 required: - action @@ -116615,11 +116894,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *639 + enterprise: *642 installation: *22 - organization: *641 - repositories: *660 - repository: *642 + organization: *644 + repositories: *663 + repository: *645 requester: nullable: true sender: *4 @@ -116797,10 +117076,10 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 target_type: type: string @@ -116879,11 +117158,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *639 + enterprise: *642 installation: *22 - organization: *641 - repositories: *660 - repository: *642 + organization: *644 + repositories: *663 + repository: *645 requester: nullable: true sender: *4 @@ -117135,8 +117414,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -118291,8 +118570,8 @@ x-webhooks: - state - locked - assignee - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -118372,7 +118651,7 @@ x-webhooks: type: string enum: - deleted - comment: &663 + comment: &666 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -118537,8 +118816,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -119691,8 +119970,8 @@ x-webhooks: - state - locked - assignee - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -119772,7 +120051,7 @@ x-webhooks: type: string enum: - edited - changes: &691 + changes: &694 description: The changes to the comment. type: object properties: @@ -119784,9 +120063,9 @@ x-webhooks: type: string required: - from - comment: *663 - enterprise: *639 - installation: *640 + comment: *666 + enterprise: *642 + installation: *643 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -120940,8 +121219,8 @@ x-webhooks: - state - locked - assignee - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -121023,10 +121302,10 @@ x-webhooks: type: string enum: - assigned - assignee: *659 - enterprise: *639 - installation: *640 - issue: &666 + assignee: *662 + enterprise: *642 + installation: *643 + issue: &669 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -121944,8 +122223,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -122025,8 +122304,8 @@ x-webhooks: type: string enum: - closed - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -123084,8 +123363,8 @@ x-webhooks: required: - state - closed_at - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -123164,8 +123443,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -124076,8 +124355,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -124156,8 +124435,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -125071,7 +125350,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &664 + milestone: &667 title: Milestone description: A collection of related issues and pull requests. type: object @@ -125209,8 +125488,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -125309,8 +125588,8 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -126228,9 +126507,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *658 - organization: *641 - repository: *642 + label: *661 + organization: *644 + repository: *645 sender: *4 required: - action @@ -126310,8 +126589,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127228,9 +127507,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *658 - organization: *641 - repository: *642 + label: *661 + organization: *644 + repository: *645 sender: *4 required: - action @@ -127310,8 +127589,8 @@ x-webhooks: type: string enum: - locked - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128229,8 +128508,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -128309,8 +128588,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129222,9 +129501,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *664 - organization: *641 - repository: *642 + milestone: *667 + organization: *644 + repository: *645 sender: *4 required: - action @@ -130685,8 +130964,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131603,8 +131882,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -131684,9 +131963,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *639 - installation: *640 - issue: &665 + enterprise: *642 + installation: *643 + issue: &668 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -132597,8 +132876,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -132677,8 +132956,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133595,8 +133874,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -135058,11 +135337,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *639 - installation: *640 - issue: *665 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + issue: *668 + organization: *644 + repository: *645 sender: *4 required: - action @@ -135143,7 +135422,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &694 + assignee: &697 title: User type: object nullable: true @@ -135213,11 +135492,11 @@ x-webhooks: required: - login - id - enterprise: *639 - installation: *640 - issue: *666 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + issue: *669 + organization: *644 + repository: *645 sender: *4 required: - action @@ -135296,12 +135575,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *639 - installation: *640 - issue: *666 - label: *658 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + issue: *669 + label: *661 + organization: *644 + repository: *645 sender: *4 required: - action @@ -135381,8 +135660,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136298,8 +136577,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -136379,11 +136658,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *639 - installation: *640 - issue: *665 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + issue: *668 + organization: *644 + repository: *645 sender: *4 required: - action @@ -136462,11 +136741,11 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - label: *658 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + label: *661 + organization: *644 + repository: *645 sender: *4 required: - action @@ -136544,11 +136823,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - label: *658 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + label: *661 + organization: *644 + repository: *645 sender: *4 required: - action @@ -136658,11 +136937,11 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 - label: *658 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + label: *661 + organization: *644 + repository: *645 sender: *4 required: - action @@ -136744,9 +137023,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *639 - installation: *640 - marketplace_purchase: &667 + enterprise: *642 + installation: *643 + marketplace_purchase: &670 title: Marketplace Purchase type: object required: @@ -136829,8 +137108,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *641 - previous_marketplace_purchase: &668 + organization: *644 + previous_marketplace_purchase: &671 title: Marketplace Purchase type: object properties: @@ -136910,7 +137189,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *642 + repository: *645 sender: *4 required: - action @@ -136990,10 +137269,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *639 - installation: *640 - marketplace_purchase: *667 - organization: *641 + enterprise: *642 + installation: *643 + marketplace_purchase: *670 + organization: *644 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -137076,7 +137355,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *642 + repository: *645 sender: *4 required: - action @@ -137158,10 +137437,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *639 - installation: *640 - marketplace_purchase: *667 - organization: *641 + enterprise: *642 + installation: *643 + marketplace_purchase: *670 + organization: *644 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -137243,7 +137522,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *642 + repository: *645 sender: *4 required: - action @@ -137324,8 +137603,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 marketplace_purchase: title: Marketplace Purchase type: object @@ -137407,9 +137686,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *641 - previous_marketplace_purchase: *668 - repository: *642 + organization: *644 + previous_marketplace_purchase: *671 + repository: *645 sender: *4 required: - action @@ -137489,12 +137768,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *639 - installation: *640 - marketplace_purchase: *667 - organization: *641 - previous_marketplace_purchase: *668 - repository: *642 + enterprise: *642 + installation: *643 + marketplace_purchase: *670 + organization: *644 + previous_marketplace_purchase: *671 + repository: *645 sender: *4 required: - action @@ -137596,11 +137875,11 @@ x-webhooks: type: string required: - to - enterprise: *639 - installation: *640 - member: *659 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + member: *662 + organization: *644 + repository: *645 sender: *4 required: - action @@ -137700,11 +137979,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *639 - installation: *640 - member: *659 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + member: *662 + organization: *644 + repository: *645 sender: *4 required: - action @@ -137783,11 +138062,11 @@ x-webhooks: type: string enum: - removed - enterprise: *639 - installation: *640 - member: *659 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + member: *662 + organization: *644 + repository: *645 sender: *4 required: - action @@ -137865,11 +138144,11 @@ x-webhooks: type: string enum: - added - enterprise: *639 - installation: *640 - member: *659 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + member: *662 + organization: *644 + repository: *645 scope: description: The scope of the membership. Currently, can only be `team`. @@ -137945,7 +138224,7 @@ x-webhooks: required: - login - id - team: &669 + team: &672 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -138135,11 +138414,11 @@ x-webhooks: type: string enum: - removed - enterprise: *639 - installation: *640 - member: *659 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + member: *662 + organization: *644 + repository: *645 scope: description: The scope of the membership. Currently, can only be `team`. @@ -138216,7 +138495,7 @@ x-webhooks: required: - login - id - team: *669 + team: *672 required: - action - scope @@ -138298,8 +138577,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *640 - merge_group: &671 + installation: *643 + merge_group: &674 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -138318,15 +138597,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *670 + head_commit: *673 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -138412,10 +138691,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *640 - merge_group: *671 - organization: *641 - repository: *642 + installation: *643 + merge_group: *674 + organization: *644 + repository: *645 sender: *4 required: - action @@ -138488,7 +138767,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 + enterprise: *642 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -138596,16 +138875,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *640 - organization: *641 + installation: *643 + organization: *644 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *672 - required: *673 + properties: *675 + required: *676 nullable: true sender: *4 required: @@ -138686,11 +138965,11 @@ x-webhooks: type: string enum: - closed - enterprise: *639 - installation: *640 - milestone: *664 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + milestone: *667 + organization: *644 + repository: *645 sender: *4 required: - action @@ -138769,9 +139048,9 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - milestone: &674 + enterprise: *642 + installation: *643 + milestone: &677 title: Milestone description: A collection of related issues and pull requests. type: object @@ -138908,8 +139187,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -138988,11 +139267,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - milestone: *664 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + milestone: *667 + organization: *644 + repository: *645 sender: *4 required: - action @@ -139102,11 +139381,11 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 - milestone: *664 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + milestone: *667 + organization: *644 + repository: *645 sender: *4 required: - action @@ -139186,11 +139465,11 @@ x-webhooks: type: string enum: - opened - enterprise: *639 - installation: *640 - milestone: *674 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + milestone: *677 + organization: *644 + repository: *645 sender: *4 required: - action @@ -139269,11 +139548,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *659 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + blocked_user: *662 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -139352,11 +139631,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *659 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + blocked_user: *662 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -139435,9 +139714,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - membership: &675 + enterprise: *642 + installation: *643 + membership: &678 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -139529,8 +139808,8 @@ x-webhooks: - role - organization_url - user - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 required: - action @@ -139608,11 +139887,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *639 - installation: *640 - membership: *675 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + membership: *678 + organization: *644 + repository: *645 sender: *4 required: - action @@ -139691,8 +139970,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -139808,10 +140087,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 - user: *659 + user: *662 required: - action - invitation @@ -139889,11 +140168,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *639 - installation: *640 - membership: *675 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + membership: *678 + organization: *644 + repository: *645 sender: *4 required: - action @@ -139980,11 +140259,11 @@ x-webhooks: properties: from: type: string - enterprise: *639 - installation: *640 - membership: *675 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + membership: *678 + organization: *644 + repository: *645 sender: *4 required: - action @@ -140060,9 +140339,9 @@ x-webhooks: type: string enum: - published - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 package: description: Information about the package. type: object @@ -140561,7 +140840,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &676 + items: &679 title: Ruby Gems metadata type: object properties: @@ -140656,7 +140935,7 @@ x-webhooks: - owner - package_version - registry - repository: *642 + repository: *645 sender: *4 required: - action @@ -140732,9 +141011,9 @@ x-webhooks: type: string enum: - updated - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 package: description: Information about the package. type: object @@ -141087,7 +141366,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *676 + items: *679 source_url: type: string format: uri @@ -141157,7 +141436,7 @@ x-webhooks: - owner - package_version - registry - repository: *642 + repository: *645 sender: *4 required: - action @@ -141334,12 +141613,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *639 + enterprise: *642 id: type: integer - installation: *640 - organization: *641 - repository: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - id @@ -141419,7 +141698,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &677 + personal_access_token_request: &680 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -141565,10 +141844,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *639 - organization: *641 + enterprise: *642 + organization: *644 sender: *4 - installation: *640 + installation: *643 required: - action - personal_access_token_request @@ -141647,11 +141926,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *677 - enterprise: *639 - organization: *641 + personal_access_token_request: *680 + enterprise: *642 + organization: *644 sender: *4 - installation: *640 + installation: *643 required: - action - personal_access_token_request @@ -141729,11 +142008,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *677 - enterprise: *639 - organization: *641 + personal_access_token_request: *680 + enterprise: *642 + organization: *644 sender: *4 - installation: *640 + installation: *643 required: - action - personal_access_token_request @@ -141810,11 +142089,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *677 - organization: *641 - enterprise: *639 + personal_access_token_request: *680 + organization: *644 + enterprise: *642 sender: *4 - installation: *640 + installation: *643 required: - action - personal_access_token_request @@ -141918,7 +142197,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *678 + last_response: *681 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -141950,8 +142229,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 zen: description: Random string of GitHub zen. @@ -142196,10 +142475,10 @@ x-webhooks: - from required: - note - enterprise: *639 - installation: *640 - organization: *641 - project_card: &679 + enterprise: *642 + installation: *643 + organization: *644 + project_card: &682 title: Project Card type: object properties: @@ -142318,7 +142597,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *642 + repository: *645 sender: *4 required: - action @@ -142399,11 +142678,11 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - project_card: *679 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + project_card: *682 + repository: *645 sender: *4 required: - action @@ -142483,9 +142762,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 project_card: title: Project Card type: object @@ -142613,8 +142892,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *672 - required: *673 + properties: *675 + required: *676 nullable: true sender: *4 required: @@ -142708,11 +142987,11 @@ x-webhooks: - from required: - note - enterprise: *639 - installation: *640 - organization: *641 - project_card: *679 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + project_card: *682 + repository: *645 sender: *4 required: - action @@ -142806,9 +143085,9 @@ x-webhooks: - from required: - column_id - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 project_card: allOf: - title: Project Card @@ -142998,7 +143277,7 @@ x-webhooks: type: string required: - after_id - repository: *642 + repository: *645 sender: *4 required: - action @@ -143078,10 +143357,10 @@ x-webhooks: type: string enum: - closed - enterprise: *639 - installation: *640 - organization: *641 - project: &681 + enterprise: *642 + installation: *643 + organization: *644 + project: &684 title: Project type: object properties: @@ -143205,7 +143484,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *642 + repository: *645 sender: *4 required: - action @@ -143285,10 +143564,10 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - project_column: &680 + enterprise: *642 + installation: *643 + organization: *644 + project_column: &683 title: Project Column type: object properties: @@ -143327,7 +143606,7 @@ x-webhooks: - name - created_at - updated_at - repository: *642 + repository: *645 sender: *4 required: - action @@ -143406,18 +143685,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 - project_column: *680 + enterprise: *642 + installation: *643 + organization: *644 + project_column: *683 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *672 - required: *673 + properties: *675 + required: *676 nullable: true sender: *4 required: @@ -143507,11 +143786,11 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 - organization: *641 - project_column: *680 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + project_column: *683 + repository: *645 sender: *4 required: - action @@ -143591,11 +143870,11 @@ x-webhooks: type: string enum: - moved - enterprise: *639 - installation: *640 - organization: *641 - project_column: *680 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + project_column: *683 + repository: *645 sender: *4 required: - action @@ -143675,11 +143954,11 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - project: *681 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + project: *684 + repository: *645 sender: *4 required: - action @@ -143759,18 +144038,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 - project: *681 + enterprise: *642 + installation: *643 + organization: *644 + project: *684 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *672 - required: *673 + properties: *675 + required: *676 nullable: true sender: *4 required: @@ -143872,11 +144151,11 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 - organization: *641 - project: *681 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + project: *684 + repository: *645 sender: *4 required: - action @@ -143955,11 +144234,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *639 - installation: *640 - organization: *641 - project: *681 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + project: *684 + repository: *645 sender: *4 required: - action @@ -144040,9 +144319,9 @@ x-webhooks: type: string enum: - closed - installation: *640 - organization: *641 - projects_v2: &682 + installation: *643 + organization: *644 + projects_v2: &685 title: Projects v2 Project description: A projects v2 project type: object @@ -144185,9 +144464,9 @@ x-webhooks: type: string enum: - created - installation: *640 - organization: *641 - projects_v2: *682 + installation: *643 + organization: *644 + projects_v2: *685 sender: *4 required: - action @@ -144268,9 +144547,9 @@ x-webhooks: type: string enum: - deleted - installation: *640 - organization: *641 - projects_v2: *682 + installation: *643 + organization: *644 + projects_v2: *685 sender: *4 required: - action @@ -144387,9 +144666,9 @@ x-webhooks: type: string to: type: string - installation: *640 - organization: *641 - projects_v2: *682 + installation: *643 + organization: *644 + projects_v2: *685 sender: *4 required: - action @@ -144472,7 +144751,7 @@ x-webhooks: type: string enum: - archived - changes: &686 + changes: &689 type: object properties: archived_at: @@ -144486,9 +144765,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *640 - organization: *641 - projects_v2_item: &683 + installation: *643 + organization: *644 + projects_v2_item: &686 title: Projects v2 Item description: An item belonging to a project type: object @@ -144622,9 +144901,9 @@ x-webhooks: nullable: true to: type: string - installation: *640 - organization: *641 - projects_v2_item: *683 + installation: *643 + organization: *644 + projects_v2_item: *686 sender: *4 required: - action @@ -144706,9 +144985,9 @@ x-webhooks: type: string enum: - created - installation: *640 - organization: *641 - projects_v2_item: *683 + installation: *643 + organization: *644 + projects_v2_item: *686 sender: *4 required: - action @@ -144789,9 +145068,9 @@ x-webhooks: type: string enum: - deleted - installation: *640 - organization: *641 - projects_v2_item: *683 + installation: *643 + organization: *644 + projects_v2_item: *686 sender: *4 required: - action @@ -144897,7 +145176,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &684 + - &687 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -144915,7 +145194,7 @@ x-webhooks: required: - id - name - - &685 + - &688 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -144938,8 +145217,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *684 - - *685 + - *687 + - *688 required: - field_value - type: object @@ -144955,9 +145234,9 @@ x-webhooks: nullable: true required: - body - installation: *640 - organization: *641 - projects_v2_item: *683 + installation: *643 + organization: *644 + projects_v2_item: *686 sender: *4 required: - action @@ -145052,9 +145331,9 @@ x-webhooks: to: type: string nullable: true - installation: *640 - organization: *641 - projects_v2_item: *683 + installation: *643 + organization: *644 + projects_v2_item: *686 sender: *4 required: - action @@ -145137,10 +145416,10 @@ x-webhooks: type: string enum: - restored - changes: *686 - installation: *640 - organization: *641 - projects_v2_item: *683 + changes: *689 + installation: *643 + organization: *644 + projects_v2_item: *686 sender: *4 required: - action @@ -145222,9 +145501,9 @@ x-webhooks: type: string enum: - reopened - installation: *640 - organization: *641 - projects_v2: *682 + installation: *643 + organization: *644 + projects_v2: *685 sender: *4 required: - action @@ -145305,9 +145584,9 @@ x-webhooks: type: string enum: - created - installation: *640 - organization: *641 - projects_v2_status_update: &687 + installation: *643 + organization: *644 + projects_v2_status_update: &690 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -145434,9 +145713,9 @@ x-webhooks: type: string enum: - deleted - installation: *640 - organization: *641 - projects_v2_status_update: *687 + installation: *643 + organization: *644 + projects_v2_status_update: *690 sender: *4 required: - action @@ -145572,9 +145851,9 @@ x-webhooks: type: string format: date nullable: true - installation: *640 - organization: *641 - projects_v2_status_update: *687 + installation: *643 + organization: *644 + projects_v2_status_update: *690 sender: *4 required: - action @@ -145645,10 +145924,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - repository @@ -145725,13 +146004,13 @@ x-webhooks: type: string enum: - assigned - assignee: *659 - enterprise: *639 - installation: *640 - number: &688 + assignee: *662 + enterprise: *642 + installation: *643 + number: &691 description: The pull request number. type: integer - organization: *641 + organization: *644 pull_request: title: Pull Request type: object @@ -148014,7 +148293,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *645 sender: *4 required: - action @@ -148096,11 +148375,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 number: type: integer - organization: *641 + organization: *644 pull_request: title: Pull Request type: object @@ -150378,7 +150657,7 @@ x-webhooks: - draft reason: type: string - repository: *642 + repository: *645 sender: *4 required: - action @@ -150460,11 +150739,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 number: type: integer - organization: *641 + organization: *644 pull_request: title: Pull Request type: object @@ -152742,7 +153021,7 @@ x-webhooks: - draft reason: type: string - repository: *642 + repository: *645 sender: *4 required: - action @@ -152824,13 +153103,13 @@ x-webhooks: type: string enum: - closed - enterprise: *639 - installation: *640 - number: *688 - organization: *641 - pull_request: &689 + enterprise: *642 + installation: *643 + number: *691 + organization: *644 + pull_request: &692 allOf: - - *516 + - *517 - type: object properties: allow_auto_merge: @@ -152892,7 +153171,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *642 + repository: *645 sender: *4 required: - action @@ -152973,12 +153252,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *639 - installation: *640 - number: *688 - organization: *641 - pull_request: *689 - repository: *642 + enterprise: *642 + installation: *643 + number: *691 + organization: *644 + pull_request: *692 + repository: *645 sender: *4 required: - action @@ -153058,11 +153337,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *639 - milestone: *499 - number: *688 - organization: *641 - pull_request: &690 + enterprise: *642 + milestone: *500 + number: *691 + organization: *644 + pull_request: &693 title: Pull Request type: object properties: @@ -155325,7 +155604,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *645 sender: *4 required: - action @@ -155404,11 +155683,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 number: type: integer - organization: *641 + organization: *644 pull_request: title: Pull Request type: object @@ -157690,7 +157969,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *642 + repository: *645 sender: *4 required: - action @@ -157814,12 +158093,12 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 - number: *688 - organization: *641 - pull_request: *689 - repository: *642 + enterprise: *642 + installation: *643 + number: *691 + organization: *644 + pull_request: *692 + repository: *645 sender: *4 required: - action @@ -157899,11 +158178,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 number: type: integer - organization: *641 + organization: *644 pull_request: title: Pull Request type: object @@ -160170,7 +160449,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *645 sender: *4 required: - action @@ -160250,11 +160529,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *639 - installation: *640 - label: *658 - number: *688 - organization: *641 + enterprise: *642 + installation: *643 + label: *661 + number: *691 + organization: *644 pull_request: title: Pull Request type: object @@ -162536,7 +162815,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *645 sender: *4 required: - action @@ -162617,10 +162896,10 @@ x-webhooks: type: string enum: - locked - enterprise: *639 - installation: *640 - number: *688 - organization: *641 + enterprise: *642 + installation: *643 + number: *691 + organization: *644 pull_request: title: Pull Request type: object @@ -164900,7 +165179,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *645 sender: *4 required: - action @@ -164980,12 +165259,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *639 - milestone: *499 - number: *688 - organization: *641 - pull_request: *690 - repository: *642 + enterprise: *642 + milestone: *500 + number: *691 + organization: *644 + pull_request: *693 + repository: *645 sender: *4 required: - action @@ -165064,12 +165343,12 @@ x-webhooks: type: string enum: - opened - enterprise: *639 - installation: *640 - number: *688 - organization: *641 - pull_request: *689 - repository: *642 + enterprise: *642 + installation: *643 + number: *691 + organization: *644 + pull_request: *692 + repository: *645 sender: *4 required: - action @@ -165150,12 +165429,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *639 - installation: *640 - number: *688 - organization: *641 - pull_request: *689 - repository: *642 + enterprise: *642 + installation: *643 + number: *691 + organization: *644 + pull_request: *692 + repository: *645 sender: *4 required: - action @@ -165235,12 +165514,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *639 - installation: *640 - number: *688 - organization: *641 - pull_request: *689 - repository: *642 + enterprise: *642 + installation: *643 + number: *691 + organization: *644 + pull_request: *692 + repository: *645 sender: *4 required: - action @@ -165606,9 +165885,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 pull_request: type: object properties: @@ -167778,7 +168057,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *642 + repository: *645 sender: *4 required: - action @@ -167858,7 +168137,7 @@ x-webhooks: type: string enum: - deleted - comment: &692 + comment: &695 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -168143,9 +168422,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 pull_request: type: object properties: @@ -170303,7 +170582,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *642 + repository: *645 sender: *4 required: - action @@ -170383,11 +170662,11 @@ x-webhooks: type: string enum: - edited - changes: *691 - comment: *692 - enterprise: *639 - installation: *640 - organization: *641 + changes: *694 + comment: *695 + enterprise: *642 + installation: *643 + organization: *644 pull_request: type: object properties: @@ -172548,7 +172827,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *642 + repository: *645 sender: *4 required: - action @@ -172629,9 +172908,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 pull_request: title: Simple Pull Request type: object @@ -174804,7 +175083,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *642 + repository: *645 review: description: The review that was affected. type: object @@ -175047,9 +175326,9 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 pull_request: title: Simple Pull Request type: object @@ -177103,8 +177382,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *642 - review: &693 + repository: *645 + review: &696 description: The review that was affected. type: object properties: @@ -177333,12 +177612,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 number: description: The pull request number. type: integer - organization: *641 + organization: *644 pull_request: title: Pull Request type: object @@ -179621,7 +179900,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *645 requested_reviewer: title: User type: object @@ -179705,12 +179984,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 number: description: The pull request number. type: integer - organization: *641 + organization: *644 pull_request: title: Pull Request type: object @@ -182000,7 +182279,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *645 requested_team: title: Team description: Groups of organization members that gives permissions @@ -182192,12 +182471,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 number: description: The pull request number. type: integer - organization: *641 + organization: *644 pull_request: title: Pull Request type: object @@ -184482,7 +184761,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *645 requested_reviewer: title: User type: object @@ -184567,12 +184846,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *639 - installation: *640 + enterprise: *642 + installation: *643 number: description: The pull request number. type: integer - organization: *641 + organization: *644 pull_request: title: Pull Request type: object @@ -186848,7 +187127,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *645 requested_team: title: Team description: Groups of organization members that gives permissions @@ -187029,9 +187308,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 pull_request: title: Simple Pull Request type: object @@ -189206,8 +189485,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *642 - review: *693 + repository: *645 + review: *696 sender: *4 required: - action @@ -189287,9 +189566,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 pull_request: title: Simple Pull Request type: object @@ -191359,7 +191638,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *642 + repository: *645 sender: *4 thread: type: object @@ -191742,9 +192021,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 pull_request: title: Simple Pull Request type: object @@ -193800,7 +194079,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *642 + repository: *645 sender: *4 thread: type: object @@ -194186,10 +194465,10 @@ x-webhooks: type: string before: type: string - enterprise: *639 - installation: *640 - number: *688 - organization: *641 + enterprise: *642 + installation: *643 + number: *691 + organization: *644 pull_request: title: Pull Request type: object @@ -196460,7 +196739,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *645 sender: *4 required: - action @@ -196542,11 +196821,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *694 - enterprise: *639 - installation: *640 - number: *688 - organization: *641 + assignee: *697 + enterprise: *642 + installation: *643 + number: *691 + organization: *644 pull_request: title: Pull Request type: object @@ -198829,7 +199108,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *645 sender: *4 required: - action @@ -198908,11 +199187,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *639 - installation: *640 - label: *658 - number: *688 - organization: *641 + enterprise: *642 + installation: *643 + label: *661 + number: *691 + organization: *644 pull_request: title: Pull Request type: object @@ -201185,7 +201464,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *645 sender: *4 required: - action @@ -201266,10 +201545,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *639 - installation: *640 - number: *688 - organization: *641 + enterprise: *642 + installation: *643 + number: *691 + organization: *644 pull_request: title: Pull Request type: object @@ -203534,7 +203813,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *645 sender: *4 required: - action @@ -203734,7 +204013,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *639 + enterprise: *642 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -203826,8 +204105,8 @@ x-webhooks: - url - author - committer - installation: *640 - organization: *641 + installation: *643 + organization: *644 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -204402,9 +204681,9 @@ x-webhooks: type: string enum: - published - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 registry_package: type: object properties: @@ -204850,7 +205129,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *676 + items: *679 summary: type: string tag_name: @@ -204904,7 +205183,7 @@ x-webhooks: - owner - package_version - registry - repository: *642 + repository: *645 sender: *4 required: - action @@ -204982,9 +205261,9 @@ x-webhooks: type: string enum: - updated - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 registry_package: type: object properties: @@ -205292,7 +205571,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *676 + items: *679 summary: type: string tag_name: @@ -205341,7 +205620,7 @@ x-webhooks: - owner - package_version - registry - repository: *642 + repository: *645 sender: *4 required: - action @@ -205418,10 +205697,10 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - release: &695 + enterprise: *642 + installation: *643 + organization: *644 + release: &698 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -205726,7 +206005,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *642 + repository: *645 sender: *4 required: - action @@ -205803,11 +206082,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 - release: *695 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + release: *698 + repository: *645 sender: *4 required: - action @@ -205915,11 +206194,11 @@ x-webhooks: type: boolean required: - to - enterprise: *639 - installation: *640 - organization: *641 - release: *695 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + release: *698 + repository: *645 sender: *4 required: - action @@ -205997,9 +206276,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -206308,7 +206587,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *642 + repository: *645 sender: *4 required: - action @@ -206384,10 +206663,10 @@ x-webhooks: type: string enum: - published - enterprise: *639 - installation: *640 - organization: *641 - release: &696 + enterprise: *642 + installation: *643 + organization: *644 + release: &699 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -206693,7 +206972,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *642 + repository: *645 sender: *4 required: - action @@ -206769,11 +207048,11 @@ x-webhooks: type: string enum: - released - enterprise: *639 - installation: *640 - organization: *641 - release: *695 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + release: *698 + repository: *645 sender: *4 required: - action @@ -206849,11 +207128,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *639 - installation: *640 - organization: *641 - release: *696 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + release: *699 + repository: *645 sender: *4 required: - action @@ -206929,11 +207208,11 @@ x-webhooks: type: string enum: - published - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - repository_advisory: *570 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 + repository_advisory: *573 sender: *4 required: - action @@ -207009,11 +207288,11 @@ x-webhooks: type: string enum: - reported - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - repository_advisory: *570 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 + repository_advisory: *573 sender: *4 required: - action @@ -207089,10 +207368,10 @@ x-webhooks: type: string enum: - archived - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -207169,10 +207448,10 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -207250,10 +207529,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -207337,10 +207616,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -207452,10 +207731,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -207527,10 +207806,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 status: type: string @@ -207611,10 +207890,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -207691,10 +207970,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -207788,10 +208067,10 @@ x-webhooks: - name required: - repository - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -207871,10 +208150,10 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 repository_ruleset: *237 sender: *4 required: @@ -207953,10 +208232,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 repository_ruleset: *237 sender: *4 required: @@ -208035,10 +208314,10 @@ x-webhooks: type: string enum: - edited - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 repository_ruleset: *237 changes: type: object @@ -208343,10 +208622,10 @@ x-webhooks: - from required: - owner - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -208424,10 +208703,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -208505,7 +208784,7 @@ x-webhooks: type: string enum: - create - alert: &697 + alert: &700 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -208626,10 +208905,10 @@ x-webhooks: type: string enum: - open - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -208835,10 +209114,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -208916,11 +209195,11 @@ x-webhooks: type: string enum: - reopen - alert: *697 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + alert: *700 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -209119,10 +209398,10 @@ x-webhooks: enum: - fixed - open - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -209200,7 +209479,7 @@ x-webhooks: type: string enum: - created - alert: &698 + alert: &701 type: object properties: number: *54 @@ -209311,10 +209590,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -209395,11 +209674,11 @@ x-webhooks: type: string enum: - created - alert: *698 - installation: *640 - location: *699 - organization: *641 - repository: *642 + alert: *701 + installation: *643 + location: *702 + organization: *644 + repository: *645 sender: *4 required: - location @@ -209637,11 +209916,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *698 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + alert: *701 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -209719,11 +209998,11 @@ x-webhooks: type: string enum: - reopened - alert: *698 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + alert: *701 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -209801,11 +210080,11 @@ x-webhooks: type: string enum: - resolved - alert: *698 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + alert: *701 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -209883,11 +210162,11 @@ x-webhooks: type: string enum: - validated - alert: *698 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + alert: *701 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -210013,10 +210292,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *642 - enterprise: *639 - installation: *640 - organization: *641 + repository: *645 + enterprise: *642 + installation: *643 + organization: *644 sender: *4 required: - action @@ -210094,11 +210373,11 @@ x-webhooks: type: string enum: - published - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - security_advisory: &700 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 + security_advisory: &703 description: The details of the security advisory, including summary, description, and severity. type: object @@ -210281,11 +210560,11 @@ x-webhooks: type: string enum: - updated - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - security_advisory: *700 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 + security_advisory: *703 sender: *4 required: - action @@ -210358,10 +210637,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -210546,10 +210825,10 @@ x-webhooks: type: object properties: security_and_analysis: *230 - enterprise: *639 - installation: *640 - organization: *641 - repository: *284 + enterprise: *642 + installation: *643 + organization: *644 + repository: *285 sender: *4 required: - changes @@ -210627,12 +210906,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 - sponsorship: &701 + sponsorship: &704 type: object properties: created_at: @@ -210933,12 +211212,12 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 - sponsorship: *701 + sponsorship: *704 required: - action - sponsorship @@ -211026,12 +211305,12 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 - sponsorship: *701 + sponsorship: *704 required: - action - changes @@ -211108,17 +211387,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &702 + effective_date: &705 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: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 - sponsorship: *701 + sponsorship: *704 required: - action - sponsorship @@ -211192,7 +211471,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &703 + changes: &706 type: object properties: tier: @@ -211236,13 +211515,13 @@ x-webhooks: - from required: - tier - effective_date: *702 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + effective_date: *705 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 - sponsorship: *701 + sponsorship: *704 required: - action - changes @@ -211319,13 +211598,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *703 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + changes: *706 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 - sponsorship: *701 + sponsorship: *704 required: - action - changes @@ -211399,10 +211678,10 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -211485,10 +211764,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -211908,15 +212187,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *639 + enterprise: *642 id: description: The unique identifier of the status. type: integer - installation: *640 + installation: *643 name: type: string - organization: *641 - repository: *642 + organization: *644 + repository: *645 sender: *4 sha: description: The Commit SHA. @@ -212031,9 +212310,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *640 - organization: *641 - repository: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -212123,9 +212402,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *640 - organization: *641 - repository: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -212215,9 +212494,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *640 - organization: *641 - repository: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -212307,9 +212586,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *640 - organization: *641 - repository: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -212386,12 +212665,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 - team: &704 + team: &707 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -212581,9 +212860,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 repository: title: Repository description: A git repository @@ -213041,7 +213320,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *704 + team: *707 required: - action - team @@ -213117,9 +213396,9 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 repository: title: Repository description: A git repository @@ -213577,7 +213856,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *704 + team: *707 required: - action - team @@ -213654,9 +213933,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 repository: title: Repository description: A git repository @@ -214114,7 +214393,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *704 + team: *707 required: - action - team @@ -214258,9 +214537,9 @@ x-webhooks: - from required: - permissions - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 repository: title: Repository description: A git repository @@ -214718,7 +214997,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *704 + team: *707 required: - action - changes @@ -214796,9 +215075,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *642 + installation: *643 + organization: *644 repository: title: Repository description: A git repository @@ -215256,7 +215535,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *704 + team: *707 required: - action - team @@ -215332,10 +215611,10 @@ x-webhooks: type: string enum: - started - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 required: - action @@ -215408,16 +215687,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *639 + enterprise: *642 inputs: type: object nullable: true additionalProperties: true - installation: *640 - organization: *641 + installation: *643 + organization: *644 ref: type: string - repository: *642 + repository: *645 sender: *4 workflow: type: string @@ -215499,10 +215778,10 @@ x-webhooks: type: string enum: - completed - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 workflow_job: allOf: @@ -215739,7 +216018,7 @@ x-webhooks: type: string required: - conclusion - deployment: *431 + deployment: *432 required: - action - repository @@ -215818,10 +216097,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 workflow_job: allOf: @@ -216081,7 +216360,7 @@ x-webhooks: required: - status - steps - deployment: *431 + deployment: *432 required: - action - repository @@ -216160,10 +216439,10 @@ x-webhooks: type: string enum: - queued - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 workflow_job: type: object @@ -216298,7 +216577,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *431 + deployment: *432 required: - action - repository @@ -216377,10 +216656,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 workflow_job: type: object @@ -216516,7 +216795,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *431 + deployment: *432 required: - action - repository @@ -216596,12 +216875,12 @@ x-webhooks: type: string enum: - completed - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 - workflow: *654 + workflow: *657 workflow_run: title: Workflow Run type: object @@ -217600,12 +217879,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 - workflow: *654 + workflow: *657 workflow_run: title: Workflow Run type: object @@ -218589,12 +218868,12 @@ x-webhooks: type: string enum: - requested - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *642 + installation: *643 + organization: *644 + repository: *645 sender: *4 - workflow: *654 + workflow: *657 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 8654a79ad..2534c8e52 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -24401,6 +24401,13 @@ "description": "The time at which the announcement expires. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. To set an announcement that never expires, omit this parameter, set it to `null`, or set it to an empty string.", "example": "\"2021-01-01T00:00:00.000-07:00\"", "nullable": true + }, + "user_dismissible": { + "type": "boolean", + "description": "Whether an announcement can be dismissed by the user.", + "example": false, + "nullable": true, + "default": false } }, "required": [ @@ -25203,6 +25210,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.", @@ -25667,6 +25713,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.", @@ -44222,6 +44307,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", @@ -89736,6 +90202,13 @@ "description": "The time at which the announcement expires. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. To set an announcement that never expires, omit this parameter, set it to `null`, or set it to an empty string.", "example": "\"2021-01-01T00:00:00.000-07:00\"", "nullable": true + }, + "user_dismissible": { + "type": "boolean", + "description": "Whether an announcement can be dismissed by the user.", + "example": false, + "nullable": true, + "default": false } }, "required": [ @@ -161894,23 +162367,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": [ { @@ -161930,11 +162678,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", @@ -161988,6 +162856,12 @@ } } } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "rules" } } }, @@ -211296,7 +212170,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" ], @@ -215445,7 +216319,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" ], @@ -359931,7 +360805,7 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "reactions", "subcategory": "reactions" } @@ -446175,6 +447049,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/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 5942868ee..e5ae40891 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/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 - - &82 + - &84 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 - - &83 + - &85 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 - - &84 + - &86 name: direction description: The direction to sort the results by. in: query @@ -677,7 +677,7 @@ paths: required: - vector_string - score - cvss_severities: &100 + cvss_severities: &102 type: object nullable: true properties: @@ -717,7 +717,7 @@ paths: required: - vector_string - score - epss: &101 + epss: &103 type: object nullable: true readOnly: true @@ -855,7 +855,7 @@ paths: - subscriptions_url - type - url - type: &332 + type: &337 type: string description: The type of credit the user is receiving. enum: @@ -988,7 +988,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &178 + schema: &181 title: Validation Error Simple description: Validation Error Simple type: object @@ -1021,7 +1021,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: - - &651 + - &656 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1139,7 +1139,7 @@ paths: GitHub. type: object nullable: true - properties: &136 + properties: &139 id: description: Unique identifier of the GitHub app example: 37 @@ -1279,7 +1279,7 @@ paths: type: string example: '"-----BEGIN RSA PRIVATE KEY-----\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\n-----END RSA PRIVATE KEY-----\n"' - required: &137 + required: &140 - id - node_id - owner @@ -1584,7 +1584,7 @@ paths: schema: type: integer default: 30 - - &259 + - &262 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 @@ -1600,7 +1600,7 @@ paths: application/json: schema: type: array - items: &260 + items: &263 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1677,7 +1677,7 @@ paths: - installation_id - repository_id examples: - default: &261 + default: &264 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1709,7 +1709,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &661 + schema: &666 title: Scim Error description: Scim Error type: object @@ -1736,7 +1736,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &177 + schema: &180 title: Validation Error description: Validation Error type: object @@ -1805,7 +1805,7 @@ paths: description: Response content: application/json: - schema: &262 + schema: &265 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1919,7 +1919,7 @@ paths: - request - response examples: - default: &263 + default: &266 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1979,7 +1979,7 @@ paths: parameters: - *16 responses: - '202': &93 + '202': &95 description: Accepted content: application/json: @@ -2120,7 +2120,7 @@ paths: parameters: - *17 - *19 - - &141 + - &144 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) @@ -2846,7 +2846,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &315 + properties: &318 id: description: Unique identifier of the repository example: 42 @@ -2866,7 +2866,7 @@ paths: title: License Simple description: License Simple type: object - properties: &152 + properties: &155 key: type: string example: mit @@ -2888,7 +2888,7 @@ paths: html_url: type: string format: uri - required: &153 + required: &156 - key - name - url @@ -3275,7 +3275,7 @@ paths: type: boolean description: Whether anonymous git access is enabled for this repository - required: &316 + required: &319 - archive_url - assignees_url - blobs_url @@ -7288,7 +7288,7 @@ paths: description: Response content: application/json: - schema: &179 + schema: &182 type: object properties: total_active_caches_count: @@ -7303,7 +7303,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &180 + default: &183 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7493,7 +7493,7 @@ paths: - public_ip_enabled - platform examples: - default: &181 + default: &184 value: total_count: 2 runners: @@ -7785,7 +7785,7 @@ paths: description: Response content: application/json: - schema: &182 + schema: &185 type: object properties: public_ips: @@ -7810,7 +7810,7 @@ paths: required: - public_ips examples: - default: &183 + default: &186 value: public_ips: current_usage: 17 @@ -7850,7 +7850,7 @@ paths: type: array items: *44 examples: - default: &184 + default: &187 value: id: 4-core cpu_cores: 4 @@ -8113,7 +8113,7 @@ paths: - all - local_only - selected - selected_actions_url: &187 + selected_actions_url: &190 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` @@ -8202,7 +8202,7 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: &95 + properties: &97 login: type: string example: github @@ -8243,7 +8243,7 @@ paths: type: string example: A great organization nullable: true - required: &96 + required: &98 - login - url - id @@ -8481,7 +8481,7 @@ paths: description: Success response content: application/json: - schema: &190 + schema: &193 type: object properties: default_workflow_permissions: &52 @@ -8529,7 +8529,7 @@ paths: required: true content: application/json: - schema: &191 + schema: &194 type: object properties: default_workflow_permissions: *52 @@ -9365,7 +9365,7 @@ paths: application/json: schema: type: array - items: &195 + items: &198 title: Runner Application description: Runner Application type: object @@ -9390,7 +9390,7 @@ paths: - download_url - filename examples: - default: &196 + default: &199 value: - os: osx architecture: x64 @@ -9474,7 +9474,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &197 + '201': &200 description: Response content: application/json: @@ -9513,7 +9513,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': &92 + '409': &94 description: Conflict content: application/json: @@ -9589,7 +9589,7 @@ paths: - token - expires_at examples: - default: &198 + default: &201 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -9629,7 +9629,7 @@ paths: application/json: schema: *64 examples: - default: &199 + default: &202 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -9661,7 +9661,7 @@ paths: application/json: schema: *61 examples: - default: &200 + default: &203 value: id: 23 name: MBP @@ -9876,7 +9876,7 @@ paths: - *40 - *60 responses: - '200': &201 + '200': &204 description: Response content: application/json: @@ -9932,7 +9932,7 @@ paths: parameters: - *40 - *60 - - &202 + - &205 name: name description: The name of a self-hosted runner's custom label. in: path @@ -9965,7 +9965,7 @@ paths: description: Response content: application/json: - schema: &70 + schema: &71 title: Announcement Banner description: Announcement at either the repository, organization, or enterprise level @@ -9988,7 +9988,7 @@ paths: it to an empty string.' example: '"2021-01-01T00:00:00.000-07:00"' nullable: true - user_dismissible: + user_dismissible: &69 type: boolean description: Whether an announcement can be dismissed by the user. example: false @@ -9999,7 +9999,7 @@ paths: - expires_at - user_dismissible examples: - default: &69 + default: &70 summary: Announcement banner value: announcement: Very **important** announcement about _something_. @@ -10023,17 +10023,18 @@ paths: required: true content: application/json: - schema: &209 + schema: &212 title: Enterprise Announcement description: Enterprise global announcement type: object properties: announcement: *67 expires_at: *68 + user_dismissible: *69 required: - announcement examples: - default: *69 + default: *70 parameters: - *40 responses: @@ -10041,9 +10042,9 @@ paths: description: Response content: application/json: - schema: *70 + schema: *71 examples: - default: *69 + default: *70 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -10094,7 +10095,7 @@ paths: required: false schema: type: string - - &210 + - &213 name: include description: |- The event types to include: @@ -10112,7 +10113,7 @@ paths: - web - git - all - - &211 + - &214 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. @@ -10120,7 +10121,7 @@ paths: required: false schema: type: string - - &212 + - &215 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. @@ -10128,7 +10129,7 @@ paths: required: false schema: type: string - - &213 + - &216 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -10150,7 +10151,7 @@ paths: application/json: schema: type: array - items: &214 + items: &217 type: object properties: "@timestamp": @@ -10272,7 +10273,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &215 + default: &218 value: - "@timestamp": 1606929874512 action: team.add_member @@ -10451,7 +10452,7 @@ paths: vendor_specific: type: object oneOf: - - &74 + - &75 title: AzureBlobConfig description: Azure Blob Config for audit log streaming configuration. type: object @@ -10465,7 +10466,7 @@ paths: required: - key_id - encrypted_sas_url - - &75 + - &76 title: AzureHubConfig description: Azure Event Hubs Config for audit log streaming configuration. type: object @@ -10484,7 +10485,7 @@ paths: - name - encrypted_connstring - key_id - - &76 + - &77 title: AmazonS3OIDCConfig description: Amazon S3 OIDC Config for audit log streaming configuration. type: object @@ -10512,7 +10513,7 @@ paths: - bucket - key_id - region - - &77 + - &78 title: AmazonS3AccessKeysConfig description: Amazon S3 Access Keys Config for audit log streaming configuration. @@ -10546,7 +10547,7 @@ paths: - encrypted_secret_key - key_id - region - - &78 + - &79 title: SplunkConfig description: Splunk Config for Audit Log Stream Configuration type: object @@ -10574,7 +10575,39 @@ paths: - key_id - port - ssl_verify - - &79 + - &80 + 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 + - &81 title: GoogleCloudConfig description: Google Cloud Config for audit log streaming configuration. type: object @@ -10592,7 +10625,7 @@ paths: - bucket - key_id - encrypted_json_credentials - - &80 + - &82 title: DatadogConfig description: Datadog Config for audit log streaming configuration. type: object @@ -10623,7 +10656,7 @@ paths: - stream_type - vendor_specific examples: - default: &81 + default: &83 value: enabled: false stream_type: Azure Event Hubs @@ -10637,7 +10670,7 @@ paths: description: The audit log stream configuration was created successfully. content: application/json: - schema: &71 + schema: &72 title: Get an audit log streaming configuration description: Get an audit log streaming configuration for an enterprise. type: object @@ -10668,7 +10701,7 @@ paths: - created_at - updated_at examples: - default: &72 + default: &73 value: id: 1 stream_type: Splunk @@ -10697,7 +10730,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: - *40 - - &73 + - &74 name: stream_id description: The ID of the audit log stream configuration. in: path @@ -10709,9 +10742,9 @@ paths: description: Lists one audit log stream configuration via stream ID. content: application/json: - schema: *71 + schema: *72 examples: - default: *72 + default: *73 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -10731,7 +10764,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#update-an-existing-audit-log-stream-configuration parameters: - *40 - - *73 + - *74 requestBody: required: true content: @@ -10757,27 +10790,28 @@ paths: vendor_specific: type: object oneOf: - - *74 - *75 - *76 - *77 - *78 - *79 - *80 + - *81 + - *82 required: - enabled - stream_type - vendor_specific examples: - default: *81 + default: *83 responses: '200': description: Successful update content: application/json: - schema: *71 + schema: *72 examples: - default: *72 + default: *73 '422': description: Validation error content: @@ -10808,7 +10842,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: - *40 - - *73 + - *74 responses: '204': description: The audit log stream configuration was deleted successfully. @@ -10840,7 +10874,7 @@ paths: in: query schema: type: string - - &217 + - &220 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -10848,7 +10882,7 @@ paths: required: false schema: type: string - - &218 + - &221 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -10856,7 +10890,7 @@ paths: required: false schema: type: string - - &219 + - &222 name: time_period description: |- The time period to filter by. @@ -10872,7 +10906,7 @@ paths: - week - month default: day - - &220 + - &223 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -10897,7 +10931,7 @@ paths: application/json: schema: type: array - items: &221 + items: &224 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -11052,7 +11086,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &222 + default: &225 value: - id: 21 number: 42 @@ -11121,7 +11155,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': &97 + '500': &99 description: Internal Error content: application/json: @@ -11143,17 +11177,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *40 - - &223 + - &226 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: &85 + schema: &87 type: string description: The name of the tool used to generate the code scanning analysis. - - &224 + - &227 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 @@ -11161,22 +11195,22 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &86 + schema: &88 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *82 - - *83 + - *84 + - *85 - *19 - *17 - - *84 + - *86 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: &225 + schema: &228 type: string description: State of a code scanning alert. enum: @@ -11201,42 +11235,42 @@ paths: application/json: schema: type: array - items: &226 + items: &229 type: object properties: - number: &98 + number: &100 type: integer description: The security alert number. readOnly: true - created_at: &105 + created_at: &107 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: &106 + updated_at: &108 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: &103 + url: &105 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &104 + html_url: &106 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &446 + instances_url: &451 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &87 + state: &89 type: string description: State of a code scanning alert. nullable: true @@ -11244,7 +11278,7 @@ paths: - open - dismissed - fixed - fixed_at: &108 + fixed_at: &110 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -11258,14 +11292,14 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: &107 + dismissed_at: &109 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissed_reason: &447 + dismissed_reason: &452 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -11274,13 +11308,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &448 + dismissed_comment: &453 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &449 + rule: &454 type: object properties: id: @@ -11333,25 +11367,25 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &450 + tool: &455 type: object properties: - name: *85 + name: *87 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *86 - most_recent_instance: &451 + guid: *88 + most_recent_instance: &456 type: object properties: - ref: &444 + ref: &449 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &461 + analysis_key: &466 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -11362,13 +11396,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &462 + category: &467 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: *87 + state: *89 commit_sha: type: string message: @@ -11407,7 +11441,7 @@ paths: - generated - test - library - repository: &94 + repository: &96 title: Simple Repository description: A GitHub repository. type: object @@ -11700,7 +11734,7 @@ paths: - most_recent_instance - repository examples: - default: &227 + default: &230 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -11931,7 +11965,7 @@ paths: headers: Link: *39 '404': *6 - '503': &129 + '503': &132 description: Service unavailable content: application/json: @@ -11975,8 +12009,8 @@ paths: schema: type: integer default: 30 - - *82 - - *83 + - *84 + - *85 responses: '200': description: Response @@ -11984,7 +12018,7 @@ paths: application/json: schema: type: array - items: &88 + items: &90 type: object description: A code security configuration properties: @@ -12314,7 +12348,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: &91 + code_scanning_default_setup_options: &93 type: object description: Feature options for code scanning default setup nullable: true @@ -12398,9 +12432,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *88 + schema: *90 examples: - default: &89 + default: &91 value: id: 1325 target_type: enterprise @@ -12455,7 +12489,7 @@ paths: description: Response content: application/json: - schema: &229 + schema: &232 type: array description: A list of default code security configurations items: @@ -12469,9 +12503,9 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *88 + configuration: *90 examples: - default: &230 + default: &233 value: - default_for_new_repos: public configuration: @@ -12556,7 +12590,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise parameters: - *40 - - &90 + - &92 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -12568,9 +12602,9 @@ paths: description: Response content: application/json: - schema: *88 + schema: *90 examples: - default: *89 + default: *91 '304': *37 '403': *29 '404': *6 @@ -12595,7 +12629,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise parameters: - *40 - - *90 + - *92 requestBody: required: true content: @@ -12662,7 +12696,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *91 + code_scanning_default_setup_options: *93 secret_scanning: type: string description: The enablement status of secret scanning @@ -12717,13 +12751,13 @@ paths: description: Response content: application/json: - schema: *88 + schema: *90 examples: - default: *89 + default: *91 '304': *37 '403': *29 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -12747,14 +12781,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise parameters: - *40 - - *90 + - *92 responses: - '204': &116 + '204': &118 description: A header with no content is returned. '400': *14 '403': *29 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -12779,7 +12813,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories parameters: - *40 - - *90 + - *92 requestBody: required: true content: @@ -12803,10 +12837,10 @@ paths: value: scope: all responses: - '202': *93 + '202': *95 '403': *29 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -12831,7 +12865,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: - *40 - - *90 + - *92 requestBody: required: true content: @@ -12871,12 +12905,12 @@ paths: - none - private_and_internal - public - configuration: *88 + configuration: *90 examples: default: value: default_for_new_repos: all - configuration: &228 + configuration: &231 value: id: 1325 target_type: organization @@ -12928,7 +12962,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration parameters: - *40 - - *90 + - *92 - 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)." @@ -12937,8 +12971,8 @@ paths: schema: type: integer default: 30 - - *82 - - *83 + - *84 + - *85 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -12956,7 +12990,7 @@ paths: application/json: schema: type: array - items: &231 + items: &234 type: object description: Repositories associated with a code security configuration and attachment status @@ -12974,13 +13008,13 @@ paths: - failed - updating - removed_by_enterprise - repository: *94 + repository: *96 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: &232 + repository: &235 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -13445,7 +13479,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &234 + items: &237 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -13456,14 +13490,14 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *95 - required: *96 + properties: *97 + required: *98 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &281 + - &284 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -13522,7 +13556,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &294 + properties: &297 id: description: Unique identifier of the team type: integer @@ -13578,7 +13612,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &295 + required: &298 - id - node_id - url @@ -13697,7 +13731,7 @@ paths: - created_at additionalProperties: false examples: - default: &235 + default: &238 value: total_seats: 2 seats: @@ -13766,7 +13800,7 @@ paths: site_admin: false headers: Link: *39 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -13828,7 +13862,7 @@ paths: application/json: schema: type: array - items: &131 + items: &134 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -14135,7 +14169,7 @@ paths: - date additionalProperties: true examples: - default: &132 + default: &135 value: - date: '2024-06-24' total_active_users: 24 @@ -14234,10 +14268,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *97 + '500': *99 '403': *29 '404': *6 - '422': &133 + '422': &136 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -14307,7 +14341,7 @@ paths: application/json: schema: type: array - items: &134 + items: &137 title: Copilot Usage Metrics description: Summary of Copilot usage. type: object @@ -14458,7 +14492,7 @@ paths: lines_suggested: 1100 lines_accepted: 1000 active_users: 5 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -14486,7 +14520,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &242 + - &245 name: state in: query description: |- @@ -14495,7 +14529,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &243 + - &246 name: severity in: query description: |- @@ -14504,7 +14538,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &244 + - &247 name: ecosystem in: query description: |- @@ -14513,14 +14547,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &245 + - &248 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 - - &246 + - &249 name: epss_percentage in: query description: |- @@ -14532,7 +14566,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 - - &247 + - &250 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -14542,7 +14576,7 @@ paths: enum: - development - runtime - - &248 + - &251 name: sort in: query description: |- @@ -14557,10 +14591,10 @@ paths: - updated - epss_percentage default: created + - *86 - *84 - - *82 - - *83 - - &249 + - *85 + - &252 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -14573,7 +14607,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &250 + - &253 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -14593,11 +14627,11 @@ paths: application/json: schema: type: array - items: &251 + items: &254 type: object description: A Dependabot alert. properties: - number: *98 + number: *100 state: type: string description: The state of the Dependabot alert. @@ -14612,7 +14646,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &99 + package: &101 type: object description: Details for the vulnerable package. readOnly: true @@ -14643,7 +14677,7 @@ paths: enum: - development - runtime - security_advisory: &503 + security_advisory: &508 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -14673,13 +14707,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &102 + items: &104 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *99 + package: *101 severity: type: string description: The severity of the vulnerability. @@ -14745,8 +14779,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *100 - epss: *101 + cvss_severities: *102 + epss: *103 cwes: type: array description: Details for the advisory pertaining to Common @@ -14845,12 +14879,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *102 - url: *103 - html_url: *104 - created_at: *105 - updated_at: *106 - dismissed_at: *107 + security_vulnerability: *104 + url: *105 + html_url: *106 + created_at: *107 + updated_at: *108 + dismissed_at: *109 dismissed_by: title: Simple User description: A GitHub user. @@ -14874,15 +14908,15 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *108 - auto_dismissed_at: &504 + fixed_at: *110 + auto_dismissed_at: &509 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - repository: *94 + repository: *96 required: - number - state @@ -14901,7 +14935,7 @@ paths: - repository additionalProperties: false examples: - default: &252 + default: &255 value: - number: 2 state: dismissed @@ -15327,7 +15361,7 @@ paths: type: integer network_configurations: type: array - items: &109 + items: &111 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -15367,7 +15401,7 @@ paths: - name - created_on examples: - default: &342 + default: &347 value: total_count: 2 network_configurations: @@ -15445,9 +15479,9 @@ paths: description: Response content: application/json: - schema: *109 + schema: *111 examples: - default: &110 + default: &112 value: id: 123456789ABCDEF name: My network configuration @@ -15474,7 +15508,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: - *40 - - &111 + - &113 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -15486,9 +15520,9 @@ paths: description: Response content: application/json: - schema: *109 + schema: *111 examples: - default: *110 + default: *112 headers: Link: *39 x-github: @@ -15508,7 +15542,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: - *40 - - *111 + - *113 requestBody: required: true content: @@ -15547,9 +15581,9 @@ paths: description: Response content: application/json: - schema: *109 + schema: *111 examples: - default: *110 + default: *112 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -15567,7 +15601,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: - *40 - - *111 + - *113 responses: '204': description: Response @@ -15590,7 +15624,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: - *40 - - &343 + - &348 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -15602,7 +15636,7 @@ paths: description: Response content: application/json: - schema: &344 + schema: &349 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -15636,7 +15670,7 @@ paths: - subnet_id - region examples: - default: &345 + default: &350 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -15674,7 +15708,7 @@ paths: application/json: schema: type: array - items: &112 + items: &114 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -15740,7 +15774,7 @@ paths: - property_name - value_type examples: - default: &113 + default: &115 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -15796,7 +15830,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *112 + items: *114 minItems: 1 maxItems: 100 required: @@ -15826,9 +15860,9 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: - default: *113 + default: *115 '403': *29 '404': *6 x-github: @@ -15853,7 +15887,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *40 - - &114 + - &116 name: custom_property_name description: The custom property name in: path @@ -15865,9 +15899,9 @@ paths: description: Response content: application/json: - schema: *112 + schema: *114 examples: - default: &115 + default: &117 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -15903,12 +15937,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: - *40 - - *114 + - *116 requestBody: required: true content: application/json: - schema: &313 + schema: &316 title: Custom Property Set Payload description: Custom property set payload type: object @@ -15964,9 +15998,9 @@ paths: description: Response content: application/json: - schema: *112 + schema: *114 examples: - default: *115 + default: *117 '403': *29 '404': *6 x-github: @@ -15991,9 +16025,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *40 - - *114 + - *116 responses: - '204': *116 + '204': *118 '403': *29 '404': *6 x-github: @@ -16033,7 +16067,7 @@ paths: - push - repository default: branch - enforcement: &123 + enforcement: &125 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -16046,7 +16080,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &124 + items: &126 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -16083,7 +16117,7 @@ paths: - always - pull_request default: always - conditions: &128 + conditions: &130 title: Enterprise ruleset conditions type: object description: Conditions for an enterprise ruleset. The conditions @@ -16097,7 +16131,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &117 + - &119 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -16123,7 +16157,7 @@ paths: type: string required: - organization_name - - &120 + - &122 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -16152,7 +16186,7 @@ paths: is prevented. required: - repository_name - - &119 + - &121 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -16180,8 +16214,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *117 - - &122 + - *119 + - &124 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -16194,7 +16228,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &118 + items: &120 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -16225,16 +16259,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *118 + items: *120 required: - repository_property - - *119 + - *121 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &121 + - &123 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -16251,25 +16285,25 @@ paths: type: integer required: - organization_id - - *120 - - *119 + - *122 + - *121 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: + - *123 + - *124 - *121 - - *122 - - *119 rules: type: array description: An array of rules within the ruleset. - items: &125 + items: &127 title: Repository Rule type: object description: A repository rule. oneOf: - - &613 + - &618 title: creation description: Only allow users with bypass permission to create matching refs. @@ -16281,7 +16315,7 @@ paths: type: string enum: - creation - - &614 + - &619 title: update description: Only allow users with bypass permission to update matching refs. @@ -16302,7 +16336,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &616 + - &621 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -16314,7 +16348,7 @@ paths: type: string enum: - deletion - - &617 + - &622 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -16326,7 +16360,7 @@ paths: type: string enum: - required_linear_history - - &618 + - &623 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -16402,7 +16436,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &619 + - &624 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -16426,7 +16460,7 @@ paths: type: string required: - required_deployment_environments - - &620 + - &625 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -16438,7 +16472,7 @@ paths: type: string enum: - required_signatures - - &621 + - &626 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. @@ -16489,7 +16523,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &622 + - &627 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -16536,7 +16570,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &623 + - &628 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -16548,7 +16582,7 @@ paths: type: string enum: - non_fast_forward - - &624 + - &629 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -16584,7 +16618,7 @@ paths: required: - operator - pattern - - &625 + - &630 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -16620,7 +16654,7 @@ paths: required: - operator - pattern - - &626 + - &631 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -16656,7 +16690,7 @@ paths: required: - operator - pattern - - &627 + - &632 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -16692,7 +16726,7 @@ paths: required: - operator - pattern - - &628 + - &633 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -16818,7 +16852,7 @@ paths: maximum: 100 required: - max_file_size - - &629 + - &634 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -16867,7 +16901,7 @@ paths: - repository_id required: - workflows - - &630 + - &635 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -16953,7 +16987,7 @@ paths: description: Response content: application/json: - schema: &126 + schema: &128 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -16988,11 +17022,11 @@ paths: source: type: string description: The name of the source - enforcement: *123 + enforcement: *125 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *124 + items: *126 current_user_can_bypass: type: string description: |- @@ -17023,8 +17057,8 @@ paths: conditions: nullable: true anyOf: - - *119 - - &320 + - *121 + - &323 title: Organization ruleset conditions type: object description: |- @@ -17038,14 +17072,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *119 - - *120 + - *121 + - *122 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *119 + - *121 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -17067,11 +17101,11 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *119 - - *122 + - *121 + - *124 rules: type: array - items: *125 + items: *127 created_at: type: string format: date-time @@ -17079,7 +17113,7 @@ paths: type: string format: date-time examples: - default: &127 + default: &129 value: id: 21 name: super cool ruleset @@ -17105,7 +17139,7 @@ paths: created_at: '2024-08-15T08:43:03Z' updated_at: '2024-09-23T16:29:47Z' '404': *6 - '500': *97 + '500': *99 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -17138,11 +17172,11 @@ paths: description: Response content: application/json: - schema: *126 + schema: *128 examples: - default: *127 + default: *129 '404': *6 - '500': *97 + '500': *99 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -17184,16 +17218,16 @@ paths: - tag - push - repository - enforcement: *123 + enforcement: *125 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *124 - conditions: *128 + items: *126 + conditions: *130 rules: description: An array of rules within the ruleset. type: array - items: *125 + items: *127 examples: default: value: @@ -17217,11 +17251,11 @@ paths: description: Response content: application/json: - schema: *126 + schema: *128 examples: - default: *127 + default: *129 '404': *6 - '500': *97 + '500': *99 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -17248,12 +17282,157 @@ paths: '204': description: Response '404': *6 - '500': *97 + '500': *99 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: + - *40 + - *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: &131 + 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: &326 + 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': *99 + 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: + - *40 + - 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: &327 + allOf: + - *131 + - 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': *99 + 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 @@ -17268,7 +17447,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *40 - - &323 + - &328 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -17279,7 +17458,7 @@ paths: enum: - open - resolved - - &324 + - &329 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -17289,7 +17468,7 @@ paths: required: false schema: type: string - - &325 + - &330 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -17298,7 +17477,7 @@ paths: required: false schema: type: string - - &326 + - &331 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. @@ -17310,11 +17489,11 @@ paths: - created - updated default: created - - *84 + - *86 - *17 - - *82 - - *83 - - &327 + - *84 + - *85 + - &332 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -17323,7 +17502,7 @@ paths: required: false schema: type: string - - &328 + - &333 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -17332,7 +17511,7 @@ paths: schema: type: boolean default: false - - &329 + - &334 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -17348,11 +17527,11 @@ paths: application/json: schema: type: array - items: &330 + items: &335 type: object properties: - number: *98 - created_at: *105 + number: *100 + created_at: *107 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -17360,21 +17539,21 @@ paths: format: date-time readOnly: true nullable: true - url: *103 - html_url: *104 + url: *105 + html_url: *106 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &643 + state: &648 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: &644 + resolution: &649 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -17408,7 +17587,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *94 + repository: *96 push_protection_bypassed: type: boolean description: Whether push protection was bypassed for the detected @@ -17471,7 +17650,7 @@ paths: repositories in the same organization or enterprise. nullable: true examples: - default: &331 + default: &336 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -17706,7 +17885,7 @@ paths: headers: Link: *39 '404': *6 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -17734,7 +17913,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &339 type: object properties: total_minutes_used: @@ -17804,7 +17983,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &335 + default: &340 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -17842,7 +18021,7 @@ paths: description: Success content: application/json: - schema: &336 + schema: &341 type: object properties: total_advanced_security_committers: @@ -17897,7 +18076,7 @@ paths: required: - repositories examples: - default: &337 + default: &342 value: total_advanced_security_committers: 2 total_count: 2 @@ -17984,8 +18163,8 @@ paths: name: Monalisa '400': *14 '403': *29 - '500': *97 - '503': *129 + '500': *99 + '503': *132 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -18006,7 +18185,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-users-to-a-cost-center parameters: - *40 - - &130 + - &133 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -18048,9 +18227,9 @@ paths: message: Resources successfully added to the cost center. '400': *14 '403': *29 - '409': *92 - '500': *97 - '503': *129 + '409': *94 + '500': *99 + '503': *132 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -18070,7 +18249,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-users-from-a-cost-center parameters: - *40 - - *130 + - *133 requestBody: required: true content: @@ -18107,8 +18286,8 @@ paths: message: Resources successfully removed from the cost center. '400': *14 '403': *29 - '500': *97 - '503': *129 + '500': *99 + '503': *132 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -18136,7 +18315,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &343 type: object properties: total_gigabytes_bandwidth_used: @@ -18154,7 +18333,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &339 + default: &344 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -18186,7 +18365,7 @@ paths: description: Response content: application/json: - schema: &340 + schema: &345 type: object properties: days_left_in_billing_cycle: @@ -18204,7 +18383,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &341 + default: &346 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -18229,7 +18408,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *40 - - &168 + - &171 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, @@ -18238,7 +18417,7 @@ paths: required: false schema: type: integer - - &169 + - &172 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 @@ -18247,7 +18426,7 @@ paths: required: false schema: type: integer - - &170 + - &173 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 @@ -18256,7 +18435,7 @@ paths: required: false schema: type: integer - - &171 + - &174 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 @@ -18277,7 +18456,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &172 + schema: &175 type: object properties: usageItems: @@ -18330,7 +18509,7 @@ paths: - netAmount - organizationName examples: - default: &173 + default: &176 value: usageItems: - date: '2023-08-01' @@ -18346,8 +18525,8 @@ paths: repositoryName: github/example '400': *14 '403': *29 - '500': *97 - '503': *129 + '500': *99 + '503': *132 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -18418,13 +18597,13 @@ paths: application/json: schema: type: array - items: *131 + items: *134 examples: - default: *132 - '500': *97 + default: *135 + '500': *99 '403': *29 '404': *6 - '422': *133 + '422': *136 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -18459,7 +18638,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: - *40 - - &293 + - &296 name: team_slug description: The slug of the team name. in: path @@ -18497,9 +18676,9 @@ paths: application/json: schema: type: array - items: *134 + items: *137 examples: - default: &236 + default: &239 value: - day: '2023-10-15' total_suggestions_count: 1000 @@ -18563,7 +18742,7 @@ paths: lines_suggested: 200 lines_accepted: 150 active_users: 3 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -18655,7 +18834,7 @@ paths: application/json: schema: type: array - items: &163 + items: &166 title: Event description: Event type: object @@ -18665,7 +18844,7 @@ paths: type: type: string nullable: true - actor: &135 + actor: &138 title: Actor description: Actor type: object @@ -18705,18 +18884,18 @@ paths: - id - name - url - org: *135 + org: *138 payload: type: object properties: action: type: string - issue: &151 + issue: &154 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &552 + properties: &557 id: type: integer format: int64 @@ -18827,7 +19006,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &488 + properties: &493 url: type: string format: uri @@ -18897,7 +19076,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &489 + required: &494 - closed_issues - creator - description @@ -18986,9 +19165,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 - author_association: &138 + properties: *139 + required: *140 + author_association: &141 title: author_association type: string example: OWNER @@ -19002,7 +19181,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &139 + reactions: &142 title: Reaction Rollup type: object properties: @@ -19052,7 +19231,7 @@ paths: - total - completed - percent_completed - required: &553 + required: &558 - assignee - closed_at - comments @@ -19074,7 +19253,7 @@ paths: - author_association - created_at - updated_at - comment: &550 + comment: &555 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -19122,7 +19301,7 @@ paths: issue_url: type: string format: uri - author_association: *138 + author_association: *141 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -19132,9 +19311,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 - reactions: *139 + properties: *139 + required: *140 + reactions: *142 required: - id - node_id @@ -19229,7 +19408,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19310,7 +19489,7 @@ paths: _links: type: object properties: - timeline: &140 + timeline: &143 title: Link With Type description: Hypermedia Link with Type type: object @@ -19322,17 +19501,17 @@ paths: required: - href - type - user: *140 - security_advisories: *140 - current_user: *140 - current_user_public: *140 - current_user_actor: *140 - current_user_organization: *140 + user: *143 + security_advisories: *143 + current_user: *143 + current_user_public: *143 + current_user_actor: *143 + current_user_organization: *143 current_user_organizations: type: array - items: *140 - repository_discussions: *140 - repository_discussions_category: *140 + items: *143 + repository_discussions: *143 + repository_discussions_category: *143 required: - timeline - user @@ -19394,7 +19573,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *141 + - *144 - *17 - *19 responses: @@ -19404,7 +19583,7 @@ paths: application/json: schema: type: array - items: &142 + items: &145 title: Base Gist description: Base Gist type: object @@ -19503,7 +19682,7 @@ paths: - created_at - updated_at examples: - default: &143 + default: &146 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -19624,7 +19803,7 @@ paths: description: Response content: application/json: - schema: &144 + schema: &147 title: Gist Simple description: Gist Simple type: object @@ -19641,7 +19820,7 @@ paths: url: type: string format: uri - user: &700 + user: &705 title: Public User description: Public User type: object @@ -20003,7 +20182,7 @@ paths: truncated: type: boolean examples: - default: &145 + default: &148 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -20107,7 +20286,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *141 + - *144 - *17 - *19 responses: @@ -20117,9 +20296,9 @@ paths: application/json: schema: type: array - items: *142 + items: *145 examples: - default: *143 + default: *146 headers: Link: *39 '422': *15 @@ -20141,7 +20320,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *141 + - *144 - *17 - *19 responses: @@ -20151,9 +20330,9 @@ paths: application/json: schema: type: array - items: *142 + items: *145 examples: - default: *143 + default: *146 headers: Link: *39 '401': *25 @@ -20181,7 +20360,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &146 + - &149 name: gist_id description: The unique identifier of the gist. in: path @@ -20193,10 +20372,10 @@ paths: description: Response content: application/json: - schema: *144 + schema: *147 examples: - default: *145 - '403': &149 + default: *148 + '403': &152 description: Forbidden Gist content: application/json: @@ -20244,7 +20423,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *146 + - *149 requestBody: required: true content: @@ -20304,9 +20483,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *147 examples: - updateGist: *145 + updateGist: *148 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -20464,7 +20643,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *146 + - *149 responses: '204': description: Response @@ -20493,7 +20672,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *146 + - *149 - *17 - *19 responses: @@ -20503,7 +20682,7 @@ paths: application/json: schema: type: array - items: &147 + items: &150 title: Gist Comment description: A comment made to a gist. type: object @@ -20538,7 +20717,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *138 + author_association: *141 required: - url - id @@ -20603,7 +20782,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *146 + - *149 requestBody: required: true content: @@ -20628,9 +20807,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *150 examples: - default: &148 + default: &151 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -20688,8 +20867,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *146 - - &150 + - *149 + - &153 name: comment_id description: The unique identifier of the comment. in: path @@ -20702,12 +20881,12 @@ paths: description: Response content: application/json: - schema: *147 + schema: *150 examples: - default: *148 + default: *151 '304': *37 '404': *6 - '403': *149 + '403': *152 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -20729,8 +20908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *146 - - *150 + - *149 + - *153 requestBody: required: true content: @@ -20755,9 +20934,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *150 examples: - default: *148 + default: *151 '404': *6 x-github: githubCloudOnly: false @@ -20774,8 +20953,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *146 - - *150 + - *149 + - *153 responses: '204': description: Response @@ -20798,7 +20977,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *146 + - *149 - *17 - *19 responses: @@ -20899,7 +21078,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *146 + - *149 - *17 - *19 responses: @@ -20909,7 +21088,7 @@ paths: application/json: schema: type: array - items: *144 + items: *147 examples: default: value: @@ -20974,13 +21153,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *146 + - *149 responses: '201': description: Response content: application/json: - schema: *142 + schema: *145 examples: default: value: @@ -21051,7 +21230,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *146 + - *149 responses: '204': description: Response if gist is starred @@ -21081,7 +21260,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *146 + - *149 responses: '204': description: Response @@ -21103,7 +21282,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *146 + - *149 responses: '204': description: Response @@ -21132,7 +21311,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *146 + - *149 - name: sha in: path required: true @@ -21143,9 +21322,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *147 examples: - default: *145 + default: *148 '422': *15 '404': *6 '403': *29 @@ -21511,7 +21690,7 @@ paths: - closed - all default: open - - &282 + - &285 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -21529,8 +21708,8 @@ paths: - updated - comments default: created - - *84 - - *141 + - *86 + - *144 - name: collab in: query required: false @@ -21560,9 +21739,9 @@ paths: application/json: schema: type: array - items: *151 + items: *154 examples: - default: &283 + default: &286 value: - id: 1 node_id: MDU6SXNzdWUx @@ -21846,8 +22025,8 @@ paths: title: License Simple description: License Simple type: object - properties: *152 - required: *153 + properties: *155 + required: *156 examples: default: value: @@ -22131,7 +22310,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &154 + X-CommonMarker-Version: &157 example: 0.17.4 schema: type: string @@ -22186,7 +22365,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *154 + X-CommonMarker-Version: *157 content: text/html: schema: @@ -22215,7 +22394,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: - - &157 + - &160 name: account_id description: account_id parameter in: path @@ -22227,7 +22406,7 @@ paths: description: Response content: application/json: - schema: &156 + schema: &159 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -22257,7 +22436,7 @@ paths: nullable: true id: type: integer - plan: &155 + plan: &158 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -22346,7 +22525,7 @@ paths: nullable: true updated_at: type: string - plan: *155 + plan: *158 required: - url - id @@ -22354,7 +22533,7 @@ paths: - login - marketplace_purchase examples: - default: &158 + default: &161 value: url: https://api.github.com/orgs/github type: Organization @@ -22439,9 +22618,9 @@ paths: application/json: schema: type: array - items: *155 + items: *158 examples: - default: &159 + default: &162 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -22481,14 +22660,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &160 + - &163 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &161 + - &164 name: sort description: The property to sort the results by. in: query @@ -22518,9 +22697,9 @@ paths: application/json: schema: type: array - items: *156 + items: *159 examples: - default: &162 + default: &165 value: - url: https://api.github.com/orgs/github type: Organization @@ -22594,15 +22773,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: - - *157 + - *160 responses: '200': description: Response content: application/json: - schema: *156 + schema: *159 examples: - default: *158 + default: *161 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -22634,9 +22813,9 @@ paths: application/json: schema: type: array - items: *155 + items: *158 examples: - default: *159 + default: *162 headers: Link: *39 '401': *25 @@ -22659,8 +22838,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *160 - - *161 + - *163 + - *164 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -22680,9 +22859,9 @@ paths: application/json: schema: type: array - items: *156 + items: *159 examples: - default: *162 + default: *165 headers: Link: *39 '401': *25 @@ -22946,14 +23125,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: - - &365 + - &370 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &366 + - &371 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -22970,7 +23149,7 @@ paths: application/json: schema: type: array - items: *163 + items: *166 examples: default: value: @@ -23024,7 +23203,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &379 + '301': &384 description: Moved permanently content: application/json: @@ -23046,7 +23225,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &582 + - &587 name: all description: If `true`, show notifications marked as read. in: query @@ -23054,7 +23233,7 @@ paths: schema: type: boolean default: false - - &583 + - &588 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -23063,8 +23242,8 @@ paths: schema: type: boolean default: false - - *141 - - &584 + - *144 + - &589 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: @@ -23089,18 +23268,18 @@ paths: application/json: schema: type: array - items: &164 + items: &167 title: Thread description: Thread type: object properties: id: type: string - repository: &194 + repository: &197 title: Minimal Repository description: Minimal Repository type: object - properties: &254 + properties: &257 id: type: integer format: int64 @@ -23376,7 +23555,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &317 + security_and_analysis: &320 nullable: true type: object properties: @@ -23440,7 +23619,7 @@ paths: enum: - enabled - disabled - required: &255 + required: &258 - archive_url - assignees_url - blobs_url @@ -23528,7 +23707,7 @@ paths: - url - subscription_url examples: - default: &585 + default: &590 value: - id: '1' repository: @@ -23694,7 +23873,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &165 + - &168 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 @@ -23708,7 +23887,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *167 examples: default: value: @@ -23811,7 +23990,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *165 + - *168 responses: '205': description: Reset Content @@ -23834,7 +24013,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *165 + - *168 responses: '204': description: No content @@ -23857,13 +24036,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: - - *165 + - *168 responses: '200': description: Response content: application/json: - schema: &166 + schema: &169 title: Thread Subscription description: Thread Subscription type: object @@ -23900,7 +24079,7 @@ paths: - url - subscribed examples: - default: &167 + default: &170 value: subscribed: true ignored: false @@ -23931,7 +24110,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *165 + - *168 requestBody: required: false content: @@ -23952,9 +24131,9 @@ paths: description: Response content: application/json: - schema: *166 + schema: *169 examples: - default: *167 + default: *170 '304': *37 '403': *29 '401': *25 @@ -23977,7 +24156,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *165 + - *168 responses: '204': description: Response @@ -24074,7 +24253,7 @@ paths: type: array items: *58 examples: - default: &718 + default: &723 value: - login: github id: 1 @@ -24138,7 +24317,7 @@ paths: type: integer custom_roles: type: array - items: &237 + items: &240 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -24186,7 +24365,7 @@ paths: - created_at - updated_at examples: - default: &238 + default: &241 value: id: 8030 name: Security Engineer @@ -24232,29 +24411,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: - - &174 + - &177 name: org description: The organization name. The name is not case sensitive. in: path required: true schema: type: string - - *168 - - *169 - - *170 - *171 + - *172 + - *173 + - *174 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *172 + schema: *175 examples: - default: *173 + default: *176 '400': *14 '403': *29 - '500': *97 - '503': *129 + '500': *99 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24280,13 +24459,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - *174 + - *177 responses: '200': description: Response content: application/json: - schema: &175 + schema: &178 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -24589,7 +24768,7 @@ paths: - updated_at - archived_at examples: - default-response: &176 + default-response: &179 value: login: github id: 1 @@ -24682,7 +24861,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *174 + - *177 requestBody: required: false content: @@ -24905,18 +25084,18 @@ paths: description: Response content: application/json: - schema: *175 + schema: *178 examples: - default: *176 + default: *179 '422': description: Validation failed content: application/json: schema: oneOf: - - *177 - - *178 - '409': *92 + - *180 + - *181 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24939,9 +25118,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *174 + - *177 responses: - '202': *93 + '202': *95 '404': *6 '403': *29 x-github: @@ -24964,15 +25143,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: - - *174 + - *177 responses: '200': description: Response content: application/json: - schema: *179 + schema: *182 examples: - default: *180 + default: *183 headers: Link: *39 x-github: @@ -24995,7 +25174,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: - - *174 + - *177 - *17 - *19 responses: @@ -25013,7 +25192,7 @@ paths: type: integer repository_cache_usages: type: array - items: &384 + items: &389 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -25068,7 +25247,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: - - *174 + - *177 - *17 - *19 responses: @@ -25088,7 +25267,7 @@ paths: type: array items: *41 examples: - default: *181 + default: *184 headers: Link: *39 x-github: @@ -25108,7 +25287,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: - - *174 + - *177 requestBody: required: true content: @@ -25201,7 +25380,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: - - *174 + - *177 responses: '200': description: Response @@ -25237,7 +25416,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: - - *174 + - *177 responses: '200': description: Response @@ -25272,15 +25451,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: - - *174 + - *177 responses: '200': description: Response content: application/json: - schema: *182 + schema: *185 examples: - default: *183 + default: *186 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25298,7 +25477,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: - - *174 + - *177 responses: '200': description: Response @@ -25316,7 +25495,7 @@ paths: type: array items: *44 examples: - default: *184 + default: *187 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25334,7 +25513,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: - - *174 + - *177 responses: '200': description: Response @@ -25378,7 +25557,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: - - *174 + - *177 - *46 responses: '200': @@ -25407,7 +25586,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: - - *174 + - *177 - *46 requestBody: required: true @@ -25470,7 +25649,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: - - *174 + - *177 - *46 responses: '202': @@ -25499,13 +25678,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: - - *174 + - *177 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &185 + schema: &188 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -25519,7 +25698,7 @@ paths: required: - include_claim_keys examples: - default: &186 + default: &189 value: include_claim_keys: - repo @@ -25541,20 +25720,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: - - *174 + - *177 requestBody: required: true content: application/json: - schema: *185 + schema: *188 examples: - default: *186 + default: *189 responses: '201': description: Empty response content: application/json: - schema: &205 + schema: &208 title: Empty Object description: An object without any properties. type: object @@ -25584,7 +25763,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: - - *174 + - *177 responses: '200': description: Response @@ -25593,7 +25772,7 @@ paths: schema: type: object properties: - enabled_repositories: &188 + enabled_repositories: &191 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -25607,7 +25786,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *48 - selected_actions_url: *187 + selected_actions_url: *190 required: - enabled_repositories examples: @@ -25636,7 +25815,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: - - *174 + - *177 responses: '204': description: Response @@ -25647,7 +25826,7 @@ paths: schema: type: object properties: - enabled_repositories: *188 + enabled_repositories: *191 allowed_actions: *48 required: - enabled_repositories @@ -25675,7 +25854,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: - - *174 + - *177 - *17 - *19 responses: @@ -25695,7 +25874,7 @@ paths: type: array items: *63 examples: - default: &712 + default: &717 value: total_count: 1 repositories: @@ -25835,7 +26014,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: - - *174 + - *177 responses: '204': description: Response @@ -25879,8 +26058,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: - - *174 - - &189 + - *177 + - &192 name: repository_id description: The unique identifier of the repository. in: path @@ -25908,8 +26087,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: - - *174 - - *189 + - *177 + - *192 responses: '204': description: Response @@ -25932,7 +26111,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: - - *174 + - *177 responses: '200': description: Response @@ -25963,7 +26142,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: - - *174 + - *177 responses: '204': description: Response @@ -25995,13 +26174,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: - - *174 + - *177 responses: '200': description: Response content: application/json: - schema: *190 + schema: *193 examples: default: *54 x-github: @@ -26024,7 +26203,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: - - *174 + - *177 responses: '204': description: Success response @@ -26035,7 +26214,7 @@ paths: required: false content: application/json: - schema: *191 + schema: *194 examples: default: *54 x-github: @@ -26057,7 +26236,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: - - *174 + - *177 - *17 - *19 - name: visible_to_repository @@ -26082,7 +26261,7 @@ paths: type: number runner_groups: type: array - items: &192 + items: &195 type: object properties: id: @@ -26198,7 +26377,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: - - *174 + - *177 requestBody: required: true content: @@ -26270,9 +26449,9 @@ paths: description: Response content: application/json: - schema: *192 + schema: *195 examples: - default: &193 + default: &196 value: id: 2 name: octo-runner-group @@ -26307,14 +26486,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: - - *174 + - *177 - *57 responses: '200': description: Response content: application/json: - schema: *192 + schema: *195 examples: default: value: @@ -26350,7 +26529,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: - - *174 + - *177 - *57 requestBody: required: true @@ -26405,9 +26584,9 @@ paths: description: Response content: application/json: - schema: *192 + schema: *195 examples: - default: *193 + default: *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -26426,7 +26605,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: - - *174 + - *177 - *57 responses: '204': @@ -26450,7 +26629,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: - - *174 + - *177 - *57 - *17 - *19 @@ -26471,7 +26650,7 @@ paths: type: array items: *41 examples: - default: *181 + default: *184 headers: Link: *39 x-github: @@ -26493,7 +26672,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: - - *174 + - *177 - *57 - *19 - *17 @@ -26512,9 +26691,9 @@ paths: type: number repositories: type: array - items: *194 + items: *197 examples: - default: &703 + default: &708 value: total_count: 1 repositories: @@ -26766,7 +26945,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: - - *174 + - *177 - *57 requestBody: required: true @@ -26811,9 +26990,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: - - *174 + - *177 - *57 - - *189 + - *192 responses: '204': description: Response @@ -26835,9 +27014,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: - - *174 + - *177 - *57 - - *189 + - *192 responses: '204': description: Response @@ -26860,7 +27039,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: - - *174 + - *177 - *57 - *17 - *19 @@ -26902,7 +27081,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: - - *174 + - *177 - *57 requestBody: required: true @@ -26947,7 +27126,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: - - *174 + - *177 - *57 - *60 responses: @@ -26971,7 +27150,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: - - *174 + - *177 - *57 - *60 responses: @@ -27003,7 +27182,7 @@ paths: in: query schema: type: string - - *174 + - *177 - *17 - *19 responses: @@ -27047,7 +27226,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: - - *174 + - *177 responses: '200': description: Response @@ -27055,9 +27234,9 @@ paths: application/json: schema: type: array - items: *195 + items: *198 examples: - default: *196 + default: *199 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27079,7 +27258,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: - - *174 + - *177 requestBody: required: true content: @@ -27122,10 +27301,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *197 + '201': *200 '404': *6 '422': *7 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27153,7 +27332,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: - - *174 + - *177 responses: '201': description: Response @@ -27161,7 +27340,7 @@ paths: application/json: schema: *64 examples: - default: *198 + default: *201 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27189,7 +27368,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: - - *174 + - *177 responses: '201': description: Response @@ -27197,7 +27376,7 @@ paths: application/json: schema: *64 examples: - default: *199 + default: *202 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27219,7 +27398,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: - - *174 + - *177 - *60 responses: '200': @@ -27228,7 +27407,7 @@ paths: application/json: schema: *61 examples: - default: *200 + default: *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27249,7 +27428,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: - - *174 + - *177 - *60 responses: '204': @@ -27275,7 +27454,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: - - *174 + - *177 - *60 responses: '200': *66 @@ -27300,7 +27479,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: - - *174 + - *177 - *60 requestBody: required: true @@ -27349,7 +27528,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: - - *174 + - *177 - *60 requestBody: required: true @@ -27399,10 +27578,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: - - *174 + - *177 - *60 responses: - '200': *201 + '200': *204 '404': *6 x-github: githubCloudOnly: false @@ -27429,9 +27608,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: - - *174 + - *177 - *60 - - *202 + - *205 responses: '200': *66 '404': *6 @@ -27458,7 +27637,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *174 + - *177 - *17 - *19 responses: @@ -27476,7 +27655,7 @@ paths: type: integer secrets: type: array - items: &203 + items: &206 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -27549,13 +27728,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *174 + - *177 responses: '200': description: Response content: application/json: - schema: &404 + schema: &409 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -27584,7 +27763,7 @@ paths: - key_id - key examples: - default: &405 + default: &410 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27609,8 +27788,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *174 - - &204 + - *177 + - &207 name: secret_name description: The name of the secret. in: path @@ -27622,7 +27801,7 @@ paths: description: Response content: application/json: - schema: *203 + schema: *206 examples: default: value: @@ -27652,8 +27831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *174 - - *204 + - *177 + - *207 requestBody: required: true content: @@ -27710,7 +27889,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -27736,8 +27915,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *174 - - *204 + - *177 + - *207 responses: '204': description: Response @@ -27763,8 +27942,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: - - *174 - - *204 + - *177 + - *207 - *19 - *17 responses: @@ -27782,9 +27961,9 @@ paths: type: integer repositories: type: array - items: *194 + items: *197 examples: - default: &208 + default: &211 value: total_count: 1 repositories: @@ -27876,8 +28055,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: - - *174 - - *204 + - *177 + - *207 requestBody: required: true content: @@ -27929,8 +28108,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: - - *174 - - *204 + - *177 + - *207 - name: repository_id in: path required: true @@ -27963,8 +28142,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: - - *174 - - *204 + - *177 + - *207 - name: repository_id in: path required: true @@ -27996,8 +28175,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *174 - - &389 + - *177 + - &394 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)." @@ -28021,7 +28200,7 @@ paths: type: integer variables: type: array - items: &206 + items: &209 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -28106,7 +28285,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *174 + - *177 requestBody: required: true content: @@ -28154,7 +28333,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -28179,8 +28358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *174 - - &207 + - *177 + - &210 name: name description: The name of the variable. in: path @@ -28192,7 +28371,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *209 examples: default: value: @@ -28222,8 +28401,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *174 - - *207 + - *177 + - *210 requestBody: required: true content: @@ -28285,8 +28464,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *174 - - *207 + - *177 + - *210 responses: '204': description: Response @@ -28312,8 +28491,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: - - *174 - - *207 + - *177 + - *210 - *19 - *17 responses: @@ -28331,9 +28510,9 @@ paths: type: integer repositories: type: array - items: *194 + items: *197 examples: - default: *208 + default: *211 '409': description: Response when the visibility of the variable is not set to `selected` @@ -28359,8 +28538,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: - - *174 - - *207 + - *177 + - *210 requestBody: required: true content: @@ -28409,8 +28588,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: - - *174 - - *207 + - *177 + - *210 - name: repository_id in: path required: true @@ -28444,8 +28623,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: - - *174 - - *207 + - *177 + - *210 - name: repository_id in: path required: true @@ -28476,15 +28655,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *174 + - *177 responses: '200': description: Response content: application/json: - schema: *70 + schema: *71 examples: - default: *69 + default: *70 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -28503,19 +28682,19 @@ paths: required: true content: application/json: - schema: *209 + schema: *212 examples: - default: *69 + default: *70 parameters: - - *174 + - *177 responses: '200': description: Response content: application/json: - schema: *70 + schema: *71 examples: - default: *69 + default: *70 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -28531,7 +28710,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *174 + - *177 responses: '204': description: Response @@ -28557,9 +28736,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations parameters: - *17 - - *82 - - *83 - - *174 + - *84 + - *85 + - *177 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -28602,7 +28781,7 @@ paths: bundle_url: type: string examples: - default: &418 + default: &423 value: attestations: - bundle: @@ -28720,7 +28899,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: - - *174 + - *177 - 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). @@ -28728,10 +28907,10 @@ paths: required: false schema: type: string - - *210 - - *211 - - *212 - *213 + - *214 + - *215 + - *216 - *17 responses: '200': @@ -28740,9 +28919,9 @@ paths: application/json: schema: type: array - items: *214 + items: *217 examples: - default: *215 + default: *218 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -28759,7 +28938,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *174 + - *177 - *17 - *19 responses: @@ -28771,7 +28950,7 @@ paths: type: array items: *4 examples: - default: &284 + default: &287 value: - login: octocat id: 1 @@ -28809,8 +28988,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: - - *174 - - &216 + - *177 + - &219 name: username description: The handle for the GitHub user account. in: path @@ -28841,8 +29020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *174 - - *216 + - *177 + - *219 responses: '204': description: Response @@ -28862,8 +29041,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *174 - - *216 + - *177 + - *219 responses: '204': description: Response @@ -28889,17 +29068,17 @@ paths: category: orgs subcategory: bypass-requests parameters: - - *174 - - &321 + - *177 + - &324 name: repository_name description: The name of the repository to filter on. in: query schema: type: string - - *217 - - *218 - - *219 - *220 + - *221 + - *222 + - *223 - *17 - *19 responses: @@ -28909,11 +29088,11 @@ paths: application/json: schema: type: array - items: *221 + items: *224 examples: - default: *222 + default: *225 '404': *6 - '500': *97 + '500': *99 "/orgs/{org}/code-scanning/alerts": get: summary: List code scanning alerts for an organization @@ -28930,20 +29109,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: - - *174 - - *223 - - *224 - - *82 - - *83 + - *177 + - *226 + - *227 + - *84 + - *85 - *19 - *17 - - *84 + - *86 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: *225 + schema: *228 - name: sort description: The property by which to sort the results. in: query @@ -28959,7 +29138,7 @@ paths: be returned. in: query required: false - schema: &445 + schema: &450 type: string description: Severity of a code scanning alert. enum: @@ -28977,13 +29156,13 @@ paths: application/json: schema: type: array - items: *226 + items: *229 examples: - default: *227 + default: *230 headers: Link: *39 '404': *6 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29005,7 +29184,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: - - *174 + - *177 - name: target_type in: query description: The target type of the code security configuration @@ -29024,8 +29203,8 @@ paths: schema: type: integer default: 30 - - *82 - - *83 + - *84 + - *85 responses: '200': description: Response @@ -29033,7 +29212,7 @@ paths: application/json: schema: type: array - items: *88 + items: *90 examples: default: value: @@ -29112,7 +29291,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *174 + - *177 requestBody: required: true content: @@ -29185,7 +29364,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: *91 + code_scanning_default_setup_options: *93 secret_scanning: type: string description: The enablement status of secret scanning @@ -29285,9 +29464,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *88 + schema: *90 examples: - default: *228 + default: *231 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29309,15 +29488,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *174 + - *177 responses: '200': description: Response content: application/json: - schema: *229 + schema: *232 examples: - default: *230 + default: *233 '304': *37 '403': *29 '404': *6 @@ -29343,7 +29522,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *174 + - *177 requestBody: required: true content: @@ -29366,11 +29545,11 @@ paths: - 32 - 91 responses: - '204': *116 + '204': *118 '400': *14 '403': *29 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29392,16 +29571,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *174 - - *90 + - *177 + - *92 responses: '200': description: Response content: application/json: - schema: *88 + schema: *90 examples: - default: *228 + default: *231 '304': *37 '403': *29 '404': *6 @@ -29425,8 +29604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *174 - - *90 + - *177 + - *92 requestBody: required: true content: @@ -29492,7 +29671,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *91 + code_scanning_default_setup_options: *93 secret_scanning: type: string description: The enablement status of secret scanning @@ -29579,7 +29758,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *88 + schema: *90 examples: default: value: @@ -29633,14 +29812,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *174 - - *90 + - *177 + - *92 responses: - '204': *116 + '204': *118 '400': *14 '403': *29 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29664,8 +29843,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *174 - - *90 + - *177 + - *92 requestBody: required: true content: @@ -29704,7 +29883,7 @@ paths: - 32 - 91 responses: - '202': *93 + '202': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29728,8 +29907,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: - - *174 - - *90 + - *177 + - *92 requestBody: required: true content: @@ -29769,12 +29948,12 @@ paths: - none - private_and_internal - public - configuration: *88 + configuration: *90 examples: default: value: default_for_new_repos: all - configuration: *228 + configuration: *231 '403': *29 '404': *6 x-github: @@ -29798,8 +29977,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: - - *174 - - *90 + - *177 + - *92 - 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)." @@ -29808,8 +29987,8 @@ paths: schema: type: integer default: 30 - - *82 - - *83 + - *84 + - *85 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -29827,13 +30006,13 @@ paths: application/json: schema: type: array - items: *231 + items: *234 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *232 + repository: *235 '403': *29 '404': *6 x-github: @@ -29857,7 +30036,7 @@ paths: parameters: - *17 - *19 - - *174 + - *177 responses: '200': description: Response @@ -29873,7 +30052,7 @@ paths: type: integer codespaces: type: array - items: &285 + items: &288 type: object title: Codespace description: A codespace. @@ -29898,12 +30077,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *194 + repository: *197 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &474 + properties: &479 name: type: string description: The name of the machine. @@ -29945,7 +30124,7 @@ paths: - ready - in_progress nullable: true - required: &475 + required: &480 - name - display_name - operating_system @@ -30150,7 +30329,7 @@ paths: - pulls_url - recent_folders examples: - default: &286 + default: &289 value: total_count: 3 codespaces: @@ -30560,7 +30739,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *37 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -30582,7 +30761,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *174 + - *177 deprecated: true requestBody: required: true @@ -30626,7 +30805,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *97 + '500': *99 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30649,7 +30828,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: - - *174 + - *177 deprecated: true requestBody: required: true @@ -30681,7 +30860,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *97 + '500': *99 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30704,7 +30883,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *174 + - *177 requestBody: required: true content: @@ -30735,7 +30914,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *97 + '500': *99 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30756,7 +30935,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *174 + - *177 - *17 - *19 responses: @@ -30774,7 +30953,7 @@ paths: type: integer secrets: type: array - items: &233 + items: &236 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -30813,7 +30992,7 @@ paths: - updated_at - visibility examples: - default: &476 + default: &481 value: total_count: 2 secrets: @@ -30845,13 +31024,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *174 + - *177 responses: '200': description: Response content: application/json: - schema: &477 + schema: &482 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -30880,7 +31059,7 @@ paths: - key_id - key examples: - default: &478 + default: &483 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30903,16 +31082,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *174 - - *204 + - *177 + - *207 responses: '200': description: Response content: application/json: - schema: *233 + schema: *236 examples: - default: &480 + default: &485 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -30939,8 +31118,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: - - *174 - - *204 + - *177 + - *207 requestBody: required: true content: @@ -30995,7 +31174,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -31021,8 +31200,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *174 - - *204 + - *177 + - *207 responses: '204': description: Response @@ -31047,8 +31226,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: - - *174 - - *204 + - *177 + - *207 - *19 - *17 responses: @@ -31066,9 +31245,9 @@ paths: type: integer repositories: type: array - items: *194 + items: *197 examples: - default: *208 + default: *211 '404': *6 x-github: githubCloudOnly: false @@ -31090,8 +31269,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: - - *174 - - *204 + - *177 + - *207 requestBody: required: true content: @@ -31141,8 +31320,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: - - *174 - - *204 + - *177 + - *207 - name: repository_id in: path required: true @@ -31175,8 +31354,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: - - *174 - - *204 + - *177 + - *207 - name: repository_id in: path required: true @@ -31215,7 +31394,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: - - *174 + - *177 responses: '200': description: OK @@ -31326,7 +31505,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -31358,7 +31537,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: - - *174 + - *177 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -31381,12 +31560,12 @@ paths: currently being billed. seats: type: array - items: *234 + items: *237 examples: - default: *235 + default: *238 headers: Link: *39 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -31419,7 +31598,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: - - *174 + - *177 requestBody: content: application/json: @@ -31461,7 +31640,7 @@ paths: default: value: seats_created: 5 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -31497,7 +31676,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: - - *174 + - *177 requestBody: content: application/json: @@ -31539,7 +31718,7 @@ paths: default: value: seats_cancelled: 5 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -31577,7 +31756,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: - - *174 + - *177 requestBody: content: application/json: @@ -31618,7 +31797,7 @@ paths: default: value: seats_created: 5 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -31654,7 +31833,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: - - *174 + - *177 requestBody: content: application/json: @@ -31696,7 +31875,7 @@ paths: default: value: seats_cancelled: 5 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -31735,7 +31914,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: - - *174 + - *177 - 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`). @@ -31767,13 +31946,13 @@ paths: application/json: schema: type: array - items: *131 + items: *134 examples: - default: *132 - '500': *97 + default: *135 + '500': *99 '403': *29 '404': *6 - '422': *133 + '422': *136 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31804,7 +31983,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: - - *174 + - *177 - 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`). @@ -31836,10 +32015,10 @@ paths: application/json: schema: type: array - items: *134 + items: *137 examples: - default: *236 - '500': *97 + default: *239 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -31864,7 +32043,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: - - *174 + - *177 - *17 - name: page description: Page token @@ -32008,7 +32187,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: - - *174 + - *177 - name: credential_id in: path required: true @@ -32039,7 +32218,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: - - *174 + - *177 responses: '200': description: Response - list of custom role names @@ -32054,7 +32233,7 @@ paths: type: integer custom_roles: type: array - items: *237 + items: *240 examples: default: value: @@ -32141,12 +32320,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *174 + - *177 requestBody: required: true content: application/json: - schema: &240 + schema: &243 type: object properties: name: @@ -32187,9 +32366,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *240 examples: - default: *238 + default: *241 '422': *15 '404': *6 x-github: @@ -32213,8 +32392,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *174 - - &239 + - *177 + - &242 name: role_id description: The unique identifier of the role. in: path @@ -32226,9 +32405,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *240 examples: - default: *238 + default: *241 '404': *6 x-github: githubCloudOnly: true @@ -32250,13 +32429,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *174 - - *239 + - *177 + - *242 requestBody: required: true content: application/json: - schema: &241 + schema: &244 type: object properties: name: @@ -32294,9 +32473,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *240 examples: - default: *238 + default: *241 '422': *15 '404': *6 x-github: @@ -32320,8 +32499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *174 - - *239 + - *177 + - *242 responses: '204': description: Response @@ -32349,12 +32528,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: - - *174 + - *177 requestBody: required: true content: application/json: - schema: *240 + schema: *243 examples: default: value: @@ -32368,9 +32547,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *240 examples: - default: *238 + default: *241 '422': *15 '404': *6 x-github: @@ -32400,16 +32579,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: - - *174 - - *239 + - *177 + - *242 responses: '200': description: Response content: application/json: - schema: *237 + schema: *240 examples: - default: *238 + default: *241 '404': *6 x-github: githubCloudOnly: true @@ -32437,13 +32616,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: - - *174 - - *239 + - *177 + - *242 requestBody: required: true content: application/json: - schema: *241 + schema: *244 examples: default: value: @@ -32458,9 +32637,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *240 examples: - default: *238 + default: *241 '422': *15 '404': *6 x-github: @@ -32490,8 +32669,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: - - *174 - - *239 + - *177 + - *242 responses: '204': description: Response @@ -32519,19 +32698,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *174 - - *242 - - *243 - - *244 + - *177 - *245 - *246 - *247 - *248 - - *84 - - *82 - - *83 - *249 - *250 + - *251 + - *86 + - *84 + - *85 + - *252 + - *253 - *17 responses: '200': @@ -32540,9 +32719,9 @@ paths: application/json: schema: type: array - items: *251 + items: *254 examples: - default: *252 + default: *255 '304': *37 '400': *14 '403': *29 @@ -32568,7 +32747,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *174 + - *177 - *17 - *19 responses: @@ -32586,7 +32765,7 @@ paths: type: integer secrets: type: array - items: &253 + items: &256 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -32657,13 +32836,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *174 + - *177 responses: '200': description: Response content: application/json: - schema: &507 + schema: &512 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -32680,7 +32859,7 @@ paths: - key_id - key examples: - default: &508 + default: &513 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32703,14 +32882,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *174 - - *204 + - *177 + - *207 responses: '200': description: Response content: application/json: - schema: *253 + schema: *256 examples: default: value: @@ -32738,8 +32917,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *174 - - *204 + - *177 + - *207 requestBody: required: true content: @@ -32794,7 +32973,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -32818,8 +32997,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *174 - - *204 + - *177 + - *207 responses: '204': description: Response @@ -32843,8 +33022,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: - - *174 - - *204 + - *177 + - *207 - *19 - *17 responses: @@ -32862,9 +33041,9 @@ paths: type: integer repositories: type: array - items: *194 + items: *197 examples: - default: *208 + default: *211 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32885,8 +33064,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: - - *174 - - *204 + - *177 + - *207 requestBody: required: true content: @@ -32936,8 +33115,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: - - *174 - - *204 + - *177 + - *207 - name: repository_id in: path required: true @@ -32968,8 +33147,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: - - *174 - - *204 + - *177 + - *207 - name: repository_id in: path required: true @@ -32999,7 +33178,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: - - *174 + - *177 responses: '200': description: Response @@ -33007,7 +33186,7 @@ paths: application/json: schema: type: array - items: &297 + items: &300 title: Package description: A software package type: object @@ -33057,8 +33236,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *254 - required: *255 + properties: *257 + required: *258 nullable: true created_at: type: string @@ -33077,7 +33256,7 @@ paths: - created_at - updated_at examples: - default: &298 + default: &301 value: - id: 197 name: hello_docker @@ -33155,7 +33334,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *174 + - *177 - *17 - *19 responses: @@ -33165,7 +33344,7 @@ paths: application/json: schema: type: array - items: *163 + items: *166 examples: 200-response: value: @@ -33235,7 +33414,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *174 + - *177 - name: group_id description: The unique identifier of the group. in: path @@ -33261,7 +33440,7 @@ paths: description: Response content: application/json: - schema: &360 + schema: &365 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -33342,7 +33521,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &361 + default: &366 value: group_id: '123' group_name: Octocat admins @@ -33380,7 +33559,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: - - *174 + - *177 - *17 - name: page description: Page token @@ -33397,7 +33576,7 @@ paths: description: Response content: application/json: - schema: &358 + schema: &363 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -33434,7 +33613,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &359 + default: &364 value: groups: - group_id: '123' @@ -33468,7 +33647,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *174 + - *177 - *17 - *19 responses: @@ -33478,7 +33657,7 @@ paths: application/json: schema: type: array - items: &278 + items: &281 title: Organization Invitation description: Organization Invitation type: object @@ -33525,7 +33704,7 @@ paths: - invitation_teams_url - node_id examples: - default: &279 + default: &282 value: - id: 1 login: monalisa @@ -33584,7 +33763,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: - - *174 + - *177 responses: '200': description: Response @@ -33592,7 +33771,7 @@ paths: application/json: schema: type: array - items: &318 + items: &321 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -33606,7 +33785,7 @@ paths: - name - description examples: - default: &319 + default: &322 value: - name: add_assignee description: Assign or remove a user @@ -33637,7 +33816,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *174 + - *177 - *17 - *19 responses: @@ -33647,7 +33826,7 @@ paths: application/json: schema: type: array - items: &256 + items: &259 title: Org Hook description: Org Hook type: object @@ -33756,7 +33935,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *174 + - *177 requestBody: required: true content: @@ -33816,9 +33995,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *259 examples: - default: &257 + default: &260 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -33862,8 +34041,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *174 - - &258 + - *177 + - &261 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. @@ -33876,9 +34055,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *259 examples: - default: *257 + default: *260 '404': *6 x-github: githubCloudOnly: false @@ -33899,8 +34078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *174 - - *258 + - *177 + - *261 requestBody: required: false content: @@ -33945,7 +34124,7 @@ paths: description: Response content: application/json: - schema: *256 + schema: *259 examples: default: value: @@ -33984,8 +34163,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *174 - - *258 + - *177 + - *261 responses: '204': description: Response @@ -34010,8 +34189,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: - - *174 - - *258 + - *177 + - *261 responses: '200': description: Response @@ -34039,8 +34218,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: - - *174 - - *258 + - *177 + - *261 requestBody: required: false content: @@ -34088,10 +34267,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *174 - - *258 + - *177 + - *261 - *17 - - *259 + - *262 responses: '200': description: Response @@ -34099,9 +34278,9 @@ paths: application/json: schema: type: array - items: *260 + items: *263 examples: - default: *261 + default: *264 '400': *14 '422': *15 x-github: @@ -34124,17 +34303,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: - - *174 - - *258 + - *177 + - *261 - *16 responses: '200': description: Response content: application/json: - schema: *262 + schema: *265 examples: - default: *263 + default: *266 '400': *14 '422': *15 x-github: @@ -34157,11 +34336,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: - - *174 - - *258 + - *177 + - *261 - *16 responses: - '202': *93 + '202': *95 '400': *14 '422': *15 x-github: @@ -34184,8 +34363,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *174 - - *258 + - *177 + - *261 responses: '204': description: Response @@ -34207,8 +34386,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *174 - - &268 + - *177 + - &271 name: actor_type in: path description: The type of the actor @@ -34221,14 +34400,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &269 + - &272 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &264 + - &267 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`.' @@ -34236,7 +34415,7 @@ paths: required: true schema: type: string - - &265 + - &268 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) @@ -34247,7 +34426,7 @@ paths: type: string - *19 - *17 - - *84 + - *86 - name: sort description: The property to sort the results by. in: query @@ -34329,13 +34508,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *174 - - *264 - - *265 + - *177 + - *267 + - *268 - *19 - *17 - - *84 - - &274 + - *86 + - &277 name: sort description: The property to sort the results by. in: query @@ -34413,15 +34592,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *174 - - *264 - - *265 + - *177 + - *267 + - *268 responses: '200': description: Response content: application/json: - schema: &266 + schema: &269 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -34437,7 +34616,7 @@ paths: type: integer format: int64 examples: - default: &267 + default: &270 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -34457,24 +34636,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *174 - - &270 + - *177 + - &273 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *264 - - *265 + - *267 + - *268 responses: '200': description: Response content: application/json: - schema: *266 + schema: *269 examples: - default: *267 + default: *270 x-github: enabledForGitHubApps: true category: orgs @@ -34492,19 +34671,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *174 - - *264 - - *265 + - *177 + - *267 - *268 - - *269 + - *271 + - *272 responses: '200': description: Response content: application/json: - schema: *266 + schema: *269 examples: - default: *267 + default: *270 x-github: enabledForGitHubApps: true category: orgs @@ -34521,10 +34700,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *174 - - *264 - - *265 - - &271 + - *177 + - *267 + - *268 + - &274 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -34537,7 +34716,7 @@ paths: description: Response content: application/json: - schema: &272 + schema: &275 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -34553,7 +34732,7 @@ paths: type: integer format: int64 examples: - default: &273 + default: &276 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -34589,19 +34768,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *174 - - *270 - - *264 - - *265 - - *271 + - *177 + - *273 + - *267 + - *268 + - *274 responses: '200': description: Response content: application/json: - schema: *272 + schema: *275 examples: - default: *273 + default: *276 x-github: enabledForGitHubApps: true category: orgs @@ -34618,20 +34797,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *174 - - *268 - - *269 - - *264 - - *265 + - *177 - *271 + - *272 + - *267 + - *268 + - *274 responses: '200': description: Response content: application/json: - schema: *272 + schema: *275 examples: - default: *273 + default: *276 x-github: enabledForGitHubApps: true category: orgs @@ -34648,14 +34827,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *174 - - *270 - - *264 - - *265 + - *177 + - *273 + - *267 + - *268 - *19 - *17 - - *84 - - *274 + - *86 + - *277 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -34728,7 +34907,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: - - *174 + - *177 responses: '200': description: Response @@ -34736,7 +34915,7 @@ paths: application/json: schema: *22 examples: - default: &546 + default: &551 value: id: 1 account: @@ -34805,7 +34984,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *174 + - *177 - *17 - *19 responses: @@ -34894,7 +35073,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *174 + - *177 responses: '200': description: Response @@ -34902,12 +35081,12 @@ paths: application/json: schema: anyOf: - - &276 + - &279 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &275 + limit: &278 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -34932,7 +35111,7 @@ paths: properties: {} additionalProperties: false examples: - default: &277 + default: &280 value: limit: collaborators_only origin: organization @@ -34956,18 +35135,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *174 + - *177 requestBody: required: true content: application/json: - schema: &547 + schema: &552 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *275 + limit: *278 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -34991,9 +35170,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *279 examples: - default: *277 + default: *280 '422': *15 x-github: githubCloudOnly: false @@ -35011,7 +35190,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *174 + - *177 responses: '204': description: Response @@ -35037,7 +35216,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *174 + - *177 - *17 - *19 - name: role @@ -35071,9 +35250,9 @@ paths: application/json: schema: type: array - items: *278 + items: *281 examples: - default: *279 + default: *282 headers: Link: *39 '404': *6 @@ -35097,7 +35276,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *174 + - *177 requestBody: required: false content: @@ -35151,7 +35330,7 @@ paths: description: Response content: application/json: - schema: *278 + schema: *281 examples: default: value: @@ -35207,8 +35386,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *174 - - &280 + - *177 + - &283 name: invitation_id description: The unique identifier of the invitation. in: path @@ -35241,8 +35420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *174 - - *280 + - *177 + - *283 - *17 - *19 responses: @@ -35252,9 +35431,9 @@ paths: application/json: schema: type: array - items: *281 + items: *284 examples: - default: &296 + default: &299 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -35299,7 +35478,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: - - *174 + - *177 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -35329,7 +35508,7 @@ paths: - closed - all default: open - - *282 + - *285 - name: sort description: What to sort results by. in: query @@ -35341,8 +35520,8 @@ paths: - updated - comments default: created - - *84 - - *141 + - *86 + - *144 - *17 - *19 responses: @@ -35352,9 +35531,9 @@ paths: application/json: schema: type: array - items: *151 + items: *154 examples: - default: *283 + default: *286 headers: Link: *39 '404': *6 @@ -35376,7 +35555,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *174 + - *177 - 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) @@ -35412,7 +35591,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 headers: Link: *39 '422': *15 @@ -35432,8 +35611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *174 - - *216 + - *177 + - *219 responses: '204': description: Response if requester is an organization member and user is @@ -35464,8 +35643,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *174 - - *216 + - *177 + - *219 responses: '204': description: Response @@ -35491,8 +35670,8 @@ paths: parameters: - *17 - *19 - - *174 - - *216 + - *177 + - *219 responses: '200': description: Response @@ -35508,11 +35687,11 @@ paths: type: integer codespaces: type: array - items: *285 + items: *288 examples: - default: *286 + default: *289 '304': *37 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -35535,9 +35714,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *174 - - *216 - - &287 + - *177 + - *219 + - &290 name: codespace_name in: path required: true @@ -35545,9 +35724,9 @@ paths: schema: type: string responses: - '202': *93 + '202': *95 '304': *37 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -35570,17 +35749,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: - - *174 - - *216 - - *287 + - *177 + - *219 + - *290 responses: '200': description: Response content: application/json: - schema: *285 + schema: *288 examples: - default: &473 + default: &478 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -35722,7 +35901,7 @@ paths: recent_folders: [] template: '304': *37 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -35753,14 +35932,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: - - *174 - - *216 + - *177 + - *219 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *234 + schema: *237 examples: default: value: @@ -35803,7 +35982,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -35828,14 +36007,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *174 - - *216 + - *177 + - *219 responses: '200': description: Response content: application/json: - schema: &288 + schema: &291 title: Org Membership description: Org Membership type: object @@ -35887,7 +36066,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &289 + response-if-user-has-an-active-admin-membership-with-organization: &292 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -35955,8 +36134,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *174 - - *216 + - *177 + - *219 requestBody: required: false content: @@ -35984,9 +36163,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: - response-if-user-already-had-membership-with-organization: *289 + response-if-user-already-had-membership-with-organization: *292 '422': *15 '403': *29 x-github: @@ -36007,8 +36186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *174 - - *216 + - *177 + - *219 responses: '204': description: Response @@ -36033,7 +36212,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *174 + - *177 - *17 - *19 - name: exclude @@ -36054,7 +36233,7 @@ paths: application/json: schema: type: array - items: &290 + items: &293 title: Migration description: A migration. type: object @@ -36307,7 +36486,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *174 + - *177 requestBody: required: true content: @@ -36383,7 +36562,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *293 examples: default: value: @@ -36561,8 +36740,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *174 - - &291 + - *177 + - &294 name: migration_id description: The unique identifier of the migration. in: path @@ -36589,7 +36768,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *290 + schema: *293 examples: default: value: @@ -36758,8 +36937,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *174 - - *291 + - *177 + - *294 responses: '302': description: Response @@ -36780,8 +36959,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *174 - - *291 + - *177 + - *294 responses: '204': description: Response @@ -36804,9 +36983,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *174 - - *291 - - &717 + - *177 + - *294 + - &722 name: repo_name description: repo_name parameter in: path @@ -36833,8 +37012,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *174 - - *291 + - *177 + - *294 - *17 - *19 responses: @@ -36844,9 +37023,9 @@ paths: application/json: schema: type: array - items: *194 + items: *197 examples: - default: &303 + default: &306 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -36985,7 +37164,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: - - *174 + - *177 responses: '200': description: Response @@ -37039,7 +37218,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: - - *174 + - *177 responses: '200': description: Response - list of organization roles @@ -37055,7 +37234,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &292 + items: &295 title: Organization Role description: Organization roles type: object @@ -37215,7 +37394,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *174 + - *177 requestBody: required: true content: @@ -37262,7 +37441,7 @@ paths: description: Response content: application/json: - schema: *292 + schema: *295 examples: default: value: @@ -37291,7 +37470,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *15 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -37313,8 +37492,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: - - *174 - - *293 + - *177 + - *296 responses: '204': description: Response @@ -37339,9 +37518,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: - - *174 - - *293 - - *239 + - *177 + - *296 + - *242 responses: '204': description: Response @@ -37370,9 +37549,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: - - *174 - - *293 - - *239 + - *177 + - *296 + - *242 responses: '204': description: Response @@ -37397,8 +37576,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: - - *174 - - *216 + - *177 + - *219 responses: '204': description: Response @@ -37423,9 +37602,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: - - *174 - - *216 - - *239 + - *177 + - *219 + - *242 responses: '204': description: Response @@ -37455,9 +37634,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: - - *174 - - *216 - - *239 + - *177 + - *219 + - *242 responses: '204': description: Response @@ -37485,14 +37664,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *174 - - *239 + - *177 + - *242 responses: '200': description: Response content: application/json: - schema: *292 + schema: *295 examples: default: value: @@ -37549,8 +37728,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *174 - - *239 + - *177 + - *242 requestBody: required: true content: @@ -37589,7 +37768,7 @@ paths: description: Response content: application/json: - schema: *292 + schema: *295 examples: default: value: @@ -37617,7 +37796,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *15 - '409': *92 + '409': *94 '404': *6 x-github: githubCloudOnly: true @@ -37642,8 +37821,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *174 - - *239 + - *177 + - *242 responses: '204': description: Response @@ -37668,8 +37847,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: - - *174 - - *239 + - *177 + - *242 - *17 - *19 responses: @@ -37747,8 +37926,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *294 - required: *295 + properties: *297 + required: *298 nullable: true required: - id @@ -37763,7 +37942,7 @@ paths: - slug - parent examples: - default: *296 + default: *299 headers: Link: *39 '404': @@ -37792,8 +37971,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: - - *174 - - *239 + - *177 + - *242 - *17 - *19 responses: @@ -37821,13 +38000,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &333 + items: &338 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *294 - required: *295 + properties: *297 + required: *298 name: nullable: true type: string @@ -37922,7 +38101,7 @@ paths: - type - url examples: - default: *284 + default: *287 headers: Link: *39 '404': @@ -37946,7 +38125,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: - - *174 + - *177 - 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) @@ -37970,7 +38149,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 headers: Link: *39 x-github: @@ -37995,8 +38174,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: - - *174 - - *216 + - *177 + - *219 requestBody: required: false content: @@ -38053,8 +38232,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: - - *174 - - *216 + - *177 + - *219 responses: '204': description: Response @@ -38111,8 +38290,8 @@ paths: - docker - nuget - container - - *174 - - &719 + - *177 + - &724 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -38148,12 +38327,12 @@ paths: application/json: schema: type: array - items: *297 + items: *300 examples: - default: *298 + default: *301 '403': *29 '401': *25 - '400': &721 + '400': &726 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -38175,7 +38354,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &299 + - &302 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 @@ -38193,20 +38372,20 @@ paths: - docker - nuget - container - - &300 + - &303 name: package_name description: The name of the package. in: path required: true schema: type: string - - *174 + - *177 responses: '200': description: Response content: application/json: - schema: *297 + schema: *300 examples: default: value: @@ -38258,9 +38437,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *299 - - *300 - - *174 + - *302 + - *303 + - *177 responses: '204': description: Response @@ -38292,9 +38471,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *299 - - *300 - - *174 + - *302 + - *303 + - *177 - name: token description: package token schema: @@ -38326,9 +38505,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: - - *299 - - *300 - - *174 + - *302 + - *303 + - *177 - *19 - *17 - name: state @@ -38348,7 +38527,7 @@ paths: application/json: schema: type: array - items: &301 + items: &304 title: Package Version description: A version of a software package type: object @@ -38473,10 +38652,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: - - *299 - - *300 - - *174 - - &302 + - *302 + - *303 + - *177 + - &305 name: package_version_id description: Unique identifier of the package version. in: path @@ -38488,7 +38667,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *304 examples: default: value: @@ -38524,10 +38703,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *299 - - *300 - - *174 - *302 + - *303 + - *177 + - *305 responses: '204': description: Response @@ -38559,10 +38738,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *299 - - *300 - - *174 - *302 + - *303 + - *177 + - *305 responses: '204': description: Response @@ -38589,10 +38768,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: - - *174 + - *177 - *17 - *19 - - &304 + - &307 name: sort description: The property by which to sort the results. in: query @@ -38602,8 +38781,8 @@ paths: enum: - created_at default: created_at - - *84 - - &305 + - *86 + - &308 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -38614,7 +38793,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &306 + - &309 name: repository description: The name of the repository to use to filter the results. in: query @@ -38622,7 +38801,7 @@ paths: schema: type: string example: Hello-World - - &307 + - &310 name: permission description: The permission to use to filter the results. in: query @@ -38630,7 +38809,7 @@ paths: schema: type: string example: issues_read - - &308 + - &311 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) @@ -38640,7 +38819,7 @@ paths: schema: type: string format: date-time - - &309 + - &312 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) @@ -38651,7 +38830,7 @@ paths: type: string format: date-time responses: - '500': *97 + '500': *99 '422': *15 '404': *6 '403': *29 @@ -38803,7 +38982,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: - - *174 + - *177 requestBody: required: true content: @@ -38844,11 +39023,11 @@ paths: action: deny reason: Access is too broad. responses: - '500': *97 + '500': *99 '422': *15 '404': *6 '403': *29 - '202': *93 + '202': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38869,7 +39048,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: - - *174 + - *177 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -38905,11 +39084,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *97 + '500': *99 '422': *15 '404': *6 '403': *29 - '204': *116 + '204': *118 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38930,7 +39109,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: - - *174 + - *177 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -38941,7 +39120,7 @@ paths: - *17 - *19 responses: - '500': *97 + '500': *99 '404': *6 '403': *29 '200': @@ -38950,9 +39129,9 @@ paths: application/json: schema: type: array - items: *194 + items: *197 examples: - default: *303 + default: *306 headers: Link: *39 x-github: @@ -38975,18 +39154,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: - - *174 + - *177 - *17 - *19 - - *304 - - *84 - - *305 - - *306 - *307 + - *86 - *308 - *309 + - *310 + - *311 + - *312 responses: - '500': *97 + '500': *99 '422': *15 '404': *6 '403': *29 @@ -39133,7 +39312,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: - - *174 + - *177 requestBody: required: true content: @@ -39168,9 +39347,9 @@ paths: - 1296269 - 1296280 responses: - '500': *97 + '500': *99 '404': *6 - '202': *93 + '202': *95 '403': *29 '422': *15 x-github: @@ -39193,7 +39372,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: - - *174 + - *177 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -39221,9 +39400,9 @@ paths: value: action: revoke responses: - '500': *97 + '500': *99 '404': *6 - '204': *116 + '204': *118 '403': *29 '422': *15 x-github: @@ -39245,7 +39424,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: - - *174 + - *177 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -39255,7 +39434,7 @@ paths: - *17 - *19 responses: - '500': *97 + '500': *99 '404': *6 '403': *29 '200': @@ -39264,9 +39443,9 @@ paths: application/json: schema: type: array - items: *194 + items: *197 examples: - default: *303 + default: *306 headers: Link: *39 x-github: @@ -39292,7 +39471,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: - - *174 + - *177 - *17 - *19 responses: @@ -39310,7 +39489,7 @@ paths: type: integer configurations: type: array - items: &310 + items: &313 title: Organization private registry description: Private registry configuration for an organization type: object @@ -39386,7 +39565,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: - - *174 + - *177 requestBody: required: true content: @@ -39516,7 +39695,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &311 + org-private-registry-with-selected-visibility: &314 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -39559,7 +39738,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: - - *174 + - *177 responses: '200': description: Response @@ -39609,16 +39788,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: - - *174 - - *204 + - *177 + - *207 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *310 + schema: *313 examples: - default: *311 + default: *314 '404': *6 x-github: githubCloudOnly: false @@ -39641,8 +39820,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: - - *174 - - *204 + - *177 + - *207 requestBody: required: true content: @@ -39721,8 +39900,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: - - *174 - - *204 + - *177 + - *207 responses: '204': description: Response @@ -39747,7 +39926,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-organization-projects parameters: - - *174 + - *177 - name: state description: Indicates the state of the projects to return. in: query @@ -39768,7 +39947,7 @@ paths: application/json: schema: type: array - items: &312 + items: &315 title: Project description: Projects are a way to organize columns and cards of work. @@ -39915,7 +40094,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-an-organization-project parameters: - - *174 + - *177 requestBody: required: true content: @@ -39941,7 +40120,7 @@ paths: description: Response content: application/json: - schema: *312 + schema: *315 examples: default: value: @@ -39979,7 +40158,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &376 + '410': &381 description: Gone content: application/json: @@ -40006,7 +40185,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: - - *174 + - *177 responses: '200': description: Response @@ -40014,9 +40193,9 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: - default: *113 + default: *115 '403': *29 '404': *6 x-github: @@ -40039,7 +40218,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: - - *174 + - *177 requestBody: required: true content: @@ -40050,7 +40229,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *112 + items: *114 minItems: 1 maxItems: 100 required: @@ -40080,9 +40259,9 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: - default: *113 + default: *115 '403': *29 '404': *6 x-github: @@ -40103,16 +40282,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: - - *174 - - *114 + - *177 + - *116 responses: '200': description: Response content: application/json: - schema: *112 + schema: *114 examples: - default: *115 + default: *117 '403': *29 '404': *6 x-github: @@ -40135,13 +40314,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: - - *174 - - *114 + - *177 + - *116 requestBody: required: true content: application/json: - schema: *313 + schema: *316 examples: default: value: @@ -40157,9 +40336,9 @@ paths: description: Response content: application/json: - schema: *112 + schema: *114 examples: - default: *115 + default: *117 '403': *29 '404': *6 x-github: @@ -40182,10 +40361,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: - - *174 - - *114 + - *177 + - *116 responses: - '204': *116 + '204': *118 '403': *29 '404': *6 x-github: @@ -40206,7 +40385,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: - - *174 + - *177 - *17 - *19 - name: repository_query @@ -40244,7 +40423,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &314 + items: &317 title: Custom Property Value description: Custom property name and associated value type: object @@ -40311,7 +40490,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: - - *174 + - *177 requestBody: required: true content: @@ -40331,7 +40510,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *314 + items: *317 required: - repository_names - properties @@ -40372,7 +40551,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *174 + - *177 - *17 - *19 responses: @@ -40384,7 +40563,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 headers: Link: *39 x-github: @@ -40403,8 +40582,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: - - *174 - - *216 + - *177 + - *219 responses: '204': description: Response if user is a public member @@ -40428,8 +40607,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: - - *174 - - *216 + - *177 + - *219 responses: '204': description: Response @@ -40450,8 +40629,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: - - *174 - - *216 + - *177 + - *219 responses: '204': description: Response @@ -40475,7 +40654,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *174 + - *177 - 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 @@ -40522,9 +40701,9 @@ paths: application/json: schema: type: array - items: *194 + items: *197 examples: - default: *303 + default: *306 headers: Link: *39 x-github: @@ -40545,7 +40724,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *174 + - *177 requestBody: required: true content: @@ -40727,7 +40906,7 @@ paths: description: Response content: application/json: - schema: &378 + schema: &383 title: Full Repository description: Full Repository type: object @@ -41004,8 +41183,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *315 - required: *316 + properties: *318 + required: *319 nullable: true temp_clone_token: type: string @@ -41092,8 +41271,8 @@ paths: title: License Simple description: License Simple type: object - properties: *152 - required: *153 + properties: *155 + required: *156 nullable: true organization: title: Simple User @@ -41120,7 +41299,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &495 + properties: &500 url: type: string format: uri @@ -41136,12 +41315,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &496 + required: &501 - url - key - name - html_url - security_and_analysis: *317 + security_and_analysis: *320 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -41225,7 +41404,7 @@ paths: - network_count - subscribers_count examples: - default: &380 + default: &385 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -41743,7 +41922,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: - - *174 + - *177 responses: '200': description: Response @@ -41751,9 +41930,9 @@ paths: application/json: schema: type: array - items: *318 + items: *321 examples: - default: *319 + default: *322 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -41775,10 +41954,10 @@ paths: category: orgs subcategory: rules parameters: - - *174 + - *177 - *17 - *19 - - &631 + - &636 name: targets description: | A comma-separated list of rule targets to filter by. @@ -41796,7 +41975,7 @@ paths: application/json: schema: type: array - items: *126 + items: *128 examples: default: value: @@ -41827,7 +42006,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *97 + '500': *99 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -41843,7 +42022,7 @@ paths: category: orgs subcategory: rules parameters: - - *174 + - *177 requestBody: description: Request body required: true @@ -41864,16 +42043,16 @@ paths: - push - repository default: branch - enforcement: *123 + enforcement: *125 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *124 - conditions: *320 + items: *126 + conditions: *323 rules: type: array description: An array of rules within the ruleset. - items: *125 + items: *127 required: - name - enforcement @@ -41911,9 +42090,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *128 examples: - default: &322 + default: &325 value: id: 21 name: super cool ruleset @@ -41953,7 +42132,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *97 + '500': *99 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -41967,8 +42146,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *174 - - &632 + - *177 + - &637 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 @@ -41978,16 +42157,16 @@ paths: schema: type: string x-multi-segment: true - - *321 - - *219 - - &633 + - *324 + - *222 + - &638 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 - - &634 + - &639 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -42007,7 +42186,7 @@ paths: description: Response content: application/json: - schema: &635 + schema: &640 title: Rule Suites description: Response type: array @@ -42062,7 +42241,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &636 + default: &641 value: - id: 21 actor_id: 12 @@ -42086,7 +42265,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *97 + '500': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42105,8 +42284,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *174 - - &637 + - *177 + - &642 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -42122,7 +42301,7 @@ paths: description: Response content: application/json: - schema: &638 + schema: &643 title: Rule Suite description: Response type: object @@ -42221,7 +42400,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &639 + default: &644 value: id: 21 actor_id: 12 @@ -42256,7 +42435,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *97 + '500': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42282,7 +42461,7 @@ paths: category: orgs subcategory: rules parameters: - - *174 + - *177 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42294,11 +42473,11 @@ paths: description: Response content: application/json: - schema: *126 + schema: *128 examples: - default: *322 + default: *325 '404': *6 - '500': *97 + '500': *99 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -42314,7 +42493,7 @@ paths: category: orgs subcategory: rules parameters: - - *174 + - *177 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42340,16 +42519,16 @@ paths: - tag - push - repository - enforcement: *123 + enforcement: *125 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *124 - conditions: *320 + items: *126 + conditions: *323 rules: description: An array of rules within the ruleset. type: array - items: *125 + items: *127 examples: default: value: @@ -42384,11 +42563,11 @@ paths: description: Response content: application/json: - schema: *126 + schema: *128 examples: - default: *322 + default: *325 '404': *6 - '500': *97 + '500': *99 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -42404,7 +42583,7 @@ paths: category: orgs subcategory: rules parameters: - - *174 + - *177 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42415,7 +42594,119 @@ paths: '204': description: Response '404': *6 - '500': *97 + '500': *99 + "/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: + - *177 + - *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: *131 + examples: + default: *326 + '404': *6 + '500': *99 + 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: + - *177 + - 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: *327 + 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': *99 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: rules "/orgs/{org}/secret-scanning/alerts": get: summary: List secret scanning alerts for an organization @@ -42432,15 +42723,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: - - *174 - - *323 - - *324 - - *325 - - *326 - - *84 + - *177 + - *328 + - *329 + - *330 + - *331 + - *86 - *19 - *17 - - &641 + - &646 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 @@ -42450,7 +42741,7 @@ paths: required: false schema: type: string - - &642 + - &647 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 @@ -42460,9 +42751,9 @@ paths: required: false schema: type: string - - *327 - - *328 - - *329 + - *332 + - *333 + - *334 responses: '200': description: Response @@ -42470,13 +42761,13 @@ paths: application/json: schema: type: array - items: *330 + items: *335 examples: - default: *331 + default: *336 headers: Link: *39 '404': *6 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42498,8 +42789,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: - - *174 - - *84 + - *177 + - *86 - name: sort description: The property to sort the results by. in: query @@ -42511,8 +42802,8 @@ paths: - updated - published default: created - - *82 - - *83 + - *84 + - *85 - 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)." @@ -42542,7 +42833,7 @@ paths: application/json: schema: type: array - items: &649 + items: &654 description: A repository security advisory. type: object properties: @@ -42729,7 +43020,7 @@ paths: required: - vector_string - score - cvss_severities: *100 + cvss_severities: *102 cwes: type: array nullable: true @@ -42762,7 +43053,7 @@ paths: login: type: string description: The username of the user credited. - type: *332 + type: *337 credits_detailed: type: array nullable: true @@ -42772,7 +43063,7 @@ paths: type: object properties: user: *4 - type: *332 + type: *337 state: type: string description: The state of the user's acceptance of the @@ -42796,14 +43087,14 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *281 + items: *284 private_fork: readOnly: true nullable: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *94 + - *96 required: - ghsa_id - cve_id @@ -42833,7 +43124,7 @@ paths: - private_fork additionalProperties: false examples: - default: &650 + default: &655 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -43212,7 +43503,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *174 + - *177 responses: '200': description: Response @@ -43220,9 +43511,9 @@ paths: application/json: schema: type: array - items: *333 + items: *338 examples: - default: *296 + default: *299 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43245,8 +43536,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *174 - - *293 + - *177 + - *296 responses: '204': description: Response @@ -43271,8 +43562,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *174 - - *293 + - *177 + - *296 responses: '204': description: Response @@ -43301,15 +43592,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: - - *174 + - *177 responses: '200': description: Response content: application/json: - schema: *334 + schema: *339 examples: - default: *335 + default: *340 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -43333,7 +43624,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: - - *174 + - *177 - *17 - *19 responses: @@ -43341,9 +43632,9 @@ paths: description: Success content: application/json: - schema: *336 + schema: *341 examples: - default: *337 + default: *342 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -43365,15 +43656,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: - - *174 + - *177 responses: '200': description: Response content: application/json: - schema: *338 + schema: *343 examples: - default: *339 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -43395,15 +43686,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: - - *174 + - *177 responses: '200': description: Response content: application/json: - schema: *340 + schema: *345 examples: - default: *341 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -43423,7 +43714,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: - - *174 + - *177 - *17 - *19 responses: @@ -43441,9 +43732,9 @@ paths: type: integer network_configurations: type: array - items: *109 + items: *111 examples: - default: *342 + default: *347 headers: Link: *39 x-github: @@ -43464,7 +43755,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: - - *174 + - *177 requestBody: required: true content: @@ -43506,9 +43797,9 @@ paths: description: Response content: application/json: - schema: *109 + schema: *111 examples: - default: *110 + default: *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43528,16 +43819,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: - - *174 - - *111 + - *177 + - *113 responses: '200': description: Response content: application/json: - schema: *109 + schema: *111 examples: - default: *110 + default: *112 headers: Link: *39 x-github: @@ -43558,8 +43849,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: - - *174 - - *111 + - *177 + - *113 requestBody: required: true content: @@ -43598,9 +43889,9 @@ paths: description: Response content: application/json: - schema: *109 + schema: *111 examples: - default: *110 + default: *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43619,8 +43910,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: - - *174 - - *111 + - *177 + - *113 responses: '204': description: Response @@ -43643,16 +43934,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: - - *174 - - *343 + - *177 + - *348 responses: '200': description: Response content: application/json: - schema: *344 + schema: *349 examples: - default: *345 + default: *350 headers: Link: *39 x-github: @@ -43671,7 +43962,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: - - *174 + - *177 - *17 - name: page description: Page token @@ -43690,7 +43981,7 @@ paths: description: Response content: application/json: - schema: &367 + schema: &372 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -43736,7 +44027,7 @@ paths: type: string nullable: true examples: - default: &368 + default: &373 value: groups: - group_id: '123' @@ -43781,8 +44072,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: - - *174 - - *293 + - *177 + - *296 - 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`). @@ -43814,13 +44105,13 @@ paths: application/json: schema: type: array - items: *131 + items: *134 examples: - default: *132 - '500': *97 + default: *135 + '500': *99 '403': *29 '404': *6 - '422': *133 + '422': *136 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43854,8 +44145,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: - - *174 - - *293 + - *177 + - *296 - 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`). @@ -43887,10 +44178,10 @@ paths: application/json: schema: type: array - items: *134 + items: *137 examples: - default: *236 - '500': *97 + default: *239 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -43911,7 +44202,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *174 + - *177 - *17 - *19 responses: @@ -43921,9 +44212,9 @@ paths: application/json: schema: type: array - items: *281 + items: *284 examples: - default: *296 + default: *299 headers: Link: *39 '403': *29 @@ -43945,7 +44236,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *174 + - *177 requestBody: required: true content: @@ -44017,7 +44308,7 @@ paths: description: Response content: application/json: - schema: &346 + schema: &351 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -44080,8 +44371,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *294 - required: *295 + properties: *297 + required: *298 nullable: true members_count: type: integer @@ -44327,7 +44618,7 @@ paths: - repos_count - organization examples: - default: &347 + default: &352 value: id: 1 node_id: MDQ6VGVhbTE= @@ -44397,16 +44688,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *174 - - *293 + - *177 + - *296 responses: '200': description: Response content: application/json: - schema: *346 + schema: *351 examples: - default: *347 + default: *352 '404': *6 x-github: githubCloudOnly: false @@ -44427,8 +44718,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *174 - - *293 + - *177 + - *296 requestBody: required: false content: @@ -44490,16 +44781,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *346 + schema: *351 examples: - default: *347 + default: *352 '201': description: Response content: application/json: - schema: *346 + schema: *351 examples: - default: *347 + default: *352 '404': *6 '422': *15 '403': *29 @@ -44524,8 +44815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *174 - - *293 + - *177 + - *296 responses: '204': description: Response @@ -44551,9 +44842,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *174 - - *293 - - *84 + - *177 + - *296 + - *86 - *17 - *19 - name: pinned @@ -44569,7 +44860,7 @@ paths: application/json: schema: type: array - items: &348 + items: &353 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -44648,7 +44939,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *139 + reactions: *142 required: - author - body @@ -44668,7 +44959,7 @@ paths: - updated_at - url examples: - default: &690 + default: &695 value: - author: login: octocat @@ -44742,8 +45033,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *174 - - *293 + - *177 + - *296 requestBody: required: true content: @@ -44777,9 +45068,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *353 examples: - default: &349 + default: &354 value: author: login: octocat @@ -44851,9 +45142,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *174 - - *293 - - &350 + - *177 + - *296 + - &355 name: discussion_number description: The number that identifies the discussion. in: path @@ -44865,9 +45156,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *353 examples: - default: *349 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44889,9 +45180,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *174 - - *293 - - *350 + - *177 + - *296 + - *355 requestBody: required: false content: @@ -44914,9 +45205,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *353 examples: - default: &691 + default: &696 value: author: login: octocat @@ -44986,9 +45277,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *174 - - *293 - - *350 + - *177 + - *296 + - *355 responses: '204': description: Response @@ -45014,10 +45305,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *174 - - *293 - - *350 - - *84 + - *177 + - *296 + - *355 + - *86 - *17 - *19 responses: @@ -45027,7 +45318,7 @@ paths: application/json: schema: type: array - items: &351 + items: &356 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -45084,7 +45375,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *139 + reactions: *142 required: - author - body @@ -45099,7 +45390,7 @@ paths: - updated_at - url examples: - default: &692 + default: &697 value: - author: login: octocat @@ -45167,9 +45458,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *174 - - *293 - - *350 + - *177 + - *296 + - *355 requestBody: required: true content: @@ -45191,9 +45482,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *356 examples: - default: &352 + default: &357 value: author: login: octocat @@ -45259,10 +45550,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *174 - - *293 - - *350 - - &353 + - *177 + - *296 + - *355 + - &358 name: comment_number description: The number that identifies the comment. in: path @@ -45274,9 +45565,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *356 examples: - default: *352 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45298,10 +45589,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *174 - - *293 - - *350 - - *353 + - *177 + - *296 + - *355 + - *358 requestBody: required: true content: @@ -45323,9 +45614,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *356 examples: - default: &693 + default: &698 value: author: login: octocat @@ -45389,10 +45680,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *174 - - *293 - - *350 - - *353 + - *177 + - *296 + - *355 + - *358 responses: '204': description: Response @@ -45418,10 +45709,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: - - *174 - - *293 - - *350 - - *353 + - *177 + - *296 + - *355 + - *358 - 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. @@ -45447,7 +45738,7 @@ paths: application/json: schema: type: array - items: &354 + items: &359 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -45490,7 +45781,7 @@ paths: - content - created_at examples: - default: &356 + default: &361 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45540,10 +45831,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: - - *174 - - *293 - - *350 - - *353 + - *177 + - *296 + - *355 + - *358 requestBody: required: true content: @@ -45576,9 +45867,9 @@ paths: team discussion comment content: application/json: - schema: *354 + schema: *359 examples: - default: &355 + default: &360 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45607,9 +45898,9 @@ paths: description: Response content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45632,11 +45923,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *174 - - *293 - - *350 - - *353 - - &357 + - *177 + - *296 + - *355 + - *358 + - &362 name: reaction_id description: The unique identifier of the reaction. in: path @@ -45668,9 +45959,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *174 - - *293 - - *350 + - *177 + - *296 + - *355 - 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. @@ -45696,9 +45987,9 @@ paths: application/json: schema: type: array - items: *354 + items: *359 examples: - default: *356 + default: *361 headers: Link: *39 x-github: @@ -45724,9 +46015,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *174 - - *293 - - *350 + - *177 + - *296 + - *355 requestBody: required: true content: @@ -45758,16 +46049,16 @@ paths: description: Response content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 '201': description: Response content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45790,10 +46081,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *174 - - *293 - - *350 - - *357 + - *177 + - *296 + - *355 + - *362 responses: '204': description: Response @@ -45816,16 +46107,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: - - *174 - - *293 + - *177 + - *296 responses: '200': description: Response content: application/json: - schema: *358 + schema: *363 examples: - default: *359 + default: *364 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -45844,8 +46135,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: - - *174 - - *293 + - *177 + - *296 requestBody: required: true content: @@ -45868,9 +46159,9 @@ paths: description: Response content: application/json: - schema: *360 + schema: *365 examples: - default: *361 + default: *366 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -45889,8 +46180,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: - - *174 - - *293 + - *177 + - *296 responses: '204': description: Response @@ -45914,8 +46205,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *174 - - *293 + - *177 + - *296 - *17 - *19 responses: @@ -45925,9 +46216,9 @@ paths: application/json: schema: type: array - items: *278 + items: *281 examples: - default: *279 + default: *282 headers: Link: *39 x-github: @@ -45949,8 +46240,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *174 - - *293 + - *177 + - *296 - name: role description: Filters members returned by their role in the team. in: query @@ -45973,7 +46264,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 headers: Link: *39 x-github: @@ -46003,15 +46294,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *174 - - *293 - - *216 + - *177 + - *296 + - *219 responses: '200': description: Response content: application/json: - schema: &362 + schema: &367 title: Team Membership description: Team Membership type: object @@ -46038,7 +46329,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &694 + response-if-user-is-a-team-maintainer: &699 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -46074,9 +46365,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: - - *174 - - *293 - - *216 + - *177 + - *296 + - *219 requestBody: required: false content: @@ -46101,9 +46392,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *367 examples: - response-if-users-membership-with-team-is-now-pending: &695 + response-if-users-membership-with-team-is-now-pending: &700 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -46138,9 +46429,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *174 - - *293 - - *216 + - *177 + - *296 + - *219 responses: '204': description: Response @@ -46166,8 +46457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *174 - - *293 + - *177 + - *296 - *17 - *19 responses: @@ -46177,7 +46468,7 @@ paths: application/json: schema: type: array - items: &363 + items: &368 title: Team Project description: A team's access to a project. type: object @@ -46245,7 +46536,7 @@ paths: - updated_at - permissions examples: - default: &696 + default: &701 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -46306,9 +46597,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *174 - - *293 - - &364 + - *177 + - *296 + - &369 name: project_id description: The unique identifier of the project. in: path @@ -46320,9 +46611,9 @@ paths: description: Response content: application/json: - schema: *363 + schema: *368 examples: - default: &697 + default: &702 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -46382,9 +46673,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *174 - - *293 - - *364 + - *177 + - *296 + - *369 requestBody: required: false content: @@ -46448,9 +46739,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *174 - - *293 - - *364 + - *177 + - *296 + - *369 responses: '204': description: Response @@ -46474,8 +46765,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *174 - - *293 + - *177 + - *296 - *17 - *19 responses: @@ -46485,9 +46776,9 @@ paths: application/json: schema: type: array - items: *194 + items: *197 examples: - default: *303 + default: *306 headers: Link: *39 x-github: @@ -46516,16 +46807,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *174 - - *293 - - *365 - - *366 + - *177 + - *296 + - *370 + - *371 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &698 + schema: &703 title: Team Repository description: A team's access to a repository. type: object @@ -46548,8 +46839,8 @@ paths: title: License Simple description: License Simple type: object - properties: *152 - required: *153 + properties: *155 + required: *156 nullable: true forks: type: integer @@ -47094,10 +47385,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *174 - - *293 - - *365 - - *366 + - *177 + - *296 + - *370 + - *371 requestBody: required: false content: @@ -47142,10 +47433,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *174 - - *293 - - *365 - - *366 + - *177 + - *296 + - *370 + - *371 responses: '204': description: Response @@ -47171,16 +47462,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: - - *174 - - *293 + - *177 + - *296 responses: '200': description: Response content: application/json: - schema: *367 + schema: *372 examples: - default: *368 + default: *373 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -47202,8 +47493,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: - - *174 - - *293 + - *177 + - *296 requestBody: required: true content: @@ -47246,7 +47537,7 @@ paths: description: Response content: application/json: - schema: *367 + schema: *372 examples: default: value: @@ -47278,8 +47569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *174 - - *293 + - *177 + - *296 - *17 - *19 responses: @@ -47289,9 +47580,9 @@ paths: application/json: schema: type: array - items: *281 + items: *284 examples: - response-if-child-teams-exist: &699 + response-if-child-teams-exist: &704 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -47344,7 +47635,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: - - *174 + - *177 - name: security_product in: path description: The security feature to enable or disable. @@ -47418,7 +47709,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &369 + - &374 name: card_id description: The unique identifier of the card. in: path @@ -47430,7 +47721,7 @@ paths: description: Response content: application/json: - schema: &370 + schema: &375 title: Project Card description: Project cards represent a scope of work. type: object @@ -47497,7 +47788,7 @@ paths: - created_at - updated_at examples: - default: &371 + default: &376 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -47553,7 +47844,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *369 + - *374 requestBody: required: false content: @@ -47580,9 +47871,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *375 examples: - default: *371 + default: *376 '304': *37 '403': *29 '401': *25 @@ -47609,7 +47900,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *369 + - *374 responses: '204': description: Response @@ -47653,7 +47944,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *369 + - *374 requestBody: required: true content: @@ -47764,7 +48055,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &372 + - &377 name: column_id description: The unique identifier of the column. in: path @@ -47776,7 +48067,7 @@ paths: description: Response content: application/json: - schema: &373 + schema: &378 title: Project Column description: Project columns contain cards of work. type: object @@ -47822,7 +48113,7 @@ paths: - created_at - updated_at examples: - default: &374 + default: &379 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -47857,7 +48148,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *372 + - *377 requestBody: required: true content: @@ -47881,9 +48172,9 @@ paths: description: Response content: application/json: - schema: *373 + schema: *378 examples: - default: *374 + default: *379 '304': *37 '403': *29 '401': *25 @@ -47908,7 +48199,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *372 + - *377 responses: '204': description: Response @@ -47937,7 +48228,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *372 + - *377 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -47958,7 +48249,7 @@ paths: application/json: schema: type: array - items: *370 + items: *375 examples: default: value: @@ -48017,7 +48308,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *372 + - *377 requestBody: required: true content: @@ -48057,9 +48348,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *375 examples: - default: *371 + default: *376 '304': *37 '403': *29 '401': *25 @@ -48069,8 +48360,8 @@ paths: application/json: schema: oneOf: - - *177 - - *178 + - *180 + - *181 '503': description: Response content: @@ -48115,7 +48406,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *372 + - *377 requestBody: required: true content: @@ -48175,15 +48466,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *364 + - *369 responses: '200': description: Response content: application/json: - schema: *312 + schema: *315 examples: - default: &375 + default: &380 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -48240,7 +48531,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *364 + - *369 requestBody: required: false content: @@ -48286,9 +48577,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *315 examples: - default: *375 + default: *380 '404': description: Not Found if the authenticated user does not have access to the project @@ -48309,7 +48600,7 @@ paths: items: type: string '401': *25 - '410': *376 + '410': *381 '422': *7 x-github: githubCloudOnly: false @@ -48332,7 +48623,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *364 + - *369 responses: '204': description: Delete Success @@ -48353,7 +48644,7 @@ paths: items: type: string '401': *25 - '410': *376 + '410': *381 '404': *6 x-github: githubCloudOnly: false @@ -48377,7 +48668,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *364 + - *369 - 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 @@ -48404,7 +48695,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 headers: Link: *39 '404': *6 @@ -48434,8 +48725,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *364 - - *216 + - *369 + - *219 requestBody: required: false content: @@ -48487,8 +48778,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *364 - - *216 + - *369 + - *219 responses: '204': description: Response @@ -48519,8 +48810,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *364 - - *216 + - *369 + - *219 responses: '200': description: Response @@ -48593,7 +48884,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *364 + - *369 - *17 - *19 responses: @@ -48603,7 +48894,7 @@ paths: application/json: schema: type: array - items: *373 + items: *378 examples: default: value: @@ -48641,7 +48932,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *364 + - *369 requestBody: required: true content: @@ -48664,7 +48955,7 @@ paths: description: Response content: application/json: - schema: *373 + schema: *378 examples: default: value: @@ -48728,7 +49019,7 @@ paths: resources: type: object properties: - core: &377 + core: &382 title: Rate Limit type: object properties: @@ -48745,20 +49036,20 @@ paths: - remaining - reset - used - graphql: *377 - search: *377 - code_search: *377 - source_import: *377 - integration_manifest: *377 - code_scanning_upload: *377 - actions_runner_registration: *377 - scim: *377 - dependency_snapshots: *377 - code_scanning_autofix: *377 + graphql: *382 + search: *382 + code_search: *382 + source_import: *382 + integration_manifest: *382 + code_scanning_upload: *382 + actions_runner_registration: *382 + scim: *382 + dependency_snapshots: *382 + code_scanning_autofix: *382 required: - core - search - rate: *377 + rate: *382 required: - rate - resources @@ -48862,14 +49153,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: *378 + schema: *383 examples: default-response: summary: Default response @@ -49374,7 +49665,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *379 + '301': *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49392,8 +49683,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: false content: @@ -49639,10 +49930,10 @@ paths: description: Response content: application/json: - schema: *378 + schema: *383 examples: - default: *380 - '307': &381 + default: *385 + '307': &386 description: Temporary Redirect content: application/json: @@ -49671,8 +49962,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Response @@ -49694,7 +49985,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': *381 + '307': *386 '404': *6 x-github: githubCloudOnly: false @@ -49717,11 +50008,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 - - &396 + - &401 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -49744,7 +50035,7 @@ paths: type: integer artifacts: type: array - items: &382 + items: &387 title: Artifact description: An artifact type: object @@ -49815,7 +50106,7 @@ paths: - expires_at - updated_at examples: - default: &397 + default: &402 value: total_count: 2 artifacts: @@ -49874,9 +50165,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *365 - - *366 - - &383 + - *370 + - *371 + - &388 name: artifact_id description: The unique identifier of the artifact. in: path @@ -49888,7 +50179,7 @@ paths: description: Response content: application/json: - schema: *382 + schema: *387 examples: default: value: @@ -49925,9 +50216,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *365 - - *366 - - *383 + - *370 + - *371 + - *388 responses: '204': description: Response @@ -49951,9 +50242,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *365 - - *366 - - *383 + - *370 + - *371 + - *388 - name: archive_format in: path required: true @@ -49967,7 +50258,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': *376 + '410': *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49990,14 +50281,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: *384 + schema: *389 examples: default: value: @@ -50023,11 +50314,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: - - *365 - - *366 + - *370 + - *371 - *17 - *19 - - &385 + - &390 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 @@ -50055,13 +50346,13 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *84 + - *86 responses: '200': description: Response content: application/json: - schema: &386 + schema: &391 title: Repository actions caches description: Repository actions caches type: object @@ -50103,7 +50394,7 @@ paths: - total_count - actions_caches examples: - default: &387 + default: &392 value: total_count: 1 actions_caches: @@ -50135,23 +50426,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: - - *365 - - *366 + - *370 + - *371 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *385 + - *390 responses: '200': description: Response content: application/json: - schema: *386 + schema: *391 examples: - default: *387 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50171,8 +50462,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: - - *365 - - *366 + - *370 + - *371 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -50203,9 +50494,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: - - *365 - - *366 - - &388 + - *370 + - *371 + - &393 name: job_id description: The unique identifier of the job. in: path @@ -50217,7 +50508,7 @@ paths: description: Response content: application/json: - schema: &400 + schema: &405 title: Job description: Information of a job execution in a workflow run type: object @@ -50524,9 +50815,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: - - *365 - - *366 - - *388 + - *370 + - *371 + - *393 responses: '302': description: Response @@ -50554,9 +50845,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: - - *365 - - *366 - - *388 + - *370 + - *371 + - *393 requestBody: required: false content: @@ -50577,7 +50868,7 @@ paths: description: Response content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -50601,8 +50892,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Status response @@ -50652,8 +50943,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: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -50687,7 +50978,7 @@ paths: description: Empty response content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -50716,8 +51007,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -50735,7 +51026,7 @@ paths: type: integer secrets: type: array - items: &402 + items: &407 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -50755,7 +51046,7 @@ paths: - created_at - updated_at examples: - default: &403 + default: &408 value: total_count: 2 secrets: @@ -50788,9 +51079,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *365 - - *366 - - *389 + - *370 + - *371 + - *394 - *19 responses: '200': @@ -50807,7 +51098,7 @@ paths: type: integer variables: type: array - items: &406 + items: &411 title: Actions Variable type: object properties: @@ -50837,7 +51128,7 @@ paths: - created_at - updated_at examples: - default: &407 + default: &412 value: total_count: 2 variables: @@ -50870,8 +51161,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -50880,11 +51171,11 @@ paths: schema: type: object properties: - enabled: &390 + enabled: &395 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *48 - selected_actions_url: *187 + selected_actions_url: *190 required: - enabled examples: @@ -50913,8 +51204,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: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Response @@ -50925,7 +51216,7 @@ paths: schema: type: object properties: - enabled: *390 + enabled: *395 allowed_actions: *48 required: - enabled @@ -50956,14 +51247,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: &391 + schema: &396 type: object properties: access_level: @@ -50981,7 +51272,7 @@ paths: required: - access_level examples: - default: &392 + default: &397 value: access_level: organization x-github: @@ -51006,15 +51297,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: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: application/json: - schema: *391 + schema: *396 examples: - default: *392 + default: *397 responses: '204': description: Response @@ -51038,8 +51329,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -51070,8 +51361,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: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Response @@ -51103,14 +51394,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: *190 + schema: *193 examples: default: *54 x-github: @@ -51133,8 +51424,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: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Success response @@ -51145,7 +51436,7 @@ paths: required: true content: application/json: - schema: *191 + schema: *194 examples: default: *54 x-github: @@ -51174,8 +51465,8 @@ paths: in: query schema: type: string - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -51219,8 +51510,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -51228,9 +51519,9 @@ paths: application/json: schema: type: array - items: *195 + items: *198 examples: - default: *196 + default: *199 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51252,8 +51543,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: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -51296,10 +51587,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *197 + '201': *200 '404': *6 '422': *7 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51327,8 +51618,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: - - *365 - - *366 + - *370 + - *371 responses: '201': description: Response @@ -51336,7 +51627,7 @@ paths: application/json: schema: *64 examples: - default: *198 + default: *201 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51364,8 +51655,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: - - *365 - - *366 + - *370 + - *371 responses: '201': description: Response @@ -51373,7 +51664,7 @@ paths: application/json: schema: *64 examples: - default: *199 + default: *202 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51395,8 +51686,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: - - *365 - - *366 + - *370 + - *371 - *60 responses: '200': @@ -51405,7 +51696,7 @@ paths: application/json: schema: *61 examples: - default: *200 + default: *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51426,8 +51717,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: - - *365 - - *366 + - *370 + - *371 - *60 responses: '204': @@ -51453,8 +51744,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: - - *365 - - *366 + - *370 + - *371 - *60 responses: '200': *66 @@ -51479,8 +51770,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: - - *365 - - *366 + - *370 + - *371 - *60 requestBody: required: true @@ -51529,8 +51820,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: - - *365 - - *366 + - *370 + - *371 - *60 requestBody: required: true @@ -51580,11 +51871,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: - - *365 - - *366 + - *370 + - *371 - *60 responses: - '200': *201 + '200': *204 '404': *6 x-github: githubCloudOnly: false @@ -51611,10 +51902,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: - - *365 - - *366 + - *370 + - *371 - *60 - - *202 + - *205 responses: '200': *66 '404': *6 @@ -51642,9 +51933,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: - - *365 - - *366 - - &410 + - *370 + - *371 + - &415 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. @@ -51652,7 +51943,7 @@ paths: required: false schema: type: string - - &411 + - &416 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -51660,7 +51951,7 @@ paths: required: false schema: type: string - - &412 + - &417 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -51669,7 +51960,7 @@ paths: required: false schema: type: string - - &413 + - &418 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 @@ -51696,7 +51987,7 @@ paths: - pending - *17 - *19 - - &414 + - &419 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)." @@ -51705,7 +51996,7 @@ paths: schema: type: string format: date-time - - &393 + - &398 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -51714,13 +52005,13 @@ paths: schema: type: boolean default: false - - &415 + - &420 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &416 + - &421 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -51743,7 +52034,7 @@ paths: type: integer workflow_runs: type: array - items: &394 + items: &399 title: Workflow Run description: An invocation of a workflow type: object @@ -51838,7 +52129,7 @@ paths: that triggered the run. type: array nullable: true - items: &435 + items: &440 title: Pull Request Minimal type: object properties: @@ -51957,7 +52248,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &439 + properties: &444 id: type: string description: SHA for the commit @@ -52008,7 +52299,7 @@ paths: - name - email nullable: true - required: &440 + required: &445 - id - tree_id - message @@ -52016,8 +52307,8 @@ paths: - author - committer nullable: true - repository: *194 - head_repository: *194 + repository: *197 + head_repository: *197 head_repository_id: type: integer example: 5 @@ -52055,7 +52346,7 @@ paths: - workflow_url - pull_requests examples: - default: &417 + default: &422 value: total_count: 1 workflow_runs: @@ -52291,24 +52582,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *365 - - *366 - - &395 + - *370 + - *371 + - &400 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *393 + - *398 responses: '200': description: Response content: application/json: - schema: *394 + schema: *399 examples: - default: &398 + default: &403 value: id: 30433642 name: Build @@ -52549,9 +52840,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *365 - - *366 - - *395 + - *370 + - *371 + - *400 responses: '204': description: Response @@ -52574,9 +52865,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: - - *365 - - *366 - - *395 + - *370 + - *371 + - *400 responses: '200': description: Response @@ -52695,15 +52986,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: - - *365 - - *366 - - *395 + - *370 + - *371 + - *400 responses: '201': description: Response content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -52730,12 +53021,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *365 - - *366 - - *395 + - *370 + - *371 + - *400 - *17 - *19 - - *396 + - *401 responses: '200': description: Response @@ -52751,9 +53042,9 @@ paths: type: integer artifacts: type: array - items: *382 + items: *387 examples: - default: *397 + default: *402 headers: Link: *39 x-github: @@ -52777,25 +53068,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *365 - - *366 - - *395 - - &399 + - *370 + - *371 + - *400 + - &404 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *393 + - *398 responses: '200': description: Response content: application/json: - schema: *394 + schema: *399 examples: - default: *398 + default: *403 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52818,10 +53109,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: - - *365 - - *366 - - *395 - - *399 + - *370 + - *371 + - *400 + - *404 - *17 - *19 responses: @@ -52839,9 +53130,9 @@ paths: type: integer jobs: type: array - items: *400 + items: *405 examples: - default: &401 + default: &406 value: total_count: 1 jobs: @@ -52954,10 +53245,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *365 - - *366 - - *395 - - *399 + - *370 + - *371 + - *400 + - *404 responses: '302': description: Response @@ -52985,19 +53276,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *365 - - *366 - - *395 + - *370 + - *371 + - *400 responses: '202': description: Response content: application/json: - schema: *205 + schema: *208 examples: default: value: - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53020,9 +53311,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: - - *365 - - *366 - - *395 + - *370 + - *371 + - *400 requestBody: required: true content: @@ -53089,19 +53380,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *365 - - *366 - - *395 + - *370 + - *371 + - *400 responses: '202': description: Response content: application/json: - schema: *205 + schema: *208 examples: default: value: - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53124,9 +53415,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: - - *365 - - *366 - - *395 + - *370 + - *371 + - *400 - 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 @@ -53156,9 +53447,9 @@ paths: type: integer jobs: type: array - items: *400 + items: *405 examples: - default: *401 + default: *406 headers: Link: *39 x-github: @@ -53183,9 +53474,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *365 - - *366 - - *395 + - *370 + - *371 + - *400 responses: '302': description: Response @@ -53212,14 +53503,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *365 - - *366 - - *395 + - *370 + - *371 + - *400 responses: '204': description: Response '403': *29 - '500': *97 + '500': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53241,9 +53532,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: - - *365 - - *366 - - *395 + - *370 + - *371 + - *400 responses: '200': description: Response @@ -53303,7 +53594,7 @@ paths: items: type: object properties: - type: &516 + type: &521 type: string description: The type of reviewer. enum: @@ -53313,7 +53604,7 @@ paths: reviewer: anyOf: - *4 - - *281 + - *284 required: - environment - wait_timer @@ -53388,9 +53679,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: - - *365 - - *366 - - *395 + - *370 + - *371 + - *400 requestBody: required: true content: @@ -53437,7 +53728,7 @@ paths: application/json: schema: type: array - items: &511 + items: &516 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -53525,8 +53816,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 required: - id - node_id @@ -53543,7 +53834,7 @@ paths: - created_at - updated_at examples: - default: &512 + default: &517 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -53599,9 +53890,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *365 - - *366 - - *395 + - *370 + - *371 + - *400 requestBody: required: false content: @@ -53622,7 +53913,7 @@ paths: description: Response content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -53645,9 +53936,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: - - *365 - - *366 - - *395 + - *370 + - *371 + - *400 requestBody: required: false content: @@ -53668,7 +53959,7 @@ paths: description: Response content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -53680,12 +53971,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 @@ -53693,9 +53992,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *365 - - *366 - - *395 + - *370 + - *371 + - *400 responses: '200': description: Response @@ -53832,8 +54131,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -53851,9 +54150,9 @@ paths: type: integer secrets: type: array - items: *402 + items: *407 examples: - default: *403 + default: *408 headers: Link: *39 x-github: @@ -53878,16 +54177,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: *404 + schema: *409 examples: - default: *405 + default: *410 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53909,17 +54208,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *365 - - *366 - - *204 + - *370 + - *371 + - *207 responses: '200': description: Response content: application/json: - schema: *402 + schema: *407 examples: - default: &529 + default: &534 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -53945,9 +54244,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *365 - - *366 - - *204 + - *370 + - *371 + - *207 requestBody: required: true content: @@ -53978,7 +54277,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -54004,9 +54303,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *365 - - *366 - - *204 + - *370 + - *371 + - *207 responses: '204': description: Response @@ -54031,9 +54330,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *365 - - *366 - - *389 + - *370 + - *371 + - *394 - *19 responses: '200': @@ -54050,9 +54349,9 @@ paths: type: integer variables: type: array - items: *406 + items: *411 examples: - default: *407 + default: *412 headers: Link: *39 x-github: @@ -54075,8 +54374,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -54103,7 +54402,7 @@ paths: description: Response content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -54128,17 +54427,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *365 - - *366 - - *207 + - *370 + - *371 + - *210 responses: '200': description: Response content: application/json: - schema: *406 + schema: *411 examples: - default: &530 + default: &535 value: name: USERNAME value: octocat @@ -54164,9 +54463,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *365 - - *366 - - *207 + - *370 + - *371 + - *210 requestBody: required: true content: @@ -54208,9 +54507,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *365 - - *366 - - *207 + - *370 + - *371 + - *210 responses: '204': description: Response @@ -54235,8 +54534,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -54254,7 +54553,7 @@ paths: type: integer workflows: type: array - items: &408 + items: &413 title: Workflow description: A GitHub Actions workflow type: object @@ -54361,9 +54660,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *365 - - *366 - - &409 + - *370 + - *371 + - &414 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -54378,7 +54677,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *413 examples: default: value: @@ -54411,9 +54710,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *365 - - *366 - - *409 + - *370 + - *371 + - *414 responses: '204': description: Response @@ -54438,9 +54737,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *365 - - *366 - - *409 + - *370 + - *371 + - *414 responses: '204': description: Response @@ -54491,9 +54790,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *365 - - *366 - - *409 + - *370 + - *371 + - *414 responses: '204': description: Response @@ -54520,19 +54819,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: - - *365 - - *366 - - *409 - - *410 - - *411 - - *412 - - *413 - - *17 - - *19 + - *370 + - *371 - *414 - - *393 - *415 - *416 + - *417 + - *418 + - *17 + - *19 + - *419 + - *398 + - *420 + - *421 responses: '200': description: Response @@ -54548,9 +54847,9 @@ paths: type: integer workflow_runs: type: array - items: *394 + items: *399 examples: - default: *417 + default: *422 headers: Link: *39 x-github: @@ -54561,14 +54860,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 @@ -54576,9 +54882,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *365 - - *366 - - *409 + - *370 + - *371 + - *414 responses: '200': description: Response @@ -54639,12 +54945,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *365 - - *366 - - *84 + - *370 + - *371 + - *86 - *17 - - *82 - - *83 + - *84 + - *85 - name: ref description: |- The Git reference for the activities you want to list. @@ -54804,8 +55110,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -54817,7 +55123,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 headers: Link: *39 '404': *6 @@ -54842,8 +55148,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: - - *365 - - *366 + - *370 + - *371 - name: assignee in: path required: true @@ -54879,8 +55185,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -54992,11 +55298,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *365 - - *366 + - *370 + - *371 - *17 - - *82 - - *83 + - *84 + - *85 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -55039,7 +55345,7 @@ paths: bundle_url: type: string examples: - default: *418 + default: *423 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55059,8 +55365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -55068,7 +55374,7 @@ paths: application/json: schema: type: array - items: &419 + items: &424 title: Autolink reference description: An autolink reference. type: object @@ -55118,8 +55424,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: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -55158,9 +55464,9 @@ paths: description: response content: application/json: - schema: *419 + schema: *424 examples: - default: &420 + default: &425 value: id: 1 key_prefix: TICKET- @@ -55191,9 +55497,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: - - *365 - - *366 - - &421 + - *370 + - *371 + - &426 name: autolink_id description: The unique identifier of the autolink. in: path @@ -55205,9 +55511,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 '404': *6 x-github: githubCloudOnly: false @@ -55227,9 +55533,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: - - *365 - - *366 - - *421 + - *370 + - *371 + - *426 responses: '204': description: Response @@ -55253,8 +55559,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response if Dependabot is enabled @@ -55302,8 +55608,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Response @@ -55324,8 +55630,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Response @@ -55345,8 +55651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *365 - - *366 + - *370 + - *371 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -55384,7 +55690,7 @@ paths: - url protected: type: boolean - protection: &423 + protection: &428 title: Branch Protection description: Branch Protection type: object @@ -55426,7 +55732,7 @@ paths: required: - contexts - checks - enforce_admins: &426 + enforce_admins: &431 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -55441,7 +55747,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &428 + required_pull_request_reviews: &433 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -55462,7 +55768,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *281 + items: *284 apps: description: The list of apps with review dismissal access. @@ -55491,7 +55797,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *281 + items: *284 apps: description: The list of apps allowed to bypass pull request requirements. @@ -55517,7 +55823,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &425 + restrictions: &430 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -55824,9 +56130,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *365 - - *366 - - &424 + - *370 + - *371 + - &429 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). @@ -55840,14 +56146,14 @@ paths: description: Response content: application/json: - schema: &434 + schema: &439 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &484 + commit: &489 title: Commit description: Commit type: object @@ -55881,7 +56187,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &422 + properties: &427 name: type: string example: '"Chris Wanstrath"' @@ -55896,7 +56202,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *422 + properties: *427 nullable: true message: type: string @@ -55917,7 +56223,7 @@ paths: required: - sha - url - verification: &536 + verification: &541 title: Verification type: object properties: @@ -55951,12 +56257,12 @@ paths: nullable: true oneOf: - *4 - - *205 + - *208 committer: nullable: true oneOf: - *4 - - *205 + - *208 parents: type: array items: @@ -55987,7 +56293,7 @@ paths: type: integer files: type: array - items: &499 + items: &504 title: Diff Entry description: Diff Entry type: object @@ -56070,7 +56376,7 @@ paths: - self protected: type: boolean - protection: *423 + protection: *428 protection_url: type: string format: uri @@ -56177,7 +56483,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *379 + '301': *384 '404': *6 x-github: githubCloudOnly: false @@ -56199,15 +56505,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '200': description: Response content: application/json: - schema: *423 + schema: *428 examples: default: value: @@ -56401,9 +56707,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 requestBody: required: true content: @@ -56658,7 +56964,7 @@ paths: url: type: string format: uri - required_status_checks: &431 + required_status_checks: &436 title: Status Check Policy description: Status Check Policy type: object @@ -56734,7 +57040,7 @@ paths: items: *4 teams: type: array - items: *281 + items: *284 apps: type: array items: *5 @@ -56752,7 +57058,7 @@ paths: items: *4 teams: type: array - items: *281 + items: *284 apps: type: array items: *5 @@ -56810,7 +57116,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *425 + restrictions: *430 required_conversation_resolution: type: object properties: @@ -56922,9 +57228,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '204': description: Response @@ -56949,17 +57255,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '200': description: Response content: application/json: - schema: *426 + schema: *431 examples: - default: &427 + default: &432 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -56981,17 +57287,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '200': description: Response content: application/json: - schema: *426 + schema: *431 examples: - default: *427 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57010,9 +57316,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '204': description: Response @@ -57037,17 +57343,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '200': description: Response content: application/json: - schema: *428 + schema: *433 examples: - default: &429 + default: &434 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -57143,9 +57449,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 requestBody: required: false content: @@ -57243,9 +57549,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *433 examples: - default: *429 + default: *434 '422': *15 x-github: githubCloudOnly: false @@ -57266,9 +57572,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '204': description: Response @@ -57295,17 +57601,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '200': description: Response content: application/json: - schema: *426 + schema: *431 examples: - default: &430 + default: &435 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -57328,17 +57634,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '200': description: Response content: application/json: - schema: *426 + schema: *431 examples: - default: *430 + default: *435 '404': *6 x-github: githubCloudOnly: false @@ -57358,9 +57664,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '204': description: Response @@ -57385,17 +57691,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '200': description: Response content: application/json: - schema: *431 + schema: *436 examples: - default: &432 + default: &437 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -57421,9 +57727,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 requestBody: required: false content: @@ -57475,9 +57781,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *436 examples: - default: *432 + default: *437 '404': *6 '422': *15 x-github: @@ -57499,9 +57805,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '204': description: Response @@ -57525,9 +57831,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '200': description: Response @@ -57561,9 +57867,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 requestBody: required: false content: @@ -57630,9 +57936,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 requestBody: required: false content: @@ -57696,9 +58002,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 requestBody: content: application/json: @@ -57764,15 +58070,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '200': description: Response content: application/json: - schema: *425 + schema: *430 examples: default: value: @@ -57863,9 +58169,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '204': description: Response @@ -57888,9 +58194,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: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '200': description: Response @@ -57900,7 +58206,7 @@ paths: type: array items: *5 examples: - default: &433 + default: &438 value: - id: 1 slug: octoapp @@ -57957,9 +58263,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 requestBody: required: true content: @@ -57993,7 +58299,7 @@ paths: type: array items: *5 examples: - default: *433 + default: *438 '422': *15 x-github: githubCloudOnly: false @@ -58014,9 +58320,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 requestBody: required: true content: @@ -58050,7 +58356,7 @@ paths: type: array items: *5 examples: - default: *433 + default: *438 '422': *15 x-github: githubCloudOnly: false @@ -58071,9 +58377,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 requestBody: required: true content: @@ -58107,7 +58413,7 @@ paths: type: array items: *5 examples: - default: *433 + default: *438 '422': *15 x-github: githubCloudOnly: false @@ -58129,9 +58435,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: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '200': description: Response @@ -58139,9 +58445,9 @@ paths: application/json: schema: type: array - items: *281 + items: *284 examples: - default: *296 + default: *299 '404': *6 x-github: githubCloudOnly: false @@ -58161,9 +58467,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 requestBody: required: false content: @@ -58199,9 +58505,9 @@ paths: application/json: schema: type: array - items: *281 + items: *284 examples: - default: *296 + default: *299 '422': *15 x-github: githubCloudOnly: false @@ -58222,9 +58528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 requestBody: required: false content: @@ -58260,9 +58566,9 @@ paths: application/json: schema: type: array - items: *281 + items: *284 examples: - default: *296 + default: *299 '422': *15 x-github: githubCloudOnly: false @@ -58283,9 +58589,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 requestBody: content: application/json: @@ -58320,9 +58626,9 @@ paths: application/json: schema: type: array - items: *281 + items: *284 examples: - default: *296 + default: *299 '422': *15 x-github: githubCloudOnly: false @@ -58344,9 +58650,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: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '200': description: Response @@ -58356,7 +58662,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 '404': *6 x-github: githubCloudOnly: false @@ -58380,9 +58686,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 requestBody: required: true content: @@ -58415,7 +58721,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 '422': *15 x-github: githubCloudOnly: false @@ -58440,9 +58746,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 requestBody: required: true content: @@ -58475,7 +58781,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 '422': *15 x-github: githubCloudOnly: false @@ -58500,9 +58806,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 requestBody: required: true content: @@ -58535,7 +58841,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 '422': *15 x-github: githubCloudOnly: false @@ -58562,9 +58868,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 requestBody: required: true content: @@ -58586,7 +58892,7 @@ paths: description: Response content: application/json: - schema: *434 + schema: *439 examples: default: value: @@ -58700,12 +59006,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *365 - - *366 - - *217 - - *218 - - *219 + - *370 + - *371 - *220 + - *221 + - *222 + - *223 - *17 - *19 responses: @@ -58715,11 +59021,11 @@ paths: application/json: schema: type: array - items: *221 + items: *224 examples: - default: *222 + default: *225 '404': *6 - '500': *97 + '500': *99 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": get: summary: Get a repository push bypass request @@ -58737,8 +59043,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *365 - - *366 + - *370 + - *371 - name: bypass_request_number in: path required: true @@ -58752,7 +59058,7 @@ paths: description: Response content: application/json: - schema: *221 + schema: *224 examples: default: value: @@ -58790,7 +59096,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': *97 + '500': *99 "/repos/{owner}/{repo}/check-runs": post: summary: Create a check run @@ -58810,8 +59116,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -59090,7 +59396,7 @@ paths: description: Response content: application/json: - schema: &436 + schema: &441 title: CheckRun description: A check performed on the code of a given code change type: object @@ -59201,16 +59507,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *435 - deployment: &750 + items: *440 + deployment: &755 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -59277,8 +59583,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 required: - id - node_id @@ -59490,9 +59796,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *365 - - *366 - - &437 + - *370 + - *371 + - &442 name: check_run_id description: The unique identifier of the check run. in: path @@ -59504,9 +59810,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *441 examples: - default: &438 + default: &443 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -59606,9 +59912,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *365 - - *366 - - *437 + - *370 + - *371 + - *442 requestBody: required: true content: @@ -59848,9 +60154,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *441 examples: - default: *438 + default: *443 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59870,9 +60176,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *365 - - *366 - - *437 + - *370 + - *371 + - *442 - *17 - *19 responses: @@ -59969,15 +60275,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *365 - - *366 - - *437 + - *370 + - *371 + - *442 responses: '201': description: Response content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -60015,8 +60321,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -60038,7 +60344,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &441 + schema: &446 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -60102,7 +60408,7 @@ paths: nullable: true pull_requests: type: array - items: *435 + items: *440 nullable: true app: title: GitHub app @@ -60113,9 +60419,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 - repository: *194 + properties: *139 + required: *140 + repository: *197 created_at: type: string format: date-time @@ -60124,12 +60430,12 @@ paths: type: string format: date-time nullable: true - head_commit: &776 + head_commit: &781 title: Simple Commit description: A commit. type: object - properties: *439 - required: *440 + properties: *444 + required: *445 latest_check_runs_count: type: integer check_runs_url: @@ -60157,7 +60463,7 @@ paths: - check_runs_url - pull_requests examples: - default: &442 + default: &447 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -60448,9 +60754,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *441 + schema: *446 examples: - default: *442 + default: *447 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60469,8 +60775,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -60531,7 +60837,7 @@ paths: required: - app_id - setting - repository: *194 + repository: *197 examples: default: value: @@ -60779,9 +61085,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *365 - - *366 - - &443 + - *370 + - *371 + - &448 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -60793,9 +61099,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *446 examples: - default: *442 + default: *447 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60818,17 +61124,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: - - *365 - - *366 - - *443 - - &492 + - *370 + - *371 + - *448 + - &497 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &493 + - &498 name: status description: Returns check runs with the specified `status`. in: query @@ -60867,9 +61173,9 @@ paths: type: integer check_runs: type: array - items: *436 + items: *441 examples: - default: &494 + default: &499 value: total_count: 1 check_runs: @@ -60971,15 +61277,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *365 - - *366 - - *443 + - *370 + - *371 + - *448 responses: '201': description: Response content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -61006,30 +61312,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: - - *365 - - *366 - - *223 - - *224 + - *370 + - *371 + - *226 + - *227 - *19 - *17 - - &459 + - &464 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: *444 - - &460 + schema: *449 + - &465 name: pr description: The number of the pull request for the results you want to list. in: query required: false schema: type: integer + - *86 - *84 - - *82 - - *83 + - *85 - name: sort description: The property by which to sort the results. in: query @@ -61045,13 +61351,13 @@ paths: be returned. in: query required: false - schema: *225 + schema: *228 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *445 + schema: *450 responses: '200': description: Response @@ -61062,14 +61368,14 @@ paths: items: type: object properties: - number: *98 - created_at: *105 - updated_at: *106 - url: *103 - html_url: *104 - instances_url: *446 - state: *87 - fixed_at: *108 + number: *100 + created_at: *107 + updated_at: *108 + url: *105 + html_url: *106 + instances_url: *451 + state: *89 + fixed_at: *110 dismissed_by: title: Simple User description: A GitHub user. @@ -61077,12 +61383,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *107 - dismissed_reason: *447 - dismissed_comment: *448 - rule: *449 - tool: *450 - most_recent_instance: *451 + dismissed_at: *109 + dismissed_reason: *452 + dismissed_comment: *453 + rule: *454 + tool: *455 + most_recent_instance: *456 required: - number - created_at @@ -61198,14 +61504,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &452 + '403': &457 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61225,9 +61531,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: - - *365 - - *366 - - &453 + - *370 + - *371 + - &458 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -61235,23 +61541,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *98 + schema: *100 responses: '200': description: Response content: application/json: - schema: &454 + schema: &459 type: object properties: - number: *98 - created_at: *105 - updated_at: *106 - url: *103 - html_url: *104 - instances_url: *446 - state: *87 - fixed_at: *108 + number: *100 + created_at: *107 + updated_at: *108 + url: *105 + html_url: *106 + instances_url: *451 + state: *89 + fixed_at: *110 dismissed_by: title: Simple User description: A GitHub user. @@ -61259,9 +61565,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *107 - dismissed_reason: *447 - dismissed_comment: *448 + dismissed_at: *109 + dismissed_reason: *452 + dismissed_comment: *453 rule: type: object properties: @@ -61315,8 +61621,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *450 - most_recent_instance: *451 + tool: *455 + most_recent_instance: *456 required: - number - created_at @@ -61405,9 +61711,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *452 + '403': *457 '404': *6 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61425,9 +61731,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: - - *365 - - *366 - - *453 + - *370 + - *371 + - *458 requestBody: required: true content: @@ -61442,8 +61748,8 @@ paths: enum: - open - dismissed - dismissed_reason: *447 - dismissed_comment: *448 + dismissed_reason: *452 + dismissed_comment: *453 required: - state examples: @@ -61458,7 +61764,7 @@ paths: description: Response content: application/json: - schema: *454 + schema: *459 examples: default: value: @@ -61533,14 +61839,14 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &458 + '403': &463 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': *129 + '503': *132 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61560,15 +61866,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: - - *365 - - *366 - - *453 + - *370 + - *371 + - *458 responses: '200': description: Response content: application/json: - schema: &455 + schema: &460 type: object properties: status: @@ -61594,13 +61900,13 @@ paths: - description - started_at examples: - default: &456 + default: &461 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &457 + '400': &462 description: Bad Request content: application/json: @@ -61611,9 +61917,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': *452 + '403': *457 '404': *6 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61636,29 +61942,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: - - *365 - - *366 - - *453 + - *370 + - *371 + - *458 responses: '200': description: OK content: application/json: - schema: *455 + schema: *460 examples: - default: *456 + default: *461 '202': description: Accepted content: application/json: - schema: *455 + schema: *460 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *457 + '400': *462 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -61668,7 +61974,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61690,9 +61996,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: - - *365 - - *366 - - *453 + - *370 + - *371 + - *458 requestBody: required: false content: @@ -61737,12 +62043,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *457 - '403': *458 + '400': *462 + '403': *463 '404': *6 '422': description: Unprocessable Entity - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61762,13 +62068,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: - - *365 - - *366 - - *453 + - *370 + - *371 + - *458 - *19 - *17 - - *459 - - *460 + - *464 + - *465 responses: '200': description: Response @@ -61776,7 +62082,7 @@ paths: application/json: schema: type: array - items: *451 + items: *456 examples: default: value: @@ -61815,9 +62121,9 @@ paths: end_column: 50 classifications: - source - '403': *452 + '403': *457 '404': *6 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61849,29 +62155,29 @@ 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: - - *365 - - *366 - - *223 - - *224 + - *370 + - *371 + - *226 + - *227 - *19 - *17 - - *460 + - *465 - 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: *444 + schema: *449 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &463 + schema: &468 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *84 + - *86 - name: sort description: The property by which to sort the results. in: query @@ -61888,23 +62194,23 @@ paths: application/json: schema: type: array - items: &464 + items: &469 type: object properties: - ref: *444 - commit_sha: &472 + ref: *449 + commit_sha: &477 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: *461 + analysis_key: *466 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *462 + category: *467 error: type: string example: error reading field xyz @@ -61928,8 +62234,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *463 - tool: *450 + sarif_id: *468 + tool: *455 deletable: type: boolean warning: @@ -61990,9 +62296,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *452 + '403': *457 '404': *6 - '503': *129 + '503': *132 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62026,8 +62332,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: - - *365 - - *366 + - *370 + - *371 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -62040,7 +62346,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *469 examples: response: summary: application/json response @@ -62094,9 +62400,9 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *452 + '403': *457 '404': *6 - '503': *129 + '503': *132 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62176,8 +62482,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: - - *365 - - *366 + - *370 + - *371 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -62230,9 +62536,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': *458 + '403': *463 '404': *6 - '503': *129 + '503': *132 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62252,8 +62558,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -62261,7 +62567,7 @@ paths: application/json: schema: type: array - items: &465 + items: &470 title: CodeQL Database description: A CodeQL database. type: object @@ -62372,9 +62678,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': *452 + '403': *457 '404': *6 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62401,8 +62707,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: - - *365 - - *366 + - *370 + - *371 - name: language in: path description: The language of the CodeQL database. @@ -62414,7 +62720,7 @@ paths: description: Response content: application/json: - schema: *465 + schema: *470 examples: default: value: @@ -62446,11 +62752,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': &501 + '302': &506 description: Found - '403': *452 + '403': *457 '404': *6 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62470,8 +62776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *365 - - *366 + - *370 + - *371 - name: language in: path description: The language of the CodeQL database. @@ -62481,9 +62787,9 @@ paths: responses: '204': description: Response - '403': *458 + '403': *463 '404': *6 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62509,8 +62815,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: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -62519,7 +62825,7 @@ paths: type: object additionalProperties: false properties: - language: &466 + language: &471 type: string description: The language targeted by the CodeQL query enum: @@ -62597,7 +62903,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &470 + schema: &475 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -62605,9 +62911,9 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *94 + controller_repo: *96 actor: *4 - query_language: *466 + query_language: *471 query_pack_url: type: string description: The download url for the query pack. @@ -62654,7 +62960,7 @@ paths: items: type: object properties: - repository: &467 + repository: &472 title: Repository Identifier description: Repository Identifier type: object @@ -62690,7 +62996,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &471 + analysis_status: &476 type: string description: The new status of the CodeQL variant analysis repository task. @@ -62722,7 +63028,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &468 + access_mismatch_repos: &473 type: object properties: repository_count: @@ -62736,7 +63042,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: *467 + items: *472 required: - repository_count - repositories @@ -62758,8 +63064,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *468 - over_limit_repos: *468 + no_codeql_db_repos: *473 + over_limit_repos: *473 required: - access_mismatch_repos - not_found_repos @@ -62775,7 +63081,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &469 + value: &474 summary: Default response value: id: 1 @@ -62927,17 +63233,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *469 + value: *474 repository_lists: summary: Response for a successful variant analysis submission - value: *469 + value: *474 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62958,8 +63264,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: - - *365 - - *366 + - *370 + - *371 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -62971,11 +63277,11 @@ paths: description: Response content: application/json: - schema: *470 + schema: *475 examples: - default: *469 + default: *474 '404': *6 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62996,7 +63302,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: - - *365 + - *370 - name: repo in: path description: The name of the controller repository. @@ -63030,8 +63336,8 @@ paths: schema: type: object properties: - repository: *94 - analysis_status: *471 + repository: *96 + analysis_status: *476 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -63135,7 +63441,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63156,8 +63462,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -63231,9 +63537,9 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *452 + '403': *457 '404': *6 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63252,8 +63558,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: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -63310,7 +63616,7 @@ paths: description: Response content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -63335,7 +63641,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *458 + '403': *463 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -63343,7 +63649,7 @@ paths: content: application/json: schema: *3 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63400,8 +63706,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: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -63409,7 +63715,7 @@ paths: schema: type: object properties: - commit_sha: *472 + commit_sha: *477 ref: type: string description: |- @@ -63467,7 +63773,7 @@ paths: schema: type: object properties: - id: *463 + id: *468 url: type: string description: The REST API URL for checking the status of the upload. @@ -63481,11 +63787,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': *458 + '403': *463 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *129 + '503': *132 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63504,8 +63810,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: - - *365 - - *366 + - *370 + - *371 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -63551,10 +63857,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': *452 + '403': *457 '404': description: Not Found if the sarif id does not match any upload - '503': *129 + '503': *132 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63576,8 +63882,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -63601,7 +63907,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *88 + configuration: *90 examples: default: value: @@ -63630,7 +63936,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': *116 + '204': *118 '304': *37 '403': *29 '404': *6 @@ -63655,8 +63961,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *365 - - *366 + - *370 + - *371 - 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 @@ -63776,8 +64082,8 @@ paths: parameters: - *17 - *19 - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -63793,7 +64099,7 @@ paths: type: integer codespaces: type: array - items: *285 + items: *288 examples: default: value: @@ -64069,7 +64375,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': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -64091,8 +64397,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -64155,22 +64461,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *285 + schema: *288 examples: - default: *473 + default: *478 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *285 + schema: *288 examples: - default: *473 + default: *478 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -64194,8 +64500,8 @@ paths: parameters: - *17 - *19 - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -64235,7 +64541,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *97 + '500': *99 '400': *14 '401': *25 '403': *29 @@ -64259,8 +64565,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: - - *365 - - *366 + - *370 + - *371 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -64295,14 +64601,14 @@ paths: type: integer machines: type: array - items: &706 + items: &711 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *474 - required: *475 + properties: *479 + required: *480 examples: - default: &707 + default: &712 value: total_count: 2 machines: @@ -64319,7 +64625,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *37 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -64342,8 +64648,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *365 - - *366 + - *370 + - *371 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -64427,8 +64733,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: - - *365 - - *366 + - *370 + - *371 - 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 @@ -64473,7 +64779,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64494,8 +64800,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -64513,7 +64819,7 @@ paths: type: integer secrets: type: array - items: &479 + items: &484 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -64533,7 +64839,7 @@ paths: - created_at - updated_at examples: - default: *476 + default: *481 headers: Link: *39 x-github: @@ -64556,16 +64862,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: *477 + schema: *482 examples: - default: *478 + default: *483 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -64585,17 +64891,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *365 - - *366 - - *204 + - *370 + - *371 + - *207 responses: '200': description: Response content: application/json: - schema: *479 + schema: *484 examples: - default: *480 + default: *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64615,9 +64921,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: - - *365 - - *366 - - *204 + - *370 + - *371 + - *207 requestBody: required: true content: @@ -64645,7 +64951,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -64669,9 +64975,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *365 - - *366 - - *204 + - *370 + - *371 + - *207 responses: '204': description: Response @@ -64699,8 +65005,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *365 - - *366 + - *370 + - *371 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -64742,7 +65048,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &481 + properties: &486 login: type: string example: octocat @@ -64835,7 +65141,7 @@ paths: user_view_type: type: string example: public - required: &482 + required: &487 - avatar_url - events_url - followers_url @@ -64909,9 +65215,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: - - *365 - - *366 - - *216 + - *370 + - *371 + - *219 responses: '204': description: Response if user is a collaborator @@ -64953,9 +65259,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *365 - - *366 - - *216 + - *370 + - *371 + - *219 requestBody: required: false content: @@ -64981,7 +65287,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &549 + schema: &554 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -64992,7 +65298,7 @@ paths: example: 42 type: integer format: int64 - repository: *194 + repository: *197 invitee: title: Simple User description: A GitHub user. @@ -65203,9 +65509,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *365 - - *366 - - *216 + - *370 + - *371 + - *219 responses: '204': description: No Content when collaborator was removed from the repository. @@ -65234,9 +65540,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *365 - - *366 - - *216 + - *370 + - *371 + - *219 responses: '200': description: if user has admin permissions @@ -65256,8 +65562,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *481 - required: *482 + properties: *486 + required: *487 nullable: true required: - permission @@ -65312,8 +65618,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -65323,7 +65629,7 @@ paths: application/json: schema: type: array - items: &483 + items: &488 title: Commit Comment description: Commit Comment type: object @@ -65364,8 +65670,8 @@ paths: updated_at: type: string format: date-time - author_association: *138 - reactions: *139 + author_association: *141 + reactions: *142 required: - url - html_url @@ -65381,7 +65687,7 @@ paths: - created_at - updated_at examples: - default: &486 + default: &491 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65440,17 +65746,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *365 - - *366 - - *150 + - *370 + - *371 + - *153 responses: '200': description: Response content: application/json: - schema: *483 + schema: *488 examples: - default: &487 + default: &492 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65507,9 +65813,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *365 - - *366 - - *150 + - *370 + - *371 + - *153 requestBody: required: true content: @@ -65531,7 +65837,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *488 examples: default: value: @@ -65582,9 +65888,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *365 - - *366 - - *150 + - *370 + - *371 + - *153 responses: '204': description: Response @@ -65605,9 +65911,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *365 - - *366 - - *150 + - *370 + - *371 + - *153 - 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. @@ -65633,9 +65939,9 @@ paths: application/json: schema: type: array - items: *354 + items: *359 examples: - default: *356 + default: *361 headers: Link: *39 '404': *6 @@ -65656,9 +65962,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *365 - - *366 - - *150 + - *370 + - *371 + - *153 requestBody: required: true content: @@ -65690,16 +65996,16 @@ paths: description: Reaction exists content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 '201': description: Reaction created content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 '422': *15 x-github: githubCloudOnly: false @@ -65721,10 +66027,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *365 - - *366 - - *150 - - *357 + - *370 + - *371 + - *153 + - *362 responses: '204': description: Response @@ -65773,8 +66079,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *365 - - *366 + - *370 + - *371 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -65830,9 +66136,9 @@ paths: application/json: schema: type: array - items: *484 + items: *489 examples: - default: &600 + default: &605 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65903,10 +66209,10 @@ paths: sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: Link: *39 - '500': *97 + '500': *99 '400': *14 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65926,9 +66232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *365 - - *366 - - &485 + - *370 + - *371 + - &490 name: commit_sha description: The SHA of the commit. in: path @@ -65975,7 +66281,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66000,9 +66306,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *365 - - *366 - - *485 + - *370 + - *371 + - *490 - *17 - *19 responses: @@ -66012,9 +66318,9 @@ paths: application/json: schema: type: array - items: *483 + items: *488 examples: - default: *486 + default: *491 headers: Link: *39 x-github: @@ -66042,9 +66348,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *365 - - *366 - - *485 + - *370 + - *371 + - *490 requestBody: required: true content: @@ -66079,9 +66385,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *488 examples: - default: *487 + default: *492 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66109,9 +66415,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: - - *365 - - *366 - - *485 + - *370 + - *371 + - *490 - *17 - *19 responses: @@ -66121,7 +66427,7 @@ paths: application/json: schema: type: array - items: &591 + items: &596 title: Pull Request Simple description: Pull Request Simple type: object @@ -66227,8 +66533,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *488 - required: *489 + properties: *493 + required: *494 nullable: true active_lock_reason: type: string @@ -66273,7 +66579,7 @@ paths: nullable: true requested_teams: type: array - items: *281 + items: *284 nullable: true head: type: object @@ -66324,7 +66630,7 @@ paths: _links: type: object properties: - comments: &490 + comments: &495 title: Link description: Hypermedia Link type: object @@ -66333,13 +66639,13 @@ paths: type: string required: - href - commits: *490 - statuses: *490 - html: *490 - issue: *490 - review_comments: *490 - review_comment: *490 - self: *490 + commits: *495 + statuses: *495 + html: *495 + issue: *495 + review_comments: *495 + review_comment: *495 + self: *495 required: - comments - commits @@ -66349,8 +66655,8 @@ paths: - review_comments - review_comment - self - author_association: *138 - auto_merge: &593 + author_association: *141 + auto_merge: &598 title: Auto merge description: The status of auto merging a pull request. type: object @@ -66413,7 +66719,7 @@ paths: - author_association - auto_merge examples: - default: &592 + default: &597 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -66893,7 +67199,7 @@ paths: draft: false headers: Link: *39 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66950,11 +67256,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *365 - - *366 + - *370 + - *371 - *19 - *17 - - &491 + - &496 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)" @@ -66969,9 +67275,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *489 examples: - default: &578 + default: &583 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67057,9 +67363,9 @@ paths: ..... '422': *15 '404': *6 - '500': *97 - '503': *129 - '409': *92 + '500': *99 + '503': *132 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67084,11 +67390,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: - - *365 - - *366 - - *491 - - *492 - - *493 + - *370 + - *371 + - *496 + - *497 + - *498 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -67122,9 +67428,9 @@ paths: type: integer check_runs: type: array - items: *436 + items: *441 examples: - default: *494 + default: *499 headers: Link: *39 x-github: @@ -67149,9 +67455,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: - - *365 - - *366 - - *491 + - *370 + - *371 + - *496 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -67159,7 +67465,7 @@ paths: schema: type: integer example: 1 - - *492 + - *497 - *17 - *19 responses: @@ -67177,7 +67483,7 @@ paths: type: integer check_suites: type: array - items: *441 + items: *446 examples: default: value: @@ -67377,9 +67683,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: - - *365 - - *366 - - *491 + - *370 + - *371 + - *496 - *17 - *19 responses: @@ -67446,7 +67752,7 @@ paths: type: string total_count: type: integer - repository: *194 + repository: *197 commit_url: type: string format: uri @@ -67577,9 +67883,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *365 - - *366 - - *491 + - *370 + - *371 + - *496 - *17 - *19 responses: @@ -67589,7 +67895,7 @@ paths: application/json: schema: type: array - items: &654 + items: &659 title: Status description: The status of a commit. type: object @@ -67670,7 +67976,7 @@ paths: site_admin: false headers: Link: *39 - '301': *379 + '301': *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67698,8 +68004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -67728,20 +68034,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *495 - required: *496 + properties: *500 + required: *501 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &497 + properties: &502 url: type: string format: uri html_url: type: string format: uri - required: &498 + required: &503 - url - html_url nullable: true @@ -67749,32 +68055,32 @@ paths: title: License Simple description: License Simple type: object - properties: *152 - required: *153 + properties: *155 + required: *156 nullable: true contributing: title: Community Health File type: object - properties: *497 - required: *498 + properties: *502 + required: *503 nullable: true readme: title: Community Health File type: object - properties: *497 - required: *498 + properties: *502 + required: *503 nullable: true issue_template: title: Community Health File type: object - properties: *497 - required: *498 + properties: *502 + required: *503 nullable: true pull_request_template: title: Community Health File type: object - properties: *497 - required: *498 + properties: *502 + required: *503 nullable: true required: - code_of_conduct @@ -67901,8 +68207,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *365 - - *366 + - *370 + - *371 - *19 - *17 - name: basehead @@ -67945,8 +68251,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *484 - merge_base_commit: *484 + base_commit: *489 + merge_base_commit: *489 status: type: string enum: @@ -67966,10 +68272,10 @@ paths: example: 6 commits: type: array - items: *484 + items: *489 files: type: array - items: *499 + items: *504 required: - url - html_url @@ -68212,8 +68518,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *97 - '503': *129 + '500': *99 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68255,8 +68561,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *365 - - *366 + - *370 + - *371 - name: path description: path parameter in: path @@ -68397,7 +68703,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &500 + response-if-content-is-a-file: &505 summary: Response if content is a file value: type: file @@ -68529,7 +68835,7 @@ paths: - size - type - url - - &605 + - &610 title: Content File description: Content File type: object @@ -68730,7 +69036,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *500 + response-if-content-is-a-file: *505 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -68799,7 +69105,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *501 + '302': *506 '304': *37 x-github: githubCloudOnly: false @@ -68822,8 +69128,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *365 - - *366 + - *370 + - *371 - name: path description: path parameter in: path @@ -68916,7 +69222,7 @@ paths: description: Response content: application/json: - schema: &502 + schema: &507 title: File Commit description: File Commit type: object @@ -69068,7 +69374,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *507 examples: example-for-creating-a-file: value: @@ -69122,7 +69428,7 @@ paths: schema: oneOf: - *3 - - &531 + - &536 description: Repository rule violation was detected type: object properties: @@ -69143,7 +69449,7 @@ paths: items: type: object properties: - placeholder_id: &646 + placeholder_id: &651 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -69175,8 +69481,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *365 - - *366 + - *370 + - *371 - name: path description: path parameter in: path @@ -69237,7 +69543,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *507 examples: default: value: @@ -69271,8 +69577,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *92 - '503': *129 + '409': *94 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69292,8 +69598,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *365 - - *366 + - *370 + - *371 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -69416,22 +69722,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *365 - - *366 - - *242 - - *243 - - *244 + - *370 + - *371 - *245 + - *246 + - *247 + - *248 - 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 - - *246 - - *247 - - *248 - - *84 + - *249 + - *250 + - *251 + - *86 - name: page description: "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead." @@ -69448,10 +69754,10 @@ paths: schema: type: integer default: 30 - - *82 - - *83 - - *249 - - *250 + - *84 + - *85 + - *252 + - *253 responses: '200': description: Response @@ -69459,11 +69765,11 @@ paths: application/json: schema: type: array - items: &505 + items: &510 type: object description: A Dependabot alert. properties: - number: *98 + number: *100 state: type: string description: The state of the Dependabot alert. @@ -69478,7 +69784,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *99 + package: *101 manifest_path: type: string description: The full path to the dependency manifest file, @@ -69492,13 +69798,13 @@ paths: enum: - development - runtime - security_advisory: *503 - security_vulnerability: *102 - url: *103 - html_url: *104 - created_at: *105 - updated_at: *106 - dismissed_at: *107 + security_advisory: *508 + security_vulnerability: *104 + url: *105 + html_url: *106 + created_at: *107 + updated_at: *108 + dismissed_at: *109 dismissed_by: title: Simple User description: A GitHub user. @@ -69522,8 +69828,8 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *108 - auto_dismissed_at: *504 + fixed_at: *110 + auto_dismissed_at: *509 required: - number - state @@ -69753,9 +70059,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *365 - - *366 - - &506 + - *370 + - *371 + - &511 name: alert_number in: path description: |- @@ -69764,13 +70070,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *98 + schema: *100 responses: '200': description: Response content: application/json: - schema: *505 + schema: *510 examples: default: value: @@ -69883,9 +70189,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *365 - - *366 - - *506 + - *370 + - *371 + - *511 requestBody: required: true content: @@ -69930,7 +70236,7 @@ paths: description: Response content: application/json: - schema: *505 + schema: *510 examples: default: value: @@ -70036,7 +70342,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *92 + '409': *94 '422': *7 x-github: githubCloudOnly: false @@ -70059,8 +70365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -70078,7 +70384,7 @@ paths: type: integer secrets: type: array - items: &509 + items: &514 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -70131,16 +70437,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: *507 + schema: *512 examples: - default: *508 + default: *513 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70160,15 +70466,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *365 - - *366 - - *204 + - *370 + - *371 + - *207 responses: '200': description: Response content: application/json: - schema: *509 + schema: *514 examples: default: value: @@ -70194,9 +70500,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *365 - - *366 - - *204 + - *370 + - *371 + - *207 requestBody: required: true content: @@ -70224,7 +70530,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -70248,9 +70554,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *365 - - *366 - - *204 + - *370 + - *371 + - *207 responses: '204': description: Response @@ -70272,8 +70578,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: - - *365 - - *366 + - *370 + - *371 - 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 @@ -70433,8 +70739,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -70673,8 +70979,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: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -70749,7 +71055,7 @@ paths: - version - url additionalProperties: false - metadata: &510 + metadata: &515 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -70782,7 +71088,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *510 + metadata: *515 resolved: type: object description: A collection of resolved package dependencies. @@ -70795,7 +71101,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *510 + metadata: *515 relationship: type: string description: A notation of whether a dependency is requested @@ -70924,8 +71230,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *365 - - *366 + - *370 + - *371 - name: sha description: The SHA recorded at creation time. in: query @@ -70965,9 +71271,9 @@ paths: application/json: schema: type: array - items: *511 + items: *516 examples: - default: *512 + default: *517 headers: Link: *39 x-github: @@ -71033,8 +71339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -71115,7 +71421,7 @@ paths: description: Response content: application/json: - schema: *511 + schema: *516 examples: simple-example: summary: Simple example @@ -71188,9 +71494,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *365 - - *366 - - &513 + - *370 + - *371 + - &518 name: deployment_id description: deployment_id parameter in: path @@ -71202,7 +71508,7 @@ paths: description: Response content: application/json: - schema: *511 + schema: *516 examples: default: value: @@ -71267,9 +71573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *365 - - *366 - - *513 + - *370 + - *371 + - *518 responses: '204': description: Response @@ -71291,9 +71597,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *365 - - *366 - - *513 + - *370 + - *371 + - *518 - *17 - *19 responses: @@ -71303,7 +71609,7 @@ paths: application/json: schema: type: array - items: &514 + items: &519 title: Deployment Status description: The status of a deployment. type: object @@ -71394,8 +71700,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 required: - id - node_id @@ -71464,9 +71770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *365 - - *366 - - *513 + - *370 + - *371 + - *518 requestBody: required: true content: @@ -71541,9 +71847,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *519 examples: - default: &515 + default: &520 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -71599,9 +71905,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *365 - - *366 - - *513 + - *370 + - *371 + - *518 - name: status_id in: path required: true @@ -71612,9 +71918,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *519 examples: - default: *515 + default: *520 '404': *6 x-github: githubCloudOnly: false @@ -71639,8 +71945,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -71697,8 +72003,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -71715,7 +72021,7 @@ paths: type: integer environments: type: array - items: &517 + items: &522 title: Environment description: Details of a deployment environment type: object @@ -71767,7 +72073,7 @@ paths: type: type: string example: wait_timer - wait_timer: &519 + wait_timer: &524 type: integer example: 30 description: The amount of time to delay a job after @@ -71804,11 +72110,11 @@ paths: items: type: object properties: - type: *516 + type: *521 reviewer: anyOf: - *4 - - *281 + - *284 required: - id - node_id @@ -71828,7 +72134,7 @@ paths: - id - node_id - type - deployment_branch_policy: &520 + deployment_branch_policy: &525 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -71944,9 +72250,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *365 - - *366 - - &518 + - *370 + - *371 + - &523 name: environment_name in: path required: true @@ -71959,9 +72265,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *522 examples: - default: &521 + default: &526 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -72045,9 +72351,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *365 - - *366 - - *518 + - *370 + - *371 + - *523 requestBody: required: false content: @@ -72056,7 +72362,7 @@ paths: type: object nullable: true properties: - wait_timer: *519 + wait_timer: *524 prevent_self_review: type: boolean example: false @@ -72073,13 +72379,13 @@ paths: items: type: object properties: - type: *516 + type: *521 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *520 + deployment_branch_policy: *525 additionalProperties: false examples: default: @@ -72099,9 +72405,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *522 examples: - default: *521 + default: *526 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -72125,9 +72431,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *365 - - *366 - - *518 + - *370 + - *371 + - *523 responses: '204': description: Default response @@ -72152,9 +72458,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *365 - - *366 - - *518 + - *370 + - *371 + - *523 - *17 - *19 responses: @@ -72172,7 +72478,7 @@ paths: example: 2 branch_policies: type: array - items: &522 + items: &527 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -72229,9 +72535,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *365 - - *366 - - *518 + - *370 + - *371 + - *523 requestBody: required: true content: @@ -72277,9 +72583,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *527 examples: - example-wildcard: &523 + example-wildcard: &528 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -72321,10 +72627,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *365 - - *366 - - *518 - - &524 + - *370 + - *371 + - *523 + - &529 name: branch_policy_id in: path required: true @@ -72336,9 +72642,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *527 examples: - default: *523 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72357,10 +72663,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *365 - - *366 - - *518 - - *524 + - *370 + - *371 + - *523 + - *529 requestBody: required: true content: @@ -72388,9 +72694,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *527 examples: - default: *523 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72409,10 +72715,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *365 - - *366 - - *518 - - *524 + - *370 + - *371 + - *523 + - *529 responses: '204': description: Response @@ -72437,9 +72743,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: - - *518 - - *366 - - *365 + - *523 + - *371 + - *370 responses: '200': description: List of deployment protection rules @@ -72455,7 +72761,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &525 + items: &530 title: Deployment protection rule description: Deployment protection rule type: object @@ -72474,7 +72780,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &526 + app: &531 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -72573,9 +72879,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: - - *518 - - *366 - - *365 + - *523 + - *371 + - *370 requestBody: content: application/json: @@ -72596,9 +72902,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *525 + schema: *530 examples: - default: &527 + default: &532 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -72633,9 +72939,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: - - *518 - - *366 - - *365 + - *523 + - *371 + - *370 - *19 - *17 responses: @@ -72654,7 +72960,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *526 + items: *531 examples: default: value: @@ -72689,10 +72995,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: - - *365 - - *366 - - *518 - - &528 + - *370 + - *371 + - *523 + - &533 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -72704,9 +73010,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *530 examples: - default: *527 + default: *532 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72727,10 +73033,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: - - *518 - - *366 - - *365 - - *528 + - *523 + - *371 + - *370 + - *533 responses: '204': description: Response @@ -72756,9 +73062,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *365 - - *366 - - *518 + - *370 + - *371 + - *523 - *17 - *19 responses: @@ -72776,9 +73082,9 @@ paths: type: integer secrets: type: array - items: *402 + items: *407 examples: - default: *403 + default: *408 headers: Link: *39 x-github: @@ -72803,17 +73109,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *365 - - *366 - - *518 + - *370 + - *371 + - *523 responses: '200': description: Response content: application/json: - schema: *404 + schema: *409 examples: - default: *405 + default: *410 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72835,18 +73141,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *365 - - *366 - - *518 - - *204 + - *370 + - *371 + - *523 + - *207 responses: '200': description: Response content: application/json: - schema: *402 + schema: *407 examples: - default: *529 + default: *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72868,10 +73174,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *365 - - *366 - - *518 - - *204 + - *370 + - *371 + - *523 + - *207 requestBody: required: true content: @@ -72902,7 +73208,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -72928,10 +73234,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *365 - - *366 - - *518 - - *204 + - *370 + - *371 + - *523 + - *207 responses: '204': description: Default response @@ -72956,10 +73262,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *365 - - *366 - - *518 - - *389 + - *370 + - *371 + - *523 + - *394 - *19 responses: '200': @@ -72976,9 +73282,9 @@ paths: type: integer variables: type: array - items: *406 + items: *411 examples: - default: *407 + default: *412 headers: Link: *39 x-github: @@ -73001,9 +73307,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *365 - - *366 - - *518 + - *370 + - *371 + - *523 requestBody: required: true content: @@ -73030,7 +73336,7 @@ paths: description: Response content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -73055,18 +73361,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *365 - - *366 - - *518 - - *207 + - *370 + - *371 + - *523 + - *210 responses: '200': description: Response content: application/json: - schema: *406 + schema: *411 examples: - default: *530 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73087,10 +73393,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *365 - - *366 - - *207 - - *518 + - *370 + - *371 + - *210 + - *523 requestBody: required: true content: @@ -73132,10 +73438,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *365 - - *366 - - *207 - - *518 + - *370 + - *371 + - *210 + - *523 responses: '204': description: Response @@ -73157,8 +73463,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -73168,7 +73474,7 @@ paths: application/json: schema: type: array - items: *163 + items: *166 examples: 200-response: value: @@ -73235,8 +73541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *365 - - *366 + - *370 + - *371 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -73258,7 +73564,7 @@ paths: application/json: schema: type: array - items: *194 + items: *197 examples: default: value: @@ -73395,8 +73701,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: false content: @@ -73428,9 +73734,9 @@ paths: description: Response content: application/json: - schema: *378 + schema: *383 examples: - default: *380 + default: *385 '400': *14 '422': *15 '403': *29 @@ -73451,8 +73757,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -73503,7 +73809,7 @@ paths: schema: type: string '404': *6 - '409': *92 + '409': *94 '403': *29 '422': description: Validation failed @@ -73511,8 +73817,8 @@ paths: application/json: schema: oneOf: - - *177 - - *531 + - *180 + - *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73537,8 +73843,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *365 - - *366 + - *370 + - *371 - name: file_sha in: path required: true @@ -73589,7 +73895,7 @@ paths: '404': *6 '422': *15 '403': *29 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73637,8 +73943,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -73747,7 +74053,7 @@ paths: description: Response content: application/json: - schema: &532 + schema: &537 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -73911,7 +74217,7 @@ paths: type: string '422': *15 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73961,15 +74267,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *365 - - *366 - - *485 + - *370 + - *371 + - *490 responses: '200': description: Response content: application/json: - schema: *532 + schema: *537 examples: default: value: @@ -74000,7 +74306,7 @@ paths: payload: verified_at: '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74025,9 +74331,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *365 - - *366 - - &533 + - *370 + - *371 + - &538 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. @@ -74044,7 +74350,7 @@ paths: application/json: schema: type: array - items: &534 + items: &539 title: Git Reference description: Git references within a repository type: object @@ -74098,7 +74404,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: Link: *39 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74119,17 +74425,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *365 - - *366 - - *533 + - *370 + - *371 + - *538 responses: '200': description: Response content: application/json: - schema: *534 + schema: *539 examples: - default: &535 + default: &540 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -74139,7 +74445,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74158,8 +74464,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -74188,16 +74494,16 @@ paths: description: Response content: application/json: - schema: *534 + schema: *539 examples: - default: *535 + default: *540 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *15 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74216,9 +74522,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *365 - - *366 - - *533 + - *370 + - *371 + - *538 requestBody: required: true content: @@ -74247,11 +74553,11 @@ paths: description: Response content: application/json: - schema: *534 + schema: *539 examples: - default: *535 + default: *540 '422': *15 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74267,14 +74573,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *365 - - *366 - - *533 + - *370 + - *371 + - *538 responses: '204': description: Response '422': *15 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74322,8 +74628,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -74390,7 +74696,7 @@ paths: description: Response content: application/json: - schema: &537 + schema: &542 title: Git Tag description: Metadata for a Git tag type: object @@ -74441,7 +74747,7 @@ paths: - sha - type - url - verification: *536 + verification: *541 required: - sha - url @@ -74451,7 +74757,7 @@ paths: - tag - message examples: - default: &538 + default: &543 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -74478,7 +74784,7 @@ paths: schema: type: string '422': *15 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74524,8 +74830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *365 - - *366 + - *370 + - *371 - name: tag_sha in: path required: true @@ -74536,11 +74842,11 @@ paths: description: Response content: application/json: - schema: *537 + schema: *542 examples: - default: *538 + default: *543 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74562,8 +74868,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -74636,7 +74942,7 @@ paths: description: Response content: application/json: - schema: &539 + schema: &544 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -74725,7 +75031,7 @@ paths: '422': *15 '404': *6 '403': *29 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74748,8 +75054,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *365 - - *366 + - *370 + - *371 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -74772,7 +75078,7 @@ paths: description: Response content: application/json: - schema: *539 + schema: *544 examples: default-response: summary: Default response @@ -74813,7 +75119,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74831,8 +75137,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -74842,7 +75148,7 @@ paths: application/json: schema: type: array - items: &540 + items: &545 title: Webhook description: Webhooks for repositories. type: object @@ -74896,7 +75202,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &784 + last_response: &789 title: Hook Response type: object properties: @@ -74970,8 +75276,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: false content: @@ -75023,9 +75329,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *545 examples: - default: &541 + default: &546 value: type: Repository id: 12345678 @@ -75073,17 +75379,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *365 - - *366 - - *258 + - *370 + - *371 + - *261 responses: '200': description: Response content: application/json: - schema: *540 + schema: *545 examples: - default: *541 + default: *546 '404': *6 x-github: githubCloudOnly: false @@ -75103,9 +75409,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *365 - - *366 - - *258 + - *370 + - *371 + - *261 requestBody: required: true content: @@ -75150,9 +75456,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *545 examples: - default: *541 + default: *546 '422': *15 '404': *6 x-github: @@ -75173,9 +75479,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *365 - - *366 - - *258 + - *370 + - *371 + - *261 responses: '204': description: Response @@ -75199,9 +75505,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: - - *365 - - *366 - - *258 + - *370 + - *371 + - *261 responses: '200': description: Response @@ -75228,9 +75534,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: - - *365 - - *366 - - *258 + - *370 + - *371 + - *261 requestBody: required: false content: @@ -75274,11 +75580,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *365 - - *366 - - *258 + - *370 + - *371 + - *261 - *17 - - *259 + - *262 responses: '200': description: Response @@ -75286,9 +75592,9 @@ paths: application/json: schema: type: array - items: *260 + items: *263 examples: - default: *261 + default: *264 '400': *14 '422': *15 x-github: @@ -75307,18 +75613,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: - - *365 - - *366 - - *258 + - *370 + - *371 + - *261 - *16 responses: '200': description: Response content: application/json: - schema: *262 + schema: *265 examples: - default: *263 + default: *266 '400': *14 '422': *15 x-github: @@ -75337,12 +75643,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: - - *365 - - *366 - - *258 + - *370 + - *371 + - *261 - *16 responses: - '202': *93 + '202': *95 '400': *14 '422': *15 x-github: @@ -75362,9 +75668,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *365 - - *366 - - *258 + - *370 + - *371 + - *261 responses: '204': description: Response @@ -75389,9 +75695,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *365 - - *366 - - *258 + - *370 + - *371 + - *261 responses: '204': description: Response @@ -75449,14 +75755,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: &542 + schema: &547 title: Import description: A repository import from an external source. type: object @@ -75555,7 +75861,7 @@ paths: - html_url - authors_url examples: - default: &545 + default: &550 value: vcs: subversion use_lfs: true @@ -75571,7 +75877,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': &543 + '503': &548 description: Unavailable due to service under maintenance. content: application/json: @@ -75600,8 +75906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -75649,7 +75955,7 @@ paths: description: Response content: application/json: - schema: *542 + schema: *547 examples: default: value: @@ -75674,7 +75980,7 @@ paths: type: string '422': *15 '404': *6 - '503': *543 + '503': *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75702,8 +76008,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: false content: @@ -75752,7 +76058,7 @@ paths: description: Response content: application/json: - schema: *542 + schema: *547 examples: example-1: summary: Example 1 @@ -75800,7 +76106,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': *543 + '503': *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75823,12 +76129,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Response - '503': *543 + '503': *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75854,9 +76160,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *365 - - *366 - - &730 + - *370 + - *371 + - &735 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -75870,7 +76176,7 @@ paths: application/json: schema: type: array - items: &544 + items: &549 title: Porter Author description: Porter Author type: object @@ -75924,7 +76230,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': *543 + '503': *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75949,8 +76255,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *365 - - *366 + - *370 + - *371 - name: author_id in: path required: true @@ -75980,7 +76286,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *549 examples: default: value: @@ -75993,7 +76299,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *543 + '503': *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76017,8 +76323,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -76059,7 +76365,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *543 + '503': *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76087,8 +76393,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -76115,11 +76421,11 @@ paths: description: Response content: application/json: - schema: *542 + schema: *547 examples: - default: *545 + default: *550 '422': *15 - '503': *543 + '503': *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76142,8 +76448,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -76151,8 +76457,8 @@ paths: application/json: schema: *22 examples: - default: *546 - '301': *379 + default: *551 + '301': *384 '404': *6 x-github: githubCloudOnly: false @@ -76172,8 +76478,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -76181,12 +76487,12 @@ paths: application/json: schema: anyOf: - - *276 + - *279 - type: object properties: {} additionalProperties: false examples: - default: &548 + default: &553 value: limit: collaborators_only origin: repository @@ -76211,13 +76517,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: application/json: - schema: *547 + schema: *552 examples: default: summary: Example request body @@ -76229,9 +76535,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *279 examples: - default: *548 + default: *553 '409': description: Response x-github: @@ -76253,8 +76559,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Response @@ -76277,8 +76583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -76288,9 +76594,9 @@ paths: application/json: schema: type: array - items: *549 + items: *554 examples: - default: &723 + default: &728 value: - id: 1 repository: @@ -76421,9 +76727,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *365 - - *366 - - *280 + - *370 + - *371 + - *283 requestBody: required: false content: @@ -76452,7 +76758,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *554 examples: default: value: @@ -76583,9 +76889,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *365 - - *366 - - *280 + - *370 + - *371 + - *283 responses: '204': description: Response @@ -76616,8 +76922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *365 - - *366 + - *370 + - *371 - 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 @@ -76657,7 +76963,7 @@ paths: required: false schema: type: string - - *282 + - *285 - name: sort description: What to sort results by. in: query @@ -76669,8 +76975,8 @@ paths: - updated - comments default: created - - *84 - - *141 + - *86 + - *144 - *17 - *19 responses: @@ -76680,9 +76986,9 @@ paths: application/json: schema: type: array - items: *151 + items: *154 examples: - default: &560 + default: &565 value: - id: 1 node_id: MDU6SXNzdWUx @@ -76830,7 +77136,7 @@ paths: state_reason: completed headers: Link: *39 - '301': *379 + '301': *384 '422': *15 '404': *6 x-github: @@ -76859,8 +77165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -76935,9 +77241,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *154 examples: - default: &555 + default: &560 value: id: 1 node_id: MDU6SXNzdWUx @@ -77091,9 +77397,9 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *129 + '503': *132 '404': *6 - '410': *376 + '410': *381 x-github: triggersNotification: true githubCloudOnly: false @@ -77121,9 +77427,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *365 - - *366 - - *161 + - *370 + - *371 + - *164 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -77133,7 +77439,7 @@ paths: enum: - asc - desc - - *141 + - *144 - *17 - *19 responses: @@ -77143,9 +77449,9 @@ paths: application/json: schema: type: array - items: *550 + items: *555 examples: - default: &557 + default: &562 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -77203,17 +77509,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *365 - - *366 - - *150 + - *370 + - *371 + - *153 responses: '200': description: Response content: application/json: - schema: *550 + schema: *555 examples: - default: &551 + default: &556 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -77267,9 +77573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *365 - - *366 - - *150 + - *370 + - *371 + - *153 requestBody: required: true content: @@ -77291,9 +77597,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *555 examples: - default: *551 + default: *556 '422': *15 x-github: githubCloudOnly: false @@ -77311,9 +77617,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *365 - - *366 - - *150 + - *370 + - *371 + - *153 responses: '204': description: Response @@ -77333,9 +77639,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *365 - - *366 - - *150 + - *370 + - *371 + - *153 - 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. @@ -77361,9 +77667,9 @@ paths: application/json: schema: type: array - items: *354 + items: *359 examples: - default: *356 + default: *361 headers: Link: *39 '404': *6 @@ -77384,9 +77690,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *365 - - *366 - - *150 + - *370 + - *371 + - *153 requestBody: required: true content: @@ -77418,16 +77724,16 @@ paths: description: Reaction exists content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 '201': description: Reaction created content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 '422': *15 x-github: githubCloudOnly: false @@ -77449,10 +77755,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *365 - - *366 - - *150 - - *357 + - *370 + - *371 + - *153 + - *362 responses: '204': description: Response @@ -77472,8 +77778,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -77483,7 +77789,7 @@ paths: application/json: schema: type: array - items: &554 + items: &559 title: Issue Event description: Issue Event type: object @@ -77526,8 +77832,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *552 - required: *553 + properties: *557 + required: *558 nullable: true label: title: Issue Event Label @@ -77571,7 +77877,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *281 + requested_team: *284 dismissed_review: title: Issue Event Dismissed Review type: object @@ -77636,7 +77942,7 @@ paths: required: - from - to - author_association: *138 + author_association: *141 lock_reason: type: string nullable: true @@ -77649,8 +77955,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 required: - id - node_id @@ -77834,8 +78140,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *365 - - *366 + - *370 + - *371 - name: event_id in: path required: true @@ -77846,7 +78152,7 @@ paths: description: Response content: application/json: - schema: *554 + schema: *559 examples: default: value: @@ -78039,7 +78345,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *376 + '410': *381 '403': *29 x-github: githubCloudOnly: false @@ -78073,9 +78379,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *365 - - *366 - - &556 + - *370 + - *371 + - &561 name: issue_number description: The number that identifies the issue. in: path @@ -78087,12 +78393,12 @@ paths: description: Response content: application/json: - schema: *151 + schema: *154 examples: - default: *555 - '301': *379 + default: *560 + '301': *384 '404': *6 - '410': *376 + '410': *381 '304': *37 x-github: githubCloudOnly: false @@ -78117,9 +78423,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 requestBody: required: false content: @@ -78214,15 +78520,15 @@ paths: description: Response content: application/json: - schema: *151 + schema: *154 examples: - default: *555 + default: *560 '422': *15 - '503': *129 + '503': *132 '403': *29 - '301': *379 + '301': *384 '404': *6 - '410': *376 + '410': *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78240,9 +78546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 requestBody: required: false content: @@ -78268,9 +78574,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *154 examples: - default: *555 + default: *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78286,9 +78592,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 requestBody: content: application/json: @@ -78313,9 +78619,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *154 examples: - default: *555 + default: *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78337,9 +78643,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: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 - name: assignee in: path required: true @@ -78379,10 +78685,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *365 - - *366 - - *556 - - *141 + - *370 + - *371 + - *561 + - *144 - *17 - *19 responses: @@ -78392,13 +78698,13 @@ paths: application/json: schema: type: array - items: *550 + items: *555 examples: - default: *557 + default: *562 headers: Link: *39 '404': *6 - '410': *376 + '410': *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78427,9 +78733,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 requestBody: required: true content: @@ -78451,16 +78757,16 @@ paths: description: Response content: application/json: - schema: *550 + schema: *555 examples: - default: *551 + default: *556 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *376 + '410': *381 '422': *15 '404': *6 x-github: @@ -78480,9 +78786,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 - *17 - *19 responses: @@ -78496,7 +78802,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &561 + - &566 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -78527,8 +78833,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 label: type: object properties: @@ -78550,7 +78856,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &562 + - &567 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -78581,8 +78887,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 label: type: object properties: @@ -78670,8 +78976,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 assignee: *4 assigner: *4 required: @@ -78686,7 +78992,7 @@ paths: - performed_via_github_app - assignee - assigner - - &563 + - &568 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -78717,8 +79023,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 milestone: type: object properties: @@ -78737,7 +79043,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &564 + - &569 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -78768,8 +79074,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 milestone: type: object properties: @@ -78788,7 +79094,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &565 + - &570 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -78819,8 +79125,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 rename: type: object properties: @@ -78842,7 +79148,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &566 + - &571 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -78873,10 +79179,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 review_requester: *4 - requested_team: *281 + requested_team: *284 requested_reviewer: *4 required: - review_requester @@ -78889,7 +79195,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &567 + - &572 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -78920,10 +79226,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 review_requester: *4 - requested_team: *281 + requested_team: *284 requested_reviewer: *4 required: - review_requester @@ -78936,7 +79242,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &568 + - &573 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -78967,8 +79273,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 dismissed_review: type: object properties: @@ -78996,7 +79302,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &569 + - &574 title: Locked Issue Event description: Locked Issue Event type: object @@ -79027,8 +79333,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 lock_reason: type: string example: '"off-topic"' @@ -79044,7 +79350,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &570 + - &575 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -79075,8 +79381,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 project_card: type: object properties: @@ -79110,7 +79416,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &571 + - &576 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -79141,8 +79447,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 project_card: type: object properties: @@ -79176,7 +79482,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &572 + - &577 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -79207,8 +79513,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 project_card: type: object properties: @@ -79242,7 +79548,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &573 + - &578 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -79333,7 +79639,7 @@ paths: color: red headers: Link: *39 - '410': *376 + '410': *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79350,9 +79656,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 - *17 - *19 responses: @@ -79362,7 +79668,7 @@ paths: application/json: schema: type: array - items: &558 + items: &563 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -79409,7 +79715,7 @@ paths: - color - default examples: - default: &559 + default: &564 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -79427,9 +79733,9 @@ paths: default: false headers: Link: *39 - '301': *379 + '301': *384 '404': *6 - '410': *376 + '410': *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79446,9 +79752,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 requestBody: required: false content: @@ -79507,12 +79813,12 @@ paths: application/json: schema: type: array - items: *558 + items: *563 examples: - default: *559 - '301': *379 + default: *564 + '301': *384 '404': *6 - '410': *376 + '410': *381 '422': *15 x-github: githubCloudOnly: false @@ -79529,9 +79835,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 requestBody: required: false content: @@ -79591,12 +79897,12 @@ paths: application/json: schema: type: array - items: *558 + items: *563 examples: - default: *559 - '301': *379 + default: *564 + '301': *384 '404': *6 - '410': *376 + '410': *381 '422': *15 x-github: githubCloudOnly: false @@ -79613,15 +79919,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 responses: '204': description: Response - '301': *379 + '301': *384 '404': *6 - '410': *376 + '410': *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79640,9 +79946,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 - name: name in: path required: true @@ -79655,7 +79961,7 @@ paths: application/json: schema: type: array - items: *558 + items: *563 examples: default: value: @@ -79666,9 +79972,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *379 + '301': *384 '404': *6 - '410': *376 + '410': *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79688,9 +79994,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 requestBody: required: false content: @@ -79718,7 +80024,7 @@ paths: '204': description: Response '403': *29 - '410': *376 + '410': *381 '404': *6 '422': *15 x-github: @@ -79736,9 +80042,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 responses: '204': description: Response @@ -79760,9 +80066,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 - 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. @@ -79788,13 +80094,13 @@ paths: application/json: schema: type: array - items: *354 + items: *359 examples: - default: *356 + default: *361 headers: Link: *39 '404': *6 - '410': *376 + '410': *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79812,9 +80118,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 requestBody: required: true content: @@ -79846,20 +80152,20 @@ paths: description: Response content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 '201': description: Response content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 '422': *15 x-github: githubCloudOnly: false - enabledForGitHubApps: false + enabledForGitHubApps: true category: reactions subcategory: reactions "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": @@ -79877,10 +80183,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *365 - - *366 - - *556 - - *357 + - *370 + - *371 + - *561 + - *362 responses: '204': description: Response @@ -79909,9 +80215,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 requestBody: required: true content: @@ -79933,9 +80239,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *154 examples: - default: *555 + default: *560 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -79968,9 +80274,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 - *17 - *19 responses: @@ -79980,13 +80286,13 @@ paths: application/json: schema: type: array - items: *151 + items: *154 examples: - default: *560 + default: *565 headers: Link: *39 '404': *6 - '410': *376 + '410': *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80014,9 +80320,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 requestBody: required: true content: @@ -80043,16 +80349,16 @@ paths: description: Response content: application/json: - schema: *151 + schema: *154 examples: - default: *555 + default: *560 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *376 + '410': *381 '422': *15 '404': *6 x-github: @@ -80072,9 +80378,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 requestBody: required: true content: @@ -80105,13 +80411,13 @@ paths: description: Response content: application/json: - schema: *151 + schema: *154 examples: - default: *555 + default: *560 '403': *29 '404': *6 '422': *7 - '503': *129 + '503': *132 x-github: triggersNotification: true githubCloudOnly: false @@ -80129,9 +80435,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 - *17 - *19 responses: @@ -80146,11 +80452,6 @@ paths: description: Timeline Event type: object anyOf: - - *561 - - *562 - - *563 - - *564 - - *565 - *566 - *567 - *568 @@ -80159,6 +80460,11 @@ paths: - *571 - *572 - *573 + - *574 + - *575 + - *576 + - *577 + - *578 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -80201,7 +80507,7 @@ paths: issue_url: type: string format: uri - author_association: *138 + author_association: *141 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -80211,9 +80517,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 - reactions: *139 + properties: *139 + required: *140 + reactions: *142 required: - event - actor @@ -80244,7 +80550,7 @@ paths: properties: type: type: string - issue: *151 + issue: *154 required: - event - created_at @@ -80440,7 +80746,7 @@ paths: type: string body_text: type: string - author_association: *138 + author_association: *141 required: - event - id @@ -80463,7 +80769,7 @@ paths: type: string comments: type: array - items: &594 + items: &599 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -80552,7 +80858,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *138 + author_association: *141 _links: type: object properties: @@ -80636,7 +80942,7 @@ paths: enum: - line - file - reactions: *139 + reactions: *142 body_html: type: string example: '"

comment body

"' @@ -80672,7 +80978,7 @@ paths: type: string comments: type: array - items: *483 + items: *488 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -80703,8 +81009,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 assignee: *4 required: - id @@ -80747,8 +81053,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 assignee: *4 required: - id @@ -80791,8 +81097,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 state_reason: type: string nullable: true @@ -80961,7 +81267,7 @@ paths: headers: Link: *39 '404': *6 - '410': *376 + '410': *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80978,8 +81284,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -80989,7 +81295,7 @@ paths: application/json: schema: type: array - items: &574 + items: &579 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -81054,8 +81360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -81091,9 +81397,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *579 examples: - default: &575 + default: &580 value: id: 1 key: ssh-rsa AAA... @@ -81127,9 +81433,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *365 - - *366 - - &576 + - *370 + - *371 + - &581 name: key_id description: The unique identifier of the key. in: path @@ -81141,9 +81447,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *579 examples: - default: *575 + default: *580 '404': *6 x-github: githubCloudOnly: false @@ -81161,9 +81467,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *365 - - *366 - - *576 + - *370 + - *371 + - *581 responses: '204': description: Response @@ -81183,8 +81489,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -81194,9 +81500,9 @@ paths: application/json: schema: type: array - items: *558 + items: *563 examples: - default: *559 + default: *564 headers: Link: *39 '404': *6 @@ -81217,8 +81523,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -81254,9 +81560,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *563 examples: - default: &577 + default: &582 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -81288,8 +81594,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *365 - - *366 + - *370 + - *371 - name: name in: path required: true @@ -81300,9 +81606,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *563 examples: - default: *577 + default: *582 '404': *6 x-github: githubCloudOnly: false @@ -81319,8 +81625,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *365 - - *366 + - *370 + - *371 - name: name in: path required: true @@ -81359,7 +81665,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *563 examples: default: value: @@ -81385,8 +81691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *365 - - *366 + - *370 + - *371 - name: name in: path required: true @@ -81412,8 +81718,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -81449,10 +81755,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *365 - - *366 + - *370 + - *371 responses: - '202': *93 + '202': *95 '403': description: |- We will return a 403 with one of the following messages: @@ -81478,8 +81784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Response @@ -81505,9 +81811,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *365 - - *366 - - *459 + - *370 + - *371 + - *464 responses: '200': description: Response @@ -81569,8 +81875,8 @@ paths: title: License Simple description: License Simple type: object - properties: *152 - required: *153 + properties: *155 + required: *156 nullable: true required: - _links @@ -81652,8 +81958,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: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -81718,8 +82024,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -81753,9 +82059,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *484 + schema: *489 examples: - default: *578 + default: *583 '204': description: Response when already merged '404': @@ -81780,8 +82086,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *365 - - *366 + - *370 + - *371 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -81822,12 +82128,12 @@ paths: application/json: schema: type: array - items: &579 + items: &584 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *488 - required: *489 + properties: *493 + required: *494 examples: default: value: @@ -81883,8 +82189,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -81924,9 +82230,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *584 examples: - default: &580 + default: &585 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -81985,9 +82291,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *365 - - *366 - - &581 + - *370 + - *371 + - &586 name: milestone_number description: The number that identifies the milestone. in: path @@ -81999,9 +82305,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *584 examples: - default: *580 + default: *585 '404': *6 x-github: githubCloudOnly: false @@ -82018,9 +82324,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *365 - - *366 - - *581 + - *370 + - *371 + - *586 requestBody: required: false content: @@ -82058,9 +82364,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *584 examples: - default: *580 + default: *585 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82076,9 +82382,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *365 - - *366 - - *581 + - *370 + - *371 + - *586 responses: '204': description: Response @@ -82099,9 +82405,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: - - *365 - - *366 - - *581 + - *370 + - *371 + - *586 - *17 - *19 responses: @@ -82111,9 +82417,9 @@ paths: application/json: schema: type: array - items: *558 + items: *563 examples: - default: *559 + default: *564 headers: Link: *39 x-github: @@ -82132,12 +82438,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: - - *365 - - *366 - - *582 - - *583 - - *141 - - *584 + - *370 + - *371 + - *587 + - *588 + - *144 + - *589 - *17 - *19 responses: @@ -82147,9 +82453,9 @@ paths: application/json: schema: type: array - items: *164 + items: *167 examples: - default: *585 + default: *590 headers: Link: *39 x-github: @@ -82173,8 +82479,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: false content: @@ -82232,14 +82538,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: &586 + schema: &591 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -82364,7 +82670,7 @@ paths: - custom_404 - public examples: - default: &587 + default: &592 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -82405,8 +82711,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -82460,11 +82766,11 @@ paths: description: Response content: application/json: - schema: *586 + schema: *591 examples: - default: *587 + default: *592 '422': *15 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82485,8 +82791,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: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -82572,7 +82878,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82593,14 +82899,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Response '422': *15 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82620,8 +82926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -82631,7 +82937,7 @@ paths: application/json: schema: type: array - items: &588 + items: &593 title: Page Build description: Page Build type: object @@ -82725,8 +83031,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *365 - - *366 + - *370 + - *371 responses: '201': description: Response @@ -82771,16 +83077,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: *588 + schema: *593 examples: - default: &589 + default: &594 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -82828,8 +83134,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *365 - - *366 + - *370 + - *371 - name: build_id in: path required: true @@ -82840,9 +83146,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *593 examples: - default: *589 + default: *594 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82862,8 +83168,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -82968,9 +83274,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: - - *365 - - *366 - - &590 + - *370 + - *371 + - &595 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -83028,11 +83334,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *365 - - *366 - - *590 + - *370 + - *371 + - *595 responses: - '204': *116 + '204': *118 '404': *6 x-github: githubCloudOnly: false @@ -83057,8 +83363,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -83289,7 +83595,7 @@ paths: description: Empty response content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -83316,8 +83622,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Private vulnerability reporting status @@ -83354,10 +83660,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: - - *365 - - *366 + - *370 + - *371 responses: - '204': *116 + '204': *118 '422': *14 x-github: githubCloudOnly: false @@ -83376,10 +83682,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: - - *365 - - *366 + - *370 + - *371 responses: - '204': *116 + '204': *118 '422': *14 x-github: githubCloudOnly: false @@ -83400,8 +83706,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *365 - - *366 + - *370 + - *371 - name: state description: Indicates the state of the projects to return. in: query @@ -83422,7 +83728,7 @@ paths: application/json: schema: type: array - items: *312 + items: *315 examples: default: value: @@ -83462,7 +83768,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *376 + '410': *381 '422': *7 x-github: githubCloudOnly: false @@ -83485,8 +83791,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -83512,13 +83818,13 @@ paths: description: Response content: application/json: - schema: *312 + schema: *315 examples: - default: *375 + default: *380 '401': *25 '403': *29 '404': *6 - '410': *376 + '410': *381 '422': *7 x-github: githubCloudOnly: false @@ -83541,8 +83847,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -83550,7 +83856,7 @@ paths: application/json: schema: type: array - items: *314 + items: *317 examples: default: value: @@ -83581,8 +83887,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: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -83594,7 +83900,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *314 + items: *317 required: - properties examples: @@ -83644,8 +83950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *365 - - *366 + - *370 + - *371 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -83705,9 +84011,9 @@ paths: application/json: schema: type: array - items: *591 + items: *596 examples: - default: *592 + default: *597 headers: Link: *39 '304': *37 @@ -83739,8 +84045,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -83805,7 +84111,7 @@ paths: description: Response content: application/json: - schema: &596 + schema: &601 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -83916,8 +84222,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *488 - required: *489 + properties: *493 + required: *494 nullable: true active_lock_reason: type: string @@ -83962,7 +84268,7 @@ paths: nullable: true requested_teams: type: array - items: *333 + items: *338 nullable: true head: type: object @@ -84001,14 +84307,14 @@ paths: _links: type: object properties: - comments: *490 - commits: *490 - statuses: *490 - html: *490 - issue: *490 - review_comments: *490 - review_comment: *490 - self: *490 + comments: *495 + commits: *495 + statuses: *495 + html: *495 + issue: *495 + review_comments: *495 + review_comment: *495 + self: *495 required: - comments - commits @@ -84018,8 +84324,8 @@ paths: - review_comments - review_comment - self - author_association: *138 - auto_merge: *593 + author_association: *141 + auto_merge: *598 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -84111,7 +84417,7 @@ paths: - merged_by - review_comments examples: - default: &597 + default: &602 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -84638,8 +84944,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *365 - - *366 + - *370 + - *371 - name: sort in: query required: false @@ -84658,7 +84964,7 @@ paths: enum: - asc - desc - - *141 + - *144 - *17 - *19 responses: @@ -84668,9 +84974,9 @@ paths: application/json: schema: type: array - items: *594 + items: *599 examples: - default: &599 + default: &604 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84747,17 +85053,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: - - *365 - - *366 - - *150 + - *370 + - *371 + - *153 responses: '200': description: Response content: application/json: - schema: *594 + schema: *599 examples: - default: &595 + default: &600 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84832,9 +85138,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: - - *365 - - *366 - - *150 + - *370 + - *371 + - *153 requestBody: required: true content: @@ -84856,9 +85162,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *599 examples: - default: *595 + default: *600 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84874,9 +85180,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: - - *365 - - *366 - - *150 + - *370 + - *371 + - *153 responses: '204': description: Response @@ -84897,9 +85203,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: - - *365 - - *366 - - *150 + - *370 + - *371 + - *153 - 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. @@ -84925,9 +85231,9 @@ paths: application/json: schema: type: array - items: *354 + items: *359 examples: - default: *356 + default: *361 headers: Link: *39 '404': *6 @@ -84948,9 +85254,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: - - *365 - - *366 - - *150 + - *370 + - *371 + - *153 requestBody: required: true content: @@ -84982,16 +85288,16 @@ paths: description: Reaction exists content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 '201': description: Reaction created content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 '422': *15 x-github: githubCloudOnly: false @@ -85013,10 +85319,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *365 - - *366 - - *150 - - *357 + - *370 + - *371 + - *153 + - *362 responses: '204': description: Response @@ -85059,9 +85365,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *365 - - *366 - - &598 + - *370 + - *371 + - &603 name: pull_number description: The number that identifies the pull request. in: path @@ -85074,9 +85380,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *596 + schema: *601 examples: - default: *597 + default: *602 '304': *37 '404': *6 '406': @@ -85084,8 +85390,8 @@ paths: content: application/json: schema: *3 - '500': *97 - '503': *129 + '500': *99 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85111,9 +85417,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *365 - - *366 - - *598 + - *370 + - *371 + - *603 requestBody: required: false content: @@ -85155,9 +85461,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *601 examples: - default: *597 + default: *602 '422': *15 '403': *29 x-github: @@ -85179,9 +85485,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: - - *365 - - *366 - - *598 + - *370 + - *371 + - *603 requestBody: required: true content: @@ -85241,21 +85547,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *285 + schema: *288 examples: - default: *473 + default: *478 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *285 + schema: *288 examples: - default: *473 + default: *478 '401': *25 '403': *29 '404': *6 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -85281,10 +85587,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: - - *365 - - *366 - - *598 - - *161 + - *370 + - *371 + - *603 + - *164 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -85294,7 +85600,7 @@ paths: enum: - asc - desc - - *141 + - *144 - *17 - *19 responses: @@ -85304,9 +85610,9 @@ paths: application/json: schema: type: array - items: *594 + items: *599 examples: - default: *599 + default: *604 headers: Link: *39 x-github: @@ -85339,9 +85645,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: - - *365 - - *366 - - *598 + - *370 + - *371 + - *603 requestBody: required: true content: @@ -85446,7 +85752,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *599 examples: example-for-a-multi-line-comment: value: @@ -85534,10 +85840,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: - - *365 - - *366 - - *598 - - *150 + - *370 + - *371 + - *603 + - *153 requestBody: required: true content: @@ -85559,7 +85865,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *599 examples: default: value: @@ -85645,9 +85951,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *365 - - *366 - - *598 + - *370 + - *371 + - *603 - *17 - *19 responses: @@ -85657,9 +85963,9 @@ paths: application/json: schema: type: array - items: *484 + items: *489 examples: - default: *600 + default: *605 headers: Link: *39 x-github: @@ -85689,9 +85995,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *365 - - *366 - - *598 + - *370 + - *371 + - *603 - *17 - *19 responses: @@ -85701,7 +86007,7 @@ paths: application/json: schema: type: array - items: *499 + items: *504 examples: default: value: @@ -85719,8 +86025,8 @@ paths: headers: Link: *39 '422': *15 - '500': *97 - '503': *129 + '500': *99 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85739,9 +86045,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: - - *365 - - *366 - - *598 + - *370 + - *371 + - *603 responses: '204': description: Response if pull request has been merged @@ -85764,9 +86070,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *365 - - *366 - - *598 + - *370 + - *371 + - *603 requestBody: required: false content: @@ -85877,9 +86183,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: - - *365 - - *366 - - *598 + - *370 + - *371 + - *603 responses: '200': description: Response @@ -85895,7 +86201,7 @@ paths: items: *4 teams: type: array - items: *281 + items: *284 required: - users - teams @@ -85954,9 +86260,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: - - *365 - - *366 - - *598 + - *370 + - *371 + - *603 requestBody: required: false content: @@ -85993,7 +86299,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *596 examples: default: value: @@ -86529,9 +86835,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: - - *365 - - *366 - - *598 + - *370 + - *371 + - *603 requestBody: required: true content: @@ -86565,7 +86871,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *596 examples: default: value: @@ -87070,9 +87376,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *365 - - *366 - - *598 + - *370 + - *371 + - *603 - *17 - *19 responses: @@ -87082,7 +87388,7 @@ paths: application/json: schema: type: array - items: &601 + items: &606 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -87151,7 +87457,7 @@ paths: type: string body_text: type: string - author_association: *138 + author_association: *141 required: - id - node_id @@ -87233,9 +87539,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: - - *365 - - *366 - - *598 + - *370 + - *371 + - *603 requestBody: required: false content: @@ -87321,9 +87627,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *606 examples: - default: &603 + default: &608 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -87386,10 +87692,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: - - *365 - - *366 - - *598 - - &602 + - *370 + - *371 + - *603 + - &607 name: review_id description: The unique identifier of the review. in: path @@ -87401,9 +87707,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *606 examples: - default: &604 + default: &609 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -87462,10 +87768,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: - - *365 - - *366 - - *598 - - *602 + - *370 + - *371 + - *603 + - *607 requestBody: required: true content: @@ -87488,7 +87794,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *606 examples: default: value: @@ -87550,18 +87856,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: - - *365 - - *366 - - *598 - - *602 + - *370 + - *371 + - *603 + - *607 responses: '200': description: Response content: application/json: - schema: *601 + schema: *606 examples: - default: *603 + default: *608 '422': *7 '404': *6 x-github: @@ -87588,10 +87894,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: - - *365 - - *366 - - *598 - - *602 + - *370 + - *371 + - *603 + - *607 - *17 - *19 responses: @@ -87670,13 +87976,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *138 + author_association: *141 _links: type: object properties: - self: *490 - html: *490 - pull_request: *490 + self: *495 + html: *495 + pull_request: *495 required: - self - html @@ -87685,7 +87991,7 @@ paths: type: string body_html: type: string - reactions: *139 + reactions: *142 side: description: The side of the first line of the range for a multi-line comment. @@ -87819,10 +88125,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: - - *365 - - *366 - - *598 - - *602 + - *370 + - *371 + - *603 + - *607 requestBody: required: true content: @@ -87850,7 +88156,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *606 examples: default: value: @@ -87913,10 +88219,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: - - *365 - - *366 - - *598 - - *602 + - *370 + - *371 + - *603 + - *607 requestBody: required: true content: @@ -87951,9 +88257,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *606 examples: - default: *604 + default: *609 '404': *6 '422': *7 '403': *29 @@ -87975,9 +88281,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *365 - - *366 - - *598 + - *370 + - *371 + - *603 requestBody: required: false content: @@ -88040,8 +88346,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *365 - - *366 + - *370 + - *371 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -88054,9 +88360,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *610 examples: - default: &606 + default: &611 value: type: file encoding: base64 @@ -88098,8 +88404,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: - - *365 - - *366 + - *370 + - *371 - name: dir description: The alternate path to look for a README file in: path @@ -88119,9 +88425,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *610 examples: - default: *606 + default: *611 '404': *6 '422': *15 x-github: @@ -88143,8 +88449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -88154,7 +88460,7 @@ paths: application/json: schema: type: array - items: &607 + items: &612 title: Release description: A release. type: object @@ -88217,7 +88523,7 @@ paths: author: *4 assets: type: array - items: &608 + items: &613 title: Release Asset description: Data related to a release. type: object @@ -88288,7 +88594,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *139 + reactions: *142 required: - assets_url - upload_url @@ -88398,8 +88704,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -88475,9 +88781,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *612 examples: - default: &611 + default: &616 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -88580,9 +88886,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *365 - - *366 - - &609 + - *370 + - *371 + - &614 name: asset_id description: The unique identifier of the asset. in: path @@ -88594,9 +88900,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *613 examples: - default: &610 + default: &615 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 @@ -88630,7 +88936,7 @@ paths: type: User site_admin: false '404': *6 - '302': *501 + '302': *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88646,9 +88952,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *365 - - *366 - - *609 + - *370 + - *371 + - *614 requestBody: required: false content: @@ -88676,9 +88982,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *613 examples: - default: *610 + default: *615 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88694,9 +89000,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *365 - - *366 - - *609 + - *370 + - *371 + - *614 responses: '204': description: Response @@ -88720,8 +89026,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: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -88806,16 +89112,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: *607 + schema: *612 examples: - default: *611 + default: *616 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88832,8 +89138,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *365 - - *366 + - *370 + - *371 - name: tag description: tag parameter in: path @@ -88846,9 +89152,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *612 examples: - default: *611 + default: *616 '404': *6 x-github: githubCloudOnly: false @@ -88870,9 +89176,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *365 - - *366 - - &612 + - *370 + - *371 + - &617 name: release_id description: The unique identifier of the release. in: path @@ -88886,9 +89192,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: *607 + schema: *612 examples: - default: *611 + default: *616 '401': description: Unauthorized x-github: @@ -88906,9 +89212,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *365 - - *366 - - *612 + - *370 + - *371 + - *617 requestBody: required: false content: @@ -88972,9 +89278,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *612 examples: - default: *611 + default: *616 '404': description: Not Found if the discussion category name is invalid content: @@ -88995,9 +89301,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *365 - - *366 - - *612 + - *370 + - *371 + - *617 responses: '204': description: Response @@ -89017,9 +89323,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *365 - - *366 - - *612 + - *370 + - *371 + - *617 - *17 - *19 responses: @@ -89029,7 +89335,7 @@ paths: application/json: schema: type: array - items: *608 + items: *613 examples: default: value: @@ -89110,9 +89416,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: - - *365 - - *366 - - *612 + - *370 + - *371 + - *617 - name: name in: query required: true @@ -89138,7 +89444,7 @@ paths: description: Response for successful upload content: application/json: - schema: *608 + schema: *613 examples: response-for-successful-upload: value: @@ -89192,9 +89498,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *365 - - *366 - - *612 + - *370 + - *371 + - *617 - 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. @@ -89218,9 +89524,9 @@ paths: application/json: schema: type: array - items: *354 + items: *359 examples: - default: *356 + default: *361 headers: Link: *39 '404': *6 @@ -89241,9 +89547,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *365 - - *366 - - *612 + - *370 + - *371 + - *617 requestBody: required: true content: @@ -89273,16 +89579,16 @@ paths: description: Reaction exists content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 '201': description: Reaction created content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 '422': *15 x-github: githubCloudOnly: false @@ -89304,10 +89610,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *365 - - *366 - - *612 - - *357 + - *370 + - *371 + - *617 + - *362 responses: '204': description: Response @@ -89331,9 +89637,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 - *17 - *19 responses: @@ -89349,8 +89655,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *613 - - &615 + - *618 + - &620 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -89369,54 +89675,54 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *614 - - *615 - - allOf: - - *616 - - *615 - - allOf: - - *617 - - *615 - - allOf: - - *618 - - *615 - allOf: - *619 - - *615 - - allOf: - *620 - - *615 - allOf: - *621 - - *615 + - *620 - allOf: - *622 - - *615 + - *620 - allOf: - *623 - - *615 + - *620 - allOf: - *624 - - *615 + - *620 - allOf: - *625 - - *615 + - *620 - allOf: - *626 - - *615 + - *620 - allOf: - *627 - - *615 + - *620 - allOf: - *628 - - *615 + - *620 - allOf: - *629 - - *615 + - *620 - allOf: - *630 - - *615 + - *620 + - allOf: + - *631 + - *620 + - allOf: + - *632 + - *620 + - allOf: + - *633 + - *620 + - allOf: + - *634 + - *620 + - allOf: + - *635 + - *620 examples: default: value: @@ -89455,8 +89761,8 @@ paths: category: repos subcategory: rules parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 - name: includes_parents @@ -89467,7 +89773,7 @@ paths: schema: type: boolean default: true - - *631 + - *636 responses: '200': description: Response @@ -89475,7 +89781,7 @@ paths: application/json: schema: type: array - items: *126 + items: *128 examples: default: value: @@ -89506,7 +89812,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *97 + '500': *99 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -89522,8 +89828,8 @@ paths: category: repos subcategory: rules parameters: - - *365 - - *366 + - *370 + - *371 requestBody: description: Request body required: true @@ -89543,16 +89849,16 @@ paths: - tag - push default: branch - enforcement: *123 + enforcement: *125 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *124 - conditions: *119 + items: *126 + conditions: *121 rules: type: array description: An array of rules within the ruleset. - items: *125 + items: *127 required: - name - enforcement @@ -89583,9 +89889,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *128 examples: - default: &640 + default: &645 value: id: 42 name: super cool ruleset @@ -89618,7 +89924,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *97 + '500': *99 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -89632,12 +89938,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *365 - - *366 - - *632 - - *219 - - *633 - - *634 + - *370 + - *371 + - *637 + - *222 + - *638 + - *639 - *17 - *19 responses: @@ -89645,11 +89951,11 @@ paths: description: Response content: application/json: - schema: *635 + schema: *640 examples: - default: *636 + default: *641 '404': *6 - '500': *97 + '500': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89668,19 +89974,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *365 - - *366 - - *637 + - *370 + - *371 + - *642 responses: '200': description: Response content: application/json: - schema: *638 + schema: *643 examples: - default: *639 + default: *644 '404': *6 - '500': *97 + '500': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89706,8 +90012,8 @@ paths: category: repos subcategory: rules parameters: - - *365 - - *366 + - *370 + - *371 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89727,11 +90033,11 @@ paths: description: Response content: application/json: - schema: *126 + schema: *128 examples: - default: *640 + default: *645 '404': *6 - '500': *97 + '500': *99 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -89747,8 +90053,8 @@ paths: category: repos subcategory: rules parameters: - - *365 - - *366 + - *370 + - *371 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89773,16 +90079,16 @@ paths: - branch - tag - push - enforcement: *123 + enforcement: *125 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *124 - conditions: *119 + items: *126 + conditions: *121 rules: description: An array of rules within the ruleset. type: array - items: *125 + items: *127 examples: default: value: @@ -89810,11 +90116,11 @@ paths: description: Response content: application/json: - schema: *126 + schema: *128 examples: - default: *640 + default: *645 '404': *6 - '500': *97 + '500': *99 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -89830,8 +90136,8 @@ paths: category: repos subcategory: rules parameters: - - *365 - - *366 + - *370 + - *371 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89842,7 +90148,114 @@ paths: '204': description: Response '404': *6 - '500': *97 + '500': *99 + "/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: + - *370 + - *371 + - *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: *131 + examples: + default: *326 + '404': *6 + '500': *99 + 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: + - *370 + - *371 + - 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: *327 + 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': *99 + 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 @@ -89859,20 +90272,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: - - *365 - - *366 - - *323 - - *324 - - *325 - - *326 - - *84 - - *19 - - *17 - - *641 - - *642 - - *327 + - *370 + - *371 - *328 - *329 + - *330 + - *331 + - *86 + - *19 + - *17 + - *646 + - *647 + - *332 + - *333 + - *334 responses: '200': description: Response @@ -89880,11 +90293,11 @@ paths: application/json: schema: type: array - items: &645 + items: &650 type: object properties: - number: *98 - created_at: *105 + number: *100 + created_at: *107 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -89892,15 +90305,15 @@ paths: format: date-time readOnly: true nullable: true - url: *103 - html_url: *104 + url: *105 + html_url: *106 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *643 - resolution: *644 + state: *648 + resolution: *649 resolved_at: type: string format: date-time @@ -90091,7 +90504,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90113,15 +90526,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: - - *365 - - *366 - - *453 + - *370 + - *371 + - *458 responses: '200': description: Response content: application/json: - schema: *645 + schema: *650 examples: default: value: @@ -90152,7 +90565,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90173,9 +90586,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: - - *365 - - *366 - - *453 + - *370 + - *371 + - *458 requestBody: required: true content: @@ -90183,8 +90596,8 @@ paths: schema: type: object properties: - state: *643 - resolution: *644 + state: *648 + resolution: *649 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -90202,7 +90615,7 @@ paths: description: Response content: application/json: - schema: *645 + schema: *650 examples: default: value: @@ -90255,7 +90668,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *129 + '503': *132 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -90277,9 +90690,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: - - *365 - - *366 - - *453 + - *370 + - *371 + - *458 - *19 - *17 responses: @@ -90290,7 +90703,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &805 + items: &810 type: object properties: type: @@ -90627,7 +91040,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90649,8 +91062,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: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -90658,14 +91071,14 @@ paths: schema: type: object properties: - reason: &647 + reason: &652 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *646 + placeholder_id: *651 required: - reason - placeholder_id @@ -90682,7 +91095,7 @@ paths: schema: type: object properties: - reason: *647 + reason: *652 expire_at: type: string format: date-time @@ -90705,7 +91118,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *129 + '503': *132 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -90725,13 +91138,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: - - *365 - - *366 + - *370 + - *371 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *129 + '503': *132 '200': description: Response content: @@ -90741,7 +91154,7 @@ paths: properties: incremental_scans: type: array - items: &648 + items: &653 description: Information on a single scan performed by secret scanning on the repository type: object @@ -90767,15 +91180,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *648 + items: *653 backfill_scans: type: array - items: *648 + items: *653 custom_pattern_backfill_scans: type: array items: allOf: - - *648 + - *653 - type: object properties: pattern_name: @@ -90845,9 +91258,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *365 - - *366 - - *84 + - *370 + - *371 + - *86 - name: sort description: The property to sort the results by. in: query @@ -90859,8 +91272,8 @@ paths: - updated - published default: created - - *82 - - *83 + - *84 + - *85 - 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)." @@ -90890,9 +91303,9 @@ paths: application/json: schema: type: array - items: *649 + items: *654 examples: - default: *650 + default: *655 '400': *14 '404': *6 x-github: @@ -90915,8 +91328,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: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -90989,7 +91402,7 @@ paths: login: type: string description: The username of the user credited. - type: *332 + type: *337 required: - login - type @@ -91076,9 +91489,9 @@ paths: description: Response content: application/json: - schema: *649 + schema: *654 examples: - default: &652 + default: &657 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -91311,8 +91724,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: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -91416,7 +91829,7 @@ paths: description: Response content: application/json: - schema: *649 + schema: *654 examples: default: value: @@ -91563,17 +91976,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: - - *365 - - *366 - - *651 + - *370 + - *371 + - *656 responses: '200': description: Response content: application/json: - schema: *649 + schema: *654 examples: - default: *652 + default: *657 '403': *29 '404': *6 x-github: @@ -91597,9 +92010,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: - - *365 - - *366 - - *651 + - *370 + - *371 + - *656 requestBody: required: true content: @@ -91672,7 +92085,7 @@ paths: login: type: string description: The username of the user credited. - type: *332 + type: *337 required: - login - type @@ -91758,17 +92171,17 @@ paths: description: Response content: application/json: - schema: *649 + schema: *654 examples: - default: *652 - add_credit: *652 + default: *657 + add_credit: *657 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *177 + schema: *180 examples: invalid_state_transition: value: @@ -91799,11 +92212,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: - - *365 - - *366 - - *651 + - *370 + - *371 + - *656 responses: - '202': *93 + '202': *95 '400': *14 '403': *29 '404': *6 @@ -91828,17 +92241,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: - - *365 - - *366 - - *651 + - *370 + - *371 + - *656 responses: '202': description: Response content: application/json: - schema: *378 + schema: *383 examples: - default: *380 + default: *385 '400': *14 '422': *15 '403': *29 @@ -91864,8 +92277,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -91964,8 +92377,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -91974,7 +92387,7 @@ paths: application/json: schema: type: array - items: &653 + items: &658 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -91986,8 +92399,8 @@ paths: - - 1302998400 - 1124 - -435 - '202': *93 - '204': *116 + '202': *95 + '204': *118 '422': description: Repository contains more than 10,000 commits x-github: @@ -92007,8 +92420,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -92056,8 +92469,8 @@ paths: - 0 total: 89 week: 1336280400 - '202': *93 - '204': *116 + '202': *95 + '204': *118 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92084,8 +92497,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -92158,8 +92571,8 @@ paths: a: 6898 d: 77 c: 10 - '202': *93 - '204': *116 + '202': *95 + '204': *118 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92181,8 +92594,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -92336,8 +92749,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -92347,7 +92760,7 @@ paths: application/json: schema: type: array - items: *653 + items: *658 examples: default: value: @@ -92360,7 +92773,7 @@ paths: - - 0 - 2 - 21 - '204': *116 + '204': *118 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92380,8 +92793,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *365 - - *366 + - *370 + - *371 - name: sha in: path required: true @@ -92435,7 +92848,7 @@ paths: description: Response content: application/json: - schema: *654 + schema: *659 examples: default: value: @@ -92489,8 +92902,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -92502,7 +92915,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 headers: Link: *39 x-github: @@ -92522,14 +92935,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &655 + schema: &660 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -92597,8 +93010,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: false content: @@ -92624,7 +93037,7 @@ paths: description: Response content: application/json: - schema: *655 + schema: *660 examples: default: value: @@ -92651,8 +93064,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Response @@ -92672,8 +93085,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -92752,8 +93165,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -92761,7 +93174,7 @@ paths: application/json: schema: type: array - items: &656 + items: &661 title: Tag protection description: Tag protection type: object @@ -92813,8 +93226,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: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -92837,7 +93250,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *661 examples: default: value: @@ -92868,8 +93281,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: - - *365 - - *366 + - *370 + - *371 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -92906,8 +93319,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *365 - - *366 + - *370 + - *371 - name: ref in: path required: true @@ -92943,8 +93356,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -92954,9 +93367,9 @@ paths: application/json: schema: type: array - items: *281 + items: *284 examples: - default: *296 + default: *299 headers: Link: *39 '404': *6 @@ -92976,8 +93389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *365 - - *366 + - *370 + - *371 - *19 - *17 responses: @@ -92985,7 +93398,7 @@ paths: description: Response content: application/json: - schema: &657 + schema: &662 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -92997,7 +93410,7 @@ paths: required: - names examples: - default: &658 + default: &663 value: names: - octocat @@ -93020,8 +93433,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -93052,9 +93465,9 @@ paths: description: Response content: application/json: - schema: *657 + schema: *662 examples: - default: *658 + default: *663 '404': *6 '422': *7 x-github: @@ -93075,9 +93488,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *365 - - *366 - - &659 + - *370 + - *371 + - &664 name: per description: The time frame to display results for. in: query @@ -93106,7 +93519,7 @@ paths: example: 128 clones: type: array - items: &660 + items: &665 title: Traffic type: object properties: @@ -93193,8 +93606,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -93284,8 +93697,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -93345,9 +93758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *365 - - *366 - - *659 + - *370 + - *371 + - *664 responses: '200': description: Response @@ -93366,7 +93779,7 @@ paths: example: 3782 views: type: array - items: *660 + items: *665 required: - uniques - count @@ -93443,8 +93856,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -93480,7 +93893,7 @@ paths: description: Response content: application/json: - schema: *194 + schema: *197 examples: default: value: @@ -93718,8 +94131,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: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -93742,8 +94155,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Response @@ -93765,8 +94178,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Response @@ -93792,8 +94205,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *365 - - *366 + - *370 + - *371 - name: ref in: path required: true @@ -93885,9 +94298,9 @@ paths: description: Response content: application/json: - schema: *378 + schema: *383 examples: - default: *380 + default: *385 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -93928,7 +94341,7 @@ paths: application/json: schema: type: array - items: *194 + items: *197 examples: default: value: @@ -94038,7 +94451,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &668 + - &673 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -94047,7 +94460,7 @@ paths: schema: type: string example: members - - &673 + - &678 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -94058,7 +94471,7 @@ paths: default: 1 format: int32 example: 1 - - &674 + - &679 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -94100,7 +94513,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &662 + items: &667 allOf: - type: object required: @@ -94175,7 +94588,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: &675 + meta: &680 type: object description: The metadata associated with the creation/updates to the user. @@ -94235,31 +94648,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &663 + '400': &668 description: Bad request content: application/json: - schema: *661 + schema: *666 application/scim+json: - schema: *661 - '401': &664 + schema: *666 + '401': &669 description: Authorization failure - '403': &665 + '403': &670 description: Permission denied - '429': &666 + '429': &671 description: Too many requests content: application/json: - schema: *661 + schema: *666 application/scim+json: - schema: *661 - '500': &667 + schema: *666 + '500': &672 description: Internal server error content: application/json: - schema: *661 + schema: *666 application/scim+json: - schema: *661 + schema: *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94283,7 +94696,7 @@ paths: required: true content: application/json: - schema: &671 + schema: &676 type: object required: - schemas @@ -94339,9 +94752,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *662 + schema: *667 examples: - group: &669 + group: &674 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -94360,13 +94773,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': *663 - '401': *664 - '403': *665 - '409': &672 + '400': *668 + '401': *669 + '403': *670 + '409': &677 description: Duplicate record detected - '429': *666 - '500': *667 + '429': *671 + '500': *672 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94383,7 +94796,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: - - &670 + - &675 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -94391,22 +94804,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *668 + - *673 - *40 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *662 + schema: *667 examples: - default: *669 - '400': *663 - '401': *664 - '403': *665 + default: *674 + '400': *668 + '401': *669 + '403': *670 '404': *6 - '429': *666 - '500': *667 + '429': *671 + '500': *672 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94425,13 +94838,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: - - *670 + - *675 - *40 requestBody: required: true content: application/json: - schema: *671 + schema: *676 examples: group: summary: Group @@ -94457,17 +94870,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *662 + schema: *667 examples: - group: *669 - groupWithMembers: *669 - '400': *663 - '401': *664 - '403': *665 + group: *674 + groupWithMembers: *674 + '400': *668 + '401': *669 + '403': *670 '404': *6 - '409': *672 - '429': *666 - '500': *667 + '409': *677 + '429': *671 + '500': *672 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94491,13 +94904,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: - - *670 + - *675 - *40 requestBody: required: true content: application/json: - schema: &682 + schema: &687 type: object required: - Operations @@ -94557,17 +94970,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *662 + schema: *667 examples: - updateGroup: *669 - addMembers: *669 - '400': *663 - '401': *664 - '403': *665 + updateGroup: *674 + addMembers: *674 + '400': *668 + '401': *669 + '403': *670 '404': *6 - '409': *672 - '429': *666 - '500': *667 + '409': *677 + '429': *671 + '500': *672 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94583,17 +94996,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: - - *670 + - *675 - *40 responses: '204': description: Group was deleted, no content - '400': *663 - '401': *664 - '403': *665 + '400': *668 + '401': *669 + '403': *670 '404': *6 - '429': *666 - '500': *667 + '429': *671 + '500': *672 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94627,8 +95040,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *673 - - *674 + - *678 + - *679 - *40 responses: '200': @@ -94661,7 +95074,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &677 + items: &682 allOf: - type: object required: @@ -94740,7 +95153,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &676 + roles: &681 type: array description: The roles assigned to the user. items: @@ -94796,7 +95209,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *675 + meta: *680 startIndex: type: integer description: A starting index for the returned page @@ -94833,11 +95246,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *663 - '401': *664 - '403': *665 - '429': *666 - '500': *667 + '400': *668 + '401': *669 + '403': *670 + '429': *671 + '500': *672 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94861,7 +95274,7 @@ paths: required: true content: application/json: - schema: &680 + schema: &685 type: object required: - schemas @@ -94943,9 +95356,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *676 + roles: *681 examples: - user: &681 + user: &686 summary: User value: schemas: @@ -94992,9 +95405,9 @@ paths: description: User has been created content: application/scim+json: - schema: *677 + schema: *682 examples: - user: &678 + user: &683 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -95020,13 +95433,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: *678 - '400': *663 - '401': *664 - '403': *665 - '409': *672 - '429': *666 - '500': *667 + enterpriseOwner: *683 + '400': *668 + '401': *669 + '403': *670 + '409': *677 + '429': *671 + '500': *672 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95043,7 +95456,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: - - &679 + - &684 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -95056,15 +95469,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *677 + schema: *682 examples: - default: *678 - '400': *663 - '401': *664 - '403': *665 + default: *683 + '400': *668 + '401': *669 + '403': *670 '404': *6 - '429': *666 - '500': *667 + '429': *671 + '500': *672 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95086,30 +95499,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: - - *679 + - *684 - *40 requestBody: required: true content: application/json: - schema: *680 + schema: *685 examples: - user: *681 + user: *686 responses: '200': description: User was updated content: application/scim+json: - schema: *677 + schema: *682 examples: - user: *678 - '400': *663 - '401': *664 - '403': *665 + user: *683 + '400': *668 + '401': *669 + '403': *670 '404': *6 - '409': *672 - '429': *666 - '500': *667 + '409': *677 + '429': *671 + '500': *672 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95144,13 +95557,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: - - *679 + - *684 - *40 requestBody: required: true content: application/json: - schema: *682 + schema: *687 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -95190,18 +95603,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *677 - examples: - userMultiValuedProperties: *678 - userSingleValuedProperties: *678 - disableUser: *678 - '400': *663 - '401': *664 - '403': *665 + schema: *682 + examples: + userMultiValuedProperties: *683 + userSingleValuedProperties: *683 + disableUser: *683 + '400': *668 + '401': *669 + '403': *670 '404': *6 - '409': *672 - '429': *666 - '500': *667 + '409': *677 + '429': *671 + '500': *672 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95221,17 +95634,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: - - *679 + - *684 - *40 responses: '204': description: User was deleted, no content - '400': *663 - '401': *664 - '403': *665 + '400': *668 + '401': *669 + '403': *670 '404': *6 - '429': *666 - '500': *667 + '429': *671 + '500': *672 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95264,7 +95677,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *174 + - *177 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -95318,7 +95731,7 @@ paths: example: 1 Resources: type: array - items: &683 + items: &688 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -95549,22 +95962,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &684 + '404': &689 description: Resource not found content: application/json: - schema: *661 + schema: *666 application/scim+json: - schema: *661 - '403': &685 + schema: *666 + '403': &690 description: Forbidden content: application/json: - schema: *661 + schema: *666 application/scim+json: - schema: *661 - '400': *663 - '429': *666 + schema: *666 + '400': *668 + '429': *671 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -95584,15 +95997,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *174 + - *177 responses: '201': description: Response content: application/scim+json: - schema: *683 + schema: *688 examples: - default: &686 + default: &691 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -95615,17 +96028,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *684 - '403': *685 - '500': *667 + '404': *689 + '403': *690 + '500': *672 '409': description: Conflict content: application/json: - schema: *661 + schema: *666 application/scim+json: - schema: *661 - '400': *663 + schema: *666 + '400': *668 requestBody: required: true content: @@ -95717,18 +96130,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: - - *174 - - *679 + - *177 + - *684 responses: '200': description: Response content: application/scim+json: - schema: *683 + schema: *688 examples: - default: *686 - '404': *684 - '403': *685 + default: *691 + '404': *689 + '403': *690 '304': *37 x-github: githubCloudOnly: true @@ -95751,19 +96164,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *174 - - *679 + - *177 + - *684 responses: '200': description: Response content: application/scim+json: - schema: *683 + schema: *688 examples: - default: *686 + default: *691 '304': *37 - '404': *684 - '403': *685 + '404': *689 + '403': *690 requestBody: required: true content: @@ -95871,20 +96284,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: - - *174 - - *679 + - *177 + - *684 responses: '200': description: Response content: application/scim+json: - schema: *683 + schema: *688 examples: - default: *686 + default: *691 '304': *37 - '404': *684 - '403': *685 - '400': *663 + '404': *689 + '403': *690 + '400': *668 '429': description: Response content: @@ -95974,13 +96387,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: - - *174 - - *679 + - *177 + - *684 responses: '204': description: Response - '404': *684 - '403': *685 + '404': *689 + '403': *690 '304': *37 x-github: githubCloudOnly: true @@ -96095,7 +96508,7 @@ paths: html_url: type: string format: uri - repository: *194 + repository: *197 score: type: number file_size: @@ -96113,7 +96526,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &687 + text_matches: &692 title: Search Result Text Matches type: array items: @@ -96227,7 +96640,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *129 + '503': *132 '422': *15 '403': *29 x-github: @@ -96276,7 +96689,7 @@ paths: enum: - author-date - committer-date - - &688 + - &693 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 @@ -96347,7 +96760,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *422 + properties: *427 nullable: true comment_count: type: integer @@ -96367,7 +96780,7 @@ paths: url: type: string format: uri - verification: *536 + verification: *541 required: - author - committer @@ -96386,7 +96799,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *422 + properties: *427 nullable: true parents: type: array @@ -96399,12 +96812,12 @@ paths: type: string sha: type: string - repository: *194 + repository: *197 score: type: number node_id: type: string - text_matches: *687 + text_matches: *692 required: - sha - node_id @@ -96597,7 +97010,7 @@ paths: - interactions - created - updated - - *688 + - *693 - *17 - *19 responses: @@ -96716,8 +97129,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *488 - required: *489 + properties: *493 + required: *494 nullable: true comments: type: integer @@ -96731,7 +97144,7 @@ paths: type: string format: date-time nullable: true - text_matches: *687 + text_matches: *692 pull_request: type: object properties: @@ -96764,7 +97177,7 @@ paths: type: string score: type: number - author_association: *138 + author_association: *141 draft: type: boolean repository: *63 @@ -96784,9 +97197,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 - reactions: *139 + properties: *139 + required: *140 + reactions: *142 required: - assignee - closed_at @@ -96902,7 +97315,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *129 + '503': *132 '422': *15 '304': *37 '403': *29 @@ -96955,7 +97368,7 @@ paths: enum: - created - updated - - *688 + - *693 - *17 - *19 responses: @@ -96999,7 +97412,7 @@ paths: nullable: true score: type: number - text_matches: *687 + text_matches: *692 required: - id - node_id @@ -97085,7 +97498,7 @@ paths: - forks - help-wanted-issues - updated - - *688 + - *693 - *17 - *19 responses: @@ -97304,8 +97717,8 @@ paths: title: License Simple description: License Simple type: object - properties: *152 - required: *153 + properties: *155 + required: *156 nullable: true permissions: type: object @@ -97324,7 +97737,7 @@ paths: - admin - pull - push - text_matches: *687 + text_matches: *692 temp_clone_token: type: string allow_merge_commit: @@ -97526,7 +97939,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *129 + '503': *132 '422': *15 '304': *37 x-github: @@ -97625,7 +98038,7 @@ paths: type: string format: uri nullable: true - text_matches: *687 + text_matches: *692 related: type: array nullable: true @@ -97818,7 +98231,7 @@ paths: - followers - repositories - joined - - *688 + - *693 - *17 - *19 responses: @@ -97922,7 +98335,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *687 + text_matches: *692 blog: type: string nullable: true @@ -97981,7 +98394,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *129 + '503': *132 '422': *15 x-github: githubCloudOnly: false @@ -98001,7 +98414,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &689 + - &694 name: team_id description: The unique identifier of the team. in: path @@ -98013,9 +98426,9 @@ paths: description: Response content: application/json: - schema: *346 + schema: *351 examples: - default: *347 + default: *352 '404': *6 x-github: githubCloudOnly: false @@ -98042,7 +98455,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *689 + - *694 requestBody: required: true content: @@ -98105,16 +98518,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *346 + schema: *351 examples: - default: *347 + default: *352 '201': description: Response content: application/json: - schema: *346 + schema: *351 examples: - default: *347 + default: *352 '404': *6 '422': *15 '403': *29 @@ -98142,7 +98555,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *689 + - *694 responses: '204': description: Response @@ -98173,8 +98586,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *689 - - *84 + - *694 + - *86 - *17 - *19 responses: @@ -98184,9 +98597,9 @@ paths: application/json: schema: type: array - items: *348 + items: *353 examples: - default: *690 + default: *695 headers: Link: *39 x-github: @@ -98215,7 +98628,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *689 + - *694 requestBody: required: true content: @@ -98249,9 +98662,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *353 examples: - default: *349 + default: *354 x-github: triggersNotification: true githubCloudOnly: false @@ -98278,16 +98691,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *689 - - *350 + - *694 + - *355 responses: '200': description: Response content: application/json: - schema: *348 + schema: *353 examples: - default: *349 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98312,8 +98725,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *689 - - *350 + - *694 + - *355 requestBody: required: false content: @@ -98336,9 +98749,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *353 examples: - default: *691 + default: *696 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98363,8 +98776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *689 - - *350 + - *694 + - *355 responses: '204': description: Response @@ -98393,9 +98806,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *689 - - *350 - - *84 + - *694 + - *355 + - *86 - *17 - *19 responses: @@ -98405,9 +98818,9 @@ paths: application/json: schema: type: array - items: *351 + items: *356 examples: - default: *692 + default: *697 headers: Link: *39 x-github: @@ -98436,8 +98849,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *689 - - *350 + - *694 + - *355 requestBody: required: true content: @@ -98459,9 +98872,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *356 examples: - default: *352 + default: *357 x-github: triggersNotification: true githubCloudOnly: false @@ -98488,17 +98901,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *689 - - *350 - - *353 + - *694 + - *355 + - *358 responses: '200': description: Response content: application/json: - schema: *351 + schema: *356 examples: - default: *352 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98523,9 +98936,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *689 - - *350 - - *353 + - *694 + - *355 + - *358 requestBody: required: true content: @@ -98547,9 +98960,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *356 examples: - default: *693 + default: *698 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98574,9 +98987,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *689 - - *350 - - *353 + - *694 + - *355 + - *358 responses: '204': description: Response @@ -98605,9 +99018,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: - - *689 - - *350 - - *353 + - *694 + - *355 + - *358 - 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. @@ -98633,9 +99046,9 @@ paths: application/json: schema: type: array - items: *354 + items: *359 examples: - default: *356 + default: *361 headers: Link: *39 x-github: @@ -98664,9 +99077,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: - - *689 - - *350 - - *353 + - *694 + - *355 + - *358 requestBody: required: true content: @@ -98698,9 +99111,9 @@ paths: description: Response content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98726,8 +99139,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: - - *689 - - *350 + - *694 + - *355 - 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. @@ -98753,9 +99166,9 @@ paths: application/json: schema: type: array - items: *354 + items: *359 examples: - default: *356 + default: *361 headers: Link: *39 x-github: @@ -98784,8 +99197,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: - - *689 - - *350 + - *694 + - *355 requestBody: required: true content: @@ -98817,9 +99230,9 @@ paths: description: Response content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98843,7 +99256,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *689 + - *694 - *17 - *19 responses: @@ -98853,9 +99266,9 @@ paths: application/json: schema: type: array - items: *278 + items: *281 examples: - default: *279 + default: *282 headers: Link: *39 x-github: @@ -98881,7 +99294,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *689 + - *694 - name: role description: Filters members returned by their role in the team. in: query @@ -98904,7 +99317,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 headers: Link: *39 '404': *6 @@ -98932,8 +99345,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *689 - - *216 + - *694 + - *219 responses: '204': description: if user is a member @@ -98969,8 +99382,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *689 - - *216 + - *694 + - *219 responses: '204': description: Response @@ -99009,8 +99422,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *689 - - *216 + - *694 + - *219 responses: '204': description: Response @@ -99046,16 +99459,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: - - *689 - - *216 + - *694 + - *219 responses: '200': description: Response content: application/json: - schema: *362 + schema: *367 examples: - response-if-user-is-a-team-maintainer: *694 + response-if-user-is-a-team-maintainer: *699 '404': *6 x-github: githubCloudOnly: false @@ -99088,8 +99501,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: - - *689 - - *216 + - *694 + - *219 requestBody: required: false content: @@ -99114,9 +99527,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *367 examples: - response-if-users-membership-with-team-is-now-pending: *695 + response-if-users-membership-with-team-is-now-pending: *700 '403': description: Forbidden if team synchronization is set up '422': @@ -99150,8 +99563,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: - - *689 - - *216 + - *694 + - *219 responses: '204': description: Response @@ -99180,7 +99593,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *689 + - *694 - *17 - *19 responses: @@ -99190,9 +99603,9 @@ paths: application/json: schema: type: array - items: *363 + items: *368 examples: - default: *696 + default: *701 headers: Link: *39 '404': *6 @@ -99219,16 +99632,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: - - *689 - - *364 + - *694 + - *369 responses: '200': description: Response content: application/json: - schema: *363 + schema: *368 examples: - default: *697 + default: *702 '404': description: Not Found if project is not managed by this team x-github: @@ -99253,8 +99666,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: - - *689 - - *364 + - *694 + - *369 requestBody: required: false content: @@ -99322,8 +99735,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: - - *689 - - *364 + - *694 + - *369 responses: '204': description: Response @@ -99350,7 +99763,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *689 + - *694 - *17 - *19 responses: @@ -99360,9 +99773,9 @@ paths: application/json: schema: type: array - items: *194 + items: *197 examples: - default: *303 + default: *306 headers: Link: *39 '404': *6 @@ -99392,15 +99805,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: - - *689 - - *365 - - *366 + - *694 + - *370 + - *371 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *698 + schema: *703 examples: alternative-response-with-extra-repository-information: value: @@ -99551,9 +99964,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: - - *689 - - *365 - - *366 + - *694 + - *370 + - *371 requestBody: required: false content: @@ -99603,9 +100016,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: - - *689 - - *365 - - *366 + - *694 + - *370 + - *371 responses: '204': description: Response @@ -99634,15 +100047,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: - - *689 + - *694 responses: '200': description: Response content: application/json: - schema: *367 + schema: *372 examples: - default: *368 + default: *373 '403': *29 '404': *6 x-github: @@ -99669,7 +100082,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: - - *689 + - *694 requestBody: required: true content: @@ -99726,7 +100139,7 @@ paths: description: Response content: application/json: - schema: *367 + schema: *372 examples: default: value: @@ -99757,7 +100170,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *689 + - *694 - *17 - *19 responses: @@ -99767,9 +100180,9 @@ paths: application/json: schema: type: array - items: *281 + items: *284 examples: - response-if-child-teams-exist: *699 + response-if-child-teams-exist: *704 headers: Link: *39 '404': *6 @@ -99802,7 +100215,7 @@ paths: application/json: schema: oneOf: - - &701 + - &706 title: Private User description: Private User type: object @@ -100005,7 +100418,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *700 + - *705 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -100158,7 +100571,7 @@ paths: description: Response content: application/json: - schema: *701 + schema: *706 examples: default: value: @@ -100237,7 +100650,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 '304': *37 '404': *6 '403': *29 @@ -100260,7 +100673,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: - - *216 + - *219 responses: '204': description: If the user is blocked @@ -100288,7 +100701,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *216 + - *219 responses: '204': description: Response @@ -100312,7 +100725,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *216 + - *219 responses: '204': description: Response @@ -100361,11 +100774,11 @@ paths: type: integer codespaces: type: array - items: *285 + items: *288 examples: - default: *286 + default: *289 '304': *37 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -100502,21 +100915,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *285 + schema: *288 examples: - default: *473 + default: *478 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *285 + schema: *288 examples: - default: *473 + default: *478 '401': *25 '403': *29 '404': *6 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100556,7 +100969,7 @@ paths: type: integer secrets: type: array - items: &702 + items: &707 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -100596,7 +101009,7 @@ paths: - visibility - selected_repositories_url examples: - default: *476 + default: *481 headers: Link: *39 x-github: @@ -100666,13 +101079,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: - - *204 + - *207 responses: '200': description: Response content: application/json: - schema: *702 + schema: *707 examples: default: value: @@ -100702,7 +101115,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: - - *204 + - *207 requestBody: required: true content: @@ -100747,7 +101160,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -100775,7 +101188,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: - - *204 + - *207 responses: '204': description: Response @@ -100800,7 +101213,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: - - *204 + - *207 responses: '200': description: Response @@ -100816,13 +101229,13 @@ paths: type: integer repositories: type: array - items: *194 + items: *197 examples: - default: *703 + default: *708 '401': *25 '403': *29 '404': *6 - '500': *97 + '500': *99 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100843,7 +101256,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: - - *204 + - *207 requestBody: required: true content: @@ -100875,7 +101288,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *97 + '500': *99 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100897,7 +101310,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: - - *204 + - *207 - name: repository_id in: path required: true @@ -100909,7 +101322,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *97 + '500': *99 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100930,7 +101343,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: - - *204 + - *207 - name: repository_id in: path required: true @@ -100942,7 +101355,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *97 + '500': *99 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100962,17 +101375,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: - - *287 + - *290 responses: '200': description: Response content: application/json: - schema: *285 + schema: *288 examples: - default: *473 + default: *478 '304': *37 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -100996,7 +101409,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: - - *287 + - *290 requestBody: required: false content: @@ -101026,9 +101439,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *288 examples: - default: *473 + default: *478 '401': *25 '403': *29 '404': *6 @@ -101050,11 +101463,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: - - *287 + - *290 responses: - '202': *93 + '202': *95 '304': *37 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -101079,13 +101492,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: - - *287 + - *290 responses: '202': description: Response content: application/json: - schema: &704 + schema: &709 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -101126,7 +101539,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &705 + default: &710 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -101134,7 +101547,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -101158,7 +101571,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *287 + - *290 - name: export_id in: path required: true @@ -101171,9 +101584,9 @@ paths: description: Response content: application/json: - schema: *704 + schema: *709 examples: - default: *705 + default: *710 '404': *6 x-github: githubCloudOnly: false @@ -101194,7 +101607,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *287 + - *290 responses: '200': description: Response @@ -101210,11 +101623,11 @@ paths: type: integer machines: type: array - items: *706 + items: *711 examples: - default: *707 + default: *712 '304': *37 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -101241,7 +101654,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: - - *287 + - *290 requestBody: required: true content: @@ -101291,13 +101704,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *378 + repository: *383 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *474 - required: *475 + properties: *479 + required: *480 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -102071,17 +102484,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: - - *287 + - *290 responses: '200': description: Response content: application/json: - schema: *285 + schema: *288 examples: - default: *473 + default: *478 '304': *37 - '500': *97 + '500': *99 '400': *14 '401': *25 '402': @@ -102091,7 +102504,7 @@ paths: schema: *3 '403': *29 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102111,16 +102524,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: - - *287 + - *290 responses: '200': description: Response content: application/json: - schema: *285 + schema: *288 examples: - default: *473 - '500': *97 + default: *478 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -102149,9 +102562,9 @@ paths: application/json: schema: type: array - items: *297 + items: *300 examples: - default: &720 + default: &725 value: - id: 197 name: hello_docker @@ -102252,7 +102665,7 @@ paths: application/json: schema: type: array - items: &708 + items: &713 title: Email description: Email type: object @@ -102317,9 +102730,9 @@ paths: application/json: schema: type: array - items: *708 + items: *713 examples: - default: &722 + default: &727 value: - email: octocat@github.com verified: true @@ -102394,7 +102807,7 @@ paths: application/json: schema: type: array - items: *708 + items: *713 examples: default: value: @@ -102504,7 +102917,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 headers: Link: *39 '304': *37 @@ -102537,7 +102950,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 headers: Link: *39 '304': *37 @@ -102559,7 +102972,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: - - *216 + - *219 responses: '204': description: if the person is followed by the authenticated user @@ -102589,7 +103002,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *216 + - *219 responses: '204': description: Response @@ -102614,7 +103027,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *216 + - *219 responses: '204': description: Response @@ -102650,7 +103063,7 @@ paths: application/json: schema: type: array - items: &709 + items: &714 title: GPG Key description: A unique encryption key type: object @@ -102781,7 +103194,7 @@ paths: - subkeys - revoked examples: - default: &733 + default: &738 value: - id: 3 name: Octocat's GPG Key @@ -102866,9 +103279,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *714 examples: - default: &710 + default: &715 value: id: 3 name: Octocat's GPG Key @@ -102925,7 +103338,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: - - &711 + - &716 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -102937,9 +103350,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *714 examples: - default: *710 + default: *715 '404': *6 '304': *37 '403': *29 @@ -102962,7 +103375,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: - - *711 + - *716 responses: '204': description: Response @@ -103153,7 +103566,7 @@ paths: type: array items: *63 examples: - default: *712 + default: *717 headers: Link: *39 '404': *6 @@ -103178,7 +103591,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *189 + - *192 responses: '204': description: Response @@ -103204,7 +103617,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *189 + - *192 responses: '204': description: Response @@ -103238,12 +103651,12 @@ paths: application/json: schema: anyOf: - - *276 + - *279 - type: object properties: {} additionalProperties: false examples: - default: *277 + default: *280 '204': description: Response when there are no restrictions x-github: @@ -103267,7 +103680,7 @@ paths: required: true content: application/json: - schema: *547 + schema: *552 examples: default: value: @@ -103278,7 +103691,7 @@ paths: description: Response content: application/json: - schema: *276 + schema: *279 examples: default: value: @@ -103359,7 +103772,7 @@ paths: - closed - all default: open - - *282 + - *285 - name: sort description: What to sort results by. in: query @@ -103371,8 +103784,8 @@ paths: - updated - comments default: created - - *84 - - *141 + - *86 + - *144 - *17 - *19 responses: @@ -103382,9 +103795,9 @@ paths: application/json: schema: type: array - items: *151 + items: *154 examples: - default: *283 + default: *286 headers: Link: *39 '404': *6 @@ -103417,7 +103830,7 @@ paths: application/json: schema: type: array - items: &713 + items: &718 title: Key description: Key type: object @@ -103514,9 +103927,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *718 examples: - default: &714 + default: &719 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103549,15 +103962,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: - - *576 + - *581 responses: '200': description: Response content: application/json: - schema: *713 + schema: *718 examples: - default: *714 + default: *719 '404': *6 '304': *37 '403': *29 @@ -103580,7 +103993,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: - - *576 + - *581 responses: '204': description: Response @@ -103613,7 +104026,7 @@ paths: application/json: schema: type: array - items: &715 + items: &720 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -103670,7 +104083,7 @@ paths: - id - type - login - plan: *155 + plan: *158 required: - billing_cycle - next_billing_date @@ -103681,7 +104094,7 @@ paths: - account - plan examples: - default: &716 + default: &721 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -103743,9 +104156,9 @@ paths: application/json: schema: type: array - items: *715 + items: *720 examples: - default: *716 + default: *721 headers: Link: *39 '304': *37 @@ -103785,7 +104198,7 @@ paths: application/json: schema: type: array - items: *288 + items: *291 examples: default: value: @@ -103887,13 +104300,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: - - *174 + - *177 responses: '200': description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -103951,7 +104364,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: - - *174 + - *177 requestBody: required: true content: @@ -103976,7 +104389,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -104044,7 +104457,7 @@ paths: application/json: schema: type: array - items: *290 + items: *293 examples: default: value: @@ -104297,7 +104710,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *293 examples: default: value: @@ -104477,7 +104890,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *291 + - *294 - name: exclude in: query required: false @@ -104490,7 +104903,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *293 examples: default: value: @@ -104684,7 +105097,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *291 + - *294 responses: '302': description: Response @@ -104710,7 +105123,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *291 + - *294 responses: '204': description: Response @@ -104739,8 +105152,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *291 - - *717 + - *294 + - *722 responses: '204': description: Response @@ -104764,7 +105177,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *291 + - *294 - *17 - *19 responses: @@ -104774,9 +105187,9 @@ paths: application/json: schema: type: array - items: *194 + items: *197 examples: - default: *303 + default: *306 headers: Link: *39 '404': *6 @@ -104813,7 +105226,7 @@ paths: type: array items: *58 examples: - default: *718 + default: *723 headers: Link: *39 '304': *37 @@ -104855,7 +105268,7 @@ paths: - docker - nuget - container - - *719 + - *724 - *19 - *17 responses: @@ -104865,10 +105278,10 @@ paths: application/json: schema: type: array - items: *297 + items: *300 examples: - default: *720 - '400': *721 + default: *725 + '400': *726 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104888,16 +105301,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: - - *299 - - *300 + - *302 + - *303 responses: '200': description: Response content: application/json: - schema: *297 + schema: *300 examples: - default: &734 + default: &739 value: id: 40201 name: octo-name @@ -105010,8 +105423,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: - - *299 - - *300 + - *302 + - *303 responses: '204': description: Response @@ -105041,8 +105454,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: - - *299 - - *300 + - *302 + - *303 - name: token description: package token schema: @@ -105074,8 +105487,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: - - *299 - - *300 + - *302 + - *303 - *19 - *17 - name: state @@ -105095,7 +105508,7 @@ paths: application/json: schema: type: array - items: *301 + items: *304 examples: default: value: @@ -105144,15 +105557,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: - - *299 - - *300 - *302 + - *303 + - *305 responses: '200': description: Response content: application/json: - schema: *301 + schema: *304 examples: default: value: @@ -105188,9 +105601,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: - - *299 - - *300 - *302 + - *303 + - *305 responses: '204': description: Response @@ -105220,9 +105633,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: - - *299 - - *300 - *302 + - *303 + - *305 responses: '204': description: Response @@ -105278,7 +105691,7 @@ paths: description: Response content: application/json: - schema: *312 + schema: *315 examples: default: value: @@ -105350,9 +105763,9 @@ paths: application/json: schema: type: array - items: *708 + items: *713 examples: - default: *722 + default: *727 headers: Link: *39 '304': *37 @@ -105465,7 +105878,7 @@ paths: type: array items: *63 examples: - default: &729 + default: &734 summary: Default response value: - id: 1296269 @@ -105767,9 +106180,9 @@ paths: description: Response content: application/json: - schema: *378 + schema: *383 examples: - default: *380 + default: *385 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105807,9 +106220,9 @@ paths: application/json: schema: type: array - items: *549 + items: *554 examples: - default: *723 + default: *728 headers: Link: *39 '304': *37 @@ -105832,12 +106245,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *280 + - *283 responses: '204': description: Response '403': *29 - '409': *92 + '409': *94 '404': *6 '304': *37 x-github: @@ -105855,11 +106268,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *280 + - *283 responses: '204': description: Response - '409': *92 + '409': *94 '304': *37 '404': *6 '403': *29 @@ -105888,7 +106301,7 @@ paths: application/json: schema: type: array - items: &724 + items: &729 title: Social account description: Social media account type: object @@ -105903,7 +106316,7 @@ paths: - provider - url examples: - default: &725 + default: &730 value: - provider: twitter url: https://twitter.com/github @@ -105965,9 +106378,9 @@ paths: application/json: schema: type: array - items: *724 + items: *729 examples: - default: *725 + default: *730 '422': *15 '304': *37 '404': *6 @@ -106054,7 +106467,7 @@ paths: application/json: schema: type: array - items: &726 + items: &731 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -106074,7 +106487,7 @@ paths: - title - created_at examples: - default: &735 + default: &740 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -106140,9 +106553,9 @@ paths: description: Response content: application/json: - schema: *726 + schema: *731 examples: - default: &727 + default: &732 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -106173,7 +106586,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: - - &728 + - &733 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -106185,9 +106598,9 @@ paths: description: Response content: application/json: - schema: *726 + schema: *731 examples: - default: *727 + default: *732 '404': *6 '304': *37 '403': *29 @@ -106210,7 +106623,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: - - *728 + - *733 responses: '204': description: Response @@ -106239,7 +106652,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: - - &736 + - &741 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 @@ -106252,7 +106665,7 @@ paths: - created - updated default: created - - *84 + - *86 - *17 - *19 responses: @@ -106264,11 +106677,11 @@ paths: type: array items: *63 examples: - default-response: *729 + default-response: *734 application/vnd.github.v3.star+json: schema: type: array - items: &737 + items: &742 title: Starred Repository description: Starred Repository type: object @@ -106424,8 +106837,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: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Response if this repository is starred by you @@ -106453,8 +106866,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: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Response @@ -106478,8 +106891,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: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Response @@ -106512,9 +106925,9 @@ paths: application/json: schema: type: array - items: *194 + items: *197 examples: - default: *303 + default: *306 headers: Link: *39 '304': *37 @@ -106551,7 +106964,7 @@ paths: application/json: schema: type: array - items: *346 + items: *351 examples: default: value: @@ -106629,7 +107042,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *157 + - *160 responses: '200': description: Response @@ -106637,10 +107050,10 @@ paths: application/json: schema: oneOf: - - *701 - - *700 + - *706 + - *705 examples: - default-response: &731 + default-response: &736 summary: Default response value: login: octocat @@ -106675,7 +107088,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &732 + response-with-git-hub-plan-information: &737 summary: Response with GitHub plan information value: login: octocat @@ -106735,7 +107148,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *730 + - *735 - *17 responses: '200': @@ -106746,7 +107159,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 headers: Link: example: ; rel="next" @@ -106776,7 +107189,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *216 + - *219 responses: '200': description: Response @@ -106784,11 +107197,11 @@ paths: application/json: schema: oneOf: - - *701 - - *700 + - *706 + - *705 examples: - default-response: *731 - response-with-git-hub-plan-information: *732 + default-response: *736 + response-with-git-hub-plan-information: *737 '404': *6 x-github: githubCloudOnly: false @@ -106812,9 +107225,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations parameters: - *17 - - *82 - - *83 - - *216 + - *84 + - *85 + - *219 - name: subject_digest description: Subject Digest in: path @@ -106916,7 +107329,7 @@ paths: description: Response content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -106942,7 +107355,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: - - *216 + - *219 responses: '200': description: Response @@ -106950,9 +107363,9 @@ paths: application/json: schema: type: array - items: *297 + items: *300 examples: - default: *720 + default: *725 '403': *29 '401': *25 x-github: @@ -106975,7 +107388,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *216 + - *219 - *17 - *19 responses: @@ -106985,7 +107398,7 @@ paths: application/json: schema: type: array - items: *163 + items: *166 examples: default: value: @@ -107056,8 +107469,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: - - *216 - - *174 + - *219 + - *177 - *17 - *19 responses: @@ -107067,7 +107480,7 @@ paths: application/json: schema: type: array - items: *163 + items: *166 examples: default: value: @@ -107146,7 +107559,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *216 + - *219 - *17 - *19 responses: @@ -107156,7 +107569,7 @@ paths: application/json: schema: type: array - items: *163 + items: *166 examples: default: value: @@ -107223,7 +107636,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *216 + - *219 - *17 - *19 responses: @@ -107235,7 +107648,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 headers: Link: *39 x-github: @@ -107254,7 +107667,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *216 + - *219 - *17 - *19 responses: @@ -107266,7 +107679,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 headers: Link: *39 x-github: @@ -107285,7 +107698,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: - - *216 + - *219 - name: target_user in: path required: true @@ -107312,8 +107725,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *216 - - *141 + - *219 + - *144 - *17 - *19 responses: @@ -107323,9 +107736,9 @@ paths: application/json: schema: type: array - items: *142 + items: *145 examples: - default: *143 + default: *146 headers: Link: *39 '422': *15 @@ -107346,7 +107759,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: - - *216 + - *219 - *17 - *19 responses: @@ -107356,9 +107769,9 @@ paths: application/json: schema: type: array - items: *709 + items: *714 examples: - default: *733 + default: *738 headers: Link: *39 x-github: @@ -107382,7 +107795,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *216 + - *219 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -107454,7 +107867,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: - - *216 + - *219 responses: '200': description: Response @@ -107462,7 +107875,7 @@ paths: application/json: schema: *22 examples: - default: *546 + default: *551 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107480,7 +107893,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *216 + - *219 - *17 - *19 responses: @@ -107528,7 +107941,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *216 + - *219 - *17 - *19 responses: @@ -107540,7 +107953,7 @@ paths: type: array items: *58 examples: - default: *718 + default: *723 headers: Link: *39 x-github: @@ -107579,8 +107992,8 @@ paths: - docker - nuget - container - - *719 - - *216 + - *724 + - *219 - *19 - *17 responses: @@ -107590,12 +108003,12 @@ paths: application/json: schema: type: array - items: *297 + items: *300 examples: - default: *720 + default: *725 '403': *29 '401': *25 - '400': *721 + '400': *726 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107615,17 +108028,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *299 - - *300 - - *216 + - *302 + - *303 + - *219 responses: '200': description: Response content: application/json: - schema: *297 + schema: *300 examples: - default: *734 + default: *739 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107646,9 +108059,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *299 - - *300 - - *216 + - *302 + - *303 + - *219 responses: '204': description: Response @@ -107680,9 +108093,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *299 - - *300 - - *216 + - *302 + - *303 + - *219 - name: token description: package token schema: @@ -107714,9 +108127,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: - - *299 - - *300 - - *216 + - *302 + - *303 + - *219 responses: '200': description: Response @@ -107724,7 +108137,7 @@ paths: application/json: schema: type: array - items: *301 + items: *304 examples: default: value: @@ -107782,16 +108195,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: - - *299 - - *300 - *302 - - *216 + - *303 + - *305 + - *219 responses: '200': description: Response content: application/json: - schema: *301 + schema: *304 examples: default: value: @@ -107826,10 +108239,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *299 - - *300 - - *216 - *302 + - *303 + - *219 + - *305 responses: '204': description: Response @@ -107861,10 +108274,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *299 - - *300 - - *216 - *302 + - *303 + - *219 + - *305 responses: '204': description: Response @@ -107890,7 +108303,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-user-projects parameters: - - *216 + - *219 - name: state description: Indicates the state of the projects to return. in: query @@ -107911,7 +108324,7 @@ paths: application/json: schema: type: array - items: *312 + items: *315 examples: default: value: @@ -107973,7 +108386,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: - - *216 + - *219 - *17 - *19 responses: @@ -107983,7 +108396,7 @@ paths: application/json: schema: type: array - items: *163 + items: *166 examples: default: value: @@ -108062,7 +108475,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: - - *216 + - *219 - *17 - *19 responses: @@ -108072,7 +108485,7 @@ paths: application/json: schema: type: array - items: *163 + items: *166 examples: default: value: @@ -108149,7 +108562,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *216 + - *219 - name: type description: Limit results to repositories of the specified type. in: query @@ -108192,9 +108605,9 @@ paths: application/json: schema: type: array - items: *194 + items: *197 examples: - default: *303 + default: *306 headers: Link: *39 x-github: @@ -108218,15 +108631,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: - - *216 + - *219 responses: '200': description: Response content: application/json: - schema: *334 + schema: *339 examples: - default: *335 + default: *340 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108248,15 +108661,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: - - *216 + - *219 responses: '200': description: Response content: application/json: - schema: *338 + schema: *343 examples: - default: *339 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108278,15 +108691,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: - - *216 + - *219 responses: '200': description: Response content: application/json: - schema: *340 + schema: *345 examples: - default: *341 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108304,7 +108717,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: - - *216 + - *219 - *17 - *19 responses: @@ -108314,9 +108727,9 @@ paths: application/json: schema: type: array - items: *724 + items: *729 examples: - default: *725 + default: *730 headers: Link: *39 x-github: @@ -108336,7 +108749,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: - - *216 + - *219 - *17 - *19 responses: @@ -108346,9 +108759,9 @@ paths: application/json: schema: type: array - items: *726 + items: *731 examples: - default: *735 + default: *740 headers: Link: *39 x-github: @@ -108372,9 +108785,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *216 - - *736 - - *84 + - *219 + - *741 + - *86 - *17 - *19 responses: @@ -108385,11 +108798,11 @@ paths: schema: anyOf: - type: array - items: *737 + items: *742 - type: array items: *63 examples: - default-response: *729 + default-response: *734 headers: Link: *39 x-github: @@ -108408,7 +108821,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *216 + - *219 - *17 - *19 responses: @@ -108418,9 +108831,9 @@ paths: application/json: schema: type: array - items: *194 + items: *197 examples: - default: *303 + default: *306 headers: Link: *39 x-github: @@ -108548,7 +108961,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &738 + enterprise: &743 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -108606,7 +109019,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &739 + installation: &744 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -108625,7 +109038,7 @@ x-webhooks: required: - id - node_id - organization: &740 + organization: &745 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -108685,13 +109098,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &741 + repository: &746 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &778 + properties: &783 id: description: Unique identifier of the repository example: 42 @@ -108711,8 +109124,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *152 - required: *153 + properties: *155 + required: *156 nullable: true organization: title: Simple User @@ -109374,7 +109787,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &779 + required: &784 - archive_url - assignees_url - blobs_url @@ -109525,10 +109938,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -109604,11 +110017,11 @@ x-webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - rule: &742 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + rule: &747 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) @@ -109831,11 +110244,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - rule: *742 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + rule: *747 sender: *4 required: - action @@ -110018,11 +110431,11 @@ x-webhooks: - everyone required: - from - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - rule: *742 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + rule: *747 sender: *4 required: - action @@ -110095,7 +110508,7 @@ x-webhooks: required: true content: application/json: - schema: &745 + schema: &750 title: Exemption request cancellation event type: object properties: @@ -110103,11 +110516,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - exemption_request: &743 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + exemption_request: &748 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -110257,7 +110670,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &744 + items: &749 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -110367,7 +110780,7 @@ x-webhooks: required: true content: application/json: - schema: &746 + schema: &751 title: Exemption request completed event type: object properties: @@ -110375,11 +110788,11 @@ x-webhooks: type: string enum: - completed - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - exemption_request: *743 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + exemption_request: *748 sender: *4 required: - action @@ -110451,7 +110864,7 @@ x-webhooks: required: true content: application/json: - schema: &747 + schema: &752 title: Exemption request created event type: object properties: @@ -110459,11 +110872,11 @@ x-webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - exemption_request: *743 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + exemption_request: *748 sender: *4 required: - action @@ -110535,7 +110948,7 @@ x-webhooks: required: true content: application/json: - schema: &748 + schema: &753 title: Exemption response dismissed event type: object properties: @@ -110543,12 +110956,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - exemption_request: *743 - exemption_response: *744 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + exemption_request: *748 + exemption_response: *749 sender: *4 required: - action @@ -110622,7 +111035,7 @@ x-webhooks: required: true content: application/json: - schema: &749 + schema: &754 title: Exemption response submitted event type: object properties: @@ -110630,12 +111043,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - exemption_request: *743 - exemption_response: *744 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + exemption_request: *748 + exemption_response: *749 sender: *4 required: - action @@ -110708,7 +111121,7 @@ x-webhooks: required: true content: application/json: - schema: *745 + schema: *750 responses: '200': description: Return a 200 status to indicate that the data was received @@ -110775,7 +111188,7 @@ x-webhooks: required: true content: application/json: - schema: *746 + schema: *751 responses: '200': description: Return a 200 status to indicate that the data was received @@ -110842,7 +111255,7 @@ x-webhooks: required: true content: application/json: - schema: *747 + schema: *752 responses: '200': description: Return a 200 status to indicate that the data was received @@ -110909,7 +111322,7 @@ x-webhooks: required: true content: application/json: - schema: *748 + schema: *753 responses: '200': description: Return a 200 status to indicate that the data was received @@ -110977,7 +111390,7 @@ x-webhooks: required: true content: application/json: - schema: *749 + schema: *754 responses: '200': description: Return a 200 status to indicate that the data was received @@ -111055,7 +111468,7 @@ x-webhooks: type: string enum: - completed - check_run: &751 + check_run: &756 title: CheckRun description: A check performed on the code of a given code change type: object @@ -111069,8 +111482,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 check_suite: description: A suite of checks performed on the code of a given code change @@ -111118,8 +111531,8 @@ x-webhooks: type: string pull_requests: type: array - items: *435 - repository: *194 + items: *440 + repository: *197 status: example: completed type: string @@ -111156,7 +111569,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *750 + deployment: *755 details_url: example: https://example.com type: string @@ -111206,7 +111619,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *435 + items: *440 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -111241,9 +111654,9 @@ x-webhooks: - output - app - pull_requests - installation: *739 - organization: *740 - repository: *741 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - check_run @@ -111636,10 +112049,10 @@ x-webhooks: type: string enum: - created - check_run: *751 - installation: *739 - organization: *740 - repository: *741 + check_run: *756 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - check_run @@ -112035,10 +112448,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *751 - installation: *739 - organization: *740 - repository: *741 + check_run: *756 + installation: *744 + organization: *745 + repository: *746 requested_action: description: The action requested by the user. type: object @@ -112443,10 +112856,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *751 - installation: *739 - organization: *740 - repository: *741 + check_run: *756 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - check_run @@ -113423,10 +113836,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -114096,10 +114509,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -114763,10 +115176,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -114929,7 +115342,7 @@ x-webhooks: required: - login - id - dismissed_comment: *448 + dismissed_comment: *453 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -115074,20 +115487,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &752 + commit_oid: &757 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: *738 - installation: *739 - organization: *740 - ref: &753 + enterprise: *743 + installation: *744 + organization: *745 + ref: &758 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: *741 + repository: *746 sender: *4 required: - action @@ -115249,7 +115662,7 @@ x-webhooks: required: - login - id - dismissed_comment: *448 + dismissed_comment: *453 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -115410,12 +115823,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *752 - enterprise: *738 - installation: *739 - organization: *740 - ref: *753 - repository: *741 + commit_oid: *757 + enterprise: *743 + installation: *744 + organization: *745 + ref: *758 + repository: *746 sender: *4 required: - action @@ -115510,7 +115923,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *448 + dismissed_comment: *453 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115676,12 +116089,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *752 - enterprise: *738 - installation: *739 - organization: *740 - ref: *753 - repository: *741 + commit_oid: *757 + enterprise: *743 + installation: *744 + organization: *745 + ref: *758 + repository: *746 sender: *4 required: - action @@ -115844,7 +116257,7 @@ x-webhooks: required: - login - id - dismissed_comment: *448 + dismissed_comment: *453 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -116010,12 +116423,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *752 - enterprise: *738 - installation: *739 - organization: *740 - ref: *753 - repository: *741 + commit_oid: *757 + enterprise: *743 + installation: *744 + organization: *745 + ref: *758 + repository: *746 sender: *4 required: - action @@ -116112,7 +116525,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *448 + dismissed_comment: *453 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -116280,16 +116693,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 ref: 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 nullable: true - repository: *741 + repository: *746 sender: *4 required: - action @@ -116383,7 +116796,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *448 + dismissed_comment: *453 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -116523,12 +116936,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *752 - enterprise: *738 - installation: *739 - organization: *740 - ref: *753 - repository: *741 + commit_oid: *757 + enterprise: *743 + installation: *744 + organization: *745 + ref: *758 + repository: *746 sender: *4 required: - action @@ -116785,10 +117198,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -116868,18 +117281,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *740 - pusher_type: &754 + organization: *745 + pusher_type: &759 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &755 + ref: &760 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -116889,7 +117302,7 @@ x-webhooks: enum: - tag - branch - repository: *741 + repository: *746 sender: *4 required: - ref @@ -116971,10 +117384,10 @@ x-webhooks: type: string enum: - created - definition: *112 - enterprise: *738 - installation: *739 - organization: *740 + definition: *114 + enterprise: *743 + installation: *744 + organization: *745 sender: *4 required: - action @@ -117059,9 +117472,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 sender: *4 required: - action @@ -117138,10 +117551,10 @@ x-webhooks: type: string enum: - updated - definition: *112 - enterprise: *738 - installation: *739 - organization: *740 + definition: *114 + enterprise: *743 + installation: *744 + organization: *745 sender: *4 required: - action @@ -117218,19 +117631,19 @@ x-webhooks: type: string enum: - updated - enterprise: *738 - installation: *739 - repository: *741 - organization: *740 + enterprise: *743 + installation: *744 + repository: *746 + organization: *745 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *314 + items: *317 old_property_values: type: array description: The old custom property values for the repository. - items: *314 + items: *317 required: - action - repository @@ -117306,18 +117719,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *738 - installation: *739 - organization: *740 - pusher_type: *754 - ref: *755 + enterprise: *743 + installation: *744 + organization: *745 + pusher_type: *759 + ref: *760 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *741 + repository: *746 sender: *4 required: - ref @@ -117401,11 +117814,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *505 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + alert: *510 + installation: *744 + organization: *745 + enterprise: *743 + repository: *746 sender: *4 required: - action @@ -117489,11 +117902,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *505 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + alert: *510 + installation: *744 + organization: *745 + enterprise: *743 + repository: *746 sender: *4 required: - action @@ -117577,11 +117990,11 @@ x-webhooks: type: string enum: - created - alert: *505 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + alert: *510 + installation: *744 + organization: *745 + enterprise: *743 + repository: *746 sender: *4 required: - action @@ -117663,11 +118076,11 @@ x-webhooks: type: string enum: - dismissed - alert: *505 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + alert: *510 + installation: *744 + organization: *745 + enterprise: *743 + repository: *746 sender: *4 required: - action @@ -117749,11 +118162,11 @@ x-webhooks: type: string enum: - fixed - alert: *505 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + alert: *510 + installation: *744 + organization: *745 + enterprise: *743 + repository: *746 sender: *4 required: - action @@ -117836,11 +118249,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *505 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + alert: *510 + installation: *744 + organization: *745 + enterprise: *743 + repository: *746 sender: *4 required: - action @@ -117922,11 +118335,11 @@ x-webhooks: type: string enum: - reopened - alert: *505 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + alert: *510 + installation: *744 + organization: *745 + enterprise: *743 + repository: *746 sender: *4 required: - action @@ -118003,9 +118416,9 @@ x-webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - key: &756 + enterprise: *743 + installation: *744 + key: &761 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -118041,8 +118454,8 @@ x-webhooks: - verified - created_at - read_only - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -118119,11 +118532,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - key: *756 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + key: *761 + organization: *745 + repository: *746 sender: *4 required: - action @@ -118684,12 +119097,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 - workflow: &760 + workflow: &765 title: Workflow type: object nullable: true @@ -119415,13 +119828,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *511 + deployment: *516 pull_requests: type: array - items: *596 - repository: *741 - organization: *740 - installation: *739 + items: *601 + repository: *746 + organization: *745 + installation: *744 sender: *4 responses: '200': @@ -119492,7 +119905,7 @@ x-webhooks: type: string enum: - approved - approver: &757 + approver: &762 type: object properties: avatar_url: @@ -119535,11 +119948,11 @@ x-webhooks: type: string comment: type: string - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - reviewers: &758 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + reviewers: &763 type: array items: type: object @@ -119618,7 +120031,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &759 + workflow_job_run: &764 type: object properties: conclusion: @@ -120349,18 +120762,18 @@ x-webhooks: type: string enum: - rejected - approver: *757 + approver: *762 comment: type: string - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - reviewers: *758 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + reviewers: *763 sender: *4 since: type: string - workflow_job_run: *759 + workflow_job_run: *764 workflow_job_runs: type: array items: @@ -121064,13 +121477,13 @@ x-webhooks: type: string enum: - requested - enterprise: *738 + enterprise: *743 environment: type: string - installation: *739 - organization: *740 - repository: *741 - requestor: &765 + installation: *744 + organization: *745 + repository: *746 + requestor: &770 title: User type: object nullable: true @@ -122969,12 +123382,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 - workflow: *760 + workflow: *765 workflow_run: title: Deployment Workflow Run type: object @@ -123654,7 +124067,7 @@ x-webhooks: type: string enum: - answered - answer: &763 + answer: &768 type: object properties: author_association: @@ -123811,7 +124224,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &761 + discussion: &766 title: Discussion description: A Discussion in a repository. type: object @@ -124097,7 +124510,7 @@ x-webhooks: - id labels: type: array - items: *558 + items: *563 required: - repository_url - category @@ -124119,10 +124532,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -124249,11 +124662,11 @@ x-webhooks: - from required: - category - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *766 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -124336,11 +124749,11 @@ x-webhooks: type: string enum: - closed - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *766 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -124422,7 +124835,7 @@ x-webhooks: type: string enum: - created - comment: &762 + comment: &767 type: object properties: author_association: @@ -124579,11 +124992,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *766 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -124666,12 +125079,12 @@ x-webhooks: type: string enum: - deleted - comment: *762 - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + comment: *767 + discussion: *766 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -124766,12 +125179,12 @@ x-webhooks: - from required: - body - comment: *762 - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + comment: *767 + discussion: *766 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -124855,11 +125268,11 @@ x-webhooks: type: string enum: - created - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *766 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -124941,11 +125354,11 @@ x-webhooks: type: string enum: - deleted - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *766 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -125045,11 +125458,11 @@ x-webhooks: type: string required: - from - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *766 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -125131,10 +125544,10 @@ x-webhooks: type: string enum: - labeled - discussion: *761 - enterprise: *738 - installation: *739 - label: &764 + discussion: *766 + enterprise: *743 + installation: *744 + label: &769 title: Label type: object properties: @@ -125166,8 +125579,8 @@ x-webhooks: - color - default - description - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -125250,11 +125663,11 @@ x-webhooks: type: string enum: - locked - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *766 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -125336,11 +125749,11 @@ x-webhooks: type: string enum: - pinned - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *766 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -125422,11 +125835,11 @@ x-webhooks: type: string enum: - reopened - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *766 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -125511,16 +125924,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *761 - new_repository: *741 + new_discussion: *766 + new_repository: *746 required: - new_discussion - new_repository - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *766 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -125603,10 +126016,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *761 - old_answer: *763 - organization: *740 - repository: *741 + discussion: *766 + old_answer: *768 + organization: *745 + repository: *746 sender: *4 required: - action @@ -125688,12 +126101,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *761 - enterprise: *738 - installation: *739 - label: *764 - organization: *740 - repository: *741 + discussion: *766 + enterprise: *743 + installation: *744 + label: *769 + organization: *745 + repository: *746 sender: *4 required: - action @@ -125776,11 +126189,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *766 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -125862,11 +126275,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *766 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -125939,7 +126352,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *738 + enterprise: *743 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -126599,9 +127012,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *739 - organization: *740 - repository: *741 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - forkee @@ -126747,9 +127160,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 pages: description: The pages that were updated. type: array @@ -126786,7 +127199,7 @@ x-webhooks: - action - sha - html_url - repository: *741 + repository: *746 sender: *4 required: - pages @@ -126862,10 +127275,10 @@ x-webhooks: type: string enum: - created - enterprise: *738 + enterprise: *743 installation: *22 - organization: *740 - repositories: &766 + organization: *745 + repositories: &771 description: An array of repository objects that the installation can access. type: array @@ -126891,8 +127304,8 @@ x-webhooks: - name - full_name - private - repository: *741 - requester: *765 + repository: *746 + requester: *770 sender: *4 required: - action @@ -126967,11 +127380,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *738 + enterprise: *743 installation: *22 - organization: *740 - repositories: *766 - repository: *741 + organization: *745 + repositories: *771 + repository: *746 requester: nullable: true sender: *4 @@ -127047,11 +127460,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *738 + enterprise: *743 installation: *22 - organization: *740 - repositories: *766 - repository: *741 + organization: *745 + repositories: *771 + repository: *746 requester: nullable: true sender: *4 @@ -127127,10 +127540,10 @@ x-webhooks: type: string enum: - added - enterprise: *738 + enterprise: *743 installation: *22 - organization: *740 - repositories_added: &767 + organization: *745 + repositories_added: &772 description: An array of repository objects, which were added to the installation. type: array @@ -127176,15 +127589,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *741 - repository_selection: &768 + repository: *746 + repository_selection: &773 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *765 + requester: *770 sender: *4 required: - action @@ -127263,10 +127676,10 @@ x-webhooks: type: string enum: - removed - enterprise: *738 + enterprise: *743 installation: *22 - organization: *740 - repositories_added: *767 + organization: *745 + repositories_added: *772 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -127293,9 +127706,9 @@ x-webhooks: - name - full_name - private - repository: *741 - repository_selection: *768 - requester: *765 + repository: *746 + repository_selection: *773 + requester: *770 sender: *4 required: - action @@ -127374,11 +127787,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *738 + enterprise: *743 installation: *22 - organization: *740 - repositories: *766 - repository: *741 + organization: *745 + repositories: *771 + repository: *746 requester: nullable: true sender: *4 @@ -127557,10 +127970,10 @@ x-webhooks: type: string required: - from - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 target_type: type: string @@ -127639,11 +128052,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *738 + enterprise: *743 installation: *22 - organization: *740 - repositories: *766 - repository: *741 + organization: *745 + repositories: *771 + repository: *746 requester: nullable: true sender: *4 @@ -127767,8 +128180,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 reactions: title: Reactions type: object @@ -127895,8 +128308,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -129051,8 +129464,8 @@ x-webhooks: - state - locked - assignee - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -129132,7 +129545,7 @@ x-webhooks: type: string enum: - deleted - comment: &769 + comment: &774 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -129297,8 +129710,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -130451,8 +130864,8 @@ x-webhooks: - state - locked - assignee - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -130532,7 +130945,7 @@ x-webhooks: type: string enum: - edited - changes: &797 + changes: &802 description: The changes to the comment. type: object properties: @@ -130544,9 +130957,9 @@ x-webhooks: type: string required: - from - comment: *769 - enterprise: *738 - installation: *739 + comment: *774 + enterprise: *743 + installation: *744 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -131700,8 +132113,8 @@ x-webhooks: - state - locked - assignee - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -131783,10 +132196,10 @@ x-webhooks: type: string enum: - assigned - assignee: *765 - enterprise: *738 - installation: *739 - issue: &772 + assignee: *770 + enterprise: *743 + installation: *744 + issue: &777 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -132704,8 +133117,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -132785,8 +133198,8 @@ x-webhooks: type: string enum: - closed - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -133844,8 +134257,8 @@ x-webhooks: required: - state - closed_at - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -133924,8 +134337,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -134836,8 +135249,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -134916,8 +135329,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -135831,7 +136244,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &770 + milestone: &775 title: Milestone description: A collection of related issues and pull requests. type: object @@ -135969,8 +136382,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -136069,8 +136482,8 @@ x-webhooks: type: string required: - from - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -136988,9 +137401,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *764 - organization: *740 - repository: *741 + label: *769 + organization: *745 + repository: *746 sender: *4 required: - action @@ -137070,8 +137483,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137988,9 +138401,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *764 - organization: *740 - repository: *741 + label: *769 + organization: *745 + repository: *746 sender: *4 required: - action @@ -138070,8 +138483,8 @@ x-webhooks: type: string enum: - locked - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -138989,8 +139402,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -139069,8 +139482,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -139982,9 +140395,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *770 - organization: *740 - repository: *741 + milestone: *775 + organization: *745 + repository: *746 sender: *4 required: - action @@ -141445,8 +141858,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142363,8 +142776,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -142444,9 +142857,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *738 - installation: *739 - issue: &771 + enterprise: *743 + installation: *744 + issue: &776 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -143357,8 +143770,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -143437,8 +143850,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -144355,8 +144768,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -145818,11 +146231,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *738 - installation: *739 - issue: *771 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + issue: *776 + organization: *745 + repository: *746 sender: *4 required: - action @@ -145903,7 +146316,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &800 + assignee: &805 title: User type: object nullable: true @@ -145973,11 +146386,11 @@ x-webhooks: required: - login - id - enterprise: *738 - installation: *739 - issue: *772 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + issue: *777 + organization: *745 + repository: *746 sender: *4 required: - action @@ -146056,12 +146469,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *738 - installation: *739 - issue: *772 - label: *764 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + issue: *777 + label: *769 + organization: *745 + repository: *746 sender: *4 required: - action @@ -146141,8 +146554,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147058,8 +147471,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -147139,11 +147552,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *738 - installation: *739 - issue: *771 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + issue: *776 + organization: *745 + repository: *746 sender: *4 required: - action @@ -147222,11 +147635,11 @@ x-webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - label: *764 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + label: *769 + organization: *745 + repository: *746 sender: *4 required: - action @@ -147304,11 +147717,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - label: *764 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + label: *769 + organization: *745 + repository: *746 sender: *4 required: - action @@ -147418,11 +147831,11 @@ x-webhooks: type: string required: - from - enterprise: *738 - installation: *739 - label: *764 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + label: *769 + organization: *745 + repository: *746 sender: *4 required: - action @@ -147504,9 +147917,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *738 - installation: *739 - marketplace_purchase: &773 + enterprise: *743 + installation: *744 + marketplace_purchase: &778 title: Marketplace Purchase type: object required: @@ -147589,8 +148002,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *740 - previous_marketplace_purchase: &774 + organization: *745 + previous_marketplace_purchase: &779 title: Marketplace Purchase type: object properties: @@ -147670,7 +148083,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *741 + repository: *746 sender: *4 required: - action @@ -147750,10 +148163,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *738 - installation: *739 - marketplace_purchase: *773 - organization: *740 + enterprise: *743 + installation: *744 + marketplace_purchase: *778 + organization: *745 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -147836,7 +148249,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *741 + repository: *746 sender: *4 required: - action @@ -147918,10 +148331,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *738 - installation: *739 - marketplace_purchase: *773 - organization: *740 + enterprise: *743 + installation: *744 + marketplace_purchase: *778 + organization: *745 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148003,7 +148416,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *741 + repository: *746 sender: *4 required: - action @@ -148084,8 +148497,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 marketplace_purchase: title: Marketplace Purchase type: object @@ -148167,9 +148580,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *740 - previous_marketplace_purchase: *774 - repository: *741 + organization: *745 + previous_marketplace_purchase: *779 + repository: *746 sender: *4 required: - action @@ -148249,12 +148662,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *738 - installation: *739 - marketplace_purchase: *773 - organization: *740 - previous_marketplace_purchase: *774 - repository: *741 + enterprise: *743 + installation: *744 + marketplace_purchase: *778 + organization: *745 + previous_marketplace_purchase: *779 + repository: *746 sender: *4 required: - action @@ -148356,11 +148769,11 @@ x-webhooks: type: string required: - to - enterprise: *738 - installation: *739 - member: *765 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + member: *770 + organization: *745 + repository: *746 sender: *4 required: - action @@ -148460,11 +148873,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *738 - installation: *739 - member: *765 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + member: *770 + organization: *745 + repository: *746 sender: *4 required: - action @@ -148543,11 +148956,11 @@ x-webhooks: type: string enum: - removed - enterprise: *738 - installation: *739 - member: *765 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + member: *770 + organization: *745 + repository: *746 sender: *4 required: - action @@ -148625,11 +149038,11 @@ x-webhooks: type: string enum: - added - enterprise: *738 - installation: *739 - member: *765 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + member: *770 + organization: *745 + repository: *746 scope: description: The scope of the membership. Currently, can only be `team`. @@ -148705,7 +149118,7 @@ x-webhooks: required: - login - id - team: &775 + team: &780 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -148895,11 +149308,11 @@ x-webhooks: type: string enum: - removed - enterprise: *738 - installation: *739 - member: *765 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + member: *770 + organization: *745 + repository: *746 scope: description: The scope of the membership. Currently, can only be `team`. @@ -148976,7 +149389,7 @@ x-webhooks: required: - login - id - team: *775 + team: *780 required: - action - scope @@ -149058,8 +149471,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *739 - merge_group: &777 + installation: *744 + merge_group: &782 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -149078,15 +149491,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *776 + head_commit: *781 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -149172,10 +149585,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *739 - merge_group: *777 - organization: *740 - repository: *741 + installation: *744 + merge_group: *782 + organization: *745 + repository: *746 sender: *4 required: - action @@ -149248,7 +149661,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *738 + enterprise: *743 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -149356,16 +149769,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *739 - organization: *740 + installation: *744 + organization: *745 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *778 - required: *779 + properties: *783 + required: *784 nullable: true sender: *4 required: @@ -149446,11 +149859,11 @@ x-webhooks: type: string enum: - closed - enterprise: *738 - installation: *739 - milestone: *770 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + milestone: *775 + organization: *745 + repository: *746 sender: *4 required: - action @@ -149529,9 +149942,9 @@ x-webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - milestone: &780 + enterprise: *743 + installation: *744 + milestone: &785 title: Milestone description: A collection of related issues and pull requests. type: object @@ -149668,8 +150081,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -149748,11 +150161,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - milestone: *770 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + milestone: *775 + organization: *745 + repository: *746 sender: *4 required: - action @@ -149862,11 +150275,11 @@ x-webhooks: type: string required: - from - enterprise: *738 - installation: *739 - milestone: *770 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + milestone: *775 + organization: *745 + repository: *746 sender: *4 required: - action @@ -149946,11 +150359,11 @@ x-webhooks: type: string enum: - opened - enterprise: *738 - installation: *739 - milestone: *780 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + milestone: *785 + organization: *745 + repository: *746 sender: *4 required: - action @@ -150029,11 +150442,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *765 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + blocked_user: *770 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -150112,11 +150525,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *765 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + blocked_user: *770 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -150195,9 +150608,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - membership: &781 + enterprise: *743 + installation: *744 + membership: &786 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -150289,8 +150702,8 @@ x-webhooks: - role - organization_url - user - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -150368,11 +150781,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *738 - installation: *739 - membership: *781 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + membership: *786 + organization: *745 + repository: *746 sender: *4 required: - action @@ -150451,8 +150864,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -150568,10 +150981,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 - user: *765 + user: *770 required: - action - invitation @@ -150649,11 +151062,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *738 - installation: *739 - membership: *781 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + membership: *786 + organization: *745 + repository: *746 sender: *4 required: - action @@ -150740,11 +151153,11 @@ x-webhooks: properties: from: type: string - enterprise: *738 - installation: *739 - membership: *781 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + membership: *786 + organization: *745 + repository: *746 sender: *4 required: - action @@ -150820,9 +151233,9 @@ x-webhooks: type: string enum: - published - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 package: description: Information about the package. type: object @@ -151321,7 +151734,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &782 + items: &787 title: Ruby Gems metadata type: object properties: @@ -151416,7 +151829,7 @@ x-webhooks: - owner - package_version - registry - repository: *741 + repository: *746 sender: *4 required: - action @@ -151492,9 +151905,9 @@ x-webhooks: type: string enum: - updated - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 package: description: Information about the package. type: object @@ -151847,7 +152260,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *782 + items: *787 source_url: type: string format: uri @@ -151917,7 +152330,7 @@ x-webhooks: - owner - package_version - registry - repository: *741 + repository: *746 sender: *4 required: - action @@ -152094,12 +152507,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *738 + enterprise: *743 id: type: integer - installation: *739 - organization: *740 - repository: *741 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - id @@ -152179,7 +152592,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &783 + personal_access_token_request: &788 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -152325,10 +152738,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *738 - organization: *740 + enterprise: *743 + organization: *745 sender: *4 - installation: *739 + installation: *744 required: - action - personal_access_token_request @@ -152407,11 +152820,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *783 - enterprise: *738 - organization: *740 + personal_access_token_request: *788 + enterprise: *743 + organization: *745 sender: *4 - installation: *739 + installation: *744 required: - action - personal_access_token_request @@ -152489,11 +152902,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *783 - enterprise: *738 - organization: *740 + personal_access_token_request: *788 + enterprise: *743 + organization: *745 sender: *4 - installation: *739 + installation: *744 required: - action - personal_access_token_request @@ -152570,11 +152983,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *783 - organization: *740 - enterprise: *738 + personal_access_token_request: *788 + organization: *745 + enterprise: *743 sender: *4 - installation: *739 + installation: *744 required: - action - personal_access_token_request @@ -152678,7 +153091,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *784 + last_response: *789 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -152710,8 +153123,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 zen: description: Random string of GitHub zen. @@ -152956,10 +153369,10 @@ x-webhooks: - from required: - note - enterprise: *738 - installation: *739 - organization: *740 - project_card: &785 + enterprise: *743 + installation: *744 + organization: *745 + project_card: &790 title: Project Card type: object properties: @@ -153078,7 +153491,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *741 + repository: *746 sender: *4 required: - action @@ -153159,11 +153572,11 @@ x-webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - project_card: *785 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + project_card: *790 + repository: *746 sender: *4 required: - action @@ -153243,9 +153656,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 project_card: title: Project Card type: object @@ -153373,8 +153786,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *778 - required: *779 + properties: *783 + required: *784 nullable: true sender: *4 required: @@ -153468,11 +153881,11 @@ x-webhooks: - from required: - note - enterprise: *738 - installation: *739 - organization: *740 - project_card: *785 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + project_card: *790 + repository: *746 sender: *4 required: - action @@ -153566,9 +153979,9 @@ x-webhooks: - from required: - column_id - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 project_card: allOf: - title: Project Card @@ -153758,7 +154171,7 @@ x-webhooks: type: string required: - after_id - repository: *741 + repository: *746 sender: *4 required: - action @@ -153838,10 +154251,10 @@ x-webhooks: type: string enum: - closed - enterprise: *738 - installation: *739 - organization: *740 - project: &787 + enterprise: *743 + installation: *744 + organization: *745 + project: &792 title: Project type: object properties: @@ -153965,7 +154378,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *741 + repository: *746 sender: *4 required: - action @@ -154045,10 +154458,10 @@ x-webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - project_column: &786 + enterprise: *743 + installation: *744 + organization: *745 + project_column: &791 title: Project Column type: object properties: @@ -154087,7 +154500,7 @@ x-webhooks: - name - created_at - updated_at - repository: *741 + repository: *746 sender: *4 required: - action @@ -154166,18 +154579,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - project_column: *786 + enterprise: *743 + installation: *744 + organization: *745 + project_column: *791 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *778 - required: *779 + properties: *783 + required: *784 nullable: true sender: *4 required: @@ -154267,11 +154680,11 @@ x-webhooks: type: string required: - from - enterprise: *738 - installation: *739 - organization: *740 - project_column: *786 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + project_column: *791 + repository: *746 sender: *4 required: - action @@ -154351,11 +154764,11 @@ x-webhooks: type: string enum: - moved - enterprise: *738 - installation: *739 - organization: *740 - project_column: *786 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + project_column: *791 + repository: *746 sender: *4 required: - action @@ -154435,11 +154848,11 @@ x-webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - project: *787 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + project: *792 + repository: *746 sender: *4 required: - action @@ -154519,18 +154932,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - project: *787 + enterprise: *743 + installation: *744 + organization: *745 + project: *792 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *778 - required: *779 + properties: *783 + required: *784 nullable: true sender: *4 required: @@ -154632,11 +155045,11 @@ x-webhooks: type: string required: - from - enterprise: *738 - installation: *739 - organization: *740 - project: *787 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + project: *792 + repository: *746 sender: *4 required: - action @@ -154715,11 +155128,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *738 - installation: *739 - organization: *740 - project: *787 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + project: *792 + repository: *746 sender: *4 required: - action @@ -154800,9 +155213,9 @@ x-webhooks: type: string enum: - closed - installation: *739 - organization: *740 - projects_v2: &788 + installation: *744 + organization: *745 + projects_v2: &793 title: Projects v2 Project description: A projects v2 project type: object @@ -154945,9 +155358,9 @@ x-webhooks: type: string enum: - created - installation: *739 - organization: *740 - projects_v2: *788 + installation: *744 + organization: *745 + projects_v2: *793 sender: *4 required: - action @@ -155028,9 +155441,9 @@ x-webhooks: type: string enum: - deleted - installation: *739 - organization: *740 - projects_v2: *788 + installation: *744 + organization: *745 + projects_v2: *793 sender: *4 required: - action @@ -155147,9 +155560,9 @@ x-webhooks: type: string to: type: string - installation: *739 - organization: *740 - projects_v2: *788 + installation: *744 + organization: *745 + projects_v2: *793 sender: *4 required: - action @@ -155232,7 +155645,7 @@ x-webhooks: type: string enum: - archived - changes: &792 + changes: &797 type: object properties: archived_at: @@ -155246,9 +155659,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *739 - organization: *740 - projects_v2_item: &789 + installation: *744 + organization: *745 + projects_v2_item: &794 title: Projects v2 Item description: An item belonging to a project type: object @@ -155382,9 +155795,9 @@ x-webhooks: nullable: true to: type: string - installation: *739 - organization: *740 - projects_v2_item: *789 + installation: *744 + organization: *745 + projects_v2_item: *794 sender: *4 required: - action @@ -155466,9 +155879,9 @@ x-webhooks: type: string enum: - created - installation: *739 - organization: *740 - projects_v2_item: *789 + installation: *744 + organization: *745 + projects_v2_item: *794 sender: *4 required: - action @@ -155549,9 +155962,9 @@ x-webhooks: type: string enum: - deleted - installation: *739 - organization: *740 - projects_v2_item: *789 + installation: *744 + organization: *745 + projects_v2_item: *794 sender: *4 required: - action @@ -155657,7 +156070,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &790 + - &795 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -155675,7 +156088,7 @@ x-webhooks: required: - id - name - - &791 + - &796 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -155698,8 +156111,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *790 - - *791 + - *795 + - *796 required: - field_value - type: object @@ -155715,9 +156128,9 @@ x-webhooks: nullable: true required: - body - installation: *739 - organization: *740 - projects_v2_item: *789 + installation: *744 + organization: *745 + projects_v2_item: *794 sender: *4 required: - action @@ -155812,9 +156225,9 @@ x-webhooks: to: type: string nullable: true - installation: *739 - organization: *740 - projects_v2_item: *789 + installation: *744 + organization: *745 + projects_v2_item: *794 sender: *4 required: - action @@ -155897,10 +156310,10 @@ x-webhooks: type: string enum: - restored - changes: *792 - installation: *739 - organization: *740 - projects_v2_item: *789 + changes: *797 + installation: *744 + organization: *745 + projects_v2_item: *794 sender: *4 required: - action @@ -155982,9 +156395,9 @@ x-webhooks: type: string enum: - reopened - installation: *739 - organization: *740 - projects_v2: *788 + installation: *744 + organization: *745 + projects_v2: *793 sender: *4 required: - action @@ -156065,9 +156478,9 @@ x-webhooks: type: string enum: - created - installation: *739 - organization: *740 - projects_v2_status_update: &793 + installation: *744 + organization: *745 + projects_v2_status_update: &798 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -156194,9 +156607,9 @@ x-webhooks: type: string enum: - deleted - installation: *739 - organization: *740 - projects_v2_status_update: *793 + installation: *744 + organization: *745 + projects_v2_status_update: *798 sender: *4 required: - action @@ -156332,9 +156745,9 @@ x-webhooks: type: string format: date nullable: true - installation: *739 - organization: *740 - projects_v2_status_update: *793 + installation: *744 + organization: *745 + projects_v2_status_update: *798 sender: *4 required: - action @@ -156405,10 +156818,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - repository @@ -156485,13 +156898,13 @@ x-webhooks: type: string enum: - assigned - assignee: *765 - enterprise: *738 - installation: *739 - number: &794 + assignee: *770 + enterprise: *743 + installation: *744 + number: &799 description: The pull request number. type: integer - organization: *740 + organization: *745 pull_request: title: Pull Request type: object @@ -158774,7 +159187,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *746 sender: *4 required: - action @@ -158856,11 +159269,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 number: type: integer - organization: *740 + organization: *745 pull_request: title: Pull Request type: object @@ -161138,7 +161551,7 @@ x-webhooks: - draft reason: type: string - repository: *741 + repository: *746 sender: *4 required: - action @@ -161220,11 +161633,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 number: type: integer - organization: *740 + organization: *745 pull_request: title: Pull Request type: object @@ -163502,7 +163915,7 @@ x-webhooks: - draft reason: type: string - repository: *741 + repository: *746 sender: *4 required: - action @@ -163584,13 +163997,13 @@ x-webhooks: type: string enum: - closed - enterprise: *738 - installation: *739 - number: *794 - organization: *740 - pull_request: &795 + enterprise: *743 + installation: *744 + number: *799 + organization: *745 + pull_request: &800 allOf: - - *596 + - *601 - type: object properties: allow_auto_merge: @@ -163652,7 +164065,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *741 + repository: *746 sender: *4 required: - action @@ -163733,12 +164146,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *738 - installation: *739 - number: *794 - organization: *740 - pull_request: *795 - repository: *741 + enterprise: *743 + installation: *744 + number: *799 + organization: *745 + pull_request: *800 + repository: *746 sender: *4 required: - action @@ -163818,11 +164231,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *738 - milestone: *579 - number: *794 - organization: *740 - pull_request: &796 + enterprise: *743 + milestone: *584 + number: *799 + organization: *745 + pull_request: &801 title: Pull Request type: object properties: @@ -166085,7 +166498,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *746 sender: *4 required: - action @@ -166164,11 +166577,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 number: type: integer - organization: *740 + organization: *745 pull_request: title: Pull Request type: object @@ -168450,7 +168863,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *741 + repository: *746 sender: *4 required: - action @@ -168574,12 +168987,12 @@ x-webhooks: type: string required: - from - enterprise: *738 - installation: *739 - number: *794 - organization: *740 - pull_request: *795 - repository: *741 + enterprise: *743 + installation: *744 + number: *799 + organization: *745 + pull_request: *800 + repository: *746 sender: *4 required: - action @@ -168659,11 +169072,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 number: type: integer - organization: *740 + organization: *745 pull_request: title: Pull Request type: object @@ -170930,7 +171343,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *746 sender: *4 required: - action @@ -171010,11 +171423,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *738 - installation: *739 - label: *764 - number: *794 - organization: *740 + enterprise: *743 + installation: *744 + label: *769 + number: *799 + organization: *745 pull_request: title: Pull Request type: object @@ -173296,7 +173709,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *746 sender: *4 required: - action @@ -173377,10 +173790,10 @@ x-webhooks: type: string enum: - locked - enterprise: *738 - installation: *739 - number: *794 - organization: *740 + enterprise: *743 + installation: *744 + number: *799 + organization: *745 pull_request: title: Pull Request type: object @@ -175660,7 +176073,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *746 sender: *4 required: - action @@ -175740,12 +176153,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *738 - milestone: *579 - number: *794 - organization: *740 - pull_request: *796 - repository: *741 + enterprise: *743 + milestone: *584 + number: *799 + organization: *745 + pull_request: *801 + repository: *746 sender: *4 required: - action @@ -175824,12 +176237,12 @@ x-webhooks: type: string enum: - opened - enterprise: *738 - installation: *739 - number: *794 - organization: *740 - pull_request: *795 - repository: *741 + enterprise: *743 + installation: *744 + number: *799 + organization: *745 + pull_request: *800 + repository: *746 sender: *4 required: - action @@ -175910,12 +176323,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *738 - installation: *739 - number: *794 - organization: *740 - pull_request: *795 - repository: *741 + enterprise: *743 + installation: *744 + number: *799 + organization: *745 + pull_request: *800 + repository: *746 sender: *4 required: - action @@ -175995,12 +176408,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *738 - installation: *739 - number: *794 - organization: *740 - pull_request: *795 - repository: *741 + enterprise: *743 + installation: *744 + number: *799 + organization: *745 + pull_request: *800 + repository: *746 sender: *4 required: - action @@ -176366,9 +176779,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 pull_request: type: object properties: @@ -178538,7 +178951,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *741 + repository: *746 sender: *4 required: - action @@ -178618,7 +179031,7 @@ x-webhooks: type: string enum: - deleted - comment: &798 + comment: &803 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. @@ -178903,9 +179316,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 pull_request: type: object properties: @@ -181063,7 +181476,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *741 + repository: *746 sender: *4 required: - action @@ -181143,11 +181556,11 @@ x-webhooks: type: string enum: - edited - changes: *797 - comment: *798 - enterprise: *738 - installation: *739 - organization: *740 + changes: *802 + comment: *803 + enterprise: *743 + installation: *744 + organization: *745 pull_request: type: object properties: @@ -183308,7 +183721,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *741 + repository: *746 sender: *4 required: - action @@ -183389,9 +183802,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 pull_request: title: Simple Pull Request type: object @@ -185564,7 +185977,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 + repository: *746 review: description: The review that was affected. type: object @@ -185807,9 +186220,9 @@ x-webhooks: type: string required: - from - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 pull_request: title: Simple Pull Request type: object @@ -187863,8 +188276,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 - review: &799 + repository: *746 + review: &804 description: The review that was affected. type: object properties: @@ -188093,12 +188506,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 number: description: The pull request number. type: integer - organization: *740 + organization: *745 pull_request: title: Pull Request type: object @@ -190381,7 +190794,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *746 requested_reviewer: title: User type: object @@ -190465,12 +190878,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 number: description: The pull request number. type: integer - organization: *740 + organization: *745 pull_request: title: Pull Request type: object @@ -192760,7 +193173,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *746 requested_team: title: Team description: Groups of organization members that gives permissions @@ -192952,12 +193365,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 number: description: The pull request number. type: integer - organization: *740 + organization: *745 pull_request: title: Pull Request type: object @@ -195242,7 +195655,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *746 requested_reviewer: title: User type: object @@ -195327,12 +195740,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 number: description: The pull request number. type: integer - organization: *740 + organization: *745 pull_request: title: Pull Request type: object @@ -197608,7 +198021,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *746 requested_team: title: Team description: Groups of organization members that gives permissions @@ -197789,9 +198202,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 pull_request: title: Simple Pull Request type: object @@ -199966,8 +200379,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 - review: *799 + repository: *746 + review: *804 sender: *4 required: - action @@ -200047,9 +200460,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 pull_request: title: Simple Pull Request type: object @@ -202119,7 +202532,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 + repository: *746 sender: *4 thread: type: object @@ -202502,9 +202915,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 pull_request: title: Simple Pull Request type: object @@ -204560,7 +204973,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 + repository: *746 sender: *4 thread: type: object @@ -204946,10 +205359,10 @@ x-webhooks: type: string before: type: string - enterprise: *738 - installation: *739 - number: *794 - organization: *740 + enterprise: *743 + installation: *744 + number: *799 + organization: *745 pull_request: title: Pull Request type: object @@ -207220,7 +207633,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *746 sender: *4 required: - action @@ -207302,11 +207715,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *800 - enterprise: *738 - installation: *739 - number: *794 - organization: *740 + assignee: *805 + enterprise: *743 + installation: *744 + number: *799 + organization: *745 pull_request: title: Pull Request type: object @@ -209589,7 +210002,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *746 sender: *4 required: - action @@ -209668,11 +210081,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *738 - installation: *739 - label: *764 - number: *794 - organization: *740 + enterprise: *743 + installation: *744 + label: *769 + number: *799 + organization: *745 pull_request: title: Pull Request type: object @@ -211945,7 +212358,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *746 sender: *4 required: - action @@ -212026,10 +212439,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *738 - installation: *739 - number: *794 - organization: *740 + enterprise: *743 + installation: *744 + number: *799 + organization: *745 pull_request: title: Pull Request type: object @@ -214294,7 +214707,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *746 sender: *4 required: - action @@ -214494,7 +214907,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *738 + enterprise: *743 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -214586,8 +214999,8 @@ x-webhooks: - url - author - committer - installation: *739 - organization: *740 + installation: *744 + organization: *745 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -215162,9 +215575,9 @@ x-webhooks: type: string enum: - published - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 registry_package: type: object properties: @@ -215610,7 +216023,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *782 + items: *787 summary: type: string tag_name: @@ -215664,7 +216077,7 @@ x-webhooks: - owner - package_version - registry - repository: *741 + repository: *746 sender: *4 required: - action @@ -215742,9 +216155,9 @@ x-webhooks: type: string enum: - updated - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 registry_package: type: object properties: @@ -216052,7 +216465,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *782 + items: *787 summary: type: string tag_name: @@ -216101,7 +216514,7 @@ x-webhooks: - owner - package_version - registry - repository: *741 + repository: *746 sender: *4 required: - action @@ -216178,10 +216591,10 @@ x-webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - release: &801 + enterprise: *743 + installation: *744 + organization: *745 + release: &806 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -216486,7 +216899,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *741 + repository: *746 sender: *4 required: - action @@ -216563,11 +216976,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - release: *801 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + release: *806 + repository: *746 sender: *4 required: - action @@ -216675,11 +217088,11 @@ x-webhooks: type: boolean required: - to - enterprise: *738 - installation: *739 - organization: *740 - release: *801 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + release: *806 + repository: *746 sender: *4 required: - action @@ -216757,9 +217170,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -217068,7 +217481,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *741 + repository: *746 sender: *4 required: - action @@ -217144,10 +217557,10 @@ x-webhooks: type: string enum: - published - enterprise: *738 - installation: *739 - organization: *740 - release: &802 + enterprise: *743 + installation: *744 + organization: *745 + release: &807 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -217453,7 +217866,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *741 + repository: *746 sender: *4 required: - action @@ -217529,11 +217942,11 @@ x-webhooks: type: string enum: - released - enterprise: *738 - installation: *739 - organization: *740 - release: *801 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + release: *806 + repository: *746 sender: *4 required: - action @@ -217609,11 +218022,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *738 - installation: *739 - organization: *740 - release: *802 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + release: *807 + repository: *746 sender: *4 required: - action @@ -217689,11 +218102,11 @@ x-webhooks: type: string enum: - published - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - repository_advisory: *649 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + repository_advisory: *654 sender: *4 required: - action @@ -217769,11 +218182,11 @@ x-webhooks: type: string enum: - reported - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - repository_advisory: *649 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + repository_advisory: *654 sender: *4 required: - action @@ -217849,10 +218262,10 @@ x-webhooks: type: string enum: - archived - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -217929,10 +218342,10 @@ x-webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -218010,10 +218423,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -218097,10 +218510,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -218212,10 +218625,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -218287,10 +218700,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 status: type: string @@ -218371,10 +218784,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -218451,10 +218864,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -218548,10 +218961,10 @@ x-webhooks: - name required: - repository - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -218631,11 +219044,11 @@ x-webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - repository_ruleset: *126 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + repository_ruleset: *128 sender: *4 required: - action @@ -218713,11 +219126,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - repository_ruleset: *126 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + repository_ruleset: *128 sender: *4 required: - action @@ -218795,11 +219208,11 @@ x-webhooks: type: string enum: - edited - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - repository_ruleset: *126 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + repository_ruleset: *128 changes: type: object properties: @@ -218818,16 +219231,16 @@ x-webhooks: properties: added: type: array - items: *119 + items: *121 deleted: type: array - items: *119 + items: *121 updated: type: array items: type: object properties: - condition: *119 + condition: *121 changes: type: object properties: @@ -218860,16 +219273,16 @@ x-webhooks: properties: added: type: array - items: *125 + items: *127 deleted: type: array - items: *125 + items: *127 updated: type: array items: type: object properties: - rule: *125 + rule: *127 changes: type: object properties: @@ -219103,10 +219516,10 @@ x-webhooks: - from required: - owner - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -219184,10 +219597,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -219265,7 +219678,7 @@ x-webhooks: type: string enum: - create - alert: &803 + alert: &808 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -219386,10 +219799,10 @@ x-webhooks: type: string enum: - open - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -219595,10 +220008,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -219676,11 +220089,11 @@ x-webhooks: type: string enum: - reopen - alert: *803 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + alert: *808 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -219879,10 +220292,10 @@ x-webhooks: enum: - fixed - open - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -219960,11 +220373,11 @@ x-webhooks: type: string enum: - created - alert: &804 + alert: &809 type: object properties: - number: *98 - created_at: *105 + number: *100 + created_at: *107 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -219972,8 +220385,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *103 - html_url: *104 + url: *105 + html_url: *106 locations_url: type: string format: uri @@ -220071,10 +220484,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -220155,11 +220568,11 @@ x-webhooks: type: string enum: - created - alert: *804 - installation: *739 - location: *805 - organization: *740 - repository: *741 + alert: *809 + installation: *744 + location: *810 + organization: *745 + repository: *746 sender: *4 required: - location @@ -220397,11 +220810,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *804 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + alert: *809 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -220479,11 +220892,11 @@ x-webhooks: type: string enum: - reopened - alert: *804 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + alert: *809 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -220561,11 +220974,11 @@ x-webhooks: type: string enum: - resolved - alert: *804 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + alert: *809 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -220643,11 +221056,11 @@ x-webhooks: type: string enum: - validated - alert: *804 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + alert: *809 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -220773,10 +221186,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *741 - enterprise: *738 - installation: *739 - organization: *740 + repository: *746 + enterprise: *743 + installation: *744 + organization: *745 sender: *4 required: - action @@ -220854,11 +221267,11 @@ x-webhooks: type: string enum: - published - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - security_advisory: &806 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + security_advisory: &811 description: The details of the security advisory, including summary, description, and severity. type: object @@ -220874,7 +221287,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *100 + cvss_severities: *102 cwes: type: array items: @@ -221041,11 +221454,11 @@ x-webhooks: type: string enum: - updated - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - security_advisory: *806 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + security_advisory: *811 sender: *4 required: - action @@ -221118,10 +221531,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -221138,7 +221551,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *100 + cvss_severities: *102 cwes: type: array items: @@ -221305,11 +221718,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *317 - enterprise: *738 - installation: *739 - organization: *740 - repository: *378 + security_and_analysis: *320 + enterprise: *743 + installation: *744 + organization: *745 + repository: *383 sender: *4 required: - changes @@ -221387,12 +221800,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 - sponsorship: &807 + sponsorship: &812 type: object properties: created_at: @@ -221693,12 +222106,12 @@ x-webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 - sponsorship: *807 + sponsorship: *812 required: - action - sponsorship @@ -221786,12 +222199,12 @@ x-webhooks: type: string required: - from - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 - sponsorship: *807 + sponsorship: *812 required: - action - changes @@ -221868,17 +222281,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &808 + effective_date: &813 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: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 - sponsorship: *807 + sponsorship: *812 required: - action - sponsorship @@ -221952,7 +222365,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &809 + changes: &814 type: object properties: tier: @@ -221996,13 +222409,13 @@ x-webhooks: - from required: - tier - effective_date: *808 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + effective_date: *813 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 - sponsorship: *807 + sponsorship: *812 required: - action - changes @@ -222079,13 +222492,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *809 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + changes: *814 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 - sponsorship: *807 + sponsorship: *812 required: - action - changes @@ -222159,10 +222572,10 @@ x-webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -222245,10 +222658,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -222668,15 +223081,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *738 + enterprise: *743 id: description: The unique identifier of the status. type: integer - installation: *739 + installation: *744 name: type: string - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 sha: description: The Commit SHA. @@ -222785,15 +223198,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *151 + parent_issue: *154 parent_issue_repo: *63 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *151 - installation: *739 - organization: *740 - repository: *741 + sub_issue: *154 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -222877,15 +223290,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *151 + parent_issue: *154 parent_issue_repo: *63 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *151 - installation: *739 - organization: *740 - repository: *741 + sub_issue: *154 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -222969,15 +223382,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *151 + sub_issue: *154 sub_issue_repo: *63 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *151 - installation: *739 - organization: *740 - repository: *741 + parent_issue: *154 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -223061,15 +223474,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *151 + sub_issue: *154 sub_issue_repo: *63 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *151 - installation: *739 - organization: *740 - repository: *741 + parent_issue: *154 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -223146,12 +223559,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 - team: &810 + team: &815 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -223341,9 +223754,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 repository: title: Repository description: A git repository @@ -223801,7 +224214,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *810 + team: *815 required: - action - team @@ -223877,9 +224290,9 @@ x-webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 repository: title: Repository description: A git repository @@ -224337,7 +224750,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *810 + team: *815 required: - action - team @@ -224414,9 +224827,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 repository: title: Repository description: A git repository @@ -224874,7 +225287,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *810 + team: *815 required: - action - team @@ -225018,9 +225431,9 @@ x-webhooks: - from required: - permissions - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 repository: title: Repository description: A git repository @@ -225478,7 +225891,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *810 + team: *815 required: - action - changes @@ -225556,9 +225969,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 repository: title: Repository description: A git repository @@ -226016,7 +226429,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *810 + team: *815 required: - action - team @@ -226092,10 +226505,10 @@ x-webhooks: type: string enum: - started - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -226168,16 +226581,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *738 + enterprise: *743 inputs: type: object nullable: true additionalProperties: true - installation: *739 - organization: *740 + installation: *744 + organization: *745 ref: type: string - repository: *741 + repository: *746 sender: *4 workflow: type: string @@ -226259,10 +226672,10 @@ x-webhooks: type: string enum: - completed - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 workflow_job: allOf: @@ -226499,7 +226912,7 @@ x-webhooks: type: string required: - conclusion - deployment: *511 + deployment: *516 required: - action - repository @@ -226578,10 +226991,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 workflow_job: allOf: @@ -226841,7 +227254,7 @@ x-webhooks: required: - status - steps - deployment: *511 + deployment: *516 required: - action - repository @@ -226920,10 +227333,10 @@ x-webhooks: type: string enum: - queued - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 workflow_job: type: object @@ -227058,7 +227471,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *511 + deployment: *516 required: - action - repository @@ -227137,10 +227550,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 workflow_job: type: object @@ -227276,7 +227689,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *511 + deployment: *516 required: - action - repository @@ -227356,12 +227769,12 @@ x-webhooks: type: string enum: - completed - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 - workflow: *760 + workflow: *765 workflow_run: title: Workflow Run type: object @@ -228360,12 +228773,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 - workflow: *760 + workflow: *765 workflow_run: title: Workflow Run type: object @@ -229349,12 +229762,12 @@ x-webhooks: type: string enum: - requested - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 - workflow: *760 + workflow: *765 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index 8654a79ad..2534c8e52 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -24401,6 +24401,13 @@ "description": "The time at which the announcement expires. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. To set an announcement that never expires, omit this parameter, set it to `null`, or set it to an empty string.", "example": "\"2021-01-01T00:00:00.000-07:00\"", "nullable": true + }, + "user_dismissible": { + "type": "boolean", + "description": "Whether an announcement can be dismissed by the user.", + "example": false, + "nullable": true, + "default": false } }, "required": [ @@ -25203,6 +25210,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.", @@ -25667,6 +25713,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.", @@ -44222,6 +44307,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", @@ -89736,6 +90202,13 @@ "description": "The time at which the announcement expires. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. To set an announcement that never expires, omit this parameter, set it to `null`, or set it to an empty string.", "example": "\"2021-01-01T00:00:00.000-07:00\"", "nullable": true + }, + "user_dismissible": { + "type": "boolean", + "description": "Whether an announcement can be dismissed by the user.", + "example": false, + "nullable": true, + "default": false } }, "required": [ @@ -161894,23 +162367,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": [ { @@ -161930,11 +162678,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", @@ -161988,6 +162856,12 @@ } } } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "rules" } } }, @@ -211296,7 +212170,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" ], @@ -215445,7 +216319,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" ], @@ -359931,7 +360805,7 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "reactions", "subcategory": "reactions" } @@ -446175,6 +447049,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/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index 5942868ee..e5ae40891 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/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 - - &82 + - &84 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 - - &83 + - &85 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 - - &84 + - &86 name: direction description: The direction to sort the results by. in: query @@ -677,7 +677,7 @@ paths: required: - vector_string - score - cvss_severities: &100 + cvss_severities: &102 type: object nullable: true properties: @@ -717,7 +717,7 @@ paths: required: - vector_string - score - epss: &101 + epss: &103 type: object nullable: true readOnly: true @@ -855,7 +855,7 @@ paths: - subscriptions_url - type - url - type: &332 + type: &337 type: string description: The type of credit the user is receiving. enum: @@ -988,7 +988,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &178 + schema: &181 title: Validation Error Simple description: Validation Error Simple type: object @@ -1021,7 +1021,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: - - &651 + - &656 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1139,7 +1139,7 @@ paths: GitHub. type: object nullable: true - properties: &136 + properties: &139 id: description: Unique identifier of the GitHub app example: 37 @@ -1279,7 +1279,7 @@ paths: type: string example: '"-----BEGIN RSA PRIVATE KEY-----\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\n-----END RSA PRIVATE KEY-----\n"' - required: &137 + required: &140 - id - node_id - owner @@ -1584,7 +1584,7 @@ paths: schema: type: integer default: 30 - - &259 + - &262 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 @@ -1600,7 +1600,7 @@ paths: application/json: schema: type: array - items: &260 + items: &263 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1677,7 +1677,7 @@ paths: - installation_id - repository_id examples: - default: &261 + default: &264 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1709,7 +1709,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &661 + schema: &666 title: Scim Error description: Scim Error type: object @@ -1736,7 +1736,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &177 + schema: &180 title: Validation Error description: Validation Error type: object @@ -1805,7 +1805,7 @@ paths: description: Response content: application/json: - schema: &262 + schema: &265 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1919,7 +1919,7 @@ paths: - request - response examples: - default: &263 + default: &266 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1979,7 +1979,7 @@ paths: parameters: - *16 responses: - '202': &93 + '202': &95 description: Accepted content: application/json: @@ -2120,7 +2120,7 @@ paths: parameters: - *17 - *19 - - &141 + - &144 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) @@ -2846,7 +2846,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &315 + properties: &318 id: description: Unique identifier of the repository example: 42 @@ -2866,7 +2866,7 @@ paths: title: License Simple description: License Simple type: object - properties: &152 + properties: &155 key: type: string example: mit @@ -2888,7 +2888,7 @@ paths: html_url: type: string format: uri - required: &153 + required: &156 - key - name - url @@ -3275,7 +3275,7 @@ paths: type: boolean description: Whether anonymous git access is enabled for this repository - required: &316 + required: &319 - archive_url - assignees_url - blobs_url @@ -7288,7 +7288,7 @@ paths: description: Response content: application/json: - schema: &179 + schema: &182 type: object properties: total_active_caches_count: @@ -7303,7 +7303,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &180 + default: &183 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7493,7 +7493,7 @@ paths: - public_ip_enabled - platform examples: - default: &181 + default: &184 value: total_count: 2 runners: @@ -7785,7 +7785,7 @@ paths: description: Response content: application/json: - schema: &182 + schema: &185 type: object properties: public_ips: @@ -7810,7 +7810,7 @@ paths: required: - public_ips examples: - default: &183 + default: &186 value: public_ips: current_usage: 17 @@ -7850,7 +7850,7 @@ paths: type: array items: *44 examples: - default: &184 + default: &187 value: id: 4-core cpu_cores: 4 @@ -8113,7 +8113,7 @@ paths: - all - local_only - selected - selected_actions_url: &187 + selected_actions_url: &190 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` @@ -8202,7 +8202,7 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: &95 + properties: &97 login: type: string example: github @@ -8243,7 +8243,7 @@ paths: type: string example: A great organization nullable: true - required: &96 + required: &98 - login - url - id @@ -8481,7 +8481,7 @@ paths: description: Success response content: application/json: - schema: &190 + schema: &193 type: object properties: default_workflow_permissions: &52 @@ -8529,7 +8529,7 @@ paths: required: true content: application/json: - schema: &191 + schema: &194 type: object properties: default_workflow_permissions: *52 @@ -9365,7 +9365,7 @@ paths: application/json: schema: type: array - items: &195 + items: &198 title: Runner Application description: Runner Application type: object @@ -9390,7 +9390,7 @@ paths: - download_url - filename examples: - default: &196 + default: &199 value: - os: osx architecture: x64 @@ -9474,7 +9474,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &197 + '201': &200 description: Response content: application/json: @@ -9513,7 +9513,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': &92 + '409': &94 description: Conflict content: application/json: @@ -9589,7 +9589,7 @@ paths: - token - expires_at examples: - default: &198 + default: &201 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -9629,7 +9629,7 @@ paths: application/json: schema: *64 examples: - default: &199 + default: &202 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -9661,7 +9661,7 @@ paths: application/json: schema: *61 examples: - default: &200 + default: &203 value: id: 23 name: MBP @@ -9876,7 +9876,7 @@ paths: - *40 - *60 responses: - '200': &201 + '200': &204 description: Response content: application/json: @@ -9932,7 +9932,7 @@ paths: parameters: - *40 - *60 - - &202 + - &205 name: name description: The name of a self-hosted runner's custom label. in: path @@ -9965,7 +9965,7 @@ paths: description: Response content: application/json: - schema: &70 + schema: &71 title: Announcement Banner description: Announcement at either the repository, organization, or enterprise level @@ -9988,7 +9988,7 @@ paths: it to an empty string.' example: '"2021-01-01T00:00:00.000-07:00"' nullable: true - user_dismissible: + user_dismissible: &69 type: boolean description: Whether an announcement can be dismissed by the user. example: false @@ -9999,7 +9999,7 @@ paths: - expires_at - user_dismissible examples: - default: &69 + default: &70 summary: Announcement banner value: announcement: Very **important** announcement about _something_. @@ -10023,17 +10023,18 @@ paths: required: true content: application/json: - schema: &209 + schema: &212 title: Enterprise Announcement description: Enterprise global announcement type: object properties: announcement: *67 expires_at: *68 + user_dismissible: *69 required: - announcement examples: - default: *69 + default: *70 parameters: - *40 responses: @@ -10041,9 +10042,9 @@ paths: description: Response content: application/json: - schema: *70 + schema: *71 examples: - default: *69 + default: *70 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -10094,7 +10095,7 @@ paths: required: false schema: type: string - - &210 + - &213 name: include description: |- The event types to include: @@ -10112,7 +10113,7 @@ paths: - web - git - all - - &211 + - &214 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. @@ -10120,7 +10121,7 @@ paths: required: false schema: type: string - - &212 + - &215 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. @@ -10128,7 +10129,7 @@ paths: required: false schema: type: string - - &213 + - &216 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -10150,7 +10151,7 @@ paths: application/json: schema: type: array - items: &214 + items: &217 type: object properties: "@timestamp": @@ -10272,7 +10273,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &215 + default: &218 value: - "@timestamp": 1606929874512 action: team.add_member @@ -10451,7 +10452,7 @@ paths: vendor_specific: type: object oneOf: - - &74 + - &75 title: AzureBlobConfig description: Azure Blob Config for audit log streaming configuration. type: object @@ -10465,7 +10466,7 @@ paths: required: - key_id - encrypted_sas_url - - &75 + - &76 title: AzureHubConfig description: Azure Event Hubs Config for audit log streaming configuration. type: object @@ -10484,7 +10485,7 @@ paths: - name - encrypted_connstring - key_id - - &76 + - &77 title: AmazonS3OIDCConfig description: Amazon S3 OIDC Config for audit log streaming configuration. type: object @@ -10512,7 +10513,7 @@ paths: - bucket - key_id - region - - &77 + - &78 title: AmazonS3AccessKeysConfig description: Amazon S3 Access Keys Config for audit log streaming configuration. @@ -10546,7 +10547,7 @@ paths: - encrypted_secret_key - key_id - region - - &78 + - &79 title: SplunkConfig description: Splunk Config for Audit Log Stream Configuration type: object @@ -10574,7 +10575,39 @@ paths: - key_id - port - ssl_verify - - &79 + - &80 + 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 + - &81 title: GoogleCloudConfig description: Google Cloud Config for audit log streaming configuration. type: object @@ -10592,7 +10625,7 @@ paths: - bucket - key_id - encrypted_json_credentials - - &80 + - &82 title: DatadogConfig description: Datadog Config for audit log streaming configuration. type: object @@ -10623,7 +10656,7 @@ paths: - stream_type - vendor_specific examples: - default: &81 + default: &83 value: enabled: false stream_type: Azure Event Hubs @@ -10637,7 +10670,7 @@ paths: description: The audit log stream configuration was created successfully. content: application/json: - schema: &71 + schema: &72 title: Get an audit log streaming configuration description: Get an audit log streaming configuration for an enterprise. type: object @@ -10668,7 +10701,7 @@ paths: - created_at - updated_at examples: - default: &72 + default: &73 value: id: 1 stream_type: Splunk @@ -10697,7 +10730,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: - *40 - - &73 + - &74 name: stream_id description: The ID of the audit log stream configuration. in: path @@ -10709,9 +10742,9 @@ paths: description: Lists one audit log stream configuration via stream ID. content: application/json: - schema: *71 + schema: *72 examples: - default: *72 + default: *73 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -10731,7 +10764,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#update-an-existing-audit-log-stream-configuration parameters: - *40 - - *73 + - *74 requestBody: required: true content: @@ -10757,27 +10790,28 @@ paths: vendor_specific: type: object oneOf: - - *74 - *75 - *76 - *77 - *78 - *79 - *80 + - *81 + - *82 required: - enabled - stream_type - vendor_specific examples: - default: *81 + default: *83 responses: '200': description: Successful update content: application/json: - schema: *71 + schema: *72 examples: - default: *72 + default: *73 '422': description: Validation error content: @@ -10808,7 +10842,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: - *40 - - *73 + - *74 responses: '204': description: The audit log stream configuration was deleted successfully. @@ -10840,7 +10874,7 @@ paths: in: query schema: type: string - - &217 + - &220 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -10848,7 +10882,7 @@ paths: required: false schema: type: string - - &218 + - &221 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -10856,7 +10890,7 @@ paths: required: false schema: type: string - - &219 + - &222 name: time_period description: |- The time period to filter by. @@ -10872,7 +10906,7 @@ paths: - week - month default: day - - &220 + - &223 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -10897,7 +10931,7 @@ paths: application/json: schema: type: array - items: &221 + items: &224 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -11052,7 +11086,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &222 + default: &225 value: - id: 21 number: 42 @@ -11121,7 +11155,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': &97 + '500': &99 description: Internal Error content: application/json: @@ -11143,17 +11177,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *40 - - &223 + - &226 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: &85 + schema: &87 type: string description: The name of the tool used to generate the code scanning analysis. - - &224 + - &227 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 @@ -11161,22 +11195,22 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &86 + schema: &88 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *82 - - *83 + - *84 + - *85 - *19 - *17 - - *84 + - *86 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: &225 + schema: &228 type: string description: State of a code scanning alert. enum: @@ -11201,42 +11235,42 @@ paths: application/json: schema: type: array - items: &226 + items: &229 type: object properties: - number: &98 + number: &100 type: integer description: The security alert number. readOnly: true - created_at: &105 + created_at: &107 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: &106 + updated_at: &108 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: &103 + url: &105 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &104 + html_url: &106 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &446 + instances_url: &451 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &87 + state: &89 type: string description: State of a code scanning alert. nullable: true @@ -11244,7 +11278,7 @@ paths: - open - dismissed - fixed - fixed_at: &108 + fixed_at: &110 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -11258,14 +11292,14 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: &107 + dismissed_at: &109 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissed_reason: &447 + dismissed_reason: &452 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -11274,13 +11308,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &448 + dismissed_comment: &453 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &449 + rule: &454 type: object properties: id: @@ -11333,25 +11367,25 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &450 + tool: &455 type: object properties: - name: *85 + name: *87 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *86 - most_recent_instance: &451 + guid: *88 + most_recent_instance: &456 type: object properties: - ref: &444 + ref: &449 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &461 + analysis_key: &466 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -11362,13 +11396,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &462 + category: &467 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: *87 + state: *89 commit_sha: type: string message: @@ -11407,7 +11441,7 @@ paths: - generated - test - library - repository: &94 + repository: &96 title: Simple Repository description: A GitHub repository. type: object @@ -11700,7 +11734,7 @@ paths: - most_recent_instance - repository examples: - default: &227 + default: &230 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -11931,7 +11965,7 @@ paths: headers: Link: *39 '404': *6 - '503': &129 + '503': &132 description: Service unavailable content: application/json: @@ -11975,8 +12009,8 @@ paths: schema: type: integer default: 30 - - *82 - - *83 + - *84 + - *85 responses: '200': description: Response @@ -11984,7 +12018,7 @@ paths: application/json: schema: type: array - items: &88 + items: &90 type: object description: A code security configuration properties: @@ -12314,7 +12348,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: &91 + code_scanning_default_setup_options: &93 type: object description: Feature options for code scanning default setup nullable: true @@ -12398,9 +12432,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *88 + schema: *90 examples: - default: &89 + default: &91 value: id: 1325 target_type: enterprise @@ -12455,7 +12489,7 @@ paths: description: Response content: application/json: - schema: &229 + schema: &232 type: array description: A list of default code security configurations items: @@ -12469,9 +12503,9 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *88 + configuration: *90 examples: - default: &230 + default: &233 value: - default_for_new_repos: public configuration: @@ -12556,7 +12590,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise parameters: - *40 - - &90 + - &92 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -12568,9 +12602,9 @@ paths: description: Response content: application/json: - schema: *88 + schema: *90 examples: - default: *89 + default: *91 '304': *37 '403': *29 '404': *6 @@ -12595,7 +12629,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise parameters: - *40 - - *90 + - *92 requestBody: required: true content: @@ -12662,7 +12696,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *91 + code_scanning_default_setup_options: *93 secret_scanning: type: string description: The enablement status of secret scanning @@ -12717,13 +12751,13 @@ paths: description: Response content: application/json: - schema: *88 + schema: *90 examples: - default: *89 + default: *91 '304': *37 '403': *29 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -12747,14 +12781,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise parameters: - *40 - - *90 + - *92 responses: - '204': &116 + '204': &118 description: A header with no content is returned. '400': *14 '403': *29 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -12779,7 +12813,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories parameters: - *40 - - *90 + - *92 requestBody: required: true content: @@ -12803,10 +12837,10 @@ paths: value: scope: all responses: - '202': *93 + '202': *95 '403': *29 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -12831,7 +12865,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: - *40 - - *90 + - *92 requestBody: required: true content: @@ -12871,12 +12905,12 @@ paths: - none - private_and_internal - public - configuration: *88 + configuration: *90 examples: default: value: default_for_new_repos: all - configuration: &228 + configuration: &231 value: id: 1325 target_type: organization @@ -12928,7 +12962,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration parameters: - *40 - - *90 + - *92 - 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)." @@ -12937,8 +12971,8 @@ paths: schema: type: integer default: 30 - - *82 - - *83 + - *84 + - *85 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -12956,7 +12990,7 @@ paths: application/json: schema: type: array - items: &231 + items: &234 type: object description: Repositories associated with a code security configuration and attachment status @@ -12974,13 +13008,13 @@ paths: - failed - updating - removed_by_enterprise - repository: *94 + repository: *96 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: &232 + repository: &235 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -13445,7 +13479,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &234 + items: &237 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -13456,14 +13490,14 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *95 - required: *96 + properties: *97 + required: *98 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &281 + - &284 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -13522,7 +13556,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &294 + properties: &297 id: description: Unique identifier of the team type: integer @@ -13578,7 +13612,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &295 + required: &298 - id - node_id - url @@ -13697,7 +13731,7 @@ paths: - created_at additionalProperties: false examples: - default: &235 + default: &238 value: total_seats: 2 seats: @@ -13766,7 +13800,7 @@ paths: site_admin: false headers: Link: *39 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -13828,7 +13862,7 @@ paths: application/json: schema: type: array - items: &131 + items: &134 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -14135,7 +14169,7 @@ paths: - date additionalProperties: true examples: - default: &132 + default: &135 value: - date: '2024-06-24' total_active_users: 24 @@ -14234,10 +14268,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *97 + '500': *99 '403': *29 '404': *6 - '422': &133 + '422': &136 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -14307,7 +14341,7 @@ paths: application/json: schema: type: array - items: &134 + items: &137 title: Copilot Usage Metrics description: Summary of Copilot usage. type: object @@ -14458,7 +14492,7 @@ paths: lines_suggested: 1100 lines_accepted: 1000 active_users: 5 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -14486,7 +14520,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &242 + - &245 name: state in: query description: |- @@ -14495,7 +14529,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &243 + - &246 name: severity in: query description: |- @@ -14504,7 +14538,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &244 + - &247 name: ecosystem in: query description: |- @@ -14513,14 +14547,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &245 + - &248 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 - - &246 + - &249 name: epss_percentage in: query description: |- @@ -14532,7 +14566,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 - - &247 + - &250 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -14542,7 +14576,7 @@ paths: enum: - development - runtime - - &248 + - &251 name: sort in: query description: |- @@ -14557,10 +14591,10 @@ paths: - updated - epss_percentage default: created + - *86 - *84 - - *82 - - *83 - - &249 + - *85 + - &252 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -14573,7 +14607,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &250 + - &253 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -14593,11 +14627,11 @@ paths: application/json: schema: type: array - items: &251 + items: &254 type: object description: A Dependabot alert. properties: - number: *98 + number: *100 state: type: string description: The state of the Dependabot alert. @@ -14612,7 +14646,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &99 + package: &101 type: object description: Details for the vulnerable package. readOnly: true @@ -14643,7 +14677,7 @@ paths: enum: - development - runtime - security_advisory: &503 + security_advisory: &508 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -14673,13 +14707,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &102 + items: &104 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *99 + package: *101 severity: type: string description: The severity of the vulnerability. @@ -14745,8 +14779,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *100 - epss: *101 + cvss_severities: *102 + epss: *103 cwes: type: array description: Details for the advisory pertaining to Common @@ -14845,12 +14879,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *102 - url: *103 - html_url: *104 - created_at: *105 - updated_at: *106 - dismissed_at: *107 + security_vulnerability: *104 + url: *105 + html_url: *106 + created_at: *107 + updated_at: *108 + dismissed_at: *109 dismissed_by: title: Simple User description: A GitHub user. @@ -14874,15 +14908,15 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *108 - auto_dismissed_at: &504 + fixed_at: *110 + auto_dismissed_at: &509 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - repository: *94 + repository: *96 required: - number - state @@ -14901,7 +14935,7 @@ paths: - repository additionalProperties: false examples: - default: &252 + default: &255 value: - number: 2 state: dismissed @@ -15327,7 +15361,7 @@ paths: type: integer network_configurations: type: array - items: &109 + items: &111 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -15367,7 +15401,7 @@ paths: - name - created_on examples: - default: &342 + default: &347 value: total_count: 2 network_configurations: @@ -15445,9 +15479,9 @@ paths: description: Response content: application/json: - schema: *109 + schema: *111 examples: - default: &110 + default: &112 value: id: 123456789ABCDEF name: My network configuration @@ -15474,7 +15508,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: - *40 - - &111 + - &113 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -15486,9 +15520,9 @@ paths: description: Response content: application/json: - schema: *109 + schema: *111 examples: - default: *110 + default: *112 headers: Link: *39 x-github: @@ -15508,7 +15542,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: - *40 - - *111 + - *113 requestBody: required: true content: @@ -15547,9 +15581,9 @@ paths: description: Response content: application/json: - schema: *109 + schema: *111 examples: - default: *110 + default: *112 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -15567,7 +15601,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: - *40 - - *111 + - *113 responses: '204': description: Response @@ -15590,7 +15624,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: - *40 - - &343 + - &348 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -15602,7 +15636,7 @@ paths: description: Response content: application/json: - schema: &344 + schema: &349 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -15636,7 +15670,7 @@ paths: - subnet_id - region examples: - default: &345 + default: &350 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -15674,7 +15708,7 @@ paths: application/json: schema: type: array - items: &112 + items: &114 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -15740,7 +15774,7 @@ paths: - property_name - value_type examples: - default: &113 + default: &115 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -15796,7 +15830,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *112 + items: *114 minItems: 1 maxItems: 100 required: @@ -15826,9 +15860,9 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: - default: *113 + default: *115 '403': *29 '404': *6 x-github: @@ -15853,7 +15887,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *40 - - &114 + - &116 name: custom_property_name description: The custom property name in: path @@ -15865,9 +15899,9 @@ paths: description: Response content: application/json: - schema: *112 + schema: *114 examples: - default: &115 + default: &117 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -15903,12 +15937,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: - *40 - - *114 + - *116 requestBody: required: true content: application/json: - schema: &313 + schema: &316 title: Custom Property Set Payload description: Custom property set payload type: object @@ -15964,9 +15998,9 @@ paths: description: Response content: application/json: - schema: *112 + schema: *114 examples: - default: *115 + default: *117 '403': *29 '404': *6 x-github: @@ -15991,9 +16025,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *40 - - *114 + - *116 responses: - '204': *116 + '204': *118 '403': *29 '404': *6 x-github: @@ -16033,7 +16067,7 @@ paths: - push - repository default: branch - enforcement: &123 + enforcement: &125 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -16046,7 +16080,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &124 + items: &126 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -16083,7 +16117,7 @@ paths: - always - pull_request default: always - conditions: &128 + conditions: &130 title: Enterprise ruleset conditions type: object description: Conditions for an enterprise ruleset. The conditions @@ -16097,7 +16131,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &117 + - &119 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -16123,7 +16157,7 @@ paths: type: string required: - organization_name - - &120 + - &122 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -16152,7 +16186,7 @@ paths: is prevented. required: - repository_name - - &119 + - &121 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -16180,8 +16214,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *117 - - &122 + - *119 + - &124 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -16194,7 +16228,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &118 + items: &120 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -16225,16 +16259,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *118 + items: *120 required: - repository_property - - *119 + - *121 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &121 + - &123 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -16251,25 +16285,25 @@ paths: type: integer required: - organization_id - - *120 - - *119 + - *122 + - *121 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: + - *123 + - *124 - *121 - - *122 - - *119 rules: type: array description: An array of rules within the ruleset. - items: &125 + items: &127 title: Repository Rule type: object description: A repository rule. oneOf: - - &613 + - &618 title: creation description: Only allow users with bypass permission to create matching refs. @@ -16281,7 +16315,7 @@ paths: type: string enum: - creation - - &614 + - &619 title: update description: Only allow users with bypass permission to update matching refs. @@ -16302,7 +16336,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &616 + - &621 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -16314,7 +16348,7 @@ paths: type: string enum: - deletion - - &617 + - &622 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -16326,7 +16360,7 @@ paths: type: string enum: - required_linear_history - - &618 + - &623 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -16402,7 +16436,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &619 + - &624 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -16426,7 +16460,7 @@ paths: type: string required: - required_deployment_environments - - &620 + - &625 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -16438,7 +16472,7 @@ paths: type: string enum: - required_signatures - - &621 + - &626 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. @@ -16489,7 +16523,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &622 + - &627 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -16536,7 +16570,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &623 + - &628 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -16548,7 +16582,7 @@ paths: type: string enum: - non_fast_forward - - &624 + - &629 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -16584,7 +16618,7 @@ paths: required: - operator - pattern - - &625 + - &630 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -16620,7 +16654,7 @@ paths: required: - operator - pattern - - &626 + - &631 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -16656,7 +16690,7 @@ paths: required: - operator - pattern - - &627 + - &632 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -16692,7 +16726,7 @@ paths: required: - operator - pattern - - &628 + - &633 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -16818,7 +16852,7 @@ paths: maximum: 100 required: - max_file_size - - &629 + - &634 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -16867,7 +16901,7 @@ paths: - repository_id required: - workflows - - &630 + - &635 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -16953,7 +16987,7 @@ paths: description: Response content: application/json: - schema: &126 + schema: &128 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -16988,11 +17022,11 @@ paths: source: type: string description: The name of the source - enforcement: *123 + enforcement: *125 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *124 + items: *126 current_user_can_bypass: type: string description: |- @@ -17023,8 +17057,8 @@ paths: conditions: nullable: true anyOf: - - *119 - - &320 + - *121 + - &323 title: Organization ruleset conditions type: object description: |- @@ -17038,14 +17072,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *119 - - *120 + - *121 + - *122 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *119 + - *121 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -17067,11 +17101,11 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *119 - - *122 + - *121 + - *124 rules: type: array - items: *125 + items: *127 created_at: type: string format: date-time @@ -17079,7 +17113,7 @@ paths: type: string format: date-time examples: - default: &127 + default: &129 value: id: 21 name: super cool ruleset @@ -17105,7 +17139,7 @@ paths: created_at: '2024-08-15T08:43:03Z' updated_at: '2024-09-23T16:29:47Z' '404': *6 - '500': *97 + '500': *99 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -17138,11 +17172,11 @@ paths: description: Response content: application/json: - schema: *126 + schema: *128 examples: - default: *127 + default: *129 '404': *6 - '500': *97 + '500': *99 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -17184,16 +17218,16 @@ paths: - tag - push - repository - enforcement: *123 + enforcement: *125 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *124 - conditions: *128 + items: *126 + conditions: *130 rules: description: An array of rules within the ruleset. type: array - items: *125 + items: *127 examples: default: value: @@ -17217,11 +17251,11 @@ paths: description: Response content: application/json: - schema: *126 + schema: *128 examples: - default: *127 + default: *129 '404': *6 - '500': *97 + '500': *99 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -17248,12 +17282,157 @@ paths: '204': description: Response '404': *6 - '500': *97 + '500': *99 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: + - *40 + - *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: &131 + 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: &326 + 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': *99 + 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: + - *40 + - 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: &327 + allOf: + - *131 + - 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': *99 + 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 @@ -17268,7 +17447,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *40 - - &323 + - &328 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -17279,7 +17458,7 @@ paths: enum: - open - resolved - - &324 + - &329 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -17289,7 +17468,7 @@ paths: required: false schema: type: string - - &325 + - &330 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -17298,7 +17477,7 @@ paths: required: false schema: type: string - - &326 + - &331 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. @@ -17310,11 +17489,11 @@ paths: - created - updated default: created - - *84 + - *86 - *17 - - *82 - - *83 - - &327 + - *84 + - *85 + - &332 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -17323,7 +17502,7 @@ paths: required: false schema: type: string - - &328 + - &333 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -17332,7 +17511,7 @@ paths: schema: type: boolean default: false - - &329 + - &334 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -17348,11 +17527,11 @@ paths: application/json: schema: type: array - items: &330 + items: &335 type: object properties: - number: *98 - created_at: *105 + number: *100 + created_at: *107 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -17360,21 +17539,21 @@ paths: format: date-time readOnly: true nullable: true - url: *103 - html_url: *104 + url: *105 + html_url: *106 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &643 + state: &648 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: &644 + resolution: &649 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -17408,7 +17587,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *94 + repository: *96 push_protection_bypassed: type: boolean description: Whether push protection was bypassed for the detected @@ -17471,7 +17650,7 @@ paths: repositories in the same organization or enterprise. nullable: true examples: - default: &331 + default: &336 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -17706,7 +17885,7 @@ paths: headers: Link: *39 '404': *6 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -17734,7 +17913,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &339 type: object properties: total_minutes_used: @@ -17804,7 +17983,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &335 + default: &340 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -17842,7 +18021,7 @@ paths: description: Success content: application/json: - schema: &336 + schema: &341 type: object properties: total_advanced_security_committers: @@ -17897,7 +18076,7 @@ paths: required: - repositories examples: - default: &337 + default: &342 value: total_advanced_security_committers: 2 total_count: 2 @@ -17984,8 +18163,8 @@ paths: name: Monalisa '400': *14 '403': *29 - '500': *97 - '503': *129 + '500': *99 + '503': *132 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -18006,7 +18185,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-users-to-a-cost-center parameters: - *40 - - &130 + - &133 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -18048,9 +18227,9 @@ paths: message: Resources successfully added to the cost center. '400': *14 '403': *29 - '409': *92 - '500': *97 - '503': *129 + '409': *94 + '500': *99 + '503': *132 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -18070,7 +18249,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-users-from-a-cost-center parameters: - *40 - - *130 + - *133 requestBody: required: true content: @@ -18107,8 +18286,8 @@ paths: message: Resources successfully removed from the cost center. '400': *14 '403': *29 - '500': *97 - '503': *129 + '500': *99 + '503': *132 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -18136,7 +18315,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &343 type: object properties: total_gigabytes_bandwidth_used: @@ -18154,7 +18333,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &339 + default: &344 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -18186,7 +18365,7 @@ paths: description: Response content: application/json: - schema: &340 + schema: &345 type: object properties: days_left_in_billing_cycle: @@ -18204,7 +18383,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &341 + default: &346 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -18229,7 +18408,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *40 - - &168 + - &171 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, @@ -18238,7 +18417,7 @@ paths: required: false schema: type: integer - - &169 + - &172 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 @@ -18247,7 +18426,7 @@ paths: required: false schema: type: integer - - &170 + - &173 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 @@ -18256,7 +18435,7 @@ paths: required: false schema: type: integer - - &171 + - &174 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 @@ -18277,7 +18456,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &172 + schema: &175 type: object properties: usageItems: @@ -18330,7 +18509,7 @@ paths: - netAmount - organizationName examples: - default: &173 + default: &176 value: usageItems: - date: '2023-08-01' @@ -18346,8 +18525,8 @@ paths: repositoryName: github/example '400': *14 '403': *29 - '500': *97 - '503': *129 + '500': *99 + '503': *132 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -18418,13 +18597,13 @@ paths: application/json: schema: type: array - items: *131 + items: *134 examples: - default: *132 - '500': *97 + default: *135 + '500': *99 '403': *29 '404': *6 - '422': *133 + '422': *136 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -18459,7 +18638,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: - *40 - - &293 + - &296 name: team_slug description: The slug of the team name. in: path @@ -18497,9 +18676,9 @@ paths: application/json: schema: type: array - items: *134 + items: *137 examples: - default: &236 + default: &239 value: - day: '2023-10-15' total_suggestions_count: 1000 @@ -18563,7 +18742,7 @@ paths: lines_suggested: 200 lines_accepted: 150 active_users: 3 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -18655,7 +18834,7 @@ paths: application/json: schema: type: array - items: &163 + items: &166 title: Event description: Event type: object @@ -18665,7 +18844,7 @@ paths: type: type: string nullable: true - actor: &135 + actor: &138 title: Actor description: Actor type: object @@ -18705,18 +18884,18 @@ paths: - id - name - url - org: *135 + org: *138 payload: type: object properties: action: type: string - issue: &151 + issue: &154 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &552 + properties: &557 id: type: integer format: int64 @@ -18827,7 +19006,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &488 + properties: &493 url: type: string format: uri @@ -18897,7 +19076,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &489 + required: &494 - closed_issues - creator - description @@ -18986,9 +19165,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 - author_association: &138 + properties: *139 + required: *140 + author_association: &141 title: author_association type: string example: OWNER @@ -19002,7 +19181,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &139 + reactions: &142 title: Reaction Rollup type: object properties: @@ -19052,7 +19231,7 @@ paths: - total - completed - percent_completed - required: &553 + required: &558 - assignee - closed_at - comments @@ -19074,7 +19253,7 @@ paths: - author_association - created_at - updated_at - comment: &550 + comment: &555 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -19122,7 +19301,7 @@ paths: issue_url: type: string format: uri - author_association: *138 + author_association: *141 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -19132,9 +19311,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 - reactions: *139 + properties: *139 + required: *140 + reactions: *142 required: - id - node_id @@ -19229,7 +19408,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19310,7 +19489,7 @@ paths: _links: type: object properties: - timeline: &140 + timeline: &143 title: Link With Type description: Hypermedia Link with Type type: object @@ -19322,17 +19501,17 @@ paths: required: - href - type - user: *140 - security_advisories: *140 - current_user: *140 - current_user_public: *140 - current_user_actor: *140 - current_user_organization: *140 + user: *143 + security_advisories: *143 + current_user: *143 + current_user_public: *143 + current_user_actor: *143 + current_user_organization: *143 current_user_organizations: type: array - items: *140 - repository_discussions: *140 - repository_discussions_category: *140 + items: *143 + repository_discussions: *143 + repository_discussions_category: *143 required: - timeline - user @@ -19394,7 +19573,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *141 + - *144 - *17 - *19 responses: @@ -19404,7 +19583,7 @@ paths: application/json: schema: type: array - items: &142 + items: &145 title: Base Gist description: Base Gist type: object @@ -19503,7 +19682,7 @@ paths: - created_at - updated_at examples: - default: &143 + default: &146 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -19624,7 +19803,7 @@ paths: description: Response content: application/json: - schema: &144 + schema: &147 title: Gist Simple description: Gist Simple type: object @@ -19641,7 +19820,7 @@ paths: url: type: string format: uri - user: &700 + user: &705 title: Public User description: Public User type: object @@ -20003,7 +20182,7 @@ paths: truncated: type: boolean examples: - default: &145 + default: &148 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -20107,7 +20286,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *141 + - *144 - *17 - *19 responses: @@ -20117,9 +20296,9 @@ paths: application/json: schema: type: array - items: *142 + items: *145 examples: - default: *143 + default: *146 headers: Link: *39 '422': *15 @@ -20141,7 +20320,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *141 + - *144 - *17 - *19 responses: @@ -20151,9 +20330,9 @@ paths: application/json: schema: type: array - items: *142 + items: *145 examples: - default: *143 + default: *146 headers: Link: *39 '401': *25 @@ -20181,7 +20360,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &146 + - &149 name: gist_id description: The unique identifier of the gist. in: path @@ -20193,10 +20372,10 @@ paths: description: Response content: application/json: - schema: *144 + schema: *147 examples: - default: *145 - '403': &149 + default: *148 + '403': &152 description: Forbidden Gist content: application/json: @@ -20244,7 +20423,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *146 + - *149 requestBody: required: true content: @@ -20304,9 +20483,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *147 examples: - updateGist: *145 + updateGist: *148 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -20464,7 +20643,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *146 + - *149 responses: '204': description: Response @@ -20493,7 +20672,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *146 + - *149 - *17 - *19 responses: @@ -20503,7 +20682,7 @@ paths: application/json: schema: type: array - items: &147 + items: &150 title: Gist Comment description: A comment made to a gist. type: object @@ -20538,7 +20717,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *138 + author_association: *141 required: - url - id @@ -20603,7 +20782,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *146 + - *149 requestBody: required: true content: @@ -20628,9 +20807,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *150 examples: - default: &148 + default: &151 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -20688,8 +20867,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *146 - - &150 + - *149 + - &153 name: comment_id description: The unique identifier of the comment. in: path @@ -20702,12 +20881,12 @@ paths: description: Response content: application/json: - schema: *147 + schema: *150 examples: - default: *148 + default: *151 '304': *37 '404': *6 - '403': *149 + '403': *152 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -20729,8 +20908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *146 - - *150 + - *149 + - *153 requestBody: required: true content: @@ -20755,9 +20934,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *150 examples: - default: *148 + default: *151 '404': *6 x-github: githubCloudOnly: false @@ -20774,8 +20953,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *146 - - *150 + - *149 + - *153 responses: '204': description: Response @@ -20798,7 +20977,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *146 + - *149 - *17 - *19 responses: @@ -20899,7 +21078,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *146 + - *149 - *17 - *19 responses: @@ -20909,7 +21088,7 @@ paths: application/json: schema: type: array - items: *144 + items: *147 examples: default: value: @@ -20974,13 +21153,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *146 + - *149 responses: '201': description: Response content: application/json: - schema: *142 + schema: *145 examples: default: value: @@ -21051,7 +21230,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *146 + - *149 responses: '204': description: Response if gist is starred @@ -21081,7 +21260,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *146 + - *149 responses: '204': description: Response @@ -21103,7 +21282,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *146 + - *149 responses: '204': description: Response @@ -21132,7 +21311,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *146 + - *149 - name: sha in: path required: true @@ -21143,9 +21322,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *147 examples: - default: *145 + default: *148 '422': *15 '404': *6 '403': *29 @@ -21511,7 +21690,7 @@ paths: - closed - all default: open - - &282 + - &285 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -21529,8 +21708,8 @@ paths: - updated - comments default: created - - *84 - - *141 + - *86 + - *144 - name: collab in: query required: false @@ -21560,9 +21739,9 @@ paths: application/json: schema: type: array - items: *151 + items: *154 examples: - default: &283 + default: &286 value: - id: 1 node_id: MDU6SXNzdWUx @@ -21846,8 +22025,8 @@ paths: title: License Simple description: License Simple type: object - properties: *152 - required: *153 + properties: *155 + required: *156 examples: default: value: @@ -22131,7 +22310,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &154 + X-CommonMarker-Version: &157 example: 0.17.4 schema: type: string @@ -22186,7 +22365,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *154 + X-CommonMarker-Version: *157 content: text/html: schema: @@ -22215,7 +22394,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: - - &157 + - &160 name: account_id description: account_id parameter in: path @@ -22227,7 +22406,7 @@ paths: description: Response content: application/json: - schema: &156 + schema: &159 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -22257,7 +22436,7 @@ paths: nullable: true id: type: integer - plan: &155 + plan: &158 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -22346,7 +22525,7 @@ paths: nullable: true updated_at: type: string - plan: *155 + plan: *158 required: - url - id @@ -22354,7 +22533,7 @@ paths: - login - marketplace_purchase examples: - default: &158 + default: &161 value: url: https://api.github.com/orgs/github type: Organization @@ -22439,9 +22618,9 @@ paths: application/json: schema: type: array - items: *155 + items: *158 examples: - default: &159 + default: &162 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -22481,14 +22660,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &160 + - &163 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &161 + - &164 name: sort description: The property to sort the results by. in: query @@ -22518,9 +22697,9 @@ paths: application/json: schema: type: array - items: *156 + items: *159 examples: - default: &162 + default: &165 value: - url: https://api.github.com/orgs/github type: Organization @@ -22594,15 +22773,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: - - *157 + - *160 responses: '200': description: Response content: application/json: - schema: *156 + schema: *159 examples: - default: *158 + default: *161 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -22634,9 +22813,9 @@ paths: application/json: schema: type: array - items: *155 + items: *158 examples: - default: *159 + default: *162 headers: Link: *39 '401': *25 @@ -22659,8 +22838,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *160 - - *161 + - *163 + - *164 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -22680,9 +22859,9 @@ paths: application/json: schema: type: array - items: *156 + items: *159 examples: - default: *162 + default: *165 headers: Link: *39 '401': *25 @@ -22946,14 +23125,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: - - &365 + - &370 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &366 + - &371 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -22970,7 +23149,7 @@ paths: application/json: schema: type: array - items: *163 + items: *166 examples: default: value: @@ -23024,7 +23203,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &379 + '301': &384 description: Moved permanently content: application/json: @@ -23046,7 +23225,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &582 + - &587 name: all description: If `true`, show notifications marked as read. in: query @@ -23054,7 +23233,7 @@ paths: schema: type: boolean default: false - - &583 + - &588 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -23063,8 +23242,8 @@ paths: schema: type: boolean default: false - - *141 - - &584 + - *144 + - &589 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: @@ -23089,18 +23268,18 @@ paths: application/json: schema: type: array - items: &164 + items: &167 title: Thread description: Thread type: object properties: id: type: string - repository: &194 + repository: &197 title: Minimal Repository description: Minimal Repository type: object - properties: &254 + properties: &257 id: type: integer format: int64 @@ -23376,7 +23555,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &317 + security_and_analysis: &320 nullable: true type: object properties: @@ -23440,7 +23619,7 @@ paths: enum: - enabled - disabled - required: &255 + required: &258 - archive_url - assignees_url - blobs_url @@ -23528,7 +23707,7 @@ paths: - url - subscription_url examples: - default: &585 + default: &590 value: - id: '1' repository: @@ -23694,7 +23873,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &165 + - &168 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 @@ -23708,7 +23887,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *167 examples: default: value: @@ -23811,7 +23990,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *165 + - *168 responses: '205': description: Reset Content @@ -23834,7 +24013,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *165 + - *168 responses: '204': description: No content @@ -23857,13 +24036,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: - - *165 + - *168 responses: '200': description: Response content: application/json: - schema: &166 + schema: &169 title: Thread Subscription description: Thread Subscription type: object @@ -23900,7 +24079,7 @@ paths: - url - subscribed examples: - default: &167 + default: &170 value: subscribed: true ignored: false @@ -23931,7 +24110,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *165 + - *168 requestBody: required: false content: @@ -23952,9 +24131,9 @@ paths: description: Response content: application/json: - schema: *166 + schema: *169 examples: - default: *167 + default: *170 '304': *37 '403': *29 '401': *25 @@ -23977,7 +24156,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *165 + - *168 responses: '204': description: Response @@ -24074,7 +24253,7 @@ paths: type: array items: *58 examples: - default: &718 + default: &723 value: - login: github id: 1 @@ -24138,7 +24317,7 @@ paths: type: integer custom_roles: type: array - items: &237 + items: &240 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -24186,7 +24365,7 @@ paths: - created_at - updated_at examples: - default: &238 + default: &241 value: id: 8030 name: Security Engineer @@ -24232,29 +24411,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: - - &174 + - &177 name: org description: The organization name. The name is not case sensitive. in: path required: true schema: type: string - - *168 - - *169 - - *170 - *171 + - *172 + - *173 + - *174 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *172 + schema: *175 examples: - default: *173 + default: *176 '400': *14 '403': *29 - '500': *97 - '503': *129 + '500': *99 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24280,13 +24459,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - *174 + - *177 responses: '200': description: Response content: application/json: - schema: &175 + schema: &178 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -24589,7 +24768,7 @@ paths: - updated_at - archived_at examples: - default-response: &176 + default-response: &179 value: login: github id: 1 @@ -24682,7 +24861,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *174 + - *177 requestBody: required: false content: @@ -24905,18 +25084,18 @@ paths: description: Response content: application/json: - schema: *175 + schema: *178 examples: - default: *176 + default: *179 '422': description: Validation failed content: application/json: schema: oneOf: - - *177 - - *178 - '409': *92 + - *180 + - *181 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24939,9 +25118,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *174 + - *177 responses: - '202': *93 + '202': *95 '404': *6 '403': *29 x-github: @@ -24964,15 +25143,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: - - *174 + - *177 responses: '200': description: Response content: application/json: - schema: *179 + schema: *182 examples: - default: *180 + default: *183 headers: Link: *39 x-github: @@ -24995,7 +25174,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: - - *174 + - *177 - *17 - *19 responses: @@ -25013,7 +25192,7 @@ paths: type: integer repository_cache_usages: type: array - items: &384 + items: &389 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -25068,7 +25247,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: - - *174 + - *177 - *17 - *19 responses: @@ -25088,7 +25267,7 @@ paths: type: array items: *41 examples: - default: *181 + default: *184 headers: Link: *39 x-github: @@ -25108,7 +25287,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: - - *174 + - *177 requestBody: required: true content: @@ -25201,7 +25380,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: - - *174 + - *177 responses: '200': description: Response @@ -25237,7 +25416,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: - - *174 + - *177 responses: '200': description: Response @@ -25272,15 +25451,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: - - *174 + - *177 responses: '200': description: Response content: application/json: - schema: *182 + schema: *185 examples: - default: *183 + default: *186 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25298,7 +25477,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: - - *174 + - *177 responses: '200': description: Response @@ -25316,7 +25495,7 @@ paths: type: array items: *44 examples: - default: *184 + default: *187 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25334,7 +25513,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: - - *174 + - *177 responses: '200': description: Response @@ -25378,7 +25557,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: - - *174 + - *177 - *46 responses: '200': @@ -25407,7 +25586,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: - - *174 + - *177 - *46 requestBody: required: true @@ -25470,7 +25649,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: - - *174 + - *177 - *46 responses: '202': @@ -25499,13 +25678,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: - - *174 + - *177 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &185 + schema: &188 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -25519,7 +25698,7 @@ paths: required: - include_claim_keys examples: - default: &186 + default: &189 value: include_claim_keys: - repo @@ -25541,20 +25720,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: - - *174 + - *177 requestBody: required: true content: application/json: - schema: *185 + schema: *188 examples: - default: *186 + default: *189 responses: '201': description: Empty response content: application/json: - schema: &205 + schema: &208 title: Empty Object description: An object without any properties. type: object @@ -25584,7 +25763,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: - - *174 + - *177 responses: '200': description: Response @@ -25593,7 +25772,7 @@ paths: schema: type: object properties: - enabled_repositories: &188 + enabled_repositories: &191 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -25607,7 +25786,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *48 - selected_actions_url: *187 + selected_actions_url: *190 required: - enabled_repositories examples: @@ -25636,7 +25815,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: - - *174 + - *177 responses: '204': description: Response @@ -25647,7 +25826,7 @@ paths: schema: type: object properties: - enabled_repositories: *188 + enabled_repositories: *191 allowed_actions: *48 required: - enabled_repositories @@ -25675,7 +25854,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: - - *174 + - *177 - *17 - *19 responses: @@ -25695,7 +25874,7 @@ paths: type: array items: *63 examples: - default: &712 + default: &717 value: total_count: 1 repositories: @@ -25835,7 +26014,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: - - *174 + - *177 responses: '204': description: Response @@ -25879,8 +26058,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: - - *174 - - &189 + - *177 + - &192 name: repository_id description: The unique identifier of the repository. in: path @@ -25908,8 +26087,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: - - *174 - - *189 + - *177 + - *192 responses: '204': description: Response @@ -25932,7 +26111,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: - - *174 + - *177 responses: '200': description: Response @@ -25963,7 +26142,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: - - *174 + - *177 responses: '204': description: Response @@ -25995,13 +26174,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: - - *174 + - *177 responses: '200': description: Response content: application/json: - schema: *190 + schema: *193 examples: default: *54 x-github: @@ -26024,7 +26203,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: - - *174 + - *177 responses: '204': description: Success response @@ -26035,7 +26214,7 @@ paths: required: false content: application/json: - schema: *191 + schema: *194 examples: default: *54 x-github: @@ -26057,7 +26236,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: - - *174 + - *177 - *17 - *19 - name: visible_to_repository @@ -26082,7 +26261,7 @@ paths: type: number runner_groups: type: array - items: &192 + items: &195 type: object properties: id: @@ -26198,7 +26377,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: - - *174 + - *177 requestBody: required: true content: @@ -26270,9 +26449,9 @@ paths: description: Response content: application/json: - schema: *192 + schema: *195 examples: - default: &193 + default: &196 value: id: 2 name: octo-runner-group @@ -26307,14 +26486,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: - - *174 + - *177 - *57 responses: '200': description: Response content: application/json: - schema: *192 + schema: *195 examples: default: value: @@ -26350,7 +26529,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: - - *174 + - *177 - *57 requestBody: required: true @@ -26405,9 +26584,9 @@ paths: description: Response content: application/json: - schema: *192 + schema: *195 examples: - default: *193 + default: *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -26426,7 +26605,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: - - *174 + - *177 - *57 responses: '204': @@ -26450,7 +26629,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: - - *174 + - *177 - *57 - *17 - *19 @@ -26471,7 +26650,7 @@ paths: type: array items: *41 examples: - default: *181 + default: *184 headers: Link: *39 x-github: @@ -26493,7 +26672,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: - - *174 + - *177 - *57 - *19 - *17 @@ -26512,9 +26691,9 @@ paths: type: number repositories: type: array - items: *194 + items: *197 examples: - default: &703 + default: &708 value: total_count: 1 repositories: @@ -26766,7 +26945,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: - - *174 + - *177 - *57 requestBody: required: true @@ -26811,9 +26990,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: - - *174 + - *177 - *57 - - *189 + - *192 responses: '204': description: Response @@ -26835,9 +27014,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: - - *174 + - *177 - *57 - - *189 + - *192 responses: '204': description: Response @@ -26860,7 +27039,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: - - *174 + - *177 - *57 - *17 - *19 @@ -26902,7 +27081,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: - - *174 + - *177 - *57 requestBody: required: true @@ -26947,7 +27126,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: - - *174 + - *177 - *57 - *60 responses: @@ -26971,7 +27150,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: - - *174 + - *177 - *57 - *60 responses: @@ -27003,7 +27182,7 @@ paths: in: query schema: type: string - - *174 + - *177 - *17 - *19 responses: @@ -27047,7 +27226,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: - - *174 + - *177 responses: '200': description: Response @@ -27055,9 +27234,9 @@ paths: application/json: schema: type: array - items: *195 + items: *198 examples: - default: *196 + default: *199 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27079,7 +27258,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: - - *174 + - *177 requestBody: required: true content: @@ -27122,10 +27301,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *197 + '201': *200 '404': *6 '422': *7 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27153,7 +27332,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: - - *174 + - *177 responses: '201': description: Response @@ -27161,7 +27340,7 @@ paths: application/json: schema: *64 examples: - default: *198 + default: *201 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27189,7 +27368,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: - - *174 + - *177 responses: '201': description: Response @@ -27197,7 +27376,7 @@ paths: application/json: schema: *64 examples: - default: *199 + default: *202 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27219,7 +27398,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: - - *174 + - *177 - *60 responses: '200': @@ -27228,7 +27407,7 @@ paths: application/json: schema: *61 examples: - default: *200 + default: *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27249,7 +27428,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: - - *174 + - *177 - *60 responses: '204': @@ -27275,7 +27454,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: - - *174 + - *177 - *60 responses: '200': *66 @@ -27300,7 +27479,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: - - *174 + - *177 - *60 requestBody: required: true @@ -27349,7 +27528,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: - - *174 + - *177 - *60 requestBody: required: true @@ -27399,10 +27578,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: - - *174 + - *177 - *60 responses: - '200': *201 + '200': *204 '404': *6 x-github: githubCloudOnly: false @@ -27429,9 +27608,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: - - *174 + - *177 - *60 - - *202 + - *205 responses: '200': *66 '404': *6 @@ -27458,7 +27637,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *174 + - *177 - *17 - *19 responses: @@ -27476,7 +27655,7 @@ paths: type: integer secrets: type: array - items: &203 + items: &206 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -27549,13 +27728,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *174 + - *177 responses: '200': description: Response content: application/json: - schema: &404 + schema: &409 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -27584,7 +27763,7 @@ paths: - key_id - key examples: - default: &405 + default: &410 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27609,8 +27788,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *174 - - &204 + - *177 + - &207 name: secret_name description: The name of the secret. in: path @@ -27622,7 +27801,7 @@ paths: description: Response content: application/json: - schema: *203 + schema: *206 examples: default: value: @@ -27652,8 +27831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *174 - - *204 + - *177 + - *207 requestBody: required: true content: @@ -27710,7 +27889,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -27736,8 +27915,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *174 - - *204 + - *177 + - *207 responses: '204': description: Response @@ -27763,8 +27942,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: - - *174 - - *204 + - *177 + - *207 - *19 - *17 responses: @@ -27782,9 +27961,9 @@ paths: type: integer repositories: type: array - items: *194 + items: *197 examples: - default: &208 + default: &211 value: total_count: 1 repositories: @@ -27876,8 +28055,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: - - *174 - - *204 + - *177 + - *207 requestBody: required: true content: @@ -27929,8 +28108,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: - - *174 - - *204 + - *177 + - *207 - name: repository_id in: path required: true @@ -27963,8 +28142,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: - - *174 - - *204 + - *177 + - *207 - name: repository_id in: path required: true @@ -27996,8 +28175,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *174 - - &389 + - *177 + - &394 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)." @@ -28021,7 +28200,7 @@ paths: type: integer variables: type: array - items: &206 + items: &209 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -28106,7 +28285,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *174 + - *177 requestBody: required: true content: @@ -28154,7 +28333,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -28179,8 +28358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *174 - - &207 + - *177 + - &210 name: name description: The name of the variable. in: path @@ -28192,7 +28371,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *209 examples: default: value: @@ -28222,8 +28401,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *174 - - *207 + - *177 + - *210 requestBody: required: true content: @@ -28285,8 +28464,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *174 - - *207 + - *177 + - *210 responses: '204': description: Response @@ -28312,8 +28491,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: - - *174 - - *207 + - *177 + - *210 - *19 - *17 responses: @@ -28331,9 +28510,9 @@ paths: type: integer repositories: type: array - items: *194 + items: *197 examples: - default: *208 + default: *211 '409': description: Response when the visibility of the variable is not set to `selected` @@ -28359,8 +28538,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: - - *174 - - *207 + - *177 + - *210 requestBody: required: true content: @@ -28409,8 +28588,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: - - *174 - - *207 + - *177 + - *210 - name: repository_id in: path required: true @@ -28444,8 +28623,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: - - *174 - - *207 + - *177 + - *210 - name: repository_id in: path required: true @@ -28476,15 +28655,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *174 + - *177 responses: '200': description: Response content: application/json: - schema: *70 + schema: *71 examples: - default: *69 + default: *70 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -28503,19 +28682,19 @@ paths: required: true content: application/json: - schema: *209 + schema: *212 examples: - default: *69 + default: *70 parameters: - - *174 + - *177 responses: '200': description: Response content: application/json: - schema: *70 + schema: *71 examples: - default: *69 + default: *70 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -28531,7 +28710,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *174 + - *177 responses: '204': description: Response @@ -28557,9 +28736,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations parameters: - *17 - - *82 - - *83 - - *174 + - *84 + - *85 + - *177 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -28602,7 +28781,7 @@ paths: bundle_url: type: string examples: - default: &418 + default: &423 value: attestations: - bundle: @@ -28720,7 +28899,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: - - *174 + - *177 - 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). @@ -28728,10 +28907,10 @@ paths: required: false schema: type: string - - *210 - - *211 - - *212 - *213 + - *214 + - *215 + - *216 - *17 responses: '200': @@ -28740,9 +28919,9 @@ paths: application/json: schema: type: array - items: *214 + items: *217 examples: - default: *215 + default: *218 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -28759,7 +28938,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *174 + - *177 - *17 - *19 responses: @@ -28771,7 +28950,7 @@ paths: type: array items: *4 examples: - default: &284 + default: &287 value: - login: octocat id: 1 @@ -28809,8 +28988,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: - - *174 - - &216 + - *177 + - &219 name: username description: The handle for the GitHub user account. in: path @@ -28841,8 +29020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *174 - - *216 + - *177 + - *219 responses: '204': description: Response @@ -28862,8 +29041,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *174 - - *216 + - *177 + - *219 responses: '204': description: Response @@ -28889,17 +29068,17 @@ paths: category: orgs subcategory: bypass-requests parameters: - - *174 - - &321 + - *177 + - &324 name: repository_name description: The name of the repository to filter on. in: query schema: type: string - - *217 - - *218 - - *219 - *220 + - *221 + - *222 + - *223 - *17 - *19 responses: @@ -28909,11 +29088,11 @@ paths: application/json: schema: type: array - items: *221 + items: *224 examples: - default: *222 + default: *225 '404': *6 - '500': *97 + '500': *99 "/orgs/{org}/code-scanning/alerts": get: summary: List code scanning alerts for an organization @@ -28930,20 +29109,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: - - *174 - - *223 - - *224 - - *82 - - *83 + - *177 + - *226 + - *227 + - *84 + - *85 - *19 - *17 - - *84 + - *86 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: *225 + schema: *228 - name: sort description: The property by which to sort the results. in: query @@ -28959,7 +29138,7 @@ paths: be returned. in: query required: false - schema: &445 + schema: &450 type: string description: Severity of a code scanning alert. enum: @@ -28977,13 +29156,13 @@ paths: application/json: schema: type: array - items: *226 + items: *229 examples: - default: *227 + default: *230 headers: Link: *39 '404': *6 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29005,7 +29184,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: - - *174 + - *177 - name: target_type in: query description: The target type of the code security configuration @@ -29024,8 +29203,8 @@ paths: schema: type: integer default: 30 - - *82 - - *83 + - *84 + - *85 responses: '200': description: Response @@ -29033,7 +29212,7 @@ paths: application/json: schema: type: array - items: *88 + items: *90 examples: default: value: @@ -29112,7 +29291,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *174 + - *177 requestBody: required: true content: @@ -29185,7 +29364,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: *91 + code_scanning_default_setup_options: *93 secret_scanning: type: string description: The enablement status of secret scanning @@ -29285,9 +29464,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *88 + schema: *90 examples: - default: *228 + default: *231 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29309,15 +29488,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *174 + - *177 responses: '200': description: Response content: application/json: - schema: *229 + schema: *232 examples: - default: *230 + default: *233 '304': *37 '403': *29 '404': *6 @@ -29343,7 +29522,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *174 + - *177 requestBody: required: true content: @@ -29366,11 +29545,11 @@ paths: - 32 - 91 responses: - '204': *116 + '204': *118 '400': *14 '403': *29 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29392,16 +29571,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *174 - - *90 + - *177 + - *92 responses: '200': description: Response content: application/json: - schema: *88 + schema: *90 examples: - default: *228 + default: *231 '304': *37 '403': *29 '404': *6 @@ -29425,8 +29604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *174 - - *90 + - *177 + - *92 requestBody: required: true content: @@ -29492,7 +29671,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *91 + code_scanning_default_setup_options: *93 secret_scanning: type: string description: The enablement status of secret scanning @@ -29579,7 +29758,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *88 + schema: *90 examples: default: value: @@ -29633,14 +29812,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *174 - - *90 + - *177 + - *92 responses: - '204': *116 + '204': *118 '400': *14 '403': *29 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29664,8 +29843,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *174 - - *90 + - *177 + - *92 requestBody: required: true content: @@ -29704,7 +29883,7 @@ paths: - 32 - 91 responses: - '202': *93 + '202': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29728,8 +29907,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: - - *174 - - *90 + - *177 + - *92 requestBody: required: true content: @@ -29769,12 +29948,12 @@ paths: - none - private_and_internal - public - configuration: *88 + configuration: *90 examples: default: value: default_for_new_repos: all - configuration: *228 + configuration: *231 '403': *29 '404': *6 x-github: @@ -29798,8 +29977,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: - - *174 - - *90 + - *177 + - *92 - 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)." @@ -29808,8 +29987,8 @@ paths: schema: type: integer default: 30 - - *82 - - *83 + - *84 + - *85 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -29827,13 +30006,13 @@ paths: application/json: schema: type: array - items: *231 + items: *234 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *232 + repository: *235 '403': *29 '404': *6 x-github: @@ -29857,7 +30036,7 @@ paths: parameters: - *17 - *19 - - *174 + - *177 responses: '200': description: Response @@ -29873,7 +30052,7 @@ paths: type: integer codespaces: type: array - items: &285 + items: &288 type: object title: Codespace description: A codespace. @@ -29898,12 +30077,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *194 + repository: *197 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &474 + properties: &479 name: type: string description: The name of the machine. @@ -29945,7 +30124,7 @@ paths: - ready - in_progress nullable: true - required: &475 + required: &480 - name - display_name - operating_system @@ -30150,7 +30329,7 @@ paths: - pulls_url - recent_folders examples: - default: &286 + default: &289 value: total_count: 3 codespaces: @@ -30560,7 +30739,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *37 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -30582,7 +30761,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *174 + - *177 deprecated: true requestBody: required: true @@ -30626,7 +30805,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *97 + '500': *99 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30649,7 +30828,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: - - *174 + - *177 deprecated: true requestBody: required: true @@ -30681,7 +30860,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *97 + '500': *99 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30704,7 +30883,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *174 + - *177 requestBody: required: true content: @@ -30735,7 +30914,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *97 + '500': *99 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30756,7 +30935,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *174 + - *177 - *17 - *19 responses: @@ -30774,7 +30953,7 @@ paths: type: integer secrets: type: array - items: &233 + items: &236 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -30813,7 +30992,7 @@ paths: - updated_at - visibility examples: - default: &476 + default: &481 value: total_count: 2 secrets: @@ -30845,13 +31024,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *174 + - *177 responses: '200': description: Response content: application/json: - schema: &477 + schema: &482 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -30880,7 +31059,7 @@ paths: - key_id - key examples: - default: &478 + default: &483 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30903,16 +31082,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *174 - - *204 + - *177 + - *207 responses: '200': description: Response content: application/json: - schema: *233 + schema: *236 examples: - default: &480 + default: &485 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -30939,8 +31118,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: - - *174 - - *204 + - *177 + - *207 requestBody: required: true content: @@ -30995,7 +31174,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -31021,8 +31200,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *174 - - *204 + - *177 + - *207 responses: '204': description: Response @@ -31047,8 +31226,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: - - *174 - - *204 + - *177 + - *207 - *19 - *17 responses: @@ -31066,9 +31245,9 @@ paths: type: integer repositories: type: array - items: *194 + items: *197 examples: - default: *208 + default: *211 '404': *6 x-github: githubCloudOnly: false @@ -31090,8 +31269,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: - - *174 - - *204 + - *177 + - *207 requestBody: required: true content: @@ -31141,8 +31320,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: - - *174 - - *204 + - *177 + - *207 - name: repository_id in: path required: true @@ -31175,8 +31354,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: - - *174 - - *204 + - *177 + - *207 - name: repository_id in: path required: true @@ -31215,7 +31394,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: - - *174 + - *177 responses: '200': description: OK @@ -31326,7 +31505,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -31358,7 +31537,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: - - *174 + - *177 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -31381,12 +31560,12 @@ paths: currently being billed. seats: type: array - items: *234 + items: *237 examples: - default: *235 + default: *238 headers: Link: *39 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -31419,7 +31598,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: - - *174 + - *177 requestBody: content: application/json: @@ -31461,7 +31640,7 @@ paths: default: value: seats_created: 5 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -31497,7 +31676,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: - - *174 + - *177 requestBody: content: application/json: @@ -31539,7 +31718,7 @@ paths: default: value: seats_cancelled: 5 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -31577,7 +31756,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: - - *174 + - *177 requestBody: content: application/json: @@ -31618,7 +31797,7 @@ paths: default: value: seats_created: 5 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -31654,7 +31833,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: - - *174 + - *177 requestBody: content: application/json: @@ -31696,7 +31875,7 @@ paths: default: value: seats_cancelled: 5 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -31735,7 +31914,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: - - *174 + - *177 - 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`). @@ -31767,13 +31946,13 @@ paths: application/json: schema: type: array - items: *131 + items: *134 examples: - default: *132 - '500': *97 + default: *135 + '500': *99 '403': *29 '404': *6 - '422': *133 + '422': *136 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31804,7 +31983,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: - - *174 + - *177 - 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`). @@ -31836,10 +32015,10 @@ paths: application/json: schema: type: array - items: *134 + items: *137 examples: - default: *236 - '500': *97 + default: *239 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -31864,7 +32043,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: - - *174 + - *177 - *17 - name: page description: Page token @@ -32008,7 +32187,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: - - *174 + - *177 - name: credential_id in: path required: true @@ -32039,7 +32218,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: - - *174 + - *177 responses: '200': description: Response - list of custom role names @@ -32054,7 +32233,7 @@ paths: type: integer custom_roles: type: array - items: *237 + items: *240 examples: default: value: @@ -32141,12 +32320,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *174 + - *177 requestBody: required: true content: application/json: - schema: &240 + schema: &243 type: object properties: name: @@ -32187,9 +32366,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *240 examples: - default: *238 + default: *241 '422': *15 '404': *6 x-github: @@ -32213,8 +32392,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *174 - - &239 + - *177 + - &242 name: role_id description: The unique identifier of the role. in: path @@ -32226,9 +32405,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *240 examples: - default: *238 + default: *241 '404': *6 x-github: githubCloudOnly: true @@ -32250,13 +32429,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *174 - - *239 + - *177 + - *242 requestBody: required: true content: application/json: - schema: &241 + schema: &244 type: object properties: name: @@ -32294,9 +32473,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *240 examples: - default: *238 + default: *241 '422': *15 '404': *6 x-github: @@ -32320,8 +32499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *174 - - *239 + - *177 + - *242 responses: '204': description: Response @@ -32349,12 +32528,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: - - *174 + - *177 requestBody: required: true content: application/json: - schema: *240 + schema: *243 examples: default: value: @@ -32368,9 +32547,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *240 examples: - default: *238 + default: *241 '422': *15 '404': *6 x-github: @@ -32400,16 +32579,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: - - *174 - - *239 + - *177 + - *242 responses: '200': description: Response content: application/json: - schema: *237 + schema: *240 examples: - default: *238 + default: *241 '404': *6 x-github: githubCloudOnly: true @@ -32437,13 +32616,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: - - *174 - - *239 + - *177 + - *242 requestBody: required: true content: application/json: - schema: *241 + schema: *244 examples: default: value: @@ -32458,9 +32637,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *240 examples: - default: *238 + default: *241 '422': *15 '404': *6 x-github: @@ -32490,8 +32669,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: - - *174 - - *239 + - *177 + - *242 responses: '204': description: Response @@ -32519,19 +32698,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *174 - - *242 - - *243 - - *244 + - *177 - *245 - *246 - *247 - *248 - - *84 - - *82 - - *83 - *249 - *250 + - *251 + - *86 + - *84 + - *85 + - *252 + - *253 - *17 responses: '200': @@ -32540,9 +32719,9 @@ paths: application/json: schema: type: array - items: *251 + items: *254 examples: - default: *252 + default: *255 '304': *37 '400': *14 '403': *29 @@ -32568,7 +32747,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *174 + - *177 - *17 - *19 responses: @@ -32586,7 +32765,7 @@ paths: type: integer secrets: type: array - items: &253 + items: &256 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -32657,13 +32836,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *174 + - *177 responses: '200': description: Response content: application/json: - schema: &507 + schema: &512 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -32680,7 +32859,7 @@ paths: - key_id - key examples: - default: &508 + default: &513 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32703,14 +32882,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *174 - - *204 + - *177 + - *207 responses: '200': description: Response content: application/json: - schema: *253 + schema: *256 examples: default: value: @@ -32738,8 +32917,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *174 - - *204 + - *177 + - *207 requestBody: required: true content: @@ -32794,7 +32973,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -32818,8 +32997,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *174 - - *204 + - *177 + - *207 responses: '204': description: Response @@ -32843,8 +33022,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: - - *174 - - *204 + - *177 + - *207 - *19 - *17 responses: @@ -32862,9 +33041,9 @@ paths: type: integer repositories: type: array - items: *194 + items: *197 examples: - default: *208 + default: *211 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32885,8 +33064,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: - - *174 - - *204 + - *177 + - *207 requestBody: required: true content: @@ -32936,8 +33115,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: - - *174 - - *204 + - *177 + - *207 - name: repository_id in: path required: true @@ -32968,8 +33147,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: - - *174 - - *204 + - *177 + - *207 - name: repository_id in: path required: true @@ -32999,7 +33178,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: - - *174 + - *177 responses: '200': description: Response @@ -33007,7 +33186,7 @@ paths: application/json: schema: type: array - items: &297 + items: &300 title: Package description: A software package type: object @@ -33057,8 +33236,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *254 - required: *255 + properties: *257 + required: *258 nullable: true created_at: type: string @@ -33077,7 +33256,7 @@ paths: - created_at - updated_at examples: - default: &298 + default: &301 value: - id: 197 name: hello_docker @@ -33155,7 +33334,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *174 + - *177 - *17 - *19 responses: @@ -33165,7 +33344,7 @@ paths: application/json: schema: type: array - items: *163 + items: *166 examples: 200-response: value: @@ -33235,7 +33414,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *174 + - *177 - name: group_id description: The unique identifier of the group. in: path @@ -33261,7 +33440,7 @@ paths: description: Response content: application/json: - schema: &360 + schema: &365 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -33342,7 +33521,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &361 + default: &366 value: group_id: '123' group_name: Octocat admins @@ -33380,7 +33559,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: - - *174 + - *177 - *17 - name: page description: Page token @@ -33397,7 +33576,7 @@ paths: description: Response content: application/json: - schema: &358 + schema: &363 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -33434,7 +33613,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &359 + default: &364 value: groups: - group_id: '123' @@ -33468,7 +33647,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *174 + - *177 - *17 - *19 responses: @@ -33478,7 +33657,7 @@ paths: application/json: schema: type: array - items: &278 + items: &281 title: Organization Invitation description: Organization Invitation type: object @@ -33525,7 +33704,7 @@ paths: - invitation_teams_url - node_id examples: - default: &279 + default: &282 value: - id: 1 login: monalisa @@ -33584,7 +33763,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: - - *174 + - *177 responses: '200': description: Response @@ -33592,7 +33771,7 @@ paths: application/json: schema: type: array - items: &318 + items: &321 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -33606,7 +33785,7 @@ paths: - name - description examples: - default: &319 + default: &322 value: - name: add_assignee description: Assign or remove a user @@ -33637,7 +33816,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *174 + - *177 - *17 - *19 responses: @@ -33647,7 +33826,7 @@ paths: application/json: schema: type: array - items: &256 + items: &259 title: Org Hook description: Org Hook type: object @@ -33756,7 +33935,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *174 + - *177 requestBody: required: true content: @@ -33816,9 +33995,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *259 examples: - default: &257 + default: &260 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -33862,8 +34041,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *174 - - &258 + - *177 + - &261 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. @@ -33876,9 +34055,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *259 examples: - default: *257 + default: *260 '404': *6 x-github: githubCloudOnly: false @@ -33899,8 +34078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *174 - - *258 + - *177 + - *261 requestBody: required: false content: @@ -33945,7 +34124,7 @@ paths: description: Response content: application/json: - schema: *256 + schema: *259 examples: default: value: @@ -33984,8 +34163,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *174 - - *258 + - *177 + - *261 responses: '204': description: Response @@ -34010,8 +34189,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: - - *174 - - *258 + - *177 + - *261 responses: '200': description: Response @@ -34039,8 +34218,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: - - *174 - - *258 + - *177 + - *261 requestBody: required: false content: @@ -34088,10 +34267,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *174 - - *258 + - *177 + - *261 - *17 - - *259 + - *262 responses: '200': description: Response @@ -34099,9 +34278,9 @@ paths: application/json: schema: type: array - items: *260 + items: *263 examples: - default: *261 + default: *264 '400': *14 '422': *15 x-github: @@ -34124,17 +34303,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: - - *174 - - *258 + - *177 + - *261 - *16 responses: '200': description: Response content: application/json: - schema: *262 + schema: *265 examples: - default: *263 + default: *266 '400': *14 '422': *15 x-github: @@ -34157,11 +34336,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: - - *174 - - *258 + - *177 + - *261 - *16 responses: - '202': *93 + '202': *95 '400': *14 '422': *15 x-github: @@ -34184,8 +34363,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *174 - - *258 + - *177 + - *261 responses: '204': description: Response @@ -34207,8 +34386,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *174 - - &268 + - *177 + - &271 name: actor_type in: path description: The type of the actor @@ -34221,14 +34400,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &269 + - &272 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &264 + - &267 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`.' @@ -34236,7 +34415,7 @@ paths: required: true schema: type: string - - &265 + - &268 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) @@ -34247,7 +34426,7 @@ paths: type: string - *19 - *17 - - *84 + - *86 - name: sort description: The property to sort the results by. in: query @@ -34329,13 +34508,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *174 - - *264 - - *265 + - *177 + - *267 + - *268 - *19 - *17 - - *84 - - &274 + - *86 + - &277 name: sort description: The property to sort the results by. in: query @@ -34413,15 +34592,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *174 - - *264 - - *265 + - *177 + - *267 + - *268 responses: '200': description: Response content: application/json: - schema: &266 + schema: &269 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -34437,7 +34616,7 @@ paths: type: integer format: int64 examples: - default: &267 + default: &270 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -34457,24 +34636,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *174 - - &270 + - *177 + - &273 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *264 - - *265 + - *267 + - *268 responses: '200': description: Response content: application/json: - schema: *266 + schema: *269 examples: - default: *267 + default: *270 x-github: enabledForGitHubApps: true category: orgs @@ -34492,19 +34671,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *174 - - *264 - - *265 + - *177 + - *267 - *268 - - *269 + - *271 + - *272 responses: '200': description: Response content: application/json: - schema: *266 + schema: *269 examples: - default: *267 + default: *270 x-github: enabledForGitHubApps: true category: orgs @@ -34521,10 +34700,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *174 - - *264 - - *265 - - &271 + - *177 + - *267 + - *268 + - &274 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -34537,7 +34716,7 @@ paths: description: Response content: application/json: - schema: &272 + schema: &275 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -34553,7 +34732,7 @@ paths: type: integer format: int64 examples: - default: &273 + default: &276 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -34589,19 +34768,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *174 - - *270 - - *264 - - *265 - - *271 + - *177 + - *273 + - *267 + - *268 + - *274 responses: '200': description: Response content: application/json: - schema: *272 + schema: *275 examples: - default: *273 + default: *276 x-github: enabledForGitHubApps: true category: orgs @@ -34618,20 +34797,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *174 - - *268 - - *269 - - *264 - - *265 + - *177 - *271 + - *272 + - *267 + - *268 + - *274 responses: '200': description: Response content: application/json: - schema: *272 + schema: *275 examples: - default: *273 + default: *276 x-github: enabledForGitHubApps: true category: orgs @@ -34648,14 +34827,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *174 - - *270 - - *264 - - *265 + - *177 + - *273 + - *267 + - *268 - *19 - *17 - - *84 - - *274 + - *86 + - *277 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -34728,7 +34907,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: - - *174 + - *177 responses: '200': description: Response @@ -34736,7 +34915,7 @@ paths: application/json: schema: *22 examples: - default: &546 + default: &551 value: id: 1 account: @@ -34805,7 +34984,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *174 + - *177 - *17 - *19 responses: @@ -34894,7 +35073,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *174 + - *177 responses: '200': description: Response @@ -34902,12 +35081,12 @@ paths: application/json: schema: anyOf: - - &276 + - &279 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &275 + limit: &278 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -34932,7 +35111,7 @@ paths: properties: {} additionalProperties: false examples: - default: &277 + default: &280 value: limit: collaborators_only origin: organization @@ -34956,18 +35135,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *174 + - *177 requestBody: required: true content: application/json: - schema: &547 + schema: &552 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *275 + limit: *278 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -34991,9 +35170,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *279 examples: - default: *277 + default: *280 '422': *15 x-github: githubCloudOnly: false @@ -35011,7 +35190,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *174 + - *177 responses: '204': description: Response @@ -35037,7 +35216,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *174 + - *177 - *17 - *19 - name: role @@ -35071,9 +35250,9 @@ paths: application/json: schema: type: array - items: *278 + items: *281 examples: - default: *279 + default: *282 headers: Link: *39 '404': *6 @@ -35097,7 +35276,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *174 + - *177 requestBody: required: false content: @@ -35151,7 +35330,7 @@ paths: description: Response content: application/json: - schema: *278 + schema: *281 examples: default: value: @@ -35207,8 +35386,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *174 - - &280 + - *177 + - &283 name: invitation_id description: The unique identifier of the invitation. in: path @@ -35241,8 +35420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *174 - - *280 + - *177 + - *283 - *17 - *19 responses: @@ -35252,9 +35431,9 @@ paths: application/json: schema: type: array - items: *281 + items: *284 examples: - default: &296 + default: &299 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -35299,7 +35478,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: - - *174 + - *177 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -35329,7 +35508,7 @@ paths: - closed - all default: open - - *282 + - *285 - name: sort description: What to sort results by. in: query @@ -35341,8 +35520,8 @@ paths: - updated - comments default: created - - *84 - - *141 + - *86 + - *144 - *17 - *19 responses: @@ -35352,9 +35531,9 @@ paths: application/json: schema: type: array - items: *151 + items: *154 examples: - default: *283 + default: *286 headers: Link: *39 '404': *6 @@ -35376,7 +35555,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *174 + - *177 - 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) @@ -35412,7 +35591,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 headers: Link: *39 '422': *15 @@ -35432,8 +35611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *174 - - *216 + - *177 + - *219 responses: '204': description: Response if requester is an organization member and user is @@ -35464,8 +35643,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *174 - - *216 + - *177 + - *219 responses: '204': description: Response @@ -35491,8 +35670,8 @@ paths: parameters: - *17 - *19 - - *174 - - *216 + - *177 + - *219 responses: '200': description: Response @@ -35508,11 +35687,11 @@ paths: type: integer codespaces: type: array - items: *285 + items: *288 examples: - default: *286 + default: *289 '304': *37 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -35535,9 +35714,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *174 - - *216 - - &287 + - *177 + - *219 + - &290 name: codespace_name in: path required: true @@ -35545,9 +35724,9 @@ paths: schema: type: string responses: - '202': *93 + '202': *95 '304': *37 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -35570,17 +35749,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: - - *174 - - *216 - - *287 + - *177 + - *219 + - *290 responses: '200': description: Response content: application/json: - schema: *285 + schema: *288 examples: - default: &473 + default: &478 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -35722,7 +35901,7 @@ paths: recent_folders: [] template: '304': *37 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -35753,14 +35932,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: - - *174 - - *216 + - *177 + - *219 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *234 + schema: *237 examples: default: value: @@ -35803,7 +35982,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -35828,14 +36007,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *174 - - *216 + - *177 + - *219 responses: '200': description: Response content: application/json: - schema: &288 + schema: &291 title: Org Membership description: Org Membership type: object @@ -35887,7 +36066,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &289 + response-if-user-has-an-active-admin-membership-with-organization: &292 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -35955,8 +36134,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *174 - - *216 + - *177 + - *219 requestBody: required: false content: @@ -35984,9 +36163,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: - response-if-user-already-had-membership-with-organization: *289 + response-if-user-already-had-membership-with-organization: *292 '422': *15 '403': *29 x-github: @@ -36007,8 +36186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *174 - - *216 + - *177 + - *219 responses: '204': description: Response @@ -36033,7 +36212,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *174 + - *177 - *17 - *19 - name: exclude @@ -36054,7 +36233,7 @@ paths: application/json: schema: type: array - items: &290 + items: &293 title: Migration description: A migration. type: object @@ -36307,7 +36486,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *174 + - *177 requestBody: required: true content: @@ -36383,7 +36562,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *293 examples: default: value: @@ -36561,8 +36740,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *174 - - &291 + - *177 + - &294 name: migration_id description: The unique identifier of the migration. in: path @@ -36589,7 +36768,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *290 + schema: *293 examples: default: value: @@ -36758,8 +36937,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *174 - - *291 + - *177 + - *294 responses: '302': description: Response @@ -36780,8 +36959,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *174 - - *291 + - *177 + - *294 responses: '204': description: Response @@ -36804,9 +36983,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *174 - - *291 - - &717 + - *177 + - *294 + - &722 name: repo_name description: repo_name parameter in: path @@ -36833,8 +37012,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *174 - - *291 + - *177 + - *294 - *17 - *19 responses: @@ -36844,9 +37023,9 @@ paths: application/json: schema: type: array - items: *194 + items: *197 examples: - default: &303 + default: &306 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -36985,7 +37164,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: - - *174 + - *177 responses: '200': description: Response @@ -37039,7 +37218,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: - - *174 + - *177 responses: '200': description: Response - list of organization roles @@ -37055,7 +37234,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &292 + items: &295 title: Organization Role description: Organization roles type: object @@ -37215,7 +37394,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *174 + - *177 requestBody: required: true content: @@ -37262,7 +37441,7 @@ paths: description: Response content: application/json: - schema: *292 + schema: *295 examples: default: value: @@ -37291,7 +37470,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *15 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -37313,8 +37492,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: - - *174 - - *293 + - *177 + - *296 responses: '204': description: Response @@ -37339,9 +37518,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: - - *174 - - *293 - - *239 + - *177 + - *296 + - *242 responses: '204': description: Response @@ -37370,9 +37549,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: - - *174 - - *293 - - *239 + - *177 + - *296 + - *242 responses: '204': description: Response @@ -37397,8 +37576,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: - - *174 - - *216 + - *177 + - *219 responses: '204': description: Response @@ -37423,9 +37602,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: - - *174 - - *216 - - *239 + - *177 + - *219 + - *242 responses: '204': description: Response @@ -37455,9 +37634,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: - - *174 - - *216 - - *239 + - *177 + - *219 + - *242 responses: '204': description: Response @@ -37485,14 +37664,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *174 - - *239 + - *177 + - *242 responses: '200': description: Response content: application/json: - schema: *292 + schema: *295 examples: default: value: @@ -37549,8 +37728,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *174 - - *239 + - *177 + - *242 requestBody: required: true content: @@ -37589,7 +37768,7 @@ paths: description: Response content: application/json: - schema: *292 + schema: *295 examples: default: value: @@ -37617,7 +37796,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *15 - '409': *92 + '409': *94 '404': *6 x-github: githubCloudOnly: true @@ -37642,8 +37821,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *174 - - *239 + - *177 + - *242 responses: '204': description: Response @@ -37668,8 +37847,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: - - *174 - - *239 + - *177 + - *242 - *17 - *19 responses: @@ -37747,8 +37926,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *294 - required: *295 + properties: *297 + required: *298 nullable: true required: - id @@ -37763,7 +37942,7 @@ paths: - slug - parent examples: - default: *296 + default: *299 headers: Link: *39 '404': @@ -37792,8 +37971,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: - - *174 - - *239 + - *177 + - *242 - *17 - *19 responses: @@ -37821,13 +38000,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &333 + items: &338 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *294 - required: *295 + properties: *297 + required: *298 name: nullable: true type: string @@ -37922,7 +38101,7 @@ paths: - type - url examples: - default: *284 + default: *287 headers: Link: *39 '404': @@ -37946,7 +38125,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: - - *174 + - *177 - 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) @@ -37970,7 +38149,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 headers: Link: *39 x-github: @@ -37995,8 +38174,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: - - *174 - - *216 + - *177 + - *219 requestBody: required: false content: @@ -38053,8 +38232,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: - - *174 - - *216 + - *177 + - *219 responses: '204': description: Response @@ -38111,8 +38290,8 @@ paths: - docker - nuget - container - - *174 - - &719 + - *177 + - &724 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -38148,12 +38327,12 @@ paths: application/json: schema: type: array - items: *297 + items: *300 examples: - default: *298 + default: *301 '403': *29 '401': *25 - '400': &721 + '400': &726 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -38175,7 +38354,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &299 + - &302 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 @@ -38193,20 +38372,20 @@ paths: - docker - nuget - container - - &300 + - &303 name: package_name description: The name of the package. in: path required: true schema: type: string - - *174 + - *177 responses: '200': description: Response content: application/json: - schema: *297 + schema: *300 examples: default: value: @@ -38258,9 +38437,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *299 - - *300 - - *174 + - *302 + - *303 + - *177 responses: '204': description: Response @@ -38292,9 +38471,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *299 - - *300 - - *174 + - *302 + - *303 + - *177 - name: token description: package token schema: @@ -38326,9 +38505,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: - - *299 - - *300 - - *174 + - *302 + - *303 + - *177 - *19 - *17 - name: state @@ -38348,7 +38527,7 @@ paths: application/json: schema: type: array - items: &301 + items: &304 title: Package Version description: A version of a software package type: object @@ -38473,10 +38652,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: - - *299 - - *300 - - *174 - - &302 + - *302 + - *303 + - *177 + - &305 name: package_version_id description: Unique identifier of the package version. in: path @@ -38488,7 +38667,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *304 examples: default: value: @@ -38524,10 +38703,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *299 - - *300 - - *174 - *302 + - *303 + - *177 + - *305 responses: '204': description: Response @@ -38559,10 +38738,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *299 - - *300 - - *174 - *302 + - *303 + - *177 + - *305 responses: '204': description: Response @@ -38589,10 +38768,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: - - *174 + - *177 - *17 - *19 - - &304 + - &307 name: sort description: The property by which to sort the results. in: query @@ -38602,8 +38781,8 @@ paths: enum: - created_at default: created_at - - *84 - - &305 + - *86 + - &308 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -38614,7 +38793,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &306 + - &309 name: repository description: The name of the repository to use to filter the results. in: query @@ -38622,7 +38801,7 @@ paths: schema: type: string example: Hello-World - - &307 + - &310 name: permission description: The permission to use to filter the results. in: query @@ -38630,7 +38809,7 @@ paths: schema: type: string example: issues_read - - &308 + - &311 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) @@ -38640,7 +38819,7 @@ paths: schema: type: string format: date-time - - &309 + - &312 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) @@ -38651,7 +38830,7 @@ paths: type: string format: date-time responses: - '500': *97 + '500': *99 '422': *15 '404': *6 '403': *29 @@ -38803,7 +38982,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: - - *174 + - *177 requestBody: required: true content: @@ -38844,11 +39023,11 @@ paths: action: deny reason: Access is too broad. responses: - '500': *97 + '500': *99 '422': *15 '404': *6 '403': *29 - '202': *93 + '202': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38869,7 +39048,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: - - *174 + - *177 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -38905,11 +39084,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *97 + '500': *99 '422': *15 '404': *6 '403': *29 - '204': *116 + '204': *118 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38930,7 +39109,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: - - *174 + - *177 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -38941,7 +39120,7 @@ paths: - *17 - *19 responses: - '500': *97 + '500': *99 '404': *6 '403': *29 '200': @@ -38950,9 +39129,9 @@ paths: application/json: schema: type: array - items: *194 + items: *197 examples: - default: *303 + default: *306 headers: Link: *39 x-github: @@ -38975,18 +39154,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: - - *174 + - *177 - *17 - *19 - - *304 - - *84 - - *305 - - *306 - *307 + - *86 - *308 - *309 + - *310 + - *311 + - *312 responses: - '500': *97 + '500': *99 '422': *15 '404': *6 '403': *29 @@ -39133,7 +39312,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: - - *174 + - *177 requestBody: required: true content: @@ -39168,9 +39347,9 @@ paths: - 1296269 - 1296280 responses: - '500': *97 + '500': *99 '404': *6 - '202': *93 + '202': *95 '403': *29 '422': *15 x-github: @@ -39193,7 +39372,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: - - *174 + - *177 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -39221,9 +39400,9 @@ paths: value: action: revoke responses: - '500': *97 + '500': *99 '404': *6 - '204': *116 + '204': *118 '403': *29 '422': *15 x-github: @@ -39245,7 +39424,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: - - *174 + - *177 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -39255,7 +39434,7 @@ paths: - *17 - *19 responses: - '500': *97 + '500': *99 '404': *6 '403': *29 '200': @@ -39264,9 +39443,9 @@ paths: application/json: schema: type: array - items: *194 + items: *197 examples: - default: *303 + default: *306 headers: Link: *39 x-github: @@ -39292,7 +39471,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: - - *174 + - *177 - *17 - *19 responses: @@ -39310,7 +39489,7 @@ paths: type: integer configurations: type: array - items: &310 + items: &313 title: Organization private registry description: Private registry configuration for an organization type: object @@ -39386,7 +39565,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: - - *174 + - *177 requestBody: required: true content: @@ -39516,7 +39695,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &311 + org-private-registry-with-selected-visibility: &314 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -39559,7 +39738,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: - - *174 + - *177 responses: '200': description: Response @@ -39609,16 +39788,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: - - *174 - - *204 + - *177 + - *207 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *310 + schema: *313 examples: - default: *311 + default: *314 '404': *6 x-github: githubCloudOnly: false @@ -39641,8 +39820,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: - - *174 - - *204 + - *177 + - *207 requestBody: required: true content: @@ -39721,8 +39900,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: - - *174 - - *204 + - *177 + - *207 responses: '204': description: Response @@ -39747,7 +39926,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-organization-projects parameters: - - *174 + - *177 - name: state description: Indicates the state of the projects to return. in: query @@ -39768,7 +39947,7 @@ paths: application/json: schema: type: array - items: &312 + items: &315 title: Project description: Projects are a way to organize columns and cards of work. @@ -39915,7 +40094,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-an-organization-project parameters: - - *174 + - *177 requestBody: required: true content: @@ -39941,7 +40120,7 @@ paths: description: Response content: application/json: - schema: *312 + schema: *315 examples: default: value: @@ -39979,7 +40158,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &376 + '410': &381 description: Gone content: application/json: @@ -40006,7 +40185,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: - - *174 + - *177 responses: '200': description: Response @@ -40014,9 +40193,9 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: - default: *113 + default: *115 '403': *29 '404': *6 x-github: @@ -40039,7 +40218,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: - - *174 + - *177 requestBody: required: true content: @@ -40050,7 +40229,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *112 + items: *114 minItems: 1 maxItems: 100 required: @@ -40080,9 +40259,9 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: - default: *113 + default: *115 '403': *29 '404': *6 x-github: @@ -40103,16 +40282,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: - - *174 - - *114 + - *177 + - *116 responses: '200': description: Response content: application/json: - schema: *112 + schema: *114 examples: - default: *115 + default: *117 '403': *29 '404': *6 x-github: @@ -40135,13 +40314,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: - - *174 - - *114 + - *177 + - *116 requestBody: required: true content: application/json: - schema: *313 + schema: *316 examples: default: value: @@ -40157,9 +40336,9 @@ paths: description: Response content: application/json: - schema: *112 + schema: *114 examples: - default: *115 + default: *117 '403': *29 '404': *6 x-github: @@ -40182,10 +40361,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: - - *174 - - *114 + - *177 + - *116 responses: - '204': *116 + '204': *118 '403': *29 '404': *6 x-github: @@ -40206,7 +40385,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: - - *174 + - *177 - *17 - *19 - name: repository_query @@ -40244,7 +40423,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &314 + items: &317 title: Custom Property Value description: Custom property name and associated value type: object @@ -40311,7 +40490,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: - - *174 + - *177 requestBody: required: true content: @@ -40331,7 +40510,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *314 + items: *317 required: - repository_names - properties @@ -40372,7 +40551,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *174 + - *177 - *17 - *19 responses: @@ -40384,7 +40563,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 headers: Link: *39 x-github: @@ -40403,8 +40582,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: - - *174 - - *216 + - *177 + - *219 responses: '204': description: Response if user is a public member @@ -40428,8 +40607,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: - - *174 - - *216 + - *177 + - *219 responses: '204': description: Response @@ -40450,8 +40629,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: - - *174 - - *216 + - *177 + - *219 responses: '204': description: Response @@ -40475,7 +40654,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *174 + - *177 - 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 @@ -40522,9 +40701,9 @@ paths: application/json: schema: type: array - items: *194 + items: *197 examples: - default: *303 + default: *306 headers: Link: *39 x-github: @@ -40545,7 +40724,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *174 + - *177 requestBody: required: true content: @@ -40727,7 +40906,7 @@ paths: description: Response content: application/json: - schema: &378 + schema: &383 title: Full Repository description: Full Repository type: object @@ -41004,8 +41183,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *315 - required: *316 + properties: *318 + required: *319 nullable: true temp_clone_token: type: string @@ -41092,8 +41271,8 @@ paths: title: License Simple description: License Simple type: object - properties: *152 - required: *153 + properties: *155 + required: *156 nullable: true organization: title: Simple User @@ -41120,7 +41299,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &495 + properties: &500 url: type: string format: uri @@ -41136,12 +41315,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &496 + required: &501 - url - key - name - html_url - security_and_analysis: *317 + security_and_analysis: *320 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -41225,7 +41404,7 @@ paths: - network_count - subscribers_count examples: - default: &380 + default: &385 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -41743,7 +41922,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: - - *174 + - *177 responses: '200': description: Response @@ -41751,9 +41930,9 @@ paths: application/json: schema: type: array - items: *318 + items: *321 examples: - default: *319 + default: *322 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -41775,10 +41954,10 @@ paths: category: orgs subcategory: rules parameters: - - *174 + - *177 - *17 - *19 - - &631 + - &636 name: targets description: | A comma-separated list of rule targets to filter by. @@ -41796,7 +41975,7 @@ paths: application/json: schema: type: array - items: *126 + items: *128 examples: default: value: @@ -41827,7 +42006,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *97 + '500': *99 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -41843,7 +42022,7 @@ paths: category: orgs subcategory: rules parameters: - - *174 + - *177 requestBody: description: Request body required: true @@ -41864,16 +42043,16 @@ paths: - push - repository default: branch - enforcement: *123 + enforcement: *125 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *124 - conditions: *320 + items: *126 + conditions: *323 rules: type: array description: An array of rules within the ruleset. - items: *125 + items: *127 required: - name - enforcement @@ -41911,9 +42090,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *128 examples: - default: &322 + default: &325 value: id: 21 name: super cool ruleset @@ -41953,7 +42132,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *97 + '500': *99 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -41967,8 +42146,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *174 - - &632 + - *177 + - &637 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 @@ -41978,16 +42157,16 @@ paths: schema: type: string x-multi-segment: true - - *321 - - *219 - - &633 + - *324 + - *222 + - &638 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 - - &634 + - &639 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -42007,7 +42186,7 @@ paths: description: Response content: application/json: - schema: &635 + schema: &640 title: Rule Suites description: Response type: array @@ -42062,7 +42241,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &636 + default: &641 value: - id: 21 actor_id: 12 @@ -42086,7 +42265,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *97 + '500': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42105,8 +42284,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *174 - - &637 + - *177 + - &642 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -42122,7 +42301,7 @@ paths: description: Response content: application/json: - schema: &638 + schema: &643 title: Rule Suite description: Response type: object @@ -42221,7 +42400,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &639 + default: &644 value: id: 21 actor_id: 12 @@ -42256,7 +42435,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *97 + '500': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42282,7 +42461,7 @@ paths: category: orgs subcategory: rules parameters: - - *174 + - *177 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42294,11 +42473,11 @@ paths: description: Response content: application/json: - schema: *126 + schema: *128 examples: - default: *322 + default: *325 '404': *6 - '500': *97 + '500': *99 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -42314,7 +42493,7 @@ paths: category: orgs subcategory: rules parameters: - - *174 + - *177 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42340,16 +42519,16 @@ paths: - tag - push - repository - enforcement: *123 + enforcement: *125 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *124 - conditions: *320 + items: *126 + conditions: *323 rules: description: An array of rules within the ruleset. type: array - items: *125 + items: *127 examples: default: value: @@ -42384,11 +42563,11 @@ paths: description: Response content: application/json: - schema: *126 + schema: *128 examples: - default: *322 + default: *325 '404': *6 - '500': *97 + '500': *99 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -42404,7 +42583,7 @@ paths: category: orgs subcategory: rules parameters: - - *174 + - *177 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42415,7 +42594,119 @@ paths: '204': description: Response '404': *6 - '500': *97 + '500': *99 + "/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: + - *177 + - *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: *131 + examples: + default: *326 + '404': *6 + '500': *99 + 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: + - *177 + - 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: *327 + 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': *99 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: rules "/orgs/{org}/secret-scanning/alerts": get: summary: List secret scanning alerts for an organization @@ -42432,15 +42723,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: - - *174 - - *323 - - *324 - - *325 - - *326 - - *84 + - *177 + - *328 + - *329 + - *330 + - *331 + - *86 - *19 - *17 - - &641 + - &646 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 @@ -42450,7 +42741,7 @@ paths: required: false schema: type: string - - &642 + - &647 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 @@ -42460,9 +42751,9 @@ paths: required: false schema: type: string - - *327 - - *328 - - *329 + - *332 + - *333 + - *334 responses: '200': description: Response @@ -42470,13 +42761,13 @@ paths: application/json: schema: type: array - items: *330 + items: *335 examples: - default: *331 + default: *336 headers: Link: *39 '404': *6 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42498,8 +42789,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: - - *174 - - *84 + - *177 + - *86 - name: sort description: The property to sort the results by. in: query @@ -42511,8 +42802,8 @@ paths: - updated - published default: created - - *82 - - *83 + - *84 + - *85 - 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)." @@ -42542,7 +42833,7 @@ paths: application/json: schema: type: array - items: &649 + items: &654 description: A repository security advisory. type: object properties: @@ -42729,7 +43020,7 @@ paths: required: - vector_string - score - cvss_severities: *100 + cvss_severities: *102 cwes: type: array nullable: true @@ -42762,7 +43053,7 @@ paths: login: type: string description: The username of the user credited. - type: *332 + type: *337 credits_detailed: type: array nullable: true @@ -42772,7 +43063,7 @@ paths: type: object properties: user: *4 - type: *332 + type: *337 state: type: string description: The state of the user's acceptance of the @@ -42796,14 +43087,14 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *281 + items: *284 private_fork: readOnly: true nullable: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *94 + - *96 required: - ghsa_id - cve_id @@ -42833,7 +43124,7 @@ paths: - private_fork additionalProperties: false examples: - default: &650 + default: &655 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -43212,7 +43503,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *174 + - *177 responses: '200': description: Response @@ -43220,9 +43511,9 @@ paths: application/json: schema: type: array - items: *333 + items: *338 examples: - default: *296 + default: *299 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43245,8 +43536,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *174 - - *293 + - *177 + - *296 responses: '204': description: Response @@ -43271,8 +43562,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *174 - - *293 + - *177 + - *296 responses: '204': description: Response @@ -43301,15 +43592,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: - - *174 + - *177 responses: '200': description: Response content: application/json: - schema: *334 + schema: *339 examples: - default: *335 + default: *340 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -43333,7 +43624,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: - - *174 + - *177 - *17 - *19 responses: @@ -43341,9 +43632,9 @@ paths: description: Success content: application/json: - schema: *336 + schema: *341 examples: - default: *337 + default: *342 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -43365,15 +43656,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: - - *174 + - *177 responses: '200': description: Response content: application/json: - schema: *338 + schema: *343 examples: - default: *339 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -43395,15 +43686,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: - - *174 + - *177 responses: '200': description: Response content: application/json: - schema: *340 + schema: *345 examples: - default: *341 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -43423,7 +43714,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: - - *174 + - *177 - *17 - *19 responses: @@ -43441,9 +43732,9 @@ paths: type: integer network_configurations: type: array - items: *109 + items: *111 examples: - default: *342 + default: *347 headers: Link: *39 x-github: @@ -43464,7 +43755,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: - - *174 + - *177 requestBody: required: true content: @@ -43506,9 +43797,9 @@ paths: description: Response content: application/json: - schema: *109 + schema: *111 examples: - default: *110 + default: *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43528,16 +43819,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: - - *174 - - *111 + - *177 + - *113 responses: '200': description: Response content: application/json: - schema: *109 + schema: *111 examples: - default: *110 + default: *112 headers: Link: *39 x-github: @@ -43558,8 +43849,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: - - *174 - - *111 + - *177 + - *113 requestBody: required: true content: @@ -43598,9 +43889,9 @@ paths: description: Response content: application/json: - schema: *109 + schema: *111 examples: - default: *110 + default: *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43619,8 +43910,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: - - *174 - - *111 + - *177 + - *113 responses: '204': description: Response @@ -43643,16 +43934,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: - - *174 - - *343 + - *177 + - *348 responses: '200': description: Response content: application/json: - schema: *344 + schema: *349 examples: - default: *345 + default: *350 headers: Link: *39 x-github: @@ -43671,7 +43962,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: - - *174 + - *177 - *17 - name: page description: Page token @@ -43690,7 +43981,7 @@ paths: description: Response content: application/json: - schema: &367 + schema: &372 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -43736,7 +44027,7 @@ paths: type: string nullable: true examples: - default: &368 + default: &373 value: groups: - group_id: '123' @@ -43781,8 +44072,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: - - *174 - - *293 + - *177 + - *296 - 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`). @@ -43814,13 +44105,13 @@ paths: application/json: schema: type: array - items: *131 + items: *134 examples: - default: *132 - '500': *97 + default: *135 + '500': *99 '403': *29 '404': *6 - '422': *133 + '422': *136 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43854,8 +44145,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: - - *174 - - *293 + - *177 + - *296 - 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`). @@ -43887,10 +44178,10 @@ paths: application/json: schema: type: array - items: *134 + items: *137 examples: - default: *236 - '500': *97 + default: *239 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -43911,7 +44202,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *174 + - *177 - *17 - *19 responses: @@ -43921,9 +44212,9 @@ paths: application/json: schema: type: array - items: *281 + items: *284 examples: - default: *296 + default: *299 headers: Link: *39 '403': *29 @@ -43945,7 +44236,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *174 + - *177 requestBody: required: true content: @@ -44017,7 +44308,7 @@ paths: description: Response content: application/json: - schema: &346 + schema: &351 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -44080,8 +44371,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *294 - required: *295 + properties: *297 + required: *298 nullable: true members_count: type: integer @@ -44327,7 +44618,7 @@ paths: - repos_count - organization examples: - default: &347 + default: &352 value: id: 1 node_id: MDQ6VGVhbTE= @@ -44397,16 +44688,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *174 - - *293 + - *177 + - *296 responses: '200': description: Response content: application/json: - schema: *346 + schema: *351 examples: - default: *347 + default: *352 '404': *6 x-github: githubCloudOnly: false @@ -44427,8 +44718,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *174 - - *293 + - *177 + - *296 requestBody: required: false content: @@ -44490,16 +44781,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *346 + schema: *351 examples: - default: *347 + default: *352 '201': description: Response content: application/json: - schema: *346 + schema: *351 examples: - default: *347 + default: *352 '404': *6 '422': *15 '403': *29 @@ -44524,8 +44815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *174 - - *293 + - *177 + - *296 responses: '204': description: Response @@ -44551,9 +44842,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *174 - - *293 - - *84 + - *177 + - *296 + - *86 - *17 - *19 - name: pinned @@ -44569,7 +44860,7 @@ paths: application/json: schema: type: array - items: &348 + items: &353 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -44648,7 +44939,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *139 + reactions: *142 required: - author - body @@ -44668,7 +44959,7 @@ paths: - updated_at - url examples: - default: &690 + default: &695 value: - author: login: octocat @@ -44742,8 +45033,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *174 - - *293 + - *177 + - *296 requestBody: required: true content: @@ -44777,9 +45068,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *353 examples: - default: &349 + default: &354 value: author: login: octocat @@ -44851,9 +45142,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *174 - - *293 - - &350 + - *177 + - *296 + - &355 name: discussion_number description: The number that identifies the discussion. in: path @@ -44865,9 +45156,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *353 examples: - default: *349 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44889,9 +45180,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *174 - - *293 - - *350 + - *177 + - *296 + - *355 requestBody: required: false content: @@ -44914,9 +45205,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *353 examples: - default: &691 + default: &696 value: author: login: octocat @@ -44986,9 +45277,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *174 - - *293 - - *350 + - *177 + - *296 + - *355 responses: '204': description: Response @@ -45014,10 +45305,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *174 - - *293 - - *350 - - *84 + - *177 + - *296 + - *355 + - *86 - *17 - *19 responses: @@ -45027,7 +45318,7 @@ paths: application/json: schema: type: array - items: &351 + items: &356 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -45084,7 +45375,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *139 + reactions: *142 required: - author - body @@ -45099,7 +45390,7 @@ paths: - updated_at - url examples: - default: &692 + default: &697 value: - author: login: octocat @@ -45167,9 +45458,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *174 - - *293 - - *350 + - *177 + - *296 + - *355 requestBody: required: true content: @@ -45191,9 +45482,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *356 examples: - default: &352 + default: &357 value: author: login: octocat @@ -45259,10 +45550,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *174 - - *293 - - *350 - - &353 + - *177 + - *296 + - *355 + - &358 name: comment_number description: The number that identifies the comment. in: path @@ -45274,9 +45565,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *356 examples: - default: *352 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45298,10 +45589,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *174 - - *293 - - *350 - - *353 + - *177 + - *296 + - *355 + - *358 requestBody: required: true content: @@ -45323,9 +45614,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *356 examples: - default: &693 + default: &698 value: author: login: octocat @@ -45389,10 +45680,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *174 - - *293 - - *350 - - *353 + - *177 + - *296 + - *355 + - *358 responses: '204': description: Response @@ -45418,10 +45709,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: - - *174 - - *293 - - *350 - - *353 + - *177 + - *296 + - *355 + - *358 - 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. @@ -45447,7 +45738,7 @@ paths: application/json: schema: type: array - items: &354 + items: &359 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -45490,7 +45781,7 @@ paths: - content - created_at examples: - default: &356 + default: &361 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45540,10 +45831,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: - - *174 - - *293 - - *350 - - *353 + - *177 + - *296 + - *355 + - *358 requestBody: required: true content: @@ -45576,9 +45867,9 @@ paths: team discussion comment content: application/json: - schema: *354 + schema: *359 examples: - default: &355 + default: &360 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45607,9 +45898,9 @@ paths: description: Response content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45632,11 +45923,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *174 - - *293 - - *350 - - *353 - - &357 + - *177 + - *296 + - *355 + - *358 + - &362 name: reaction_id description: The unique identifier of the reaction. in: path @@ -45668,9 +45959,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *174 - - *293 - - *350 + - *177 + - *296 + - *355 - 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. @@ -45696,9 +45987,9 @@ paths: application/json: schema: type: array - items: *354 + items: *359 examples: - default: *356 + default: *361 headers: Link: *39 x-github: @@ -45724,9 +46015,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *174 - - *293 - - *350 + - *177 + - *296 + - *355 requestBody: required: true content: @@ -45758,16 +46049,16 @@ paths: description: Response content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 '201': description: Response content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45790,10 +46081,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *174 - - *293 - - *350 - - *357 + - *177 + - *296 + - *355 + - *362 responses: '204': description: Response @@ -45816,16 +46107,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: - - *174 - - *293 + - *177 + - *296 responses: '200': description: Response content: application/json: - schema: *358 + schema: *363 examples: - default: *359 + default: *364 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -45844,8 +46135,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: - - *174 - - *293 + - *177 + - *296 requestBody: required: true content: @@ -45868,9 +46159,9 @@ paths: description: Response content: application/json: - schema: *360 + schema: *365 examples: - default: *361 + default: *366 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -45889,8 +46180,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: - - *174 - - *293 + - *177 + - *296 responses: '204': description: Response @@ -45914,8 +46205,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *174 - - *293 + - *177 + - *296 - *17 - *19 responses: @@ -45925,9 +46216,9 @@ paths: application/json: schema: type: array - items: *278 + items: *281 examples: - default: *279 + default: *282 headers: Link: *39 x-github: @@ -45949,8 +46240,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *174 - - *293 + - *177 + - *296 - name: role description: Filters members returned by their role in the team. in: query @@ -45973,7 +46264,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 headers: Link: *39 x-github: @@ -46003,15 +46294,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *174 - - *293 - - *216 + - *177 + - *296 + - *219 responses: '200': description: Response content: application/json: - schema: &362 + schema: &367 title: Team Membership description: Team Membership type: object @@ -46038,7 +46329,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &694 + response-if-user-is-a-team-maintainer: &699 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -46074,9 +46365,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: - - *174 - - *293 - - *216 + - *177 + - *296 + - *219 requestBody: required: false content: @@ -46101,9 +46392,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *367 examples: - response-if-users-membership-with-team-is-now-pending: &695 + response-if-users-membership-with-team-is-now-pending: &700 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -46138,9 +46429,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *174 - - *293 - - *216 + - *177 + - *296 + - *219 responses: '204': description: Response @@ -46166,8 +46457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *174 - - *293 + - *177 + - *296 - *17 - *19 responses: @@ -46177,7 +46468,7 @@ paths: application/json: schema: type: array - items: &363 + items: &368 title: Team Project description: A team's access to a project. type: object @@ -46245,7 +46536,7 @@ paths: - updated_at - permissions examples: - default: &696 + default: &701 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -46306,9 +46597,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *174 - - *293 - - &364 + - *177 + - *296 + - &369 name: project_id description: The unique identifier of the project. in: path @@ -46320,9 +46611,9 @@ paths: description: Response content: application/json: - schema: *363 + schema: *368 examples: - default: &697 + default: &702 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -46382,9 +46673,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *174 - - *293 - - *364 + - *177 + - *296 + - *369 requestBody: required: false content: @@ -46448,9 +46739,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *174 - - *293 - - *364 + - *177 + - *296 + - *369 responses: '204': description: Response @@ -46474,8 +46765,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *174 - - *293 + - *177 + - *296 - *17 - *19 responses: @@ -46485,9 +46776,9 @@ paths: application/json: schema: type: array - items: *194 + items: *197 examples: - default: *303 + default: *306 headers: Link: *39 x-github: @@ -46516,16 +46807,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *174 - - *293 - - *365 - - *366 + - *177 + - *296 + - *370 + - *371 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &698 + schema: &703 title: Team Repository description: A team's access to a repository. type: object @@ -46548,8 +46839,8 @@ paths: title: License Simple description: License Simple type: object - properties: *152 - required: *153 + properties: *155 + required: *156 nullable: true forks: type: integer @@ -47094,10 +47385,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *174 - - *293 - - *365 - - *366 + - *177 + - *296 + - *370 + - *371 requestBody: required: false content: @@ -47142,10 +47433,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *174 - - *293 - - *365 - - *366 + - *177 + - *296 + - *370 + - *371 responses: '204': description: Response @@ -47171,16 +47462,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: - - *174 - - *293 + - *177 + - *296 responses: '200': description: Response content: application/json: - schema: *367 + schema: *372 examples: - default: *368 + default: *373 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -47202,8 +47493,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: - - *174 - - *293 + - *177 + - *296 requestBody: required: true content: @@ -47246,7 +47537,7 @@ paths: description: Response content: application/json: - schema: *367 + schema: *372 examples: default: value: @@ -47278,8 +47569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *174 - - *293 + - *177 + - *296 - *17 - *19 responses: @@ -47289,9 +47580,9 @@ paths: application/json: schema: type: array - items: *281 + items: *284 examples: - response-if-child-teams-exist: &699 + response-if-child-teams-exist: &704 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -47344,7 +47635,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: - - *174 + - *177 - name: security_product in: path description: The security feature to enable or disable. @@ -47418,7 +47709,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &369 + - &374 name: card_id description: The unique identifier of the card. in: path @@ -47430,7 +47721,7 @@ paths: description: Response content: application/json: - schema: &370 + schema: &375 title: Project Card description: Project cards represent a scope of work. type: object @@ -47497,7 +47788,7 @@ paths: - created_at - updated_at examples: - default: &371 + default: &376 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -47553,7 +47844,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *369 + - *374 requestBody: required: false content: @@ -47580,9 +47871,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *375 examples: - default: *371 + default: *376 '304': *37 '403': *29 '401': *25 @@ -47609,7 +47900,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *369 + - *374 responses: '204': description: Response @@ -47653,7 +47944,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *369 + - *374 requestBody: required: true content: @@ -47764,7 +48055,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &372 + - &377 name: column_id description: The unique identifier of the column. in: path @@ -47776,7 +48067,7 @@ paths: description: Response content: application/json: - schema: &373 + schema: &378 title: Project Column description: Project columns contain cards of work. type: object @@ -47822,7 +48113,7 @@ paths: - created_at - updated_at examples: - default: &374 + default: &379 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -47857,7 +48148,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *372 + - *377 requestBody: required: true content: @@ -47881,9 +48172,9 @@ paths: description: Response content: application/json: - schema: *373 + schema: *378 examples: - default: *374 + default: *379 '304': *37 '403': *29 '401': *25 @@ -47908,7 +48199,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *372 + - *377 responses: '204': description: Response @@ -47937,7 +48228,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *372 + - *377 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -47958,7 +48249,7 @@ paths: application/json: schema: type: array - items: *370 + items: *375 examples: default: value: @@ -48017,7 +48308,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *372 + - *377 requestBody: required: true content: @@ -48057,9 +48348,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *375 examples: - default: *371 + default: *376 '304': *37 '403': *29 '401': *25 @@ -48069,8 +48360,8 @@ paths: application/json: schema: oneOf: - - *177 - - *178 + - *180 + - *181 '503': description: Response content: @@ -48115,7 +48406,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *372 + - *377 requestBody: required: true content: @@ -48175,15 +48466,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *364 + - *369 responses: '200': description: Response content: application/json: - schema: *312 + schema: *315 examples: - default: &375 + default: &380 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -48240,7 +48531,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *364 + - *369 requestBody: required: false content: @@ -48286,9 +48577,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *315 examples: - default: *375 + default: *380 '404': description: Not Found if the authenticated user does not have access to the project @@ -48309,7 +48600,7 @@ paths: items: type: string '401': *25 - '410': *376 + '410': *381 '422': *7 x-github: githubCloudOnly: false @@ -48332,7 +48623,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *364 + - *369 responses: '204': description: Delete Success @@ -48353,7 +48644,7 @@ paths: items: type: string '401': *25 - '410': *376 + '410': *381 '404': *6 x-github: githubCloudOnly: false @@ -48377,7 +48668,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *364 + - *369 - 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 @@ -48404,7 +48695,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 headers: Link: *39 '404': *6 @@ -48434,8 +48725,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *364 - - *216 + - *369 + - *219 requestBody: required: false content: @@ -48487,8 +48778,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *364 - - *216 + - *369 + - *219 responses: '204': description: Response @@ -48519,8 +48810,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *364 - - *216 + - *369 + - *219 responses: '200': description: Response @@ -48593,7 +48884,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *364 + - *369 - *17 - *19 responses: @@ -48603,7 +48894,7 @@ paths: application/json: schema: type: array - items: *373 + items: *378 examples: default: value: @@ -48641,7 +48932,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *364 + - *369 requestBody: required: true content: @@ -48664,7 +48955,7 @@ paths: description: Response content: application/json: - schema: *373 + schema: *378 examples: default: value: @@ -48728,7 +49019,7 @@ paths: resources: type: object properties: - core: &377 + core: &382 title: Rate Limit type: object properties: @@ -48745,20 +49036,20 @@ paths: - remaining - reset - used - graphql: *377 - search: *377 - code_search: *377 - source_import: *377 - integration_manifest: *377 - code_scanning_upload: *377 - actions_runner_registration: *377 - scim: *377 - dependency_snapshots: *377 - code_scanning_autofix: *377 + graphql: *382 + search: *382 + code_search: *382 + source_import: *382 + integration_manifest: *382 + code_scanning_upload: *382 + actions_runner_registration: *382 + scim: *382 + dependency_snapshots: *382 + code_scanning_autofix: *382 required: - core - search - rate: *377 + rate: *382 required: - rate - resources @@ -48862,14 +49153,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: *378 + schema: *383 examples: default-response: summary: Default response @@ -49374,7 +49665,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *379 + '301': *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49392,8 +49683,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: false content: @@ -49639,10 +49930,10 @@ paths: description: Response content: application/json: - schema: *378 + schema: *383 examples: - default: *380 - '307': &381 + default: *385 + '307': &386 description: Temporary Redirect content: application/json: @@ -49671,8 +49962,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Response @@ -49694,7 +49985,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': *381 + '307': *386 '404': *6 x-github: githubCloudOnly: false @@ -49717,11 +50008,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 - - &396 + - &401 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -49744,7 +50035,7 @@ paths: type: integer artifacts: type: array - items: &382 + items: &387 title: Artifact description: An artifact type: object @@ -49815,7 +50106,7 @@ paths: - expires_at - updated_at examples: - default: &397 + default: &402 value: total_count: 2 artifacts: @@ -49874,9 +50165,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *365 - - *366 - - &383 + - *370 + - *371 + - &388 name: artifact_id description: The unique identifier of the artifact. in: path @@ -49888,7 +50179,7 @@ paths: description: Response content: application/json: - schema: *382 + schema: *387 examples: default: value: @@ -49925,9 +50216,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *365 - - *366 - - *383 + - *370 + - *371 + - *388 responses: '204': description: Response @@ -49951,9 +50242,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *365 - - *366 - - *383 + - *370 + - *371 + - *388 - name: archive_format in: path required: true @@ -49967,7 +50258,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': *376 + '410': *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49990,14 +50281,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: *384 + schema: *389 examples: default: value: @@ -50023,11 +50314,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: - - *365 - - *366 + - *370 + - *371 - *17 - *19 - - &385 + - &390 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 @@ -50055,13 +50346,13 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *84 + - *86 responses: '200': description: Response content: application/json: - schema: &386 + schema: &391 title: Repository actions caches description: Repository actions caches type: object @@ -50103,7 +50394,7 @@ paths: - total_count - actions_caches examples: - default: &387 + default: &392 value: total_count: 1 actions_caches: @@ -50135,23 +50426,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: - - *365 - - *366 + - *370 + - *371 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *385 + - *390 responses: '200': description: Response content: application/json: - schema: *386 + schema: *391 examples: - default: *387 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50171,8 +50462,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: - - *365 - - *366 + - *370 + - *371 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -50203,9 +50494,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: - - *365 - - *366 - - &388 + - *370 + - *371 + - &393 name: job_id description: The unique identifier of the job. in: path @@ -50217,7 +50508,7 @@ paths: description: Response content: application/json: - schema: &400 + schema: &405 title: Job description: Information of a job execution in a workflow run type: object @@ -50524,9 +50815,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: - - *365 - - *366 - - *388 + - *370 + - *371 + - *393 responses: '302': description: Response @@ -50554,9 +50845,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: - - *365 - - *366 - - *388 + - *370 + - *371 + - *393 requestBody: required: false content: @@ -50577,7 +50868,7 @@ paths: description: Response content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -50601,8 +50892,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Status response @@ -50652,8 +50943,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: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -50687,7 +50978,7 @@ paths: description: Empty response content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -50716,8 +51007,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -50735,7 +51026,7 @@ paths: type: integer secrets: type: array - items: &402 + items: &407 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -50755,7 +51046,7 @@ paths: - created_at - updated_at examples: - default: &403 + default: &408 value: total_count: 2 secrets: @@ -50788,9 +51079,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *365 - - *366 - - *389 + - *370 + - *371 + - *394 - *19 responses: '200': @@ -50807,7 +51098,7 @@ paths: type: integer variables: type: array - items: &406 + items: &411 title: Actions Variable type: object properties: @@ -50837,7 +51128,7 @@ paths: - created_at - updated_at examples: - default: &407 + default: &412 value: total_count: 2 variables: @@ -50870,8 +51161,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -50880,11 +51171,11 @@ paths: schema: type: object properties: - enabled: &390 + enabled: &395 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *48 - selected_actions_url: *187 + selected_actions_url: *190 required: - enabled examples: @@ -50913,8 +51204,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: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Response @@ -50925,7 +51216,7 @@ paths: schema: type: object properties: - enabled: *390 + enabled: *395 allowed_actions: *48 required: - enabled @@ -50956,14 +51247,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: &391 + schema: &396 type: object properties: access_level: @@ -50981,7 +51272,7 @@ paths: required: - access_level examples: - default: &392 + default: &397 value: access_level: organization x-github: @@ -51006,15 +51297,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: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: application/json: - schema: *391 + schema: *396 examples: - default: *392 + default: *397 responses: '204': description: Response @@ -51038,8 +51329,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -51070,8 +51361,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: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Response @@ -51103,14 +51394,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: *190 + schema: *193 examples: default: *54 x-github: @@ -51133,8 +51424,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: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Success response @@ -51145,7 +51436,7 @@ paths: required: true content: application/json: - schema: *191 + schema: *194 examples: default: *54 x-github: @@ -51174,8 +51465,8 @@ paths: in: query schema: type: string - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -51219,8 +51510,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -51228,9 +51519,9 @@ paths: application/json: schema: type: array - items: *195 + items: *198 examples: - default: *196 + default: *199 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51252,8 +51543,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: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -51296,10 +51587,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *197 + '201': *200 '404': *6 '422': *7 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51327,8 +51618,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: - - *365 - - *366 + - *370 + - *371 responses: '201': description: Response @@ -51336,7 +51627,7 @@ paths: application/json: schema: *64 examples: - default: *198 + default: *201 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51364,8 +51655,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: - - *365 - - *366 + - *370 + - *371 responses: '201': description: Response @@ -51373,7 +51664,7 @@ paths: application/json: schema: *64 examples: - default: *199 + default: *202 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51395,8 +51686,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: - - *365 - - *366 + - *370 + - *371 - *60 responses: '200': @@ -51405,7 +51696,7 @@ paths: application/json: schema: *61 examples: - default: *200 + default: *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51426,8 +51717,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: - - *365 - - *366 + - *370 + - *371 - *60 responses: '204': @@ -51453,8 +51744,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: - - *365 - - *366 + - *370 + - *371 - *60 responses: '200': *66 @@ -51479,8 +51770,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: - - *365 - - *366 + - *370 + - *371 - *60 requestBody: required: true @@ -51529,8 +51820,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: - - *365 - - *366 + - *370 + - *371 - *60 requestBody: required: true @@ -51580,11 +51871,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: - - *365 - - *366 + - *370 + - *371 - *60 responses: - '200': *201 + '200': *204 '404': *6 x-github: githubCloudOnly: false @@ -51611,10 +51902,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: - - *365 - - *366 + - *370 + - *371 - *60 - - *202 + - *205 responses: '200': *66 '404': *6 @@ -51642,9 +51933,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: - - *365 - - *366 - - &410 + - *370 + - *371 + - &415 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. @@ -51652,7 +51943,7 @@ paths: required: false schema: type: string - - &411 + - &416 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -51660,7 +51951,7 @@ paths: required: false schema: type: string - - &412 + - &417 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -51669,7 +51960,7 @@ paths: required: false schema: type: string - - &413 + - &418 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 @@ -51696,7 +51987,7 @@ paths: - pending - *17 - *19 - - &414 + - &419 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)." @@ -51705,7 +51996,7 @@ paths: schema: type: string format: date-time - - &393 + - &398 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -51714,13 +52005,13 @@ paths: schema: type: boolean default: false - - &415 + - &420 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &416 + - &421 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -51743,7 +52034,7 @@ paths: type: integer workflow_runs: type: array - items: &394 + items: &399 title: Workflow Run description: An invocation of a workflow type: object @@ -51838,7 +52129,7 @@ paths: that triggered the run. type: array nullable: true - items: &435 + items: &440 title: Pull Request Minimal type: object properties: @@ -51957,7 +52248,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &439 + properties: &444 id: type: string description: SHA for the commit @@ -52008,7 +52299,7 @@ paths: - name - email nullable: true - required: &440 + required: &445 - id - tree_id - message @@ -52016,8 +52307,8 @@ paths: - author - committer nullable: true - repository: *194 - head_repository: *194 + repository: *197 + head_repository: *197 head_repository_id: type: integer example: 5 @@ -52055,7 +52346,7 @@ paths: - workflow_url - pull_requests examples: - default: &417 + default: &422 value: total_count: 1 workflow_runs: @@ -52291,24 +52582,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *365 - - *366 - - &395 + - *370 + - *371 + - &400 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *393 + - *398 responses: '200': description: Response content: application/json: - schema: *394 + schema: *399 examples: - default: &398 + default: &403 value: id: 30433642 name: Build @@ -52549,9 +52840,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *365 - - *366 - - *395 + - *370 + - *371 + - *400 responses: '204': description: Response @@ -52574,9 +52865,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: - - *365 - - *366 - - *395 + - *370 + - *371 + - *400 responses: '200': description: Response @@ -52695,15 +52986,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: - - *365 - - *366 - - *395 + - *370 + - *371 + - *400 responses: '201': description: Response content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -52730,12 +53021,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *365 - - *366 - - *395 + - *370 + - *371 + - *400 - *17 - *19 - - *396 + - *401 responses: '200': description: Response @@ -52751,9 +53042,9 @@ paths: type: integer artifacts: type: array - items: *382 + items: *387 examples: - default: *397 + default: *402 headers: Link: *39 x-github: @@ -52777,25 +53068,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *365 - - *366 - - *395 - - &399 + - *370 + - *371 + - *400 + - &404 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *393 + - *398 responses: '200': description: Response content: application/json: - schema: *394 + schema: *399 examples: - default: *398 + default: *403 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52818,10 +53109,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: - - *365 - - *366 - - *395 - - *399 + - *370 + - *371 + - *400 + - *404 - *17 - *19 responses: @@ -52839,9 +53130,9 @@ paths: type: integer jobs: type: array - items: *400 + items: *405 examples: - default: &401 + default: &406 value: total_count: 1 jobs: @@ -52954,10 +53245,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *365 - - *366 - - *395 - - *399 + - *370 + - *371 + - *400 + - *404 responses: '302': description: Response @@ -52985,19 +53276,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *365 - - *366 - - *395 + - *370 + - *371 + - *400 responses: '202': description: Response content: application/json: - schema: *205 + schema: *208 examples: default: value: - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53020,9 +53311,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: - - *365 - - *366 - - *395 + - *370 + - *371 + - *400 requestBody: required: true content: @@ -53089,19 +53380,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *365 - - *366 - - *395 + - *370 + - *371 + - *400 responses: '202': description: Response content: application/json: - schema: *205 + schema: *208 examples: default: value: - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53124,9 +53415,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: - - *365 - - *366 - - *395 + - *370 + - *371 + - *400 - 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 @@ -53156,9 +53447,9 @@ paths: type: integer jobs: type: array - items: *400 + items: *405 examples: - default: *401 + default: *406 headers: Link: *39 x-github: @@ -53183,9 +53474,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *365 - - *366 - - *395 + - *370 + - *371 + - *400 responses: '302': description: Response @@ -53212,14 +53503,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *365 - - *366 - - *395 + - *370 + - *371 + - *400 responses: '204': description: Response '403': *29 - '500': *97 + '500': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53241,9 +53532,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: - - *365 - - *366 - - *395 + - *370 + - *371 + - *400 responses: '200': description: Response @@ -53303,7 +53594,7 @@ paths: items: type: object properties: - type: &516 + type: &521 type: string description: The type of reviewer. enum: @@ -53313,7 +53604,7 @@ paths: reviewer: anyOf: - *4 - - *281 + - *284 required: - environment - wait_timer @@ -53388,9 +53679,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: - - *365 - - *366 - - *395 + - *370 + - *371 + - *400 requestBody: required: true content: @@ -53437,7 +53728,7 @@ paths: application/json: schema: type: array - items: &511 + items: &516 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -53525,8 +53816,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 required: - id - node_id @@ -53543,7 +53834,7 @@ paths: - created_at - updated_at examples: - default: &512 + default: &517 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -53599,9 +53890,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *365 - - *366 - - *395 + - *370 + - *371 + - *400 requestBody: required: false content: @@ -53622,7 +53913,7 @@ paths: description: Response content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -53645,9 +53936,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: - - *365 - - *366 - - *395 + - *370 + - *371 + - *400 requestBody: required: false content: @@ -53668,7 +53959,7 @@ paths: description: Response content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -53680,12 +53971,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 @@ -53693,9 +53992,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *365 - - *366 - - *395 + - *370 + - *371 + - *400 responses: '200': description: Response @@ -53832,8 +54131,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -53851,9 +54150,9 @@ paths: type: integer secrets: type: array - items: *402 + items: *407 examples: - default: *403 + default: *408 headers: Link: *39 x-github: @@ -53878,16 +54177,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: *404 + schema: *409 examples: - default: *405 + default: *410 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53909,17 +54208,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *365 - - *366 - - *204 + - *370 + - *371 + - *207 responses: '200': description: Response content: application/json: - schema: *402 + schema: *407 examples: - default: &529 + default: &534 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -53945,9 +54244,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *365 - - *366 - - *204 + - *370 + - *371 + - *207 requestBody: required: true content: @@ -53978,7 +54277,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -54004,9 +54303,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *365 - - *366 - - *204 + - *370 + - *371 + - *207 responses: '204': description: Response @@ -54031,9 +54330,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *365 - - *366 - - *389 + - *370 + - *371 + - *394 - *19 responses: '200': @@ -54050,9 +54349,9 @@ paths: type: integer variables: type: array - items: *406 + items: *411 examples: - default: *407 + default: *412 headers: Link: *39 x-github: @@ -54075,8 +54374,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -54103,7 +54402,7 @@ paths: description: Response content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -54128,17 +54427,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *365 - - *366 - - *207 + - *370 + - *371 + - *210 responses: '200': description: Response content: application/json: - schema: *406 + schema: *411 examples: - default: &530 + default: &535 value: name: USERNAME value: octocat @@ -54164,9 +54463,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *365 - - *366 - - *207 + - *370 + - *371 + - *210 requestBody: required: true content: @@ -54208,9 +54507,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *365 - - *366 - - *207 + - *370 + - *371 + - *210 responses: '204': description: Response @@ -54235,8 +54534,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -54254,7 +54553,7 @@ paths: type: integer workflows: type: array - items: &408 + items: &413 title: Workflow description: A GitHub Actions workflow type: object @@ -54361,9 +54660,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *365 - - *366 - - &409 + - *370 + - *371 + - &414 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -54378,7 +54677,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *413 examples: default: value: @@ -54411,9 +54710,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *365 - - *366 - - *409 + - *370 + - *371 + - *414 responses: '204': description: Response @@ -54438,9 +54737,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *365 - - *366 - - *409 + - *370 + - *371 + - *414 responses: '204': description: Response @@ -54491,9 +54790,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *365 - - *366 - - *409 + - *370 + - *371 + - *414 responses: '204': description: Response @@ -54520,19 +54819,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: - - *365 - - *366 - - *409 - - *410 - - *411 - - *412 - - *413 - - *17 - - *19 + - *370 + - *371 - *414 - - *393 - *415 - *416 + - *417 + - *418 + - *17 + - *19 + - *419 + - *398 + - *420 + - *421 responses: '200': description: Response @@ -54548,9 +54847,9 @@ paths: type: integer workflow_runs: type: array - items: *394 + items: *399 examples: - default: *417 + default: *422 headers: Link: *39 x-github: @@ -54561,14 +54860,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 @@ -54576,9 +54882,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *365 - - *366 - - *409 + - *370 + - *371 + - *414 responses: '200': description: Response @@ -54639,12 +54945,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *365 - - *366 - - *84 + - *370 + - *371 + - *86 - *17 - - *82 - - *83 + - *84 + - *85 - name: ref description: |- The Git reference for the activities you want to list. @@ -54804,8 +55110,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -54817,7 +55123,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 headers: Link: *39 '404': *6 @@ -54842,8 +55148,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: - - *365 - - *366 + - *370 + - *371 - name: assignee in: path required: true @@ -54879,8 +55185,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -54992,11 +55298,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *365 - - *366 + - *370 + - *371 - *17 - - *82 - - *83 + - *84 + - *85 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -55039,7 +55345,7 @@ paths: bundle_url: type: string examples: - default: *418 + default: *423 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55059,8 +55365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -55068,7 +55374,7 @@ paths: application/json: schema: type: array - items: &419 + items: &424 title: Autolink reference description: An autolink reference. type: object @@ -55118,8 +55424,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: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -55158,9 +55464,9 @@ paths: description: response content: application/json: - schema: *419 + schema: *424 examples: - default: &420 + default: &425 value: id: 1 key_prefix: TICKET- @@ -55191,9 +55497,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: - - *365 - - *366 - - &421 + - *370 + - *371 + - &426 name: autolink_id description: The unique identifier of the autolink. in: path @@ -55205,9 +55511,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 '404': *6 x-github: githubCloudOnly: false @@ -55227,9 +55533,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: - - *365 - - *366 - - *421 + - *370 + - *371 + - *426 responses: '204': description: Response @@ -55253,8 +55559,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response if Dependabot is enabled @@ -55302,8 +55608,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Response @@ -55324,8 +55630,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Response @@ -55345,8 +55651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *365 - - *366 + - *370 + - *371 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -55384,7 +55690,7 @@ paths: - url protected: type: boolean - protection: &423 + protection: &428 title: Branch Protection description: Branch Protection type: object @@ -55426,7 +55732,7 @@ paths: required: - contexts - checks - enforce_admins: &426 + enforce_admins: &431 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -55441,7 +55747,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &428 + required_pull_request_reviews: &433 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -55462,7 +55768,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *281 + items: *284 apps: description: The list of apps with review dismissal access. @@ -55491,7 +55797,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *281 + items: *284 apps: description: The list of apps allowed to bypass pull request requirements. @@ -55517,7 +55823,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &425 + restrictions: &430 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -55824,9 +56130,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *365 - - *366 - - &424 + - *370 + - *371 + - &429 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). @@ -55840,14 +56146,14 @@ paths: description: Response content: application/json: - schema: &434 + schema: &439 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &484 + commit: &489 title: Commit description: Commit type: object @@ -55881,7 +56187,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &422 + properties: &427 name: type: string example: '"Chris Wanstrath"' @@ -55896,7 +56202,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *422 + properties: *427 nullable: true message: type: string @@ -55917,7 +56223,7 @@ paths: required: - sha - url - verification: &536 + verification: &541 title: Verification type: object properties: @@ -55951,12 +56257,12 @@ paths: nullable: true oneOf: - *4 - - *205 + - *208 committer: nullable: true oneOf: - *4 - - *205 + - *208 parents: type: array items: @@ -55987,7 +56293,7 @@ paths: type: integer files: type: array - items: &499 + items: &504 title: Diff Entry description: Diff Entry type: object @@ -56070,7 +56376,7 @@ paths: - self protected: type: boolean - protection: *423 + protection: *428 protection_url: type: string format: uri @@ -56177,7 +56483,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *379 + '301': *384 '404': *6 x-github: githubCloudOnly: false @@ -56199,15 +56505,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '200': description: Response content: application/json: - schema: *423 + schema: *428 examples: default: value: @@ -56401,9 +56707,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 requestBody: required: true content: @@ -56658,7 +56964,7 @@ paths: url: type: string format: uri - required_status_checks: &431 + required_status_checks: &436 title: Status Check Policy description: Status Check Policy type: object @@ -56734,7 +57040,7 @@ paths: items: *4 teams: type: array - items: *281 + items: *284 apps: type: array items: *5 @@ -56752,7 +57058,7 @@ paths: items: *4 teams: type: array - items: *281 + items: *284 apps: type: array items: *5 @@ -56810,7 +57116,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *425 + restrictions: *430 required_conversation_resolution: type: object properties: @@ -56922,9 +57228,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '204': description: Response @@ -56949,17 +57255,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '200': description: Response content: application/json: - schema: *426 + schema: *431 examples: - default: &427 + default: &432 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -56981,17 +57287,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '200': description: Response content: application/json: - schema: *426 + schema: *431 examples: - default: *427 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57010,9 +57316,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '204': description: Response @@ -57037,17 +57343,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '200': description: Response content: application/json: - schema: *428 + schema: *433 examples: - default: &429 + default: &434 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -57143,9 +57449,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 requestBody: required: false content: @@ -57243,9 +57549,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *433 examples: - default: *429 + default: *434 '422': *15 x-github: githubCloudOnly: false @@ -57266,9 +57572,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '204': description: Response @@ -57295,17 +57601,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '200': description: Response content: application/json: - schema: *426 + schema: *431 examples: - default: &430 + default: &435 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -57328,17 +57634,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '200': description: Response content: application/json: - schema: *426 + schema: *431 examples: - default: *430 + default: *435 '404': *6 x-github: githubCloudOnly: false @@ -57358,9 +57664,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '204': description: Response @@ -57385,17 +57691,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '200': description: Response content: application/json: - schema: *431 + schema: *436 examples: - default: &432 + default: &437 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -57421,9 +57727,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 requestBody: required: false content: @@ -57475,9 +57781,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *436 examples: - default: *432 + default: *437 '404': *6 '422': *15 x-github: @@ -57499,9 +57805,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '204': description: Response @@ -57525,9 +57831,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '200': description: Response @@ -57561,9 +57867,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 requestBody: required: false content: @@ -57630,9 +57936,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 requestBody: required: false content: @@ -57696,9 +58002,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 requestBody: content: application/json: @@ -57764,15 +58070,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '200': description: Response content: application/json: - schema: *425 + schema: *430 examples: default: value: @@ -57863,9 +58169,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '204': description: Response @@ -57888,9 +58194,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: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '200': description: Response @@ -57900,7 +58206,7 @@ paths: type: array items: *5 examples: - default: &433 + default: &438 value: - id: 1 slug: octoapp @@ -57957,9 +58263,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 requestBody: required: true content: @@ -57993,7 +58299,7 @@ paths: type: array items: *5 examples: - default: *433 + default: *438 '422': *15 x-github: githubCloudOnly: false @@ -58014,9 +58320,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 requestBody: required: true content: @@ -58050,7 +58356,7 @@ paths: type: array items: *5 examples: - default: *433 + default: *438 '422': *15 x-github: githubCloudOnly: false @@ -58071,9 +58377,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 requestBody: required: true content: @@ -58107,7 +58413,7 @@ paths: type: array items: *5 examples: - default: *433 + default: *438 '422': *15 x-github: githubCloudOnly: false @@ -58129,9 +58435,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: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '200': description: Response @@ -58139,9 +58445,9 @@ paths: application/json: schema: type: array - items: *281 + items: *284 examples: - default: *296 + default: *299 '404': *6 x-github: githubCloudOnly: false @@ -58161,9 +58467,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 requestBody: required: false content: @@ -58199,9 +58505,9 @@ paths: application/json: schema: type: array - items: *281 + items: *284 examples: - default: *296 + default: *299 '422': *15 x-github: githubCloudOnly: false @@ -58222,9 +58528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 requestBody: required: false content: @@ -58260,9 +58566,9 @@ paths: application/json: schema: type: array - items: *281 + items: *284 examples: - default: *296 + default: *299 '422': *15 x-github: githubCloudOnly: false @@ -58283,9 +58589,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 requestBody: content: application/json: @@ -58320,9 +58626,9 @@ paths: application/json: schema: type: array - items: *281 + items: *284 examples: - default: *296 + default: *299 '422': *15 x-github: githubCloudOnly: false @@ -58344,9 +58650,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: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 responses: '200': description: Response @@ -58356,7 +58662,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 '404': *6 x-github: githubCloudOnly: false @@ -58380,9 +58686,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 requestBody: required: true content: @@ -58415,7 +58721,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 '422': *15 x-github: githubCloudOnly: false @@ -58440,9 +58746,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 requestBody: required: true content: @@ -58475,7 +58781,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 '422': *15 x-github: githubCloudOnly: false @@ -58500,9 +58806,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 requestBody: required: true content: @@ -58535,7 +58841,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 '422': *15 x-github: githubCloudOnly: false @@ -58562,9 +58868,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 requestBody: required: true content: @@ -58586,7 +58892,7 @@ paths: description: Response content: application/json: - schema: *434 + schema: *439 examples: default: value: @@ -58700,12 +59006,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *365 - - *366 - - *217 - - *218 - - *219 + - *370 + - *371 - *220 + - *221 + - *222 + - *223 - *17 - *19 responses: @@ -58715,11 +59021,11 @@ paths: application/json: schema: type: array - items: *221 + items: *224 examples: - default: *222 + default: *225 '404': *6 - '500': *97 + '500': *99 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": get: summary: Get a repository push bypass request @@ -58737,8 +59043,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *365 - - *366 + - *370 + - *371 - name: bypass_request_number in: path required: true @@ -58752,7 +59058,7 @@ paths: description: Response content: application/json: - schema: *221 + schema: *224 examples: default: value: @@ -58790,7 +59096,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': *97 + '500': *99 "/repos/{owner}/{repo}/check-runs": post: summary: Create a check run @@ -58810,8 +59116,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -59090,7 +59396,7 @@ paths: description: Response content: application/json: - schema: &436 + schema: &441 title: CheckRun description: A check performed on the code of a given code change type: object @@ -59201,16 +59507,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *435 - deployment: &750 + items: *440 + deployment: &755 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -59277,8 +59583,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 required: - id - node_id @@ -59490,9 +59796,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *365 - - *366 - - &437 + - *370 + - *371 + - &442 name: check_run_id description: The unique identifier of the check run. in: path @@ -59504,9 +59810,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *441 examples: - default: &438 + default: &443 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -59606,9 +59912,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *365 - - *366 - - *437 + - *370 + - *371 + - *442 requestBody: required: true content: @@ -59848,9 +60154,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *441 examples: - default: *438 + default: *443 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59870,9 +60176,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *365 - - *366 - - *437 + - *370 + - *371 + - *442 - *17 - *19 responses: @@ -59969,15 +60275,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *365 - - *366 - - *437 + - *370 + - *371 + - *442 responses: '201': description: Response content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -60015,8 +60321,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -60038,7 +60344,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &441 + schema: &446 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -60102,7 +60408,7 @@ paths: nullable: true pull_requests: type: array - items: *435 + items: *440 nullable: true app: title: GitHub app @@ -60113,9 +60419,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 - repository: *194 + properties: *139 + required: *140 + repository: *197 created_at: type: string format: date-time @@ -60124,12 +60430,12 @@ paths: type: string format: date-time nullable: true - head_commit: &776 + head_commit: &781 title: Simple Commit description: A commit. type: object - properties: *439 - required: *440 + properties: *444 + required: *445 latest_check_runs_count: type: integer check_runs_url: @@ -60157,7 +60463,7 @@ paths: - check_runs_url - pull_requests examples: - default: &442 + default: &447 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -60448,9 +60754,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *441 + schema: *446 examples: - default: *442 + default: *447 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60469,8 +60775,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -60531,7 +60837,7 @@ paths: required: - app_id - setting - repository: *194 + repository: *197 examples: default: value: @@ -60779,9 +61085,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *365 - - *366 - - &443 + - *370 + - *371 + - &448 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -60793,9 +61099,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *446 examples: - default: *442 + default: *447 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60818,17 +61124,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: - - *365 - - *366 - - *443 - - &492 + - *370 + - *371 + - *448 + - &497 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &493 + - &498 name: status description: Returns check runs with the specified `status`. in: query @@ -60867,9 +61173,9 @@ paths: type: integer check_runs: type: array - items: *436 + items: *441 examples: - default: &494 + default: &499 value: total_count: 1 check_runs: @@ -60971,15 +61277,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *365 - - *366 - - *443 + - *370 + - *371 + - *448 responses: '201': description: Response content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -61006,30 +61312,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: - - *365 - - *366 - - *223 - - *224 + - *370 + - *371 + - *226 + - *227 - *19 - *17 - - &459 + - &464 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: *444 - - &460 + schema: *449 + - &465 name: pr description: The number of the pull request for the results you want to list. in: query required: false schema: type: integer + - *86 - *84 - - *82 - - *83 + - *85 - name: sort description: The property by which to sort the results. in: query @@ -61045,13 +61351,13 @@ paths: be returned. in: query required: false - schema: *225 + schema: *228 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *445 + schema: *450 responses: '200': description: Response @@ -61062,14 +61368,14 @@ paths: items: type: object properties: - number: *98 - created_at: *105 - updated_at: *106 - url: *103 - html_url: *104 - instances_url: *446 - state: *87 - fixed_at: *108 + number: *100 + created_at: *107 + updated_at: *108 + url: *105 + html_url: *106 + instances_url: *451 + state: *89 + fixed_at: *110 dismissed_by: title: Simple User description: A GitHub user. @@ -61077,12 +61383,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *107 - dismissed_reason: *447 - dismissed_comment: *448 - rule: *449 - tool: *450 - most_recent_instance: *451 + dismissed_at: *109 + dismissed_reason: *452 + dismissed_comment: *453 + rule: *454 + tool: *455 + most_recent_instance: *456 required: - number - created_at @@ -61198,14 +61504,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &452 + '403': &457 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61225,9 +61531,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: - - *365 - - *366 - - &453 + - *370 + - *371 + - &458 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -61235,23 +61541,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *98 + schema: *100 responses: '200': description: Response content: application/json: - schema: &454 + schema: &459 type: object properties: - number: *98 - created_at: *105 - updated_at: *106 - url: *103 - html_url: *104 - instances_url: *446 - state: *87 - fixed_at: *108 + number: *100 + created_at: *107 + updated_at: *108 + url: *105 + html_url: *106 + instances_url: *451 + state: *89 + fixed_at: *110 dismissed_by: title: Simple User description: A GitHub user. @@ -61259,9 +61565,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *107 - dismissed_reason: *447 - dismissed_comment: *448 + dismissed_at: *109 + dismissed_reason: *452 + dismissed_comment: *453 rule: type: object properties: @@ -61315,8 +61621,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *450 - most_recent_instance: *451 + tool: *455 + most_recent_instance: *456 required: - number - created_at @@ -61405,9 +61711,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *452 + '403': *457 '404': *6 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61425,9 +61731,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: - - *365 - - *366 - - *453 + - *370 + - *371 + - *458 requestBody: required: true content: @@ -61442,8 +61748,8 @@ paths: enum: - open - dismissed - dismissed_reason: *447 - dismissed_comment: *448 + dismissed_reason: *452 + dismissed_comment: *453 required: - state examples: @@ -61458,7 +61764,7 @@ paths: description: Response content: application/json: - schema: *454 + schema: *459 examples: default: value: @@ -61533,14 +61839,14 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &458 + '403': &463 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': *129 + '503': *132 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61560,15 +61866,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: - - *365 - - *366 - - *453 + - *370 + - *371 + - *458 responses: '200': description: Response content: application/json: - schema: &455 + schema: &460 type: object properties: status: @@ -61594,13 +61900,13 @@ paths: - description - started_at examples: - default: &456 + default: &461 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &457 + '400': &462 description: Bad Request content: application/json: @@ -61611,9 +61917,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': *452 + '403': *457 '404': *6 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61636,29 +61942,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: - - *365 - - *366 - - *453 + - *370 + - *371 + - *458 responses: '200': description: OK content: application/json: - schema: *455 + schema: *460 examples: - default: *456 + default: *461 '202': description: Accepted content: application/json: - schema: *455 + schema: *460 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *457 + '400': *462 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -61668,7 +61974,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61690,9 +61996,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: - - *365 - - *366 - - *453 + - *370 + - *371 + - *458 requestBody: required: false content: @@ -61737,12 +62043,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *457 - '403': *458 + '400': *462 + '403': *463 '404': *6 '422': description: Unprocessable Entity - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61762,13 +62068,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: - - *365 - - *366 - - *453 + - *370 + - *371 + - *458 - *19 - *17 - - *459 - - *460 + - *464 + - *465 responses: '200': description: Response @@ -61776,7 +62082,7 @@ paths: application/json: schema: type: array - items: *451 + items: *456 examples: default: value: @@ -61815,9 +62121,9 @@ paths: end_column: 50 classifications: - source - '403': *452 + '403': *457 '404': *6 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61849,29 +62155,29 @@ 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: - - *365 - - *366 - - *223 - - *224 + - *370 + - *371 + - *226 + - *227 - *19 - *17 - - *460 + - *465 - 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: *444 + schema: *449 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &463 + schema: &468 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *84 + - *86 - name: sort description: The property by which to sort the results. in: query @@ -61888,23 +62194,23 @@ paths: application/json: schema: type: array - items: &464 + items: &469 type: object properties: - ref: *444 - commit_sha: &472 + ref: *449 + commit_sha: &477 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: *461 + analysis_key: *466 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *462 + category: *467 error: type: string example: error reading field xyz @@ -61928,8 +62234,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *463 - tool: *450 + sarif_id: *468 + tool: *455 deletable: type: boolean warning: @@ -61990,9 +62296,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *452 + '403': *457 '404': *6 - '503': *129 + '503': *132 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62026,8 +62332,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: - - *365 - - *366 + - *370 + - *371 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -62040,7 +62346,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *469 examples: response: summary: application/json response @@ -62094,9 +62400,9 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *452 + '403': *457 '404': *6 - '503': *129 + '503': *132 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62176,8 +62482,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: - - *365 - - *366 + - *370 + - *371 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -62230,9 +62536,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': *458 + '403': *463 '404': *6 - '503': *129 + '503': *132 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62252,8 +62558,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -62261,7 +62567,7 @@ paths: application/json: schema: type: array - items: &465 + items: &470 title: CodeQL Database description: A CodeQL database. type: object @@ -62372,9 +62678,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': *452 + '403': *457 '404': *6 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62401,8 +62707,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: - - *365 - - *366 + - *370 + - *371 - name: language in: path description: The language of the CodeQL database. @@ -62414,7 +62720,7 @@ paths: description: Response content: application/json: - schema: *465 + schema: *470 examples: default: value: @@ -62446,11 +62752,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': &501 + '302': &506 description: Found - '403': *452 + '403': *457 '404': *6 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62470,8 +62776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *365 - - *366 + - *370 + - *371 - name: language in: path description: The language of the CodeQL database. @@ -62481,9 +62787,9 @@ paths: responses: '204': description: Response - '403': *458 + '403': *463 '404': *6 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62509,8 +62815,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: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -62519,7 +62825,7 @@ paths: type: object additionalProperties: false properties: - language: &466 + language: &471 type: string description: The language targeted by the CodeQL query enum: @@ -62597,7 +62903,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &470 + schema: &475 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -62605,9 +62911,9 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *94 + controller_repo: *96 actor: *4 - query_language: *466 + query_language: *471 query_pack_url: type: string description: The download url for the query pack. @@ -62654,7 +62960,7 @@ paths: items: type: object properties: - repository: &467 + repository: &472 title: Repository Identifier description: Repository Identifier type: object @@ -62690,7 +62996,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &471 + analysis_status: &476 type: string description: The new status of the CodeQL variant analysis repository task. @@ -62722,7 +63028,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &468 + access_mismatch_repos: &473 type: object properties: repository_count: @@ -62736,7 +63042,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: *467 + items: *472 required: - repository_count - repositories @@ -62758,8 +63064,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *468 - over_limit_repos: *468 + no_codeql_db_repos: *473 + over_limit_repos: *473 required: - access_mismatch_repos - not_found_repos @@ -62775,7 +63081,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &469 + value: &474 summary: Default response value: id: 1 @@ -62927,17 +63233,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *469 + value: *474 repository_lists: summary: Response for a successful variant analysis submission - value: *469 + value: *474 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62958,8 +63264,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: - - *365 - - *366 + - *370 + - *371 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -62971,11 +63277,11 @@ paths: description: Response content: application/json: - schema: *470 + schema: *475 examples: - default: *469 + default: *474 '404': *6 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62996,7 +63302,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: - - *365 + - *370 - name: repo in: path description: The name of the controller repository. @@ -63030,8 +63336,8 @@ paths: schema: type: object properties: - repository: *94 - analysis_status: *471 + repository: *96 + analysis_status: *476 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -63135,7 +63441,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63156,8 +63462,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -63231,9 +63537,9 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *452 + '403': *457 '404': *6 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63252,8 +63558,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: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -63310,7 +63616,7 @@ paths: description: Response content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -63335,7 +63641,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *458 + '403': *463 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -63343,7 +63649,7 @@ paths: content: application/json: schema: *3 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63400,8 +63706,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: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -63409,7 +63715,7 @@ paths: schema: type: object properties: - commit_sha: *472 + commit_sha: *477 ref: type: string description: |- @@ -63467,7 +63773,7 @@ paths: schema: type: object properties: - id: *463 + id: *468 url: type: string description: The REST API URL for checking the status of the upload. @@ -63481,11 +63787,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': *458 + '403': *463 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *129 + '503': *132 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63504,8 +63810,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: - - *365 - - *366 + - *370 + - *371 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -63551,10 +63857,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': *452 + '403': *457 '404': description: Not Found if the sarif id does not match any upload - '503': *129 + '503': *132 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63576,8 +63882,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -63601,7 +63907,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *88 + configuration: *90 examples: default: value: @@ -63630,7 +63936,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': *116 + '204': *118 '304': *37 '403': *29 '404': *6 @@ -63655,8 +63961,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *365 - - *366 + - *370 + - *371 - 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 @@ -63776,8 +64082,8 @@ paths: parameters: - *17 - *19 - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -63793,7 +64099,7 @@ paths: type: integer codespaces: type: array - items: *285 + items: *288 examples: default: value: @@ -64069,7 +64375,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': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -64091,8 +64397,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -64155,22 +64461,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *285 + schema: *288 examples: - default: *473 + default: *478 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *285 + schema: *288 examples: - default: *473 + default: *478 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -64194,8 +64500,8 @@ paths: parameters: - *17 - *19 - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -64235,7 +64541,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *97 + '500': *99 '400': *14 '401': *25 '403': *29 @@ -64259,8 +64565,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: - - *365 - - *366 + - *370 + - *371 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -64295,14 +64601,14 @@ paths: type: integer machines: type: array - items: &706 + items: &711 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *474 - required: *475 + properties: *479 + required: *480 examples: - default: &707 + default: &712 value: total_count: 2 machines: @@ -64319,7 +64625,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *37 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -64342,8 +64648,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *365 - - *366 + - *370 + - *371 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -64427,8 +64733,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: - - *365 - - *366 + - *370 + - *371 - 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 @@ -64473,7 +64779,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64494,8 +64800,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -64513,7 +64819,7 @@ paths: type: integer secrets: type: array - items: &479 + items: &484 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -64533,7 +64839,7 @@ paths: - created_at - updated_at examples: - default: *476 + default: *481 headers: Link: *39 x-github: @@ -64556,16 +64862,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: *477 + schema: *482 examples: - default: *478 + default: *483 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -64585,17 +64891,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *365 - - *366 - - *204 + - *370 + - *371 + - *207 responses: '200': description: Response content: application/json: - schema: *479 + schema: *484 examples: - default: *480 + default: *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64615,9 +64921,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: - - *365 - - *366 - - *204 + - *370 + - *371 + - *207 requestBody: required: true content: @@ -64645,7 +64951,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -64669,9 +64975,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *365 - - *366 - - *204 + - *370 + - *371 + - *207 responses: '204': description: Response @@ -64699,8 +65005,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *365 - - *366 + - *370 + - *371 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -64742,7 +65048,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &481 + properties: &486 login: type: string example: octocat @@ -64835,7 +65141,7 @@ paths: user_view_type: type: string example: public - required: &482 + required: &487 - avatar_url - events_url - followers_url @@ -64909,9 +65215,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: - - *365 - - *366 - - *216 + - *370 + - *371 + - *219 responses: '204': description: Response if user is a collaborator @@ -64953,9 +65259,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *365 - - *366 - - *216 + - *370 + - *371 + - *219 requestBody: required: false content: @@ -64981,7 +65287,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &549 + schema: &554 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -64992,7 +65298,7 @@ paths: example: 42 type: integer format: int64 - repository: *194 + repository: *197 invitee: title: Simple User description: A GitHub user. @@ -65203,9 +65509,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *365 - - *366 - - *216 + - *370 + - *371 + - *219 responses: '204': description: No Content when collaborator was removed from the repository. @@ -65234,9 +65540,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *365 - - *366 - - *216 + - *370 + - *371 + - *219 responses: '200': description: if user has admin permissions @@ -65256,8 +65562,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *481 - required: *482 + properties: *486 + required: *487 nullable: true required: - permission @@ -65312,8 +65618,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -65323,7 +65629,7 @@ paths: application/json: schema: type: array - items: &483 + items: &488 title: Commit Comment description: Commit Comment type: object @@ -65364,8 +65670,8 @@ paths: updated_at: type: string format: date-time - author_association: *138 - reactions: *139 + author_association: *141 + reactions: *142 required: - url - html_url @@ -65381,7 +65687,7 @@ paths: - created_at - updated_at examples: - default: &486 + default: &491 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65440,17 +65746,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *365 - - *366 - - *150 + - *370 + - *371 + - *153 responses: '200': description: Response content: application/json: - schema: *483 + schema: *488 examples: - default: &487 + default: &492 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65507,9 +65813,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *365 - - *366 - - *150 + - *370 + - *371 + - *153 requestBody: required: true content: @@ -65531,7 +65837,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *488 examples: default: value: @@ -65582,9 +65888,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *365 - - *366 - - *150 + - *370 + - *371 + - *153 responses: '204': description: Response @@ -65605,9 +65911,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *365 - - *366 - - *150 + - *370 + - *371 + - *153 - 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. @@ -65633,9 +65939,9 @@ paths: application/json: schema: type: array - items: *354 + items: *359 examples: - default: *356 + default: *361 headers: Link: *39 '404': *6 @@ -65656,9 +65962,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *365 - - *366 - - *150 + - *370 + - *371 + - *153 requestBody: required: true content: @@ -65690,16 +65996,16 @@ paths: description: Reaction exists content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 '201': description: Reaction created content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 '422': *15 x-github: githubCloudOnly: false @@ -65721,10 +66027,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *365 - - *366 - - *150 - - *357 + - *370 + - *371 + - *153 + - *362 responses: '204': description: Response @@ -65773,8 +66079,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *365 - - *366 + - *370 + - *371 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -65830,9 +66136,9 @@ paths: application/json: schema: type: array - items: *484 + items: *489 examples: - default: &600 + default: &605 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65903,10 +66209,10 @@ paths: sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: Link: *39 - '500': *97 + '500': *99 '400': *14 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65926,9 +66232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *365 - - *366 - - &485 + - *370 + - *371 + - &490 name: commit_sha description: The SHA of the commit. in: path @@ -65975,7 +66281,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66000,9 +66306,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *365 - - *366 - - *485 + - *370 + - *371 + - *490 - *17 - *19 responses: @@ -66012,9 +66318,9 @@ paths: application/json: schema: type: array - items: *483 + items: *488 examples: - default: *486 + default: *491 headers: Link: *39 x-github: @@ -66042,9 +66348,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *365 - - *366 - - *485 + - *370 + - *371 + - *490 requestBody: required: true content: @@ -66079,9 +66385,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *488 examples: - default: *487 + default: *492 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66109,9 +66415,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: - - *365 - - *366 - - *485 + - *370 + - *371 + - *490 - *17 - *19 responses: @@ -66121,7 +66427,7 @@ paths: application/json: schema: type: array - items: &591 + items: &596 title: Pull Request Simple description: Pull Request Simple type: object @@ -66227,8 +66533,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *488 - required: *489 + properties: *493 + required: *494 nullable: true active_lock_reason: type: string @@ -66273,7 +66579,7 @@ paths: nullable: true requested_teams: type: array - items: *281 + items: *284 nullable: true head: type: object @@ -66324,7 +66630,7 @@ paths: _links: type: object properties: - comments: &490 + comments: &495 title: Link description: Hypermedia Link type: object @@ -66333,13 +66639,13 @@ paths: type: string required: - href - commits: *490 - statuses: *490 - html: *490 - issue: *490 - review_comments: *490 - review_comment: *490 - self: *490 + commits: *495 + statuses: *495 + html: *495 + issue: *495 + review_comments: *495 + review_comment: *495 + self: *495 required: - comments - commits @@ -66349,8 +66655,8 @@ paths: - review_comments - review_comment - self - author_association: *138 - auto_merge: &593 + author_association: *141 + auto_merge: &598 title: Auto merge description: The status of auto merging a pull request. type: object @@ -66413,7 +66719,7 @@ paths: - author_association - auto_merge examples: - default: &592 + default: &597 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -66893,7 +67199,7 @@ paths: draft: false headers: Link: *39 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66950,11 +67256,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *365 - - *366 + - *370 + - *371 - *19 - *17 - - &491 + - &496 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)" @@ -66969,9 +67275,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *489 examples: - default: &578 + default: &583 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67057,9 +67363,9 @@ paths: ..... '422': *15 '404': *6 - '500': *97 - '503': *129 - '409': *92 + '500': *99 + '503': *132 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67084,11 +67390,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: - - *365 - - *366 - - *491 - - *492 - - *493 + - *370 + - *371 + - *496 + - *497 + - *498 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -67122,9 +67428,9 @@ paths: type: integer check_runs: type: array - items: *436 + items: *441 examples: - default: *494 + default: *499 headers: Link: *39 x-github: @@ -67149,9 +67455,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: - - *365 - - *366 - - *491 + - *370 + - *371 + - *496 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -67159,7 +67465,7 @@ paths: schema: type: integer example: 1 - - *492 + - *497 - *17 - *19 responses: @@ -67177,7 +67483,7 @@ paths: type: integer check_suites: type: array - items: *441 + items: *446 examples: default: value: @@ -67377,9 +67683,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: - - *365 - - *366 - - *491 + - *370 + - *371 + - *496 - *17 - *19 responses: @@ -67446,7 +67752,7 @@ paths: type: string total_count: type: integer - repository: *194 + repository: *197 commit_url: type: string format: uri @@ -67577,9 +67883,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *365 - - *366 - - *491 + - *370 + - *371 + - *496 - *17 - *19 responses: @@ -67589,7 +67895,7 @@ paths: application/json: schema: type: array - items: &654 + items: &659 title: Status description: The status of a commit. type: object @@ -67670,7 +67976,7 @@ paths: site_admin: false headers: Link: *39 - '301': *379 + '301': *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67698,8 +68004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -67728,20 +68034,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *495 - required: *496 + properties: *500 + required: *501 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &497 + properties: &502 url: type: string format: uri html_url: type: string format: uri - required: &498 + required: &503 - url - html_url nullable: true @@ -67749,32 +68055,32 @@ paths: title: License Simple description: License Simple type: object - properties: *152 - required: *153 + properties: *155 + required: *156 nullable: true contributing: title: Community Health File type: object - properties: *497 - required: *498 + properties: *502 + required: *503 nullable: true readme: title: Community Health File type: object - properties: *497 - required: *498 + properties: *502 + required: *503 nullable: true issue_template: title: Community Health File type: object - properties: *497 - required: *498 + properties: *502 + required: *503 nullable: true pull_request_template: title: Community Health File type: object - properties: *497 - required: *498 + properties: *502 + required: *503 nullable: true required: - code_of_conduct @@ -67901,8 +68207,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *365 - - *366 + - *370 + - *371 - *19 - *17 - name: basehead @@ -67945,8 +68251,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *484 - merge_base_commit: *484 + base_commit: *489 + merge_base_commit: *489 status: type: string enum: @@ -67966,10 +68272,10 @@ paths: example: 6 commits: type: array - items: *484 + items: *489 files: type: array - items: *499 + items: *504 required: - url - html_url @@ -68212,8 +68518,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *97 - '503': *129 + '500': *99 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68255,8 +68561,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *365 - - *366 + - *370 + - *371 - name: path description: path parameter in: path @@ -68397,7 +68703,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &500 + response-if-content-is-a-file: &505 summary: Response if content is a file value: type: file @@ -68529,7 +68835,7 @@ paths: - size - type - url - - &605 + - &610 title: Content File description: Content File type: object @@ -68730,7 +69036,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *500 + response-if-content-is-a-file: *505 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -68799,7 +69105,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *501 + '302': *506 '304': *37 x-github: githubCloudOnly: false @@ -68822,8 +69128,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *365 - - *366 + - *370 + - *371 - name: path description: path parameter in: path @@ -68916,7 +69222,7 @@ paths: description: Response content: application/json: - schema: &502 + schema: &507 title: File Commit description: File Commit type: object @@ -69068,7 +69374,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *507 examples: example-for-creating-a-file: value: @@ -69122,7 +69428,7 @@ paths: schema: oneOf: - *3 - - &531 + - &536 description: Repository rule violation was detected type: object properties: @@ -69143,7 +69449,7 @@ paths: items: type: object properties: - placeholder_id: &646 + placeholder_id: &651 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -69175,8 +69481,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *365 - - *366 + - *370 + - *371 - name: path description: path parameter in: path @@ -69237,7 +69543,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *507 examples: default: value: @@ -69271,8 +69577,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *92 - '503': *129 + '409': *94 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69292,8 +69598,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *365 - - *366 + - *370 + - *371 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -69416,22 +69722,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *365 - - *366 - - *242 - - *243 - - *244 + - *370 + - *371 - *245 + - *246 + - *247 + - *248 - 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 - - *246 - - *247 - - *248 - - *84 + - *249 + - *250 + - *251 + - *86 - name: page description: "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead." @@ -69448,10 +69754,10 @@ paths: schema: type: integer default: 30 - - *82 - - *83 - - *249 - - *250 + - *84 + - *85 + - *252 + - *253 responses: '200': description: Response @@ -69459,11 +69765,11 @@ paths: application/json: schema: type: array - items: &505 + items: &510 type: object description: A Dependabot alert. properties: - number: *98 + number: *100 state: type: string description: The state of the Dependabot alert. @@ -69478,7 +69784,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *99 + package: *101 manifest_path: type: string description: The full path to the dependency manifest file, @@ -69492,13 +69798,13 @@ paths: enum: - development - runtime - security_advisory: *503 - security_vulnerability: *102 - url: *103 - html_url: *104 - created_at: *105 - updated_at: *106 - dismissed_at: *107 + security_advisory: *508 + security_vulnerability: *104 + url: *105 + html_url: *106 + created_at: *107 + updated_at: *108 + dismissed_at: *109 dismissed_by: title: Simple User description: A GitHub user. @@ -69522,8 +69828,8 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *108 - auto_dismissed_at: *504 + fixed_at: *110 + auto_dismissed_at: *509 required: - number - state @@ -69753,9 +70059,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *365 - - *366 - - &506 + - *370 + - *371 + - &511 name: alert_number in: path description: |- @@ -69764,13 +70070,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *98 + schema: *100 responses: '200': description: Response content: application/json: - schema: *505 + schema: *510 examples: default: value: @@ -69883,9 +70189,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *365 - - *366 - - *506 + - *370 + - *371 + - *511 requestBody: required: true content: @@ -69930,7 +70236,7 @@ paths: description: Response content: application/json: - schema: *505 + schema: *510 examples: default: value: @@ -70036,7 +70342,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *92 + '409': *94 '422': *7 x-github: githubCloudOnly: false @@ -70059,8 +70365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -70078,7 +70384,7 @@ paths: type: integer secrets: type: array - items: &509 + items: &514 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -70131,16 +70437,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: *507 + schema: *512 examples: - default: *508 + default: *513 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70160,15 +70466,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *365 - - *366 - - *204 + - *370 + - *371 + - *207 responses: '200': description: Response content: application/json: - schema: *509 + schema: *514 examples: default: value: @@ -70194,9 +70500,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *365 - - *366 - - *204 + - *370 + - *371 + - *207 requestBody: required: true content: @@ -70224,7 +70530,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -70248,9 +70554,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *365 - - *366 - - *204 + - *370 + - *371 + - *207 responses: '204': description: Response @@ -70272,8 +70578,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: - - *365 - - *366 + - *370 + - *371 - 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 @@ -70433,8 +70739,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -70673,8 +70979,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: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -70749,7 +71055,7 @@ paths: - version - url additionalProperties: false - metadata: &510 + metadata: &515 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -70782,7 +71088,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *510 + metadata: *515 resolved: type: object description: A collection of resolved package dependencies. @@ -70795,7 +71101,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *510 + metadata: *515 relationship: type: string description: A notation of whether a dependency is requested @@ -70924,8 +71230,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *365 - - *366 + - *370 + - *371 - name: sha description: The SHA recorded at creation time. in: query @@ -70965,9 +71271,9 @@ paths: application/json: schema: type: array - items: *511 + items: *516 examples: - default: *512 + default: *517 headers: Link: *39 x-github: @@ -71033,8 +71339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -71115,7 +71421,7 @@ paths: description: Response content: application/json: - schema: *511 + schema: *516 examples: simple-example: summary: Simple example @@ -71188,9 +71494,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *365 - - *366 - - &513 + - *370 + - *371 + - &518 name: deployment_id description: deployment_id parameter in: path @@ -71202,7 +71508,7 @@ paths: description: Response content: application/json: - schema: *511 + schema: *516 examples: default: value: @@ -71267,9 +71573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *365 - - *366 - - *513 + - *370 + - *371 + - *518 responses: '204': description: Response @@ -71291,9 +71597,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *365 - - *366 - - *513 + - *370 + - *371 + - *518 - *17 - *19 responses: @@ -71303,7 +71609,7 @@ paths: application/json: schema: type: array - items: &514 + items: &519 title: Deployment Status description: The status of a deployment. type: object @@ -71394,8 +71700,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 required: - id - node_id @@ -71464,9 +71770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *365 - - *366 - - *513 + - *370 + - *371 + - *518 requestBody: required: true content: @@ -71541,9 +71847,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *519 examples: - default: &515 + default: &520 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -71599,9 +71905,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *365 - - *366 - - *513 + - *370 + - *371 + - *518 - name: status_id in: path required: true @@ -71612,9 +71918,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *519 examples: - default: *515 + default: *520 '404': *6 x-github: githubCloudOnly: false @@ -71639,8 +71945,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -71697,8 +72003,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -71715,7 +72021,7 @@ paths: type: integer environments: type: array - items: &517 + items: &522 title: Environment description: Details of a deployment environment type: object @@ -71767,7 +72073,7 @@ paths: type: type: string example: wait_timer - wait_timer: &519 + wait_timer: &524 type: integer example: 30 description: The amount of time to delay a job after @@ -71804,11 +72110,11 @@ paths: items: type: object properties: - type: *516 + type: *521 reviewer: anyOf: - *4 - - *281 + - *284 required: - id - node_id @@ -71828,7 +72134,7 @@ paths: - id - node_id - type - deployment_branch_policy: &520 + deployment_branch_policy: &525 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -71944,9 +72250,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *365 - - *366 - - &518 + - *370 + - *371 + - &523 name: environment_name in: path required: true @@ -71959,9 +72265,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *522 examples: - default: &521 + default: &526 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -72045,9 +72351,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *365 - - *366 - - *518 + - *370 + - *371 + - *523 requestBody: required: false content: @@ -72056,7 +72362,7 @@ paths: type: object nullable: true properties: - wait_timer: *519 + wait_timer: *524 prevent_self_review: type: boolean example: false @@ -72073,13 +72379,13 @@ paths: items: type: object properties: - type: *516 + type: *521 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *520 + deployment_branch_policy: *525 additionalProperties: false examples: default: @@ -72099,9 +72405,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *522 examples: - default: *521 + default: *526 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -72125,9 +72431,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *365 - - *366 - - *518 + - *370 + - *371 + - *523 responses: '204': description: Default response @@ -72152,9 +72458,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *365 - - *366 - - *518 + - *370 + - *371 + - *523 - *17 - *19 responses: @@ -72172,7 +72478,7 @@ paths: example: 2 branch_policies: type: array - items: &522 + items: &527 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -72229,9 +72535,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *365 - - *366 - - *518 + - *370 + - *371 + - *523 requestBody: required: true content: @@ -72277,9 +72583,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *527 examples: - example-wildcard: &523 + example-wildcard: &528 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -72321,10 +72627,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *365 - - *366 - - *518 - - &524 + - *370 + - *371 + - *523 + - &529 name: branch_policy_id in: path required: true @@ -72336,9 +72642,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *527 examples: - default: *523 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72357,10 +72663,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *365 - - *366 - - *518 - - *524 + - *370 + - *371 + - *523 + - *529 requestBody: required: true content: @@ -72388,9 +72694,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *527 examples: - default: *523 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72409,10 +72715,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *365 - - *366 - - *518 - - *524 + - *370 + - *371 + - *523 + - *529 responses: '204': description: Response @@ -72437,9 +72743,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: - - *518 - - *366 - - *365 + - *523 + - *371 + - *370 responses: '200': description: List of deployment protection rules @@ -72455,7 +72761,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &525 + items: &530 title: Deployment protection rule description: Deployment protection rule type: object @@ -72474,7 +72780,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &526 + app: &531 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -72573,9 +72879,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: - - *518 - - *366 - - *365 + - *523 + - *371 + - *370 requestBody: content: application/json: @@ -72596,9 +72902,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *525 + schema: *530 examples: - default: &527 + default: &532 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -72633,9 +72939,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: - - *518 - - *366 - - *365 + - *523 + - *371 + - *370 - *19 - *17 responses: @@ -72654,7 +72960,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *526 + items: *531 examples: default: value: @@ -72689,10 +72995,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: - - *365 - - *366 - - *518 - - &528 + - *370 + - *371 + - *523 + - &533 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -72704,9 +73010,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *530 examples: - default: *527 + default: *532 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72727,10 +73033,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: - - *518 - - *366 - - *365 - - *528 + - *523 + - *371 + - *370 + - *533 responses: '204': description: Response @@ -72756,9 +73062,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *365 - - *366 - - *518 + - *370 + - *371 + - *523 - *17 - *19 responses: @@ -72776,9 +73082,9 @@ paths: type: integer secrets: type: array - items: *402 + items: *407 examples: - default: *403 + default: *408 headers: Link: *39 x-github: @@ -72803,17 +73109,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *365 - - *366 - - *518 + - *370 + - *371 + - *523 responses: '200': description: Response content: application/json: - schema: *404 + schema: *409 examples: - default: *405 + default: *410 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72835,18 +73141,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *365 - - *366 - - *518 - - *204 + - *370 + - *371 + - *523 + - *207 responses: '200': description: Response content: application/json: - schema: *402 + schema: *407 examples: - default: *529 + default: *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72868,10 +73174,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *365 - - *366 - - *518 - - *204 + - *370 + - *371 + - *523 + - *207 requestBody: required: true content: @@ -72902,7 +73208,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -72928,10 +73234,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *365 - - *366 - - *518 - - *204 + - *370 + - *371 + - *523 + - *207 responses: '204': description: Default response @@ -72956,10 +73262,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *365 - - *366 - - *518 - - *389 + - *370 + - *371 + - *523 + - *394 - *19 responses: '200': @@ -72976,9 +73282,9 @@ paths: type: integer variables: type: array - items: *406 + items: *411 examples: - default: *407 + default: *412 headers: Link: *39 x-github: @@ -73001,9 +73307,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *365 - - *366 - - *518 + - *370 + - *371 + - *523 requestBody: required: true content: @@ -73030,7 +73336,7 @@ paths: description: Response content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -73055,18 +73361,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *365 - - *366 - - *518 - - *207 + - *370 + - *371 + - *523 + - *210 responses: '200': description: Response content: application/json: - schema: *406 + schema: *411 examples: - default: *530 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73087,10 +73393,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *365 - - *366 - - *207 - - *518 + - *370 + - *371 + - *210 + - *523 requestBody: required: true content: @@ -73132,10 +73438,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *365 - - *366 - - *207 - - *518 + - *370 + - *371 + - *210 + - *523 responses: '204': description: Response @@ -73157,8 +73463,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -73168,7 +73474,7 @@ paths: application/json: schema: type: array - items: *163 + items: *166 examples: 200-response: value: @@ -73235,8 +73541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *365 - - *366 + - *370 + - *371 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -73258,7 +73564,7 @@ paths: application/json: schema: type: array - items: *194 + items: *197 examples: default: value: @@ -73395,8 +73701,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: false content: @@ -73428,9 +73734,9 @@ paths: description: Response content: application/json: - schema: *378 + schema: *383 examples: - default: *380 + default: *385 '400': *14 '422': *15 '403': *29 @@ -73451,8 +73757,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -73503,7 +73809,7 @@ paths: schema: type: string '404': *6 - '409': *92 + '409': *94 '403': *29 '422': description: Validation failed @@ -73511,8 +73817,8 @@ paths: application/json: schema: oneOf: - - *177 - - *531 + - *180 + - *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73537,8 +73843,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *365 - - *366 + - *370 + - *371 - name: file_sha in: path required: true @@ -73589,7 +73895,7 @@ paths: '404': *6 '422': *15 '403': *29 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73637,8 +73943,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -73747,7 +74053,7 @@ paths: description: Response content: application/json: - schema: &532 + schema: &537 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -73911,7 +74217,7 @@ paths: type: string '422': *15 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73961,15 +74267,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *365 - - *366 - - *485 + - *370 + - *371 + - *490 responses: '200': description: Response content: application/json: - schema: *532 + schema: *537 examples: default: value: @@ -74000,7 +74306,7 @@ paths: payload: verified_at: '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74025,9 +74331,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *365 - - *366 - - &533 + - *370 + - *371 + - &538 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. @@ -74044,7 +74350,7 @@ paths: application/json: schema: type: array - items: &534 + items: &539 title: Git Reference description: Git references within a repository type: object @@ -74098,7 +74404,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: Link: *39 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74119,17 +74425,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *365 - - *366 - - *533 + - *370 + - *371 + - *538 responses: '200': description: Response content: application/json: - schema: *534 + schema: *539 examples: - default: &535 + default: &540 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -74139,7 +74445,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74158,8 +74464,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -74188,16 +74494,16 @@ paths: description: Response content: application/json: - schema: *534 + schema: *539 examples: - default: *535 + default: *540 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *15 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74216,9 +74522,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *365 - - *366 - - *533 + - *370 + - *371 + - *538 requestBody: required: true content: @@ -74247,11 +74553,11 @@ paths: description: Response content: application/json: - schema: *534 + schema: *539 examples: - default: *535 + default: *540 '422': *15 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74267,14 +74573,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *365 - - *366 - - *533 + - *370 + - *371 + - *538 responses: '204': description: Response '422': *15 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74322,8 +74628,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -74390,7 +74696,7 @@ paths: description: Response content: application/json: - schema: &537 + schema: &542 title: Git Tag description: Metadata for a Git tag type: object @@ -74441,7 +74747,7 @@ paths: - sha - type - url - verification: *536 + verification: *541 required: - sha - url @@ -74451,7 +74757,7 @@ paths: - tag - message examples: - default: &538 + default: &543 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -74478,7 +74784,7 @@ paths: schema: type: string '422': *15 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74524,8 +74830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *365 - - *366 + - *370 + - *371 - name: tag_sha in: path required: true @@ -74536,11 +74842,11 @@ paths: description: Response content: application/json: - schema: *537 + schema: *542 examples: - default: *538 + default: *543 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74562,8 +74868,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -74636,7 +74942,7 @@ paths: description: Response content: application/json: - schema: &539 + schema: &544 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -74725,7 +75031,7 @@ paths: '422': *15 '404': *6 '403': *29 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74748,8 +75054,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *365 - - *366 + - *370 + - *371 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -74772,7 +75078,7 @@ paths: description: Response content: application/json: - schema: *539 + schema: *544 examples: default-response: summary: Default response @@ -74813,7 +75119,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74831,8 +75137,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -74842,7 +75148,7 @@ paths: application/json: schema: type: array - items: &540 + items: &545 title: Webhook description: Webhooks for repositories. type: object @@ -74896,7 +75202,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &784 + last_response: &789 title: Hook Response type: object properties: @@ -74970,8 +75276,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: false content: @@ -75023,9 +75329,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *545 examples: - default: &541 + default: &546 value: type: Repository id: 12345678 @@ -75073,17 +75379,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *365 - - *366 - - *258 + - *370 + - *371 + - *261 responses: '200': description: Response content: application/json: - schema: *540 + schema: *545 examples: - default: *541 + default: *546 '404': *6 x-github: githubCloudOnly: false @@ -75103,9 +75409,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *365 - - *366 - - *258 + - *370 + - *371 + - *261 requestBody: required: true content: @@ -75150,9 +75456,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *545 examples: - default: *541 + default: *546 '422': *15 '404': *6 x-github: @@ -75173,9 +75479,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *365 - - *366 - - *258 + - *370 + - *371 + - *261 responses: '204': description: Response @@ -75199,9 +75505,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: - - *365 - - *366 - - *258 + - *370 + - *371 + - *261 responses: '200': description: Response @@ -75228,9 +75534,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: - - *365 - - *366 - - *258 + - *370 + - *371 + - *261 requestBody: required: false content: @@ -75274,11 +75580,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *365 - - *366 - - *258 + - *370 + - *371 + - *261 - *17 - - *259 + - *262 responses: '200': description: Response @@ -75286,9 +75592,9 @@ paths: application/json: schema: type: array - items: *260 + items: *263 examples: - default: *261 + default: *264 '400': *14 '422': *15 x-github: @@ -75307,18 +75613,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: - - *365 - - *366 - - *258 + - *370 + - *371 + - *261 - *16 responses: '200': description: Response content: application/json: - schema: *262 + schema: *265 examples: - default: *263 + default: *266 '400': *14 '422': *15 x-github: @@ -75337,12 +75643,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: - - *365 - - *366 - - *258 + - *370 + - *371 + - *261 - *16 responses: - '202': *93 + '202': *95 '400': *14 '422': *15 x-github: @@ -75362,9 +75668,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *365 - - *366 - - *258 + - *370 + - *371 + - *261 responses: '204': description: Response @@ -75389,9 +75695,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *365 - - *366 - - *258 + - *370 + - *371 + - *261 responses: '204': description: Response @@ -75449,14 +75755,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: &542 + schema: &547 title: Import description: A repository import from an external source. type: object @@ -75555,7 +75861,7 @@ paths: - html_url - authors_url examples: - default: &545 + default: &550 value: vcs: subversion use_lfs: true @@ -75571,7 +75877,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': &543 + '503': &548 description: Unavailable due to service under maintenance. content: application/json: @@ -75600,8 +75906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -75649,7 +75955,7 @@ paths: description: Response content: application/json: - schema: *542 + schema: *547 examples: default: value: @@ -75674,7 +75980,7 @@ paths: type: string '422': *15 '404': *6 - '503': *543 + '503': *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75702,8 +76008,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: false content: @@ -75752,7 +76058,7 @@ paths: description: Response content: application/json: - schema: *542 + schema: *547 examples: example-1: summary: Example 1 @@ -75800,7 +76106,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': *543 + '503': *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75823,12 +76129,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Response - '503': *543 + '503': *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75854,9 +76160,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *365 - - *366 - - &730 + - *370 + - *371 + - &735 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -75870,7 +76176,7 @@ paths: application/json: schema: type: array - items: &544 + items: &549 title: Porter Author description: Porter Author type: object @@ -75924,7 +76230,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': *543 + '503': *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75949,8 +76255,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *365 - - *366 + - *370 + - *371 - name: author_id in: path required: true @@ -75980,7 +76286,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *549 examples: default: value: @@ -75993,7 +76299,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *543 + '503': *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76017,8 +76323,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -76059,7 +76365,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *543 + '503': *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76087,8 +76393,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -76115,11 +76421,11 @@ paths: description: Response content: application/json: - schema: *542 + schema: *547 examples: - default: *545 + default: *550 '422': *15 - '503': *543 + '503': *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76142,8 +76448,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -76151,8 +76457,8 @@ paths: application/json: schema: *22 examples: - default: *546 - '301': *379 + default: *551 + '301': *384 '404': *6 x-github: githubCloudOnly: false @@ -76172,8 +76478,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -76181,12 +76487,12 @@ paths: application/json: schema: anyOf: - - *276 + - *279 - type: object properties: {} additionalProperties: false examples: - default: &548 + default: &553 value: limit: collaborators_only origin: repository @@ -76211,13 +76517,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: application/json: - schema: *547 + schema: *552 examples: default: summary: Example request body @@ -76229,9 +76535,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *279 examples: - default: *548 + default: *553 '409': description: Response x-github: @@ -76253,8 +76559,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Response @@ -76277,8 +76583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -76288,9 +76594,9 @@ paths: application/json: schema: type: array - items: *549 + items: *554 examples: - default: &723 + default: &728 value: - id: 1 repository: @@ -76421,9 +76727,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *365 - - *366 - - *280 + - *370 + - *371 + - *283 requestBody: required: false content: @@ -76452,7 +76758,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *554 examples: default: value: @@ -76583,9 +76889,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *365 - - *366 - - *280 + - *370 + - *371 + - *283 responses: '204': description: Response @@ -76616,8 +76922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *365 - - *366 + - *370 + - *371 - 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 @@ -76657,7 +76963,7 @@ paths: required: false schema: type: string - - *282 + - *285 - name: sort description: What to sort results by. in: query @@ -76669,8 +76975,8 @@ paths: - updated - comments default: created - - *84 - - *141 + - *86 + - *144 - *17 - *19 responses: @@ -76680,9 +76986,9 @@ paths: application/json: schema: type: array - items: *151 + items: *154 examples: - default: &560 + default: &565 value: - id: 1 node_id: MDU6SXNzdWUx @@ -76830,7 +77136,7 @@ paths: state_reason: completed headers: Link: *39 - '301': *379 + '301': *384 '422': *15 '404': *6 x-github: @@ -76859,8 +77165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -76935,9 +77241,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *154 examples: - default: &555 + default: &560 value: id: 1 node_id: MDU6SXNzdWUx @@ -77091,9 +77397,9 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *129 + '503': *132 '404': *6 - '410': *376 + '410': *381 x-github: triggersNotification: true githubCloudOnly: false @@ -77121,9 +77427,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *365 - - *366 - - *161 + - *370 + - *371 + - *164 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -77133,7 +77439,7 @@ paths: enum: - asc - desc - - *141 + - *144 - *17 - *19 responses: @@ -77143,9 +77449,9 @@ paths: application/json: schema: type: array - items: *550 + items: *555 examples: - default: &557 + default: &562 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -77203,17 +77509,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *365 - - *366 - - *150 + - *370 + - *371 + - *153 responses: '200': description: Response content: application/json: - schema: *550 + schema: *555 examples: - default: &551 + default: &556 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -77267,9 +77573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *365 - - *366 - - *150 + - *370 + - *371 + - *153 requestBody: required: true content: @@ -77291,9 +77597,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *555 examples: - default: *551 + default: *556 '422': *15 x-github: githubCloudOnly: false @@ -77311,9 +77617,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *365 - - *366 - - *150 + - *370 + - *371 + - *153 responses: '204': description: Response @@ -77333,9 +77639,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *365 - - *366 - - *150 + - *370 + - *371 + - *153 - 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. @@ -77361,9 +77667,9 @@ paths: application/json: schema: type: array - items: *354 + items: *359 examples: - default: *356 + default: *361 headers: Link: *39 '404': *6 @@ -77384,9 +77690,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *365 - - *366 - - *150 + - *370 + - *371 + - *153 requestBody: required: true content: @@ -77418,16 +77724,16 @@ paths: description: Reaction exists content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 '201': description: Reaction created content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 '422': *15 x-github: githubCloudOnly: false @@ -77449,10 +77755,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *365 - - *366 - - *150 - - *357 + - *370 + - *371 + - *153 + - *362 responses: '204': description: Response @@ -77472,8 +77778,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -77483,7 +77789,7 @@ paths: application/json: schema: type: array - items: &554 + items: &559 title: Issue Event description: Issue Event type: object @@ -77526,8 +77832,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *552 - required: *553 + properties: *557 + required: *558 nullable: true label: title: Issue Event Label @@ -77571,7 +77877,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *281 + requested_team: *284 dismissed_review: title: Issue Event Dismissed Review type: object @@ -77636,7 +77942,7 @@ paths: required: - from - to - author_association: *138 + author_association: *141 lock_reason: type: string nullable: true @@ -77649,8 +77955,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 required: - id - node_id @@ -77834,8 +78140,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *365 - - *366 + - *370 + - *371 - name: event_id in: path required: true @@ -77846,7 +78152,7 @@ paths: description: Response content: application/json: - schema: *554 + schema: *559 examples: default: value: @@ -78039,7 +78345,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *376 + '410': *381 '403': *29 x-github: githubCloudOnly: false @@ -78073,9 +78379,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *365 - - *366 - - &556 + - *370 + - *371 + - &561 name: issue_number description: The number that identifies the issue. in: path @@ -78087,12 +78393,12 @@ paths: description: Response content: application/json: - schema: *151 + schema: *154 examples: - default: *555 - '301': *379 + default: *560 + '301': *384 '404': *6 - '410': *376 + '410': *381 '304': *37 x-github: githubCloudOnly: false @@ -78117,9 +78423,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 requestBody: required: false content: @@ -78214,15 +78520,15 @@ paths: description: Response content: application/json: - schema: *151 + schema: *154 examples: - default: *555 + default: *560 '422': *15 - '503': *129 + '503': *132 '403': *29 - '301': *379 + '301': *384 '404': *6 - '410': *376 + '410': *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78240,9 +78546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 requestBody: required: false content: @@ -78268,9 +78574,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *154 examples: - default: *555 + default: *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78286,9 +78592,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 requestBody: content: application/json: @@ -78313,9 +78619,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *154 examples: - default: *555 + default: *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78337,9 +78643,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: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 - name: assignee in: path required: true @@ -78379,10 +78685,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *365 - - *366 - - *556 - - *141 + - *370 + - *371 + - *561 + - *144 - *17 - *19 responses: @@ -78392,13 +78698,13 @@ paths: application/json: schema: type: array - items: *550 + items: *555 examples: - default: *557 + default: *562 headers: Link: *39 '404': *6 - '410': *376 + '410': *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78427,9 +78733,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 requestBody: required: true content: @@ -78451,16 +78757,16 @@ paths: description: Response content: application/json: - schema: *550 + schema: *555 examples: - default: *551 + default: *556 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *376 + '410': *381 '422': *15 '404': *6 x-github: @@ -78480,9 +78786,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 - *17 - *19 responses: @@ -78496,7 +78802,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &561 + - &566 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -78527,8 +78833,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 label: type: object properties: @@ -78550,7 +78856,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &562 + - &567 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -78581,8 +78887,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 label: type: object properties: @@ -78670,8 +78976,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 assignee: *4 assigner: *4 required: @@ -78686,7 +78992,7 @@ paths: - performed_via_github_app - assignee - assigner - - &563 + - &568 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -78717,8 +79023,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 milestone: type: object properties: @@ -78737,7 +79043,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &564 + - &569 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -78768,8 +79074,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 milestone: type: object properties: @@ -78788,7 +79094,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &565 + - &570 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -78819,8 +79125,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 rename: type: object properties: @@ -78842,7 +79148,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &566 + - &571 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -78873,10 +79179,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 review_requester: *4 - requested_team: *281 + requested_team: *284 requested_reviewer: *4 required: - review_requester @@ -78889,7 +79195,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &567 + - &572 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -78920,10 +79226,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 review_requester: *4 - requested_team: *281 + requested_team: *284 requested_reviewer: *4 required: - review_requester @@ -78936,7 +79242,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &568 + - &573 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -78967,8 +79273,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 dismissed_review: type: object properties: @@ -78996,7 +79302,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &569 + - &574 title: Locked Issue Event description: Locked Issue Event type: object @@ -79027,8 +79333,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 lock_reason: type: string example: '"off-topic"' @@ -79044,7 +79350,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &570 + - &575 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -79075,8 +79381,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 project_card: type: object properties: @@ -79110,7 +79416,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &571 + - &576 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -79141,8 +79447,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 project_card: type: object properties: @@ -79176,7 +79482,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &572 + - &577 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -79207,8 +79513,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 project_card: type: object properties: @@ -79242,7 +79548,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &573 + - &578 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -79333,7 +79639,7 @@ paths: color: red headers: Link: *39 - '410': *376 + '410': *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79350,9 +79656,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 - *17 - *19 responses: @@ -79362,7 +79668,7 @@ paths: application/json: schema: type: array - items: &558 + items: &563 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -79409,7 +79715,7 @@ paths: - color - default examples: - default: &559 + default: &564 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -79427,9 +79733,9 @@ paths: default: false headers: Link: *39 - '301': *379 + '301': *384 '404': *6 - '410': *376 + '410': *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79446,9 +79752,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 requestBody: required: false content: @@ -79507,12 +79813,12 @@ paths: application/json: schema: type: array - items: *558 + items: *563 examples: - default: *559 - '301': *379 + default: *564 + '301': *384 '404': *6 - '410': *376 + '410': *381 '422': *15 x-github: githubCloudOnly: false @@ -79529,9 +79835,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 requestBody: required: false content: @@ -79591,12 +79897,12 @@ paths: application/json: schema: type: array - items: *558 + items: *563 examples: - default: *559 - '301': *379 + default: *564 + '301': *384 '404': *6 - '410': *376 + '410': *381 '422': *15 x-github: githubCloudOnly: false @@ -79613,15 +79919,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 responses: '204': description: Response - '301': *379 + '301': *384 '404': *6 - '410': *376 + '410': *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79640,9 +79946,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 - name: name in: path required: true @@ -79655,7 +79961,7 @@ paths: application/json: schema: type: array - items: *558 + items: *563 examples: default: value: @@ -79666,9 +79972,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *379 + '301': *384 '404': *6 - '410': *376 + '410': *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79688,9 +79994,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 requestBody: required: false content: @@ -79718,7 +80024,7 @@ paths: '204': description: Response '403': *29 - '410': *376 + '410': *381 '404': *6 '422': *15 x-github: @@ -79736,9 +80042,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 responses: '204': description: Response @@ -79760,9 +80066,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 - 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. @@ -79788,13 +80094,13 @@ paths: application/json: schema: type: array - items: *354 + items: *359 examples: - default: *356 + default: *361 headers: Link: *39 '404': *6 - '410': *376 + '410': *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79812,9 +80118,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 requestBody: required: true content: @@ -79846,20 +80152,20 @@ paths: description: Response content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 '201': description: Response content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 '422': *15 x-github: githubCloudOnly: false - enabledForGitHubApps: false + enabledForGitHubApps: true category: reactions subcategory: reactions "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": @@ -79877,10 +80183,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *365 - - *366 - - *556 - - *357 + - *370 + - *371 + - *561 + - *362 responses: '204': description: Response @@ -79909,9 +80215,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 requestBody: required: true content: @@ -79933,9 +80239,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *154 examples: - default: *555 + default: *560 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -79968,9 +80274,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 - *17 - *19 responses: @@ -79980,13 +80286,13 @@ paths: application/json: schema: type: array - items: *151 + items: *154 examples: - default: *560 + default: *565 headers: Link: *39 '404': *6 - '410': *376 + '410': *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80014,9 +80320,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 requestBody: required: true content: @@ -80043,16 +80349,16 @@ paths: description: Response content: application/json: - schema: *151 + schema: *154 examples: - default: *555 + default: *560 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *376 + '410': *381 '422': *15 '404': *6 x-github: @@ -80072,9 +80378,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 requestBody: required: true content: @@ -80105,13 +80411,13 @@ paths: description: Response content: application/json: - schema: *151 + schema: *154 examples: - default: *555 + default: *560 '403': *29 '404': *6 '422': *7 - '503': *129 + '503': *132 x-github: triggersNotification: true githubCloudOnly: false @@ -80129,9 +80435,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *365 - - *366 - - *556 + - *370 + - *371 + - *561 - *17 - *19 responses: @@ -80146,11 +80452,6 @@ paths: description: Timeline Event type: object anyOf: - - *561 - - *562 - - *563 - - *564 - - *565 - *566 - *567 - *568 @@ -80159,6 +80460,11 @@ paths: - *571 - *572 - *573 + - *574 + - *575 + - *576 + - *577 + - *578 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -80201,7 +80507,7 @@ paths: issue_url: type: string format: uri - author_association: *138 + author_association: *141 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -80211,9 +80517,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 - reactions: *139 + properties: *139 + required: *140 + reactions: *142 required: - event - actor @@ -80244,7 +80550,7 @@ paths: properties: type: type: string - issue: *151 + issue: *154 required: - event - created_at @@ -80440,7 +80746,7 @@ paths: type: string body_text: type: string - author_association: *138 + author_association: *141 required: - event - id @@ -80463,7 +80769,7 @@ paths: type: string comments: type: array - items: &594 + items: &599 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -80552,7 +80858,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *138 + author_association: *141 _links: type: object properties: @@ -80636,7 +80942,7 @@ paths: enum: - line - file - reactions: *139 + reactions: *142 body_html: type: string example: '"

comment body

"' @@ -80672,7 +80978,7 @@ paths: type: string comments: type: array - items: *483 + items: *488 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -80703,8 +81009,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 assignee: *4 required: - id @@ -80747,8 +81053,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 assignee: *4 required: - id @@ -80791,8 +81097,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 state_reason: type: string nullable: true @@ -80961,7 +81267,7 @@ paths: headers: Link: *39 '404': *6 - '410': *376 + '410': *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80978,8 +81284,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -80989,7 +81295,7 @@ paths: application/json: schema: type: array - items: &574 + items: &579 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -81054,8 +81360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -81091,9 +81397,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *579 examples: - default: &575 + default: &580 value: id: 1 key: ssh-rsa AAA... @@ -81127,9 +81433,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *365 - - *366 - - &576 + - *370 + - *371 + - &581 name: key_id description: The unique identifier of the key. in: path @@ -81141,9 +81447,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *579 examples: - default: *575 + default: *580 '404': *6 x-github: githubCloudOnly: false @@ -81161,9 +81467,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *365 - - *366 - - *576 + - *370 + - *371 + - *581 responses: '204': description: Response @@ -81183,8 +81489,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -81194,9 +81500,9 @@ paths: application/json: schema: type: array - items: *558 + items: *563 examples: - default: *559 + default: *564 headers: Link: *39 '404': *6 @@ -81217,8 +81523,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -81254,9 +81560,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *563 examples: - default: &577 + default: &582 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -81288,8 +81594,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *365 - - *366 + - *370 + - *371 - name: name in: path required: true @@ -81300,9 +81606,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *563 examples: - default: *577 + default: *582 '404': *6 x-github: githubCloudOnly: false @@ -81319,8 +81625,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *365 - - *366 + - *370 + - *371 - name: name in: path required: true @@ -81359,7 +81665,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *563 examples: default: value: @@ -81385,8 +81691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *365 - - *366 + - *370 + - *371 - name: name in: path required: true @@ -81412,8 +81718,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -81449,10 +81755,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *365 - - *366 + - *370 + - *371 responses: - '202': *93 + '202': *95 '403': description: |- We will return a 403 with one of the following messages: @@ -81478,8 +81784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Response @@ -81505,9 +81811,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *365 - - *366 - - *459 + - *370 + - *371 + - *464 responses: '200': description: Response @@ -81569,8 +81875,8 @@ paths: title: License Simple description: License Simple type: object - properties: *152 - required: *153 + properties: *155 + required: *156 nullable: true required: - _links @@ -81652,8 +81958,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: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -81718,8 +82024,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -81753,9 +82059,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *484 + schema: *489 examples: - default: *578 + default: *583 '204': description: Response when already merged '404': @@ -81780,8 +82086,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *365 - - *366 + - *370 + - *371 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -81822,12 +82128,12 @@ paths: application/json: schema: type: array - items: &579 + items: &584 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *488 - required: *489 + properties: *493 + required: *494 examples: default: value: @@ -81883,8 +82189,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -81924,9 +82230,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *584 examples: - default: &580 + default: &585 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -81985,9 +82291,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *365 - - *366 - - &581 + - *370 + - *371 + - &586 name: milestone_number description: The number that identifies the milestone. in: path @@ -81999,9 +82305,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *584 examples: - default: *580 + default: *585 '404': *6 x-github: githubCloudOnly: false @@ -82018,9 +82324,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *365 - - *366 - - *581 + - *370 + - *371 + - *586 requestBody: required: false content: @@ -82058,9 +82364,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *584 examples: - default: *580 + default: *585 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82076,9 +82382,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *365 - - *366 - - *581 + - *370 + - *371 + - *586 responses: '204': description: Response @@ -82099,9 +82405,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: - - *365 - - *366 - - *581 + - *370 + - *371 + - *586 - *17 - *19 responses: @@ -82111,9 +82417,9 @@ paths: application/json: schema: type: array - items: *558 + items: *563 examples: - default: *559 + default: *564 headers: Link: *39 x-github: @@ -82132,12 +82438,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: - - *365 - - *366 - - *582 - - *583 - - *141 - - *584 + - *370 + - *371 + - *587 + - *588 + - *144 + - *589 - *17 - *19 responses: @@ -82147,9 +82453,9 @@ paths: application/json: schema: type: array - items: *164 + items: *167 examples: - default: *585 + default: *590 headers: Link: *39 x-github: @@ -82173,8 +82479,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: false content: @@ -82232,14 +82538,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: &586 + schema: &591 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -82364,7 +82670,7 @@ paths: - custom_404 - public examples: - default: &587 + default: &592 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -82405,8 +82711,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -82460,11 +82766,11 @@ paths: description: Response content: application/json: - schema: *586 + schema: *591 examples: - default: *587 + default: *592 '422': *15 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82485,8 +82791,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: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -82572,7 +82878,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82593,14 +82899,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Response '422': *15 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82620,8 +82926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -82631,7 +82937,7 @@ paths: application/json: schema: type: array - items: &588 + items: &593 title: Page Build description: Page Build type: object @@ -82725,8 +83031,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *365 - - *366 + - *370 + - *371 responses: '201': description: Response @@ -82771,16 +83077,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: *588 + schema: *593 examples: - default: &589 + default: &594 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -82828,8 +83134,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *365 - - *366 + - *370 + - *371 - name: build_id in: path required: true @@ -82840,9 +83146,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *593 examples: - default: *589 + default: *594 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82862,8 +83168,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -82968,9 +83274,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: - - *365 - - *366 - - &590 + - *370 + - *371 + - &595 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -83028,11 +83334,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *365 - - *366 - - *590 + - *370 + - *371 + - *595 responses: - '204': *116 + '204': *118 '404': *6 x-github: githubCloudOnly: false @@ -83057,8 +83363,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -83289,7 +83595,7 @@ paths: description: Empty response content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -83316,8 +83622,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Private vulnerability reporting status @@ -83354,10 +83660,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: - - *365 - - *366 + - *370 + - *371 responses: - '204': *116 + '204': *118 '422': *14 x-github: githubCloudOnly: false @@ -83376,10 +83682,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: - - *365 - - *366 + - *370 + - *371 responses: - '204': *116 + '204': *118 '422': *14 x-github: githubCloudOnly: false @@ -83400,8 +83706,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *365 - - *366 + - *370 + - *371 - name: state description: Indicates the state of the projects to return. in: query @@ -83422,7 +83728,7 @@ paths: application/json: schema: type: array - items: *312 + items: *315 examples: default: value: @@ -83462,7 +83768,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *376 + '410': *381 '422': *7 x-github: githubCloudOnly: false @@ -83485,8 +83791,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -83512,13 +83818,13 @@ paths: description: Response content: application/json: - schema: *312 + schema: *315 examples: - default: *375 + default: *380 '401': *25 '403': *29 '404': *6 - '410': *376 + '410': *381 '422': *7 x-github: githubCloudOnly: false @@ -83541,8 +83847,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -83550,7 +83856,7 @@ paths: application/json: schema: type: array - items: *314 + items: *317 examples: default: value: @@ -83581,8 +83887,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: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -83594,7 +83900,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *314 + items: *317 required: - properties examples: @@ -83644,8 +83950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *365 - - *366 + - *370 + - *371 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -83705,9 +84011,9 @@ paths: application/json: schema: type: array - items: *591 + items: *596 examples: - default: *592 + default: *597 headers: Link: *39 '304': *37 @@ -83739,8 +84045,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -83805,7 +84111,7 @@ paths: description: Response content: application/json: - schema: &596 + schema: &601 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -83916,8 +84222,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *488 - required: *489 + properties: *493 + required: *494 nullable: true active_lock_reason: type: string @@ -83962,7 +84268,7 @@ paths: nullable: true requested_teams: type: array - items: *333 + items: *338 nullable: true head: type: object @@ -84001,14 +84307,14 @@ paths: _links: type: object properties: - comments: *490 - commits: *490 - statuses: *490 - html: *490 - issue: *490 - review_comments: *490 - review_comment: *490 - self: *490 + comments: *495 + commits: *495 + statuses: *495 + html: *495 + issue: *495 + review_comments: *495 + review_comment: *495 + self: *495 required: - comments - commits @@ -84018,8 +84324,8 @@ paths: - review_comments - review_comment - self - author_association: *138 - auto_merge: *593 + author_association: *141 + auto_merge: *598 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -84111,7 +84417,7 @@ paths: - merged_by - review_comments examples: - default: &597 + default: &602 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -84638,8 +84944,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *365 - - *366 + - *370 + - *371 - name: sort in: query required: false @@ -84658,7 +84964,7 @@ paths: enum: - asc - desc - - *141 + - *144 - *17 - *19 responses: @@ -84668,9 +84974,9 @@ paths: application/json: schema: type: array - items: *594 + items: *599 examples: - default: &599 + default: &604 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84747,17 +85053,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: - - *365 - - *366 - - *150 + - *370 + - *371 + - *153 responses: '200': description: Response content: application/json: - schema: *594 + schema: *599 examples: - default: &595 + default: &600 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84832,9 +85138,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: - - *365 - - *366 - - *150 + - *370 + - *371 + - *153 requestBody: required: true content: @@ -84856,9 +85162,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *599 examples: - default: *595 + default: *600 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84874,9 +85180,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: - - *365 - - *366 - - *150 + - *370 + - *371 + - *153 responses: '204': description: Response @@ -84897,9 +85203,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: - - *365 - - *366 - - *150 + - *370 + - *371 + - *153 - 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. @@ -84925,9 +85231,9 @@ paths: application/json: schema: type: array - items: *354 + items: *359 examples: - default: *356 + default: *361 headers: Link: *39 '404': *6 @@ -84948,9 +85254,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: - - *365 - - *366 - - *150 + - *370 + - *371 + - *153 requestBody: required: true content: @@ -84982,16 +85288,16 @@ paths: description: Reaction exists content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 '201': description: Reaction created content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 '422': *15 x-github: githubCloudOnly: false @@ -85013,10 +85319,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *365 - - *366 - - *150 - - *357 + - *370 + - *371 + - *153 + - *362 responses: '204': description: Response @@ -85059,9 +85365,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *365 - - *366 - - &598 + - *370 + - *371 + - &603 name: pull_number description: The number that identifies the pull request. in: path @@ -85074,9 +85380,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *596 + schema: *601 examples: - default: *597 + default: *602 '304': *37 '404': *6 '406': @@ -85084,8 +85390,8 @@ paths: content: application/json: schema: *3 - '500': *97 - '503': *129 + '500': *99 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85111,9 +85417,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *365 - - *366 - - *598 + - *370 + - *371 + - *603 requestBody: required: false content: @@ -85155,9 +85461,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *601 examples: - default: *597 + default: *602 '422': *15 '403': *29 x-github: @@ -85179,9 +85485,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: - - *365 - - *366 - - *598 + - *370 + - *371 + - *603 requestBody: required: true content: @@ -85241,21 +85547,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *285 + schema: *288 examples: - default: *473 + default: *478 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *285 + schema: *288 examples: - default: *473 + default: *478 '401': *25 '403': *29 '404': *6 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -85281,10 +85587,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: - - *365 - - *366 - - *598 - - *161 + - *370 + - *371 + - *603 + - *164 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -85294,7 +85600,7 @@ paths: enum: - asc - desc - - *141 + - *144 - *17 - *19 responses: @@ -85304,9 +85610,9 @@ paths: application/json: schema: type: array - items: *594 + items: *599 examples: - default: *599 + default: *604 headers: Link: *39 x-github: @@ -85339,9 +85645,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: - - *365 - - *366 - - *598 + - *370 + - *371 + - *603 requestBody: required: true content: @@ -85446,7 +85752,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *599 examples: example-for-a-multi-line-comment: value: @@ -85534,10 +85840,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: - - *365 - - *366 - - *598 - - *150 + - *370 + - *371 + - *603 + - *153 requestBody: required: true content: @@ -85559,7 +85865,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *599 examples: default: value: @@ -85645,9 +85951,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *365 - - *366 - - *598 + - *370 + - *371 + - *603 - *17 - *19 responses: @@ -85657,9 +85963,9 @@ paths: application/json: schema: type: array - items: *484 + items: *489 examples: - default: *600 + default: *605 headers: Link: *39 x-github: @@ -85689,9 +85995,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *365 - - *366 - - *598 + - *370 + - *371 + - *603 - *17 - *19 responses: @@ -85701,7 +86007,7 @@ paths: application/json: schema: type: array - items: *499 + items: *504 examples: default: value: @@ -85719,8 +86025,8 @@ paths: headers: Link: *39 '422': *15 - '500': *97 - '503': *129 + '500': *99 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85739,9 +86045,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: - - *365 - - *366 - - *598 + - *370 + - *371 + - *603 responses: '204': description: Response if pull request has been merged @@ -85764,9 +86070,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *365 - - *366 - - *598 + - *370 + - *371 + - *603 requestBody: required: false content: @@ -85877,9 +86183,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: - - *365 - - *366 - - *598 + - *370 + - *371 + - *603 responses: '200': description: Response @@ -85895,7 +86201,7 @@ paths: items: *4 teams: type: array - items: *281 + items: *284 required: - users - teams @@ -85954,9 +86260,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: - - *365 - - *366 - - *598 + - *370 + - *371 + - *603 requestBody: required: false content: @@ -85993,7 +86299,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *596 examples: default: value: @@ -86529,9 +86835,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: - - *365 - - *366 - - *598 + - *370 + - *371 + - *603 requestBody: required: true content: @@ -86565,7 +86871,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *596 examples: default: value: @@ -87070,9 +87376,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *365 - - *366 - - *598 + - *370 + - *371 + - *603 - *17 - *19 responses: @@ -87082,7 +87388,7 @@ paths: application/json: schema: type: array - items: &601 + items: &606 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -87151,7 +87457,7 @@ paths: type: string body_text: type: string - author_association: *138 + author_association: *141 required: - id - node_id @@ -87233,9 +87539,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: - - *365 - - *366 - - *598 + - *370 + - *371 + - *603 requestBody: required: false content: @@ -87321,9 +87627,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *606 examples: - default: &603 + default: &608 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -87386,10 +87692,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: - - *365 - - *366 - - *598 - - &602 + - *370 + - *371 + - *603 + - &607 name: review_id description: The unique identifier of the review. in: path @@ -87401,9 +87707,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *606 examples: - default: &604 + default: &609 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -87462,10 +87768,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: - - *365 - - *366 - - *598 - - *602 + - *370 + - *371 + - *603 + - *607 requestBody: required: true content: @@ -87488,7 +87794,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *606 examples: default: value: @@ -87550,18 +87856,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: - - *365 - - *366 - - *598 - - *602 + - *370 + - *371 + - *603 + - *607 responses: '200': description: Response content: application/json: - schema: *601 + schema: *606 examples: - default: *603 + default: *608 '422': *7 '404': *6 x-github: @@ -87588,10 +87894,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: - - *365 - - *366 - - *598 - - *602 + - *370 + - *371 + - *603 + - *607 - *17 - *19 responses: @@ -87670,13 +87976,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *138 + author_association: *141 _links: type: object properties: - self: *490 - html: *490 - pull_request: *490 + self: *495 + html: *495 + pull_request: *495 required: - self - html @@ -87685,7 +87991,7 @@ paths: type: string body_html: type: string - reactions: *139 + reactions: *142 side: description: The side of the first line of the range for a multi-line comment. @@ -87819,10 +88125,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: - - *365 - - *366 - - *598 - - *602 + - *370 + - *371 + - *603 + - *607 requestBody: required: true content: @@ -87850,7 +88156,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *606 examples: default: value: @@ -87913,10 +88219,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: - - *365 - - *366 - - *598 - - *602 + - *370 + - *371 + - *603 + - *607 requestBody: required: true content: @@ -87951,9 +88257,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *606 examples: - default: *604 + default: *609 '404': *6 '422': *7 '403': *29 @@ -87975,9 +88281,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *365 - - *366 - - *598 + - *370 + - *371 + - *603 requestBody: required: false content: @@ -88040,8 +88346,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *365 - - *366 + - *370 + - *371 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -88054,9 +88360,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *610 examples: - default: &606 + default: &611 value: type: file encoding: base64 @@ -88098,8 +88404,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: - - *365 - - *366 + - *370 + - *371 - name: dir description: The alternate path to look for a README file in: path @@ -88119,9 +88425,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *610 examples: - default: *606 + default: *611 '404': *6 '422': *15 x-github: @@ -88143,8 +88449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -88154,7 +88460,7 @@ paths: application/json: schema: type: array - items: &607 + items: &612 title: Release description: A release. type: object @@ -88217,7 +88523,7 @@ paths: author: *4 assets: type: array - items: &608 + items: &613 title: Release Asset description: Data related to a release. type: object @@ -88288,7 +88594,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *139 + reactions: *142 required: - assets_url - upload_url @@ -88398,8 +88704,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -88475,9 +88781,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *612 examples: - default: &611 + default: &616 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -88580,9 +88886,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *365 - - *366 - - &609 + - *370 + - *371 + - &614 name: asset_id description: The unique identifier of the asset. in: path @@ -88594,9 +88900,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *613 examples: - default: &610 + default: &615 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 @@ -88630,7 +88936,7 @@ paths: type: User site_admin: false '404': *6 - '302': *501 + '302': *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88646,9 +88952,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *365 - - *366 - - *609 + - *370 + - *371 + - *614 requestBody: required: false content: @@ -88676,9 +88982,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *613 examples: - default: *610 + default: *615 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88694,9 +89000,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *365 - - *366 - - *609 + - *370 + - *371 + - *614 responses: '204': description: Response @@ -88720,8 +89026,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: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -88806,16 +89112,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: *607 + schema: *612 examples: - default: *611 + default: *616 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88832,8 +89138,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *365 - - *366 + - *370 + - *371 - name: tag description: tag parameter in: path @@ -88846,9 +89152,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *612 examples: - default: *611 + default: *616 '404': *6 x-github: githubCloudOnly: false @@ -88870,9 +89176,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *365 - - *366 - - &612 + - *370 + - *371 + - &617 name: release_id description: The unique identifier of the release. in: path @@ -88886,9 +89192,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: *607 + schema: *612 examples: - default: *611 + default: *616 '401': description: Unauthorized x-github: @@ -88906,9 +89212,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *365 - - *366 - - *612 + - *370 + - *371 + - *617 requestBody: required: false content: @@ -88972,9 +89278,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *612 examples: - default: *611 + default: *616 '404': description: Not Found if the discussion category name is invalid content: @@ -88995,9 +89301,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *365 - - *366 - - *612 + - *370 + - *371 + - *617 responses: '204': description: Response @@ -89017,9 +89323,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *365 - - *366 - - *612 + - *370 + - *371 + - *617 - *17 - *19 responses: @@ -89029,7 +89335,7 @@ paths: application/json: schema: type: array - items: *608 + items: *613 examples: default: value: @@ -89110,9 +89416,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: - - *365 - - *366 - - *612 + - *370 + - *371 + - *617 - name: name in: query required: true @@ -89138,7 +89444,7 @@ paths: description: Response for successful upload content: application/json: - schema: *608 + schema: *613 examples: response-for-successful-upload: value: @@ -89192,9 +89498,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *365 - - *366 - - *612 + - *370 + - *371 + - *617 - 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. @@ -89218,9 +89524,9 @@ paths: application/json: schema: type: array - items: *354 + items: *359 examples: - default: *356 + default: *361 headers: Link: *39 '404': *6 @@ -89241,9 +89547,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *365 - - *366 - - *612 + - *370 + - *371 + - *617 requestBody: required: true content: @@ -89273,16 +89579,16 @@ paths: description: Reaction exists content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 '201': description: Reaction created content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 '422': *15 x-github: githubCloudOnly: false @@ -89304,10 +89610,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *365 - - *366 - - *612 - - *357 + - *370 + - *371 + - *617 + - *362 responses: '204': description: Response @@ -89331,9 +89637,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *365 - - *366 - - *424 + - *370 + - *371 + - *429 - *17 - *19 responses: @@ -89349,8 +89655,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *613 - - &615 + - *618 + - &620 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -89369,54 +89675,54 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *614 - - *615 - - allOf: - - *616 - - *615 - - allOf: - - *617 - - *615 - - allOf: - - *618 - - *615 - allOf: - *619 - - *615 - - allOf: - *620 - - *615 - allOf: - *621 - - *615 + - *620 - allOf: - *622 - - *615 + - *620 - allOf: - *623 - - *615 + - *620 - allOf: - *624 - - *615 + - *620 - allOf: - *625 - - *615 + - *620 - allOf: - *626 - - *615 + - *620 - allOf: - *627 - - *615 + - *620 - allOf: - *628 - - *615 + - *620 - allOf: - *629 - - *615 + - *620 - allOf: - *630 - - *615 + - *620 + - allOf: + - *631 + - *620 + - allOf: + - *632 + - *620 + - allOf: + - *633 + - *620 + - allOf: + - *634 + - *620 + - allOf: + - *635 + - *620 examples: default: value: @@ -89455,8 +89761,8 @@ paths: category: repos subcategory: rules parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 - name: includes_parents @@ -89467,7 +89773,7 @@ paths: schema: type: boolean default: true - - *631 + - *636 responses: '200': description: Response @@ -89475,7 +89781,7 @@ paths: application/json: schema: type: array - items: *126 + items: *128 examples: default: value: @@ -89506,7 +89812,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *97 + '500': *99 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -89522,8 +89828,8 @@ paths: category: repos subcategory: rules parameters: - - *365 - - *366 + - *370 + - *371 requestBody: description: Request body required: true @@ -89543,16 +89849,16 @@ paths: - tag - push default: branch - enforcement: *123 + enforcement: *125 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *124 - conditions: *119 + items: *126 + conditions: *121 rules: type: array description: An array of rules within the ruleset. - items: *125 + items: *127 required: - name - enforcement @@ -89583,9 +89889,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *128 examples: - default: &640 + default: &645 value: id: 42 name: super cool ruleset @@ -89618,7 +89924,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *97 + '500': *99 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -89632,12 +89938,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *365 - - *366 - - *632 - - *219 - - *633 - - *634 + - *370 + - *371 + - *637 + - *222 + - *638 + - *639 - *17 - *19 responses: @@ -89645,11 +89951,11 @@ paths: description: Response content: application/json: - schema: *635 + schema: *640 examples: - default: *636 + default: *641 '404': *6 - '500': *97 + '500': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89668,19 +89974,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *365 - - *366 - - *637 + - *370 + - *371 + - *642 responses: '200': description: Response content: application/json: - schema: *638 + schema: *643 examples: - default: *639 + default: *644 '404': *6 - '500': *97 + '500': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89706,8 +90012,8 @@ paths: category: repos subcategory: rules parameters: - - *365 - - *366 + - *370 + - *371 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89727,11 +90033,11 @@ paths: description: Response content: application/json: - schema: *126 + schema: *128 examples: - default: *640 + default: *645 '404': *6 - '500': *97 + '500': *99 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -89747,8 +90053,8 @@ paths: category: repos subcategory: rules parameters: - - *365 - - *366 + - *370 + - *371 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89773,16 +90079,16 @@ paths: - branch - tag - push - enforcement: *123 + enforcement: *125 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *124 - conditions: *119 + items: *126 + conditions: *121 rules: description: An array of rules within the ruleset. type: array - items: *125 + items: *127 examples: default: value: @@ -89810,11 +90116,11 @@ paths: description: Response content: application/json: - schema: *126 + schema: *128 examples: - default: *640 + default: *645 '404': *6 - '500': *97 + '500': *99 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -89830,8 +90136,8 @@ paths: category: repos subcategory: rules parameters: - - *365 - - *366 + - *370 + - *371 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89842,7 +90148,114 @@ paths: '204': description: Response '404': *6 - '500': *97 + '500': *99 + "/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: + - *370 + - *371 + - *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: *131 + examples: + default: *326 + '404': *6 + '500': *99 + 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: + - *370 + - *371 + - 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: *327 + 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': *99 + 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 @@ -89859,20 +90272,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: - - *365 - - *366 - - *323 - - *324 - - *325 - - *326 - - *84 - - *19 - - *17 - - *641 - - *642 - - *327 + - *370 + - *371 - *328 - *329 + - *330 + - *331 + - *86 + - *19 + - *17 + - *646 + - *647 + - *332 + - *333 + - *334 responses: '200': description: Response @@ -89880,11 +90293,11 @@ paths: application/json: schema: type: array - items: &645 + items: &650 type: object properties: - number: *98 - created_at: *105 + number: *100 + created_at: *107 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -89892,15 +90305,15 @@ paths: format: date-time readOnly: true nullable: true - url: *103 - html_url: *104 + url: *105 + html_url: *106 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *643 - resolution: *644 + state: *648 + resolution: *649 resolved_at: type: string format: date-time @@ -90091,7 +90504,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90113,15 +90526,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: - - *365 - - *366 - - *453 + - *370 + - *371 + - *458 responses: '200': description: Response content: application/json: - schema: *645 + schema: *650 examples: default: value: @@ -90152,7 +90565,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90173,9 +90586,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: - - *365 - - *366 - - *453 + - *370 + - *371 + - *458 requestBody: required: true content: @@ -90183,8 +90596,8 @@ paths: schema: type: object properties: - state: *643 - resolution: *644 + state: *648 + resolution: *649 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -90202,7 +90615,7 @@ paths: description: Response content: application/json: - schema: *645 + schema: *650 examples: default: value: @@ -90255,7 +90668,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *129 + '503': *132 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -90277,9 +90690,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: - - *365 - - *366 - - *453 + - *370 + - *371 + - *458 - *19 - *17 responses: @@ -90290,7 +90703,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &805 + items: &810 type: object properties: type: @@ -90627,7 +91040,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90649,8 +91062,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: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -90658,14 +91071,14 @@ paths: schema: type: object properties: - reason: &647 + reason: &652 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *646 + placeholder_id: *651 required: - reason - placeholder_id @@ -90682,7 +91095,7 @@ paths: schema: type: object properties: - reason: *647 + reason: *652 expire_at: type: string format: date-time @@ -90705,7 +91118,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *129 + '503': *132 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -90725,13 +91138,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: - - *365 - - *366 + - *370 + - *371 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *129 + '503': *132 '200': description: Response content: @@ -90741,7 +91154,7 @@ paths: properties: incremental_scans: type: array - items: &648 + items: &653 description: Information on a single scan performed by secret scanning on the repository type: object @@ -90767,15 +91180,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *648 + items: *653 backfill_scans: type: array - items: *648 + items: *653 custom_pattern_backfill_scans: type: array items: allOf: - - *648 + - *653 - type: object properties: pattern_name: @@ -90845,9 +91258,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *365 - - *366 - - *84 + - *370 + - *371 + - *86 - name: sort description: The property to sort the results by. in: query @@ -90859,8 +91272,8 @@ paths: - updated - published default: created - - *82 - - *83 + - *84 + - *85 - 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)." @@ -90890,9 +91303,9 @@ paths: application/json: schema: type: array - items: *649 + items: *654 examples: - default: *650 + default: *655 '400': *14 '404': *6 x-github: @@ -90915,8 +91328,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: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -90989,7 +91402,7 @@ paths: login: type: string description: The username of the user credited. - type: *332 + type: *337 required: - login - type @@ -91076,9 +91489,9 @@ paths: description: Response content: application/json: - schema: *649 + schema: *654 examples: - default: &652 + default: &657 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -91311,8 +91724,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: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -91416,7 +91829,7 @@ paths: description: Response content: application/json: - schema: *649 + schema: *654 examples: default: value: @@ -91563,17 +91976,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: - - *365 - - *366 - - *651 + - *370 + - *371 + - *656 responses: '200': description: Response content: application/json: - schema: *649 + schema: *654 examples: - default: *652 + default: *657 '403': *29 '404': *6 x-github: @@ -91597,9 +92010,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: - - *365 - - *366 - - *651 + - *370 + - *371 + - *656 requestBody: required: true content: @@ -91672,7 +92085,7 @@ paths: login: type: string description: The username of the user credited. - type: *332 + type: *337 required: - login - type @@ -91758,17 +92171,17 @@ paths: description: Response content: application/json: - schema: *649 + schema: *654 examples: - default: *652 - add_credit: *652 + default: *657 + add_credit: *657 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *177 + schema: *180 examples: invalid_state_transition: value: @@ -91799,11 +92212,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: - - *365 - - *366 - - *651 + - *370 + - *371 + - *656 responses: - '202': *93 + '202': *95 '400': *14 '403': *29 '404': *6 @@ -91828,17 +92241,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: - - *365 - - *366 - - *651 + - *370 + - *371 + - *656 responses: '202': description: Response content: application/json: - schema: *378 + schema: *383 examples: - default: *380 + default: *385 '400': *14 '422': *15 '403': *29 @@ -91864,8 +92277,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -91964,8 +92377,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -91974,7 +92387,7 @@ paths: application/json: schema: type: array - items: &653 + items: &658 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -91986,8 +92399,8 @@ paths: - - 1302998400 - 1124 - -435 - '202': *93 - '204': *116 + '202': *95 + '204': *118 '422': description: Repository contains more than 10,000 commits x-github: @@ -92007,8 +92420,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -92056,8 +92469,8 @@ paths: - 0 total: 89 week: 1336280400 - '202': *93 - '204': *116 + '202': *95 + '204': *118 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92084,8 +92497,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -92158,8 +92571,8 @@ paths: a: 6898 d: 77 c: 10 - '202': *93 - '204': *116 + '202': *95 + '204': *118 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92181,8 +92594,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -92336,8 +92749,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -92347,7 +92760,7 @@ paths: application/json: schema: type: array - items: *653 + items: *658 examples: default: value: @@ -92360,7 +92773,7 @@ paths: - - 0 - 2 - 21 - '204': *116 + '204': *118 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92380,8 +92793,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *365 - - *366 + - *370 + - *371 - name: sha in: path required: true @@ -92435,7 +92848,7 @@ paths: description: Response content: application/json: - schema: *654 + schema: *659 examples: default: value: @@ -92489,8 +92902,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -92502,7 +92915,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 headers: Link: *39 x-github: @@ -92522,14 +92935,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &655 + schema: &660 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -92597,8 +93010,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: false content: @@ -92624,7 +93037,7 @@ paths: description: Response content: application/json: - schema: *655 + schema: *660 examples: default: value: @@ -92651,8 +93064,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Response @@ -92672,8 +93085,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -92752,8 +93165,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: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -92761,7 +93174,7 @@ paths: application/json: schema: type: array - items: &656 + items: &661 title: Tag protection description: Tag protection type: object @@ -92813,8 +93226,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: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -92837,7 +93250,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *661 examples: default: value: @@ -92868,8 +93281,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: - - *365 - - *366 + - *370 + - *371 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -92906,8 +93319,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *365 - - *366 + - *370 + - *371 - name: ref in: path required: true @@ -92943,8 +93356,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *365 - - *366 + - *370 + - *371 - *17 - *19 responses: @@ -92954,9 +93367,9 @@ paths: application/json: schema: type: array - items: *281 + items: *284 examples: - default: *296 + default: *299 headers: Link: *39 '404': *6 @@ -92976,8 +93389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *365 - - *366 + - *370 + - *371 - *19 - *17 responses: @@ -92985,7 +93398,7 @@ paths: description: Response content: application/json: - schema: &657 + schema: &662 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -92997,7 +93410,7 @@ paths: required: - names examples: - default: &658 + default: &663 value: names: - octocat @@ -93020,8 +93433,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -93052,9 +93465,9 @@ paths: description: Response content: application/json: - schema: *657 + schema: *662 examples: - default: *658 + default: *663 '404': *6 '422': *7 x-github: @@ -93075,9 +93488,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *365 - - *366 - - &659 + - *370 + - *371 + - &664 name: per description: The time frame to display results for. in: query @@ -93106,7 +93519,7 @@ paths: example: 128 clones: type: array - items: &660 + items: &665 title: Traffic type: object properties: @@ -93193,8 +93606,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -93284,8 +93697,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *365 - - *366 + - *370 + - *371 responses: '200': description: Response @@ -93345,9 +93758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *365 - - *366 - - *659 + - *370 + - *371 + - *664 responses: '200': description: Response @@ -93366,7 +93779,7 @@ paths: example: 3782 views: type: array - items: *660 + items: *665 required: - uniques - count @@ -93443,8 +93856,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *365 - - *366 + - *370 + - *371 requestBody: required: true content: @@ -93480,7 +93893,7 @@ paths: description: Response content: application/json: - schema: *194 + schema: *197 examples: default: value: @@ -93718,8 +94131,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: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -93742,8 +94155,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Response @@ -93765,8 +94178,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Response @@ -93792,8 +94205,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *365 - - *366 + - *370 + - *371 - name: ref in: path required: true @@ -93885,9 +94298,9 @@ paths: description: Response content: application/json: - schema: *378 + schema: *383 examples: - default: *380 + default: *385 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -93928,7 +94341,7 @@ paths: application/json: schema: type: array - items: *194 + items: *197 examples: default: value: @@ -94038,7 +94451,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &668 + - &673 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -94047,7 +94460,7 @@ paths: schema: type: string example: members - - &673 + - &678 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -94058,7 +94471,7 @@ paths: default: 1 format: int32 example: 1 - - &674 + - &679 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -94100,7 +94513,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &662 + items: &667 allOf: - type: object required: @@ -94175,7 +94588,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: &675 + meta: &680 type: object description: The metadata associated with the creation/updates to the user. @@ -94235,31 +94648,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &663 + '400': &668 description: Bad request content: application/json: - schema: *661 + schema: *666 application/scim+json: - schema: *661 - '401': &664 + schema: *666 + '401': &669 description: Authorization failure - '403': &665 + '403': &670 description: Permission denied - '429': &666 + '429': &671 description: Too many requests content: application/json: - schema: *661 + schema: *666 application/scim+json: - schema: *661 - '500': &667 + schema: *666 + '500': &672 description: Internal server error content: application/json: - schema: *661 + schema: *666 application/scim+json: - schema: *661 + schema: *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94283,7 +94696,7 @@ paths: required: true content: application/json: - schema: &671 + schema: &676 type: object required: - schemas @@ -94339,9 +94752,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *662 + schema: *667 examples: - group: &669 + group: &674 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -94360,13 +94773,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': *663 - '401': *664 - '403': *665 - '409': &672 + '400': *668 + '401': *669 + '403': *670 + '409': &677 description: Duplicate record detected - '429': *666 - '500': *667 + '429': *671 + '500': *672 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94383,7 +94796,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: - - &670 + - &675 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -94391,22 +94804,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *668 + - *673 - *40 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *662 + schema: *667 examples: - default: *669 - '400': *663 - '401': *664 - '403': *665 + default: *674 + '400': *668 + '401': *669 + '403': *670 '404': *6 - '429': *666 - '500': *667 + '429': *671 + '500': *672 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94425,13 +94838,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: - - *670 + - *675 - *40 requestBody: required: true content: application/json: - schema: *671 + schema: *676 examples: group: summary: Group @@ -94457,17 +94870,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *662 + schema: *667 examples: - group: *669 - groupWithMembers: *669 - '400': *663 - '401': *664 - '403': *665 + group: *674 + groupWithMembers: *674 + '400': *668 + '401': *669 + '403': *670 '404': *6 - '409': *672 - '429': *666 - '500': *667 + '409': *677 + '429': *671 + '500': *672 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94491,13 +94904,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: - - *670 + - *675 - *40 requestBody: required: true content: application/json: - schema: &682 + schema: &687 type: object required: - Operations @@ -94557,17 +94970,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *662 + schema: *667 examples: - updateGroup: *669 - addMembers: *669 - '400': *663 - '401': *664 - '403': *665 + updateGroup: *674 + addMembers: *674 + '400': *668 + '401': *669 + '403': *670 '404': *6 - '409': *672 - '429': *666 - '500': *667 + '409': *677 + '429': *671 + '500': *672 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94583,17 +94996,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: - - *670 + - *675 - *40 responses: '204': description: Group was deleted, no content - '400': *663 - '401': *664 - '403': *665 + '400': *668 + '401': *669 + '403': *670 '404': *6 - '429': *666 - '500': *667 + '429': *671 + '500': *672 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94627,8 +95040,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *673 - - *674 + - *678 + - *679 - *40 responses: '200': @@ -94661,7 +95074,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &677 + items: &682 allOf: - type: object required: @@ -94740,7 +95153,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &676 + roles: &681 type: array description: The roles assigned to the user. items: @@ -94796,7 +95209,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *675 + meta: *680 startIndex: type: integer description: A starting index for the returned page @@ -94833,11 +95246,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *663 - '401': *664 - '403': *665 - '429': *666 - '500': *667 + '400': *668 + '401': *669 + '403': *670 + '429': *671 + '500': *672 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94861,7 +95274,7 @@ paths: required: true content: application/json: - schema: &680 + schema: &685 type: object required: - schemas @@ -94943,9 +95356,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *676 + roles: *681 examples: - user: &681 + user: &686 summary: User value: schemas: @@ -94992,9 +95405,9 @@ paths: description: User has been created content: application/scim+json: - schema: *677 + schema: *682 examples: - user: &678 + user: &683 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -95020,13 +95433,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: *678 - '400': *663 - '401': *664 - '403': *665 - '409': *672 - '429': *666 - '500': *667 + enterpriseOwner: *683 + '400': *668 + '401': *669 + '403': *670 + '409': *677 + '429': *671 + '500': *672 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95043,7 +95456,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: - - &679 + - &684 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -95056,15 +95469,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *677 + schema: *682 examples: - default: *678 - '400': *663 - '401': *664 - '403': *665 + default: *683 + '400': *668 + '401': *669 + '403': *670 '404': *6 - '429': *666 - '500': *667 + '429': *671 + '500': *672 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95086,30 +95499,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: - - *679 + - *684 - *40 requestBody: required: true content: application/json: - schema: *680 + schema: *685 examples: - user: *681 + user: *686 responses: '200': description: User was updated content: application/scim+json: - schema: *677 + schema: *682 examples: - user: *678 - '400': *663 - '401': *664 - '403': *665 + user: *683 + '400': *668 + '401': *669 + '403': *670 '404': *6 - '409': *672 - '429': *666 - '500': *667 + '409': *677 + '429': *671 + '500': *672 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95144,13 +95557,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: - - *679 + - *684 - *40 requestBody: required: true content: application/json: - schema: *682 + schema: *687 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -95190,18 +95603,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *677 - examples: - userMultiValuedProperties: *678 - userSingleValuedProperties: *678 - disableUser: *678 - '400': *663 - '401': *664 - '403': *665 + schema: *682 + examples: + userMultiValuedProperties: *683 + userSingleValuedProperties: *683 + disableUser: *683 + '400': *668 + '401': *669 + '403': *670 '404': *6 - '409': *672 - '429': *666 - '500': *667 + '409': *677 + '429': *671 + '500': *672 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95221,17 +95634,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: - - *679 + - *684 - *40 responses: '204': description: User was deleted, no content - '400': *663 - '401': *664 - '403': *665 + '400': *668 + '401': *669 + '403': *670 '404': *6 - '429': *666 - '500': *667 + '429': *671 + '500': *672 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95264,7 +95677,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *174 + - *177 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -95318,7 +95731,7 @@ paths: example: 1 Resources: type: array - items: &683 + items: &688 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -95549,22 +95962,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &684 + '404': &689 description: Resource not found content: application/json: - schema: *661 + schema: *666 application/scim+json: - schema: *661 - '403': &685 + schema: *666 + '403': &690 description: Forbidden content: application/json: - schema: *661 + schema: *666 application/scim+json: - schema: *661 - '400': *663 - '429': *666 + schema: *666 + '400': *668 + '429': *671 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -95584,15 +95997,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *174 + - *177 responses: '201': description: Response content: application/scim+json: - schema: *683 + schema: *688 examples: - default: &686 + default: &691 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -95615,17 +96028,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *684 - '403': *685 - '500': *667 + '404': *689 + '403': *690 + '500': *672 '409': description: Conflict content: application/json: - schema: *661 + schema: *666 application/scim+json: - schema: *661 - '400': *663 + schema: *666 + '400': *668 requestBody: required: true content: @@ -95717,18 +96130,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: - - *174 - - *679 + - *177 + - *684 responses: '200': description: Response content: application/scim+json: - schema: *683 + schema: *688 examples: - default: *686 - '404': *684 - '403': *685 + default: *691 + '404': *689 + '403': *690 '304': *37 x-github: githubCloudOnly: true @@ -95751,19 +96164,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *174 - - *679 + - *177 + - *684 responses: '200': description: Response content: application/scim+json: - schema: *683 + schema: *688 examples: - default: *686 + default: *691 '304': *37 - '404': *684 - '403': *685 + '404': *689 + '403': *690 requestBody: required: true content: @@ -95871,20 +96284,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: - - *174 - - *679 + - *177 + - *684 responses: '200': description: Response content: application/scim+json: - schema: *683 + schema: *688 examples: - default: *686 + default: *691 '304': *37 - '404': *684 - '403': *685 - '400': *663 + '404': *689 + '403': *690 + '400': *668 '429': description: Response content: @@ -95974,13 +96387,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: - - *174 - - *679 + - *177 + - *684 responses: '204': description: Response - '404': *684 - '403': *685 + '404': *689 + '403': *690 '304': *37 x-github: githubCloudOnly: true @@ -96095,7 +96508,7 @@ paths: html_url: type: string format: uri - repository: *194 + repository: *197 score: type: number file_size: @@ -96113,7 +96526,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &687 + text_matches: &692 title: Search Result Text Matches type: array items: @@ -96227,7 +96640,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *129 + '503': *132 '422': *15 '403': *29 x-github: @@ -96276,7 +96689,7 @@ paths: enum: - author-date - committer-date - - &688 + - &693 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 @@ -96347,7 +96760,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *422 + properties: *427 nullable: true comment_count: type: integer @@ -96367,7 +96780,7 @@ paths: url: type: string format: uri - verification: *536 + verification: *541 required: - author - committer @@ -96386,7 +96799,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *422 + properties: *427 nullable: true parents: type: array @@ -96399,12 +96812,12 @@ paths: type: string sha: type: string - repository: *194 + repository: *197 score: type: number node_id: type: string - text_matches: *687 + text_matches: *692 required: - sha - node_id @@ -96597,7 +97010,7 @@ paths: - interactions - created - updated - - *688 + - *693 - *17 - *19 responses: @@ -96716,8 +97129,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *488 - required: *489 + properties: *493 + required: *494 nullable: true comments: type: integer @@ -96731,7 +97144,7 @@ paths: type: string format: date-time nullable: true - text_matches: *687 + text_matches: *692 pull_request: type: object properties: @@ -96764,7 +97177,7 @@ paths: type: string score: type: number - author_association: *138 + author_association: *141 draft: type: boolean repository: *63 @@ -96784,9 +97197,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 - reactions: *139 + properties: *139 + required: *140 + reactions: *142 required: - assignee - closed_at @@ -96902,7 +97315,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *129 + '503': *132 '422': *15 '304': *37 '403': *29 @@ -96955,7 +97368,7 @@ paths: enum: - created - updated - - *688 + - *693 - *17 - *19 responses: @@ -96999,7 +97412,7 @@ paths: nullable: true score: type: number - text_matches: *687 + text_matches: *692 required: - id - node_id @@ -97085,7 +97498,7 @@ paths: - forks - help-wanted-issues - updated - - *688 + - *693 - *17 - *19 responses: @@ -97304,8 +97717,8 @@ paths: title: License Simple description: License Simple type: object - properties: *152 - required: *153 + properties: *155 + required: *156 nullable: true permissions: type: object @@ -97324,7 +97737,7 @@ paths: - admin - pull - push - text_matches: *687 + text_matches: *692 temp_clone_token: type: string allow_merge_commit: @@ -97526,7 +97939,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *129 + '503': *132 '422': *15 '304': *37 x-github: @@ -97625,7 +98038,7 @@ paths: type: string format: uri nullable: true - text_matches: *687 + text_matches: *692 related: type: array nullable: true @@ -97818,7 +98231,7 @@ paths: - followers - repositories - joined - - *688 + - *693 - *17 - *19 responses: @@ -97922,7 +98335,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *687 + text_matches: *692 blog: type: string nullable: true @@ -97981,7 +98394,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *129 + '503': *132 '422': *15 x-github: githubCloudOnly: false @@ -98001,7 +98414,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &689 + - &694 name: team_id description: The unique identifier of the team. in: path @@ -98013,9 +98426,9 @@ paths: description: Response content: application/json: - schema: *346 + schema: *351 examples: - default: *347 + default: *352 '404': *6 x-github: githubCloudOnly: false @@ -98042,7 +98455,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *689 + - *694 requestBody: required: true content: @@ -98105,16 +98518,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *346 + schema: *351 examples: - default: *347 + default: *352 '201': description: Response content: application/json: - schema: *346 + schema: *351 examples: - default: *347 + default: *352 '404': *6 '422': *15 '403': *29 @@ -98142,7 +98555,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *689 + - *694 responses: '204': description: Response @@ -98173,8 +98586,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *689 - - *84 + - *694 + - *86 - *17 - *19 responses: @@ -98184,9 +98597,9 @@ paths: application/json: schema: type: array - items: *348 + items: *353 examples: - default: *690 + default: *695 headers: Link: *39 x-github: @@ -98215,7 +98628,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *689 + - *694 requestBody: required: true content: @@ -98249,9 +98662,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *353 examples: - default: *349 + default: *354 x-github: triggersNotification: true githubCloudOnly: false @@ -98278,16 +98691,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *689 - - *350 + - *694 + - *355 responses: '200': description: Response content: application/json: - schema: *348 + schema: *353 examples: - default: *349 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98312,8 +98725,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *689 - - *350 + - *694 + - *355 requestBody: required: false content: @@ -98336,9 +98749,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *353 examples: - default: *691 + default: *696 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98363,8 +98776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *689 - - *350 + - *694 + - *355 responses: '204': description: Response @@ -98393,9 +98806,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *689 - - *350 - - *84 + - *694 + - *355 + - *86 - *17 - *19 responses: @@ -98405,9 +98818,9 @@ paths: application/json: schema: type: array - items: *351 + items: *356 examples: - default: *692 + default: *697 headers: Link: *39 x-github: @@ -98436,8 +98849,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *689 - - *350 + - *694 + - *355 requestBody: required: true content: @@ -98459,9 +98872,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *356 examples: - default: *352 + default: *357 x-github: triggersNotification: true githubCloudOnly: false @@ -98488,17 +98901,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *689 - - *350 - - *353 + - *694 + - *355 + - *358 responses: '200': description: Response content: application/json: - schema: *351 + schema: *356 examples: - default: *352 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98523,9 +98936,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *689 - - *350 - - *353 + - *694 + - *355 + - *358 requestBody: required: true content: @@ -98547,9 +98960,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *356 examples: - default: *693 + default: *698 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98574,9 +98987,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *689 - - *350 - - *353 + - *694 + - *355 + - *358 responses: '204': description: Response @@ -98605,9 +99018,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: - - *689 - - *350 - - *353 + - *694 + - *355 + - *358 - 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. @@ -98633,9 +99046,9 @@ paths: application/json: schema: type: array - items: *354 + items: *359 examples: - default: *356 + default: *361 headers: Link: *39 x-github: @@ -98664,9 +99077,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: - - *689 - - *350 - - *353 + - *694 + - *355 + - *358 requestBody: required: true content: @@ -98698,9 +99111,9 @@ paths: description: Response content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98726,8 +99139,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: - - *689 - - *350 + - *694 + - *355 - 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. @@ -98753,9 +99166,9 @@ paths: application/json: schema: type: array - items: *354 + items: *359 examples: - default: *356 + default: *361 headers: Link: *39 x-github: @@ -98784,8 +99197,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: - - *689 - - *350 + - *694 + - *355 requestBody: required: true content: @@ -98817,9 +99230,9 @@ paths: description: Response content: application/json: - schema: *354 + schema: *359 examples: - default: *355 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98843,7 +99256,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *689 + - *694 - *17 - *19 responses: @@ -98853,9 +99266,9 @@ paths: application/json: schema: type: array - items: *278 + items: *281 examples: - default: *279 + default: *282 headers: Link: *39 x-github: @@ -98881,7 +99294,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *689 + - *694 - name: role description: Filters members returned by their role in the team. in: query @@ -98904,7 +99317,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 headers: Link: *39 '404': *6 @@ -98932,8 +99345,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *689 - - *216 + - *694 + - *219 responses: '204': description: if user is a member @@ -98969,8 +99382,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *689 - - *216 + - *694 + - *219 responses: '204': description: Response @@ -99009,8 +99422,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *689 - - *216 + - *694 + - *219 responses: '204': description: Response @@ -99046,16 +99459,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: - - *689 - - *216 + - *694 + - *219 responses: '200': description: Response content: application/json: - schema: *362 + schema: *367 examples: - response-if-user-is-a-team-maintainer: *694 + response-if-user-is-a-team-maintainer: *699 '404': *6 x-github: githubCloudOnly: false @@ -99088,8 +99501,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: - - *689 - - *216 + - *694 + - *219 requestBody: required: false content: @@ -99114,9 +99527,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *367 examples: - response-if-users-membership-with-team-is-now-pending: *695 + response-if-users-membership-with-team-is-now-pending: *700 '403': description: Forbidden if team synchronization is set up '422': @@ -99150,8 +99563,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: - - *689 - - *216 + - *694 + - *219 responses: '204': description: Response @@ -99180,7 +99593,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *689 + - *694 - *17 - *19 responses: @@ -99190,9 +99603,9 @@ paths: application/json: schema: type: array - items: *363 + items: *368 examples: - default: *696 + default: *701 headers: Link: *39 '404': *6 @@ -99219,16 +99632,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: - - *689 - - *364 + - *694 + - *369 responses: '200': description: Response content: application/json: - schema: *363 + schema: *368 examples: - default: *697 + default: *702 '404': description: Not Found if project is not managed by this team x-github: @@ -99253,8 +99666,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: - - *689 - - *364 + - *694 + - *369 requestBody: required: false content: @@ -99322,8 +99735,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: - - *689 - - *364 + - *694 + - *369 responses: '204': description: Response @@ -99350,7 +99763,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *689 + - *694 - *17 - *19 responses: @@ -99360,9 +99773,9 @@ paths: application/json: schema: type: array - items: *194 + items: *197 examples: - default: *303 + default: *306 headers: Link: *39 '404': *6 @@ -99392,15 +99805,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: - - *689 - - *365 - - *366 + - *694 + - *370 + - *371 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *698 + schema: *703 examples: alternative-response-with-extra-repository-information: value: @@ -99551,9 +99964,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: - - *689 - - *365 - - *366 + - *694 + - *370 + - *371 requestBody: required: false content: @@ -99603,9 +100016,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: - - *689 - - *365 - - *366 + - *694 + - *370 + - *371 responses: '204': description: Response @@ -99634,15 +100047,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: - - *689 + - *694 responses: '200': description: Response content: application/json: - schema: *367 + schema: *372 examples: - default: *368 + default: *373 '403': *29 '404': *6 x-github: @@ -99669,7 +100082,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: - - *689 + - *694 requestBody: required: true content: @@ -99726,7 +100139,7 @@ paths: description: Response content: application/json: - schema: *367 + schema: *372 examples: default: value: @@ -99757,7 +100170,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *689 + - *694 - *17 - *19 responses: @@ -99767,9 +100180,9 @@ paths: application/json: schema: type: array - items: *281 + items: *284 examples: - response-if-child-teams-exist: *699 + response-if-child-teams-exist: *704 headers: Link: *39 '404': *6 @@ -99802,7 +100215,7 @@ paths: application/json: schema: oneOf: - - &701 + - &706 title: Private User description: Private User type: object @@ -100005,7 +100418,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *700 + - *705 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -100158,7 +100571,7 @@ paths: description: Response content: application/json: - schema: *701 + schema: *706 examples: default: value: @@ -100237,7 +100650,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 '304': *37 '404': *6 '403': *29 @@ -100260,7 +100673,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: - - *216 + - *219 responses: '204': description: If the user is blocked @@ -100288,7 +100701,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *216 + - *219 responses: '204': description: Response @@ -100312,7 +100725,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *216 + - *219 responses: '204': description: Response @@ -100361,11 +100774,11 @@ paths: type: integer codespaces: type: array - items: *285 + items: *288 examples: - default: *286 + default: *289 '304': *37 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -100502,21 +100915,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *285 + schema: *288 examples: - default: *473 + default: *478 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *285 + schema: *288 examples: - default: *473 + default: *478 '401': *25 '403': *29 '404': *6 - '503': *129 + '503': *132 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100556,7 +100969,7 @@ paths: type: integer secrets: type: array - items: &702 + items: &707 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -100596,7 +101009,7 @@ paths: - visibility - selected_repositories_url examples: - default: *476 + default: *481 headers: Link: *39 x-github: @@ -100666,13 +101079,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: - - *204 + - *207 responses: '200': description: Response content: application/json: - schema: *702 + schema: *707 examples: default: value: @@ -100702,7 +101115,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: - - *204 + - *207 requestBody: required: true content: @@ -100747,7 +101160,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -100775,7 +101188,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: - - *204 + - *207 responses: '204': description: Response @@ -100800,7 +101213,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: - - *204 + - *207 responses: '200': description: Response @@ -100816,13 +101229,13 @@ paths: type: integer repositories: type: array - items: *194 + items: *197 examples: - default: *703 + default: *708 '401': *25 '403': *29 '404': *6 - '500': *97 + '500': *99 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100843,7 +101256,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: - - *204 + - *207 requestBody: required: true content: @@ -100875,7 +101288,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *97 + '500': *99 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100897,7 +101310,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: - - *204 + - *207 - name: repository_id in: path required: true @@ -100909,7 +101322,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *97 + '500': *99 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100930,7 +101343,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: - - *204 + - *207 - name: repository_id in: path required: true @@ -100942,7 +101355,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *97 + '500': *99 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100962,17 +101375,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: - - *287 + - *290 responses: '200': description: Response content: application/json: - schema: *285 + schema: *288 examples: - default: *473 + default: *478 '304': *37 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -100996,7 +101409,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: - - *287 + - *290 requestBody: required: false content: @@ -101026,9 +101439,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *288 examples: - default: *473 + default: *478 '401': *25 '403': *29 '404': *6 @@ -101050,11 +101463,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: - - *287 + - *290 responses: - '202': *93 + '202': *95 '304': *37 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -101079,13 +101492,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: - - *287 + - *290 responses: '202': description: Response content: application/json: - schema: &704 + schema: &709 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -101126,7 +101539,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &705 + default: &710 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -101134,7 +101547,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -101158,7 +101571,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *287 + - *290 - name: export_id in: path required: true @@ -101171,9 +101584,9 @@ paths: description: Response content: application/json: - schema: *704 + schema: *709 examples: - default: *705 + default: *710 '404': *6 x-github: githubCloudOnly: false @@ -101194,7 +101607,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *287 + - *290 responses: '200': description: Response @@ -101210,11 +101623,11 @@ paths: type: integer machines: type: array - items: *706 + items: *711 examples: - default: *707 + default: *712 '304': *37 - '500': *97 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -101241,7 +101654,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: - - *287 + - *290 requestBody: required: true content: @@ -101291,13 +101704,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *378 + repository: *383 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *474 - required: *475 + properties: *479 + required: *480 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -102071,17 +102484,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: - - *287 + - *290 responses: '200': description: Response content: application/json: - schema: *285 + schema: *288 examples: - default: *473 + default: *478 '304': *37 - '500': *97 + '500': *99 '400': *14 '401': *25 '402': @@ -102091,7 +102504,7 @@ paths: schema: *3 '403': *29 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102111,16 +102524,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: - - *287 + - *290 responses: '200': description: Response content: application/json: - schema: *285 + schema: *288 examples: - default: *473 - '500': *97 + default: *478 + '500': *99 '401': *25 '403': *29 '404': *6 @@ -102149,9 +102562,9 @@ paths: application/json: schema: type: array - items: *297 + items: *300 examples: - default: &720 + default: &725 value: - id: 197 name: hello_docker @@ -102252,7 +102665,7 @@ paths: application/json: schema: type: array - items: &708 + items: &713 title: Email description: Email type: object @@ -102317,9 +102730,9 @@ paths: application/json: schema: type: array - items: *708 + items: *713 examples: - default: &722 + default: &727 value: - email: octocat@github.com verified: true @@ -102394,7 +102807,7 @@ paths: application/json: schema: type: array - items: *708 + items: *713 examples: default: value: @@ -102504,7 +102917,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 headers: Link: *39 '304': *37 @@ -102537,7 +102950,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 headers: Link: *39 '304': *37 @@ -102559,7 +102972,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: - - *216 + - *219 responses: '204': description: if the person is followed by the authenticated user @@ -102589,7 +103002,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *216 + - *219 responses: '204': description: Response @@ -102614,7 +103027,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *216 + - *219 responses: '204': description: Response @@ -102650,7 +103063,7 @@ paths: application/json: schema: type: array - items: &709 + items: &714 title: GPG Key description: A unique encryption key type: object @@ -102781,7 +103194,7 @@ paths: - subkeys - revoked examples: - default: &733 + default: &738 value: - id: 3 name: Octocat's GPG Key @@ -102866,9 +103279,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *714 examples: - default: &710 + default: &715 value: id: 3 name: Octocat's GPG Key @@ -102925,7 +103338,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: - - &711 + - &716 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -102937,9 +103350,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *714 examples: - default: *710 + default: *715 '404': *6 '304': *37 '403': *29 @@ -102962,7 +103375,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: - - *711 + - *716 responses: '204': description: Response @@ -103153,7 +103566,7 @@ paths: type: array items: *63 examples: - default: *712 + default: *717 headers: Link: *39 '404': *6 @@ -103178,7 +103591,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *189 + - *192 responses: '204': description: Response @@ -103204,7 +103617,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *189 + - *192 responses: '204': description: Response @@ -103238,12 +103651,12 @@ paths: application/json: schema: anyOf: - - *276 + - *279 - type: object properties: {} additionalProperties: false examples: - default: *277 + default: *280 '204': description: Response when there are no restrictions x-github: @@ -103267,7 +103680,7 @@ paths: required: true content: application/json: - schema: *547 + schema: *552 examples: default: value: @@ -103278,7 +103691,7 @@ paths: description: Response content: application/json: - schema: *276 + schema: *279 examples: default: value: @@ -103359,7 +103772,7 @@ paths: - closed - all default: open - - *282 + - *285 - name: sort description: What to sort results by. in: query @@ -103371,8 +103784,8 @@ paths: - updated - comments default: created - - *84 - - *141 + - *86 + - *144 - *17 - *19 responses: @@ -103382,9 +103795,9 @@ paths: application/json: schema: type: array - items: *151 + items: *154 examples: - default: *283 + default: *286 headers: Link: *39 '404': *6 @@ -103417,7 +103830,7 @@ paths: application/json: schema: type: array - items: &713 + items: &718 title: Key description: Key type: object @@ -103514,9 +103927,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *718 examples: - default: &714 + default: &719 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103549,15 +103962,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: - - *576 + - *581 responses: '200': description: Response content: application/json: - schema: *713 + schema: *718 examples: - default: *714 + default: *719 '404': *6 '304': *37 '403': *29 @@ -103580,7 +103993,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: - - *576 + - *581 responses: '204': description: Response @@ -103613,7 +104026,7 @@ paths: application/json: schema: type: array - items: &715 + items: &720 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -103670,7 +104083,7 @@ paths: - id - type - login - plan: *155 + plan: *158 required: - billing_cycle - next_billing_date @@ -103681,7 +104094,7 @@ paths: - account - plan examples: - default: &716 + default: &721 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -103743,9 +104156,9 @@ paths: application/json: schema: type: array - items: *715 + items: *720 examples: - default: *716 + default: *721 headers: Link: *39 '304': *37 @@ -103785,7 +104198,7 @@ paths: application/json: schema: type: array - items: *288 + items: *291 examples: default: value: @@ -103887,13 +104300,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: - - *174 + - *177 responses: '200': description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -103951,7 +104364,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: - - *174 + - *177 requestBody: required: true content: @@ -103976,7 +104389,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -104044,7 +104457,7 @@ paths: application/json: schema: type: array - items: *290 + items: *293 examples: default: value: @@ -104297,7 +104710,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *293 examples: default: value: @@ -104477,7 +104890,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *291 + - *294 - name: exclude in: query required: false @@ -104490,7 +104903,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *293 examples: default: value: @@ -104684,7 +105097,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *291 + - *294 responses: '302': description: Response @@ -104710,7 +105123,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *291 + - *294 responses: '204': description: Response @@ -104739,8 +105152,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *291 - - *717 + - *294 + - *722 responses: '204': description: Response @@ -104764,7 +105177,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *291 + - *294 - *17 - *19 responses: @@ -104774,9 +105187,9 @@ paths: application/json: schema: type: array - items: *194 + items: *197 examples: - default: *303 + default: *306 headers: Link: *39 '404': *6 @@ -104813,7 +105226,7 @@ paths: type: array items: *58 examples: - default: *718 + default: *723 headers: Link: *39 '304': *37 @@ -104855,7 +105268,7 @@ paths: - docker - nuget - container - - *719 + - *724 - *19 - *17 responses: @@ -104865,10 +105278,10 @@ paths: application/json: schema: type: array - items: *297 + items: *300 examples: - default: *720 - '400': *721 + default: *725 + '400': *726 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104888,16 +105301,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: - - *299 - - *300 + - *302 + - *303 responses: '200': description: Response content: application/json: - schema: *297 + schema: *300 examples: - default: &734 + default: &739 value: id: 40201 name: octo-name @@ -105010,8 +105423,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: - - *299 - - *300 + - *302 + - *303 responses: '204': description: Response @@ -105041,8 +105454,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: - - *299 - - *300 + - *302 + - *303 - name: token description: package token schema: @@ -105074,8 +105487,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: - - *299 - - *300 + - *302 + - *303 - *19 - *17 - name: state @@ -105095,7 +105508,7 @@ paths: application/json: schema: type: array - items: *301 + items: *304 examples: default: value: @@ -105144,15 +105557,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: - - *299 - - *300 - *302 + - *303 + - *305 responses: '200': description: Response content: application/json: - schema: *301 + schema: *304 examples: default: value: @@ -105188,9 +105601,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: - - *299 - - *300 - *302 + - *303 + - *305 responses: '204': description: Response @@ -105220,9 +105633,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: - - *299 - - *300 - *302 + - *303 + - *305 responses: '204': description: Response @@ -105278,7 +105691,7 @@ paths: description: Response content: application/json: - schema: *312 + schema: *315 examples: default: value: @@ -105350,9 +105763,9 @@ paths: application/json: schema: type: array - items: *708 + items: *713 examples: - default: *722 + default: *727 headers: Link: *39 '304': *37 @@ -105465,7 +105878,7 @@ paths: type: array items: *63 examples: - default: &729 + default: &734 summary: Default response value: - id: 1296269 @@ -105767,9 +106180,9 @@ paths: description: Response content: application/json: - schema: *378 + schema: *383 examples: - default: *380 + default: *385 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105807,9 +106220,9 @@ paths: application/json: schema: type: array - items: *549 + items: *554 examples: - default: *723 + default: *728 headers: Link: *39 '304': *37 @@ -105832,12 +106245,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *280 + - *283 responses: '204': description: Response '403': *29 - '409': *92 + '409': *94 '404': *6 '304': *37 x-github: @@ -105855,11 +106268,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *280 + - *283 responses: '204': description: Response - '409': *92 + '409': *94 '304': *37 '404': *6 '403': *29 @@ -105888,7 +106301,7 @@ paths: application/json: schema: type: array - items: &724 + items: &729 title: Social account description: Social media account type: object @@ -105903,7 +106316,7 @@ paths: - provider - url examples: - default: &725 + default: &730 value: - provider: twitter url: https://twitter.com/github @@ -105965,9 +106378,9 @@ paths: application/json: schema: type: array - items: *724 + items: *729 examples: - default: *725 + default: *730 '422': *15 '304': *37 '404': *6 @@ -106054,7 +106467,7 @@ paths: application/json: schema: type: array - items: &726 + items: &731 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -106074,7 +106487,7 @@ paths: - title - created_at examples: - default: &735 + default: &740 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -106140,9 +106553,9 @@ paths: description: Response content: application/json: - schema: *726 + schema: *731 examples: - default: &727 + default: &732 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -106173,7 +106586,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: - - &728 + - &733 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -106185,9 +106598,9 @@ paths: description: Response content: application/json: - schema: *726 + schema: *731 examples: - default: *727 + default: *732 '404': *6 '304': *37 '403': *29 @@ -106210,7 +106623,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: - - *728 + - *733 responses: '204': description: Response @@ -106239,7 +106652,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: - - &736 + - &741 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 @@ -106252,7 +106665,7 @@ paths: - created - updated default: created - - *84 + - *86 - *17 - *19 responses: @@ -106264,11 +106677,11 @@ paths: type: array items: *63 examples: - default-response: *729 + default-response: *734 application/vnd.github.v3.star+json: schema: type: array - items: &737 + items: &742 title: Starred Repository description: Starred Repository type: object @@ -106424,8 +106837,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: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Response if this repository is starred by you @@ -106453,8 +106866,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: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Response @@ -106478,8 +106891,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: - - *365 - - *366 + - *370 + - *371 responses: '204': description: Response @@ -106512,9 +106925,9 @@ paths: application/json: schema: type: array - items: *194 + items: *197 examples: - default: *303 + default: *306 headers: Link: *39 '304': *37 @@ -106551,7 +106964,7 @@ paths: application/json: schema: type: array - items: *346 + items: *351 examples: default: value: @@ -106629,7 +107042,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *157 + - *160 responses: '200': description: Response @@ -106637,10 +107050,10 @@ paths: application/json: schema: oneOf: - - *701 - - *700 + - *706 + - *705 examples: - default-response: &731 + default-response: &736 summary: Default response value: login: octocat @@ -106675,7 +107088,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &732 + response-with-git-hub-plan-information: &737 summary: Response with GitHub plan information value: login: octocat @@ -106735,7 +107148,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *730 + - *735 - *17 responses: '200': @@ -106746,7 +107159,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 headers: Link: example: ; rel="next" @@ -106776,7 +107189,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *216 + - *219 responses: '200': description: Response @@ -106784,11 +107197,11 @@ paths: application/json: schema: oneOf: - - *701 - - *700 + - *706 + - *705 examples: - default-response: *731 - response-with-git-hub-plan-information: *732 + default-response: *736 + response-with-git-hub-plan-information: *737 '404': *6 x-github: githubCloudOnly: false @@ -106812,9 +107225,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations parameters: - *17 - - *82 - - *83 - - *216 + - *84 + - *85 + - *219 - name: subject_digest description: Subject Digest in: path @@ -106916,7 +107329,7 @@ paths: description: Response content: application/json: - schema: *205 + schema: *208 examples: default: value: @@ -106942,7 +107355,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: - - *216 + - *219 responses: '200': description: Response @@ -106950,9 +107363,9 @@ paths: application/json: schema: type: array - items: *297 + items: *300 examples: - default: *720 + default: *725 '403': *29 '401': *25 x-github: @@ -106975,7 +107388,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *216 + - *219 - *17 - *19 responses: @@ -106985,7 +107398,7 @@ paths: application/json: schema: type: array - items: *163 + items: *166 examples: default: value: @@ -107056,8 +107469,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: - - *216 - - *174 + - *219 + - *177 - *17 - *19 responses: @@ -107067,7 +107480,7 @@ paths: application/json: schema: type: array - items: *163 + items: *166 examples: default: value: @@ -107146,7 +107559,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *216 + - *219 - *17 - *19 responses: @@ -107156,7 +107569,7 @@ paths: application/json: schema: type: array - items: *163 + items: *166 examples: default: value: @@ -107223,7 +107636,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *216 + - *219 - *17 - *19 responses: @@ -107235,7 +107648,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 headers: Link: *39 x-github: @@ -107254,7 +107667,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *216 + - *219 - *17 - *19 responses: @@ -107266,7 +107679,7 @@ paths: type: array items: *4 examples: - default: *284 + default: *287 headers: Link: *39 x-github: @@ -107285,7 +107698,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: - - *216 + - *219 - name: target_user in: path required: true @@ -107312,8 +107725,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *216 - - *141 + - *219 + - *144 - *17 - *19 responses: @@ -107323,9 +107736,9 @@ paths: application/json: schema: type: array - items: *142 + items: *145 examples: - default: *143 + default: *146 headers: Link: *39 '422': *15 @@ -107346,7 +107759,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: - - *216 + - *219 - *17 - *19 responses: @@ -107356,9 +107769,9 @@ paths: application/json: schema: type: array - items: *709 + items: *714 examples: - default: *733 + default: *738 headers: Link: *39 x-github: @@ -107382,7 +107795,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *216 + - *219 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -107454,7 +107867,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: - - *216 + - *219 responses: '200': description: Response @@ -107462,7 +107875,7 @@ paths: application/json: schema: *22 examples: - default: *546 + default: *551 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107480,7 +107893,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *216 + - *219 - *17 - *19 responses: @@ -107528,7 +107941,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *216 + - *219 - *17 - *19 responses: @@ -107540,7 +107953,7 @@ paths: type: array items: *58 examples: - default: *718 + default: *723 headers: Link: *39 x-github: @@ -107579,8 +107992,8 @@ paths: - docker - nuget - container - - *719 - - *216 + - *724 + - *219 - *19 - *17 responses: @@ -107590,12 +108003,12 @@ paths: application/json: schema: type: array - items: *297 + items: *300 examples: - default: *720 + default: *725 '403': *29 '401': *25 - '400': *721 + '400': *726 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107615,17 +108028,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *299 - - *300 - - *216 + - *302 + - *303 + - *219 responses: '200': description: Response content: application/json: - schema: *297 + schema: *300 examples: - default: *734 + default: *739 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107646,9 +108059,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *299 - - *300 - - *216 + - *302 + - *303 + - *219 responses: '204': description: Response @@ -107680,9 +108093,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *299 - - *300 - - *216 + - *302 + - *303 + - *219 - name: token description: package token schema: @@ -107714,9 +108127,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: - - *299 - - *300 - - *216 + - *302 + - *303 + - *219 responses: '200': description: Response @@ -107724,7 +108137,7 @@ paths: application/json: schema: type: array - items: *301 + items: *304 examples: default: value: @@ -107782,16 +108195,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: - - *299 - - *300 - *302 - - *216 + - *303 + - *305 + - *219 responses: '200': description: Response content: application/json: - schema: *301 + schema: *304 examples: default: value: @@ -107826,10 +108239,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *299 - - *300 - - *216 - *302 + - *303 + - *219 + - *305 responses: '204': description: Response @@ -107861,10 +108274,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *299 - - *300 - - *216 - *302 + - *303 + - *219 + - *305 responses: '204': description: Response @@ -107890,7 +108303,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-user-projects parameters: - - *216 + - *219 - name: state description: Indicates the state of the projects to return. in: query @@ -107911,7 +108324,7 @@ paths: application/json: schema: type: array - items: *312 + items: *315 examples: default: value: @@ -107973,7 +108386,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: - - *216 + - *219 - *17 - *19 responses: @@ -107983,7 +108396,7 @@ paths: application/json: schema: type: array - items: *163 + items: *166 examples: default: value: @@ -108062,7 +108475,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: - - *216 + - *219 - *17 - *19 responses: @@ -108072,7 +108485,7 @@ paths: application/json: schema: type: array - items: *163 + items: *166 examples: default: value: @@ -108149,7 +108562,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *216 + - *219 - name: type description: Limit results to repositories of the specified type. in: query @@ -108192,9 +108605,9 @@ paths: application/json: schema: type: array - items: *194 + items: *197 examples: - default: *303 + default: *306 headers: Link: *39 x-github: @@ -108218,15 +108631,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: - - *216 + - *219 responses: '200': description: Response content: application/json: - schema: *334 + schema: *339 examples: - default: *335 + default: *340 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108248,15 +108661,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: - - *216 + - *219 responses: '200': description: Response content: application/json: - schema: *338 + schema: *343 examples: - default: *339 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108278,15 +108691,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: - - *216 + - *219 responses: '200': description: Response content: application/json: - schema: *340 + schema: *345 examples: - default: *341 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108304,7 +108717,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: - - *216 + - *219 - *17 - *19 responses: @@ -108314,9 +108727,9 @@ paths: application/json: schema: type: array - items: *724 + items: *729 examples: - default: *725 + default: *730 headers: Link: *39 x-github: @@ -108336,7 +108749,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: - - *216 + - *219 - *17 - *19 responses: @@ -108346,9 +108759,9 @@ paths: application/json: schema: type: array - items: *726 + items: *731 examples: - default: *735 + default: *740 headers: Link: *39 x-github: @@ -108372,9 +108785,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *216 - - *736 - - *84 + - *219 + - *741 + - *86 - *17 - *19 responses: @@ -108385,11 +108798,11 @@ paths: schema: anyOf: - type: array - items: *737 + items: *742 - type: array items: *63 examples: - default-response: *729 + default-response: *734 headers: Link: *39 x-github: @@ -108408,7 +108821,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *216 + - *219 - *17 - *19 responses: @@ -108418,9 +108831,9 @@ paths: application/json: schema: type: array - items: *194 + items: *197 examples: - default: *303 + default: *306 headers: Link: *39 x-github: @@ -108548,7 +108961,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &738 + enterprise: &743 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -108606,7 +109019,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &739 + installation: &744 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -108625,7 +109038,7 @@ x-webhooks: required: - id - node_id - organization: &740 + organization: &745 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -108685,13 +109098,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &741 + repository: &746 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &778 + properties: &783 id: description: Unique identifier of the repository example: 42 @@ -108711,8 +109124,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *152 - required: *153 + properties: *155 + required: *156 nullable: true organization: title: Simple User @@ -109374,7 +109787,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &779 + required: &784 - archive_url - assignees_url - blobs_url @@ -109525,10 +109938,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -109604,11 +110017,11 @@ x-webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - rule: &742 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + rule: &747 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) @@ -109831,11 +110244,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - rule: *742 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + rule: *747 sender: *4 required: - action @@ -110018,11 +110431,11 @@ x-webhooks: - everyone required: - from - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - rule: *742 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + rule: *747 sender: *4 required: - action @@ -110095,7 +110508,7 @@ x-webhooks: required: true content: application/json: - schema: &745 + schema: &750 title: Exemption request cancellation event type: object properties: @@ -110103,11 +110516,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - exemption_request: &743 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + exemption_request: &748 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -110257,7 +110670,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &744 + items: &749 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -110367,7 +110780,7 @@ x-webhooks: required: true content: application/json: - schema: &746 + schema: &751 title: Exemption request completed event type: object properties: @@ -110375,11 +110788,11 @@ x-webhooks: type: string enum: - completed - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - exemption_request: *743 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + exemption_request: *748 sender: *4 required: - action @@ -110451,7 +110864,7 @@ x-webhooks: required: true content: application/json: - schema: &747 + schema: &752 title: Exemption request created event type: object properties: @@ -110459,11 +110872,11 @@ x-webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - exemption_request: *743 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + exemption_request: *748 sender: *4 required: - action @@ -110535,7 +110948,7 @@ x-webhooks: required: true content: application/json: - schema: &748 + schema: &753 title: Exemption response dismissed event type: object properties: @@ -110543,12 +110956,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - exemption_request: *743 - exemption_response: *744 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + exemption_request: *748 + exemption_response: *749 sender: *4 required: - action @@ -110622,7 +111035,7 @@ x-webhooks: required: true content: application/json: - schema: &749 + schema: &754 title: Exemption response submitted event type: object properties: @@ -110630,12 +111043,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - exemption_request: *743 - exemption_response: *744 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + exemption_request: *748 + exemption_response: *749 sender: *4 required: - action @@ -110708,7 +111121,7 @@ x-webhooks: required: true content: application/json: - schema: *745 + schema: *750 responses: '200': description: Return a 200 status to indicate that the data was received @@ -110775,7 +111188,7 @@ x-webhooks: required: true content: application/json: - schema: *746 + schema: *751 responses: '200': description: Return a 200 status to indicate that the data was received @@ -110842,7 +111255,7 @@ x-webhooks: required: true content: application/json: - schema: *747 + schema: *752 responses: '200': description: Return a 200 status to indicate that the data was received @@ -110909,7 +111322,7 @@ x-webhooks: required: true content: application/json: - schema: *748 + schema: *753 responses: '200': description: Return a 200 status to indicate that the data was received @@ -110977,7 +111390,7 @@ x-webhooks: required: true content: application/json: - schema: *749 + schema: *754 responses: '200': description: Return a 200 status to indicate that the data was received @@ -111055,7 +111468,7 @@ x-webhooks: type: string enum: - completed - check_run: &751 + check_run: &756 title: CheckRun description: A check performed on the code of a given code change type: object @@ -111069,8 +111482,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 check_suite: description: A suite of checks performed on the code of a given code change @@ -111118,8 +111531,8 @@ x-webhooks: type: string pull_requests: type: array - items: *435 - repository: *194 + items: *440 + repository: *197 status: example: completed type: string @@ -111156,7 +111569,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *750 + deployment: *755 details_url: example: https://example.com type: string @@ -111206,7 +111619,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *435 + items: *440 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -111241,9 +111654,9 @@ x-webhooks: - output - app - pull_requests - installation: *739 - organization: *740 - repository: *741 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - check_run @@ -111636,10 +112049,10 @@ x-webhooks: type: string enum: - created - check_run: *751 - installation: *739 - organization: *740 - repository: *741 + check_run: *756 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - check_run @@ -112035,10 +112448,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *751 - installation: *739 - organization: *740 - repository: *741 + check_run: *756 + installation: *744 + organization: *745 + repository: *746 requested_action: description: The action requested by the user. type: object @@ -112443,10 +112856,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *751 - installation: *739 - organization: *740 - repository: *741 + check_run: *756 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - check_run @@ -113423,10 +113836,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -114096,10 +114509,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -114763,10 +115176,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -114929,7 +115342,7 @@ x-webhooks: required: - login - id - dismissed_comment: *448 + dismissed_comment: *453 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -115074,20 +115487,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &752 + commit_oid: &757 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: *738 - installation: *739 - organization: *740 - ref: &753 + enterprise: *743 + installation: *744 + organization: *745 + ref: &758 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: *741 + repository: *746 sender: *4 required: - action @@ -115249,7 +115662,7 @@ x-webhooks: required: - login - id - dismissed_comment: *448 + dismissed_comment: *453 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -115410,12 +115823,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *752 - enterprise: *738 - installation: *739 - organization: *740 - ref: *753 - repository: *741 + commit_oid: *757 + enterprise: *743 + installation: *744 + organization: *745 + ref: *758 + repository: *746 sender: *4 required: - action @@ -115510,7 +115923,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *448 + dismissed_comment: *453 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115676,12 +116089,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *752 - enterprise: *738 - installation: *739 - organization: *740 - ref: *753 - repository: *741 + commit_oid: *757 + enterprise: *743 + installation: *744 + organization: *745 + ref: *758 + repository: *746 sender: *4 required: - action @@ -115844,7 +116257,7 @@ x-webhooks: required: - login - id - dismissed_comment: *448 + dismissed_comment: *453 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -116010,12 +116423,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *752 - enterprise: *738 - installation: *739 - organization: *740 - ref: *753 - repository: *741 + commit_oid: *757 + enterprise: *743 + installation: *744 + organization: *745 + ref: *758 + repository: *746 sender: *4 required: - action @@ -116112,7 +116525,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *448 + dismissed_comment: *453 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -116280,16 +116693,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 ref: 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 nullable: true - repository: *741 + repository: *746 sender: *4 required: - action @@ -116383,7 +116796,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *448 + dismissed_comment: *453 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -116523,12 +116936,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *752 - enterprise: *738 - installation: *739 - organization: *740 - ref: *753 - repository: *741 + commit_oid: *757 + enterprise: *743 + installation: *744 + organization: *745 + ref: *758 + repository: *746 sender: *4 required: - action @@ -116785,10 +117198,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -116868,18 +117281,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *740 - pusher_type: &754 + organization: *745 + pusher_type: &759 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &755 + ref: &760 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -116889,7 +117302,7 @@ x-webhooks: enum: - tag - branch - repository: *741 + repository: *746 sender: *4 required: - ref @@ -116971,10 +117384,10 @@ x-webhooks: type: string enum: - created - definition: *112 - enterprise: *738 - installation: *739 - organization: *740 + definition: *114 + enterprise: *743 + installation: *744 + organization: *745 sender: *4 required: - action @@ -117059,9 +117472,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 sender: *4 required: - action @@ -117138,10 +117551,10 @@ x-webhooks: type: string enum: - updated - definition: *112 - enterprise: *738 - installation: *739 - organization: *740 + definition: *114 + enterprise: *743 + installation: *744 + organization: *745 sender: *4 required: - action @@ -117218,19 +117631,19 @@ x-webhooks: type: string enum: - updated - enterprise: *738 - installation: *739 - repository: *741 - organization: *740 + enterprise: *743 + installation: *744 + repository: *746 + organization: *745 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *314 + items: *317 old_property_values: type: array description: The old custom property values for the repository. - items: *314 + items: *317 required: - action - repository @@ -117306,18 +117719,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *738 - installation: *739 - organization: *740 - pusher_type: *754 - ref: *755 + enterprise: *743 + installation: *744 + organization: *745 + pusher_type: *759 + ref: *760 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *741 + repository: *746 sender: *4 required: - ref @@ -117401,11 +117814,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *505 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + alert: *510 + installation: *744 + organization: *745 + enterprise: *743 + repository: *746 sender: *4 required: - action @@ -117489,11 +117902,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *505 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + alert: *510 + installation: *744 + organization: *745 + enterprise: *743 + repository: *746 sender: *4 required: - action @@ -117577,11 +117990,11 @@ x-webhooks: type: string enum: - created - alert: *505 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + alert: *510 + installation: *744 + organization: *745 + enterprise: *743 + repository: *746 sender: *4 required: - action @@ -117663,11 +118076,11 @@ x-webhooks: type: string enum: - dismissed - alert: *505 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + alert: *510 + installation: *744 + organization: *745 + enterprise: *743 + repository: *746 sender: *4 required: - action @@ -117749,11 +118162,11 @@ x-webhooks: type: string enum: - fixed - alert: *505 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + alert: *510 + installation: *744 + organization: *745 + enterprise: *743 + repository: *746 sender: *4 required: - action @@ -117836,11 +118249,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *505 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + alert: *510 + installation: *744 + organization: *745 + enterprise: *743 + repository: *746 sender: *4 required: - action @@ -117922,11 +118335,11 @@ x-webhooks: type: string enum: - reopened - alert: *505 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + alert: *510 + installation: *744 + organization: *745 + enterprise: *743 + repository: *746 sender: *4 required: - action @@ -118003,9 +118416,9 @@ x-webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - key: &756 + enterprise: *743 + installation: *744 + key: &761 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -118041,8 +118454,8 @@ x-webhooks: - verified - created_at - read_only - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -118119,11 +118532,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - key: *756 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + key: *761 + organization: *745 + repository: *746 sender: *4 required: - action @@ -118684,12 +119097,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 - workflow: &760 + workflow: &765 title: Workflow type: object nullable: true @@ -119415,13 +119828,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *511 + deployment: *516 pull_requests: type: array - items: *596 - repository: *741 - organization: *740 - installation: *739 + items: *601 + repository: *746 + organization: *745 + installation: *744 sender: *4 responses: '200': @@ -119492,7 +119905,7 @@ x-webhooks: type: string enum: - approved - approver: &757 + approver: &762 type: object properties: avatar_url: @@ -119535,11 +119948,11 @@ x-webhooks: type: string comment: type: string - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - reviewers: &758 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + reviewers: &763 type: array items: type: object @@ -119618,7 +120031,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &759 + workflow_job_run: &764 type: object properties: conclusion: @@ -120349,18 +120762,18 @@ x-webhooks: type: string enum: - rejected - approver: *757 + approver: *762 comment: type: string - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - reviewers: *758 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + reviewers: *763 sender: *4 since: type: string - workflow_job_run: *759 + workflow_job_run: *764 workflow_job_runs: type: array items: @@ -121064,13 +121477,13 @@ x-webhooks: type: string enum: - requested - enterprise: *738 + enterprise: *743 environment: type: string - installation: *739 - organization: *740 - repository: *741 - requestor: &765 + installation: *744 + organization: *745 + repository: *746 + requestor: &770 title: User type: object nullable: true @@ -122969,12 +123382,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 - workflow: *760 + workflow: *765 workflow_run: title: Deployment Workflow Run type: object @@ -123654,7 +124067,7 @@ x-webhooks: type: string enum: - answered - answer: &763 + answer: &768 type: object properties: author_association: @@ -123811,7 +124224,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &761 + discussion: &766 title: Discussion description: A Discussion in a repository. type: object @@ -124097,7 +124510,7 @@ x-webhooks: - id labels: type: array - items: *558 + items: *563 required: - repository_url - category @@ -124119,10 +124532,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -124249,11 +124662,11 @@ x-webhooks: - from required: - category - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *766 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -124336,11 +124749,11 @@ x-webhooks: type: string enum: - closed - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *766 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -124422,7 +124835,7 @@ x-webhooks: type: string enum: - created - comment: &762 + comment: &767 type: object properties: author_association: @@ -124579,11 +124992,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *766 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -124666,12 +125079,12 @@ x-webhooks: type: string enum: - deleted - comment: *762 - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + comment: *767 + discussion: *766 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -124766,12 +125179,12 @@ x-webhooks: - from required: - body - comment: *762 - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + comment: *767 + discussion: *766 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -124855,11 +125268,11 @@ x-webhooks: type: string enum: - created - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *766 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -124941,11 +125354,11 @@ x-webhooks: type: string enum: - deleted - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *766 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -125045,11 +125458,11 @@ x-webhooks: type: string required: - from - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *766 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -125131,10 +125544,10 @@ x-webhooks: type: string enum: - labeled - discussion: *761 - enterprise: *738 - installation: *739 - label: &764 + discussion: *766 + enterprise: *743 + installation: *744 + label: &769 title: Label type: object properties: @@ -125166,8 +125579,8 @@ x-webhooks: - color - default - description - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -125250,11 +125663,11 @@ x-webhooks: type: string enum: - locked - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *766 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -125336,11 +125749,11 @@ x-webhooks: type: string enum: - pinned - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *766 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -125422,11 +125835,11 @@ x-webhooks: type: string enum: - reopened - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *766 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -125511,16 +125924,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *761 - new_repository: *741 + new_discussion: *766 + new_repository: *746 required: - new_discussion - new_repository - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *766 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -125603,10 +126016,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *761 - old_answer: *763 - organization: *740 - repository: *741 + discussion: *766 + old_answer: *768 + organization: *745 + repository: *746 sender: *4 required: - action @@ -125688,12 +126101,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *761 - enterprise: *738 - installation: *739 - label: *764 - organization: *740 - repository: *741 + discussion: *766 + enterprise: *743 + installation: *744 + label: *769 + organization: *745 + repository: *746 sender: *4 required: - action @@ -125776,11 +126189,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *766 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -125862,11 +126275,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *766 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -125939,7 +126352,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *738 + enterprise: *743 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -126599,9 +127012,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *739 - organization: *740 - repository: *741 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - forkee @@ -126747,9 +127160,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 pages: description: The pages that were updated. type: array @@ -126786,7 +127199,7 @@ x-webhooks: - action - sha - html_url - repository: *741 + repository: *746 sender: *4 required: - pages @@ -126862,10 +127275,10 @@ x-webhooks: type: string enum: - created - enterprise: *738 + enterprise: *743 installation: *22 - organization: *740 - repositories: &766 + organization: *745 + repositories: &771 description: An array of repository objects that the installation can access. type: array @@ -126891,8 +127304,8 @@ x-webhooks: - name - full_name - private - repository: *741 - requester: *765 + repository: *746 + requester: *770 sender: *4 required: - action @@ -126967,11 +127380,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *738 + enterprise: *743 installation: *22 - organization: *740 - repositories: *766 - repository: *741 + organization: *745 + repositories: *771 + repository: *746 requester: nullable: true sender: *4 @@ -127047,11 +127460,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *738 + enterprise: *743 installation: *22 - organization: *740 - repositories: *766 - repository: *741 + organization: *745 + repositories: *771 + repository: *746 requester: nullable: true sender: *4 @@ -127127,10 +127540,10 @@ x-webhooks: type: string enum: - added - enterprise: *738 + enterprise: *743 installation: *22 - organization: *740 - repositories_added: &767 + organization: *745 + repositories_added: &772 description: An array of repository objects, which were added to the installation. type: array @@ -127176,15 +127589,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *741 - repository_selection: &768 + repository: *746 + repository_selection: &773 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *765 + requester: *770 sender: *4 required: - action @@ -127263,10 +127676,10 @@ x-webhooks: type: string enum: - removed - enterprise: *738 + enterprise: *743 installation: *22 - organization: *740 - repositories_added: *767 + organization: *745 + repositories_added: *772 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -127293,9 +127706,9 @@ x-webhooks: - name - full_name - private - repository: *741 - repository_selection: *768 - requester: *765 + repository: *746 + repository_selection: *773 + requester: *770 sender: *4 required: - action @@ -127374,11 +127787,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *738 + enterprise: *743 installation: *22 - organization: *740 - repositories: *766 - repository: *741 + organization: *745 + repositories: *771 + repository: *746 requester: nullable: true sender: *4 @@ -127557,10 +127970,10 @@ x-webhooks: type: string required: - from - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 target_type: type: string @@ -127639,11 +128052,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *738 + enterprise: *743 installation: *22 - organization: *740 - repositories: *766 - repository: *741 + organization: *745 + repositories: *771 + repository: *746 requester: nullable: true sender: *4 @@ -127767,8 +128180,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *136 - required: *137 + properties: *139 + required: *140 reactions: title: Reactions type: object @@ -127895,8 +128308,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -129051,8 +129464,8 @@ x-webhooks: - state - locked - assignee - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -129132,7 +129545,7 @@ x-webhooks: type: string enum: - deleted - comment: &769 + comment: &774 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -129297,8 +129710,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -130451,8 +130864,8 @@ x-webhooks: - state - locked - assignee - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -130532,7 +130945,7 @@ x-webhooks: type: string enum: - edited - changes: &797 + changes: &802 description: The changes to the comment. type: object properties: @@ -130544,9 +130957,9 @@ x-webhooks: type: string required: - from - comment: *769 - enterprise: *738 - installation: *739 + comment: *774 + enterprise: *743 + installation: *744 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -131700,8 +132113,8 @@ x-webhooks: - state - locked - assignee - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -131783,10 +132196,10 @@ x-webhooks: type: string enum: - assigned - assignee: *765 - enterprise: *738 - installation: *739 - issue: &772 + assignee: *770 + enterprise: *743 + installation: *744 + issue: &777 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -132704,8 +133117,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -132785,8 +133198,8 @@ x-webhooks: type: string enum: - closed - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -133844,8 +134257,8 @@ x-webhooks: required: - state - closed_at - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -133924,8 +134337,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -134836,8 +135249,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -134916,8 +135329,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -135831,7 +136244,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &770 + milestone: &775 title: Milestone description: A collection of related issues and pull requests. type: object @@ -135969,8 +136382,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -136069,8 +136482,8 @@ x-webhooks: type: string required: - from - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -136988,9 +137401,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *764 - organization: *740 - repository: *741 + label: *769 + organization: *745 + repository: *746 sender: *4 required: - action @@ -137070,8 +137483,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137988,9 +138401,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *764 - organization: *740 - repository: *741 + label: *769 + organization: *745 + repository: *746 sender: *4 required: - action @@ -138070,8 +138483,8 @@ x-webhooks: type: string enum: - locked - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -138989,8 +139402,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -139069,8 +139482,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -139982,9 +140395,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *770 - organization: *740 - repository: *741 + milestone: *775 + organization: *745 + repository: *746 sender: *4 required: - action @@ -141445,8 +141858,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142363,8 +142776,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -142444,9 +142857,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *738 - installation: *739 - issue: &771 + enterprise: *743 + installation: *744 + issue: &776 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -143357,8 +143770,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -143437,8 +143850,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -144355,8 +144768,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -145818,11 +146231,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *738 - installation: *739 - issue: *771 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + issue: *776 + organization: *745 + repository: *746 sender: *4 required: - action @@ -145903,7 +146316,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &800 + assignee: &805 title: User type: object nullable: true @@ -145973,11 +146386,11 @@ x-webhooks: required: - login - id - enterprise: *738 - installation: *739 - issue: *772 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + issue: *777 + organization: *745 + repository: *746 sender: *4 required: - action @@ -146056,12 +146469,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *738 - installation: *739 - issue: *772 - label: *764 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + issue: *777 + label: *769 + organization: *745 + repository: *746 sender: *4 required: - action @@ -146141,8 +146554,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147058,8 +147471,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -147139,11 +147552,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *738 - installation: *739 - issue: *771 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + issue: *776 + organization: *745 + repository: *746 sender: *4 required: - action @@ -147222,11 +147635,11 @@ x-webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - label: *764 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + label: *769 + organization: *745 + repository: *746 sender: *4 required: - action @@ -147304,11 +147717,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - label: *764 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + label: *769 + organization: *745 + repository: *746 sender: *4 required: - action @@ -147418,11 +147831,11 @@ x-webhooks: type: string required: - from - enterprise: *738 - installation: *739 - label: *764 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + label: *769 + organization: *745 + repository: *746 sender: *4 required: - action @@ -147504,9 +147917,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *738 - installation: *739 - marketplace_purchase: &773 + enterprise: *743 + installation: *744 + marketplace_purchase: &778 title: Marketplace Purchase type: object required: @@ -147589,8 +148002,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *740 - previous_marketplace_purchase: &774 + organization: *745 + previous_marketplace_purchase: &779 title: Marketplace Purchase type: object properties: @@ -147670,7 +148083,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *741 + repository: *746 sender: *4 required: - action @@ -147750,10 +148163,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *738 - installation: *739 - marketplace_purchase: *773 - organization: *740 + enterprise: *743 + installation: *744 + marketplace_purchase: *778 + organization: *745 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -147836,7 +148249,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *741 + repository: *746 sender: *4 required: - action @@ -147918,10 +148331,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *738 - installation: *739 - marketplace_purchase: *773 - organization: *740 + enterprise: *743 + installation: *744 + marketplace_purchase: *778 + organization: *745 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148003,7 +148416,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *741 + repository: *746 sender: *4 required: - action @@ -148084,8 +148497,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 marketplace_purchase: title: Marketplace Purchase type: object @@ -148167,9 +148580,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *740 - previous_marketplace_purchase: *774 - repository: *741 + organization: *745 + previous_marketplace_purchase: *779 + repository: *746 sender: *4 required: - action @@ -148249,12 +148662,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *738 - installation: *739 - marketplace_purchase: *773 - organization: *740 - previous_marketplace_purchase: *774 - repository: *741 + enterprise: *743 + installation: *744 + marketplace_purchase: *778 + organization: *745 + previous_marketplace_purchase: *779 + repository: *746 sender: *4 required: - action @@ -148356,11 +148769,11 @@ x-webhooks: type: string required: - to - enterprise: *738 - installation: *739 - member: *765 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + member: *770 + organization: *745 + repository: *746 sender: *4 required: - action @@ -148460,11 +148873,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *738 - installation: *739 - member: *765 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + member: *770 + organization: *745 + repository: *746 sender: *4 required: - action @@ -148543,11 +148956,11 @@ x-webhooks: type: string enum: - removed - enterprise: *738 - installation: *739 - member: *765 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + member: *770 + organization: *745 + repository: *746 sender: *4 required: - action @@ -148625,11 +149038,11 @@ x-webhooks: type: string enum: - added - enterprise: *738 - installation: *739 - member: *765 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + member: *770 + organization: *745 + repository: *746 scope: description: The scope of the membership. Currently, can only be `team`. @@ -148705,7 +149118,7 @@ x-webhooks: required: - login - id - team: &775 + team: &780 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -148895,11 +149308,11 @@ x-webhooks: type: string enum: - removed - enterprise: *738 - installation: *739 - member: *765 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + member: *770 + organization: *745 + repository: *746 scope: description: The scope of the membership. Currently, can only be `team`. @@ -148976,7 +149389,7 @@ x-webhooks: required: - login - id - team: *775 + team: *780 required: - action - scope @@ -149058,8 +149471,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *739 - merge_group: &777 + installation: *744 + merge_group: &782 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -149078,15 +149491,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *776 + head_commit: *781 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -149172,10 +149585,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *739 - merge_group: *777 - organization: *740 - repository: *741 + installation: *744 + merge_group: *782 + organization: *745 + repository: *746 sender: *4 required: - action @@ -149248,7 +149661,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *738 + enterprise: *743 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -149356,16 +149769,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *739 - organization: *740 + installation: *744 + organization: *745 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *778 - required: *779 + properties: *783 + required: *784 nullable: true sender: *4 required: @@ -149446,11 +149859,11 @@ x-webhooks: type: string enum: - closed - enterprise: *738 - installation: *739 - milestone: *770 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + milestone: *775 + organization: *745 + repository: *746 sender: *4 required: - action @@ -149529,9 +149942,9 @@ x-webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - milestone: &780 + enterprise: *743 + installation: *744 + milestone: &785 title: Milestone description: A collection of related issues and pull requests. type: object @@ -149668,8 +150081,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -149748,11 +150161,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - milestone: *770 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + milestone: *775 + organization: *745 + repository: *746 sender: *4 required: - action @@ -149862,11 +150275,11 @@ x-webhooks: type: string required: - from - enterprise: *738 - installation: *739 - milestone: *770 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + milestone: *775 + organization: *745 + repository: *746 sender: *4 required: - action @@ -149946,11 +150359,11 @@ x-webhooks: type: string enum: - opened - enterprise: *738 - installation: *739 - milestone: *780 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + milestone: *785 + organization: *745 + repository: *746 sender: *4 required: - action @@ -150029,11 +150442,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *765 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + blocked_user: *770 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -150112,11 +150525,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *765 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + blocked_user: *770 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -150195,9 +150608,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - membership: &781 + enterprise: *743 + installation: *744 + membership: &786 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -150289,8 +150702,8 @@ x-webhooks: - role - organization_url - user - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 required: - action @@ -150368,11 +150781,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *738 - installation: *739 - membership: *781 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + membership: *786 + organization: *745 + repository: *746 sender: *4 required: - action @@ -150451,8 +150864,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -150568,10 +150981,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 - user: *765 + user: *770 required: - action - invitation @@ -150649,11 +151062,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *738 - installation: *739 - membership: *781 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + membership: *786 + organization: *745 + repository: *746 sender: *4 required: - action @@ -150740,11 +151153,11 @@ x-webhooks: properties: from: type: string - enterprise: *738 - installation: *739 - membership: *781 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + membership: *786 + organization: *745 + repository: *746 sender: *4 required: - action @@ -150820,9 +151233,9 @@ x-webhooks: type: string enum: - published - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 package: description: Information about the package. type: object @@ -151321,7 +151734,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &782 + items: &787 title: Ruby Gems metadata type: object properties: @@ -151416,7 +151829,7 @@ x-webhooks: - owner - package_version - registry - repository: *741 + repository: *746 sender: *4 required: - action @@ -151492,9 +151905,9 @@ x-webhooks: type: string enum: - updated - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 package: description: Information about the package. type: object @@ -151847,7 +152260,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *782 + items: *787 source_url: type: string format: uri @@ -151917,7 +152330,7 @@ x-webhooks: - owner - package_version - registry - repository: *741 + repository: *746 sender: *4 required: - action @@ -152094,12 +152507,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *738 + enterprise: *743 id: type: integer - installation: *739 - organization: *740 - repository: *741 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - id @@ -152179,7 +152592,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &783 + personal_access_token_request: &788 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -152325,10 +152738,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *738 - organization: *740 + enterprise: *743 + organization: *745 sender: *4 - installation: *739 + installation: *744 required: - action - personal_access_token_request @@ -152407,11 +152820,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *783 - enterprise: *738 - organization: *740 + personal_access_token_request: *788 + enterprise: *743 + organization: *745 sender: *4 - installation: *739 + installation: *744 required: - action - personal_access_token_request @@ -152489,11 +152902,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *783 - enterprise: *738 - organization: *740 + personal_access_token_request: *788 + enterprise: *743 + organization: *745 sender: *4 - installation: *739 + installation: *744 required: - action - personal_access_token_request @@ -152570,11 +152983,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *783 - organization: *740 - enterprise: *738 + personal_access_token_request: *788 + organization: *745 + enterprise: *743 sender: *4 - installation: *739 + installation: *744 required: - action - personal_access_token_request @@ -152678,7 +153091,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *784 + last_response: *789 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -152710,8 +153123,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 zen: description: Random string of GitHub zen. @@ -152956,10 +153369,10 @@ x-webhooks: - from required: - note - enterprise: *738 - installation: *739 - organization: *740 - project_card: &785 + enterprise: *743 + installation: *744 + organization: *745 + project_card: &790 title: Project Card type: object properties: @@ -153078,7 +153491,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *741 + repository: *746 sender: *4 required: - action @@ -153159,11 +153572,11 @@ x-webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - project_card: *785 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + project_card: *790 + repository: *746 sender: *4 required: - action @@ -153243,9 +153656,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 project_card: title: Project Card type: object @@ -153373,8 +153786,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *778 - required: *779 + properties: *783 + required: *784 nullable: true sender: *4 required: @@ -153468,11 +153881,11 @@ x-webhooks: - from required: - note - enterprise: *738 - installation: *739 - organization: *740 - project_card: *785 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + project_card: *790 + repository: *746 sender: *4 required: - action @@ -153566,9 +153979,9 @@ x-webhooks: - from required: - column_id - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 project_card: allOf: - title: Project Card @@ -153758,7 +154171,7 @@ x-webhooks: type: string required: - after_id - repository: *741 + repository: *746 sender: *4 required: - action @@ -153838,10 +154251,10 @@ x-webhooks: type: string enum: - closed - enterprise: *738 - installation: *739 - organization: *740 - project: &787 + enterprise: *743 + installation: *744 + organization: *745 + project: &792 title: Project type: object properties: @@ -153965,7 +154378,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *741 + repository: *746 sender: *4 required: - action @@ -154045,10 +154458,10 @@ x-webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - project_column: &786 + enterprise: *743 + installation: *744 + organization: *745 + project_column: &791 title: Project Column type: object properties: @@ -154087,7 +154500,7 @@ x-webhooks: - name - created_at - updated_at - repository: *741 + repository: *746 sender: *4 required: - action @@ -154166,18 +154579,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - project_column: *786 + enterprise: *743 + installation: *744 + organization: *745 + project_column: *791 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *778 - required: *779 + properties: *783 + required: *784 nullable: true sender: *4 required: @@ -154267,11 +154680,11 @@ x-webhooks: type: string required: - from - enterprise: *738 - installation: *739 - organization: *740 - project_column: *786 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + project_column: *791 + repository: *746 sender: *4 required: - action @@ -154351,11 +154764,11 @@ x-webhooks: type: string enum: - moved - enterprise: *738 - installation: *739 - organization: *740 - project_column: *786 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + project_column: *791 + repository: *746 sender: *4 required: - action @@ -154435,11 +154848,11 @@ x-webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - project: *787 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + project: *792 + repository: *746 sender: *4 required: - action @@ -154519,18 +154932,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - project: *787 + enterprise: *743 + installation: *744 + organization: *745 + project: *792 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *778 - required: *779 + properties: *783 + required: *784 nullable: true sender: *4 required: @@ -154632,11 +155045,11 @@ x-webhooks: type: string required: - from - enterprise: *738 - installation: *739 - organization: *740 - project: *787 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + project: *792 + repository: *746 sender: *4 required: - action @@ -154715,11 +155128,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *738 - installation: *739 - organization: *740 - project: *787 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + project: *792 + repository: *746 sender: *4 required: - action @@ -154800,9 +155213,9 @@ x-webhooks: type: string enum: - closed - installation: *739 - organization: *740 - projects_v2: &788 + installation: *744 + organization: *745 + projects_v2: &793 title: Projects v2 Project description: A projects v2 project type: object @@ -154945,9 +155358,9 @@ x-webhooks: type: string enum: - created - installation: *739 - organization: *740 - projects_v2: *788 + installation: *744 + organization: *745 + projects_v2: *793 sender: *4 required: - action @@ -155028,9 +155441,9 @@ x-webhooks: type: string enum: - deleted - installation: *739 - organization: *740 - projects_v2: *788 + installation: *744 + organization: *745 + projects_v2: *793 sender: *4 required: - action @@ -155147,9 +155560,9 @@ x-webhooks: type: string to: type: string - installation: *739 - organization: *740 - projects_v2: *788 + installation: *744 + organization: *745 + projects_v2: *793 sender: *4 required: - action @@ -155232,7 +155645,7 @@ x-webhooks: type: string enum: - archived - changes: &792 + changes: &797 type: object properties: archived_at: @@ -155246,9 +155659,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *739 - organization: *740 - projects_v2_item: &789 + installation: *744 + organization: *745 + projects_v2_item: &794 title: Projects v2 Item description: An item belonging to a project type: object @@ -155382,9 +155795,9 @@ x-webhooks: nullable: true to: type: string - installation: *739 - organization: *740 - projects_v2_item: *789 + installation: *744 + organization: *745 + projects_v2_item: *794 sender: *4 required: - action @@ -155466,9 +155879,9 @@ x-webhooks: type: string enum: - created - installation: *739 - organization: *740 - projects_v2_item: *789 + installation: *744 + organization: *745 + projects_v2_item: *794 sender: *4 required: - action @@ -155549,9 +155962,9 @@ x-webhooks: type: string enum: - deleted - installation: *739 - organization: *740 - projects_v2_item: *789 + installation: *744 + organization: *745 + projects_v2_item: *794 sender: *4 required: - action @@ -155657,7 +156070,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &790 + - &795 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -155675,7 +156088,7 @@ x-webhooks: required: - id - name - - &791 + - &796 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -155698,8 +156111,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *790 - - *791 + - *795 + - *796 required: - field_value - type: object @@ -155715,9 +156128,9 @@ x-webhooks: nullable: true required: - body - installation: *739 - organization: *740 - projects_v2_item: *789 + installation: *744 + organization: *745 + projects_v2_item: *794 sender: *4 required: - action @@ -155812,9 +156225,9 @@ x-webhooks: to: type: string nullable: true - installation: *739 - organization: *740 - projects_v2_item: *789 + installation: *744 + organization: *745 + projects_v2_item: *794 sender: *4 required: - action @@ -155897,10 +156310,10 @@ x-webhooks: type: string enum: - restored - changes: *792 - installation: *739 - organization: *740 - projects_v2_item: *789 + changes: *797 + installation: *744 + organization: *745 + projects_v2_item: *794 sender: *4 required: - action @@ -155982,9 +156395,9 @@ x-webhooks: type: string enum: - reopened - installation: *739 - organization: *740 - projects_v2: *788 + installation: *744 + organization: *745 + projects_v2: *793 sender: *4 required: - action @@ -156065,9 +156478,9 @@ x-webhooks: type: string enum: - created - installation: *739 - organization: *740 - projects_v2_status_update: &793 + installation: *744 + organization: *745 + projects_v2_status_update: &798 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -156194,9 +156607,9 @@ x-webhooks: type: string enum: - deleted - installation: *739 - organization: *740 - projects_v2_status_update: *793 + installation: *744 + organization: *745 + projects_v2_status_update: *798 sender: *4 required: - action @@ -156332,9 +156745,9 @@ x-webhooks: type: string format: date nullable: true - installation: *739 - organization: *740 - projects_v2_status_update: *793 + installation: *744 + organization: *745 + projects_v2_status_update: *798 sender: *4 required: - action @@ -156405,10 +156818,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - repository @@ -156485,13 +156898,13 @@ x-webhooks: type: string enum: - assigned - assignee: *765 - enterprise: *738 - installation: *739 - number: &794 + assignee: *770 + enterprise: *743 + installation: *744 + number: &799 description: The pull request number. type: integer - organization: *740 + organization: *745 pull_request: title: Pull Request type: object @@ -158774,7 +159187,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *746 sender: *4 required: - action @@ -158856,11 +159269,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 number: type: integer - organization: *740 + organization: *745 pull_request: title: Pull Request type: object @@ -161138,7 +161551,7 @@ x-webhooks: - draft reason: type: string - repository: *741 + repository: *746 sender: *4 required: - action @@ -161220,11 +161633,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 number: type: integer - organization: *740 + organization: *745 pull_request: title: Pull Request type: object @@ -163502,7 +163915,7 @@ x-webhooks: - draft reason: type: string - repository: *741 + repository: *746 sender: *4 required: - action @@ -163584,13 +163997,13 @@ x-webhooks: type: string enum: - closed - enterprise: *738 - installation: *739 - number: *794 - organization: *740 - pull_request: &795 + enterprise: *743 + installation: *744 + number: *799 + organization: *745 + pull_request: &800 allOf: - - *596 + - *601 - type: object properties: allow_auto_merge: @@ -163652,7 +164065,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *741 + repository: *746 sender: *4 required: - action @@ -163733,12 +164146,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *738 - installation: *739 - number: *794 - organization: *740 - pull_request: *795 - repository: *741 + enterprise: *743 + installation: *744 + number: *799 + organization: *745 + pull_request: *800 + repository: *746 sender: *4 required: - action @@ -163818,11 +164231,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *738 - milestone: *579 - number: *794 - organization: *740 - pull_request: &796 + enterprise: *743 + milestone: *584 + number: *799 + organization: *745 + pull_request: &801 title: Pull Request type: object properties: @@ -166085,7 +166498,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *746 sender: *4 required: - action @@ -166164,11 +166577,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 number: type: integer - organization: *740 + organization: *745 pull_request: title: Pull Request type: object @@ -168450,7 +168863,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *741 + repository: *746 sender: *4 required: - action @@ -168574,12 +168987,12 @@ x-webhooks: type: string required: - from - enterprise: *738 - installation: *739 - number: *794 - organization: *740 - pull_request: *795 - repository: *741 + enterprise: *743 + installation: *744 + number: *799 + organization: *745 + pull_request: *800 + repository: *746 sender: *4 required: - action @@ -168659,11 +169072,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 number: type: integer - organization: *740 + organization: *745 pull_request: title: Pull Request type: object @@ -170930,7 +171343,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *746 sender: *4 required: - action @@ -171010,11 +171423,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *738 - installation: *739 - label: *764 - number: *794 - organization: *740 + enterprise: *743 + installation: *744 + label: *769 + number: *799 + organization: *745 pull_request: title: Pull Request type: object @@ -173296,7 +173709,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *746 sender: *4 required: - action @@ -173377,10 +173790,10 @@ x-webhooks: type: string enum: - locked - enterprise: *738 - installation: *739 - number: *794 - organization: *740 + enterprise: *743 + installation: *744 + number: *799 + organization: *745 pull_request: title: Pull Request type: object @@ -175660,7 +176073,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *746 sender: *4 required: - action @@ -175740,12 +176153,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *738 - milestone: *579 - number: *794 - organization: *740 - pull_request: *796 - repository: *741 + enterprise: *743 + milestone: *584 + number: *799 + organization: *745 + pull_request: *801 + repository: *746 sender: *4 required: - action @@ -175824,12 +176237,12 @@ x-webhooks: type: string enum: - opened - enterprise: *738 - installation: *739 - number: *794 - organization: *740 - pull_request: *795 - repository: *741 + enterprise: *743 + installation: *744 + number: *799 + organization: *745 + pull_request: *800 + repository: *746 sender: *4 required: - action @@ -175910,12 +176323,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *738 - installation: *739 - number: *794 - organization: *740 - pull_request: *795 - repository: *741 + enterprise: *743 + installation: *744 + number: *799 + organization: *745 + pull_request: *800 + repository: *746 sender: *4 required: - action @@ -175995,12 +176408,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *738 - installation: *739 - number: *794 - organization: *740 - pull_request: *795 - repository: *741 + enterprise: *743 + installation: *744 + number: *799 + organization: *745 + pull_request: *800 + repository: *746 sender: *4 required: - action @@ -176366,9 +176779,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 pull_request: type: object properties: @@ -178538,7 +178951,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *741 + repository: *746 sender: *4 required: - action @@ -178618,7 +179031,7 @@ x-webhooks: type: string enum: - deleted - comment: &798 + comment: &803 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. @@ -178903,9 +179316,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 pull_request: type: object properties: @@ -181063,7 +181476,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *741 + repository: *746 sender: *4 required: - action @@ -181143,11 +181556,11 @@ x-webhooks: type: string enum: - edited - changes: *797 - comment: *798 - enterprise: *738 - installation: *739 - organization: *740 + changes: *802 + comment: *803 + enterprise: *743 + installation: *744 + organization: *745 pull_request: type: object properties: @@ -183308,7 +183721,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *741 + repository: *746 sender: *4 required: - action @@ -183389,9 +183802,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 pull_request: title: Simple Pull Request type: object @@ -185564,7 +185977,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 + repository: *746 review: description: The review that was affected. type: object @@ -185807,9 +186220,9 @@ x-webhooks: type: string required: - from - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 pull_request: title: Simple Pull Request type: object @@ -187863,8 +188276,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 - review: &799 + repository: *746 + review: &804 description: The review that was affected. type: object properties: @@ -188093,12 +188506,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 number: description: The pull request number. type: integer - organization: *740 + organization: *745 pull_request: title: Pull Request type: object @@ -190381,7 +190794,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *746 requested_reviewer: title: User type: object @@ -190465,12 +190878,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 number: description: The pull request number. type: integer - organization: *740 + organization: *745 pull_request: title: Pull Request type: object @@ -192760,7 +193173,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *746 requested_team: title: Team description: Groups of organization members that gives permissions @@ -192952,12 +193365,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 number: description: The pull request number. type: integer - organization: *740 + organization: *745 pull_request: title: Pull Request type: object @@ -195242,7 +195655,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *746 requested_reviewer: title: User type: object @@ -195327,12 +195740,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *738 - installation: *739 + enterprise: *743 + installation: *744 number: description: The pull request number. type: integer - organization: *740 + organization: *745 pull_request: title: Pull Request type: object @@ -197608,7 +198021,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *746 requested_team: title: Team description: Groups of organization members that gives permissions @@ -197789,9 +198202,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 pull_request: title: Simple Pull Request type: object @@ -199966,8 +200379,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 - review: *799 + repository: *746 + review: *804 sender: *4 required: - action @@ -200047,9 +200460,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 pull_request: title: Simple Pull Request type: object @@ -202119,7 +202532,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 + repository: *746 sender: *4 thread: type: object @@ -202502,9 +202915,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 pull_request: title: Simple Pull Request type: object @@ -204560,7 +204973,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 + repository: *746 sender: *4 thread: type: object @@ -204946,10 +205359,10 @@ x-webhooks: type: string before: type: string - enterprise: *738 - installation: *739 - number: *794 - organization: *740 + enterprise: *743 + installation: *744 + number: *799 + organization: *745 pull_request: title: Pull Request type: object @@ -207220,7 +207633,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *746 sender: *4 required: - action @@ -207302,11 +207715,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *800 - enterprise: *738 - installation: *739 - number: *794 - organization: *740 + assignee: *805 + enterprise: *743 + installation: *744 + number: *799 + organization: *745 pull_request: title: Pull Request type: object @@ -209589,7 +210002,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *746 sender: *4 required: - action @@ -209668,11 +210081,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *738 - installation: *739 - label: *764 - number: *794 - organization: *740 + enterprise: *743 + installation: *744 + label: *769 + number: *799 + organization: *745 pull_request: title: Pull Request type: object @@ -211945,7 +212358,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *746 sender: *4 required: - action @@ -212026,10 +212439,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *738 - installation: *739 - number: *794 - organization: *740 + enterprise: *743 + installation: *744 + number: *799 + organization: *745 pull_request: title: Pull Request type: object @@ -214294,7 +214707,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *746 sender: *4 required: - action @@ -214494,7 +214907,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *738 + enterprise: *743 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -214586,8 +214999,8 @@ x-webhooks: - url - author - committer - installation: *739 - organization: *740 + installation: *744 + organization: *745 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -215162,9 +215575,9 @@ x-webhooks: type: string enum: - published - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 registry_package: type: object properties: @@ -215610,7 +216023,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *782 + items: *787 summary: type: string tag_name: @@ -215664,7 +216077,7 @@ x-webhooks: - owner - package_version - registry - repository: *741 + repository: *746 sender: *4 required: - action @@ -215742,9 +216155,9 @@ x-webhooks: type: string enum: - updated - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 registry_package: type: object properties: @@ -216052,7 +216465,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *782 + items: *787 summary: type: string tag_name: @@ -216101,7 +216514,7 @@ x-webhooks: - owner - package_version - registry - repository: *741 + repository: *746 sender: *4 required: - action @@ -216178,10 +216591,10 @@ x-webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - release: &801 + enterprise: *743 + installation: *744 + organization: *745 + release: &806 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -216486,7 +216899,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *741 + repository: *746 sender: *4 required: - action @@ -216563,11 +216976,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - release: *801 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + release: *806 + repository: *746 sender: *4 required: - action @@ -216675,11 +217088,11 @@ x-webhooks: type: boolean required: - to - enterprise: *738 - installation: *739 - organization: *740 - release: *801 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + release: *806 + repository: *746 sender: *4 required: - action @@ -216757,9 +217170,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -217068,7 +217481,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *741 + repository: *746 sender: *4 required: - action @@ -217144,10 +217557,10 @@ x-webhooks: type: string enum: - published - enterprise: *738 - installation: *739 - organization: *740 - release: &802 + enterprise: *743 + installation: *744 + organization: *745 + release: &807 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -217453,7 +217866,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *741 + repository: *746 sender: *4 required: - action @@ -217529,11 +217942,11 @@ x-webhooks: type: string enum: - released - enterprise: *738 - installation: *739 - organization: *740 - release: *801 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + release: *806 + repository: *746 sender: *4 required: - action @@ -217609,11 +218022,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *738 - installation: *739 - organization: *740 - release: *802 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + release: *807 + repository: *746 sender: *4 required: - action @@ -217689,11 +218102,11 @@ x-webhooks: type: string enum: - published - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - repository_advisory: *649 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + repository_advisory: *654 sender: *4 required: - action @@ -217769,11 +218182,11 @@ x-webhooks: type: string enum: - reported - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - repository_advisory: *649 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + repository_advisory: *654 sender: *4 required: - action @@ -217849,10 +218262,10 @@ x-webhooks: type: string enum: - archived - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -217929,10 +218342,10 @@ x-webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -218010,10 +218423,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -218097,10 +218510,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -218212,10 +218625,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -218287,10 +218700,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 status: type: string @@ -218371,10 +218784,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -218451,10 +218864,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -218548,10 +218961,10 @@ x-webhooks: - name required: - repository - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -218631,11 +219044,11 @@ x-webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - repository_ruleset: *126 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + repository_ruleset: *128 sender: *4 required: - action @@ -218713,11 +219126,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - repository_ruleset: *126 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + repository_ruleset: *128 sender: *4 required: - action @@ -218795,11 +219208,11 @@ x-webhooks: type: string enum: - edited - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - repository_ruleset: *126 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + repository_ruleset: *128 changes: type: object properties: @@ -218818,16 +219231,16 @@ x-webhooks: properties: added: type: array - items: *119 + items: *121 deleted: type: array - items: *119 + items: *121 updated: type: array items: type: object properties: - condition: *119 + condition: *121 changes: type: object properties: @@ -218860,16 +219273,16 @@ x-webhooks: properties: added: type: array - items: *125 + items: *127 deleted: type: array - items: *125 + items: *127 updated: type: array items: type: object properties: - rule: *125 + rule: *127 changes: type: object properties: @@ -219103,10 +219516,10 @@ x-webhooks: - from required: - owner - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -219184,10 +219597,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -219265,7 +219678,7 @@ x-webhooks: type: string enum: - create - alert: &803 + alert: &808 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -219386,10 +219799,10 @@ x-webhooks: type: string enum: - open - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -219595,10 +220008,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -219676,11 +220089,11 @@ x-webhooks: type: string enum: - reopen - alert: *803 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + alert: *808 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -219879,10 +220292,10 @@ x-webhooks: enum: - fixed - open - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -219960,11 +220373,11 @@ x-webhooks: type: string enum: - created - alert: &804 + alert: &809 type: object properties: - number: *98 - created_at: *105 + number: *100 + created_at: *107 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -219972,8 +220385,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *103 - html_url: *104 + url: *105 + html_url: *106 locations_url: type: string format: uri @@ -220071,10 +220484,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -220155,11 +220568,11 @@ x-webhooks: type: string enum: - created - alert: *804 - installation: *739 - location: *805 - organization: *740 - repository: *741 + alert: *809 + installation: *744 + location: *810 + organization: *745 + repository: *746 sender: *4 required: - location @@ -220397,11 +220810,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *804 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + alert: *809 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -220479,11 +220892,11 @@ x-webhooks: type: string enum: - reopened - alert: *804 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + alert: *809 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -220561,11 +220974,11 @@ x-webhooks: type: string enum: - resolved - alert: *804 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + alert: *809 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -220643,11 +221056,11 @@ x-webhooks: type: string enum: - validated - alert: *804 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + alert: *809 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -220773,10 +221186,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *741 - enterprise: *738 - installation: *739 - organization: *740 + repository: *746 + enterprise: *743 + installation: *744 + organization: *745 sender: *4 required: - action @@ -220854,11 +221267,11 @@ x-webhooks: type: string enum: - published - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - security_advisory: &806 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + security_advisory: &811 description: The details of the security advisory, including summary, description, and severity. type: object @@ -220874,7 +221287,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *100 + cvss_severities: *102 cwes: type: array items: @@ -221041,11 +221454,11 @@ x-webhooks: type: string enum: - updated - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - security_advisory: *806 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 + security_advisory: *811 sender: *4 required: - action @@ -221118,10 +221531,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -221138,7 +221551,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *100 + cvss_severities: *102 cwes: type: array items: @@ -221305,11 +221718,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *317 - enterprise: *738 - installation: *739 - organization: *740 - repository: *378 + security_and_analysis: *320 + enterprise: *743 + installation: *744 + organization: *745 + repository: *383 sender: *4 required: - changes @@ -221387,12 +221800,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 - sponsorship: &807 + sponsorship: &812 type: object properties: created_at: @@ -221693,12 +222106,12 @@ x-webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 - sponsorship: *807 + sponsorship: *812 required: - action - sponsorship @@ -221786,12 +222199,12 @@ x-webhooks: type: string required: - from - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 - sponsorship: *807 + sponsorship: *812 required: - action - changes @@ -221868,17 +222281,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &808 + effective_date: &813 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: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 - sponsorship: *807 + sponsorship: *812 required: - action - sponsorship @@ -221952,7 +222365,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &809 + changes: &814 type: object properties: tier: @@ -221996,13 +222409,13 @@ x-webhooks: - from required: - tier - effective_date: *808 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + effective_date: *813 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 - sponsorship: *807 + sponsorship: *812 required: - action - changes @@ -222079,13 +222492,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *809 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + changes: *814 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 - sponsorship: *807 + sponsorship: *812 required: - action - changes @@ -222159,10 +222572,10 @@ x-webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -222245,10 +222658,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -222668,15 +223081,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *738 + enterprise: *743 id: description: The unique identifier of the status. type: integer - installation: *739 + installation: *744 name: type: string - organization: *740 - repository: *741 + organization: *745 + repository: *746 sender: *4 sha: description: The Commit SHA. @@ -222785,15 +223198,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *151 + parent_issue: *154 parent_issue_repo: *63 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *151 - installation: *739 - organization: *740 - repository: *741 + sub_issue: *154 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -222877,15 +223290,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *151 + parent_issue: *154 parent_issue_repo: *63 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *151 - installation: *739 - organization: *740 - repository: *741 + sub_issue: *154 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -222969,15 +223382,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *151 + sub_issue: *154 sub_issue_repo: *63 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *151 - installation: *739 - organization: *740 - repository: *741 + parent_issue: *154 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -223061,15 +223474,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *151 + sub_issue: *154 sub_issue_repo: *63 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *151 - installation: *739 - organization: *740 - repository: *741 + parent_issue: *154 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -223146,12 +223559,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 - team: &810 + team: &815 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -223341,9 +223754,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 repository: title: Repository description: A git repository @@ -223801,7 +224214,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *810 + team: *815 required: - action - team @@ -223877,9 +224290,9 @@ x-webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 repository: title: Repository description: A git repository @@ -224337,7 +224750,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *810 + team: *815 required: - action - team @@ -224414,9 +224827,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 repository: title: Repository description: A git repository @@ -224874,7 +225287,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *810 + team: *815 required: - action - team @@ -225018,9 +225431,9 @@ x-webhooks: - from required: - permissions - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 repository: title: Repository description: A git repository @@ -225478,7 +225891,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *810 + team: *815 required: - action - changes @@ -225556,9 +225969,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *743 + installation: *744 + organization: *745 repository: title: Repository description: A git repository @@ -226016,7 +226429,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *810 + team: *815 required: - action - team @@ -226092,10 +226505,10 @@ x-webhooks: type: string enum: - started - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 required: - action @@ -226168,16 +226581,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *738 + enterprise: *743 inputs: type: object nullable: true additionalProperties: true - installation: *739 - organization: *740 + installation: *744 + organization: *745 ref: type: string - repository: *741 + repository: *746 sender: *4 workflow: type: string @@ -226259,10 +226672,10 @@ x-webhooks: type: string enum: - completed - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 workflow_job: allOf: @@ -226499,7 +226912,7 @@ x-webhooks: type: string required: - conclusion - deployment: *511 + deployment: *516 required: - action - repository @@ -226578,10 +226991,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 workflow_job: allOf: @@ -226841,7 +227254,7 @@ x-webhooks: required: - status - steps - deployment: *511 + deployment: *516 required: - action - repository @@ -226920,10 +227333,10 @@ x-webhooks: type: string enum: - queued - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 workflow_job: type: object @@ -227058,7 +227471,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *511 + deployment: *516 required: - action - repository @@ -227137,10 +227550,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 workflow_job: type: object @@ -227276,7 +227689,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *511 + deployment: *516 required: - action - repository @@ -227356,12 +227769,12 @@ x-webhooks: type: string enum: - completed - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 - workflow: *760 + workflow: *765 workflow_run: title: Workflow Run type: object @@ -228360,12 +228773,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 - workflow: *760 + workflow: *765 workflow_run: title: Workflow Run type: object @@ -229349,12 +229762,12 @@ x-webhooks: type: string enum: - requested - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *743 + installation: *744 + organization: *745 + repository: *746 sender: *4 - workflow: *760 + workflow: *765 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index 0ae473f5d..ccd73c967 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -5075,6 +5075,9 @@ { "$ref": "#/components/schemas/splunk-config" }, + { + "$ref": "#/components/schemas/hec-config" + }, { "$ref": "#/components/schemas/google-cloud-config" }, @@ -5228,6 +5231,9 @@ { "$ref": "#/components/schemas/splunk-config" }, + { + "$ref": "#/components/schemas/hec-config" + }, { "$ref": "#/components/schemas/google-cloud-config" }, @@ -8050,6 +8056,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", @@ -28019,6 +28157,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", @@ -36870,7 +37140,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" ], @@ -37849,7 +38119,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" ], @@ -55972,7 +56242,7 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "reactions", "subcategory": "reactions" } @@ -63732,6 +64002,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", @@ -108347,6 +108755,9 @@ }, "expires_at": { "$ref": "#/components/schemas/announcement-expiration" + }, + "user_dismissible": { + "$ref": "#/components/schemas/announcement-user-dismissible" } }, "required": [ @@ -108732,6 +109143,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.", @@ -112894,6 +113344,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" + } + } + } + ] + }, "nullable-alert-updated-at": { "type": "string", "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", @@ -284891,6 +285392,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": [ { @@ -291043,6 +291609,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": [ { @@ -305195,6 +305818,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/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index 24ca530e3..8c0e6f3f7 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -3572,6 +3572,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: @@ -3672,6 +3673,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: @@ -5717,6 +5719,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 @@ -20330,6 +20416,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 @@ -26748,12 +26918,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 @@ -27438,14 +27616,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 @@ -40751,7 +40936,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}": @@ -46280,6 +46465,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 @@ -78687,6 +78958,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: @@ -78973,6 +79246,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. @@ -82281,6 +82586,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 nullable-alert-updated-at: type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -213081,6 +213419,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 @@ -218427,6 +218805,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 @@ -230550,6 +230965,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/ghec/ghec.json b/descriptions/ghec/ghec.json index 0ae473f5d..ccd73c967 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -5075,6 +5075,9 @@ { "$ref": "#/components/schemas/splunk-config" }, + { + "$ref": "#/components/schemas/hec-config" + }, { "$ref": "#/components/schemas/google-cloud-config" }, @@ -5228,6 +5231,9 @@ { "$ref": "#/components/schemas/splunk-config" }, + { + "$ref": "#/components/schemas/hec-config" + }, { "$ref": "#/components/schemas/google-cloud-config" }, @@ -8050,6 +8056,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", @@ -28019,6 +28157,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", @@ -36870,7 +37140,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" ], @@ -37849,7 +38119,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" ], @@ -55972,7 +56242,7 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "reactions", "subcategory": "reactions" } @@ -63732,6 +64002,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", @@ -108347,6 +108755,9 @@ }, "expires_at": { "$ref": "#/components/schemas/announcement-expiration" + }, + "user_dismissible": { + "$ref": "#/components/schemas/announcement-user-dismissible" } }, "required": [ @@ -108732,6 +109143,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.", @@ -112894,6 +113344,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" + } + } + } + ] + }, "nullable-alert-updated-at": { "type": "string", "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", @@ -284891,6 +285392,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": [ { @@ -291043,6 +291609,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": [ { @@ -305195,6 +305818,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/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index 24ca530e3..8c0e6f3f7 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -3572,6 +3572,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: @@ -3672,6 +3673,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: @@ -5717,6 +5719,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 @@ -20330,6 +20416,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 @@ -26748,12 +26918,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 @@ -27438,14 +27616,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 @@ -40751,7 +40936,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}": @@ -46280,6 +46465,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 @@ -78687,6 +78958,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: @@ -78973,6 +79246,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. @@ -82281,6 +82586,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 nullable-alert-updated-at: type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -213081,6 +213419,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 @@ -218427,6 +218805,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 @@ -230550,6 +230965,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/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json b/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json index 86d972ebb..315111723 100644 --- a/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json +++ b/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json @@ -27605,6 +27605,13 @@ "description": "The time at which the announcement expires. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. To set an announcement that never expires, omit this parameter, set it to `null`, or set it to an empty string.", "example": "\"2021-01-01T00:00:00.000-07:00\"", "nullable": true + }, + "user_dismissible": { + "type": "boolean", + "description": "Whether an announcement can be dismissed by the user.", + "example": false, + "nullable": true, + "default": false } }, "required": [ @@ -27664,6 +27671,13 @@ "description": "The time at which the announcement expires. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. To set an announcement that never expires, omit this parameter, set it to `null`, or set it to an empty string.", "example": "\"2021-01-01T00:00:00.000-07:00\"", "nullable": true + }, + "user_dismissible": { + "type": "boolean", + "description": "Whether an announcement can be dismissed by the user.", + "example": false, + "nullable": true, + "default": false } }, "required": [ @@ -27703,6 +27717,13 @@ "description": "The time at which the announcement expires. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. To set an announcement that never expires, omit this parameter, set it to `null`, or set it to an empty string.", "example": "\"2021-01-01T00:00:00.000-07:00\"", "nullable": true + }, + "user_dismissible": { + "type": "boolean", + "description": "Whether an announcement can be dismissed by the user.", + "example": false, + "nullable": true, + "default": false } }, "required": [ @@ -76728,6 +76749,13 @@ "description": "The time at which the announcement expires. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. To set an announcement that never expires, omit this parameter, set it to `null`, or set it to an empty string.", "example": "\"2021-01-01T00:00:00.000-07:00\"", "nullable": true + }, + "user_dismissible": { + "type": "boolean", + "description": "Whether an announcement can be dismissed by the user.", + "example": false, + "nullable": true, + "default": false } }, "required": [ @@ -287480,7 +287508,7 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "reactions", "subcategory": "reactions" } diff --git a/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml b/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml index 326321adf..f6b3801c4 100644 --- a/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml +++ b/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml @@ -3627,7 +3627,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/apps/webhooks#list-deliveries-for-an-app-webhook parameters: - *4 - - &195 + - &196 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 @@ -3643,7 +3643,7 @@ paths: application/json: schema: type: array - items: &196 + items: &197 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -3720,7 +3720,7 @@ paths: - installation_id - repository_id examples: - default: &197 + default: &198 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -3752,7 +3752,7 @@ paths: application/json: schema: *29 application/scim+json: - schema: &492 + schema: &493 title: Scim Error description: Scim Error type: object @@ -3848,7 +3848,7 @@ paths: description: Response content: application/json: - schema: &198 + schema: &199 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -3962,7 +3962,7 @@ paths: - request - response examples: - default: &199 + default: &200 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4520,7 +4520,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &226 + properties: &227 id: description: Unique identifier of the repository example: 42 @@ -4949,7 +4949,7 @@ paths: type: boolean description: Whether anonymous git access is enabled for this repository - required: &227 + required: &228 - archive_url - assignees_url - blobs_url @@ -5972,7 +5972,7 @@ paths: schema: type: string '422': *31 - '410': &225 + '410': &226 description: Gone content: application/json: @@ -8548,6 +8548,12 @@ paths: it to an empty string.' example: '"2021-01-01T00:00:00.000-07:00"' nullable: true + user_dismissible: &165 + type: boolean + description: Whether an announcement can be dismissed by the user. + example: false + nullable: true + default: false required: - announcement examples: @@ -11190,7 +11196,7 @@ paths: required: false schema: type: string - - &166 + - &167 name: include description: |- The event types to include: @@ -11208,7 +11214,7 @@ paths: - web - git - all - - &167 + - &168 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. @@ -11216,7 +11222,7 @@ paths: required: false schema: type: string - - &168 + - &169 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. @@ -11224,7 +11230,7 @@ paths: required: false schema: type: string - - &169 + - &170 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11246,7 +11252,7 @@ paths: application/json: schema: type: array - items: &170 + items: &171 type: object properties: "@timestamp": @@ -11368,7 +11374,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &171 + default: &172 value: - actor_ip: 88.123.45.123 from: pull_requests#merge @@ -11513,7 +11519,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *62 - - &172 + - &173 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`, @@ -11523,7 +11529,7 @@ paths: schema: &86 type: string description: The name of the tool used to generate the code scanning analysis. - - &173 + - &174 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 @@ -11562,7 +11568,7 @@ paths: be returned. in: query required: false - schema: &174 + schema: &175 type: string description: State of a code scanning alert. enum: @@ -11587,7 +11593,7 @@ paths: application/json: schema: type: array - items: &175 + items: &176 type: object properties: number: &91 @@ -11616,7 +11622,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &341 + instances_url: &342 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -11651,7 +11657,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &342 + dismissed_reason: &343 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -11660,13 +11666,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &343 + dismissed_comment: &344 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &344 + rule: &345 type: object properties: id: @@ -11705,7 +11711,7 @@ paths: description: A set of tags applicable for the rule. items: type: string - tool: &345 + tool: &346 type: object properties: name: *86 @@ -11715,15 +11721,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *87 - most_recent_instance: &346 + most_recent_instance: &347 type: object properties: - ref: &339 + ref: &340 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &350 + analysis_key: &351 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -11734,7 +11740,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &351 + category: &352 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -12072,7 +12078,7 @@ paths: - most_recent_instance - repository examples: - default: &176 + default: &177 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -12484,7 +12490,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *62 - - &180 + - &181 name: state in: query description: |- @@ -12493,7 +12499,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &181 + - &182 name: severity in: query description: |- @@ -12502,7 +12508,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &182 + - &183 name: ecosystem in: query description: |- @@ -12511,14 +12517,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &183 + - &184 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 - - &184 + - &185 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -12528,7 +12534,7 @@ paths: enum: - development - runtime - - &185 + - &186 name: sort in: query description: |- @@ -12544,7 +12550,7 @@ paths: - *9 - *89 - *90 - - &186 + - &187 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -12557,7 +12563,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &187 + - &188 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -12577,7 +12583,7 @@ paths: application/json: schema: type: array - items: &188 + items: &189 type: object description: A Dependabot alert. properties: @@ -12627,7 +12633,7 @@ paths: enum: - development - runtime - security_advisory: &373 + security_advisory: &374 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12729,7 +12735,7 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: &612 + cvss_severities: &613 type: object nullable: true properties: @@ -12897,7 +12903,7 @@ paths: nullable: true maxLength: 280 fixed_at: *99 - auto_dismissed_at: &374 + auto_dismissed_at: &375 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -12923,7 +12929,7 @@ paths: - repository additionalProperties: false examples: - default: &189 + default: &190 value: - number: 2 state: dismissed @@ -13262,7 +13268,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *62 - - &229 + - &230 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -13273,7 +13279,7 @@ paths: enum: - open - resolved - - &230 + - &231 name: secret_type in: query description: A comma-separated list of secret types to return. By default @@ -13282,7 +13288,7 @@ paths: required: false schema: type: string - - &231 + - &232 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -13291,7 +13297,7 @@ paths: required: false schema: type: string - - &232 + - &233 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. @@ -13314,7 +13320,7 @@ paths: application/json: schema: type: array - items: &233 + items: &234 type: object properties: number: *91 @@ -13333,14 +13339,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &483 + state: &484 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: &484 + resolution: &485 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -13399,7 +13405,7 @@ paths: alert was closed nullable: true examples: - default: &234 + default: &235 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -13632,7 +13638,7 @@ paths: description: Success content: application/json: - schema: &236 + schema: &237 type: object properties: total_advanced_security_committers: @@ -13672,7 +13678,7 @@ paths: required: - repositories examples: - default: &237 + default: &238 value: total_advanced_security_committers: 2 total_count: 2 @@ -13689,7 +13695,7 @@ paths: advanced_security_committers_breakdown: - user_login: octokitten last_pushed_date: '2021-10-26' - '403': &238 + '403': &239 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -13836,7 +13842,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &417 + properties: &418 id: type: integer format: int64 @@ -13947,7 +13953,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &363 + properties: &364 url: type: string format: uri @@ -14017,7 +14023,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &364 + required: &365 - closed_issues - creator - description @@ -14172,7 +14178,7 @@ paths: - total - completed - percent_completed - required: &418 + required: &419 - assignee - closed_at - comments @@ -14194,7 +14200,7 @@ paths: - author_association - created_at - updated_at - comment: &415 + comment: &416 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -14756,7 +14762,7 @@ paths: url: type: string format: uri - user: &530 + user: &531 title: Public User description: Public User type: object @@ -16620,7 +16626,7 @@ paths: - closed - all default: open - - &200 + - &201 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -16671,7 +16677,7 @@ paths: type: array items: *118 examples: - default: &201 + default: &202 value: - id: 1 node_id: MDU6SXNzdWUx @@ -17926,14 +17932,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: - - &261 + - &262 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &262 + - &263 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -18004,7 +18010,7 @@ paths: '404': *36 '403': *40 '304': *39 - '301': &273 + '301': &274 description: Moved permanently content: application/json: @@ -18026,7 +18032,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: - - &446 + - &447 name: all description: If `true`, show notifications marked as read. in: query @@ -18034,7 +18040,7 @@ paths: schema: type: boolean default: false - - &447 + - &448 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -18044,7 +18050,7 @@ paths: type: boolean default: false - *108 - - &448 + - &449 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: @@ -18080,7 +18086,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &191 + properties: &192 id: type: integer format: int64 @@ -18356,7 +18362,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &228 + security_and_analysis: &229 nullable: true type: object properties: @@ -18396,7 +18402,7 @@ paths: enum: - enabled - disabled - required: &192 + required: &193 - archive_url - assignees_url - blobs_url @@ -18484,7 +18490,7 @@ paths: - url - subscription_url examples: - default: &449 + default: &450 value: - id: '1' repository: @@ -19009,7 +19015,7 @@ paths: type: array items: *67 examples: - default: &539 + default: &540 value: - login: github id: 1 @@ -19073,7 +19079,7 @@ paths: type: integer custom_roles: type: array - items: &177 + items: &178 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -19121,7 +19127,7 @@ paths: - created_at - updated_at examples: - default: &178 + default: &179 value: id: 8030 name: Security Engineer @@ -19818,7 +19824,7 @@ paths: type: integer repository_cache_usages: type: array - items: &278 + items: &279 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -20069,7 +20075,7 @@ paths: type: array items: *82 examples: - default: &536 + default: &537 value: total_count: 1 repositories: @@ -21864,7 +21870,7 @@ paths: description: Response content: application/json: - schema: &300 + schema: &301 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -21893,7 +21899,7 @@ paths: - key_id - key examples: - default: &301 + default: &302 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22306,7 +22312,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#list-organization-variables parameters: - *130 - - &285 + - &286 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)." @@ -22791,7 +22797,7 @@ paths: description: Response content: application/json: - schema: &165 + schema: &166 title: Announcement Banner description: Announcement at either the repository, organization, or enterprise level @@ -22799,12 +22805,7 @@ paths: properties: announcement: *163 expires_at: *164 - user_dismissible: - type: boolean - description: Whether an announcement can be dismissed by the user. - example: false - nullable: true - default: false + user_dismissible: *165 required: - announcement - expires_at @@ -22839,7 +22840,7 @@ paths: description: Response content: application/json: - schema: *165 + schema: *166 examples: default: *51 x-github: @@ -22894,10 +22895,10 @@ paths: required: false schema: type: string - - *166 - *167 - *168 - *169 + - *170 - *4 - *5 responses: @@ -22907,9 +22908,9 @@ paths: application/json: schema: type: array - items: *170 + items: *171 examples: - default: *171 + default: *172 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -22932,8 +22933,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *130 - - *172 - *173 + - *174 - *89 - *90 - *5 @@ -22944,7 +22945,7 @@ paths: be returned. in: query required: false - schema: *174 + schema: *175 - name: sort description: The property by which to sort the results. in: query @@ -22960,7 +22961,7 @@ paths: be returned. in: query required: false - schema: &340 + schema: &341 type: string description: Severity of a code scanning alert. enum: @@ -22978,9 +22979,9 @@ paths: application/json: schema: type: array - items: *175 + items: *176 examples: - default: *176 + default: *177 headers: Link: *6 '404': *36 @@ -23021,7 +23022,7 @@ paths: type: integer custom_roles: type: array - items: *177 + items: *178 examples: default: value: @@ -23154,9 +23155,9 @@ paths: description: Response content: application/json: - schema: *177 + schema: *178 examples: - default: *178 + default: *179 '422': *31 '404': *36 x-github: @@ -23181,7 +23182,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *130 - - &179 + - &180 name: role_id description: The unique identifier of the role. in: path @@ -23193,9 +23194,9 @@ paths: description: Response content: application/json: - schema: *177 + schema: *178 examples: - default: *178 + default: *179 '404': *36 x-github: githubCloudOnly: true @@ -23218,7 +23219,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *130 - - *179 + - *180 requestBody: required: true content: @@ -23261,9 +23262,9 @@ paths: description: Response content: application/json: - schema: *177 + schema: *178 examples: - default: *178 + default: *179 '422': *31 '404': *36 x-github: @@ -23288,7 +23289,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *130 - - *179 + - *180 responses: '204': description: Response @@ -23314,17 +23315,17 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *130 - - *180 - *181 - *182 - *183 - *184 - *185 + - *186 - *9 - *89 - *90 - - *186 - *187 + - *188 - *4 responses: '200': @@ -23333,9 +23334,9 @@ paths: application/json: schema: type: array - items: *188 + items: *189 examples: - default: *189 + default: *190 '304': *39 '400': *30 '403': *40 @@ -23379,7 +23380,7 @@ paths: type: integer secrets: type: array - items: &190 + items: &191 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -23456,7 +23457,7 @@ paths: description: Response content: application/json: - schema: &377 + schema: &378 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -23473,7 +23474,7 @@ paths: - key_id - key examples: - default: &378 + default: &379 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23503,7 +23504,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *191 examples: default: value: @@ -23800,7 +23801,7 @@ paths: application/json: schema: type: array - items: &207 + items: &208 title: Package description: A software package type: object @@ -23850,8 +23851,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *191 - required: *192 + properties: *192 + required: *193 nullable: true created_at: type: string @@ -23870,7 +23871,7 @@ paths: - created_at - updated_at examples: - default: &208 + default: &209 value: - id: 197 name: hello_docker @@ -24054,7 +24055,7 @@ paths: description: Response content: application/json: - schema: &256 + schema: &257 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -24135,7 +24136,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &257 + default: &258 value: group_id: '123' group_name: Octocat admins @@ -24190,7 +24191,7 @@ paths: description: Response content: application/json: - schema: &254 + schema: &255 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -24227,7 +24228,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &255 + default: &256 value: groups: - group_id: '123' @@ -24274,7 +24275,7 @@ paths: application/json: schema: type: array - items: &193 + items: &194 title: Org Hook description: Org Hook type: object @@ -24445,9 +24446,9 @@ paths: description: Response content: application/json: - schema: *193 + schema: *194 examples: - default: &194 + default: &195 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -24501,9 +24502,9 @@ paths: description: Response content: application/json: - schema: *193 + schema: *194 examples: - default: *194 + default: *195 '404': *36 x-github: githubCloudOnly: false @@ -24576,7 +24577,7 @@ paths: description: Response content: application/json: - schema: *193 + schema: *194 examples: default: value: @@ -24730,7 +24731,7 @@ paths: - *130 - *3 - *4 - - *195 + - *196 responses: '200': description: Response @@ -24738,9 +24739,9 @@ paths: application/json: schema: type: array - items: *196 + items: *197 examples: - default: *197 + default: *198 '400': *30 '422': *31 x-github: @@ -24773,9 +24774,9 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: - default: *199 + default: *200 '400': *30 '422': *31 x-github: @@ -24863,7 +24864,7 @@ paths: application/json: schema: *35 examples: - default: &412 + default: &413 value: id: 1 account: @@ -25060,7 +25061,7 @@ paths: - closed - all default: open - - *200 + - *201 - name: sort description: What to sort results by. in: query @@ -25085,7 +25086,7 @@ paths: type: array items: *118 examples: - default: *201 + default: *202 headers: Link: *6 '404': *36 @@ -25143,7 +25144,7 @@ paths: type: array items: *19 examples: - default: &206 + default: &207 value: - login: octocat id: 1 @@ -25245,7 +25246,7 @@ paths: description: Response content: application/json: - schema: &202 + schema: &203 title: Org Membership description: Org Membership type: object @@ -25297,7 +25298,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &203 + response-if-user-has-an-active-admin-membership-with-organization: &204 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -25393,9 +25394,9 @@ paths: description: Response content: application/json: - schema: *202 + schema: *203 examples: - response-if-user-already-had-membership-with-organization: *203 + response-if-user-already-had-membership-with-organization: *204 '422': *31 '403': *40 x-github: @@ -25463,7 +25464,7 @@ paths: application/json: schema: type: array - items: &204 + items: &205 title: Migration description: A migration. type: object @@ -25795,7 +25796,7 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: default: value: @@ -25974,7 +25975,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/migrations/orgs#get-an-organization-migration-status parameters: - *130 - - &205 + - &206 name: migration_id description: The unique identifier of the migration. in: path @@ -26001,7 +26002,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *204 + schema: *205 examples: default: value: @@ -26171,7 +26172,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *130 - - *205 + - *206 responses: '302': description: Response @@ -26193,7 +26194,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *130 - - *205 + - *206 responses: '204': description: Response @@ -26217,7 +26218,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/migrations/orgs#unlock-an-organization-repository parameters: - *130 - - *205 + - *206 - name: repo_name description: repo_name parameter in: path @@ -26245,7 +26246,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *130 - - *205 + - *206 - *4 - *5 responses: @@ -26257,7 +26258,7 @@ paths: type: array items: *148 examples: - default: &214 + default: &215 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -26408,7 +26409,7 @@ paths: type: array items: *19 examples: - default: *206 + default: *207 headers: Link: *6 x-github: @@ -26550,7 +26551,7 @@ paths: - nuget - container - *130 - - &540 + - &541 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -26586,12 +26587,12 @@ paths: application/json: schema: type: array - items: *207 + items: *208 examples: - default: *208 + default: *209 '403': *40 '401': *38 - '400': &542 + '400': &543 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -26613,7 +26614,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: - - &209 + - &210 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 @@ -26631,7 +26632,7 @@ paths: - docker - nuget - container - - &210 + - &211 name: package_name description: The name of the package. in: path @@ -26644,7 +26645,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *208 examples: default: value: @@ -26696,8 +26697,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: - - *209 - *210 + - *211 - *130 responses: '204': @@ -26730,8 +26731,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: - - *209 - *210 + - *211 - *130 - name: token description: package token @@ -26764,8 +26765,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: - - *209 - *210 + - *211 - *130 - *5 - *4 @@ -26786,7 +26787,7 @@ paths: application/json: schema: type: array - items: &211 + items: &212 title: Package Version description: A version of a software package type: object @@ -26911,10 +26912,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: - - *209 - *210 + - *211 - *130 - - &212 + - &213 name: package_version_id description: Unique identifier of the package version. in: path @@ -26926,7 +26927,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *212 examples: default: value: @@ -26962,10 +26963,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: - - *209 - *210 + - *211 - *130 - - *212 + - *213 responses: '204': description: Response @@ -26997,10 +26998,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: - - *209 - *210 + - *211 - *130 - - *212 + - *213 responses: '204': description: Response @@ -27030,7 +27031,7 @@ paths: - *130 - *4 - *5 - - &215 + - &216 name: sort description: The property by which to sort the results. in: query @@ -27041,7 +27042,7 @@ paths: - created_at default: created_at - *9 - - &216 + - &217 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -27052,7 +27053,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &217 + - &218 name: repository description: The name of the repository to use to filter the results. in: query @@ -27060,7 +27061,7 @@ paths: schema: type: string example: Hello-World - - &218 + - &219 name: permission description: The permission to use to filter the results. in: query @@ -27068,7 +27069,7 @@ paths: schema: type: string example: issues_read - - &219 + - &220 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) @@ -27078,7 +27079,7 @@ paths: schema: type: string format: date-time - - &220 + - &221 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) @@ -27089,7 +27090,7 @@ paths: type: string format: date-time responses: - '500': &213 + '500': &214 description: Internal Error content: application/json: @@ -27286,7 +27287,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *213 + '500': *214 '422': *31 '404': *36 '403': *40 @@ -27347,11 +27348,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *213 + '500': *214 '422': *31 '404': *36 '403': *40 - '204': &221 + '204': &222 description: A header with no content is returned. x-github: githubCloudOnly: false @@ -27384,7 +27385,7 @@ paths: - *4 - *5 responses: - '500': *213 + '500': *214 '404': *36 '403': *40 '200': @@ -27395,7 +27396,7 @@ paths: type: array items: *148 examples: - default: *214 + default: *215 headers: Link: *6 x-github: @@ -27421,15 +27422,15 @@ paths: - *130 - *4 - *5 - - *215 - - *9 - *216 + - *9 - *217 - *218 - *219 - *220 + - *221 responses: - '500': *213 + '500': *214 '422': *31 '404': *36 '403': *40 @@ -27611,7 +27612,7 @@ paths: - 1296269 - 1296280 responses: - '500': *213 + '500': *214 '404': *36 '202': *136 '403': *40 @@ -27664,9 +27665,9 @@ paths: value: action: revoke responses: - '500': *213 + '500': *214 '404': *36 - '204': *221 + '204': *222 '403': *40 '422': *31 x-github: @@ -27698,7 +27699,7 @@ paths: - *4 - *5 responses: - '500': *213 + '500': *214 '404': *36 '403': *40 '200': @@ -27709,7 +27710,7 @@ paths: type: array items: *148 examples: - default: *214 + default: *215 headers: Link: *6 x-github: @@ -27753,7 +27754,7 @@ paths: application/json: schema: type: array - items: &222 + items: &223 type: object properties: id: @@ -27797,9 +27798,9 @@ paths: description: Response content: application/json: - schema: *222 + schema: *223 examples: - default: &223 + default: &224 value: id: 42 name: Check Commits @@ -27829,7 +27830,7 @@ paths: description: Response content: application/json: - schema: *222 + schema: *223 examples: default: value: @@ -27878,9 +27879,9 @@ paths: description: Response content: application/json: - schema: *222 + schema: *223 examples: - default: *223 + default: *224 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27921,7 +27922,7 @@ paths: application/json: schema: type: array - items: &224 + items: &225 title: Project description: Projects are a way to organize columns and cards of work. @@ -28091,7 +28092,7 @@ paths: description: Response content: application/json: - schema: *224 + schema: *225 examples: default: value: @@ -28129,7 +28130,7 @@ paths: '401': *38 '403': *40 '404': *36 - '410': *225 + '410': *226 '422': *81 x-github: githubCloudOnly: false @@ -28160,7 +28161,7 @@ paths: type: array items: *19 examples: - default: *206 + default: *207 headers: Link: *6 x-github: @@ -28301,7 +28302,7 @@ paths: type: array items: *148 examples: - default: *214 + default: *215 headers: Link: *6 x-github: @@ -28504,7 +28505,7 @@ paths: description: Response content: application/json: - schema: &272 + schema: &273 title: Full Repository description: Full Repository type: object @@ -28781,8 +28782,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *226 - required: *227 + properties: *227 + required: *228 nullable: true temp_clone_token: type: string @@ -28918,7 +28919,7 @@ paths: - key - name - html_url - security_and_analysis: *228 + security_and_analysis: *229 required: - archive_url - assignees_url @@ -28996,7 +28997,7 @@ paths: - network_count - subscribers_count examples: - default: &274 + default: &275 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -29566,14 +29567,14 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *130 - - *229 - *230 - *231 - *232 + - *233 - *9 - *5 - *4 - - &481 + - &482 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 @@ -29583,7 +29584,7 @@ paths: required: false schema: type: string - - &482 + - &483 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 @@ -29600,9 +29601,9 @@ paths: application/json: schema: type: array - items: *233 + items: *234 examples: - default: *234 + default: *235 headers: Link: *6 '404': *36 @@ -29636,12 +29637,12 @@ paths: application/json: schema: type: array - items: &458 + items: &459 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &239 + properties: &240 id: description: Unique identifier of the team type: integer @@ -29694,7 +29695,7 @@ paths: LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &240 + required: &241 - id - node_id - url @@ -29706,7 +29707,7 @@ paths: - repositories_url - slug examples: - default: &241 + default: &242 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -29744,7 +29745,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/orgs/security-managers#add-a-security-manager-team parameters: - *130 - - &235 + - &236 name: team_slug description: The slug of the team name. in: path @@ -29779,7 +29780,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *130 - - *235 + - *236 responses: '204': description: Response @@ -29815,10 +29816,10 @@ paths: description: Success content: application/json: - schema: *236 + schema: *237 examples: - default: *237 - '403': *238 + default: *238 + '403': *239 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29846,7 +29847,7 @@ paths: application/json: schema: type: array - items: &263 + items: &264 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -29905,8 +29906,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *239 - required: *240 + properties: *240 + required: *241 nullable: true required: - id @@ -29921,7 +29922,7 @@ paths: - slug - parent examples: - default: *241 + default: *242 headers: Link: *6 '403': *40 @@ -30023,7 +30024,7 @@ paths: description: Response content: application/json: - schema: &242 + schema: &243 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -30086,8 +30087,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *239 - required: *240 + properties: *240 + required: *241 nullable: true members_count: type: integer @@ -30329,7 +30330,7 @@ paths: - repos_count - organization examples: - default: &243 + default: &244 value: id: 1 node_id: MDQ6VGVhbTE= @@ -30399,15 +30400,15 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#get-a-team-by-name parameters: - *130 - - *235 + - *236 responses: '200': description: Response content: application/json: - schema: *242 + schema: *243 examples: - default: *243 + default: *244 '404': *36 x-github: githubCloudOnly: false @@ -30429,7 +30430,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#update-a-team parameters: - *130 - - *235 + - *236 requestBody: required: false content: @@ -30491,16 +30492,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *242 + schema: *243 examples: - default: *243 + default: *244 '201': description: Response content: application/json: - schema: *242 + schema: *243 examples: - default: *243 + default: *244 '404': *36 '422': *31 '403': *40 @@ -30526,7 +30527,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#delete-a-team parameters: - *130 - - *235 + - *236 responses: '204': description: Response @@ -30553,7 +30554,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussions#list-discussions parameters: - *130 - - *235 + - *236 - *9 - *4 - *5 @@ -30570,7 +30571,7 @@ paths: application/json: schema: type: array - items: &244 + items: &245 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -30669,7 +30670,7 @@ paths: - updated_at - url examples: - default: &520 + default: &521 value: - author: login: octocat @@ -30744,7 +30745,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussions#create-a-discussion parameters: - *130 - - *235 + - *236 requestBody: required: true content: @@ -30778,9 +30779,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: &245 + default: &246 value: author: login: octocat @@ -30853,8 +30854,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussions#get-a-discussion parameters: - *130 - - *235 - - &246 + - *236 + - &247 name: discussion_number description: The number that identifies the discussion. in: path @@ -30866,9 +30867,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: *245 + default: *246 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30891,8 +30892,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussions#update-a-discussion parameters: - *130 - - *235 - - *246 + - *236 + - *247 requestBody: required: false content: @@ -30915,9 +30916,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: &521 + default: &522 value: author: login: octocat @@ -30988,8 +30989,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussions#delete-a-discussion parameters: - *130 - - *235 - - *246 + - *236 + - *247 responses: '204': description: Response @@ -31016,8 +31017,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#list-discussion-comments parameters: - *130 - - *235 - - *246 + - *236 + - *247 - *9 - *4 - *5 @@ -31028,7 +31029,7 @@ paths: application/json: schema: type: array - items: &247 + items: &248 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -31100,7 +31101,7 @@ paths: - updated_at - url examples: - default: &522 + default: &523 value: - author: login: octocat @@ -31169,8 +31170,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#create-a-discussion-comment parameters: - *130 - - *235 - - *246 + - *236 + - *247 requestBody: required: true content: @@ -31192,9 +31193,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: &248 + default: &249 value: author: login: octocat @@ -31261,9 +31262,9 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#get-a-discussion-comment parameters: - *130 - - *235 - - *246 - - &249 + - *236 + - *247 + - &250 name: comment_number description: The number that identifies the comment. in: path @@ -31275,9 +31276,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31300,9 +31301,9 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#update-a-discussion-comment parameters: - *130 - - *235 - - *246 - - *249 + - *236 + - *247 + - *250 requestBody: required: true content: @@ -31324,9 +31325,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: &523 + default: &524 value: author: login: octocat @@ -31391,9 +31392,9 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *130 - - *235 - - *246 - - *249 + - *236 + - *247 + - *250 responses: '204': description: Response @@ -31420,9 +31421,9 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *130 - - *235 - - *246 - - *249 + - *236 + - *247 + - *250 - 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. @@ -31448,7 +31449,7 @@ paths: application/json: schema: type: array - items: &250 + items: &251 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -31491,7 +31492,7 @@ paths: - content - created_at examples: - default: &252 + default: &253 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -31542,9 +31543,9 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *130 - - *235 - - *246 - - *249 + - *236 + - *247 + - *250 requestBody: required: true content: @@ -31577,9 +31578,9 @@ paths: team discussion comment content: application/json: - schema: *250 + schema: *251 examples: - default: &251 + default: &252 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -31608,9 +31609,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31634,10 +31635,10 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *130 - - *235 - - *246 - - *249 - - &253 + - *236 + - *247 + - *250 + - &254 name: reaction_id description: The unique identifier of the reaction. in: path @@ -31670,8 +31671,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *130 - - *235 - - *246 + - *236 + - *247 - 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. @@ -31697,9 +31698,9 @@ paths: application/json: schema: type: array - items: *250 + items: *251 examples: - default: *252 + default: *253 headers: Link: *6 x-github: @@ -31726,8 +31727,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *130 - - *235 - - *246 + - *236 + - *247 requestBody: required: true content: @@ -31759,16 +31760,16 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 '201': description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -31792,9 +31793,9 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#delete-team-discussion-reaction parameters: - *130 - - *235 - - *246 - - *253 + - *236 + - *247 + - *254 responses: '204': description: Response @@ -31818,15 +31819,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: - *130 - - *235 + - *236 responses: '200': description: Response content: application/json: - schema: *254 + schema: *255 examples: - default: *255 + default: *256 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -31846,7 +31847,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: - *130 - - *235 + - *236 requestBody: required: true content: @@ -31869,9 +31870,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *257 examples: - default: *257 + default: *258 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -31891,7 +31892,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: - *130 - - *235 + - *236 responses: '204': description: Response @@ -31915,7 +31916,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/members#list-team-members parameters: - *130 - - *235 + - *236 - name: role description: Filters members returned by their role in the team. in: query @@ -31938,7 +31939,7 @@ paths: type: array items: *19 examples: - default: *206 + default: *207 headers: Link: *6 x-github: @@ -31969,14 +31970,14 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/members#get-team-membership-for-a-user parameters: - *130 - - *235 + - *236 - *8 responses: '200': description: Response content: application/json: - schema: &258 + schema: &259 title: Team Membership description: Team Membership type: object @@ -32003,7 +32004,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &524 + response-if-user-is-a-team-maintainer: &525 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -32040,7 +32041,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *130 - - *235 + - *236 - *8 requestBody: required: false @@ -32066,9 +32067,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - response-if-users-membership-with-team-is-now-pending: &525 + response-if-users-membership-with-team-is-now-pending: &526 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -32104,7 +32105,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/members#remove-team-membership-for-a-user parameters: - *130 - - *235 + - *236 - *8 responses: '204': @@ -32132,7 +32133,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#list-team-projects parameters: - *130 - - *235 + - *236 - *4 - *5 responses: @@ -32142,7 +32143,7 @@ paths: application/json: schema: type: array - items: &259 + items: &260 title: Team Project description: A team's access to a project. type: object @@ -32210,7 +32211,7 @@ paths: - updated_at - permissions examples: - default: &526 + default: &527 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -32272,8 +32273,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#check-team-permissions-for-a-project parameters: - *130 - - *235 - - &260 + - *236 + - &261 name: project_id description: The unique identifier of the project. in: path @@ -32285,9 +32286,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *260 examples: - default: &527 + default: &528 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -32348,8 +32349,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#add-or-update-team-project-permissions parameters: - *130 - - *235 - - *260 + - *236 + - *261 requestBody: required: false content: @@ -32414,8 +32415,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#remove-a-project-from-a-team parameters: - *130 - - *235 - - *260 + - *236 + - *261 responses: '204': description: Response @@ -32440,7 +32441,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#list-team-repositories parameters: - *130 - - *235 + - *236 - *4 - *5 responses: @@ -32452,7 +32453,7 @@ paths: type: array items: *148 examples: - default: *214 + default: *215 headers: Link: *6 x-github: @@ -32482,15 +32483,15 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *130 - - *235 - - *261 + - *236 - *262 + - *263 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &528 + schema: &529 title: Team Repository description: A team's access to a repository. type: object @@ -33060,9 +33061,9 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *130 - - *235 - - *261 + - *236 - *262 + - *263 requestBody: required: false content: @@ -33108,9 +33109,9 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#remove-a-repository-from-a-team parameters: - *130 - - *235 - - *261 + - *236 - *262 + - *263 responses: '204': description: Response @@ -33135,7 +33136,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#list-child-teams parameters: - *130 - - *235 + - *236 - *4 - *5 responses: @@ -33145,9 +33146,9 @@ paths: application/json: schema: type: array - items: *263 + items: *264 examples: - response-if-child-teams-exist: &529 + response-if-child-teams-exist: &530 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -33248,7 +33249,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/cards#get-a-project-card parameters: - - &264 + - &265 name: card_id description: The unique identifier of the card. in: path @@ -33260,7 +33261,7 @@ paths: description: Response content: application/json: - schema: &265 + schema: &266 title: Project Card description: Project cards represent a scope of work. type: object @@ -33327,7 +33328,7 @@ paths: - created_at - updated_at examples: - default: &266 + default: &267 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -33377,7 +33378,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/cards#update-an-existing-project-card parameters: - - *264 + - *265 requestBody: required: false content: @@ -33404,9 +33405,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *266 examples: - default: *266 + default: *267 '304': *39 '403': *40 '401': *38 @@ -33427,7 +33428,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/cards#delete-a-project-card parameters: - - *264 + - *265 responses: '204': description: Response @@ -33465,7 +33466,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/cards#move-a-project-card parameters: - - *264 + - *265 requestBody: required: true content: @@ -33570,7 +33571,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/columns#get-a-project-column parameters: - - &267 + - &268 name: column_id description: The unique identifier of the column. in: path @@ -33582,7 +33583,7 @@ paths: description: Response content: application/json: - schema: &268 + schema: &269 title: Project Column description: Project columns contain cards of work. type: object @@ -33628,7 +33629,7 @@ paths: - created_at - updated_at examples: - default: &269 + default: &270 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -33657,7 +33658,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/columns#update-an-existing-project-column parameters: - - *267 + - *268 requestBody: required: true content: @@ -33681,9 +33682,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *269 examples: - default: *269 + default: *270 '304': *39 '403': *40 '401': *38 @@ -33702,7 +33703,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/columns#delete-a-project-column parameters: - - *267 + - *268 responses: '204': description: Response @@ -33725,7 +33726,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/cards#list-project-cards parameters: - - *267 + - *268 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -33746,7 +33747,7 @@ paths: application/json: schema: type: array - items: *265 + items: *266 examples: default: value: @@ -33799,7 +33800,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/cards#create-a-project-card parameters: - - *267 + - *268 requestBody: required: true content: @@ -33839,9 +33840,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *266 examples: - default: *266 + default: *267 '304': *39 '403': *40 '401': *38 @@ -33891,7 +33892,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/columns#move-a-project-column parameters: - - *267 + - *268 requestBody: required: true content: @@ -33947,15 +33948,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/projects#get-a-project parameters: - - *260 + - *261 responses: '200': description: Response content: application/json: - schema: *224 + schema: *225 examples: - default: &270 + default: &271 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -34008,7 +34009,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/projects#update-a-project parameters: - - *260 + - *261 requestBody: required: false content: @@ -34054,9 +34055,9 @@ paths: description: Response content: application/json: - schema: *224 + schema: *225 examples: - default: *270 + default: *271 '404': description: Not Found if the authenticated user does not have access to the project @@ -34077,7 +34078,7 @@ paths: items: type: string '401': *38 - '410': *225 + '410': *226 '422': *81 x-github: githubCloudOnly: false @@ -34095,7 +34096,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/projects#delete-a-project parameters: - - *260 + - *261 responses: '204': description: Delete Success @@ -34116,7 +34117,7 @@ paths: items: type: string '401': *38 - '410': *225 + '410': *226 '404': *36 x-github: githubCloudOnly: false @@ -34139,7 +34140,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/collaborators#list-project-collaborators parameters: - - *260 + - *261 - 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 @@ -34166,7 +34167,7 @@ paths: type: array items: *19 examples: - default: *206 + default: *207 headers: Link: *6 '404': *36 @@ -34191,7 +34192,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/collaborators#add-project-collaborator parameters: - - *260 + - *261 - *8 requestBody: required: false @@ -34239,7 +34240,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *260 + - *261 - *8 responses: '204': @@ -34268,7 +34269,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: - - *260 + - *261 - *8 responses: '200': @@ -34336,7 +34337,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/columns#list-project-columns parameters: - - *260 + - *261 - *4 - *5 responses: @@ -34346,7 +34347,7 @@ paths: application/json: schema: type: array - items: *268 + items: *269 examples: default: value: @@ -34378,7 +34379,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/columns#create-a-project-column parameters: - - *260 + - *261 requestBody: required: true content: @@ -34401,7 +34402,7 @@ paths: description: Response content: application/json: - schema: *268 + schema: *269 examples: default: value: @@ -34462,7 +34463,7 @@ paths: resources: type: object properties: - core: &271 + core: &272 title: Rate Limit type: object properties: @@ -34479,19 +34480,19 @@ paths: - remaining - reset - used - graphql: *271 - search: *271 - code_search: *271 - source_import: *271 - integration_manifest: *271 - code_scanning_upload: *271 - actions_runner_registration: *271 - scim: *271 - code_scanning_autofix: *271 + graphql: *272 + search: *272 + code_search: *272 + source_import: *272 + integration_manifest: *272 + code_scanning_upload: *272 + actions_runner_registration: *272 + scim: *272 + code_scanning_autofix: *272 required: - core - search - rate: *271 + rate: *272 required: - rate - resources @@ -34595,14 +34596,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#get-a-repository parameters: - - *261 - *262 + - *263 responses: '200': description: Response content: application/json: - schema: *272 + schema: *273 examples: default-response: summary: Default response @@ -35101,7 +35102,7 @@ paths: status: disabled '403': *40 '404': *36 - '301': *273 + '301': *274 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35119,8 +35120,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#update-a-repository parameters: - - *261 - *262 + - *263 requestBody: required: false content: @@ -35333,10 +35334,10 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: - default: *274 - '307': &275 + default: *275 + '307': &276 description: Temporary Redirect content: application/json: @@ -35381,8 +35382,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#delete-a-repository parameters: - - *261 - *262 + - *263 responses: '204': description: Response @@ -35404,7 +35405,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': *275 + '307': *276 '404': *36 x-github: githubCloudOnly: false @@ -35427,11 +35428,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *261 - *262 + - *263 - *4 - *5 - - &292 + - &293 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -35454,7 +35455,7 @@ paths: type: integer artifacts: type: array - items: &276 + items: &277 title: Artifact description: An artifact type: object @@ -35525,7 +35526,7 @@ paths: - expires_at - updated_at examples: - default: &293 + default: &294 value: total_count: 2 artifacts: @@ -35584,9 +35585,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/artifacts#get-an-artifact parameters: - - *261 - *262 - - &277 + - *263 + - &278 name: artifact_id description: The unique identifier of the artifact. in: path @@ -35598,7 +35599,7 @@ paths: description: Response content: application/json: - schema: *276 + schema: *277 examples: default: value: @@ -35635,9 +35636,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/artifacts#delete-an-artifact parameters: - - *261 - *262 - - *277 + - *263 + - *278 responses: '204': description: Response @@ -35661,9 +35662,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/artifacts#download-an-artifact parameters: - - *261 - *262 - - *277 + - *263 + - *278 - name: archive_format in: path required: true @@ -35677,7 +35678,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': *225 + '410': *226 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35700,14 +35701,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: - - *261 - *262 + - *263 responses: '200': description: Response content: application/json: - schema: *278 + schema: *279 examples: default: value: @@ -35733,14 +35734,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: - - *261 - *262 + - *263 responses: '200': description: Response content: application/json: - schema: &279 + schema: &280 title: Actions cache usage policy for repository description: GitHub Actions cache usage policy for repository. type: object @@ -35752,7 +35753,7 @@ paths: required: - repo_cache_size_limit_in_gb examples: - default: &280 + default: &281 value: repo_cache_size_limit_in_gb: 14 x-github: @@ -35773,8 +35774,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: - - *261 - *262 + - *263 responses: '204': description: Response @@ -35782,9 +35783,9 @@ paths: required: true content: application/json: - schema: *279 + schema: *280 examples: - selected_actions: *280 + selected_actions: *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35804,11 +35805,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: - - *261 - *262 + - *263 - *4 - *5 - - &281 + - &282 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 @@ -35842,7 +35843,7 @@ paths: description: Response content: application/json: - schema: &282 + schema: &283 title: Repository actions caches description: Repository actions caches type: object @@ -35884,7 +35885,7 @@ paths: - total_count - actions_caches examples: - default: &283 + default: &284 value: total_count: 1 actions_caches: @@ -35916,23 +35917,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: - - *261 - *262 + - *263 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *281 + - *282 responses: '200': description: Response content: application/json: - schema: *282 + schema: *283 examples: - default: *283 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35952,8 +35953,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: - - *261 - *262 + - *263 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -35984,9 +35985,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: - - *261 - *262 - - &284 + - *263 + - &285 name: job_id description: The unique identifier of the job. in: path @@ -35998,7 +35999,7 @@ paths: description: Response content: application/json: - schema: &296 + schema: &297 title: Job description: Information of a job execution in a workflow run type: object @@ -36305,9 +36306,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: - - *261 - *262 - - *284 + - *263 + - *285 responses: '302': description: Response @@ -36335,9 +36336,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: - - *261 - *262 - - *284 + - *263 + - *285 requestBody: required: false content: @@ -36382,8 +36383,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: - - *261 - *262 + - *263 responses: '200': description: Status response @@ -36433,8 +36434,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: - - *261 - *262 + - *263 requestBody: required: true content: @@ -36497,8 +36498,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#list-repository-organization-secrets parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -36516,7 +36517,7 @@ paths: type: integer secrets: type: array - items: &298 + items: &299 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -36536,7 +36537,7 @@ paths: - created_at - updated_at examples: - default: &299 + default: &300 value: total_count: 2 secrets: @@ -36569,9 +36570,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#list-repository-organization-variables parameters: - - *261 - *262 - - *285 + - *263 + - *286 - *5 responses: '200': @@ -36588,7 +36589,7 @@ paths: type: integer variables: type: array - items: &302 + items: &303 title: Actions Variable type: object properties: @@ -36618,7 +36619,7 @@ paths: - created_at - updated_at examples: - default: &303 + default: &304 value: total_count: 2 variables: @@ -36651,8 +36652,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: - - *261 - *262 + - *263 responses: '200': description: Response @@ -36661,7 +36662,7 @@ paths: schema: type: object properties: - enabled: &286 + enabled: &287 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *66 @@ -36694,8 +36695,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: - - *261 - *262 + - *263 responses: '204': description: Response @@ -36706,7 +36707,7 @@ paths: schema: type: object properties: - enabled: *286 + enabled: *287 allowed_actions: *66 required: - enabled @@ -36737,14 +36738,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: - - *261 - *262 + - *263 responses: '200': description: Response content: application/json: - schema: &287 + schema: &288 type: object properties: access_level: @@ -36762,7 +36763,7 @@ paths: required: - access_level examples: - default: &288 + default: &289 value: access_level: organization x-github: @@ -36787,15 +36788,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: - - *261 - *262 + - *263 requestBody: required: true content: application/json: - schema: *287 + schema: *288 examples: - default: *288 + default: *289 responses: '204': description: Response @@ -36819,8 +36820,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: - - *261 - *262 + - *263 responses: '200': description: Response @@ -36851,8 +36852,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: - - *261 - *262 + - *263 responses: '204': description: Response @@ -36884,8 +36885,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: - - *261 - *262 + - *263 responses: '200': description: Response @@ -36914,8 +36915,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: - - *261 - *262 + - *263 responses: '204': description: Success response @@ -36950,8 +36951,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: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -36995,8 +36996,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: - - *261 - *262 + - *263 responses: '200': description: Response @@ -37028,8 +37029,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: - - *261 - *262 + - *263 requestBody: required: true content: @@ -37103,8 +37104,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: - - *261 - *262 + - *263 responses: '201': description: Response @@ -37140,8 +37141,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: - - *261 - *262 + - *263 responses: '201': description: Response @@ -37171,8 +37172,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: - - *261 - *262 + - *263 - *78 responses: '200': @@ -37202,8 +37203,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: - - *261 - *262 + - *263 - *78 responses: '204': @@ -37229,8 +37230,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: - - *261 - *262 + - *263 - *78 responses: '200': *85 @@ -37255,8 +37256,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: - - *261 - *262 + - *263 - *78 requestBody: required: true @@ -37305,8 +37306,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: - - *261 - *262 + - *263 - *78 requestBody: required: true @@ -37356,8 +37357,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: - - *261 - *262 + - *263 - *78 responses: '200': *155 @@ -37387,8 +37388,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: - - *261 - *262 + - *263 - *78 - *156 responses: @@ -37418,9 +37419,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: - - *261 - *262 - - &306 + - *263 + - &307 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. @@ -37428,7 +37429,7 @@ paths: required: false schema: type: string - - &307 + - &308 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -37436,7 +37437,7 @@ paths: required: false schema: type: string - - &308 + - &309 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -37445,7 +37446,7 @@ paths: required: false schema: type: string - - &309 + - &310 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 @@ -37472,7 +37473,7 @@ paths: - pending - *4 - *5 - - &310 + - &311 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)." @@ -37481,7 +37482,7 @@ paths: schema: type: string format: date-time - - &289 + - &290 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -37490,13 +37491,13 @@ paths: schema: type: boolean default: false - - &311 + - &312 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &312 + - &313 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -37519,7 +37520,7 @@ paths: type: integer workflow_runs: type: array - items: &290 + items: &291 title: Workflow Run description: An invocation of a workflow type: object @@ -37614,7 +37615,7 @@ paths: that triggered the run. type: array nullable: true - items: &330 + items: &331 title: Pull Request Minimal type: object properties: @@ -37733,7 +37734,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &334 + properties: &335 id: type: string description: SHA for the commit @@ -37784,7 +37785,7 @@ paths: - name - email nullable: true - required: &335 + required: &336 - id - tree_id - message @@ -37831,7 +37832,7 @@ paths: - workflow_url - pull_requests examples: - default: &313 + default: &314 value: total_count: 1 workflow_runs: @@ -38067,24 +38068,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *261 - *262 - - &291 + - *263 + - &292 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *289 + - *290 responses: '200': description: Response content: application/json: - schema: *290 + schema: *291 examples: - default: &294 + default: &295 value: id: 30433642 name: Build @@ -38325,9 +38326,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *261 - *262 - - *291 + - *263 + - *292 responses: '204': description: Response @@ -38350,9 +38351,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: - - *261 - *262 - - *291 + - *263 + - *292 responses: '200': description: Response @@ -38473,12 +38474,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *261 - *262 - - *291 + - *263 + - *292 - *4 - *5 - - *292 + - *293 responses: '200': description: Response @@ -38494,9 +38495,9 @@ paths: type: integer artifacts: type: array - items: *276 + items: *277 examples: - default: *293 + default: *294 headers: Link: *6 x-github: @@ -38520,25 +38521,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: - - *261 - *262 - - *291 - - &295 + - *263 + - *292 + - &296 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *289 + - *290 responses: '200': description: Response content: application/json: - schema: *290 + schema: *291 examples: - default: *294 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38561,10 +38562,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: - - *261 - *262 - - *291 - - *295 + - *263 + - *292 + - *296 - *4 - *5 responses: @@ -38582,9 +38583,9 @@ paths: type: integer jobs: type: array - items: *296 + items: *297 examples: - default: &297 + default: &298 value: total_count: 1 jobs: @@ -38697,10 +38698,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: - - *261 - *262 - - *291 - - *295 + - *263 + - *292 + - *296 responses: '302': description: Response @@ -38728,9 +38729,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *261 - *262 - - *291 + - *263 + - *292 responses: '202': description: Response @@ -38763,9 +38764,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: - - *261 - *262 - - *291 + - *263 + - *292 requestBody: required: true content: @@ -38834,9 +38835,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: - - *261 - *262 - - *291 + - *263 + - *292 - 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 @@ -38866,9 +38867,9 @@ paths: type: integer jobs: type: array - items: *296 + items: *297 examples: - default: *297 + default: *298 headers: Link: *6 x-github: @@ -38893,9 +38894,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *261 - *262 - - *291 + - *263 + - *292 responses: '302': description: Response @@ -38922,14 +38923,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *261 - *262 - - *291 + - *263 + - *292 responses: '204': description: Response '403': *40 - '500': *213 + '500': *214 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38951,9 +38952,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: - - *261 - *262 - - *291 + - *263 + - *292 responses: '200': description: Response @@ -39013,7 +39014,7 @@ paths: items: type: object properties: - type: &386 + type: &387 type: string description: The type of reviewer. enum: @@ -39023,7 +39024,7 @@ paths: reviewer: anyOf: - *19 - - *263 + - *264 required: - environment - wait_timer @@ -39098,9 +39099,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: - - *261 - *262 - - *291 + - *263 + - *292 requestBody: required: true content: @@ -39147,7 +39148,7 @@ paths: application/json: schema: type: array - items: &381 + items: &382 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -39253,7 +39254,7 @@ paths: - created_at - updated_at examples: - default: &382 + default: &383 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -39309,9 +39310,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *261 - *262 - - *291 + - *263 + - *292 requestBody: required: false content: @@ -39355,9 +39356,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: - - *261 - *262 - - *291 + - *263 + - *292 requestBody: required: false content: @@ -39404,8 +39405,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#list-repository-secrets parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -39423,9 +39424,9 @@ paths: type: integer secrets: type: array - items: *298 + items: *299 examples: - default: *299 + default: *300 headers: Link: *6 x-github: @@ -39450,16 +39451,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#get-a-repository-public-key parameters: - - *261 - *262 + - *263 responses: '200': description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39481,17 +39482,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#get-a-repository-secret parameters: - - *261 - *262 + - *263 - *158 responses: '200': description: Response content: application/json: - schema: *298 + schema: *299 examples: - default: &399 + default: &400 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -39517,8 +39518,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: - - *261 - *262 + - *263 - *158 requestBody: required: true @@ -39576,8 +39577,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#delete-a-repository-secret parameters: - - *261 - *262 + - *263 - *158 responses: '204': @@ -39603,9 +39604,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#list-repository-variables parameters: - - *261 - *262 - - *285 + - *263 + - *286 - *5 responses: '200': @@ -39622,9 +39623,9 @@ paths: type: integer variables: type: array - items: *302 + items: *303 examples: - default: *303 + default: *304 headers: Link: *6 x-github: @@ -39647,8 +39648,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#create-a-repository-variable parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -39700,17 +39701,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#get-a-repository-variable parameters: - - *261 - *262 + - *263 - *161 responses: '200': description: Response content: application/json: - schema: *302 + schema: *303 examples: - default: &400 + default: &401 value: name: USERNAME value: octocat @@ -39736,8 +39737,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#update-a-repository-variable parameters: - - *261 - *262 + - *263 - *161 requestBody: required: true @@ -39780,8 +39781,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#delete-a-repository-variable parameters: - - *261 - *262 + - *263 - *161 responses: '204': @@ -39807,8 +39808,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflows#list-repository-workflows parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -39826,7 +39827,7 @@ paths: type: integer workflows: type: array - items: &304 + items: &305 title: Workflow description: A GitHub Actions workflow type: object @@ -39933,9 +39934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflows#get-a-workflow parameters: - - *261 - *262 - - &305 + - *263 + - &306 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -39950,7 +39951,7 @@ paths: description: Response content: application/json: - schema: *304 + schema: *305 examples: default: value: @@ -39983,9 +39984,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflows#disable-a-workflow parameters: - - *261 - *262 - - *305 + - *263 + - *306 responses: '204': description: Response @@ -40010,9 +40011,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *261 - *262 - - *305 + - *263 + - *306 responses: '204': description: Response @@ -40063,9 +40064,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflows#enable-a-workflow parameters: - - *261 - *262 - - *305 + - *263 + - *306 responses: '204': description: Response @@ -40092,19 +40093,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: - - *261 - *262 - - *305 + - *263 - *306 - *307 - *308 - *309 + - *310 - *4 - *5 - - *310 - - *289 - *311 + - *290 - *312 + - *313 responses: '200': description: Response @@ -40120,9 +40121,9 @@ paths: type: integer workflow_runs: type: array - items: *290 + items: *291 examples: - default: *313 + default: *314 headers: Link: *6 x-github: @@ -40142,8 +40143,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/assignees#list-assignees parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -40155,7 +40156,7 @@ paths: type: array items: *19 examples: - default: *206 + default: *207 headers: Link: *6 '404': *36 @@ -40180,8 +40181,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: - - *261 - *262 + - *263 - name: assignee in: path required: true @@ -40215,8 +40216,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: - - *261 - *262 + - *263 responses: '200': description: Response @@ -40224,7 +40225,7 @@ paths: application/json: schema: type: array - items: &314 + items: &315 title: Autolink reference description: An autolink reference. type: object @@ -40274,8 +40275,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: - - *261 - *262 + - *263 requestBody: required: true content: @@ -40314,9 +40315,9 @@ paths: description: response content: application/json: - schema: *314 + schema: *315 examples: - default: &315 + default: &316 value: id: 1 key_prefix: TICKET- @@ -40347,9 +40348,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: - - *261 - *262 - - &316 + - *263 + - &317 name: autolink_id description: The unique identifier of the autolink. in: path @@ -40361,9 +40362,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *315 + default: *316 '404': *36 x-github: githubCloudOnly: false @@ -40383,9 +40384,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: - - *261 - *262 - - *316 + - *263 + - *317 responses: '204': description: Response @@ -40409,8 +40410,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: - - *261 - *262 + - *263 responses: '200': description: Response if Dependabot is enabled @@ -40457,8 +40458,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branches#list-branches parameters: - - *261 - *262 + - *263 - name: protected description: Setting to `true` returns only protected branches. When set to `false`, only unprotected branches are returned. Omitting this parameter @@ -40496,7 +40497,7 @@ paths: - url protected: type: boolean - protection: &318 + protection: &319 title: Branch Protection description: Branch Protection type: object @@ -40538,7 +40539,7 @@ paths: required: - contexts - checks - enforce_admins: &321 + enforce_admins: &322 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -40553,7 +40554,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &323 + required_pull_request_reviews: &324 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -40574,7 +40575,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *263 + items: *264 apps: description: The list of apps with review dismissal access. @@ -40603,7 +40604,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *263 + items: *264 apps: description: The list of apps allowed to bypass pull request requirements. @@ -40629,7 +40630,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &320 + restrictions: &321 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -40936,9 +40937,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branches#get-a-branch parameters: - - *261 - *262 - - &319 + - *263 + - &320 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). @@ -40952,14 +40953,14 @@ paths: description: Response content: application/json: - schema: &329 + schema: &330 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &359 + commit: &360 title: Commit description: Commit type: object @@ -40993,7 +40994,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &317 + properties: &318 name: type: string example: '"Chris Wanstrath"' @@ -41008,7 +41009,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *317 + properties: *318 nullable: true message: type: string @@ -41029,7 +41030,7 @@ paths: required: - sha - url - verification: &406 + verification: &407 title: Verification type: object properties: @@ -41095,7 +41096,7 @@ paths: type: integer files: type: array - items: &370 + items: &371 title: Diff Entry description: Diff Entry type: object @@ -41178,7 +41179,7 @@ paths: - self protected: type: boolean - protection: *318 + protection: *319 protection_url: type: string format: uri @@ -41282,7 +41283,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *273 + '301': *274 '404': *36 x-github: githubCloudOnly: false @@ -41304,15 +41305,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#get-branch-protection parameters: - - *261 - *262 - - *319 + - *263 + - *320 responses: '200': description: Response content: application/json: - schema: *318 + schema: *319 examples: default: value: @@ -41506,9 +41507,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#update-branch-protection parameters: - - *261 - *262 - - *319 + - *263 + - *320 requestBody: required: true content: @@ -41763,7 +41764,7 @@ paths: url: type: string format: uri - required_status_checks: &326 + required_status_checks: &327 title: Status Check Policy description: Status Check Policy type: object @@ -41839,7 +41840,7 @@ paths: items: *19 teams: type: array - items: *263 + items: *264 apps: type: array items: *22 @@ -41857,7 +41858,7 @@ paths: items: *19 teams: type: array - items: *263 + items: *264 apps: type: array items: *22 @@ -41915,7 +41916,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *320 + restrictions: *321 required_conversation_resolution: type: object properties: @@ -42027,9 +42028,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#delete-branch-protection parameters: - - *261 - *262 - - *319 + - *263 + - *320 responses: '204': description: Response @@ -42054,17 +42055,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *261 - *262 - - *319 + - *263 + - *320 responses: '200': description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: &322 + default: &323 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -42086,17 +42087,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *261 - *262 - - *319 + - *263 + - *320 responses: '200': description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *322 + default: *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42115,9 +42116,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *261 - *262 - - *319 + - *263 + - *320 responses: '204': description: Response @@ -42142,17 +42143,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: - - *261 - *262 - - *319 + - *263 + - *320 responses: '200': description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: &324 + default: &325 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -42248,9 +42249,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: - - *261 - *262 - - *319 + - *263 + - *320 requestBody: required: false content: @@ -42348,9 +42349,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: *324 + default: *325 '422': *31 x-github: githubCloudOnly: false @@ -42371,9 +42372,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: - - *261 - *262 - - *319 + - *263 + - *320 responses: '204': description: Response @@ -42400,17 +42401,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *261 - *262 - - *319 + - *263 + - *320 responses: '200': description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: &325 + default: &326 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -42433,17 +42434,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *261 - *262 - - *319 + - *263 + - *320 responses: '200': description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *325 + default: *326 '404': *36 x-github: githubCloudOnly: false @@ -42463,9 +42464,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *261 - *262 - - *319 + - *263 + - *320 responses: '204': description: Response @@ -42490,17 +42491,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#get-status-checks-protection parameters: - - *261 - *262 - - *319 + - *263 + - *320 responses: '200': description: Response content: application/json: - schema: *326 + schema: *327 examples: - default: &327 + default: &328 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -42526,9 +42527,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#update-status-check-protection parameters: - - *261 - *262 - - *319 + - *263 + - *320 requestBody: required: false content: @@ -42580,9 +42581,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *327 examples: - default: *327 + default: *328 '404': *36 '422': *31 x-github: @@ -42604,9 +42605,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#remove-status-check-protection parameters: - - *261 - *262 - - *319 + - *263 + - *320 responses: '204': description: Response @@ -42630,9 +42631,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: - - *261 - *262 - - *319 + - *263 + - *320 responses: '200': description: Response @@ -42666,9 +42667,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#add-status-check-contexts parameters: - - *261 - *262 - - *319 + - *263 + - *320 requestBody: required: false content: @@ -42735,9 +42736,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#set-status-check-contexts parameters: - - *261 - *262 - - *319 + - *263 + - *320 requestBody: required: false content: @@ -42801,9 +42802,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *261 - *262 - - *319 + - *263 + - *320 requestBody: content: application/json: @@ -42869,15 +42870,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#get-access-restrictions parameters: - - *261 - *262 - - *319 + - *263 + - *320 responses: '200': description: Response content: application/json: - schema: *320 + schema: *321 examples: default: value: @@ -42968,9 +42969,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#delete-access-restrictions parameters: - - *261 - *262 - - *319 + - *263 + - *320 responses: '204': description: Response @@ -42993,9 +42994,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: - - *261 - *262 - - *319 + - *263 + - *320 responses: '200': description: Response @@ -43005,7 +43006,7 @@ paths: type: array items: *22 examples: - default: &328 + default: &329 value: - id: 1 slug: octoapp @@ -43062,9 +43063,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *261 - *262 - - *319 + - *263 + - *320 requestBody: required: true content: @@ -43098,7 +43099,7 @@ paths: type: array items: *22 examples: - default: *328 + default: *329 '422': *31 x-github: githubCloudOnly: false @@ -43119,9 +43120,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *261 - *262 - - *319 + - *263 + - *320 requestBody: required: true content: @@ -43155,7 +43156,7 @@ paths: type: array items: *22 examples: - default: *328 + default: *329 '422': *31 x-github: githubCloudOnly: false @@ -43176,9 +43177,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *261 - *262 - - *319 + - *263 + - *320 requestBody: required: true content: @@ -43212,7 +43213,7 @@ paths: type: array items: *22 examples: - default: *328 + default: *329 '422': *31 x-github: githubCloudOnly: false @@ -43234,9 +43235,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: - - *261 - *262 - - *319 + - *263 + - *320 responses: '200': description: Response @@ -43244,9 +43245,9 @@ paths: application/json: schema: type: array - items: *263 + items: *264 examples: - default: *241 + default: *242 '404': *36 x-github: githubCloudOnly: false @@ -43266,9 +43267,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *261 - *262 - - *319 + - *263 + - *320 requestBody: required: false content: @@ -43304,9 +43305,9 @@ paths: application/json: schema: type: array - items: *263 + items: *264 examples: - default: *241 + default: *242 '422': *31 x-github: githubCloudOnly: false @@ -43327,9 +43328,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *261 - *262 - - *319 + - *263 + - *320 requestBody: required: false content: @@ -43365,9 +43366,9 @@ paths: application/json: schema: type: array - items: *263 + items: *264 examples: - default: *241 + default: *242 '422': *31 x-github: githubCloudOnly: false @@ -43388,9 +43389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *261 - *262 - - *319 + - *263 + - *320 requestBody: content: application/json: @@ -43425,9 +43426,9 @@ paths: application/json: schema: type: array - items: *263 + items: *264 examples: - default: *241 + default: *242 '422': *31 x-github: githubCloudOnly: false @@ -43449,9 +43450,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: - - *261 - *262 - - *319 + - *263 + - *320 responses: '200': description: Response @@ -43461,7 +43462,7 @@ paths: type: array items: *19 examples: - default: *206 + default: *207 '404': *36 x-github: githubCloudOnly: false @@ -43485,9 +43486,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *261 - *262 - - *319 + - *263 + - *320 requestBody: required: true content: @@ -43520,7 +43521,7 @@ paths: type: array items: *19 examples: - default: *206 + default: *207 '422': *31 x-github: githubCloudOnly: false @@ -43545,9 +43546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *261 - *262 - - *319 + - *263 + - *320 requestBody: required: true content: @@ -43580,7 +43581,7 @@ paths: type: array items: *19 examples: - default: *206 + default: *207 '422': *31 x-github: githubCloudOnly: false @@ -43605,9 +43606,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *261 - *262 - - *319 + - *263 + - *320 requestBody: required: true content: @@ -43640,7 +43641,7 @@ paths: type: array items: *19 examples: - default: *206 + default: *207 '422': *31 x-github: githubCloudOnly: false @@ -43667,9 +43668,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branches#rename-a-branch parameters: - - *261 - *262 - - *319 + - *263 + - *320 requestBody: required: true content: @@ -43691,7 +43692,7 @@ paths: description: Response content: application/json: - schema: *329 + schema: *330 examples: default: value: @@ -43804,8 +43805,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/runs#create-a-check-run parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -44084,7 +44085,7 @@ paths: description: Response content: application/json: - schema: &331 + schema: &332 title: CheckRun description: A check performed on the code of a given code change type: object @@ -44203,8 +44204,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *330 - deployment: &563 + items: *331 + deployment: &564 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -44484,9 +44485,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/runs#get-a-check-run parameters: - - *261 - *262 - - &332 + - *263 + - &333 name: check_run_id description: The unique identifier of the check run. in: path @@ -44498,9 +44499,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *332 examples: - default: &333 + default: &334 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -44600,9 +44601,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/runs#update-a-check-run parameters: - - *261 - *262 - - *332 + - *263 + - *333 requestBody: required: true content: @@ -44842,9 +44843,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *332 examples: - default: *333 + default: *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44864,9 +44865,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/runs#list-check-run-annotations parameters: - - *261 - *262 - - *332 + - *263 + - *333 - *4 - *5 responses: @@ -44963,9 +44964,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/runs#rerequest-a-check-run parameters: - - *261 - *262 - - *332 + - *263 + - *333 responses: '201': description: Response @@ -45009,8 +45010,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/suites#create-a-check-suite parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -45032,7 +45033,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &336 + schema: &337 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -45096,7 +45097,7 @@ paths: nullable: true pull_requests: type: array - items: *330 + items: *331 nullable: true app: title: GitHub app @@ -45122,8 +45123,8 @@ paths: title: Simple Commit description: A commit. type: object - properties: *334 - required: *335 + properties: *335 + required: *336 latest_check_runs_count: type: integer check_runs_url: @@ -45151,7 +45152,7 @@ paths: - check_runs_url - pull_requests examples: - default: &337 + default: &338 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -45442,9 +45443,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *336 + schema: *337 examples: - default: *337 + default: *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45463,8 +45464,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: - - *261 - *262 + - *263 requestBody: required: true content: @@ -45773,9 +45774,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/suites#get-a-check-suite parameters: - - *261 - *262 - - &338 + - *263 + - &339 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -45787,9 +45788,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *337 examples: - default: *337 + default: *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45812,17 +45813,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: - - *261 - *262 - - *338 - - &367 + - *263 + - *339 + - &368 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &368 + - &369 name: status description: Returns check runs with the specified `status`. in: query @@ -45861,9 +45862,9 @@ paths: type: integer check_runs: type: array - items: *331 + items: *332 examples: - default: &369 + default: &370 value: total_count: 1 check_runs: @@ -45965,9 +45966,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/suites#rerequest-a-check-suite parameters: - - *261 - *262 - - *338 + - *263 + - *339 responses: '201': description: Response @@ -46000,20 +46001,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: - - *261 - *262 - - *172 + - *263 - *173 + - *174 - *5 - *4 - - &349 + - &350 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: *339 + schema: *340 - *9 - name: sort description: The property by which to sort the results. @@ -46030,13 +46031,13 @@ paths: be returned. in: query required: false - schema: *174 + schema: *175 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *340 + schema: *341 responses: '200': description: Response @@ -46052,7 +46053,7 @@ paths: updated_at: *97 url: *94 html_url: *95 - instances_url: *341 + instances_url: *342 state: *88 fixed_at: *99 dismissed_by: @@ -46063,11 +46064,11 @@ paths: required: *18 nullable: true dismissed_at: *98 - dismissed_reason: *342 - dismissed_comment: *343 - rule: *344 - tool: *345 - most_recent_instance: *346 + dismissed_reason: *343 + dismissed_comment: *344 + rule: *345 + tool: *346 + most_recent_instance: *347 required: - number - created_at @@ -46183,7 +46184,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *39 - '403': *238 + '403': *239 '404': *36 '503': *101 x-github: @@ -46205,9 +46206,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: - - *261 - *262 - - &347 + - *263 + - &348 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -46221,7 +46222,7 @@ paths: description: Response content: application/json: - schema: &348 + schema: &349 type: object properties: number: *91 @@ -46229,7 +46230,7 @@ paths: updated_at: *97 url: *94 html_url: *95 - instances_url: *341 + instances_url: *342 state: *88 fixed_at: *99 dismissed_by: @@ -46240,8 +46241,8 @@ paths: required: *18 nullable: true dismissed_at: *98 - dismissed_reason: *342 - dismissed_comment: *343 + dismissed_reason: *343 + dismissed_comment: *344 rule: type: object properties: @@ -46295,8 +46296,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *345 - most_recent_instance: *346 + tool: *346 + most_recent_instance: *347 required: - number - created_at @@ -46385,7 +46386,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *39 - '403': *238 + '403': *239 '404': *36 '503': *101 x-github: @@ -46405,9 +46406,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: - - *261 - *262 - - *347 + - *263 + - *348 requestBody: required: true content: @@ -46422,8 +46423,8 @@ paths: enum: - open - dismissed - dismissed_reason: *342 - dismissed_comment: *343 + dismissed_reason: *343 + dismissed_comment: *344 required: - state examples: @@ -46438,7 +46439,7 @@ paths: description: Response content: application/json: - schema: *348 + schema: *349 examples: default: value: @@ -46513,7 +46514,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &354 + '403': &355 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -46540,12 +46541,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: - - *261 - *262 - - *347 + - *263 + - *348 - *5 - *4 - - *349 + - *350 responses: '200': description: Response @@ -46553,7 +46554,7 @@ paths: application/json: schema: type: array - items: *346 + items: *347 examples: default: value: @@ -46592,7 +46593,7 @@ paths: end_column: 50 classifications: - source - '403': *238 + '403': *239 '404': *36 '503': *101 x-github: @@ -46626,10 +46627,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: - - *261 - *262 - - *172 + - *263 - *173 + - *174 - *5 - *4 - name: ref @@ -46638,12 +46639,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: *339 + schema: *340 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &352 + schema: &353 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -46664,23 +46665,23 @@ paths: application/json: schema: type: array - items: &353 + items: &354 type: object properties: - ref: *339 - commit_sha: &355 + ref: *340 + commit_sha: &356 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: *350 + analysis_key: *351 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *351 + category: *352 error: type: string example: error reading field xyz @@ -46704,8 +46705,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *352 - tool: *345 + sarif_id: *353 + tool: *346 deletable: type: boolean warning: @@ -46766,7 +46767,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *238 + '403': *239 '404': *36 '503': *101 x-github: @@ -46802,8 +46803,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: - - *261 - *262 + - *263 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -46816,7 +46817,7 @@ paths: description: Response content: application/json: - schema: *353 + schema: *354 examples: response: summary: application/json response @@ -46870,7 +46871,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *238 + '403': *239 '404': *36 '503': *101 x-github: @@ -46952,8 +46953,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: - - *261 - *262 + - *263 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -47006,7 +47007,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': *30 - '403': *354 + '403': *355 '404': *36 '503': *101 x-github: @@ -47028,8 +47029,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: - - *261 - *262 + - *263 responses: '200': description: Response @@ -47084,7 +47085,7 @@ paths: - python query_suite: default updated_at: '2023-01-19T11:21:34Z' - '403': *238 + '403': *239 '404': *36 '503': *101 x-github: @@ -47105,8 +47106,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: - - *261 - *262 + - *263 requestBody: required: true content: @@ -47177,7 +47178,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *354 + '403': *355 '404': *36 '409': description: Response if there is already a validation run in progress with @@ -47242,8 +47243,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: - - *261 - *262 + - *263 requestBody: required: true content: @@ -47251,7 +47252,7 @@ paths: schema: type: object properties: - commit_sha: *355 + commit_sha: *356 ref: type: string description: |- @@ -47304,7 +47305,7 @@ paths: schema: type: object properties: - id: *352 + id: *353 url: type: string description: The REST API URL for checking the status of the upload. @@ -47318,7 +47319,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': *354 + '403': *355 '404': *36 '413': description: Payload Too Large if the sarif field is too large @@ -47341,8 +47342,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: - - *261 - *262 + - *263 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -47388,7 +47389,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': *238 + '403': *239 '404': description: Not Found if the sarif id does not match any upload '503': *101 @@ -47413,8 +47414,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#list-codeowners-errors parameters: - - *261 - *262 + - *263 - 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 @@ -47537,8 +47538,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *261 - *262 + - *263 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -47580,7 +47581,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &356 + properties: &357 login: type: string example: octocat @@ -47673,7 +47674,7 @@ paths: user_view_type: type: string example: public - required: &357 + required: &358 - avatar_url - events_url - followers_url @@ -47746,8 +47747,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: - - *261 - *262 + - *263 - *8 responses: '204': @@ -47784,8 +47785,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *261 - *262 + - *263 - *8 requestBody: required: false @@ -47851,8 +47852,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *261 - *262 + - *263 - *8 responses: '204': @@ -47882,8 +47883,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: - - *261 - *262 + - *263 - *8 responses: '200': @@ -47904,8 +47905,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *356 - required: *357 + properties: *357 + required: *358 nullable: true required: - permission @@ -47960,8 +47961,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: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -47971,7 +47972,7 @@ paths: application/json: schema: type: array - items: &358 + items: &359 title: Commit Comment description: Commit Comment type: object @@ -48029,7 +48030,7 @@ paths: - created_at - updated_at examples: - default: &361 + default: &362 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -48088,17 +48089,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/comments#get-a-commit-comment parameters: - - *261 - *262 + - *263 - *117 responses: '200': description: Response content: application/json: - schema: *358 + schema: *359 examples: - default: &362 + default: &363 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -48155,8 +48156,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/comments#update-a-commit-comment parameters: - - *261 - *262 + - *263 - *117 requestBody: required: true @@ -48179,7 +48180,7 @@ paths: description: Response content: application/json: - schema: *358 + schema: *359 examples: default: value: @@ -48230,8 +48231,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/comments#delete-a-commit-comment parameters: - - *261 - *262 + - *263 - *117 responses: '204': @@ -48253,8 +48254,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: - - *261 - *262 + - *263 - *117 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#about-reactions). @@ -48281,9 +48282,9 @@ paths: application/json: schema: type: array - items: *250 + items: *251 examples: - default: *252 + default: *253 headers: Link: *6 '404': *36 @@ -48304,8 +48305,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: - - *261 - *262 + - *263 - *117 requestBody: required: true @@ -48338,16 +48339,16 @@ paths: description: Reaction exists content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 '201': description: Reaction created content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 '422': *31 x-github: githubCloudOnly: false @@ -48369,10 +48370,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *261 - *262 + - *263 - *117 - - *253 + - *254 responses: '204': description: Response @@ -48421,8 +48422,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/commits#list-commits parameters: - - *261 - *262 + - *263 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -48478,9 +48479,9 @@ paths: application/json: schema: type: array - items: *359 + items: *360 examples: - default: &467 + default: &468 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -48550,7 +48551,7 @@ paths: sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: Link: *6 - '500': *213 + '500': *214 '400': *30 '404': *36 '409': *135 @@ -48573,9 +48574,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/commits#list-branches-for-head-commit parameters: - - *261 - *262 - - &360 + - *263 + - &361 name: commit_sha description: The SHA of the commit. in: path @@ -48647,9 +48648,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/comments#list-commit-comments parameters: - - *261 - *262 - - *360 + - *263 + - *361 - *4 - *5 responses: @@ -48659,9 +48660,9 @@ paths: application/json: schema: type: array - items: *358 + items: *359 examples: - default: *361 + default: *362 headers: Link: *6 x-github: @@ -48689,9 +48690,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/comments#create-a-commit-comment parameters: - - *261 - *262 - - *360 + - *263 + - *361 requestBody: required: true content: @@ -48726,9 +48727,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *359 examples: - default: *362 + default: *363 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -48756,9 +48757,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: - - *261 - *262 - - *360 + - *263 + - *361 - *4 - *5 responses: @@ -48768,7 +48769,7 @@ paths: application/json: schema: type: array - items: &456 + items: &457 title: Pull Request Simple description: Pull Request Simple type: object @@ -48874,8 +48875,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *363 - required: *364 + properties: *364 + required: *365 nullable: true active_lock_reason: type: string @@ -48920,7 +48921,7 @@ paths: nullable: true requested_teams: type: array - items: *263 + items: *264 nullable: true head: type: object @@ -48971,7 +48972,7 @@ paths: _links: type: object properties: - comments: &365 + comments: &366 title: Link description: Hypermedia Link type: object @@ -48980,13 +48981,13 @@ paths: type: string required: - href - commits: *365 - statuses: *365 - html: *365 - issue: *365 - review_comments: *365 - review_comment: *365 - self: *365 + commits: *366 + statuses: *366 + html: *366 + issue: *366 + review_comments: *366 + review_comment: *366 + self: *366 required: - comments - commits @@ -48997,7 +48998,7 @@ paths: - review_comment - self author_association: *105 - auto_merge: &459 + auto_merge: &460 title: Auto merge description: The status of auto merging a pull request. type: object @@ -49060,7 +49061,7 @@ paths: - author_association - auto_merge examples: - default: &457 + default: &458 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -49597,11 +49598,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/commits#get-a-commit parameters: - - *261 - *262 + - *263 - *5 - *4 - - &366 + - &367 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)" @@ -49616,9 +49617,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *360 examples: - default: &442 + default: &443 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -49701,7 +49702,7 @@ paths: ..... '422': *31 '404': *36 - '500': *213 + '500': *214 '503': *101 '409': *135 x-github: @@ -49728,11 +49729,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: - - *261 - *262 - - *366 + - *263 - *367 - *368 + - *369 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -49766,9 +49767,9 @@ paths: type: integer check_runs: type: array - items: *331 + items: *332 examples: - default: *369 + default: *370 headers: Link: *6 x-github: @@ -49793,9 +49794,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: - - *261 - *262 - - *366 + - *263 + - *367 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -49803,7 +49804,7 @@ paths: schema: type: integer example: 1 - - *367 + - *368 - *4 - *5 responses: @@ -49821,7 +49822,7 @@ paths: type: integer check_suites: type: array - items: *336 + items: *337 examples: default: value: @@ -50021,9 +50022,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: - - *261 - *262 - - *366 + - *263 + - *367 - *4 - *5 responses: @@ -50221,9 +50222,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: - - *261 - *262 - - *366 + - *263 + - *367 - *4 - *5 responses: @@ -50233,7 +50234,7 @@ paths: application/json: schema: type: array - items: &487 + items: &488 title: Status description: The status of a commit. type: object @@ -50314,7 +50315,7 @@ paths: site_admin: false headers: Link: *6 - '301': *273 + '301': *274 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50382,8 +50383,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/commits#compare-two-commits parameters: - - *261 - *262 + - *263 - *5 - *4 - name: basehead @@ -50426,8 +50427,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *359 - merge_base_commit: *359 + base_commit: *360 + merge_base_commit: *360 status: type: string enum: @@ -50447,10 +50448,10 @@ paths: example: 6 commits: type: array - items: *359 + items: *360 files: type: array - items: *370 + items: *371 required: - url - html_url @@ -50686,7 +50687,7 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *36 - '500': *213 + '500': *214 '503': *101 x-github: githubCloudOnly: false @@ -50729,8 +50730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/contents#get-repository-content parameters: - - *261 - *262 + - *263 - name: path description: path parameter in: path @@ -50871,7 +50872,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &371 + response-if-content-is-a-file: &372 summary: Response if content is a file value: type: file @@ -51003,7 +51004,7 @@ paths: - size - type - url - - &472 + - &473 title: Content File description: Content File type: object @@ -51204,7 +51205,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *371 + response-if-content-is-a-file: *372 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -51273,7 +51274,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *36 '403': *40 - '302': &476 + '302': &477 description: Found '304': *39 x-github: @@ -51297,8 +51298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/contents#create-or-update-file-contents parameters: - - *261 - *262 + - *263 - name: path description: path parameter in: path @@ -51391,7 +51392,7 @@ paths: description: Response content: application/json: - schema: &372 + schema: &373 title: File Commit description: File Commit type: object @@ -51537,7 +51538,7 @@ paths: description: Response content: application/json: - schema: *372 + schema: *373 examples: example-for-creating-a-file: value: @@ -51588,7 +51589,7 @@ paths: schema: oneOf: - *29 - - &401 + - &402 description: Repository rule violation was detected type: object properties: @@ -51641,8 +51642,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/contents#delete-a-file parameters: - - *261 - *262 + - *263 - name: path description: path parameter in: path @@ -51703,7 +51704,7 @@ paths: description: Response content: application/json: - schema: *372 + schema: *373 examples: default: value: @@ -51754,8 +51755,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#list-repository-contributors parameters: - - *261 - *262 + - *263 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -51878,20 +51879,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: - - *261 - *262 - - *180 + - *263 - *181 - *182 - *183 + - *184 - 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 - - *184 - *185 + - *186 - *9 responses: '200': @@ -51900,7 +51901,7 @@ paths: application/json: schema: type: array - items: &375 + items: &376 type: object description: A Dependabot alert. properties: @@ -51933,7 +51934,7 @@ paths: enum: - development - runtime - security_advisory: *373 + security_advisory: *374 security_vulnerability: *93 url: *94 html_url: *95 @@ -51964,7 +51965,7 @@ paths: nullable: true maxLength: 280 fixed_at: *99 - auto_dismissed_at: *374 + auto_dismissed_at: *375 required: - number - state @@ -52191,9 +52192,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *261 - *262 - - &376 + - *263 + - &377 name: alert_number in: path description: |- @@ -52208,7 +52209,7 @@ paths: description: Response content: application/json: - schema: *375 + schema: *376 examples: default: value: @@ -52312,9 +52313,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *261 - *262 - - *376 + - *263 + - *377 requestBody: required: true content: @@ -52359,7 +52360,7 @@ paths: description: Response content: application/json: - schema: *375 + schema: *376 examples: default: value: @@ -52488,8 +52489,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/secrets#list-repository-secrets parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -52507,7 +52508,7 @@ paths: type: integer secrets: type: array - items: &379 + items: &380 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -52560,16 +52561,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *261 - *262 + - *263 responses: '200': description: Response content: application/json: - schema: *377 + schema: *378 examples: - default: *378 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52589,15 +52590,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/secrets#get-a-repository-secret parameters: - - *261 - *262 + - *263 - *158 responses: '200': description: Response content: application/json: - schema: *379 + schema: *380 examples: default: value: @@ -52623,8 +52624,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: - - *261 - *262 + - *263 - *158 requestBody: required: true @@ -52677,8 +52678,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *261 - *262 + - *263 - *158 responses: '204': @@ -52701,8 +52702,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: - - *261 - *262 + - *263 - 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 @@ -52862,8 +52863,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: - - *261 - *262 + - *263 responses: '200': description: Response @@ -53091,8 +53092,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: - - *261 - *262 + - *263 requestBody: required: true content: @@ -53167,7 +53168,7 @@ paths: - version - url additionalProperties: false - metadata: &380 + metadata: &381 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -53200,7 +53201,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *380 + metadata: *381 resolved: type: object description: A collection of resolved package dependencies. @@ -53213,7 +53214,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *380 + metadata: *381 relationship: type: string description: A notation of whether a dependency is requested @@ -53342,8 +53343,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments#list-deployments parameters: - - *261 - *262 + - *263 - name: sha description: The SHA recorded at creation time. in: query @@ -53383,9 +53384,9 @@ paths: application/json: schema: type: array - items: *381 + items: *382 examples: - default: *382 + default: *383 headers: Link: *6 x-github: @@ -53451,8 +53452,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments#create-a-deployment parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -53533,7 +53534,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *382 examples: simple-example: summary: Simple example @@ -53606,9 +53607,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments#get-a-deployment parameters: - - *261 - *262 - - &383 + - *263 + - &384 name: deployment_id description: deployment_id parameter in: path @@ -53620,7 +53621,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *382 examples: default: value: @@ -53685,9 +53686,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments#delete-a-deployment parameters: - - *261 - *262 - - *383 + - *263 + - *384 responses: '204': description: Response @@ -53709,9 +53710,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/statuses#list-deployment-statuses parameters: - - *261 - *262 - - *383 + - *263 + - *384 - *4 - *5 responses: @@ -53721,7 +53722,7 @@ paths: application/json: schema: type: array - items: &384 + items: &385 title: Deployment Status description: The status of a deployment. type: object @@ -53882,9 +53883,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/statuses#create-a-deployment-status parameters: - - *261 - *262 - - *383 + - *263 + - *384 requestBody: required: true content: @@ -53959,9 +53960,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *385 examples: - default: &385 + default: &386 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -54017,9 +54018,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/statuses#get-a-deployment-status parameters: - - *261 - *262 - - *383 + - *263 + - *384 - name: status_id in: path required: true @@ -54030,9 +54031,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *385 examples: - default: *385 + default: *386 '404': *36 x-github: githubCloudOnly: false @@ -54057,8 +54058,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -54115,8 +54116,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/environments#list-environments parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -54133,7 +54134,7 @@ paths: type: integer environments: type: array - items: &387 + items: &388 title: Environment description: Details of a deployment environment type: object @@ -54185,7 +54186,7 @@ paths: type: type: string example: wait_timer - wait_timer: &389 + wait_timer: &390 type: integer example: 30 description: The amount of time to delay a job after @@ -54217,11 +54218,11 @@ paths: items: type: object properties: - type: *386 + type: *387 reviewer: anyOf: - *19 - - *263 + - *264 required: - id - node_id @@ -54241,7 +54242,7 @@ paths: - id - node_id - type - deployment_branch_policy: &390 + deployment_branch_policy: &391 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -54355,9 +54356,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/environments#get-an-environment parameters: - - *261 - *262 - - &388 + - *263 + - &389 name: environment_name in: path required: true @@ -54370,9 +54371,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *388 examples: - default: &391 + default: &392 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -54454,9 +54455,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/environments#create-or-update-an-environment parameters: - - *261 - *262 - - *388 + - *263 + - *389 requestBody: required: false content: @@ -54465,7 +54466,7 @@ paths: type: object nullable: true properties: - wait_timer: *389 + wait_timer: *390 reviewers: type: array nullable: true @@ -54477,13 +54478,13 @@ paths: items: type: object properties: - type: *386 + type: *387 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *390 + deployment_branch_policy: *391 additionalProperties: false examples: default: @@ -54502,9 +54503,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *388 examples: - default: *391 + default: *392 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -54528,9 +54529,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/environments#delete-an-environment parameters: - - *261 - *262 - - *388 + - *263 + - *389 responses: '204': description: Default response @@ -54555,9 +54556,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *261 - *262 - - *388 + - *263 + - *389 - *4 - *5 responses: @@ -54575,7 +54576,7 @@ paths: example: 2 branch_policies: type: array - items: &392 + items: &393 title: Deployment branch policy description: Details of a deployment branch policy. type: object @@ -54624,9 +54625,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: - - *261 - *262 - - *388 + - *263 + - *389 requestBody: required: true content: @@ -54659,9 +54660,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *393 examples: - example-wildcard: &393 + example-wildcard: &394 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -54697,10 +54698,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: - - *261 - *262 - - *388 - - &394 + - *263 + - *389 + - &395 name: branch_policy_id in: path required: true @@ -54712,9 +54713,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *393 examples: - default: *393 + default: *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54733,10 +54734,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: - - *261 - *262 - - *388 - - *394 + - *263 + - *389 + - *395 requestBody: required: true content: @@ -54764,9 +54765,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *393 examples: - default: *393 + default: *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54785,10 +54786,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: - - *261 - *262 - - *388 - - *394 + - *263 + - *389 + - *395 responses: '204': description: Response @@ -54813,9 +54814,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: - - *388 + - *389 + - *263 - *262 - - *261 responses: '200': description: List of deployment protection rules @@ -54831,7 +54832,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &395 + items: &396 title: Deployment protection rule description: Deployment protection rule type: object @@ -54850,7 +54851,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &396 + app: &397 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -54949,9 +54950,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: - - *388 + - *389 + - *263 - *262 - - *261 requestBody: content: application/json: @@ -54972,9 +54973,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *395 + schema: *396 examples: - default: &397 + default: &398 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -55009,9 +55010,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: - - *388 + - *389 + - *263 - *262 - - *261 - *5 - *4 responses: @@ -55030,7 +55031,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *396 + items: *397 examples: default: value: @@ -55065,10 +55066,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: - - *261 - *262 - - *388 - - &398 + - *263 + - *389 + - &399 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -55080,9 +55081,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *396 examples: - default: *397 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55103,10 +55104,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: - - *388 + - *389 + - *263 - *262 - - *261 - - *398 + - *399 responses: '204': description: Response @@ -55132,9 +55133,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#list-environment-secrets parameters: - - *261 - *262 - - *388 + - *263 + - *389 - *4 - *5 responses: @@ -55152,9 +55153,9 @@ paths: type: integer secrets: type: array - items: *298 + items: *299 examples: - default: *299 + default: *300 headers: Link: *6 x-github: @@ -55179,17 +55180,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#get-an-environment-public-key parameters: - - *261 - *262 - - *388 + - *263 + - *389 responses: '200': description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55211,18 +55212,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#get-an-environment-secret parameters: - - *261 - *262 - - *388 + - *263 + - *389 - *158 responses: '200': description: Response content: application/json: - schema: *298 + schema: *299 examples: - default: *399 + default: *400 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55244,9 +55245,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: - - *261 - *262 - - *388 + - *263 + - *389 - *158 requestBody: required: true @@ -55304,9 +55305,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#delete-an-environment-secret parameters: - - *261 - *262 - - *388 + - *263 + - *389 - *158 responses: '204': @@ -55332,10 +55333,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#list-environment-variables parameters: - - *261 - *262 - - *388 - - *285 + - *263 + - *389 + - *286 - *5 responses: '200': @@ -55352,9 +55353,9 @@ paths: type: integer variables: type: array - items: *302 + items: *303 examples: - default: *303 + default: *304 headers: Link: *6 x-github: @@ -55377,9 +55378,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#create-an-environment-variable parameters: - - *261 - *262 - - *388 + - *263 + - *389 requestBody: required: true content: @@ -55431,18 +55432,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#get-an-environment-variable parameters: - - *261 - *262 - - *388 + - *263 + - *389 - *161 responses: '200': description: Response content: application/json: - schema: *302 + schema: *303 examples: - default: *400 + default: *401 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55463,10 +55464,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#update-an-environment-variable parameters: - - *261 - *262 + - *263 - *161 - - *388 + - *389 requestBody: required: true content: @@ -55508,10 +55509,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#delete-an-environment-variable parameters: - - *261 - *262 + - *263 - *161 - - *388 + - *389 responses: '204': description: Response @@ -55533,8 +55534,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/events#list-repository-events parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -55611,8 +55612,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/forks#list-forks parameters: - - *261 - *262 + - *263 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -55771,8 +55772,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/forks#create-a-fork parameters: - - *261 - *262 + - *263 requestBody: required: false content: @@ -55804,9 +55805,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: - default: *274 + default: *275 '400': *30 '422': *31 '403': *40 @@ -55827,8 +55828,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/blobs#create-a-blob parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -55888,7 +55889,7 @@ paths: schema: oneOf: - *133 - - *401 + - *402 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55913,8 +55914,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/blobs#get-a-blob parameters: - - *261 - *262 + - *263 - name: file_sha in: path required: true @@ -56013,8 +56014,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/commits#create-a-commit parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -56123,7 +56124,7 @@ paths: description: Response content: application/json: - schema: &402 + schema: &403 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -56330,15 +56331,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/commits#get-a-commit-object parameters: - - *261 - *262 - - *360 + - *263 + - *361 responses: '200': description: Response content: application/json: - schema: *402 + schema: *403 examples: default: value: @@ -56391,9 +56392,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/refs#list-matching-references parameters: - - *261 - *262 - - &403 + - *263 + - &404 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. @@ -56410,7 +56411,7 @@ paths: application/json: schema: type: array - items: &404 + items: &405 title: Git Reference description: Git references within a repository type: object @@ -56485,17 +56486,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/refs#get-a-reference parameters: - - *261 - *262 - - *403 + - *263 + - *404 responses: '200': description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: &405 + default: &406 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -56524,8 +56525,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/refs#create-a-reference parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -56554,9 +56555,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: *405 + default: *406 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -56582,9 +56583,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/refs#update-a-reference parameters: - - *261 - *262 - - *403 + - *263 + - *404 requestBody: required: true content: @@ -56613,9 +56614,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: *405 + default: *406 '422': *31 '409': *135 x-github: @@ -56633,9 +56634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/refs#delete-a-reference parameters: - - *261 - *262 - - *403 + - *263 + - *404 responses: '204': description: Response @@ -56688,8 +56689,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/tags#create-a-tag-object parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -56756,7 +56757,7 @@ paths: description: Response content: application/json: - schema: &407 + schema: &408 title: Git Tag description: Metadata for a Git tag type: object @@ -56807,7 +56808,7 @@ paths: - sha - type - url - verification: *406 + verification: *407 required: - sha - url @@ -56817,7 +56818,7 @@ paths: - tag - message examples: - default: &408 + default: &409 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -56887,8 +56888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/tags#get-a-tag parameters: - - *261 - *262 + - *263 - name: tag_sha in: path required: true @@ -56899,9 +56900,9 @@ paths: description: Response content: application/json: - schema: *407 + schema: *408 examples: - default: *408 + default: *409 '404': *36 '409': *135 x-github: @@ -56925,8 +56926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/trees#create-a-tree parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -56999,7 +57000,7 @@ paths: description: Response content: application/json: - schema: &409 + schema: &410 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -57111,8 +57112,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/trees#get-a-tree parameters: - - *261 - *262 + - *263 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -57135,7 +57136,7 @@ paths: description: Response content: application/json: - schema: *409 + schema: *410 examples: default-response: summary: Default response @@ -57194,8 +57195,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#list-repository-webhooks parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -57205,7 +57206,7 @@ paths: application/json: schema: type: array - items: &410 + items: &411 title: Webhook description: Webhooks for repositories. type: object @@ -57259,7 +57260,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &593 + last_response: &594 title: Hook Response type: object properties: @@ -57333,8 +57334,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#create-a-repository-webhook parameters: - - *261 - *262 + - *263 requestBody: required: false content: @@ -57386,9 +57387,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *411 examples: - default: &411 + default: &412 value: type: Repository id: 12345678 @@ -57436,17 +57437,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#get-a-repository-webhook parameters: - - *261 - *262 + - *263 - *3 responses: '200': description: Response content: application/json: - schema: *410 + schema: *411 examples: - default: *411 + default: *412 '404': *36 x-github: githubCloudOnly: false @@ -57466,8 +57467,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#update-a-repository-webhook parameters: - - *261 - *262 + - *263 - *3 requestBody: required: true @@ -57513,9 +57514,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *411 examples: - default: *411 + default: *412 '422': *31 '404': *36 x-github: @@ -57536,8 +57537,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *261 - *262 + - *263 - *3 responses: '204': @@ -57562,8 +57563,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: - - *261 - *262 + - *263 - *3 responses: '200': @@ -57591,8 +57592,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: - - *261 - *262 + - *263 - *3 requestBody: required: false @@ -57637,11 +57638,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: - - *261 - *262 + - *263 - *3 - *4 - - *195 + - *196 responses: '200': description: Response @@ -57649,9 +57650,9 @@ paths: application/json: schema: type: array - items: *196 + items: *197 examples: - default: *197 + default: *198 '400': *30 '422': *31 x-github: @@ -57670,8 +57671,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: - - *261 - *262 + - *263 - *3 - *32 responses: @@ -57679,9 +57680,9 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: - default: *199 + default: *200 '400': *30 '422': *31 x-github: @@ -57700,8 +57701,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: - - *261 - *262 + - *263 - *3 - *32 responses: @@ -57725,8 +57726,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *261 - *262 + - *263 - *3 responses: '204': @@ -57752,8 +57753,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *261 - *262 + - *263 - *3 responses: '204': @@ -57778,8 +57779,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: - - *261 - *262 + - *263 responses: '200': description: Response @@ -57787,8 +57788,8 @@ paths: application/json: schema: *35 examples: - default: *412 - '301': *273 + default: *413 + '301': *274 '404': *36 x-github: githubCloudOnly: false @@ -57807,8 +57808,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/invitations#list-repository-invitations parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -57818,7 +57819,7 @@ paths: application/json: schema: type: array - items: &413 + items: &414 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -57881,7 +57882,7 @@ paths: - html_url - created_at examples: - default: &544 + default: &545 value: - id: 1 repository: @@ -58012,9 +58013,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *261 - *262 - - &414 + - *263 + - &415 name: invitation_id description: The unique identifier of the invitation. in: path @@ -58049,7 +58050,7 @@ paths: description: Response content: application/json: - schema: *413 + schema: *414 examples: default: value: @@ -58180,9 +58181,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *261 - *262 - - *414 + - *263 + - *415 responses: '204': description: Response @@ -58213,8 +58214,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/issues#list-repository-issues parameters: - - *261 - *262 + - *263 - 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 @@ -58254,7 +58255,7 @@ paths: required: false schema: type: string - - *200 + - *201 - name: sort description: What to sort results by. in: query @@ -58427,7 +58428,7 @@ paths: state_reason: completed headers: Link: *6 - '301': *273 + '301': *274 '422': *31 '404': *36 x-github: @@ -58456,8 +58457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/issues#create-an-issue parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -58534,7 +58535,7 @@ paths: application/json: schema: *118 examples: - default: &420 + default: &421 value: id: 1 node_id: MDU6SXNzdWUx @@ -58690,7 +58691,7 @@ paths: '422': *31 '503': *101 '404': *36 - '410': *225 + '410': *226 x-github: triggersNotification: true githubCloudOnly: false @@ -58718,9 +58719,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: - - *261 - *262 - - &465 + - *263 + - &466 name: sort description: The property to sort the results by. in: query @@ -58750,9 +58751,9 @@ paths: application/json: schema: type: array - items: *415 + items: *416 examples: - default: &422 + default: &423 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -58810,17 +58811,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/comments#get-an-issue-comment parameters: - - *261 - *262 + - *263 - *117 responses: '200': description: Response content: application/json: - schema: *415 + schema: *416 examples: - default: &416 + default: &417 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -58874,8 +58875,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/comments#update-an-issue-comment parameters: - - *261 - *262 + - *263 - *117 requestBody: required: true @@ -58898,9 +58899,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *416 examples: - default: *416 + default: *417 '422': *31 x-github: githubCloudOnly: false @@ -58918,8 +58919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/comments#delete-an-issue-comment parameters: - - *261 - *262 + - *263 - *117 responses: '204': @@ -58940,8 +58941,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: - - *261 - *262 + - *263 - *117 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#about-reactions). @@ -58968,9 +58969,9 @@ paths: application/json: schema: type: array - items: *250 + items: *251 examples: - default: *252 + default: *253 headers: Link: *6 '404': *36 @@ -58991,8 +58992,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: - - *261 - *262 + - *263 - *117 requestBody: required: true @@ -59025,16 +59026,16 @@ paths: description: Reaction exists content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 '201': description: Reaction created content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 '422': *31 x-github: githubCloudOnly: false @@ -59056,10 +59057,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *261 - *262 + - *263 - *117 - - *253 + - *254 responses: '204': description: Response @@ -59079,8 +59080,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: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -59090,7 +59091,7 @@ paths: application/json: schema: type: array - items: &419 + items: &420 title: Issue Event description: Issue Event type: object @@ -59133,8 +59134,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *417 - required: *418 + properties: *418 + required: *419 nullable: true label: title: Issue Event Label @@ -59178,7 +59179,7 @@ paths: properties: *17 required: *18 nullable: true - requested_team: *263 + requested_team: *264 dismissed_review: title: Issue Event Dismissed Review type: object @@ -59441,8 +59442,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/events#get-an-issue-event parameters: - - *261 - *262 + - *263 - name: event_id in: path required: true @@ -59453,7 +59454,7 @@ paths: description: Response content: application/json: - schema: *419 + schema: *420 examples: default: value: @@ -59646,7 +59647,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *36 - '410': *225 + '410': *226 '403': *40 x-github: githubCloudOnly: false @@ -59680,9 +59681,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue parameters: - - *261 - *262 - - &421 + - *263 + - &422 name: issue_number description: The number that identifies the issue. in: path @@ -59696,10 +59697,10 @@ paths: application/json: schema: *118 examples: - default: *420 - '301': *273 + default: *421 + '301': *274 '404': *36 - '410': *225 + '410': *226 '304': *39 x-github: githubCloudOnly: false @@ -59724,9 +59725,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/issues#update-an-issue parameters: - - *261 - *262 - - *421 + - *263 + - *422 requestBody: required: false content: @@ -59823,13 +59824,13 @@ paths: application/json: schema: *118 examples: - default: *420 + default: *421 '422': *31 '503': *101 '403': *40 - '301': *273 + '301': *274 '404': *36 - '410': *225 + '410': *226 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59847,9 +59848,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *261 - *262 - - *421 + - *263 + - *422 requestBody: required: false content: @@ -59877,7 +59878,7 @@ paths: application/json: schema: *118 examples: - default: *420 + default: *421 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59893,9 +59894,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *261 - *262 - - *421 + - *263 + - *422 requestBody: content: application/json: @@ -59922,7 +59923,7 @@ paths: application/json: schema: *118 examples: - default: *420 + default: *421 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59944,9 +59945,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: - - *261 - *262 - - *421 + - *263 + - *422 - name: assignee in: path required: true @@ -59986,9 +59987,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/comments#list-issue-comments parameters: - - *261 - *262 - - *421 + - *263 + - *422 - *108 - *4 - *5 @@ -59999,13 +60000,13 @@ paths: application/json: schema: type: array - items: *415 + items: *416 examples: - default: *422 + default: *423 headers: Link: *6 '404': *36 - '410': *225 + '410': *226 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60034,9 +60035,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/comments#create-an-issue-comment parameters: - - *261 - *262 - - *421 + - *263 + - *422 requestBody: required: true content: @@ -60058,16 +60059,16 @@ paths: description: Response content: application/json: - schema: *415 + schema: *416 examples: - default: *416 + default: *417 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *40 - '410': *225 + '410': *226 '422': *31 '404': *36 x-github: @@ -60087,9 +60088,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/events#list-issue-events parameters: - - *261 - *262 - - *421 + - *263 + - *422 - *4 - *5 responses: @@ -60103,7 +60104,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &425 + - &426 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -60157,7 +60158,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &426 + - &427 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -60293,7 +60294,7 @@ paths: - performed_via_github_app - assignee - assigner - - &427 + - &428 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -60344,7 +60345,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &428 + - &429 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -60395,7 +60396,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &429 + - &430 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -60449,7 +60450,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &430 + - &431 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -60483,7 +60484,7 @@ paths: properties: *103 required: *104 review_requester: *19 - requested_team: *263 + requested_team: *264 requested_reviewer: *19 required: - review_requester @@ -60496,7 +60497,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &431 + - &432 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -60530,7 +60531,7 @@ paths: properties: *103 required: *104 review_requester: *19 - requested_team: *263 + requested_team: *264 requested_reviewer: *19 required: - review_requester @@ -60543,7 +60544,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &432 + - &433 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -60603,7 +60604,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &433 + - &434 title: Locked Issue Event description: Locked Issue Event type: object @@ -60651,7 +60652,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &434 + - &435 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -60717,7 +60718,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &435 + - &436 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -60783,7 +60784,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &436 + - &437 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -60849,7 +60850,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &437 + - &438 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -60940,7 +60941,7 @@ paths: color: red headers: Link: *6 - '410': *225 + '410': *226 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60957,9 +60958,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#list-labels-for-an-issue parameters: - - *261 - *262 - - *421 + - *263 + - *422 - *4 - *5 responses: @@ -60969,7 +60970,7 @@ paths: application/json: schema: type: array - items: &423 + items: &424 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -61016,7 +61017,7 @@ paths: - color - default examples: - default: &424 + default: &425 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -61034,9 +61035,9 @@ paths: default: false headers: Link: *6 - '301': *273 + '301': *274 '404': *36 - '410': *225 + '410': *226 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61053,9 +61054,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#add-labels-to-an-issue parameters: - - *261 - *262 - - *421 + - *263 + - *422 requestBody: required: false content: @@ -61114,12 +61115,12 @@ paths: application/json: schema: type: array - items: *423 + items: *424 examples: - default: *424 - '301': *273 + default: *425 + '301': *274 '404': *36 - '410': *225 + '410': *226 '422': *31 x-github: githubCloudOnly: false @@ -61136,9 +61137,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#set-labels-for-an-issue parameters: - - *261 - *262 - - *421 + - *263 + - *422 requestBody: required: false content: @@ -61198,12 +61199,12 @@ paths: application/json: schema: type: array - items: *423 + items: *424 examples: - default: *424 - '301': *273 + default: *425 + '301': *274 '404': *36 - '410': *225 + '410': *226 '422': *31 x-github: githubCloudOnly: false @@ -61220,15 +61221,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: - - *261 - *262 - - *421 + - *263 + - *422 responses: '204': description: Response - '301': *273 + '301': *274 '404': *36 - '410': *225 + '410': *226 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61247,9 +61248,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: - - *261 - *262 - - *421 + - *263 + - *422 - name: name in: path required: true @@ -61262,7 +61263,7 @@ paths: application/json: schema: type: array - items: *423 + items: *424 examples: default: value: @@ -61273,9 +61274,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *273 + '301': *274 '404': *36 - '410': *225 + '410': *226 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61295,9 +61296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/issues#lock-an-issue parameters: - - *261 - *262 - - *421 + - *263 + - *422 requestBody: required: false content: @@ -61325,7 +61326,7 @@ paths: '204': description: Response '403': *40 - '410': *225 + '410': *226 '404': *36 '422': *31 x-github: @@ -61343,9 +61344,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/issues#unlock-an-issue parameters: - - *261 - *262 - - *421 + - *263 + - *422 responses: '204': description: Response @@ -61367,9 +61368,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *261 - *262 - - *421 + - *263 + - *422 - 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. @@ -61395,13 +61396,13 @@ paths: application/json: schema: type: array - items: *250 + items: *251 examples: - default: *252 + default: *253 headers: Link: *6 '404': *36 - '410': *225 + '410': *226 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61419,9 +61420,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *261 - *262 - - *421 + - *263 + - *422 requestBody: required: true content: @@ -61453,20 +61454,20 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 '201': description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 '422': *31 x-github: githubCloudOnly: false - enabledForGitHubApps: false + enabledForGitHubApps: true category: reactions subcategory: reactions "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": @@ -61484,10 +61485,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *261 - *262 - - *421 - - *253 + - *263 + - *422 + - *254 responses: '204': description: Response @@ -61507,9 +61508,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: - - *261 - *262 - - *421 + - *263 + - *422 - *4 - *5 responses: @@ -61524,7 +61525,6 @@ paths: description: Timeline Event type: object anyOf: - - *425 - *426 - *427 - *428 @@ -61537,6 +61537,7 @@ paths: - *435 - *436 - *437 + - *438 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -61837,7 +61838,7 @@ paths: type: string comments: type: array - items: &460 + items: &461 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -62046,7 +62047,7 @@ paths: type: string comments: type: array - items: *358 + items: *359 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -62335,7 +62336,7 @@ paths: headers: Link: *6 '404': *36 - '410': *225 + '410': *226 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62352,8 +62353,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -62363,7 +62364,7 @@ paths: application/json: schema: type: array - items: &438 + items: &439 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -62426,8 +62427,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: - - *261 - *262 + - *263 requestBody: required: true content: @@ -62463,9 +62464,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *439 examples: - default: &439 + default: &440 value: id: 1 key: ssh-rsa AAA... @@ -62498,9 +62499,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: - - *261 - *262 - - &440 + - *263 + - &441 name: key_id description: The unique identifier of the key. in: path @@ -62512,9 +62513,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *439 examples: - default: *439 + default: *440 '404': *36 x-github: githubCloudOnly: false @@ -62532,9 +62533,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: - - *261 - *262 - - *440 + - *263 + - *441 responses: '204': description: Response @@ -62554,8 +62555,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#list-labels-for-a-repository parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -62565,9 +62566,9 @@ paths: application/json: schema: type: array - items: *423 + items: *424 examples: - default: *424 + default: *425 headers: Link: *6 '404': *36 @@ -62588,8 +62589,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#create-a-label parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -62625,9 +62626,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: - default: &441 + default: &442 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -62659,8 +62660,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#get-a-label parameters: - - *261 - *262 + - *263 - name: name in: path required: true @@ -62671,9 +62672,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: - default: *441 + default: *442 '404': *36 x-github: githubCloudOnly: false @@ -62690,8 +62691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#update-a-label parameters: - - *261 - *262 + - *263 - name: name in: path required: true @@ -62730,7 +62731,7 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: default: value: @@ -62756,8 +62757,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#delete-a-label parameters: - - *261 - *262 + - *263 - name: name in: path required: true @@ -62783,8 +62784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#list-repository-languages parameters: - - *261 - *262 + - *263 responses: '200': description: Response @@ -62820,8 +62821,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: - - *261 - *262 + - *263 responses: '202': *136 '403': @@ -62849,8 +62850,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: - - *261 - *262 + - *263 responses: '204': description: Response @@ -62876,8 +62877,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: - - *261 - *262 + - *263 responses: '200': description: Response @@ -63022,8 +63023,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: - - *261 - *262 + - *263 requestBody: required: true content: @@ -63088,8 +63089,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branches#merge-a-branch parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -63123,9 +63124,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *359 + schema: *360 examples: - default: *442 + default: *443 '204': description: Response when already merged '404': @@ -63150,8 +63151,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/milestones#list-milestones parameters: - - *261 - *262 + - *263 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -63192,12 +63193,12 @@ paths: application/json: schema: type: array - items: &443 + items: &444 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *363 - required: *364 + properties: *364 + required: *365 examples: default: value: @@ -63253,8 +63254,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/milestones#create-a-milestone parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -63294,9 +63295,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: - default: &444 + default: &445 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -63355,9 +63356,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/milestones#get-a-milestone parameters: - - *261 - *262 - - &445 + - *263 + - &446 name: milestone_number description: The number that identifies the milestone. in: path @@ -63369,9 +63370,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: - default: *444 + default: *445 '404': *36 x-github: githubCloudOnly: false @@ -63388,9 +63389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/milestones#update-a-milestone parameters: - - *261 - *262 - - *445 + - *263 + - *446 requestBody: required: false content: @@ -63428,9 +63429,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: - default: *444 + default: *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63446,9 +63447,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/milestones#delete-a-milestone parameters: - - *261 - *262 - - *445 + - *263 + - *446 responses: '204': description: Response @@ -63469,9 +63470,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: - - *261 - *262 - - *445 + - *263 + - *446 - *4 - *5 responses: @@ -63481,9 +63482,9 @@ paths: application/json: schema: type: array - items: *423 + items: *424 examples: - default: *424 + default: *425 headers: Link: *6 x-github: @@ -63502,12 +63503,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: - - *261 - *262 - - *446 + - *263 - *447 - - *108 - *448 + - *108 + - *449 - *4 - *5 responses: @@ -63519,7 +63520,7 @@ paths: type: array items: *126 examples: - default: *449 + default: *450 headers: Link: *6 x-github: @@ -63543,8 +63544,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *261 - *262 + - *263 requestBody: required: false content: @@ -63602,14 +63603,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#get-a-apiname-pages-site parameters: - - *261 - *262 + - *263 responses: '200': description: Response content: application/json: - schema: &450 + schema: &451 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -63734,7 +63735,7 @@ paths: - custom_404 - public examples: - default: &451 + default: &452 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -63775,8 +63776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#create-a-apiname-pages-site parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -63830,9 +63831,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *451 examples: - default: *451 + default: *452 '422': *31 '409': *135 x-github: @@ -63855,8 +63856,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: - - *261 - *262 + - *263 requestBody: required: true content: @@ -63955,8 +63956,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *261 - *262 + - *263 responses: '204': description: Response @@ -63982,8 +63983,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#list-apiname-pages-builds parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -63993,7 +63994,7 @@ paths: application/json: schema: type: array - items: &452 + items: &453 title: Page Build description: Page Build type: object @@ -64087,8 +64088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#request-a-apiname-pages-build parameters: - - *261 - *262 + - *263 responses: '201': description: Response @@ -64133,16 +64134,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#get-latest-pages-build parameters: - - *261 - *262 + - *263 responses: '200': description: Response content: application/json: - schema: *452 + schema: *453 examples: - default: &453 + default: &454 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -64190,8 +64191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#get-apiname-pages-build parameters: - - *261 - *262 + - *263 - name: build_id in: path required: true @@ -64202,9 +64203,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *453 examples: - default: *453 + default: *454 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64224,8 +64225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#create-a-github-pages-deployment parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -64317,8 +64318,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: - - *261 - *262 + - *263 - *4 - *5 - *9 @@ -64339,7 +64340,7 @@ paths: application/json: schema: type: array - items: &454 + items: &455 type: object properties: id: @@ -64373,17 +64374,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: - - *261 - *262 + - *263 - *16 responses: '200': description: Response content: application/json: - schema: *454 + schema: *455 examples: - default: &455 + default: &456 value: id: 42 name: Check Commits @@ -64405,15 +64406,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: - - *261 - *262 + - *263 - *16 responses: '200': description: Response content: application/json: - schema: *454 + schema: *455 examples: default: value: @@ -64457,8 +64458,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: - - *261 - *262 + - *263 - *16 responses: '200': @@ -64466,9 +64467,9 @@ paths: global level. content: application/json: - schema: *454 + schema: *455 examples: - default: *455 + default: *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64488,8 +64489,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/projects#list-repository-projects parameters: - - *261 - *262 + - *263 - name: state description: Indicates the state of the projects to return. in: query @@ -64510,7 +64511,7 @@ paths: application/json: schema: type: array - items: *224 + items: *225 examples: default: value: @@ -64550,7 +64551,7 @@ paths: '401': *38 '403': *40 '404': *36 - '410': *225 + '410': *226 '422': *81 x-github: githubCloudOnly: false @@ -64570,8 +64571,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/projects#create-a-repository-project parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -64597,13 +64598,13 @@ paths: description: Response content: application/json: - schema: *224 + schema: *225 examples: - default: *270 + default: *271 '401': *38 '403': *40 '404': *36 - '410': *225 + '410': *226 '422': *81 x-github: githubCloudOnly: false @@ -64635,8 +64636,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#list-pull-requests parameters: - - *261 - *262 + - *263 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -64696,9 +64697,9 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: - default: *457 + default: *458 headers: Link: *6 '304': *39 @@ -64730,8 +64731,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#create-a-pull-request parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -64796,7 +64797,7 @@ paths: description: Response content: application/json: - schema: &462 + schema: &463 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -64907,8 +64908,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *363 - required: *364 + properties: *364 + required: *365 nullable: true active_lock_reason: type: string @@ -64953,7 +64954,7 @@ paths: nullable: true requested_teams: type: array - items: *458 + items: *459 nullable: true head: type: object @@ -64992,14 +64993,14 @@ paths: _links: type: object properties: - comments: *365 - commits: *365 - statuses: *365 - html: *365 - issue: *365 - review_comments: *365 - review_comment: *365 - self: *365 + comments: *366 + commits: *366 + statuses: *366 + html: *366 + issue: *366 + review_comments: *366 + review_comment: *366 + self: *366 required: - comments - commits @@ -65010,7 +65011,7 @@ paths: - review_comment - self author_association: *105 - auto_merge: *459 + auto_merge: *460 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -65102,7 +65103,7 @@ paths: - merged_by - review_comments examples: - default: &463 + default: &464 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -65629,8 +65630,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: - - *261 - *262 + - *263 - name: sort in: query required: false @@ -65659,9 +65660,9 @@ paths: application/json: schema: type: array - items: *460 + items: *461 examples: - default: &466 + default: &467 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -65738,17 +65739,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: - - *261 - *262 + - *263 - *117 responses: '200': description: Response content: application/json: - schema: *460 + schema: *461 examples: - default: &461 + default: &462 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -65823,8 +65824,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: - - *261 - *262 + - *263 - *117 requestBody: required: true @@ -65847,9 +65848,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *461 examples: - default: *461 + default: *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65865,8 +65866,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: - - *261 - *262 + - *263 - *117 responses: '204': @@ -65888,8 +65889,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: - - *261 - *262 + - *263 - *117 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#about-reactions). @@ -65916,9 +65917,9 @@ paths: application/json: schema: type: array - items: *250 + items: *251 examples: - default: *252 + default: *253 headers: Link: *6 '404': *36 @@ -65939,8 +65940,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: - - *261 - *262 + - *263 - *117 requestBody: required: true @@ -65973,16 +65974,16 @@ paths: description: Reaction exists content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 '201': description: Reaction created content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 '422': *31 x-github: githubCloudOnly: false @@ -66004,10 +66005,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: - - *261 - *262 + - *263 - *117 - - *253 + - *254 responses: '204': description: Response @@ -66050,9 +66051,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#get-a-pull-request parameters: - - *261 - *262 - - &464 + - *263 + - &465 name: pull_number description: The number that identifies the pull request. in: path @@ -66065,9 +66066,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *462 + schema: *463 examples: - default: *463 + default: *464 '304': *39 '404': *36 '406': @@ -66075,7 +66076,7 @@ paths: content: application/json: schema: *29 - '500': *213 + '500': *214 '503': *101 x-github: githubCloudOnly: false @@ -66102,9 +66103,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#update-a-pull-request parameters: - - *261 - *262 - - *464 + - *263 + - *465 requestBody: required: false content: @@ -66146,9 +66147,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *463 examples: - default: *463 + default: *464 '422': *31 '403': *40 x-github: @@ -66176,10 +66177,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: - - *261 - *262 - - *464 + - *263 - *465 + - *466 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -66199,9 +66200,9 @@ paths: application/json: schema: type: array - items: *460 + items: *461 examples: - default: *466 + default: *467 headers: Link: *6 x-github: @@ -66234,9 +66235,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: - - *261 - *262 - - *464 + - *263 + - *465 requestBody: required: true content: @@ -66341,7 +66342,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *461 examples: example-for-a-multi-line-comment: value: @@ -66429,9 +66430,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: - - *261 - *262 - - *464 + - *263 + - *465 - *117 requestBody: required: true @@ -66454,7 +66455,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *461 examples: default: value: @@ -66540,9 +66541,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: - - *261 - *262 - - *464 + - *263 + - *465 - *4 - *5 responses: @@ -66552,9 +66553,9 @@ paths: application/json: schema: type: array - items: *359 + items: *360 examples: - default: *467 + default: *468 headers: Link: *6 x-github: @@ -66584,9 +66585,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#list-pull-requests-files parameters: - - *261 - *262 - - *464 + - *263 + - *465 - *4 - *5 responses: @@ -66596,7 +66597,7 @@ paths: application/json: schema: type: array - items: *370 + items: *371 examples: default: value: @@ -66614,7 +66615,7 @@ paths: headers: Link: *6 '422': *31 - '500': *213 + '500': *214 '503': *101 x-github: githubCloudOnly: false @@ -66634,9 +66635,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: - - *261 - *262 - - *464 + - *263 + - *465 responses: '204': description: Response if pull request has been merged @@ -66659,9 +66660,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#merge-a-pull-request parameters: - - *261 - *262 - - *464 + - *263 + - *465 requestBody: required: false content: @@ -66772,9 +66773,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: - - *261 - *262 - - *464 + - *263 + - *465 responses: '200': description: Response @@ -66790,7 +66791,7 @@ paths: items: *19 teams: type: array - items: *263 + items: *264 required: - users - teams @@ -66849,9 +66850,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: - - *261 - *262 - - *464 + - *263 + - *465 requestBody: required: false content: @@ -66888,7 +66889,7 @@ paths: description: Response content: application/json: - schema: *456 + schema: *457 examples: default: value: @@ -67424,9 +67425,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: - - *261 - *262 - - *464 + - *263 + - *465 requestBody: required: true content: @@ -67460,7 +67461,7 @@ paths: description: Response content: application/json: - schema: *456 + schema: *457 examples: default: value: @@ -67965,9 +67966,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: - - *261 - *262 - - *464 + - *263 + - *465 - *4 - *5 responses: @@ -67977,7 +67978,7 @@ paths: application/json: schema: type: array - items: &468 + items: &469 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -68128,9 +68129,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: - - *261 - *262 - - *464 + - *263 + - *465 requestBody: required: false content: @@ -68216,9 +68217,9 @@ paths: description: Response content: application/json: - schema: *468 + schema: *469 examples: - default: &470 + default: &471 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -68281,10 +68282,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: - - *261 - *262 - - *464 - - &469 + - *263 + - *465 + - &470 name: review_id description: The unique identifier of the review. in: path @@ -68296,9 +68297,9 @@ paths: description: Response content: application/json: - schema: *468 + schema: *469 examples: - default: &471 + default: &472 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -68357,10 +68358,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: - - *261 - *262 - - *464 - - *469 + - *263 + - *465 + - *470 requestBody: required: true content: @@ -68383,7 +68384,7 @@ paths: description: Response content: application/json: - schema: *468 + schema: *469 examples: default: value: @@ -68445,18 +68446,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: - - *261 - *262 - - *464 - - *469 + - *263 + - *465 + - *470 responses: '200': description: Response content: application/json: - schema: *468 + schema: *469 examples: - default: *470 + default: *471 '422': *81 '404': *36 x-github: @@ -68483,10 +68484,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: - - *261 - *262 - - *464 - - *469 + - *263 + - *465 + - *470 - *4 - *5 responses: @@ -68569,9 +68570,9 @@ paths: _links: type: object properties: - self: *365 - html: *365 - pull_request: *365 + self: *366 + html: *366 + pull_request: *366 required: - self - html @@ -68714,10 +68715,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: - - *261 - *262 - - *464 - - *469 + - *263 + - *465 + - *470 requestBody: required: true content: @@ -68745,7 +68746,7 @@ paths: description: Response content: application/json: - schema: *468 + schema: *469 examples: default: value: @@ -68808,10 +68809,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: - - *261 - *262 - - *464 - - *469 + - *263 + - *465 + - *470 requestBody: required: true content: @@ -68846,9 +68847,9 @@ paths: description: Response content: application/json: - schema: *468 + schema: *469 examples: - default: *471 + default: *472 '404': *36 '422': *81 '403': *40 @@ -68870,9 +68871,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *261 - *262 - - *464 + - *263 + - *465 requestBody: required: false content: @@ -68935,8 +68936,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/contents#get-a-repository-readme parameters: - - *261 - *262 + - *263 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -68949,9 +68950,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *473 examples: - default: &473 + default: &474 value: type: file encoding: base64 @@ -68993,8 +68994,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: - - *261 - *262 + - *263 - name: dir description: The alternate path to look for a README file in: path @@ -69014,9 +69015,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *473 examples: - default: *473 + default: *474 '404': *36 '422': *31 x-github: @@ -69038,8 +69039,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/releases#list-releases parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -69049,7 +69050,7 @@ paths: application/json: schema: type: array - items: &474 + items: &475 title: Release description: A release. type: object @@ -69112,7 +69113,7 @@ paths: author: *19 assets: type: array - items: &475 + items: &476 title: Release Asset description: Data related to a release. type: object @@ -69289,8 +69290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/releases#create-a-release parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -69360,9 +69361,9 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: - default: &479 + default: &480 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -69460,9 +69461,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/assets#get-a-release-asset parameters: - - *261 - *262 - - &477 + - *263 + - &478 name: asset_id description: The unique identifier of the asset. in: path @@ -69474,9 +69475,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: - default: &478 + default: &479 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 @@ -69510,7 +69511,7 @@ paths: type: User site_admin: false '404': *36 - '302': *476 + '302': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69526,9 +69527,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/assets#update-a-release-asset parameters: - - *261 - *262 - - *477 + - *263 + - *478 requestBody: required: false content: @@ -69556,9 +69557,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: - default: *478 + default: *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69574,9 +69575,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/assets#delete-a-release-asset parameters: - - *261 - *262 - - *477 + - *263 + - *478 responses: '204': description: Response @@ -69600,8 +69601,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: - - *261 - *262 + - *263 requestBody: required: true content: @@ -69686,16 +69687,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/releases#get-the-latest-release parameters: - - *261 - *262 + - *263 responses: '200': description: Response content: application/json: - schema: *474 + schema: *475 examples: - default: *479 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69712,8 +69713,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: - - *261 - *262 + - *263 - name: tag description: tag parameter in: path @@ -69726,9 +69727,9 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: - default: *479 + default: *480 '404': *36 x-github: githubCloudOnly: false @@ -69750,9 +69751,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/releases#get-a-release parameters: - - *261 - *262 - - &480 + - *263 + - &481 name: release_id description: The unique identifier of the release. in: path @@ -69766,9 +69767,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: *474 + schema: *475 examples: - default: *479 + default: *480 '401': description: Unauthorized x-github: @@ -69786,9 +69787,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/releases#update-a-release parameters: - - *261 - *262 - - *480 + - *263 + - *481 requestBody: required: false content: @@ -69845,9 +69846,9 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: - default: *479 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69863,9 +69864,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/releases#delete-a-release parameters: - - *261 - *262 - - *480 + - *263 + - *481 responses: '204': description: Response @@ -69885,9 +69886,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/assets#list-release-assets parameters: - - *261 - *262 - - *480 + - *263 + - *481 - *4 - *5 responses: @@ -69897,7 +69898,7 @@ paths: application/json: schema: type: array - items: *475 + items: *476 examples: default: value: @@ -69978,9 +69979,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: - - *261 - *262 - - *480 + - *263 + - *481 - name: name in: query required: true @@ -70006,7 +70007,7 @@ paths: description: Response for successful upload content: application/json: - schema: *475 + schema: *476 examples: response-for-successful-upload: value: @@ -70060,9 +70061,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *261 - *262 - - *480 + - *263 + - *481 - 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. @@ -70086,9 +70087,9 @@ paths: application/json: schema: type: array - items: *250 + items: *251 examples: - default: *252 + default: *253 headers: Link: *6 '404': *36 @@ -70109,9 +70110,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *261 - *262 - - *480 + - *263 + - *481 requestBody: required: true content: @@ -70141,16 +70142,16 @@ paths: description: Reaction exists content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 '201': description: Reaction created content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 '422': *31 x-github: githubCloudOnly: false @@ -70172,10 +70173,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#delete-a-release-reaction parameters: - - *261 - *262 - - *480 - - *253 + - *263 + - *481 + - *254 responses: '204': description: Response @@ -70195,8 +70196,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#list-repository-cache-replication-status parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -70272,17 +70273,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: - - *261 - *262 - - *229 + - *263 - *230 - *231 - *232 + - *233 - *9 - *5 - *4 - - *481 - *482 + - *483 responses: '200': description: Response @@ -70290,7 +70291,7 @@ paths: application/json: schema: type: array - items: &485 + items: &486 type: object properties: number: *91 @@ -70309,8 +70310,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *483 - resolution: *484 + state: *484 + resolution: *485 resolved_at: type: string format: date-time @@ -70453,15 +70454,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: - - *261 - *262 - - *347 + - *263 + - *348 responses: '200': description: Response content: application/json: - schema: *485 + schema: *486 examples: default: value: @@ -70500,9 +70501,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: - - *261 - *262 - - *347 + - *263 + - *348 requestBody: required: true content: @@ -70510,8 +70511,8 @@ paths: schema: type: object properties: - state: *483 - resolution: *484 + state: *484 + resolution: *485 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -70529,7 +70530,7 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: default: value: @@ -70595,9 +70596,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: - - *261 - *262 - - *347 + - *263 + - *348 - *5 - *4 responses: @@ -70608,7 +70609,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &611 + items: &612 type: object properties: type: @@ -70915,8 +70916,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/starring#list-stargazers parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -71012,8 +71013,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *261 - *262 + - *263 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -71022,7 +71023,7 @@ paths: application/json: schema: type: array - items: &486 + items: &487 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -71035,7 +71036,7 @@ paths: - 1124 - -435 '202': *136 - '204': *221 + '204': *222 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71053,8 +71054,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: - - *261 - *262 + - *263 responses: '200': description: Response @@ -71103,7 +71104,7 @@ paths: total: 89 week: 1336280400 '202': *136 - '204': *221 + '204': *222 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71127,8 +71128,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *261 - *262 + - *263 responses: '200': description: Response @@ -71202,7 +71203,7 @@ paths: d: 77 c: 10 '202': *136 - '204': *221 + '204': *222 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71224,8 +71225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *261 - *262 + - *263 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -71379,8 +71380,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: - - *261 - *262 + - *263 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -71390,7 +71391,7 @@ paths: application/json: schema: type: array - items: *486 + items: *487 examples: default: value: @@ -71403,7 +71404,7 @@ paths: - - 0 - 2 - 21 - '204': *221 + '204': *222 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71423,8 +71424,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/statuses#create-a-commit-status parameters: - - *261 - *262 + - *263 - name: sha in: path required: true @@ -71478,7 +71479,7 @@ paths: description: Response content: application/json: - schema: *487 + schema: *488 examples: default: value: @@ -71532,8 +71533,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/watching#list-watchers parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -71545,7 +71546,7 @@ paths: type: array items: *19 examples: - default: *206 + default: *207 headers: Link: *6 x-github: @@ -71565,14 +71566,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/watching#get-a-repository-subscription parameters: - - *261 - *262 + - *263 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &488 + schema: &489 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -71640,8 +71641,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/watching#set-a-repository-subscription parameters: - - *261 - *262 + - *263 requestBody: required: false content: @@ -71667,7 +71668,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *489 examples: default: value: @@ -71694,8 +71695,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/watching#delete-a-repository-subscription parameters: - - *261 - *262 + - *263 responses: '204': description: Response @@ -71715,8 +71716,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#list-repository-tags parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -71795,8 +71796,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: - - *261 - *262 + - *263 responses: '200': description: Response @@ -71804,7 +71805,7 @@ paths: application/json: schema: type: array - items: &489 + items: &490 title: Tag protection description: Tag protection type: object @@ -71856,8 +71857,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: - - *261 - *262 + - *263 requestBody: required: true content: @@ -71880,7 +71881,7 @@ paths: description: Response content: application/json: - schema: *489 + schema: *490 examples: default: value: @@ -71911,8 +71912,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: - - *261 - *262 + - *263 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -71949,8 +71950,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: - - *261 - *262 + - *263 - name: ref in: path required: true @@ -71986,8 +71987,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#list-repository-teams parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -71997,9 +71998,9 @@ paths: application/json: schema: type: array - items: *263 + items: *264 examples: - default: *241 + default: *242 headers: Link: *6 '404': *36 @@ -72019,8 +72020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#get-all-repository-topics parameters: - - *261 - *262 + - *263 - *5 - *4 responses: @@ -72028,7 +72029,7 @@ paths: description: Response content: application/json: - schema: &490 + schema: &491 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -72040,7 +72041,7 @@ paths: required: - names examples: - default: &491 + default: &492 value: names: - octocat @@ -72063,8 +72064,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#replace-all-repository-topics parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -72095,9 +72096,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *491 examples: - default: *491 + default: *492 '404': *36 '422': *81 x-github: @@ -72120,8 +72121,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#transfer-a-repository parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -72395,8 +72396,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: - - *261 - *262 + - *263 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -72419,8 +72420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#enable-vulnerability-alerts parameters: - - *261 - *262 + - *263 responses: '204': description: Response @@ -72442,8 +72443,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#disable-vulnerability-alerts parameters: - - *261 - *262 + - *263 responses: '204': description: Response @@ -72469,8 +72470,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: - - *261 - *262 + - *263 - name: ref in: path required: true @@ -72562,9 +72563,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: - default: *274 + default: *275 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -72738,7 +72739,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &499 + - &500 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -72747,7 +72748,7 @@ paths: schema: type: string example: members - - &504 + - &505 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -72758,7 +72759,7 @@ paths: default: 1 format: int32 example: 1 - - &505 + - &506 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -72800,7 +72801,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &493 + items: &494 allOf: - type: object required: @@ -72875,7 +72876,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: &506 + meta: &507 type: object description: The metadata associated with the creation/updates to the user. @@ -72935,31 +72936,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &494 + '400': &495 description: Bad request content: application/json: - schema: *492 + schema: *493 application/scim+json: - schema: *492 - '401': &495 + schema: *493 + '401': &496 description: Authorization failure - '403': &496 + '403': &497 description: Permission denied - '429': &497 + '429': &498 description: Too many requests content: application/json: - schema: *492 + schema: *493 application/scim+json: - schema: *492 - '500': &498 + schema: *493 + '500': &499 description: Internal server error content: application/json: - schema: *492 + schema: *493 application/scim+json: - schema: *492 + schema: *493 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -72986,7 +72987,7 @@ paths: required: true content: application/json: - schema: &502 + schema: &503 type: object required: - schemas @@ -73042,9 +73043,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *493 + schema: *494 examples: - group: &500 + group: &501 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -73063,13 +73064,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': *494 - '401': *495 - '403': *496 - '409': &503 + '400': *495 + '401': *496 + '403': *497 + '409': &504 description: Duplicate record detected - '429': *497 - '500': *498 + '429': *498 + '500': *499 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -73090,7 +73091,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: - - &501 + - &502 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -73098,22 +73099,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *499 + - *500 - *62 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *493 + schema: *494 examples: - default: *500 - '400': *494 - '401': *495 - '403': *496 + default: *501 + '400': *495 + '401': *496 + '403': *497 '404': *36 - '429': *497 - '500': *498 + '429': *498 + '500': *499 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -73135,13 +73136,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: - - *501 + - *502 - *62 requestBody: required: true content: application/json: - schema: *502 + schema: *503 examples: group: summary: Group @@ -73167,17 +73168,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *493 + schema: *494 examples: - group: *500 - groupWithMembers: *500 - '400': *494 - '401': *495 - '403': *496 + group: *501 + groupWithMembers: *501 + '400': *495 + '401': *496 + '403': *497 '404': *36 - '409': *503 - '429': *497 - '500': *498 + '409': *504 + '429': *498 + '500': *499 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -73201,13 +73202,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: - - *501 + - *502 - *62 requestBody: required: true content: application/json: - schema: &513 + schema: &514 type: object required: - Operations @@ -73267,17 +73268,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *493 + schema: *494 examples: - updateGroup: *500 - addMembers: *500 - '400': *494 - '401': *495 - '403': *496 + updateGroup: *501 + addMembers: *501 + '400': *495 + '401': *496 + '403': *497 '404': *36 - '409': *503 - '429': *497 - '500': *498 + '409': *504 + '429': *498 + '500': *499 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -73297,17 +73298,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: - - *501 + - *502 - *62 responses: '204': description: Group was deleted, no content - '400': *494 - '401': *495 - '403': *496 + '400': *495 + '401': *496 + '403': *497 '404': *36 - '429': *497 - '500': *498 + '429': *498 + '500': *499 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -73344,8 +73345,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *504 - *505 + - *506 - *62 responses: '200': @@ -73378,7 +73379,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &508 + items: &509 allOf: - type: object required: @@ -73457,7 +73458,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &507 + roles: &508 type: array description: The roles assigned to the user. items: @@ -73513,7 +73514,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *506 + meta: *507 startIndex: type: integer description: A starting index for the returned page @@ -73550,11 +73551,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *494 - '401': *495 - '403': *496 - '429': *497 - '500': *498 + '400': *495 + '401': *496 + '403': *497 + '429': *498 + '500': *499 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -73583,7 +73584,7 @@ paths: required: true content: application/json: - schema: &511 + schema: &512 type: object required: - schemas @@ -73665,9 +73666,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *507 + roles: *508 examples: - user: &512 + user: &513 summary: User value: schemas: @@ -73714,9 +73715,9 @@ paths: description: User has been created content: application/scim+json: - schema: *508 + schema: *509 examples: - user: &509 + user: &510 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -73742,13 +73743,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: *509 - '400': *494 - '401': *495 - '403': *496 - '409': *503 - '429': *497 - '500': *498 + enterpriseOwner: *510 + '400': *495 + '401': *496 + '403': *497 + '409': *504 + '429': *498 + '500': *499 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -73769,7 +73770,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: - - &510 + - &511 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -73782,15 +73783,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *508 + schema: *509 examples: - default: *509 - '400': *494 - '401': *495 - '403': *496 + default: *510 + '400': *495 + '401': *496 + '403': *497 '404': *36 - '429': *497 - '500': *498 + '429': *498 + '500': *499 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -73815,30 +73816,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: - - *510 + - *511 - *62 requestBody: required: true content: application/json: - schema: *511 + schema: *512 examples: - user: *512 + user: *513 responses: '200': description: User was updated content: application/scim+json: - schema: *508 + schema: *509 examples: - user: *509 - '400': *494 - '401': *495 - '403': *496 + user: *510 + '400': *495 + '401': *496 + '403': *497 '404': *36 - '409': *503 - '429': *497 - '500': *498 + '409': *504 + '429': *498 + '500': *499 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -73876,13 +73877,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: - - *510 + - *511 - *62 requestBody: required: true content: application/json: - schema: *513 + schema: *514 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -73922,18 +73923,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *508 - examples: - userMultiValuedProperties: *509 - userSingleValuedProperties: *509 - disableUser: *509 - '400': *494 - '401': *495 - '403': *496 + schema: *509 + examples: + userMultiValuedProperties: *510 + userSingleValuedProperties: *510 + disableUser: *510 + '400': *495 + '401': *496 + '403': *497 '404': *36 - '409': *503 - '429': *497 - '500': *498 + '409': *504 + '429': *498 + '500': *499 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -73953,17 +73954,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: - - *510 + - *511 - *62 responses: '204': description: User was deleted, no content - '400': *494 - '401': *495 - '403': *496 + '400': *495 + '401': *496 + '403': *497 '404': *36 - '429': *497 - '500': *498 + '429': *498 + '500': *499 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -74090,7 +74091,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &514 + text_matches: &515 title: Search Result Text Matches type: array items: @@ -74253,7 +74254,7 @@ paths: enum: - author-date - committer-date - - &515 + - &516 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 @@ -74324,7 +74325,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *317 + properties: *318 nullable: true comment_count: type: integer @@ -74344,7 +74345,7 @@ paths: url: type: string format: uri - verification: *406 + verification: *407 required: - author - committer @@ -74363,7 +74364,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *317 + properties: *318 nullable: true parents: type: array @@ -74381,7 +74382,7 @@ paths: type: number node_id: type: string - text_matches: *514 + text_matches: *515 required: - sha - node_id @@ -74574,7 +74575,7 @@ paths: - interactions - created - updated - - *515 + - *516 - *4 - *5 responses: @@ -74693,8 +74694,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *363 - required: *364 + properties: *364 + required: *365 nullable: true comments: type: integer @@ -74708,7 +74709,7 @@ paths: type: string format: date-time nullable: true - text_matches: *514 + text_matches: *515 pull_request: type: object properties: @@ -74932,7 +74933,7 @@ paths: enum: - created - updated - - *515 + - *516 - *4 - *5 responses: @@ -74976,7 +74977,7 @@ paths: nullable: true score: type: number - text_matches: *514 + text_matches: *515 required: - id - node_id @@ -75062,7 +75063,7 @@ paths: - forks - help-wanted-issues - updated - - *515 + - *516 - *4 - *5 responses: @@ -75301,7 +75302,7 @@ paths: - admin - pull - push - text_matches: *514 + text_matches: *515 temp_clone_token: type: string allow_merge_commit: @@ -75602,7 +75603,7 @@ paths: type: string format: uri nullable: true - text_matches: *514 + text_matches: *515 related: type: array nullable: true @@ -75795,7 +75796,7 @@ paths: - followers - repositories - joined - - *515 + - *516 - *4 - *5 responses: @@ -75899,7 +75900,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *514 + text_matches: *515 blog: type: string nullable: true @@ -76094,7 +76095,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &517 type: object properties: status: @@ -76114,7 +76115,7 @@ paths: - name - number examples: - default: &517 + default: &518 value: status: scheduled scheduled_time: Tuesday, January 22 at 15:34 -0800 @@ -76159,9 +76160,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: *517 + default: *518 '401': description: Unauthorized requestBody: @@ -76725,7 +76726,7 @@ paths: application/json: schema: type: array - items: &518 + items: &519 type: object properties: key: @@ -76733,7 +76734,7 @@ paths: pretty-print: type: string examples: - default: &519 + default: &520 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 @@ -76776,9 +76777,9 @@ paths: application/json: schema: type: array - items: *518 + items: *519 examples: - default: *519 + default: *520 '401': description: Unauthorized requestBody: @@ -76830,9 +76831,9 @@ paths: application/json: schema: type: array - items: *518 + items: *519 examples: - default: *519 + default: *520 '401': description: Unauthorized requestBody: @@ -76989,9 +76990,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *243 examples: - default: *243 + default: *244 '404': *36 x-github: githubCloudOnly: false @@ -77081,16 +77082,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *242 + schema: *243 examples: - default: *243 + default: *244 '201': description: Response content: application/json: - schema: *242 + schema: *243 examples: - default: *243 + default: *244 '404': *36 '422': *31 '403': *40 @@ -77160,9 +77161,9 @@ paths: application/json: schema: type: array - items: *244 + items: *245 examples: - default: *520 + default: *521 headers: Link: *6 x-github: @@ -77225,9 +77226,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: *245 + default: *246 x-github: triggersNotification: true githubCloudOnly: false @@ -77255,15 +77256,15 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussions#get-a-discussion-legacy parameters: - *7 - - *246 + - *247 responses: '200': description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: *245 + default: *246 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77289,7 +77290,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussions#update-a-discussion-legacy parameters: - *7 - - *246 + - *247 requestBody: required: false content: @@ -77312,9 +77313,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: *521 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77340,7 +77341,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussions#delete-a-discussion-legacy parameters: - *7 - - *246 + - *247 responses: '204': description: Response @@ -77370,7 +77371,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - *7 - - *246 + - *247 - *9 - *4 - *5 @@ -77381,9 +77382,9 @@ paths: application/json: schema: type: array - items: *247 + items: *248 examples: - default: *522 + default: *523 headers: Link: *6 x-github: @@ -77413,7 +77414,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - *7 - - *246 + - *247 requestBody: required: true content: @@ -77435,9 +77436,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 x-github: triggersNotification: true githubCloudOnly: false @@ -77465,16 +77466,16 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - *7 - - *246 - - *249 + - *247 + - *250 responses: '200': description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77500,8 +77501,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - *7 - - *246 - - *249 + - *247 + - *250 requestBody: required: true content: @@ -77523,9 +77524,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *523 + default: *524 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77551,8 +77552,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - *7 - - *246 - - *249 + - *247 + - *250 responses: '204': description: Response @@ -77582,8 +77583,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - *7 - - *246 - - *249 + - *247 + - *250 - 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. @@ -77609,9 +77610,9 @@ paths: application/json: schema: type: array - items: *250 + items: *251 examples: - default: *252 + default: *253 headers: Link: *6 x-github: @@ -77641,8 +77642,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - *7 - - *246 - - *249 + - *247 + - *250 requestBody: required: true content: @@ -77674,9 +77675,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77703,7 +77704,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - *7 - - *246 + - *247 - 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. @@ -77729,9 +77730,9 @@ paths: application/json: schema: type: array - items: *250 + items: *251 examples: - default: *252 + default: *253 headers: Link: *6 x-github: @@ -77761,7 +77762,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - *7 - - *246 + - *247 requestBody: required: true content: @@ -77793,9 +77794,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -77842,7 +77843,7 @@ paths: type: array items: *19 examples: - default: *206 + default: *207 headers: Link: *6 '404': *36 @@ -77991,9 +77992,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - response-if-user-is-a-team-maintainer: *524 + response-if-user-is-a-team-maintainer: *525 '404': *36 x-github: githubCloudOnly: false @@ -78052,9 +78053,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - response-if-users-membership-with-team-is-now-pending: *525 + response-if-users-membership-with-team-is-now-pending: *526 '403': description: Forbidden if team synchronization is set up '422': @@ -78128,9 +78129,9 @@ paths: application/json: schema: type: array - items: *259 + items: *260 examples: - default: *526 + default: *527 headers: Link: *6 '404': *36 @@ -78158,15 +78159,15 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - *7 - - *260 + - *261 responses: '200': description: Response content: application/json: - schema: *259 + schema: *260 examples: - default: *527 + default: *528 '404': description: Not Found if project is not managed by this team x-github: @@ -78192,7 +78193,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - *7 - - *260 + - *261 requestBody: required: false content: @@ -78261,7 +78262,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - *7 - - *260 + - *261 responses: '204': description: Response @@ -78300,7 +78301,7 @@ paths: type: array items: *148 examples: - default: *214 + default: *215 headers: Link: *6 '404': *36 @@ -78331,14 +78332,14 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - *7 - - *261 - *262 + - *263 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *528 + schema: *529 examples: alternative-response-with-extra-repository-information: value: @@ -78490,8 +78491,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - *7 - - *261 - *262 + - *263 requestBody: required: false content: @@ -78542,8 +78543,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - *7 - - *261 - *262 + - *263 responses: '204': description: Response @@ -78578,9 +78579,9 @@ paths: application/json: schema: type: array - items: *263 + items: *264 examples: - response-if-child-teams-exist: *529 + response-if-child-teams-exist: *530 headers: Link: *6 '404': *36 @@ -78613,7 +78614,7 @@ paths: application/json: schema: oneOf: - - &531 + - &532 title: Private User description: Private User type: object @@ -78816,7 +78817,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *530 + - *531 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -78967,7 +78968,7 @@ paths: description: Response content: application/json: - schema: *531 + schema: *532 examples: default: value: @@ -79043,9 +79044,9 @@ paths: application/json: schema: type: array - items: *207 + items: *208 examples: - default: &541 + default: &542 value: - id: 197 name: hello_docker @@ -79132,7 +79133,7 @@ paths: application/json: schema: type: array - items: &532 + items: &533 title: Email description: Email type: object @@ -79157,7 +79158,7 @@ paths: - verified - visibility examples: - default: &543 + default: &544 value: - email: octocat@github.com verified: true @@ -79232,7 +79233,7 @@ paths: application/json: schema: type: array - items: *532 + items: *533 examples: default: value: @@ -79342,7 +79343,7 @@ paths: type: array items: *19 examples: - default: *206 + default: *207 headers: Link: *6 '304': *39 @@ -79375,7 +79376,7 @@ paths: type: array items: *19 examples: - default: *206 + default: *207 headers: Link: *6 '304': *39 @@ -79488,7 +79489,7 @@ paths: application/json: schema: type: array - items: &533 + items: &534 title: GPG Key description: A unique encryption key type: object @@ -79619,7 +79620,7 @@ paths: - subkeys - revoked examples: - default: &553 + default: &554 value: - id: 3 name: Octocat's GPG Key @@ -79704,9 +79705,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *534 examples: - default: &534 + default: &535 value: id: 3 name: Octocat's GPG Key @@ -79763,7 +79764,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: - - &535 + - &536 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -79775,9 +79776,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *534 examples: - default: *534 + default: *535 '404': *36 '304': *39 '403': *40 @@ -79800,7 +79801,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: - - *535 + - *536 responses: '204': description: Response @@ -79991,7 +79992,7 @@ paths: type: array items: *82 examples: - default: *536 + default: *537 headers: Link: *6 '404': *36 @@ -80109,7 +80110,7 @@ paths: - closed - all default: open - - *200 + - *201 - name: sort description: What to sort results by. in: query @@ -80134,7 +80135,7 @@ paths: type: array items: *118 examples: - default: *201 + default: *202 headers: Link: *6 '404': *36 @@ -80167,7 +80168,7 @@ paths: application/json: schema: type: array - items: &537 + items: &538 title: Key description: Key type: object @@ -80264,9 +80265,9 @@ paths: description: Response content: application/json: - schema: *537 + schema: *538 examples: - default: &538 + default: &539 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -80299,15 +80300,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: - - *440 + - *441 responses: '200': description: Response content: application/json: - schema: *537 + schema: *538 examples: - default: *538 + default: *539 '404': *36 '304': *39 '403': *40 @@ -80330,7 +80331,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: - - *440 + - *441 responses: '204': description: Response @@ -80373,7 +80374,7 @@ paths: application/json: schema: type: array - items: *202 + items: *203 examples: default: value: @@ -80481,7 +80482,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *203 examples: default: value: @@ -80564,7 +80565,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *203 examples: default: value: @@ -80632,7 +80633,7 @@ paths: application/json: schema: type: array - items: *204 + items: *205 examples: default: value: @@ -80885,7 +80886,7 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: default: value: @@ -81078,7 +81079,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/migrations/users#download-a-user-migration-archive parameters: - - *205 + - *206 responses: '302': description: Response @@ -81101,7 +81102,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: - - *205 + - *206 - *4 - *5 responses: @@ -81113,7 +81114,7 @@ paths: type: array items: *148 examples: - default: *214 + default: *215 headers: Link: *6 '404': *36 @@ -81150,7 +81151,7 @@ paths: type: array items: *67 examples: - default: *539 + default: *540 headers: Link: *6 '304': *39 @@ -81192,7 +81193,7 @@ paths: - docker - nuget - container - - *540 + - *541 - *5 - *4 responses: @@ -81202,10 +81203,10 @@ paths: application/json: schema: type: array - items: *207 + items: *208 examples: - default: *541 - '400': *542 + default: *542 + '400': *543 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -81225,16 +81226,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: - - *209 - *210 + - *211 responses: '200': description: Response content: application/json: - schema: *207 + schema: *208 examples: - default: &554 + default: &555 value: id: 40201 name: octo-name @@ -81347,8 +81348,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: - - *209 - *210 + - *211 responses: '204': description: Response @@ -81378,8 +81379,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: - - *209 - *210 + - *211 - name: token description: package token schema: @@ -81411,8 +81412,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: - - *209 - *210 + - *211 - *5 - *4 - name: state @@ -81432,7 +81433,7 @@ paths: application/json: schema: type: array - items: *211 + items: *212 examples: default: value: @@ -81481,15 +81482,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: - - *209 - *210 - - *212 + - *211 + - *213 responses: '200': description: Response content: application/json: - schema: *211 + schema: *212 examples: default: value: @@ -81525,9 +81526,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: - - *209 - *210 - - *212 + - *211 + - *213 responses: '204': description: Response @@ -81557,9 +81558,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: - - *209 - *210 - - *212 + - *211 + - *213 responses: '204': description: Response @@ -81615,7 +81616,7 @@ paths: description: Response content: application/json: - schema: *224 + schema: *225 examples: default: value: @@ -81684,9 +81685,9 @@ paths: application/json: schema: type: array - items: *532 + items: *533 examples: - default: *543 + default: *544 headers: Link: *6 '304': *39 @@ -81799,7 +81800,7 @@ paths: type: array items: *82 examples: - default: &550 + default: &551 summary: Default response value: - id: 1296269 @@ -82101,9 +82102,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: - default: *274 + default: *275 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -82141,9 +82142,9 @@ paths: application/json: schema: type: array - items: *413 + items: *414 examples: - default: *544 + default: *545 headers: Link: *6 '304': *39 @@ -82166,7 +82167,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *414 + - *415 responses: '204': description: Response @@ -82189,7 +82190,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *414 + - *415 responses: '204': description: Response @@ -82222,7 +82223,7 @@ paths: application/json: schema: type: array - items: &545 + items: &546 title: Social account description: Social media account type: object @@ -82237,7 +82238,7 @@ paths: - provider - url examples: - default: &546 + default: &547 value: - provider: twitter url: https://twitter.com/github @@ -82299,9 +82300,9 @@ paths: application/json: schema: type: array - items: *545 + items: *546 examples: - default: *546 + default: *547 '422': *31 '304': *39 '404': *36 @@ -82388,7 +82389,7 @@ paths: application/json: schema: type: array - items: &547 + items: &548 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -82408,7 +82409,7 @@ paths: - title - created_at examples: - default: &555 + default: &556 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -82474,9 +82475,9 @@ paths: description: Response content: application/json: - schema: *547 + schema: *548 examples: - default: &548 + default: &549 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -82507,7 +82508,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: - - &549 + - &550 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -82519,9 +82520,9 @@ paths: description: Response content: application/json: - schema: *547 + schema: *548 examples: - default: *548 + default: *549 '404': *36 '304': *39 '403': *40 @@ -82544,7 +82545,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: - - *549 + - *550 responses: '204': description: Response @@ -82573,7 +82574,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: - - &556 + - &557 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 @@ -82598,11 +82599,11 @@ paths: type: array items: *82 examples: - default-response: *550 + default-response: *551 application/vnd.github.v3.star+json: schema: type: array - items: &557 + items: &558 title: Starred Repository description: Starred Repository type: object @@ -82758,8 +82759,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: - - *261 - *262 + - *263 responses: '204': description: Response if this repository is starred by you @@ -82787,8 +82788,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: - - *261 - *262 + - *263 responses: '204': description: Response @@ -82812,8 +82813,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: - - *261 - *262 + - *263 responses: '204': description: Response @@ -82848,7 +82849,7 @@ paths: type: array items: *148 examples: - default: *214 + default: *215 headers: Link: *6 '304': *39 @@ -82885,7 +82886,7 @@ paths: application/json: schema: type: array - items: *242 + items: *243 examples: default: value: @@ -82972,10 +82973,10 @@ paths: application/json: schema: oneOf: + - *532 - *531 - - *530 examples: - default-response: &551 + default-response: &552 summary: Default response value: login: octocat @@ -83010,7 +83011,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &552 + response-with-git-hub-plan-information: &553 summary: Response with GitHub plan information value: login: octocat @@ -83086,7 +83087,7 @@ paths: type: array items: *19 examples: - default: *206 + default: *207 headers: Link: example: ; rel="next" @@ -83122,11 +83123,11 @@ paths: application/json: schema: oneOf: + - *532 - *531 - - *530 examples: - default-response: *551 - response-with-git-hub-plan-information: *552 + default-response: *552 + response-with-git-hub-plan-information: *553 '404': *36 x-github: githubCloudOnly: false @@ -83155,9 +83156,9 @@ paths: application/json: schema: type: array - items: *207 + items: *208 examples: - default: *541 + default: *542 '403': *40 '401': *38 x-github: @@ -83440,7 +83441,7 @@ paths: type: array items: *19 examples: - default: *206 + default: *207 headers: Link: *6 x-github: @@ -83471,7 +83472,7 @@ paths: type: array items: *19 examples: - default: *206 + default: *207 headers: Link: *6 x-github: @@ -83561,9 +83562,9 @@ paths: application/json: schema: type: array - items: *533 + items: *534 examples: - default: *553 + default: *554 headers: Link: *6 x-github: @@ -83667,7 +83668,7 @@ paths: application/json: schema: *35 examples: - default: *412 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -83745,7 +83746,7 @@ paths: type: array items: *67 examples: - default: *539 + default: *540 headers: Link: *6 x-github: @@ -83784,7 +83785,7 @@ paths: - docker - nuget - container - - *540 + - *541 - *8 - *5 - *4 @@ -83795,12 +83796,12 @@ paths: application/json: schema: type: array - items: *207 + items: *208 examples: - default: *541 + default: *542 '403': *40 '401': *38 - '400': *542 + '400': *543 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -83820,17 +83821,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: - - *209 - *210 + - *211 - *8 responses: '200': description: Response content: application/json: - schema: *207 + schema: *208 examples: - default: *554 + default: *555 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -83851,8 +83852,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: - - *209 - *210 + - *211 - *8 responses: '204': @@ -83885,8 +83886,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: - - *209 - *210 + - *211 - *8 - name: token description: package token @@ -83919,8 +83920,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: - - *209 - *210 + - *211 - *8 responses: '200': @@ -83929,7 +83930,7 @@ paths: application/json: schema: type: array - items: *211 + items: *212 examples: default: value: @@ -83987,16 +83988,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: - - *209 - *210 - - *212 + - *211 + - *213 - *8 responses: '200': description: Response content: application/json: - schema: *211 + schema: *212 examples: default: value: @@ -84031,10 +84032,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: - - *209 - *210 + - *211 - *8 - - *212 + - *213 responses: '204': description: Response @@ -84066,10 +84067,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: - - *209 - *210 + - *211 - *8 - - *212 + - *213 responses: '204': description: Response @@ -84113,7 +84114,7 @@ paths: application/json: schema: type: array - items: *224 + items: *225 examples: default: value: @@ -84393,7 +84394,7 @@ paths: type: array items: *148 examples: - default: *214 + default: *215 headers: Link: *6 x-github: @@ -84463,9 +84464,9 @@ paths: application/json: schema: type: array - items: *545 + items: *546 examples: - default: *546 + default: *547 headers: Link: *6 x-github: @@ -84495,9 +84496,9 @@ paths: application/json: schema: type: array - items: *547 + items: *548 examples: - default: *555 + default: *556 headers: Link: *6 x-github: @@ -84522,7 +84523,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *8 - - *556 + - *557 - *9 - *4 - *5 @@ -84534,11 +84535,11 @@ paths: schema: anyOf: - type: array - items: *557 + items: *558 - type: array items: *82 examples: - default-response: *550 + default-response: *551 headers: Link: *6 x-github: @@ -84569,7 +84570,7 @@ paths: type: array items: *148 examples: - default: *214 + default: *215 headers: Link: *6 x-github: @@ -84756,7 +84757,7 @@ x-webhooks: type: string enum: - created - enterprise: &558 + enterprise: &559 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -84814,7 +84815,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &559 + installation: &560 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -84833,7 +84834,7 @@ x-webhooks: required: - id - node_id - organization: &560 + organization: &561 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -84893,13 +84894,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &561 + repository: &562 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &587 + properties: &588 id: description: Unique identifier of the repository example: 42 @@ -85576,7 +85577,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &588 + required: &589 - archive_url - assignees_url - blobs_url @@ -85650,7 +85651,7 @@ x-webhooks: - watchers_count - created_at - updated_at - rule: &562 + rule: &563 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) @@ -85867,11 +85868,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 - rule: *562 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 + rule: *563 sender: *19 required: - action @@ -86045,11 +86046,11 @@ x-webhooks: - everyone required: - from - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 - rule: *562 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 + rule: *563 sender: *19 required: - action @@ -86134,12 +86135,12 @@ x-webhooks: type: string cache_location: type: string - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 ref: type: string - repository: *561 + repository: *562 sender: *19 required: - cache_location @@ -86233,7 +86234,7 @@ x-webhooks: type: string enum: - completed - check_run: &564 + check_run: &565 title: CheckRun description: A check performed on the code of a given code change type: object @@ -86296,7 +86297,7 @@ x-webhooks: type: string pull_requests: type: array - items: *330 + items: *331 repository: *148 status: example: completed @@ -86334,7 +86335,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *563 + deployment: *564 details_url: example: https://example.com type: string @@ -86384,7 +86385,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *330 + items: *331 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -86419,9 +86420,9 @@ x-webhooks: - output - app - pull_requests - installation: *559 - organization: *560 - repository: *561 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - check_run @@ -86824,10 +86825,10 @@ x-webhooks: type: string enum: - created - check_run: *564 - installation: *559 - organization: *560 - repository: *561 + check_run: *565 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - check_run @@ -87233,10 +87234,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *564 - installation: *559 - organization: *560 - repository: *561 + check_run: *565 + installation: *560 + organization: *561 + repository: *562 requested_action: description: The action requested by the user. type: object @@ -87651,10 +87652,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *564 - installation: *559 - organization: *560 - repository: *561 + check_run: *565 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - check_run @@ -88641,10 +88642,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -89324,10 +89325,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -90001,10 +90002,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -90177,7 +90178,7 @@ x-webhooks: required: - login - id - dismissed_comment: *343 + dismissed_comment: *344 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -90322,20 +90323,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &565 + commit_oid: &566 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: *558 - installation: *559 - organization: *560 - ref: &566 + enterprise: *559 + installation: *560 + organization: *561 + ref: &567 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: *561 + repository: *562 sender: *19 required: - action @@ -90507,7 +90508,7 @@ x-webhooks: required: - login - id - dismissed_comment: *343 + dismissed_comment: *344 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -90668,12 +90669,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *565 - enterprise: *558 - installation: *559 - organization: *560 - ref: *566 - repository: *561 + commit_oid: *566 + enterprise: *559 + installation: *560 + organization: *561 + ref: *567 + repository: *562 sender: *19 required: - action @@ -90778,7 +90779,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *343 + dismissed_comment: *344 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -90944,12 +90945,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *565 - enterprise: *558 - installation: *559 - organization: *560 - ref: *566 - repository: *561 + commit_oid: *566 + enterprise: *559 + installation: *560 + organization: *561 + ref: *567 + repository: *562 sender: *19 required: - action @@ -91122,7 +91123,7 @@ x-webhooks: required: - login - id - dismissed_comment: *343 + dismissed_comment: *344 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -91288,12 +91289,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *565 - enterprise: *558 - installation: *559 - organization: *560 - ref: *566 - repository: *561 + commit_oid: *566 + enterprise: *559 + installation: *560 + organization: *561 + ref: *567 + repository: *562 sender: *19 required: - action @@ -91400,7 +91401,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *343 + dismissed_comment: *344 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -91568,16 +91569,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 ref: 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 nullable: true - repository: *561 + repository: *562 sender: *19 required: - action @@ -91681,7 +91682,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *343 + dismissed_comment: *344 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -91821,12 +91822,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *565 - enterprise: *558 - installation: *559 - organization: *560 - ref: *566 - repository: *561 + commit_oid: *566 + enterprise: *559 + installation: *560 + organization: *561 + ref: *567 + repository: *562 sender: *19 required: - action @@ -92093,10 +92094,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -92186,18 +92187,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *560 - pusher_type: &567 + organization: *561 + pusher_type: &568 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &568 + ref: &569 description: The [`git ref`](https://docs.github.com/enterprise-server@3.10/rest/git/refs#get-a-reference) resource. type: string @@ -92207,7 +92208,7 @@ x-webhooks: enum: - tag - branch - repository: *561 + repository: *562 sender: *19 required: - ref @@ -92296,18 +92297,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *558 - installation: *559 - organization: *560 - pusher_type: *567 - ref: *568 + enterprise: *559 + installation: *560 + organization: *561 + pusher_type: *568 + ref: *569 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *561 + repository: *562 sender: *19 required: - ref @@ -92402,11 +92403,11 @@ x-webhooks: type: string enum: - created - alert: *375 - installation: *559 - organization: *560 - enterprise: *558 - repository: *561 + alert: *376 + installation: *560 + organization: *561 + enterprise: *559 + repository: *562 sender: *19 required: - action @@ -92498,11 +92499,11 @@ x-webhooks: type: string enum: - dismissed - alert: *375 - installation: *559 - organization: *560 - enterprise: *558 - repository: *561 + alert: *376 + installation: *560 + organization: *561 + enterprise: *559 + repository: *562 sender: *19 required: - action @@ -92594,11 +92595,11 @@ x-webhooks: type: string enum: - fixed - alert: *375 - installation: *559 - organization: *560 - enterprise: *558 - repository: *561 + alert: *376 + installation: *560 + organization: *561 + enterprise: *559 + repository: *562 sender: *19 required: - action @@ -92691,11 +92692,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *375 - installation: *559 - organization: *560 - enterprise: *558 - repository: *561 + alert: *376 + installation: *560 + organization: *561 + enterprise: *559 + repository: *562 sender: *19 required: - action @@ -92787,11 +92788,11 @@ x-webhooks: type: string enum: - reopened - alert: *375 - installation: *559 - organization: *560 - enterprise: *558 - repository: *561 + alert: *376 + installation: *560 + organization: *561 + enterprise: *559 + repository: *562 sender: *19 required: - action @@ -92878,9 +92879,9 @@ x-webhooks: type: string enum: - created - enterprise: *558 - installation: *559 - key: &569 + enterprise: *559 + installation: *560 + key: &570 description: The [`deploy key`](https://docs.github.com/enterprise-server@3.10/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -92914,8 +92915,8 @@ x-webhooks: - verified - created_at - read_only - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 required: - action @@ -93002,11 +93003,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *558 - installation: *559 - key: *569 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + key: *570 + organization: *561 + repository: *562 sender: *19 required: - action @@ -93577,12 +93578,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 - workflow: &573 + workflow: &574 title: Workflow type: object nullable: true @@ -94318,13 +94319,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *381 + deployment: *382 pull_requests: type: array - items: *462 - repository: *561 - organization: *560 - installation: *559 + items: *463 + repository: *562 + organization: *561 + installation: *560 sender: *19 responses: '200': @@ -94405,7 +94406,7 @@ x-webhooks: type: string enum: - approved - approver: &570 + approver: &571 type: object properties: avatar_url: @@ -94448,11 +94449,11 @@ x-webhooks: type: string comment: type: string - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 - reviewers: &571 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 + reviewers: &572 type: array items: type: object @@ -94531,7 +94532,7 @@ x-webhooks: sender: *19 since: type: string - workflow_job_run: &572 + workflow_job_run: &573 type: object properties: conclusion: @@ -95272,18 +95273,18 @@ x-webhooks: type: string enum: - rejected - approver: *570 + approver: *571 comment: type: string - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 - reviewers: *571 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 + reviewers: *572 sender: *19 since: type: string - workflow_job_run: *572 + workflow_job_run: *573 workflow_job_runs: type: array items: @@ -95997,13 +95998,13 @@ x-webhooks: type: string enum: - requested - enterprise: *558 + enterprise: *559 environment: type: string - installation: *559 - organization: *560 - repository: *561 - requestor: &578 + installation: *560 + organization: *561 + repository: *562 + requestor: &579 title: User type: object nullable: true @@ -97912,12 +97913,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 - workflow: *573 + workflow: *574 workflow_run: title: Deployment Workflow Run type: object @@ -98607,7 +98608,7 @@ x-webhooks: type: string enum: - answered - answer: &576 + answer: &577 type: object properties: author_association: @@ -98764,7 +98765,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &574 + discussion: &575 title: Discussion description: A Discussion in a repository. type: object @@ -99050,7 +99051,7 @@ x-webhooks: - id labels: type: array - items: *423 + items: *424 required: - repository_url - category @@ -99072,10 +99073,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -99212,11 +99213,11 @@ x-webhooks: - from required: - category - discussion: *574 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + discussion: *575 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -99309,11 +99310,11 @@ x-webhooks: type: string enum: - closed - discussion: *574 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + discussion: *575 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -99405,7 +99406,7 @@ x-webhooks: type: string enum: - created - comment: &575 + comment: &576 type: object properties: author_association: @@ -99562,11 +99563,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *574 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + discussion: *575 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -99659,12 +99660,12 @@ x-webhooks: type: string enum: - deleted - comment: *575 - discussion: *574 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + comment: *576 + discussion: *575 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -99769,12 +99770,12 @@ x-webhooks: - from required: - body - comment: *575 - discussion: *574 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + comment: *576 + discussion: *575 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -99868,11 +99869,11 @@ x-webhooks: type: string enum: - created - discussion: *574 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + discussion: *575 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -99964,11 +99965,11 @@ x-webhooks: type: string enum: - deleted - discussion: *574 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + discussion: *575 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -100078,11 +100079,11 @@ x-webhooks: type: string required: - from - discussion: *574 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + discussion: *575 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -100174,10 +100175,10 @@ x-webhooks: type: string enum: - labeled - discussion: *574 - enterprise: *558 - installation: *559 - label: &577 + discussion: *575 + enterprise: *559 + installation: *560 + label: &578 title: Label type: object properties: @@ -100209,8 +100210,8 @@ x-webhooks: - color - default - description - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 required: - action @@ -100303,11 +100304,11 @@ x-webhooks: type: string enum: - locked - discussion: *574 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + discussion: *575 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -100399,11 +100400,11 @@ x-webhooks: type: string enum: - pinned - discussion: *574 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + discussion: *575 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -100495,11 +100496,11 @@ x-webhooks: type: string enum: - reopened - discussion: *574 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + discussion: *575 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -100594,16 +100595,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *574 - new_repository: *561 + new_discussion: *575 + new_repository: *562 required: - new_discussion - new_repository - discussion: *574 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + discussion: *575 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -100696,10 +100697,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *574 - old_answer: *576 - organization: *560 - repository: *561 + discussion: *575 + old_answer: *577 + organization: *561 + repository: *562 sender: *19 required: - action @@ -100791,12 +100792,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *574 - enterprise: *558 - installation: *559 - label: *577 - organization: *560 - repository: *561 + discussion: *575 + enterprise: *559 + installation: *560 + label: *578 + organization: *561 + repository: *562 sender: *19 required: - action @@ -100889,11 +100890,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *574 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + discussion: *575 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -100985,11 +100986,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *574 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + discussion: *575 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -101230,7 +101231,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *558 + enterprise: *559 forkee: description: The created [`repository`](https://docs.github.com/enterprise-server@3.10/rest/repos/repos#get-a-repository) resource. @@ -101890,9 +101891,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *559 - organization: *560 - repository: *561 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - forkee @@ -102058,9 +102059,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 pages: description: The pages that were updated. type: array @@ -102097,7 +102098,7 @@ x-webhooks: - action - sha - html_url - repository: *561 + repository: *562 sender: *19 required: - pages @@ -102183,10 +102184,10 @@ x-webhooks: type: string enum: - created - enterprise: *558 + enterprise: *559 installation: *35 - organization: *560 - repositories: &579 + organization: *561 + repositories: &580 description: An array of repository objects that the installation can access. type: array @@ -102212,8 +102213,8 @@ x-webhooks: - name - full_name - private - repository: *561 - requester: *578 + repository: *562 + requester: *579 sender: *19 required: - action @@ -102298,11 +102299,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *558 + enterprise: *559 installation: *35 - organization: *560 - repositories: *579 - repository: *561 + organization: *561 + repositories: *580 + repository: *562 requester: nullable: true sender: *19 @@ -102388,11 +102389,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *558 + enterprise: *559 installation: *35 - organization: *560 - repositories: *579 - repository: *561 + organization: *561 + repositories: *580 + repository: *562 requester: nullable: true sender: *19 @@ -102478,10 +102479,10 @@ x-webhooks: type: string enum: - added - enterprise: *558 + enterprise: *559 installation: *35 - organization: *560 - repositories_added: &580 + organization: *561 + repositories_added: &581 description: An array of repository objects, which were added to the installation. type: array @@ -102527,15 +102528,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *561 - repository_selection: &581 + repository: *562 + repository_selection: &582 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *578 + requester: *579 sender: *19 required: - action @@ -102624,10 +102625,10 @@ x-webhooks: type: string enum: - removed - enterprise: *558 + enterprise: *559 installation: *35 - organization: *560 - repositories_added: *580 + organization: *561 + repositories_added: *581 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -102654,9 +102655,9 @@ x-webhooks: - name - full_name - private - repository: *561 - repository_selection: *581 - requester: *578 + repository: *562 + repository_selection: *582 + requester: *579 sender: *19 required: - action @@ -102745,11 +102746,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *558 + enterprise: *559 installation: *35 - organization: *560 - repositories: *579 - repository: *561 + organization: *561 + repositories: *580 + repository: *562 requester: nullable: true sender: *19 @@ -102935,10 +102936,10 @@ x-webhooks: type: string required: - from - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 target_type: type: string @@ -103027,11 +103028,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *558 + enterprise: *559 installation: *35 - organization: *560 - repositories: *579 - repository: *561 + organization: *561 + repositories: *580 + repository: *562 requester: nullable: true sender: *19 @@ -103293,8 +103294,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 issue: description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) the comment belongs to. @@ -104449,8 +104450,8 @@ x-webhooks: - state - locked - assignee - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 required: - action @@ -104540,7 +104541,7 @@ x-webhooks: type: string enum: - deleted - comment: &582 + comment: &583 title: issue comment description: The [comment](https://docs.github.com/enterprise-server@3.10/rest/issues/comments#get-an-issue-comment) itself. @@ -104705,8 +104706,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 issue: description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) the comment belongs to. @@ -105859,8 +105860,8 @@ x-webhooks: - state - locked - assignee - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 required: - action @@ -105950,7 +105951,7 @@ x-webhooks: type: string enum: - edited - changes: &603 + changes: &604 description: The changes to the comment. type: object properties: @@ -105962,9 +105963,9 @@ x-webhooks: type: string required: - from - comment: *582 - enterprise: *558 - installation: *559 + comment: *583 + enterprise: *559 + installation: *560 issue: description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) the comment belongs to. @@ -107118,8 +107119,8 @@ x-webhooks: - state - locked - assignee - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 required: - action @@ -107211,10 +107212,10 @@ x-webhooks: type: string enum: - assigned - assignee: *578 - enterprise: *558 - installation: *559 - issue: &585 + assignee: *579 + enterprise: *559 + installation: *560 + issue: &586 title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) itself. @@ -108132,8 +108133,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 required: - action @@ -108223,8 +108224,8 @@ x-webhooks: type: string enum: - closed - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 issue: description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) itself. @@ -109282,8 +109283,8 @@ x-webhooks: required: - state - closed_at - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 required: - action @@ -109372,8 +109373,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -110284,8 +110285,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 required: - action @@ -110374,8 +110375,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -111289,7 +111290,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &583 + milestone: &584 title: Milestone description: A collection of related issues and pull requests. type: object @@ -111427,8 +111428,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 required: - action @@ -111537,8 +111538,8 @@ x-webhooks: type: string required: - from - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -112456,9 +112457,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *577 - organization: *560 - repository: *561 + label: *578 + organization: *561 + repository: *562 sender: *19 required: - action @@ -112548,8 +112549,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -113466,9 +113467,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *577 - organization: *560 - repository: *561 + label: *578 + organization: *561 + repository: *562 sender: *19 required: - action @@ -113558,8 +113559,8 @@ x-webhooks: type: string enum: - locked - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -114477,8 +114478,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 required: - action @@ -114567,8 +114568,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -115480,9 +115481,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *583 - organization: *560 - repository: *561 + milestone: *584 + organization: *561 + repository: *562 sender: *19 required: - action @@ -116947,8 +116948,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -117865,8 +117866,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 required: - action @@ -117956,9 +117957,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *558 - installation: *559 - issue: &584 + enterprise: *559 + installation: *560 + issue: &585 title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) itself. @@ -118869,8 +118870,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 required: - action @@ -118959,8 +118960,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -119877,8 +119878,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 required: - action @@ -121344,11 +121345,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *558 - installation: *559 - issue: *584 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + issue: *585 + organization: *561 + repository: *562 sender: *19 required: - action @@ -121439,7 +121440,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &606 + assignee: &607 title: User type: object nullable: true @@ -121509,11 +121510,11 @@ x-webhooks: required: - login - id - enterprise: *558 - installation: *559 - issue: *585 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + issue: *586 + organization: *561 + repository: *562 sender: *19 required: - action @@ -121602,12 +121603,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *558 - installation: *559 - issue: *585 - label: *577 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + issue: *586 + label: *578 + organization: *561 + repository: *562 sender: *19 required: - action @@ -121697,8 +121698,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -122614,8 +122615,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 required: - action @@ -122705,11 +122706,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *558 - installation: *559 - issue: *584 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + issue: *585 + organization: *561 + repository: *562 sender: *19 required: - action @@ -122798,11 +122799,11 @@ x-webhooks: type: string enum: - created - enterprise: *558 - installation: *559 - label: *577 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + label: *578 + organization: *561 + repository: *562 sender: *19 required: - action @@ -122890,11 +122891,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *558 - installation: *559 - label: *577 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + label: *578 + organization: *561 + repository: *562 sender: *19 required: - action @@ -123014,11 +123015,11 @@ x-webhooks: type: string required: - from - enterprise: *558 - installation: *559 - label: *577 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + label: *578 + organization: *561 + repository: *562 sender: *19 required: - action @@ -123119,11 +123120,11 @@ x-webhooks: - read required: - to - enterprise: *558 - installation: *559 - member: *578 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + member: *579 + organization: *561 + repository: *562 sender: *19 required: - action @@ -123233,11 +123234,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *558 - installation: *559 - member: *578 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + member: *579 + organization: *561 + repository: *562 sender: *19 required: - action @@ -123326,11 +123327,11 @@ x-webhooks: type: string enum: - removed - enterprise: *558 - installation: *559 - member: *578 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + member: *579 + organization: *561 + repository: *562 sender: *19 required: - action @@ -123418,11 +123419,11 @@ x-webhooks: type: string enum: - added - enterprise: *558 - installation: *559 - member: *578 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + member: *579 + organization: *561 + repository: *562 scope: description: The scope of the membership. Currently, can only be `team`. @@ -123498,7 +123499,7 @@ x-webhooks: required: - login - id - team: &586 + team: &587 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -123698,11 +123699,11 @@ x-webhooks: type: string enum: - removed - enterprise: *558 - installation: *559 - member: *578 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + member: *579 + organization: *561 + repository: *562 scope: description: The scope of the membership. Currently, can only be `team`. @@ -123779,7 +123780,7 @@ x-webhooks: required: - login - id - team: *586 + team: *587 required: - action - scope @@ -123867,7 +123868,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *558 + enterprise: *559 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -123975,16 +123976,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *559 - organization: *560 + installation: *560 + organization: *561 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *587 - required: *588 + properties: *588 + required: *589 nullable: true sender: *19 required: @@ -124075,11 +124076,11 @@ x-webhooks: type: string enum: - closed - enterprise: *558 - installation: *559 - milestone: *583 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + milestone: *584 + organization: *561 + repository: *562 sender: *19 required: - action @@ -124168,9 +124169,9 @@ x-webhooks: type: string enum: - created - enterprise: *558 - installation: *559 - milestone: &589 + enterprise: *559 + installation: *560 + milestone: &590 title: Milestone description: A collection of related issues and pull requests. type: object @@ -124307,8 +124308,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 required: - action @@ -124397,11 +124398,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *558 - installation: *559 - milestone: *583 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + milestone: *584 + organization: *561 + repository: *562 sender: *19 required: - action @@ -124521,11 +124522,11 @@ x-webhooks: type: string required: - from - enterprise: *558 - installation: *559 - milestone: *583 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + milestone: *584 + organization: *561 + repository: *562 sender: *19 required: - action @@ -124615,11 +124616,11 @@ x-webhooks: type: string enum: - opened - enterprise: *558 - installation: *559 - milestone: *589 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + milestone: *590 + organization: *561 + repository: *562 sender: *19 required: - action @@ -124708,9 +124709,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *558 - installation: *559 - membership: &590 + enterprise: *559 + installation: *560 + membership: &591 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -124802,8 +124803,8 @@ x-webhooks: - role - organization_url - user - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 required: - action @@ -124891,11 +124892,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *558 - installation: *559 - membership: *590 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + membership: *591 + organization: *561 + repository: *562 sender: *19 required: - action @@ -124984,8 +124985,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -125101,10 +125102,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 - user: *578 + user: *579 required: - action - invitation @@ -125192,11 +125193,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *558 - installation: *559 - membership: *590 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + membership: *591 + organization: *561 + repository: *562 sender: *19 required: - action @@ -125293,11 +125294,11 @@ x-webhooks: properties: from: type: string - enterprise: *558 - installation: *559 - membership: *590 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + membership: *591 + organization: *561 + repository: *562 sender: *19 required: - action @@ -125383,9 +125384,9 @@ x-webhooks: type: string enum: - published - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 package: description: Information about the package. type: object @@ -125884,7 +125885,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &591 + items: &592 title: Ruby Gems metadata type: object properties: @@ -125979,7 +125980,7 @@ x-webhooks: - owner - package_version - registry - repository: *561 + repository: *562 sender: *19 required: - action @@ -126065,9 +126066,9 @@ x-webhooks: type: string enum: - updated - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 package: description: Information about the package. type: object @@ -126420,7 +126421,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *591 + items: *592 source_url: type: string format: uri @@ -126490,7 +126491,7 @@ x-webhooks: - owner - package_version - registry - repository: *561 + repository: *562 sender: *19 required: - action @@ -126677,12 +126678,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *558 + enterprise: *559 id: type: integer - installation: *559 - organization: *560 - repository: *561 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - id @@ -126762,7 +126763,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &592 + personal_access_token_request: &593 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -126908,10 +126909,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *558 - organization: *560 + enterprise: *559 + organization: *561 sender: *19 - installation: *559 + installation: *560 required: - action - personal_access_token_request @@ -126990,11 +126991,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *592 - enterprise: *558 - organization: *560 + personal_access_token_request: *593 + enterprise: *559 + organization: *561 sender: *19 - installation: *559 + installation: *560 required: - action - personal_access_token_request @@ -127072,11 +127073,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *592 - enterprise: *558 - organization: *560 + personal_access_token_request: *593 + enterprise: *559 + organization: *561 sender: *19 - installation: *559 + installation: *560 required: - action - personal_access_token_request @@ -127153,11 +127154,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *592 - organization: *560 - enterprise: *558 + personal_access_token_request: *593 + organization: *561 + enterprise: *559 sender: *19 - installation: *559 + installation: *560 required: - action - personal_access_token_request @@ -127271,7 +127272,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *593 + last_response: *594 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -127303,8 +127304,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 zen: description: Random string of GitHub zen. @@ -127559,10 +127560,10 @@ x-webhooks: - from required: - note - enterprise: *558 - installation: *559 - organization: *560 - project_card: &594 + enterprise: *559 + installation: *560 + organization: *561 + project_card: &595 title: Project Card type: object properties: @@ -127681,7 +127682,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *561 + repository: *562 sender: *19 required: - action @@ -127772,11 +127773,11 @@ x-webhooks: type: string enum: - created - enterprise: *558 - installation: *559 - organization: *560 - project_card: *594 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + project_card: *595 + repository: *562 sender: *19 required: - action @@ -127866,9 +127867,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 project_card: title: Project Card type: object @@ -127996,8 +127997,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *587 - required: *588 + properties: *588 + required: *589 nullable: true sender: *19 required: @@ -128101,11 +128102,11 @@ x-webhooks: - from required: - note - enterprise: *558 - installation: *559 - organization: *560 - project_card: *594 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + project_card: *595 + repository: *562 sender: *19 required: - action @@ -128209,9 +128210,9 @@ x-webhooks: - from required: - column_id - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 project_card: allOf: - title: Project Card @@ -128401,7 +128402,7 @@ x-webhooks: type: string required: - after_id - repository: *561 + repository: *562 sender: *19 required: - action @@ -128491,10 +128492,10 @@ x-webhooks: type: string enum: - closed - enterprise: *558 - installation: *559 - organization: *560 - project: &596 + enterprise: *559 + installation: *560 + organization: *561 + project: &597 title: Project type: object properties: @@ -128618,7 +128619,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *561 + repository: *562 sender: *19 required: - action @@ -128708,10 +128709,10 @@ x-webhooks: type: string enum: - created - enterprise: *558 - installation: *559 - organization: *560 - project_column: &595 + enterprise: *559 + installation: *560 + organization: *561 + project_column: &596 title: Project Column type: object properties: @@ -128750,7 +128751,7 @@ x-webhooks: - name - created_at - updated_at - repository: *561 + repository: *562 sender: *19 required: - action @@ -128839,18 +128840,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *558 - installation: *559 - organization: *560 - project_column: *595 + enterprise: *559 + installation: *560 + organization: *561 + project_column: *596 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *587 - required: *588 + properties: *588 + required: *589 nullable: true sender: *19 required: @@ -128950,11 +128951,11 @@ x-webhooks: type: string required: - from - enterprise: *558 - installation: *559 - organization: *560 - project_column: *595 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + project_column: *596 + repository: *562 sender: *19 required: - action @@ -129044,11 +129045,11 @@ x-webhooks: type: string enum: - moved - enterprise: *558 - installation: *559 - organization: *560 - project_column: *595 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + project_column: *596 + repository: *562 sender: *19 required: - action @@ -129138,11 +129139,11 @@ x-webhooks: type: string enum: - created - enterprise: *558 - installation: *559 - organization: *560 - project: *596 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + project: *597 + repository: *562 sender: *19 required: - action @@ -129232,18 +129233,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *558 - installation: *559 - organization: *560 - project: *596 + enterprise: *559 + installation: *560 + organization: *561 + project: *597 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *587 - required: *588 + properties: *588 + required: *589 nullable: true sender: *19 required: @@ -129355,11 +129356,11 @@ x-webhooks: type: string required: - from - enterprise: *558 - installation: *559 - organization: *560 - project: *596 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + project: *597 + repository: *562 sender: *19 required: - action @@ -129448,11 +129449,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *558 - installation: *559 - organization: *560 - project: *596 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + project: *597 + repository: *562 sender: *19 required: - action @@ -129543,9 +129544,9 @@ x-webhooks: type: string enum: - closed - installation: *559 - organization: *560 - projects_v2: &597 + installation: *560 + organization: *561 + projects_v2: &598 title: Projects v2 Project description: A projects v2 project type: object @@ -129698,9 +129699,9 @@ x-webhooks: type: string enum: - created - installation: *559 - organization: *560 - projects_v2: *597 + installation: *560 + organization: *561 + projects_v2: *598 sender: *19 required: - action @@ -129791,9 +129792,9 @@ x-webhooks: type: string enum: - deleted - installation: *559 - organization: *560 - projects_v2: *597 + installation: *560 + organization: *561 + projects_v2: *598 sender: *19 required: - action @@ -129920,9 +129921,9 @@ x-webhooks: type: string to: type: string - installation: *559 - organization: *560 - projects_v2: *597 + installation: *560 + organization: *561 + projects_v2: *598 sender: *19 required: - action @@ -130015,7 +130016,7 @@ x-webhooks: type: string enum: - archived - changes: &599 + changes: &600 type: object properties: archived_at: @@ -130029,9 +130030,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *559 - organization: *560 - projects_v2_item: &598 + installation: *560 + organization: *561 + projects_v2_item: &599 title: Projects v2 Item description: An item belonging to a project type: object @@ -130175,9 +130176,9 @@ x-webhooks: nullable: true to: type: string - installation: *559 - organization: *560 - projects_v2_item: *598 + installation: *560 + organization: *561 + projects_v2_item: *599 sender: *19 required: - action @@ -130269,9 +130270,9 @@ x-webhooks: type: string enum: - created - installation: *559 - organization: *560 - projects_v2_item: *598 + installation: *560 + organization: *561 + projects_v2_item: *599 sender: *19 required: - action @@ -130362,9 +130363,9 @@ x-webhooks: type: string enum: - deleted - installation: *559 - organization: *560 - projects_v2_item: *598 + installation: *560 + organization: *561 + projects_v2_item: *599 sender: *19 required: - action @@ -130486,9 +130487,9 @@ x-webhooks: nullable: true required: - body - installation: *559 - organization: *560 - projects_v2_item: *598 + installation: *560 + organization: *561 + projects_v2_item: *599 sender: *19 required: - action @@ -130593,9 +130594,9 @@ x-webhooks: to: type: string nullable: true - installation: *559 - organization: *560 - projects_v2_item: *598 + installation: *560 + organization: *561 + projects_v2_item: *599 sender: *19 required: - action @@ -130688,10 +130689,10 @@ x-webhooks: type: string enum: - restored - changes: *599 - installation: *559 - organization: *560 - projects_v2_item: *598 + changes: *600 + installation: *560 + organization: *561 + projects_v2_item: *599 sender: *19 required: - action @@ -130783,9 +130784,9 @@ x-webhooks: type: string enum: - reopened - installation: *559 - organization: *560 - projects_v2: *597 + installation: *560 + organization: *561 + projects_v2: *598 sender: *19 required: - action @@ -130866,10 +130867,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - repository @@ -130956,13 +130957,13 @@ x-webhooks: type: string enum: - assigned - assignee: *578 - enterprise: *558 - installation: *559 - number: &600 + assignee: *579 + enterprise: *559 + installation: *560 + number: &601 description: The pull request number. type: integer - organization: *560 + organization: *561 pull_request: title: Pull Request type: object @@ -133245,7 +133246,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *561 + repository: *562 sender: *19 required: - action @@ -133337,11 +133338,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 number: type: integer - organization: *560 + organization: *561 pull_request: title: Pull Request type: object @@ -135619,7 +135620,7 @@ x-webhooks: - draft reason: type: string - repository: *561 + repository: *562 sender: *19 required: - action @@ -135711,11 +135712,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 number: type: integer - organization: *560 + organization: *561 pull_request: title: Pull Request type: object @@ -137993,7 +137994,7 @@ x-webhooks: - draft reason: type: string - repository: *561 + repository: *562 sender: *19 required: - action @@ -138085,13 +138086,13 @@ x-webhooks: type: string enum: - closed - enterprise: *558 - installation: *559 - number: *600 - organization: *560 - pull_request: &601 + enterprise: *559 + installation: *560 + number: *601 + organization: *561 + pull_request: &602 allOf: - - *462 + - *463 - type: object properties: allow_auto_merge: @@ -138153,7 +138154,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *561 + repository: *562 sender: *19 required: - action @@ -138244,12 +138245,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *558 - installation: *559 - number: *600 - organization: *560 - pull_request: *601 - repository: *561 + enterprise: *559 + installation: *560 + number: *601 + organization: *561 + pull_request: *602 + repository: *562 sender: *19 required: - action @@ -138339,11 +138340,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *558 - milestone: *443 - number: *600 - organization: *560 - pull_request: &602 + enterprise: *559 + milestone: *444 + number: *601 + organization: *561 + pull_request: &603 title: Pull Request type: object properties: @@ -140606,7 +140607,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *561 + repository: *562 sender: *19 required: - action @@ -140738,12 +140739,12 @@ x-webhooks: type: string required: - from - enterprise: *558 - installation: *559 - number: *600 - organization: *560 - pull_request: *601 - repository: *561 + enterprise: *559 + installation: *560 + number: *601 + organization: *561 + pull_request: *602 + repository: *562 sender: *19 required: - action @@ -140833,11 +140834,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *558 - installation: *559 - label: *577 - number: *600 - organization: *560 + enterprise: *559 + installation: *560 + label: *578 + number: *601 + organization: *561 pull_request: title: Pull Request type: object @@ -143119,7 +143120,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *561 + repository: *562 sender: *19 required: - action @@ -143210,10 +143211,10 @@ x-webhooks: type: string enum: - locked - enterprise: *558 - installation: *559 - number: *600 - organization: *560 + enterprise: *559 + installation: *560 + number: *601 + organization: *561 pull_request: title: Pull Request type: object @@ -145493,7 +145494,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *561 + repository: *562 sender: *19 required: - action @@ -145583,12 +145584,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *558 - milestone: *443 - number: *600 - organization: *560 - pull_request: *602 - repository: *561 + enterprise: *559 + milestone: *444 + number: *601 + organization: *561 + pull_request: *603 + repository: *562 sender: *19 required: - action @@ -145677,12 +145678,12 @@ x-webhooks: type: string enum: - opened - enterprise: *558 - installation: *559 - number: *600 - organization: *560 - pull_request: *601 - repository: *561 + enterprise: *559 + installation: *560 + number: *601 + organization: *561 + pull_request: *602 + repository: *562 sender: *19 required: - action @@ -145773,12 +145774,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *558 - installation: *559 - number: *600 - organization: *560 - pull_request: *601 - repository: *561 + enterprise: *559 + installation: *560 + number: *601 + organization: *561 + pull_request: *602 + repository: *562 sender: *19 required: - action @@ -145868,12 +145869,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *558 - installation: *559 - number: *600 - organization: *560 - pull_request: *601 - repository: *561 + enterprise: *559 + installation: *560 + number: *601 + organization: *561 + pull_request: *602 + repository: *562 sender: *19 required: - action @@ -146249,9 +146250,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 pull_request: type: object properties: @@ -148421,7 +148422,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *561 + repository: *562 sender: *19 required: - action @@ -148511,7 +148512,7 @@ x-webhooks: type: string enum: - deleted - comment: &604 + comment: &605 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. @@ -148796,9 +148797,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 pull_request: type: object properties: @@ -150956,7 +150957,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *561 + repository: *562 sender: *19 required: - action @@ -151046,11 +151047,11 @@ x-webhooks: type: string enum: - edited - changes: *603 - comment: *604 - enterprise: *558 - installation: *559 - organization: *560 + changes: *604 + comment: *605 + enterprise: *559 + installation: *560 + organization: *561 pull_request: type: object properties: @@ -153211,7 +153212,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *561 + repository: *562 sender: *19 required: - action @@ -153302,9 +153303,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 pull_request: title: Simple Pull Request type: object @@ -155477,7 +155478,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *561 + repository: *562 review: description: The review that was affected. type: object @@ -155730,9 +155731,9 @@ x-webhooks: type: string required: - from - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 pull_request: title: Simple Pull Request type: object @@ -157786,8 +157787,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *561 - review: &605 + repository: *562 + review: &606 description: The review that was affected. type: object properties: @@ -158026,12 +158027,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 number: description: The pull request number. type: integer - organization: *560 + organization: *561 pull_request: title: Pull Request type: object @@ -160314,7 +160315,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *561 + repository: *562 requested_reviewer: title: User type: object @@ -160398,12 +160399,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 number: description: The pull request number. type: integer - organization: *560 + organization: *561 pull_request: title: Pull Request type: object @@ -162693,7 +162694,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *561 + repository: *562 requested_team: title: Team description: Groups of organization members that gives permissions @@ -162895,12 +162896,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 number: description: The pull request number. type: integer - organization: *560 + organization: *561 pull_request: title: Pull Request type: object @@ -165185,7 +165186,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *561 + repository: *562 requested_reviewer: title: User type: object @@ -165270,12 +165271,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 number: description: The pull request number. type: integer - organization: *560 + organization: *561 pull_request: title: Pull Request type: object @@ -167551,7 +167552,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *561 + repository: *562 requested_team: title: Team description: Groups of organization members that gives permissions @@ -167742,9 +167743,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 pull_request: title: Simple Pull Request type: object @@ -169919,8 +169920,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *561 - review: *605 + repository: *562 + review: *606 sender: *19 required: - action @@ -170010,9 +170011,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 pull_request: title: Simple Pull Request type: object @@ -172082,7 +172083,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *561 + repository: *562 sender: *19 thread: type: object @@ -172475,9 +172476,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 pull_request: title: Simple Pull Request type: object @@ -174533,7 +174534,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *561 + repository: *562 sender: *19 thread: type: object @@ -174929,10 +174930,10 @@ x-webhooks: type: string before: type: string - enterprise: *558 - installation: *559 - number: *600 - organization: *560 + enterprise: *559 + installation: *560 + number: *601 + organization: *561 pull_request: title: Pull Request type: object @@ -177203,7 +177204,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *561 + repository: *562 sender: *19 required: - action @@ -177295,11 +177296,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *606 - enterprise: *558 - installation: *559 - number: *600 - organization: *560 + assignee: *607 + enterprise: *559 + installation: *560 + number: *601 + organization: *561 pull_request: title: Pull Request type: object @@ -179582,7 +179583,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *561 + repository: *562 sender: *19 required: - action @@ -179671,11 +179672,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *558 - installation: *559 - label: *577 - number: *600 - organization: *560 + enterprise: *559 + installation: *560 + label: *578 + number: *601 + organization: *561 pull_request: title: Pull Request type: object @@ -181948,7 +181949,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *561 + repository: *562 sender: *19 required: - action @@ -182039,10 +182040,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *558 - installation: *559 - number: *600 - organization: *560 + enterprise: *559 + installation: *560 + number: *601 + organization: *561 pull_request: title: Pull Request type: object @@ -184307,7 +184308,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *561 + repository: *562 sender: *19 required: - action @@ -184517,7 +184518,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *558 + enterprise: *559 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -184609,8 +184610,8 @@ x-webhooks: - url - author - committer - installation: *559 - organization: *560 + installation: *560 + organization: *561 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -185189,9 +185190,9 @@ x-webhooks: type: string enum: - published - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 registry_package: type: object properties: @@ -185637,7 +185638,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *591 + items: *592 summary: type: string tag_name: @@ -185691,7 +185692,7 @@ x-webhooks: - owner - package_version - registry - repository: *561 + repository: *562 sender: *19 required: - action @@ -185779,9 +185780,9 @@ x-webhooks: type: string enum: - updated - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 registry_package: type: object properties: @@ -186089,7 +186090,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *591 + items: *592 summary: type: string tag_name: @@ -186138,7 +186139,7 @@ x-webhooks: - owner - package_version - registry - repository: *561 + repository: *562 sender: *19 required: - action @@ -186225,10 +186226,10 @@ x-webhooks: type: string enum: - created - enterprise: *558 - installation: *559 - organization: *560 - release: &607 + enterprise: *559 + installation: *560 + organization: *561 + release: &608 title: Release description: The [release](https://docs.github.com/enterprise-server@3.10/rest/releases/releases/#get-a-release) object. @@ -186533,7 +186534,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *561 + repository: *562 sender: *19 required: - action @@ -186620,11 +186621,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *558 - installation: *559 - organization: *560 - release: *607 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + release: *608 + repository: *562 sender: *19 required: - action @@ -186742,11 +186743,11 @@ x-webhooks: type: boolean required: - to - enterprise: *558 - installation: *559 - organization: *560 - release: *607 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + release: *608 + repository: *562 sender: *19 required: - action @@ -186834,9 +186835,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 release: title: Release description: The [release](https://docs.github.com/enterprise-server@3.10/rest/releases/releases/#get-a-release) @@ -187145,7 +187146,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *561 + repository: *562 sender: *19 required: - action @@ -187231,10 +187232,10 @@ x-webhooks: type: string enum: - published - enterprise: *558 - installation: *559 - organization: *560 - release: &608 + enterprise: *559 + installation: *560 + organization: *561 + release: &609 title: Release description: The [release](https://docs.github.com/enterprise-server@3.10/rest/releases/releases/#get-a-release) object. @@ -187540,7 +187541,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *561 + repository: *562 sender: *19 required: - action @@ -187626,11 +187627,11 @@ x-webhooks: type: string enum: - released - enterprise: *558 - installation: *559 - organization: *560 - release: *607 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + release: *608 + repository: *562 sender: *19 required: - action @@ -187716,11 +187717,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *558 - installation: *559 - organization: *560 - release: *608 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + release: *609 + repository: *562 sender: *19 required: - action @@ -187806,10 +187807,10 @@ x-webhooks: type: string enum: - anonymous_access_disabled - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -187894,10 +187895,10 @@ x-webhooks: type: string enum: - anonymous_access_enabled - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -187982,10 +187983,10 @@ x-webhooks: type: string enum: - archived - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -188072,10 +188073,10 @@ x-webhooks: type: string enum: - created - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -188163,10 +188164,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -188260,10 +188261,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -188385,10 +188386,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -188476,10 +188477,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -188566,10 +188567,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -188673,10 +188674,10 @@ x-webhooks: - name required: - repository - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -188904,10 +188905,10 @@ x-webhooks: - from required: - owner - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -188995,10 +188996,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -189086,7 +189087,7 @@ x-webhooks: type: string enum: - create - alert: &609 + alert: &610 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -189207,10 +189208,10 @@ x-webhooks: type: string enum: - open - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -189426,10 +189427,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -189517,11 +189518,11 @@ x-webhooks: type: string enum: - reopen - alert: *609 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + alert: *610 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -189730,10 +189731,10 @@ x-webhooks: enum: - fixed - open - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -189821,7 +189822,7 @@ x-webhooks: type: string enum: - created - alert: &610 + alert: &611 type: object properties: number: *91 @@ -189896,10 +189897,10 @@ x-webhooks: description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' nullable: true - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -189990,11 +189991,11 @@ x-webhooks: type: string enum: - created - alert: *610 - installation: *559 - location: *611 - organization: *560 - repository: *561 + alert: *611 + installation: *560 + location: *612 + organization: *561 + repository: *562 sender: *19 required: - location @@ -190237,11 +190238,11 @@ x-webhooks: type: string enum: - reopened - alert: *610 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + alert: *611 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -190329,11 +190330,11 @@ x-webhooks: type: string enum: - resolved - alert: *610 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + alert: *611 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -190419,11 +190420,11 @@ x-webhooks: type: string enum: - published - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 - security_advisory: &613 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 + security_advisory: &614 description: The details of the security advisory, including summary, description, and severity. type: object @@ -190439,7 +190440,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *612 + cvss_severities: *613 cwes: type: array items: @@ -190616,11 +190617,11 @@ x-webhooks: type: string enum: - updated - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 - security_advisory: *613 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 + security_advisory: *614 sender: *19 required: - action @@ -190703,10 +190704,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -190723,7 +190724,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *612 + cvss_severities: *613 cwes: type: array items: @@ -190900,11 +190901,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *228 - enterprise: *558 - installation: *559 - organization: *560 - repository: *272 + security_and_analysis: *229 + enterprise: *559 + installation: *560 + organization: *561 + repository: *273 sender: *19 required: - changes @@ -190992,12 +190993,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 - sponsorship: &614 + sponsorship: &615 type: object properties: created_at: @@ -191308,12 +191309,12 @@ x-webhooks: type: string enum: - created - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 - sponsorship: *614 + sponsorship: *615 required: - action - sponsorship @@ -191411,12 +191412,12 @@ x-webhooks: type: string required: - from - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 - sponsorship: *614 + sponsorship: *615 required: - action - changes @@ -191503,17 +191504,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &615 + effective_date: &616 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: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 - sponsorship: *614 + sponsorship: *615 required: - action - sponsorship @@ -191597,7 +191598,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &616 + changes: &617 type: object properties: tier: @@ -191641,13 +191642,13 @@ x-webhooks: - from required: - tier - effective_date: *615 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + effective_date: *616 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 - sponsorship: *614 + sponsorship: *615 required: - action - changes @@ -191734,13 +191735,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *616 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + changes: *617 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 - sponsorship: *614 + sponsorship: *615 required: - action - changes @@ -191824,10 +191825,10 @@ x-webhooks: type: string enum: - created - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -191920,10 +191921,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -192349,15 +192350,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *558 + enterprise: *559 id: description: The unique identifier of the status. type: integer - installation: *559 + installation: *560 name: type: string - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 sha: description: The Commit SHA. @@ -192469,12 +192470,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 - team: &617 + team: &618 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -192674,9 +192675,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 repository: title: Repository description: A git repository @@ -193128,7 +193129,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *617 + team: *618 required: - action - team @@ -193214,9 +193215,9 @@ x-webhooks: type: string enum: - created - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 repository: title: Repository description: A git repository @@ -193668,7 +193669,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *617 + team: *618 required: - action - team @@ -193755,9 +193756,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 repository: title: Repository description: A git repository @@ -194209,7 +194210,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *617 + team: *618 required: - action - team @@ -194363,9 +194364,9 @@ x-webhooks: - from required: - permissions - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 repository: title: Repository description: A git repository @@ -194817,7 +194818,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *617 + team: *618 required: - action - changes @@ -194905,9 +194906,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 repository: title: Repository description: A git repository @@ -195359,7 +195360,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *617 + team: *618 required: - action - team @@ -195442,12 +195443,12 @@ x-webhooks: type: string enum: - created - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 - user: *578 + user: *579 required: - action responses: @@ -195525,12 +195526,12 @@ x-webhooks: type: string enum: - deleted - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 - user: *578 + user: *579 required: - action responses: @@ -195611,10 +195612,10 @@ x-webhooks: type: string enum: - started - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -195697,16 +195698,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *558 + enterprise: *559 inputs: type: object nullable: true additionalProperties: true - installation: *559 - organization: *560 + installation: *560 + organization: *561 ref: type: string - repository: *561 + repository: *562 sender: *19 workflow: type: string @@ -195798,10 +195799,10 @@ x-webhooks: type: string enum: - completed - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 workflow_job: allOf: @@ -196038,7 +196039,7 @@ x-webhooks: type: string required: - conclusion - deployment: *381 + deployment: *382 required: - action - repository @@ -196127,10 +196128,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 workflow_job: allOf: @@ -196390,7 +196391,7 @@ x-webhooks: required: - status - steps - deployment: *381 + deployment: *382 required: - action - repository @@ -196479,10 +196480,10 @@ x-webhooks: type: string enum: - queued - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 workflow_job: type: object @@ -196617,7 +196618,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *381 + deployment: *382 required: - action - repository @@ -196706,10 +196707,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 workflow_job: type: object @@ -196845,7 +196846,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *381 + deployment: *382 required: - action - repository @@ -196935,12 +196936,12 @@ x-webhooks: type: string enum: - completed - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 - workflow: *573 + workflow: *574 workflow_run: title: Workflow Run type: object @@ -197949,12 +197950,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 - workflow: *573 + workflow: *574 workflow_run: title: Workflow Run type: object @@ -198948,12 +198949,12 @@ x-webhooks: type: string enum: - requested - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 - workflow: *573 + workflow: *574 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.json b/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.json index 86d972ebb..315111723 100644 --- a/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.json +++ b/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.json @@ -27605,6 +27605,13 @@ "description": "The time at which the announcement expires. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. To set an announcement that never expires, omit this parameter, set it to `null`, or set it to an empty string.", "example": "\"2021-01-01T00:00:00.000-07:00\"", "nullable": true + }, + "user_dismissible": { + "type": "boolean", + "description": "Whether an announcement can be dismissed by the user.", + "example": false, + "nullable": true, + "default": false } }, "required": [ @@ -27664,6 +27671,13 @@ "description": "The time at which the announcement expires. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. To set an announcement that never expires, omit this parameter, set it to `null`, or set it to an empty string.", "example": "\"2021-01-01T00:00:00.000-07:00\"", "nullable": true + }, + "user_dismissible": { + "type": "boolean", + "description": "Whether an announcement can be dismissed by the user.", + "example": false, + "nullable": true, + "default": false } }, "required": [ @@ -27703,6 +27717,13 @@ "description": "The time at which the announcement expires. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. To set an announcement that never expires, omit this parameter, set it to `null`, or set it to an empty string.", "example": "\"2021-01-01T00:00:00.000-07:00\"", "nullable": true + }, + "user_dismissible": { + "type": "boolean", + "description": "Whether an announcement can be dismissed by the user.", + "example": false, + "nullable": true, + "default": false } }, "required": [ @@ -76728,6 +76749,13 @@ "description": "The time at which the announcement expires. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. To set an announcement that never expires, omit this parameter, set it to `null`, or set it to an empty string.", "example": "\"2021-01-01T00:00:00.000-07:00\"", "nullable": true + }, + "user_dismissible": { + "type": "boolean", + "description": "Whether an announcement can be dismissed by the user.", + "example": false, + "nullable": true, + "default": false } }, "required": [ @@ -287480,7 +287508,7 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "reactions", "subcategory": "reactions" } diff --git a/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.yaml b/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.yaml index 326321adf..f6b3801c4 100644 --- a/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.yaml +++ b/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.yaml @@ -3627,7 +3627,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/apps/webhooks#list-deliveries-for-an-app-webhook parameters: - *4 - - &195 + - &196 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 @@ -3643,7 +3643,7 @@ paths: application/json: schema: type: array - items: &196 + items: &197 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -3720,7 +3720,7 @@ paths: - installation_id - repository_id examples: - default: &197 + default: &198 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -3752,7 +3752,7 @@ paths: application/json: schema: *29 application/scim+json: - schema: &492 + schema: &493 title: Scim Error description: Scim Error type: object @@ -3848,7 +3848,7 @@ paths: description: Response content: application/json: - schema: &198 + schema: &199 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -3962,7 +3962,7 @@ paths: - request - response examples: - default: &199 + default: &200 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4520,7 +4520,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &226 + properties: &227 id: description: Unique identifier of the repository example: 42 @@ -4949,7 +4949,7 @@ paths: type: boolean description: Whether anonymous git access is enabled for this repository - required: &227 + required: &228 - archive_url - assignees_url - blobs_url @@ -5972,7 +5972,7 @@ paths: schema: type: string '422': *31 - '410': &225 + '410': &226 description: Gone content: application/json: @@ -8548,6 +8548,12 @@ paths: it to an empty string.' example: '"2021-01-01T00:00:00.000-07:00"' nullable: true + user_dismissible: &165 + type: boolean + description: Whether an announcement can be dismissed by the user. + example: false + nullable: true + default: false required: - announcement examples: @@ -11190,7 +11196,7 @@ paths: required: false schema: type: string - - &166 + - &167 name: include description: |- The event types to include: @@ -11208,7 +11214,7 @@ paths: - web - git - all - - &167 + - &168 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. @@ -11216,7 +11222,7 @@ paths: required: false schema: type: string - - &168 + - &169 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. @@ -11224,7 +11230,7 @@ paths: required: false schema: type: string - - &169 + - &170 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11246,7 +11252,7 @@ paths: application/json: schema: type: array - items: &170 + items: &171 type: object properties: "@timestamp": @@ -11368,7 +11374,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &171 + default: &172 value: - actor_ip: 88.123.45.123 from: pull_requests#merge @@ -11513,7 +11519,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *62 - - &172 + - &173 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`, @@ -11523,7 +11529,7 @@ paths: schema: &86 type: string description: The name of the tool used to generate the code scanning analysis. - - &173 + - &174 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 @@ -11562,7 +11568,7 @@ paths: be returned. in: query required: false - schema: &174 + schema: &175 type: string description: State of a code scanning alert. enum: @@ -11587,7 +11593,7 @@ paths: application/json: schema: type: array - items: &175 + items: &176 type: object properties: number: &91 @@ -11616,7 +11622,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &341 + instances_url: &342 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -11651,7 +11657,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &342 + dismissed_reason: &343 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -11660,13 +11666,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &343 + dismissed_comment: &344 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &344 + rule: &345 type: object properties: id: @@ -11705,7 +11711,7 @@ paths: description: A set of tags applicable for the rule. items: type: string - tool: &345 + tool: &346 type: object properties: name: *86 @@ -11715,15 +11721,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *87 - most_recent_instance: &346 + most_recent_instance: &347 type: object properties: - ref: &339 + ref: &340 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &350 + analysis_key: &351 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -11734,7 +11740,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &351 + category: &352 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -12072,7 +12078,7 @@ paths: - most_recent_instance - repository examples: - default: &176 + default: &177 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -12484,7 +12490,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *62 - - &180 + - &181 name: state in: query description: |- @@ -12493,7 +12499,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &181 + - &182 name: severity in: query description: |- @@ -12502,7 +12508,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &182 + - &183 name: ecosystem in: query description: |- @@ -12511,14 +12517,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &183 + - &184 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 - - &184 + - &185 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -12528,7 +12534,7 @@ paths: enum: - development - runtime - - &185 + - &186 name: sort in: query description: |- @@ -12544,7 +12550,7 @@ paths: - *9 - *89 - *90 - - &186 + - &187 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -12557,7 +12563,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &187 + - &188 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -12577,7 +12583,7 @@ paths: application/json: schema: type: array - items: &188 + items: &189 type: object description: A Dependabot alert. properties: @@ -12627,7 +12633,7 @@ paths: enum: - development - runtime - security_advisory: &373 + security_advisory: &374 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12729,7 +12735,7 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: &612 + cvss_severities: &613 type: object nullable: true properties: @@ -12897,7 +12903,7 @@ paths: nullable: true maxLength: 280 fixed_at: *99 - auto_dismissed_at: &374 + auto_dismissed_at: &375 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -12923,7 +12929,7 @@ paths: - repository additionalProperties: false examples: - default: &189 + default: &190 value: - number: 2 state: dismissed @@ -13262,7 +13268,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *62 - - &229 + - &230 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -13273,7 +13279,7 @@ paths: enum: - open - resolved - - &230 + - &231 name: secret_type in: query description: A comma-separated list of secret types to return. By default @@ -13282,7 +13288,7 @@ paths: required: false schema: type: string - - &231 + - &232 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -13291,7 +13297,7 @@ paths: required: false schema: type: string - - &232 + - &233 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. @@ -13314,7 +13320,7 @@ paths: application/json: schema: type: array - items: &233 + items: &234 type: object properties: number: *91 @@ -13333,14 +13339,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &483 + state: &484 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: &484 + resolution: &485 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -13399,7 +13405,7 @@ paths: alert was closed nullable: true examples: - default: &234 + default: &235 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -13632,7 +13638,7 @@ paths: description: Success content: application/json: - schema: &236 + schema: &237 type: object properties: total_advanced_security_committers: @@ -13672,7 +13678,7 @@ paths: required: - repositories examples: - default: &237 + default: &238 value: total_advanced_security_committers: 2 total_count: 2 @@ -13689,7 +13695,7 @@ paths: advanced_security_committers_breakdown: - user_login: octokitten last_pushed_date: '2021-10-26' - '403': &238 + '403': &239 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -13836,7 +13842,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &417 + properties: &418 id: type: integer format: int64 @@ -13947,7 +13953,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &363 + properties: &364 url: type: string format: uri @@ -14017,7 +14023,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &364 + required: &365 - closed_issues - creator - description @@ -14172,7 +14178,7 @@ paths: - total - completed - percent_completed - required: &418 + required: &419 - assignee - closed_at - comments @@ -14194,7 +14200,7 @@ paths: - author_association - created_at - updated_at - comment: &415 + comment: &416 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -14756,7 +14762,7 @@ paths: url: type: string format: uri - user: &530 + user: &531 title: Public User description: Public User type: object @@ -16620,7 +16626,7 @@ paths: - closed - all default: open - - &200 + - &201 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -16671,7 +16677,7 @@ paths: type: array items: *118 examples: - default: &201 + default: &202 value: - id: 1 node_id: MDU6SXNzdWUx @@ -17926,14 +17932,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: - - &261 + - &262 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &262 + - &263 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -18004,7 +18010,7 @@ paths: '404': *36 '403': *40 '304': *39 - '301': &273 + '301': &274 description: Moved permanently content: application/json: @@ -18026,7 +18032,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: - - &446 + - &447 name: all description: If `true`, show notifications marked as read. in: query @@ -18034,7 +18040,7 @@ paths: schema: type: boolean default: false - - &447 + - &448 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -18044,7 +18050,7 @@ paths: type: boolean default: false - *108 - - &448 + - &449 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: @@ -18080,7 +18086,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &191 + properties: &192 id: type: integer format: int64 @@ -18356,7 +18362,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &228 + security_and_analysis: &229 nullable: true type: object properties: @@ -18396,7 +18402,7 @@ paths: enum: - enabled - disabled - required: &192 + required: &193 - archive_url - assignees_url - blobs_url @@ -18484,7 +18490,7 @@ paths: - url - subscription_url examples: - default: &449 + default: &450 value: - id: '1' repository: @@ -19009,7 +19015,7 @@ paths: type: array items: *67 examples: - default: &539 + default: &540 value: - login: github id: 1 @@ -19073,7 +19079,7 @@ paths: type: integer custom_roles: type: array - items: &177 + items: &178 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -19121,7 +19127,7 @@ paths: - created_at - updated_at examples: - default: &178 + default: &179 value: id: 8030 name: Security Engineer @@ -19818,7 +19824,7 @@ paths: type: integer repository_cache_usages: type: array - items: &278 + items: &279 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -20069,7 +20075,7 @@ paths: type: array items: *82 examples: - default: &536 + default: &537 value: total_count: 1 repositories: @@ -21864,7 +21870,7 @@ paths: description: Response content: application/json: - schema: &300 + schema: &301 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -21893,7 +21899,7 @@ paths: - key_id - key examples: - default: &301 + default: &302 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22306,7 +22312,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#list-organization-variables parameters: - *130 - - &285 + - &286 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)." @@ -22791,7 +22797,7 @@ paths: description: Response content: application/json: - schema: &165 + schema: &166 title: Announcement Banner description: Announcement at either the repository, organization, or enterprise level @@ -22799,12 +22805,7 @@ paths: properties: announcement: *163 expires_at: *164 - user_dismissible: - type: boolean - description: Whether an announcement can be dismissed by the user. - example: false - nullable: true - default: false + user_dismissible: *165 required: - announcement - expires_at @@ -22839,7 +22840,7 @@ paths: description: Response content: application/json: - schema: *165 + schema: *166 examples: default: *51 x-github: @@ -22894,10 +22895,10 @@ paths: required: false schema: type: string - - *166 - *167 - *168 - *169 + - *170 - *4 - *5 responses: @@ -22907,9 +22908,9 @@ paths: application/json: schema: type: array - items: *170 + items: *171 examples: - default: *171 + default: *172 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -22932,8 +22933,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *130 - - *172 - *173 + - *174 - *89 - *90 - *5 @@ -22944,7 +22945,7 @@ paths: be returned. in: query required: false - schema: *174 + schema: *175 - name: sort description: The property by which to sort the results. in: query @@ -22960,7 +22961,7 @@ paths: be returned. in: query required: false - schema: &340 + schema: &341 type: string description: Severity of a code scanning alert. enum: @@ -22978,9 +22979,9 @@ paths: application/json: schema: type: array - items: *175 + items: *176 examples: - default: *176 + default: *177 headers: Link: *6 '404': *36 @@ -23021,7 +23022,7 @@ paths: type: integer custom_roles: type: array - items: *177 + items: *178 examples: default: value: @@ -23154,9 +23155,9 @@ paths: description: Response content: application/json: - schema: *177 + schema: *178 examples: - default: *178 + default: *179 '422': *31 '404': *36 x-github: @@ -23181,7 +23182,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *130 - - &179 + - &180 name: role_id description: The unique identifier of the role. in: path @@ -23193,9 +23194,9 @@ paths: description: Response content: application/json: - schema: *177 + schema: *178 examples: - default: *178 + default: *179 '404': *36 x-github: githubCloudOnly: true @@ -23218,7 +23219,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *130 - - *179 + - *180 requestBody: required: true content: @@ -23261,9 +23262,9 @@ paths: description: Response content: application/json: - schema: *177 + schema: *178 examples: - default: *178 + default: *179 '422': *31 '404': *36 x-github: @@ -23288,7 +23289,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *130 - - *179 + - *180 responses: '204': description: Response @@ -23314,17 +23315,17 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *130 - - *180 - *181 - *182 - *183 - *184 - *185 + - *186 - *9 - *89 - *90 - - *186 - *187 + - *188 - *4 responses: '200': @@ -23333,9 +23334,9 @@ paths: application/json: schema: type: array - items: *188 + items: *189 examples: - default: *189 + default: *190 '304': *39 '400': *30 '403': *40 @@ -23379,7 +23380,7 @@ paths: type: integer secrets: type: array - items: &190 + items: &191 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -23456,7 +23457,7 @@ paths: description: Response content: application/json: - schema: &377 + schema: &378 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -23473,7 +23474,7 @@ paths: - key_id - key examples: - default: &378 + default: &379 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23503,7 +23504,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *191 examples: default: value: @@ -23800,7 +23801,7 @@ paths: application/json: schema: type: array - items: &207 + items: &208 title: Package description: A software package type: object @@ -23850,8 +23851,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *191 - required: *192 + properties: *192 + required: *193 nullable: true created_at: type: string @@ -23870,7 +23871,7 @@ paths: - created_at - updated_at examples: - default: &208 + default: &209 value: - id: 197 name: hello_docker @@ -24054,7 +24055,7 @@ paths: description: Response content: application/json: - schema: &256 + schema: &257 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -24135,7 +24136,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &257 + default: &258 value: group_id: '123' group_name: Octocat admins @@ -24190,7 +24191,7 @@ paths: description: Response content: application/json: - schema: &254 + schema: &255 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -24227,7 +24228,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &255 + default: &256 value: groups: - group_id: '123' @@ -24274,7 +24275,7 @@ paths: application/json: schema: type: array - items: &193 + items: &194 title: Org Hook description: Org Hook type: object @@ -24445,9 +24446,9 @@ paths: description: Response content: application/json: - schema: *193 + schema: *194 examples: - default: &194 + default: &195 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -24501,9 +24502,9 @@ paths: description: Response content: application/json: - schema: *193 + schema: *194 examples: - default: *194 + default: *195 '404': *36 x-github: githubCloudOnly: false @@ -24576,7 +24577,7 @@ paths: description: Response content: application/json: - schema: *193 + schema: *194 examples: default: value: @@ -24730,7 +24731,7 @@ paths: - *130 - *3 - *4 - - *195 + - *196 responses: '200': description: Response @@ -24738,9 +24739,9 @@ paths: application/json: schema: type: array - items: *196 + items: *197 examples: - default: *197 + default: *198 '400': *30 '422': *31 x-github: @@ -24773,9 +24774,9 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: - default: *199 + default: *200 '400': *30 '422': *31 x-github: @@ -24863,7 +24864,7 @@ paths: application/json: schema: *35 examples: - default: &412 + default: &413 value: id: 1 account: @@ -25060,7 +25061,7 @@ paths: - closed - all default: open - - *200 + - *201 - name: sort description: What to sort results by. in: query @@ -25085,7 +25086,7 @@ paths: type: array items: *118 examples: - default: *201 + default: *202 headers: Link: *6 '404': *36 @@ -25143,7 +25144,7 @@ paths: type: array items: *19 examples: - default: &206 + default: &207 value: - login: octocat id: 1 @@ -25245,7 +25246,7 @@ paths: description: Response content: application/json: - schema: &202 + schema: &203 title: Org Membership description: Org Membership type: object @@ -25297,7 +25298,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &203 + response-if-user-has-an-active-admin-membership-with-organization: &204 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -25393,9 +25394,9 @@ paths: description: Response content: application/json: - schema: *202 + schema: *203 examples: - response-if-user-already-had-membership-with-organization: *203 + response-if-user-already-had-membership-with-organization: *204 '422': *31 '403': *40 x-github: @@ -25463,7 +25464,7 @@ paths: application/json: schema: type: array - items: &204 + items: &205 title: Migration description: A migration. type: object @@ -25795,7 +25796,7 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: default: value: @@ -25974,7 +25975,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/migrations/orgs#get-an-organization-migration-status parameters: - *130 - - &205 + - &206 name: migration_id description: The unique identifier of the migration. in: path @@ -26001,7 +26002,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *204 + schema: *205 examples: default: value: @@ -26171,7 +26172,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *130 - - *205 + - *206 responses: '302': description: Response @@ -26193,7 +26194,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *130 - - *205 + - *206 responses: '204': description: Response @@ -26217,7 +26218,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/migrations/orgs#unlock-an-organization-repository parameters: - *130 - - *205 + - *206 - name: repo_name description: repo_name parameter in: path @@ -26245,7 +26246,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *130 - - *205 + - *206 - *4 - *5 responses: @@ -26257,7 +26258,7 @@ paths: type: array items: *148 examples: - default: &214 + default: &215 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -26408,7 +26409,7 @@ paths: type: array items: *19 examples: - default: *206 + default: *207 headers: Link: *6 x-github: @@ -26550,7 +26551,7 @@ paths: - nuget - container - *130 - - &540 + - &541 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -26586,12 +26587,12 @@ paths: application/json: schema: type: array - items: *207 + items: *208 examples: - default: *208 + default: *209 '403': *40 '401': *38 - '400': &542 + '400': &543 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -26613,7 +26614,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: - - &209 + - &210 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 @@ -26631,7 +26632,7 @@ paths: - docker - nuget - container - - &210 + - &211 name: package_name description: The name of the package. in: path @@ -26644,7 +26645,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *208 examples: default: value: @@ -26696,8 +26697,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: - - *209 - *210 + - *211 - *130 responses: '204': @@ -26730,8 +26731,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: - - *209 - *210 + - *211 - *130 - name: token description: package token @@ -26764,8 +26765,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: - - *209 - *210 + - *211 - *130 - *5 - *4 @@ -26786,7 +26787,7 @@ paths: application/json: schema: type: array - items: &211 + items: &212 title: Package Version description: A version of a software package type: object @@ -26911,10 +26912,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: - - *209 - *210 + - *211 - *130 - - &212 + - &213 name: package_version_id description: Unique identifier of the package version. in: path @@ -26926,7 +26927,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *212 examples: default: value: @@ -26962,10 +26963,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: - - *209 - *210 + - *211 - *130 - - *212 + - *213 responses: '204': description: Response @@ -26997,10 +26998,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: - - *209 - *210 + - *211 - *130 - - *212 + - *213 responses: '204': description: Response @@ -27030,7 +27031,7 @@ paths: - *130 - *4 - *5 - - &215 + - &216 name: sort description: The property by which to sort the results. in: query @@ -27041,7 +27042,7 @@ paths: - created_at default: created_at - *9 - - &216 + - &217 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -27052,7 +27053,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &217 + - &218 name: repository description: The name of the repository to use to filter the results. in: query @@ -27060,7 +27061,7 @@ paths: schema: type: string example: Hello-World - - &218 + - &219 name: permission description: The permission to use to filter the results. in: query @@ -27068,7 +27069,7 @@ paths: schema: type: string example: issues_read - - &219 + - &220 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) @@ -27078,7 +27079,7 @@ paths: schema: type: string format: date-time - - &220 + - &221 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) @@ -27089,7 +27090,7 @@ paths: type: string format: date-time responses: - '500': &213 + '500': &214 description: Internal Error content: application/json: @@ -27286,7 +27287,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *213 + '500': *214 '422': *31 '404': *36 '403': *40 @@ -27347,11 +27348,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *213 + '500': *214 '422': *31 '404': *36 '403': *40 - '204': &221 + '204': &222 description: A header with no content is returned. x-github: githubCloudOnly: false @@ -27384,7 +27385,7 @@ paths: - *4 - *5 responses: - '500': *213 + '500': *214 '404': *36 '403': *40 '200': @@ -27395,7 +27396,7 @@ paths: type: array items: *148 examples: - default: *214 + default: *215 headers: Link: *6 x-github: @@ -27421,15 +27422,15 @@ paths: - *130 - *4 - *5 - - *215 - - *9 - *216 + - *9 - *217 - *218 - *219 - *220 + - *221 responses: - '500': *213 + '500': *214 '422': *31 '404': *36 '403': *40 @@ -27611,7 +27612,7 @@ paths: - 1296269 - 1296280 responses: - '500': *213 + '500': *214 '404': *36 '202': *136 '403': *40 @@ -27664,9 +27665,9 @@ paths: value: action: revoke responses: - '500': *213 + '500': *214 '404': *36 - '204': *221 + '204': *222 '403': *40 '422': *31 x-github: @@ -27698,7 +27699,7 @@ paths: - *4 - *5 responses: - '500': *213 + '500': *214 '404': *36 '403': *40 '200': @@ -27709,7 +27710,7 @@ paths: type: array items: *148 examples: - default: *214 + default: *215 headers: Link: *6 x-github: @@ -27753,7 +27754,7 @@ paths: application/json: schema: type: array - items: &222 + items: &223 type: object properties: id: @@ -27797,9 +27798,9 @@ paths: description: Response content: application/json: - schema: *222 + schema: *223 examples: - default: &223 + default: &224 value: id: 42 name: Check Commits @@ -27829,7 +27830,7 @@ paths: description: Response content: application/json: - schema: *222 + schema: *223 examples: default: value: @@ -27878,9 +27879,9 @@ paths: description: Response content: application/json: - schema: *222 + schema: *223 examples: - default: *223 + default: *224 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27921,7 +27922,7 @@ paths: application/json: schema: type: array - items: &224 + items: &225 title: Project description: Projects are a way to organize columns and cards of work. @@ -28091,7 +28092,7 @@ paths: description: Response content: application/json: - schema: *224 + schema: *225 examples: default: value: @@ -28129,7 +28130,7 @@ paths: '401': *38 '403': *40 '404': *36 - '410': *225 + '410': *226 '422': *81 x-github: githubCloudOnly: false @@ -28160,7 +28161,7 @@ paths: type: array items: *19 examples: - default: *206 + default: *207 headers: Link: *6 x-github: @@ -28301,7 +28302,7 @@ paths: type: array items: *148 examples: - default: *214 + default: *215 headers: Link: *6 x-github: @@ -28504,7 +28505,7 @@ paths: description: Response content: application/json: - schema: &272 + schema: &273 title: Full Repository description: Full Repository type: object @@ -28781,8 +28782,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *226 - required: *227 + properties: *227 + required: *228 nullable: true temp_clone_token: type: string @@ -28918,7 +28919,7 @@ paths: - key - name - html_url - security_and_analysis: *228 + security_and_analysis: *229 required: - archive_url - assignees_url @@ -28996,7 +28997,7 @@ paths: - network_count - subscribers_count examples: - default: &274 + default: &275 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -29566,14 +29567,14 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *130 - - *229 - *230 - *231 - *232 + - *233 - *9 - *5 - *4 - - &481 + - &482 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 @@ -29583,7 +29584,7 @@ paths: required: false schema: type: string - - &482 + - &483 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 @@ -29600,9 +29601,9 @@ paths: application/json: schema: type: array - items: *233 + items: *234 examples: - default: *234 + default: *235 headers: Link: *6 '404': *36 @@ -29636,12 +29637,12 @@ paths: application/json: schema: type: array - items: &458 + items: &459 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &239 + properties: &240 id: description: Unique identifier of the team type: integer @@ -29694,7 +29695,7 @@ paths: LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &240 + required: &241 - id - node_id - url @@ -29706,7 +29707,7 @@ paths: - repositories_url - slug examples: - default: &241 + default: &242 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -29744,7 +29745,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/orgs/security-managers#add-a-security-manager-team parameters: - *130 - - &235 + - &236 name: team_slug description: The slug of the team name. in: path @@ -29779,7 +29780,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *130 - - *235 + - *236 responses: '204': description: Response @@ -29815,10 +29816,10 @@ paths: description: Success content: application/json: - schema: *236 + schema: *237 examples: - default: *237 - '403': *238 + default: *238 + '403': *239 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29846,7 +29847,7 @@ paths: application/json: schema: type: array - items: &263 + items: &264 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -29905,8 +29906,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *239 - required: *240 + properties: *240 + required: *241 nullable: true required: - id @@ -29921,7 +29922,7 @@ paths: - slug - parent examples: - default: *241 + default: *242 headers: Link: *6 '403': *40 @@ -30023,7 +30024,7 @@ paths: description: Response content: application/json: - schema: &242 + schema: &243 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -30086,8 +30087,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *239 - required: *240 + properties: *240 + required: *241 nullable: true members_count: type: integer @@ -30329,7 +30330,7 @@ paths: - repos_count - organization examples: - default: &243 + default: &244 value: id: 1 node_id: MDQ6VGVhbTE= @@ -30399,15 +30400,15 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#get-a-team-by-name parameters: - *130 - - *235 + - *236 responses: '200': description: Response content: application/json: - schema: *242 + schema: *243 examples: - default: *243 + default: *244 '404': *36 x-github: githubCloudOnly: false @@ -30429,7 +30430,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#update-a-team parameters: - *130 - - *235 + - *236 requestBody: required: false content: @@ -30491,16 +30492,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *242 + schema: *243 examples: - default: *243 + default: *244 '201': description: Response content: application/json: - schema: *242 + schema: *243 examples: - default: *243 + default: *244 '404': *36 '422': *31 '403': *40 @@ -30526,7 +30527,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#delete-a-team parameters: - *130 - - *235 + - *236 responses: '204': description: Response @@ -30553,7 +30554,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussions#list-discussions parameters: - *130 - - *235 + - *236 - *9 - *4 - *5 @@ -30570,7 +30571,7 @@ paths: application/json: schema: type: array - items: &244 + items: &245 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -30669,7 +30670,7 @@ paths: - updated_at - url examples: - default: &520 + default: &521 value: - author: login: octocat @@ -30744,7 +30745,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussions#create-a-discussion parameters: - *130 - - *235 + - *236 requestBody: required: true content: @@ -30778,9 +30779,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: &245 + default: &246 value: author: login: octocat @@ -30853,8 +30854,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussions#get-a-discussion parameters: - *130 - - *235 - - &246 + - *236 + - &247 name: discussion_number description: The number that identifies the discussion. in: path @@ -30866,9 +30867,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: *245 + default: *246 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30891,8 +30892,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussions#update-a-discussion parameters: - *130 - - *235 - - *246 + - *236 + - *247 requestBody: required: false content: @@ -30915,9 +30916,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: &521 + default: &522 value: author: login: octocat @@ -30988,8 +30989,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussions#delete-a-discussion parameters: - *130 - - *235 - - *246 + - *236 + - *247 responses: '204': description: Response @@ -31016,8 +31017,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#list-discussion-comments parameters: - *130 - - *235 - - *246 + - *236 + - *247 - *9 - *4 - *5 @@ -31028,7 +31029,7 @@ paths: application/json: schema: type: array - items: &247 + items: &248 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -31100,7 +31101,7 @@ paths: - updated_at - url examples: - default: &522 + default: &523 value: - author: login: octocat @@ -31169,8 +31170,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#create-a-discussion-comment parameters: - *130 - - *235 - - *246 + - *236 + - *247 requestBody: required: true content: @@ -31192,9 +31193,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: &248 + default: &249 value: author: login: octocat @@ -31261,9 +31262,9 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#get-a-discussion-comment parameters: - *130 - - *235 - - *246 - - &249 + - *236 + - *247 + - &250 name: comment_number description: The number that identifies the comment. in: path @@ -31275,9 +31276,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31300,9 +31301,9 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#update-a-discussion-comment parameters: - *130 - - *235 - - *246 - - *249 + - *236 + - *247 + - *250 requestBody: required: true content: @@ -31324,9 +31325,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: &523 + default: &524 value: author: login: octocat @@ -31391,9 +31392,9 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *130 - - *235 - - *246 - - *249 + - *236 + - *247 + - *250 responses: '204': description: Response @@ -31420,9 +31421,9 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *130 - - *235 - - *246 - - *249 + - *236 + - *247 + - *250 - 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. @@ -31448,7 +31449,7 @@ paths: application/json: schema: type: array - items: &250 + items: &251 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -31491,7 +31492,7 @@ paths: - content - created_at examples: - default: &252 + default: &253 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -31542,9 +31543,9 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *130 - - *235 - - *246 - - *249 + - *236 + - *247 + - *250 requestBody: required: true content: @@ -31577,9 +31578,9 @@ paths: team discussion comment content: application/json: - schema: *250 + schema: *251 examples: - default: &251 + default: &252 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -31608,9 +31609,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31634,10 +31635,10 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *130 - - *235 - - *246 - - *249 - - &253 + - *236 + - *247 + - *250 + - &254 name: reaction_id description: The unique identifier of the reaction. in: path @@ -31670,8 +31671,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *130 - - *235 - - *246 + - *236 + - *247 - 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. @@ -31697,9 +31698,9 @@ paths: application/json: schema: type: array - items: *250 + items: *251 examples: - default: *252 + default: *253 headers: Link: *6 x-github: @@ -31726,8 +31727,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *130 - - *235 - - *246 + - *236 + - *247 requestBody: required: true content: @@ -31759,16 +31760,16 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 '201': description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -31792,9 +31793,9 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#delete-team-discussion-reaction parameters: - *130 - - *235 - - *246 - - *253 + - *236 + - *247 + - *254 responses: '204': description: Response @@ -31818,15 +31819,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: - *130 - - *235 + - *236 responses: '200': description: Response content: application/json: - schema: *254 + schema: *255 examples: - default: *255 + default: *256 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -31846,7 +31847,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: - *130 - - *235 + - *236 requestBody: required: true content: @@ -31869,9 +31870,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *257 examples: - default: *257 + default: *258 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -31891,7 +31892,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: - *130 - - *235 + - *236 responses: '204': description: Response @@ -31915,7 +31916,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/members#list-team-members parameters: - *130 - - *235 + - *236 - name: role description: Filters members returned by their role in the team. in: query @@ -31938,7 +31939,7 @@ paths: type: array items: *19 examples: - default: *206 + default: *207 headers: Link: *6 x-github: @@ -31969,14 +31970,14 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/members#get-team-membership-for-a-user parameters: - *130 - - *235 + - *236 - *8 responses: '200': description: Response content: application/json: - schema: &258 + schema: &259 title: Team Membership description: Team Membership type: object @@ -32003,7 +32004,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &524 + response-if-user-is-a-team-maintainer: &525 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -32040,7 +32041,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *130 - - *235 + - *236 - *8 requestBody: required: false @@ -32066,9 +32067,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - response-if-users-membership-with-team-is-now-pending: &525 + response-if-users-membership-with-team-is-now-pending: &526 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -32104,7 +32105,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/members#remove-team-membership-for-a-user parameters: - *130 - - *235 + - *236 - *8 responses: '204': @@ -32132,7 +32133,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#list-team-projects parameters: - *130 - - *235 + - *236 - *4 - *5 responses: @@ -32142,7 +32143,7 @@ paths: application/json: schema: type: array - items: &259 + items: &260 title: Team Project description: A team's access to a project. type: object @@ -32210,7 +32211,7 @@ paths: - updated_at - permissions examples: - default: &526 + default: &527 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -32272,8 +32273,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#check-team-permissions-for-a-project parameters: - *130 - - *235 - - &260 + - *236 + - &261 name: project_id description: The unique identifier of the project. in: path @@ -32285,9 +32286,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *260 examples: - default: &527 + default: &528 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -32348,8 +32349,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#add-or-update-team-project-permissions parameters: - *130 - - *235 - - *260 + - *236 + - *261 requestBody: required: false content: @@ -32414,8 +32415,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#remove-a-project-from-a-team parameters: - *130 - - *235 - - *260 + - *236 + - *261 responses: '204': description: Response @@ -32440,7 +32441,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#list-team-repositories parameters: - *130 - - *235 + - *236 - *4 - *5 responses: @@ -32452,7 +32453,7 @@ paths: type: array items: *148 examples: - default: *214 + default: *215 headers: Link: *6 x-github: @@ -32482,15 +32483,15 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *130 - - *235 - - *261 + - *236 - *262 + - *263 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &528 + schema: &529 title: Team Repository description: A team's access to a repository. type: object @@ -33060,9 +33061,9 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *130 - - *235 - - *261 + - *236 - *262 + - *263 requestBody: required: false content: @@ -33108,9 +33109,9 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#remove-a-repository-from-a-team parameters: - *130 - - *235 - - *261 + - *236 - *262 + - *263 responses: '204': description: Response @@ -33135,7 +33136,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#list-child-teams parameters: - *130 - - *235 + - *236 - *4 - *5 responses: @@ -33145,9 +33146,9 @@ paths: application/json: schema: type: array - items: *263 + items: *264 examples: - response-if-child-teams-exist: &529 + response-if-child-teams-exist: &530 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -33248,7 +33249,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/cards#get-a-project-card parameters: - - &264 + - &265 name: card_id description: The unique identifier of the card. in: path @@ -33260,7 +33261,7 @@ paths: description: Response content: application/json: - schema: &265 + schema: &266 title: Project Card description: Project cards represent a scope of work. type: object @@ -33327,7 +33328,7 @@ paths: - created_at - updated_at examples: - default: &266 + default: &267 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -33377,7 +33378,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/cards#update-an-existing-project-card parameters: - - *264 + - *265 requestBody: required: false content: @@ -33404,9 +33405,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *266 examples: - default: *266 + default: *267 '304': *39 '403': *40 '401': *38 @@ -33427,7 +33428,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/cards#delete-a-project-card parameters: - - *264 + - *265 responses: '204': description: Response @@ -33465,7 +33466,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/cards#move-a-project-card parameters: - - *264 + - *265 requestBody: required: true content: @@ -33570,7 +33571,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/columns#get-a-project-column parameters: - - &267 + - &268 name: column_id description: The unique identifier of the column. in: path @@ -33582,7 +33583,7 @@ paths: description: Response content: application/json: - schema: &268 + schema: &269 title: Project Column description: Project columns contain cards of work. type: object @@ -33628,7 +33629,7 @@ paths: - created_at - updated_at examples: - default: &269 + default: &270 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -33657,7 +33658,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/columns#update-an-existing-project-column parameters: - - *267 + - *268 requestBody: required: true content: @@ -33681,9 +33682,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *269 examples: - default: *269 + default: *270 '304': *39 '403': *40 '401': *38 @@ -33702,7 +33703,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/columns#delete-a-project-column parameters: - - *267 + - *268 responses: '204': description: Response @@ -33725,7 +33726,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/cards#list-project-cards parameters: - - *267 + - *268 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -33746,7 +33747,7 @@ paths: application/json: schema: type: array - items: *265 + items: *266 examples: default: value: @@ -33799,7 +33800,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/cards#create-a-project-card parameters: - - *267 + - *268 requestBody: required: true content: @@ -33839,9 +33840,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *266 examples: - default: *266 + default: *267 '304': *39 '403': *40 '401': *38 @@ -33891,7 +33892,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/columns#move-a-project-column parameters: - - *267 + - *268 requestBody: required: true content: @@ -33947,15 +33948,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/projects#get-a-project parameters: - - *260 + - *261 responses: '200': description: Response content: application/json: - schema: *224 + schema: *225 examples: - default: &270 + default: &271 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -34008,7 +34009,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/projects#update-a-project parameters: - - *260 + - *261 requestBody: required: false content: @@ -34054,9 +34055,9 @@ paths: description: Response content: application/json: - schema: *224 + schema: *225 examples: - default: *270 + default: *271 '404': description: Not Found if the authenticated user does not have access to the project @@ -34077,7 +34078,7 @@ paths: items: type: string '401': *38 - '410': *225 + '410': *226 '422': *81 x-github: githubCloudOnly: false @@ -34095,7 +34096,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/projects#delete-a-project parameters: - - *260 + - *261 responses: '204': description: Delete Success @@ -34116,7 +34117,7 @@ paths: items: type: string '401': *38 - '410': *225 + '410': *226 '404': *36 x-github: githubCloudOnly: false @@ -34139,7 +34140,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/collaborators#list-project-collaborators parameters: - - *260 + - *261 - 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 @@ -34166,7 +34167,7 @@ paths: type: array items: *19 examples: - default: *206 + default: *207 headers: Link: *6 '404': *36 @@ -34191,7 +34192,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/collaborators#add-project-collaborator parameters: - - *260 + - *261 - *8 requestBody: required: false @@ -34239,7 +34240,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *260 + - *261 - *8 responses: '204': @@ -34268,7 +34269,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: - - *260 + - *261 - *8 responses: '200': @@ -34336,7 +34337,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/columns#list-project-columns parameters: - - *260 + - *261 - *4 - *5 responses: @@ -34346,7 +34347,7 @@ paths: application/json: schema: type: array - items: *268 + items: *269 examples: default: value: @@ -34378,7 +34379,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/columns#create-a-project-column parameters: - - *260 + - *261 requestBody: required: true content: @@ -34401,7 +34402,7 @@ paths: description: Response content: application/json: - schema: *268 + schema: *269 examples: default: value: @@ -34462,7 +34463,7 @@ paths: resources: type: object properties: - core: &271 + core: &272 title: Rate Limit type: object properties: @@ -34479,19 +34480,19 @@ paths: - remaining - reset - used - graphql: *271 - search: *271 - code_search: *271 - source_import: *271 - integration_manifest: *271 - code_scanning_upload: *271 - actions_runner_registration: *271 - scim: *271 - code_scanning_autofix: *271 + graphql: *272 + search: *272 + code_search: *272 + source_import: *272 + integration_manifest: *272 + code_scanning_upload: *272 + actions_runner_registration: *272 + scim: *272 + code_scanning_autofix: *272 required: - core - search - rate: *271 + rate: *272 required: - rate - resources @@ -34595,14 +34596,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#get-a-repository parameters: - - *261 - *262 + - *263 responses: '200': description: Response content: application/json: - schema: *272 + schema: *273 examples: default-response: summary: Default response @@ -35101,7 +35102,7 @@ paths: status: disabled '403': *40 '404': *36 - '301': *273 + '301': *274 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35119,8 +35120,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#update-a-repository parameters: - - *261 - *262 + - *263 requestBody: required: false content: @@ -35333,10 +35334,10 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: - default: *274 - '307': &275 + default: *275 + '307': &276 description: Temporary Redirect content: application/json: @@ -35381,8 +35382,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#delete-a-repository parameters: - - *261 - *262 + - *263 responses: '204': description: Response @@ -35404,7 +35405,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': *275 + '307': *276 '404': *36 x-github: githubCloudOnly: false @@ -35427,11 +35428,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *261 - *262 + - *263 - *4 - *5 - - &292 + - &293 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -35454,7 +35455,7 @@ paths: type: integer artifacts: type: array - items: &276 + items: &277 title: Artifact description: An artifact type: object @@ -35525,7 +35526,7 @@ paths: - expires_at - updated_at examples: - default: &293 + default: &294 value: total_count: 2 artifacts: @@ -35584,9 +35585,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/artifacts#get-an-artifact parameters: - - *261 - *262 - - &277 + - *263 + - &278 name: artifact_id description: The unique identifier of the artifact. in: path @@ -35598,7 +35599,7 @@ paths: description: Response content: application/json: - schema: *276 + schema: *277 examples: default: value: @@ -35635,9 +35636,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/artifacts#delete-an-artifact parameters: - - *261 - *262 - - *277 + - *263 + - *278 responses: '204': description: Response @@ -35661,9 +35662,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/artifacts#download-an-artifact parameters: - - *261 - *262 - - *277 + - *263 + - *278 - name: archive_format in: path required: true @@ -35677,7 +35678,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': *225 + '410': *226 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35700,14 +35701,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: - - *261 - *262 + - *263 responses: '200': description: Response content: application/json: - schema: *278 + schema: *279 examples: default: value: @@ -35733,14 +35734,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: - - *261 - *262 + - *263 responses: '200': description: Response content: application/json: - schema: &279 + schema: &280 title: Actions cache usage policy for repository description: GitHub Actions cache usage policy for repository. type: object @@ -35752,7 +35753,7 @@ paths: required: - repo_cache_size_limit_in_gb examples: - default: &280 + default: &281 value: repo_cache_size_limit_in_gb: 14 x-github: @@ -35773,8 +35774,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: - - *261 - *262 + - *263 responses: '204': description: Response @@ -35782,9 +35783,9 @@ paths: required: true content: application/json: - schema: *279 + schema: *280 examples: - selected_actions: *280 + selected_actions: *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35804,11 +35805,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: - - *261 - *262 + - *263 - *4 - *5 - - &281 + - &282 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 @@ -35842,7 +35843,7 @@ paths: description: Response content: application/json: - schema: &282 + schema: &283 title: Repository actions caches description: Repository actions caches type: object @@ -35884,7 +35885,7 @@ paths: - total_count - actions_caches examples: - default: &283 + default: &284 value: total_count: 1 actions_caches: @@ -35916,23 +35917,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: - - *261 - *262 + - *263 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *281 + - *282 responses: '200': description: Response content: application/json: - schema: *282 + schema: *283 examples: - default: *283 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35952,8 +35953,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: - - *261 - *262 + - *263 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -35984,9 +35985,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: - - *261 - *262 - - &284 + - *263 + - &285 name: job_id description: The unique identifier of the job. in: path @@ -35998,7 +35999,7 @@ paths: description: Response content: application/json: - schema: &296 + schema: &297 title: Job description: Information of a job execution in a workflow run type: object @@ -36305,9 +36306,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: - - *261 - *262 - - *284 + - *263 + - *285 responses: '302': description: Response @@ -36335,9 +36336,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: - - *261 - *262 - - *284 + - *263 + - *285 requestBody: required: false content: @@ -36382,8 +36383,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: - - *261 - *262 + - *263 responses: '200': description: Status response @@ -36433,8 +36434,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: - - *261 - *262 + - *263 requestBody: required: true content: @@ -36497,8 +36498,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#list-repository-organization-secrets parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -36516,7 +36517,7 @@ paths: type: integer secrets: type: array - items: &298 + items: &299 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -36536,7 +36537,7 @@ paths: - created_at - updated_at examples: - default: &299 + default: &300 value: total_count: 2 secrets: @@ -36569,9 +36570,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#list-repository-organization-variables parameters: - - *261 - *262 - - *285 + - *263 + - *286 - *5 responses: '200': @@ -36588,7 +36589,7 @@ paths: type: integer variables: type: array - items: &302 + items: &303 title: Actions Variable type: object properties: @@ -36618,7 +36619,7 @@ paths: - created_at - updated_at examples: - default: &303 + default: &304 value: total_count: 2 variables: @@ -36651,8 +36652,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: - - *261 - *262 + - *263 responses: '200': description: Response @@ -36661,7 +36662,7 @@ paths: schema: type: object properties: - enabled: &286 + enabled: &287 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *66 @@ -36694,8 +36695,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: - - *261 - *262 + - *263 responses: '204': description: Response @@ -36706,7 +36707,7 @@ paths: schema: type: object properties: - enabled: *286 + enabled: *287 allowed_actions: *66 required: - enabled @@ -36737,14 +36738,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: - - *261 - *262 + - *263 responses: '200': description: Response content: application/json: - schema: &287 + schema: &288 type: object properties: access_level: @@ -36762,7 +36763,7 @@ paths: required: - access_level examples: - default: &288 + default: &289 value: access_level: organization x-github: @@ -36787,15 +36788,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: - - *261 - *262 + - *263 requestBody: required: true content: application/json: - schema: *287 + schema: *288 examples: - default: *288 + default: *289 responses: '204': description: Response @@ -36819,8 +36820,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: - - *261 - *262 + - *263 responses: '200': description: Response @@ -36851,8 +36852,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: - - *261 - *262 + - *263 responses: '204': description: Response @@ -36884,8 +36885,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: - - *261 - *262 + - *263 responses: '200': description: Response @@ -36914,8 +36915,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: - - *261 - *262 + - *263 responses: '204': description: Success response @@ -36950,8 +36951,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: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -36995,8 +36996,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: - - *261 - *262 + - *263 responses: '200': description: Response @@ -37028,8 +37029,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: - - *261 - *262 + - *263 requestBody: required: true content: @@ -37103,8 +37104,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: - - *261 - *262 + - *263 responses: '201': description: Response @@ -37140,8 +37141,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: - - *261 - *262 + - *263 responses: '201': description: Response @@ -37171,8 +37172,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: - - *261 - *262 + - *263 - *78 responses: '200': @@ -37202,8 +37203,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: - - *261 - *262 + - *263 - *78 responses: '204': @@ -37229,8 +37230,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: - - *261 - *262 + - *263 - *78 responses: '200': *85 @@ -37255,8 +37256,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: - - *261 - *262 + - *263 - *78 requestBody: required: true @@ -37305,8 +37306,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: - - *261 - *262 + - *263 - *78 requestBody: required: true @@ -37356,8 +37357,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: - - *261 - *262 + - *263 - *78 responses: '200': *155 @@ -37387,8 +37388,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: - - *261 - *262 + - *263 - *78 - *156 responses: @@ -37418,9 +37419,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: - - *261 - *262 - - &306 + - *263 + - &307 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. @@ -37428,7 +37429,7 @@ paths: required: false schema: type: string - - &307 + - &308 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -37436,7 +37437,7 @@ paths: required: false schema: type: string - - &308 + - &309 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -37445,7 +37446,7 @@ paths: required: false schema: type: string - - &309 + - &310 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 @@ -37472,7 +37473,7 @@ paths: - pending - *4 - *5 - - &310 + - &311 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)." @@ -37481,7 +37482,7 @@ paths: schema: type: string format: date-time - - &289 + - &290 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -37490,13 +37491,13 @@ paths: schema: type: boolean default: false - - &311 + - &312 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &312 + - &313 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -37519,7 +37520,7 @@ paths: type: integer workflow_runs: type: array - items: &290 + items: &291 title: Workflow Run description: An invocation of a workflow type: object @@ -37614,7 +37615,7 @@ paths: that triggered the run. type: array nullable: true - items: &330 + items: &331 title: Pull Request Minimal type: object properties: @@ -37733,7 +37734,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &334 + properties: &335 id: type: string description: SHA for the commit @@ -37784,7 +37785,7 @@ paths: - name - email nullable: true - required: &335 + required: &336 - id - tree_id - message @@ -37831,7 +37832,7 @@ paths: - workflow_url - pull_requests examples: - default: &313 + default: &314 value: total_count: 1 workflow_runs: @@ -38067,24 +38068,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *261 - *262 - - &291 + - *263 + - &292 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *289 + - *290 responses: '200': description: Response content: application/json: - schema: *290 + schema: *291 examples: - default: &294 + default: &295 value: id: 30433642 name: Build @@ -38325,9 +38326,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *261 - *262 - - *291 + - *263 + - *292 responses: '204': description: Response @@ -38350,9 +38351,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: - - *261 - *262 - - *291 + - *263 + - *292 responses: '200': description: Response @@ -38473,12 +38474,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *261 - *262 - - *291 + - *263 + - *292 - *4 - *5 - - *292 + - *293 responses: '200': description: Response @@ -38494,9 +38495,9 @@ paths: type: integer artifacts: type: array - items: *276 + items: *277 examples: - default: *293 + default: *294 headers: Link: *6 x-github: @@ -38520,25 +38521,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: - - *261 - *262 - - *291 - - &295 + - *263 + - *292 + - &296 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *289 + - *290 responses: '200': description: Response content: application/json: - schema: *290 + schema: *291 examples: - default: *294 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38561,10 +38562,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: - - *261 - *262 - - *291 - - *295 + - *263 + - *292 + - *296 - *4 - *5 responses: @@ -38582,9 +38583,9 @@ paths: type: integer jobs: type: array - items: *296 + items: *297 examples: - default: &297 + default: &298 value: total_count: 1 jobs: @@ -38697,10 +38698,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: - - *261 - *262 - - *291 - - *295 + - *263 + - *292 + - *296 responses: '302': description: Response @@ -38728,9 +38729,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *261 - *262 - - *291 + - *263 + - *292 responses: '202': description: Response @@ -38763,9 +38764,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: - - *261 - *262 - - *291 + - *263 + - *292 requestBody: required: true content: @@ -38834,9 +38835,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: - - *261 - *262 - - *291 + - *263 + - *292 - 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 @@ -38866,9 +38867,9 @@ paths: type: integer jobs: type: array - items: *296 + items: *297 examples: - default: *297 + default: *298 headers: Link: *6 x-github: @@ -38893,9 +38894,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *261 - *262 - - *291 + - *263 + - *292 responses: '302': description: Response @@ -38922,14 +38923,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *261 - *262 - - *291 + - *263 + - *292 responses: '204': description: Response '403': *40 - '500': *213 + '500': *214 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38951,9 +38952,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: - - *261 - *262 - - *291 + - *263 + - *292 responses: '200': description: Response @@ -39013,7 +39014,7 @@ paths: items: type: object properties: - type: &386 + type: &387 type: string description: The type of reviewer. enum: @@ -39023,7 +39024,7 @@ paths: reviewer: anyOf: - *19 - - *263 + - *264 required: - environment - wait_timer @@ -39098,9 +39099,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: - - *261 - *262 - - *291 + - *263 + - *292 requestBody: required: true content: @@ -39147,7 +39148,7 @@ paths: application/json: schema: type: array - items: &381 + items: &382 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -39253,7 +39254,7 @@ paths: - created_at - updated_at examples: - default: &382 + default: &383 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -39309,9 +39310,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *261 - *262 - - *291 + - *263 + - *292 requestBody: required: false content: @@ -39355,9 +39356,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: - - *261 - *262 - - *291 + - *263 + - *292 requestBody: required: false content: @@ -39404,8 +39405,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#list-repository-secrets parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -39423,9 +39424,9 @@ paths: type: integer secrets: type: array - items: *298 + items: *299 examples: - default: *299 + default: *300 headers: Link: *6 x-github: @@ -39450,16 +39451,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#get-a-repository-public-key parameters: - - *261 - *262 + - *263 responses: '200': description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39481,17 +39482,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#get-a-repository-secret parameters: - - *261 - *262 + - *263 - *158 responses: '200': description: Response content: application/json: - schema: *298 + schema: *299 examples: - default: &399 + default: &400 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -39517,8 +39518,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: - - *261 - *262 + - *263 - *158 requestBody: required: true @@ -39576,8 +39577,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#delete-a-repository-secret parameters: - - *261 - *262 + - *263 - *158 responses: '204': @@ -39603,9 +39604,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#list-repository-variables parameters: - - *261 - *262 - - *285 + - *263 + - *286 - *5 responses: '200': @@ -39622,9 +39623,9 @@ paths: type: integer variables: type: array - items: *302 + items: *303 examples: - default: *303 + default: *304 headers: Link: *6 x-github: @@ -39647,8 +39648,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#create-a-repository-variable parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -39700,17 +39701,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#get-a-repository-variable parameters: - - *261 - *262 + - *263 - *161 responses: '200': description: Response content: application/json: - schema: *302 + schema: *303 examples: - default: &400 + default: &401 value: name: USERNAME value: octocat @@ -39736,8 +39737,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#update-a-repository-variable parameters: - - *261 - *262 + - *263 - *161 requestBody: required: true @@ -39780,8 +39781,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#delete-a-repository-variable parameters: - - *261 - *262 + - *263 - *161 responses: '204': @@ -39807,8 +39808,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflows#list-repository-workflows parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -39826,7 +39827,7 @@ paths: type: integer workflows: type: array - items: &304 + items: &305 title: Workflow description: A GitHub Actions workflow type: object @@ -39933,9 +39934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflows#get-a-workflow parameters: - - *261 - *262 - - &305 + - *263 + - &306 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -39950,7 +39951,7 @@ paths: description: Response content: application/json: - schema: *304 + schema: *305 examples: default: value: @@ -39983,9 +39984,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflows#disable-a-workflow parameters: - - *261 - *262 - - *305 + - *263 + - *306 responses: '204': description: Response @@ -40010,9 +40011,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *261 - *262 - - *305 + - *263 + - *306 responses: '204': description: Response @@ -40063,9 +40064,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/workflows#enable-a-workflow parameters: - - *261 - *262 - - *305 + - *263 + - *306 responses: '204': description: Response @@ -40092,19 +40093,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: - - *261 - *262 - - *305 + - *263 - *306 - *307 - *308 - *309 + - *310 - *4 - *5 - - *310 - - *289 - *311 + - *290 - *312 + - *313 responses: '200': description: Response @@ -40120,9 +40121,9 @@ paths: type: integer workflow_runs: type: array - items: *290 + items: *291 examples: - default: *313 + default: *314 headers: Link: *6 x-github: @@ -40142,8 +40143,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/assignees#list-assignees parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -40155,7 +40156,7 @@ paths: type: array items: *19 examples: - default: *206 + default: *207 headers: Link: *6 '404': *36 @@ -40180,8 +40181,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: - - *261 - *262 + - *263 - name: assignee in: path required: true @@ -40215,8 +40216,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: - - *261 - *262 + - *263 responses: '200': description: Response @@ -40224,7 +40225,7 @@ paths: application/json: schema: type: array - items: &314 + items: &315 title: Autolink reference description: An autolink reference. type: object @@ -40274,8 +40275,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: - - *261 - *262 + - *263 requestBody: required: true content: @@ -40314,9 +40315,9 @@ paths: description: response content: application/json: - schema: *314 + schema: *315 examples: - default: &315 + default: &316 value: id: 1 key_prefix: TICKET- @@ -40347,9 +40348,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: - - *261 - *262 - - &316 + - *263 + - &317 name: autolink_id description: The unique identifier of the autolink. in: path @@ -40361,9 +40362,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *315 + default: *316 '404': *36 x-github: githubCloudOnly: false @@ -40383,9 +40384,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: - - *261 - *262 - - *316 + - *263 + - *317 responses: '204': description: Response @@ -40409,8 +40410,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: - - *261 - *262 + - *263 responses: '200': description: Response if Dependabot is enabled @@ -40457,8 +40458,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branches#list-branches parameters: - - *261 - *262 + - *263 - name: protected description: Setting to `true` returns only protected branches. When set to `false`, only unprotected branches are returned. Omitting this parameter @@ -40496,7 +40497,7 @@ paths: - url protected: type: boolean - protection: &318 + protection: &319 title: Branch Protection description: Branch Protection type: object @@ -40538,7 +40539,7 @@ paths: required: - contexts - checks - enforce_admins: &321 + enforce_admins: &322 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -40553,7 +40554,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &323 + required_pull_request_reviews: &324 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -40574,7 +40575,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *263 + items: *264 apps: description: The list of apps with review dismissal access. @@ -40603,7 +40604,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *263 + items: *264 apps: description: The list of apps allowed to bypass pull request requirements. @@ -40629,7 +40630,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &320 + restrictions: &321 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -40936,9 +40937,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branches#get-a-branch parameters: - - *261 - *262 - - &319 + - *263 + - &320 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). @@ -40952,14 +40953,14 @@ paths: description: Response content: application/json: - schema: &329 + schema: &330 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &359 + commit: &360 title: Commit description: Commit type: object @@ -40993,7 +40994,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &317 + properties: &318 name: type: string example: '"Chris Wanstrath"' @@ -41008,7 +41009,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *317 + properties: *318 nullable: true message: type: string @@ -41029,7 +41030,7 @@ paths: required: - sha - url - verification: &406 + verification: &407 title: Verification type: object properties: @@ -41095,7 +41096,7 @@ paths: type: integer files: type: array - items: &370 + items: &371 title: Diff Entry description: Diff Entry type: object @@ -41178,7 +41179,7 @@ paths: - self protected: type: boolean - protection: *318 + protection: *319 protection_url: type: string format: uri @@ -41282,7 +41283,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *273 + '301': *274 '404': *36 x-github: githubCloudOnly: false @@ -41304,15 +41305,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#get-branch-protection parameters: - - *261 - *262 - - *319 + - *263 + - *320 responses: '200': description: Response content: application/json: - schema: *318 + schema: *319 examples: default: value: @@ -41506,9 +41507,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#update-branch-protection parameters: - - *261 - *262 - - *319 + - *263 + - *320 requestBody: required: true content: @@ -41763,7 +41764,7 @@ paths: url: type: string format: uri - required_status_checks: &326 + required_status_checks: &327 title: Status Check Policy description: Status Check Policy type: object @@ -41839,7 +41840,7 @@ paths: items: *19 teams: type: array - items: *263 + items: *264 apps: type: array items: *22 @@ -41857,7 +41858,7 @@ paths: items: *19 teams: type: array - items: *263 + items: *264 apps: type: array items: *22 @@ -41915,7 +41916,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *320 + restrictions: *321 required_conversation_resolution: type: object properties: @@ -42027,9 +42028,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#delete-branch-protection parameters: - - *261 - *262 - - *319 + - *263 + - *320 responses: '204': description: Response @@ -42054,17 +42055,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *261 - *262 - - *319 + - *263 + - *320 responses: '200': description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: &322 + default: &323 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -42086,17 +42087,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *261 - *262 - - *319 + - *263 + - *320 responses: '200': description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *322 + default: *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42115,9 +42116,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *261 - *262 - - *319 + - *263 + - *320 responses: '204': description: Response @@ -42142,17 +42143,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: - - *261 - *262 - - *319 + - *263 + - *320 responses: '200': description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: &324 + default: &325 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -42248,9 +42249,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: - - *261 - *262 - - *319 + - *263 + - *320 requestBody: required: false content: @@ -42348,9 +42349,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: *324 + default: *325 '422': *31 x-github: githubCloudOnly: false @@ -42371,9 +42372,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: - - *261 - *262 - - *319 + - *263 + - *320 responses: '204': description: Response @@ -42400,17 +42401,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *261 - *262 - - *319 + - *263 + - *320 responses: '200': description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: &325 + default: &326 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -42433,17 +42434,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *261 - *262 - - *319 + - *263 + - *320 responses: '200': description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *325 + default: *326 '404': *36 x-github: githubCloudOnly: false @@ -42463,9 +42464,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *261 - *262 - - *319 + - *263 + - *320 responses: '204': description: Response @@ -42490,17 +42491,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#get-status-checks-protection parameters: - - *261 - *262 - - *319 + - *263 + - *320 responses: '200': description: Response content: application/json: - schema: *326 + schema: *327 examples: - default: &327 + default: &328 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -42526,9 +42527,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#update-status-check-protection parameters: - - *261 - *262 - - *319 + - *263 + - *320 requestBody: required: false content: @@ -42580,9 +42581,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *327 examples: - default: *327 + default: *328 '404': *36 '422': *31 x-github: @@ -42604,9 +42605,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#remove-status-check-protection parameters: - - *261 - *262 - - *319 + - *263 + - *320 responses: '204': description: Response @@ -42630,9 +42631,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: - - *261 - *262 - - *319 + - *263 + - *320 responses: '200': description: Response @@ -42666,9 +42667,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#add-status-check-contexts parameters: - - *261 - *262 - - *319 + - *263 + - *320 requestBody: required: false content: @@ -42735,9 +42736,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#set-status-check-contexts parameters: - - *261 - *262 - - *319 + - *263 + - *320 requestBody: required: false content: @@ -42801,9 +42802,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *261 - *262 - - *319 + - *263 + - *320 requestBody: content: application/json: @@ -42869,15 +42870,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#get-access-restrictions parameters: - - *261 - *262 - - *319 + - *263 + - *320 responses: '200': description: Response content: application/json: - schema: *320 + schema: *321 examples: default: value: @@ -42968,9 +42969,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#delete-access-restrictions parameters: - - *261 - *262 - - *319 + - *263 + - *320 responses: '204': description: Response @@ -42993,9 +42994,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: - - *261 - *262 - - *319 + - *263 + - *320 responses: '200': description: Response @@ -43005,7 +43006,7 @@ paths: type: array items: *22 examples: - default: &328 + default: &329 value: - id: 1 slug: octoapp @@ -43062,9 +43063,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *261 - *262 - - *319 + - *263 + - *320 requestBody: required: true content: @@ -43098,7 +43099,7 @@ paths: type: array items: *22 examples: - default: *328 + default: *329 '422': *31 x-github: githubCloudOnly: false @@ -43119,9 +43120,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *261 - *262 - - *319 + - *263 + - *320 requestBody: required: true content: @@ -43155,7 +43156,7 @@ paths: type: array items: *22 examples: - default: *328 + default: *329 '422': *31 x-github: githubCloudOnly: false @@ -43176,9 +43177,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *261 - *262 - - *319 + - *263 + - *320 requestBody: required: true content: @@ -43212,7 +43213,7 @@ paths: type: array items: *22 examples: - default: *328 + default: *329 '422': *31 x-github: githubCloudOnly: false @@ -43234,9 +43235,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: - - *261 - *262 - - *319 + - *263 + - *320 responses: '200': description: Response @@ -43244,9 +43245,9 @@ paths: application/json: schema: type: array - items: *263 + items: *264 examples: - default: *241 + default: *242 '404': *36 x-github: githubCloudOnly: false @@ -43266,9 +43267,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *261 - *262 - - *319 + - *263 + - *320 requestBody: required: false content: @@ -43304,9 +43305,9 @@ paths: application/json: schema: type: array - items: *263 + items: *264 examples: - default: *241 + default: *242 '422': *31 x-github: githubCloudOnly: false @@ -43327,9 +43328,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *261 - *262 - - *319 + - *263 + - *320 requestBody: required: false content: @@ -43365,9 +43366,9 @@ paths: application/json: schema: type: array - items: *263 + items: *264 examples: - default: *241 + default: *242 '422': *31 x-github: githubCloudOnly: false @@ -43388,9 +43389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *261 - *262 - - *319 + - *263 + - *320 requestBody: content: application/json: @@ -43425,9 +43426,9 @@ paths: application/json: schema: type: array - items: *263 + items: *264 examples: - default: *241 + default: *242 '422': *31 x-github: githubCloudOnly: false @@ -43449,9 +43450,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: - - *261 - *262 - - *319 + - *263 + - *320 responses: '200': description: Response @@ -43461,7 +43462,7 @@ paths: type: array items: *19 examples: - default: *206 + default: *207 '404': *36 x-github: githubCloudOnly: false @@ -43485,9 +43486,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *261 - *262 - - *319 + - *263 + - *320 requestBody: required: true content: @@ -43520,7 +43521,7 @@ paths: type: array items: *19 examples: - default: *206 + default: *207 '422': *31 x-github: githubCloudOnly: false @@ -43545,9 +43546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *261 - *262 - - *319 + - *263 + - *320 requestBody: required: true content: @@ -43580,7 +43581,7 @@ paths: type: array items: *19 examples: - default: *206 + default: *207 '422': *31 x-github: githubCloudOnly: false @@ -43605,9 +43606,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *261 - *262 - - *319 + - *263 + - *320 requestBody: required: true content: @@ -43640,7 +43641,7 @@ paths: type: array items: *19 examples: - default: *206 + default: *207 '422': *31 x-github: githubCloudOnly: false @@ -43667,9 +43668,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branches#rename-a-branch parameters: - - *261 - *262 - - *319 + - *263 + - *320 requestBody: required: true content: @@ -43691,7 +43692,7 @@ paths: description: Response content: application/json: - schema: *329 + schema: *330 examples: default: value: @@ -43804,8 +43805,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/runs#create-a-check-run parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -44084,7 +44085,7 @@ paths: description: Response content: application/json: - schema: &331 + schema: &332 title: CheckRun description: A check performed on the code of a given code change type: object @@ -44203,8 +44204,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *330 - deployment: &563 + items: *331 + deployment: &564 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -44484,9 +44485,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/runs#get-a-check-run parameters: - - *261 - *262 - - &332 + - *263 + - &333 name: check_run_id description: The unique identifier of the check run. in: path @@ -44498,9 +44499,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *332 examples: - default: &333 + default: &334 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -44600,9 +44601,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/runs#update-a-check-run parameters: - - *261 - *262 - - *332 + - *263 + - *333 requestBody: required: true content: @@ -44842,9 +44843,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *332 examples: - default: *333 + default: *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44864,9 +44865,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/runs#list-check-run-annotations parameters: - - *261 - *262 - - *332 + - *263 + - *333 - *4 - *5 responses: @@ -44963,9 +44964,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/runs#rerequest-a-check-run parameters: - - *261 - *262 - - *332 + - *263 + - *333 responses: '201': description: Response @@ -45009,8 +45010,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/suites#create-a-check-suite parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -45032,7 +45033,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &336 + schema: &337 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -45096,7 +45097,7 @@ paths: nullable: true pull_requests: type: array - items: *330 + items: *331 nullable: true app: title: GitHub app @@ -45122,8 +45123,8 @@ paths: title: Simple Commit description: A commit. type: object - properties: *334 - required: *335 + properties: *335 + required: *336 latest_check_runs_count: type: integer check_runs_url: @@ -45151,7 +45152,7 @@ paths: - check_runs_url - pull_requests examples: - default: &337 + default: &338 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -45442,9 +45443,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *336 + schema: *337 examples: - default: *337 + default: *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45463,8 +45464,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: - - *261 - *262 + - *263 requestBody: required: true content: @@ -45773,9 +45774,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/suites#get-a-check-suite parameters: - - *261 - *262 - - &338 + - *263 + - &339 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -45787,9 +45788,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *337 examples: - default: *337 + default: *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45812,17 +45813,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: - - *261 - *262 - - *338 - - &367 + - *263 + - *339 + - &368 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &368 + - &369 name: status description: Returns check runs with the specified `status`. in: query @@ -45861,9 +45862,9 @@ paths: type: integer check_runs: type: array - items: *331 + items: *332 examples: - default: &369 + default: &370 value: total_count: 1 check_runs: @@ -45965,9 +45966,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/checks/suites#rerequest-a-check-suite parameters: - - *261 - *262 - - *338 + - *263 + - *339 responses: '201': description: Response @@ -46000,20 +46001,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: - - *261 - *262 - - *172 + - *263 - *173 + - *174 - *5 - *4 - - &349 + - &350 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: *339 + schema: *340 - *9 - name: sort description: The property by which to sort the results. @@ -46030,13 +46031,13 @@ paths: be returned. in: query required: false - schema: *174 + schema: *175 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *340 + schema: *341 responses: '200': description: Response @@ -46052,7 +46053,7 @@ paths: updated_at: *97 url: *94 html_url: *95 - instances_url: *341 + instances_url: *342 state: *88 fixed_at: *99 dismissed_by: @@ -46063,11 +46064,11 @@ paths: required: *18 nullable: true dismissed_at: *98 - dismissed_reason: *342 - dismissed_comment: *343 - rule: *344 - tool: *345 - most_recent_instance: *346 + dismissed_reason: *343 + dismissed_comment: *344 + rule: *345 + tool: *346 + most_recent_instance: *347 required: - number - created_at @@ -46183,7 +46184,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *39 - '403': *238 + '403': *239 '404': *36 '503': *101 x-github: @@ -46205,9 +46206,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: - - *261 - *262 - - &347 + - *263 + - &348 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -46221,7 +46222,7 @@ paths: description: Response content: application/json: - schema: &348 + schema: &349 type: object properties: number: *91 @@ -46229,7 +46230,7 @@ paths: updated_at: *97 url: *94 html_url: *95 - instances_url: *341 + instances_url: *342 state: *88 fixed_at: *99 dismissed_by: @@ -46240,8 +46241,8 @@ paths: required: *18 nullable: true dismissed_at: *98 - dismissed_reason: *342 - dismissed_comment: *343 + dismissed_reason: *343 + dismissed_comment: *344 rule: type: object properties: @@ -46295,8 +46296,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *345 - most_recent_instance: *346 + tool: *346 + most_recent_instance: *347 required: - number - created_at @@ -46385,7 +46386,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *39 - '403': *238 + '403': *239 '404': *36 '503': *101 x-github: @@ -46405,9 +46406,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: - - *261 - *262 - - *347 + - *263 + - *348 requestBody: required: true content: @@ -46422,8 +46423,8 @@ paths: enum: - open - dismissed - dismissed_reason: *342 - dismissed_comment: *343 + dismissed_reason: *343 + dismissed_comment: *344 required: - state examples: @@ -46438,7 +46439,7 @@ paths: description: Response content: application/json: - schema: *348 + schema: *349 examples: default: value: @@ -46513,7 +46514,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &354 + '403': &355 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -46540,12 +46541,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: - - *261 - *262 - - *347 + - *263 + - *348 - *5 - *4 - - *349 + - *350 responses: '200': description: Response @@ -46553,7 +46554,7 @@ paths: application/json: schema: type: array - items: *346 + items: *347 examples: default: value: @@ -46592,7 +46593,7 @@ paths: end_column: 50 classifications: - source - '403': *238 + '403': *239 '404': *36 '503': *101 x-github: @@ -46626,10 +46627,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: - - *261 - *262 - - *172 + - *263 - *173 + - *174 - *5 - *4 - name: ref @@ -46638,12 +46639,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: *339 + schema: *340 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &352 + schema: &353 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -46664,23 +46665,23 @@ paths: application/json: schema: type: array - items: &353 + items: &354 type: object properties: - ref: *339 - commit_sha: &355 + ref: *340 + commit_sha: &356 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: *350 + analysis_key: *351 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *351 + category: *352 error: type: string example: error reading field xyz @@ -46704,8 +46705,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *352 - tool: *345 + sarif_id: *353 + tool: *346 deletable: type: boolean warning: @@ -46766,7 +46767,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *238 + '403': *239 '404': *36 '503': *101 x-github: @@ -46802,8 +46803,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: - - *261 - *262 + - *263 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -46816,7 +46817,7 @@ paths: description: Response content: application/json: - schema: *353 + schema: *354 examples: response: summary: application/json response @@ -46870,7 +46871,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *238 + '403': *239 '404': *36 '503': *101 x-github: @@ -46952,8 +46953,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: - - *261 - *262 + - *263 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -47006,7 +47007,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': *30 - '403': *354 + '403': *355 '404': *36 '503': *101 x-github: @@ -47028,8 +47029,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: - - *261 - *262 + - *263 responses: '200': description: Response @@ -47084,7 +47085,7 @@ paths: - python query_suite: default updated_at: '2023-01-19T11:21:34Z' - '403': *238 + '403': *239 '404': *36 '503': *101 x-github: @@ -47105,8 +47106,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: - - *261 - *262 + - *263 requestBody: required: true content: @@ -47177,7 +47178,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *354 + '403': *355 '404': *36 '409': description: Response if there is already a validation run in progress with @@ -47242,8 +47243,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: - - *261 - *262 + - *263 requestBody: required: true content: @@ -47251,7 +47252,7 @@ paths: schema: type: object properties: - commit_sha: *355 + commit_sha: *356 ref: type: string description: |- @@ -47304,7 +47305,7 @@ paths: schema: type: object properties: - id: *352 + id: *353 url: type: string description: The REST API URL for checking the status of the upload. @@ -47318,7 +47319,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': *354 + '403': *355 '404': *36 '413': description: Payload Too Large if the sarif field is too large @@ -47341,8 +47342,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: - - *261 - *262 + - *263 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -47388,7 +47389,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': *238 + '403': *239 '404': description: Not Found if the sarif id does not match any upload '503': *101 @@ -47413,8 +47414,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#list-codeowners-errors parameters: - - *261 - *262 + - *263 - 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 @@ -47537,8 +47538,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *261 - *262 + - *263 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -47580,7 +47581,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &356 + properties: &357 login: type: string example: octocat @@ -47673,7 +47674,7 @@ paths: user_view_type: type: string example: public - required: &357 + required: &358 - avatar_url - events_url - followers_url @@ -47746,8 +47747,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: - - *261 - *262 + - *263 - *8 responses: '204': @@ -47784,8 +47785,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *261 - *262 + - *263 - *8 requestBody: required: false @@ -47851,8 +47852,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *261 - *262 + - *263 - *8 responses: '204': @@ -47882,8 +47883,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: - - *261 - *262 + - *263 - *8 responses: '200': @@ -47904,8 +47905,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *356 - required: *357 + properties: *357 + required: *358 nullable: true required: - permission @@ -47960,8 +47961,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: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -47971,7 +47972,7 @@ paths: application/json: schema: type: array - items: &358 + items: &359 title: Commit Comment description: Commit Comment type: object @@ -48029,7 +48030,7 @@ paths: - created_at - updated_at examples: - default: &361 + default: &362 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -48088,17 +48089,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/comments#get-a-commit-comment parameters: - - *261 - *262 + - *263 - *117 responses: '200': description: Response content: application/json: - schema: *358 + schema: *359 examples: - default: &362 + default: &363 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -48155,8 +48156,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/comments#update-a-commit-comment parameters: - - *261 - *262 + - *263 - *117 requestBody: required: true @@ -48179,7 +48180,7 @@ paths: description: Response content: application/json: - schema: *358 + schema: *359 examples: default: value: @@ -48230,8 +48231,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/comments#delete-a-commit-comment parameters: - - *261 - *262 + - *263 - *117 responses: '204': @@ -48253,8 +48254,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: - - *261 - *262 + - *263 - *117 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#about-reactions). @@ -48281,9 +48282,9 @@ paths: application/json: schema: type: array - items: *250 + items: *251 examples: - default: *252 + default: *253 headers: Link: *6 '404': *36 @@ -48304,8 +48305,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: - - *261 - *262 + - *263 - *117 requestBody: required: true @@ -48338,16 +48339,16 @@ paths: description: Reaction exists content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 '201': description: Reaction created content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 '422': *31 x-github: githubCloudOnly: false @@ -48369,10 +48370,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *261 - *262 + - *263 - *117 - - *253 + - *254 responses: '204': description: Response @@ -48421,8 +48422,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/commits#list-commits parameters: - - *261 - *262 + - *263 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -48478,9 +48479,9 @@ paths: application/json: schema: type: array - items: *359 + items: *360 examples: - default: &467 + default: &468 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -48550,7 +48551,7 @@ paths: sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: Link: *6 - '500': *213 + '500': *214 '400': *30 '404': *36 '409': *135 @@ -48573,9 +48574,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/commits#list-branches-for-head-commit parameters: - - *261 - *262 - - &360 + - *263 + - &361 name: commit_sha description: The SHA of the commit. in: path @@ -48647,9 +48648,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/comments#list-commit-comments parameters: - - *261 - *262 - - *360 + - *263 + - *361 - *4 - *5 responses: @@ -48659,9 +48660,9 @@ paths: application/json: schema: type: array - items: *358 + items: *359 examples: - default: *361 + default: *362 headers: Link: *6 x-github: @@ -48689,9 +48690,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/comments#create-a-commit-comment parameters: - - *261 - *262 - - *360 + - *263 + - *361 requestBody: required: true content: @@ -48726,9 +48727,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *359 examples: - default: *362 + default: *363 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -48756,9 +48757,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: - - *261 - *262 - - *360 + - *263 + - *361 - *4 - *5 responses: @@ -48768,7 +48769,7 @@ paths: application/json: schema: type: array - items: &456 + items: &457 title: Pull Request Simple description: Pull Request Simple type: object @@ -48874,8 +48875,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *363 - required: *364 + properties: *364 + required: *365 nullable: true active_lock_reason: type: string @@ -48920,7 +48921,7 @@ paths: nullable: true requested_teams: type: array - items: *263 + items: *264 nullable: true head: type: object @@ -48971,7 +48972,7 @@ paths: _links: type: object properties: - comments: &365 + comments: &366 title: Link description: Hypermedia Link type: object @@ -48980,13 +48981,13 @@ paths: type: string required: - href - commits: *365 - statuses: *365 - html: *365 - issue: *365 - review_comments: *365 - review_comment: *365 - self: *365 + commits: *366 + statuses: *366 + html: *366 + issue: *366 + review_comments: *366 + review_comment: *366 + self: *366 required: - comments - commits @@ -48997,7 +48998,7 @@ paths: - review_comment - self author_association: *105 - auto_merge: &459 + auto_merge: &460 title: Auto merge description: The status of auto merging a pull request. type: object @@ -49060,7 +49061,7 @@ paths: - author_association - auto_merge examples: - default: &457 + default: &458 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -49597,11 +49598,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/commits#get-a-commit parameters: - - *261 - *262 + - *263 - *5 - *4 - - &366 + - &367 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)" @@ -49616,9 +49617,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *360 examples: - default: &442 + default: &443 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -49701,7 +49702,7 @@ paths: ..... '422': *31 '404': *36 - '500': *213 + '500': *214 '503': *101 '409': *135 x-github: @@ -49728,11 +49729,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: - - *261 - *262 - - *366 + - *263 - *367 - *368 + - *369 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -49766,9 +49767,9 @@ paths: type: integer check_runs: type: array - items: *331 + items: *332 examples: - default: *369 + default: *370 headers: Link: *6 x-github: @@ -49793,9 +49794,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: - - *261 - *262 - - *366 + - *263 + - *367 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -49803,7 +49804,7 @@ paths: schema: type: integer example: 1 - - *367 + - *368 - *4 - *5 responses: @@ -49821,7 +49822,7 @@ paths: type: integer check_suites: type: array - items: *336 + items: *337 examples: default: value: @@ -50021,9 +50022,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: - - *261 - *262 - - *366 + - *263 + - *367 - *4 - *5 responses: @@ -50221,9 +50222,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: - - *261 - *262 - - *366 + - *263 + - *367 - *4 - *5 responses: @@ -50233,7 +50234,7 @@ paths: application/json: schema: type: array - items: &487 + items: &488 title: Status description: The status of a commit. type: object @@ -50314,7 +50315,7 @@ paths: site_admin: false headers: Link: *6 - '301': *273 + '301': *274 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50382,8 +50383,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/commits#compare-two-commits parameters: - - *261 - *262 + - *263 - *5 - *4 - name: basehead @@ -50426,8 +50427,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *359 - merge_base_commit: *359 + base_commit: *360 + merge_base_commit: *360 status: type: string enum: @@ -50447,10 +50448,10 @@ paths: example: 6 commits: type: array - items: *359 + items: *360 files: type: array - items: *370 + items: *371 required: - url - html_url @@ -50686,7 +50687,7 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *36 - '500': *213 + '500': *214 '503': *101 x-github: githubCloudOnly: false @@ -50729,8 +50730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/contents#get-repository-content parameters: - - *261 - *262 + - *263 - name: path description: path parameter in: path @@ -50871,7 +50872,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &371 + response-if-content-is-a-file: &372 summary: Response if content is a file value: type: file @@ -51003,7 +51004,7 @@ paths: - size - type - url - - &472 + - &473 title: Content File description: Content File type: object @@ -51204,7 +51205,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *371 + response-if-content-is-a-file: *372 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -51273,7 +51274,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *36 '403': *40 - '302': &476 + '302': &477 description: Found '304': *39 x-github: @@ -51297,8 +51298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/contents#create-or-update-file-contents parameters: - - *261 - *262 + - *263 - name: path description: path parameter in: path @@ -51391,7 +51392,7 @@ paths: description: Response content: application/json: - schema: &372 + schema: &373 title: File Commit description: File Commit type: object @@ -51537,7 +51538,7 @@ paths: description: Response content: application/json: - schema: *372 + schema: *373 examples: example-for-creating-a-file: value: @@ -51588,7 +51589,7 @@ paths: schema: oneOf: - *29 - - &401 + - &402 description: Repository rule violation was detected type: object properties: @@ -51641,8 +51642,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/contents#delete-a-file parameters: - - *261 - *262 + - *263 - name: path description: path parameter in: path @@ -51703,7 +51704,7 @@ paths: description: Response content: application/json: - schema: *372 + schema: *373 examples: default: value: @@ -51754,8 +51755,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#list-repository-contributors parameters: - - *261 - *262 + - *263 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -51878,20 +51879,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: - - *261 - *262 - - *180 + - *263 - *181 - *182 - *183 + - *184 - 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 - - *184 - *185 + - *186 - *9 responses: '200': @@ -51900,7 +51901,7 @@ paths: application/json: schema: type: array - items: &375 + items: &376 type: object description: A Dependabot alert. properties: @@ -51933,7 +51934,7 @@ paths: enum: - development - runtime - security_advisory: *373 + security_advisory: *374 security_vulnerability: *93 url: *94 html_url: *95 @@ -51964,7 +51965,7 @@ paths: nullable: true maxLength: 280 fixed_at: *99 - auto_dismissed_at: *374 + auto_dismissed_at: *375 required: - number - state @@ -52191,9 +52192,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *261 - *262 - - &376 + - *263 + - &377 name: alert_number in: path description: |- @@ -52208,7 +52209,7 @@ paths: description: Response content: application/json: - schema: *375 + schema: *376 examples: default: value: @@ -52312,9 +52313,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *261 - *262 - - *376 + - *263 + - *377 requestBody: required: true content: @@ -52359,7 +52360,7 @@ paths: description: Response content: application/json: - schema: *375 + schema: *376 examples: default: value: @@ -52488,8 +52489,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/secrets#list-repository-secrets parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -52507,7 +52508,7 @@ paths: type: integer secrets: type: array - items: &379 + items: &380 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -52560,16 +52561,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *261 - *262 + - *263 responses: '200': description: Response content: application/json: - schema: *377 + schema: *378 examples: - default: *378 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52589,15 +52590,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/secrets#get-a-repository-secret parameters: - - *261 - *262 + - *263 - *158 responses: '200': description: Response content: application/json: - schema: *379 + schema: *380 examples: default: value: @@ -52623,8 +52624,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: - - *261 - *262 + - *263 - *158 requestBody: required: true @@ -52677,8 +52678,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *261 - *262 + - *263 - *158 responses: '204': @@ -52701,8 +52702,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: - - *261 - *262 + - *263 - 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 @@ -52862,8 +52863,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: - - *261 - *262 + - *263 responses: '200': description: Response @@ -53091,8 +53092,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: - - *261 - *262 + - *263 requestBody: required: true content: @@ -53167,7 +53168,7 @@ paths: - version - url additionalProperties: false - metadata: &380 + metadata: &381 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -53200,7 +53201,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *380 + metadata: *381 resolved: type: object description: A collection of resolved package dependencies. @@ -53213,7 +53214,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *380 + metadata: *381 relationship: type: string description: A notation of whether a dependency is requested @@ -53342,8 +53343,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments#list-deployments parameters: - - *261 - *262 + - *263 - name: sha description: The SHA recorded at creation time. in: query @@ -53383,9 +53384,9 @@ paths: application/json: schema: type: array - items: *381 + items: *382 examples: - default: *382 + default: *383 headers: Link: *6 x-github: @@ -53451,8 +53452,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments#create-a-deployment parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -53533,7 +53534,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *382 examples: simple-example: summary: Simple example @@ -53606,9 +53607,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments#get-a-deployment parameters: - - *261 - *262 - - &383 + - *263 + - &384 name: deployment_id description: deployment_id parameter in: path @@ -53620,7 +53621,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *382 examples: default: value: @@ -53685,9 +53686,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments#delete-a-deployment parameters: - - *261 - *262 - - *383 + - *263 + - *384 responses: '204': description: Response @@ -53709,9 +53710,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/statuses#list-deployment-statuses parameters: - - *261 - *262 - - *383 + - *263 + - *384 - *4 - *5 responses: @@ -53721,7 +53722,7 @@ paths: application/json: schema: type: array - items: &384 + items: &385 title: Deployment Status description: The status of a deployment. type: object @@ -53882,9 +53883,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/statuses#create-a-deployment-status parameters: - - *261 - *262 - - *383 + - *263 + - *384 requestBody: required: true content: @@ -53959,9 +53960,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *385 examples: - default: &385 + default: &386 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -54017,9 +54018,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/statuses#get-a-deployment-status parameters: - - *261 - *262 - - *383 + - *263 + - *384 - name: status_id in: path required: true @@ -54030,9 +54031,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *385 examples: - default: *385 + default: *386 '404': *36 x-github: githubCloudOnly: false @@ -54057,8 +54058,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -54115,8 +54116,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/environments#list-environments parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -54133,7 +54134,7 @@ paths: type: integer environments: type: array - items: &387 + items: &388 title: Environment description: Details of a deployment environment type: object @@ -54185,7 +54186,7 @@ paths: type: type: string example: wait_timer - wait_timer: &389 + wait_timer: &390 type: integer example: 30 description: The amount of time to delay a job after @@ -54217,11 +54218,11 @@ paths: items: type: object properties: - type: *386 + type: *387 reviewer: anyOf: - *19 - - *263 + - *264 required: - id - node_id @@ -54241,7 +54242,7 @@ paths: - id - node_id - type - deployment_branch_policy: &390 + deployment_branch_policy: &391 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -54355,9 +54356,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/environments#get-an-environment parameters: - - *261 - *262 - - &388 + - *263 + - &389 name: environment_name in: path required: true @@ -54370,9 +54371,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *388 examples: - default: &391 + default: &392 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -54454,9 +54455,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/environments#create-or-update-an-environment parameters: - - *261 - *262 - - *388 + - *263 + - *389 requestBody: required: false content: @@ -54465,7 +54466,7 @@ paths: type: object nullable: true properties: - wait_timer: *389 + wait_timer: *390 reviewers: type: array nullable: true @@ -54477,13 +54478,13 @@ paths: items: type: object properties: - type: *386 + type: *387 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *390 + deployment_branch_policy: *391 additionalProperties: false examples: default: @@ -54502,9 +54503,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *388 examples: - default: *391 + default: *392 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -54528,9 +54529,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/environments#delete-an-environment parameters: - - *261 - *262 - - *388 + - *263 + - *389 responses: '204': description: Default response @@ -54555,9 +54556,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *261 - *262 - - *388 + - *263 + - *389 - *4 - *5 responses: @@ -54575,7 +54576,7 @@ paths: example: 2 branch_policies: type: array - items: &392 + items: &393 title: Deployment branch policy description: Details of a deployment branch policy. type: object @@ -54624,9 +54625,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: - - *261 - *262 - - *388 + - *263 + - *389 requestBody: required: true content: @@ -54659,9 +54660,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *393 examples: - example-wildcard: &393 + example-wildcard: &394 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -54697,10 +54698,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: - - *261 - *262 - - *388 - - &394 + - *263 + - *389 + - &395 name: branch_policy_id in: path required: true @@ -54712,9 +54713,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *393 examples: - default: *393 + default: *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54733,10 +54734,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: - - *261 - *262 - - *388 - - *394 + - *263 + - *389 + - *395 requestBody: required: true content: @@ -54764,9 +54765,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *393 examples: - default: *393 + default: *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54785,10 +54786,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: - - *261 - *262 - - *388 - - *394 + - *263 + - *389 + - *395 responses: '204': description: Response @@ -54813,9 +54814,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: - - *388 + - *389 + - *263 - *262 - - *261 responses: '200': description: List of deployment protection rules @@ -54831,7 +54832,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &395 + items: &396 title: Deployment protection rule description: Deployment protection rule type: object @@ -54850,7 +54851,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &396 + app: &397 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -54949,9 +54950,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: - - *388 + - *389 + - *263 - *262 - - *261 requestBody: content: application/json: @@ -54972,9 +54973,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *395 + schema: *396 examples: - default: &397 + default: &398 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -55009,9 +55010,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: - - *388 + - *389 + - *263 - *262 - - *261 - *5 - *4 responses: @@ -55030,7 +55031,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *396 + items: *397 examples: default: value: @@ -55065,10 +55066,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: - - *261 - *262 - - *388 - - &398 + - *263 + - *389 + - &399 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -55080,9 +55081,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *396 examples: - default: *397 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55103,10 +55104,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: - - *388 + - *389 + - *263 - *262 - - *261 - - *398 + - *399 responses: '204': description: Response @@ -55132,9 +55133,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#list-environment-secrets parameters: - - *261 - *262 - - *388 + - *263 + - *389 - *4 - *5 responses: @@ -55152,9 +55153,9 @@ paths: type: integer secrets: type: array - items: *298 + items: *299 examples: - default: *299 + default: *300 headers: Link: *6 x-github: @@ -55179,17 +55180,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#get-an-environment-public-key parameters: - - *261 - *262 - - *388 + - *263 + - *389 responses: '200': description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55211,18 +55212,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#get-an-environment-secret parameters: - - *261 - *262 - - *388 + - *263 + - *389 - *158 responses: '200': description: Response content: application/json: - schema: *298 + schema: *299 examples: - default: *399 + default: *400 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55244,9 +55245,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: - - *261 - *262 - - *388 + - *263 + - *389 - *158 requestBody: required: true @@ -55304,9 +55305,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#delete-an-environment-secret parameters: - - *261 - *262 - - *388 + - *263 + - *389 - *158 responses: '204': @@ -55332,10 +55333,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#list-environment-variables parameters: - - *261 - *262 - - *388 - - *285 + - *263 + - *389 + - *286 - *5 responses: '200': @@ -55352,9 +55353,9 @@ paths: type: integer variables: type: array - items: *302 + items: *303 examples: - default: *303 + default: *304 headers: Link: *6 x-github: @@ -55377,9 +55378,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#create-an-environment-variable parameters: - - *261 - *262 - - *388 + - *263 + - *389 requestBody: required: true content: @@ -55431,18 +55432,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#get-an-environment-variable parameters: - - *261 - *262 - - *388 + - *263 + - *389 - *161 responses: '200': description: Response content: application/json: - schema: *302 + schema: *303 examples: - default: *400 + default: *401 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55463,10 +55464,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#update-an-environment-variable parameters: - - *261 - *262 + - *263 - *161 - - *388 + - *389 requestBody: required: true content: @@ -55508,10 +55509,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/actions/variables#delete-an-environment-variable parameters: - - *261 - *262 + - *263 - *161 - - *388 + - *389 responses: '204': description: Response @@ -55533,8 +55534,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/events#list-repository-events parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -55611,8 +55612,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/forks#list-forks parameters: - - *261 - *262 + - *263 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -55771,8 +55772,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/forks#create-a-fork parameters: - - *261 - *262 + - *263 requestBody: required: false content: @@ -55804,9 +55805,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: - default: *274 + default: *275 '400': *30 '422': *31 '403': *40 @@ -55827,8 +55828,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/blobs#create-a-blob parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -55888,7 +55889,7 @@ paths: schema: oneOf: - *133 - - *401 + - *402 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55913,8 +55914,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/blobs#get-a-blob parameters: - - *261 - *262 + - *263 - name: file_sha in: path required: true @@ -56013,8 +56014,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/commits#create-a-commit parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -56123,7 +56124,7 @@ paths: description: Response content: application/json: - schema: &402 + schema: &403 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -56330,15 +56331,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/commits#get-a-commit-object parameters: - - *261 - *262 - - *360 + - *263 + - *361 responses: '200': description: Response content: application/json: - schema: *402 + schema: *403 examples: default: value: @@ -56391,9 +56392,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/refs#list-matching-references parameters: - - *261 - *262 - - &403 + - *263 + - &404 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. @@ -56410,7 +56411,7 @@ paths: application/json: schema: type: array - items: &404 + items: &405 title: Git Reference description: Git references within a repository type: object @@ -56485,17 +56486,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/refs#get-a-reference parameters: - - *261 - *262 - - *403 + - *263 + - *404 responses: '200': description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: &405 + default: &406 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -56524,8 +56525,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/refs#create-a-reference parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -56554,9 +56555,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: *405 + default: *406 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -56582,9 +56583,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/refs#update-a-reference parameters: - - *261 - *262 - - *403 + - *263 + - *404 requestBody: required: true content: @@ -56613,9 +56614,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: *405 + default: *406 '422': *31 '409': *135 x-github: @@ -56633,9 +56634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/refs#delete-a-reference parameters: - - *261 - *262 - - *403 + - *263 + - *404 responses: '204': description: Response @@ -56688,8 +56689,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/tags#create-a-tag-object parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -56756,7 +56757,7 @@ paths: description: Response content: application/json: - schema: &407 + schema: &408 title: Git Tag description: Metadata for a Git tag type: object @@ -56807,7 +56808,7 @@ paths: - sha - type - url - verification: *406 + verification: *407 required: - sha - url @@ -56817,7 +56818,7 @@ paths: - tag - message examples: - default: &408 + default: &409 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -56887,8 +56888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/tags#get-a-tag parameters: - - *261 - *262 + - *263 - name: tag_sha in: path required: true @@ -56899,9 +56900,9 @@ paths: description: Response content: application/json: - schema: *407 + schema: *408 examples: - default: *408 + default: *409 '404': *36 '409': *135 x-github: @@ -56925,8 +56926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/trees#create-a-tree parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -56999,7 +57000,7 @@ paths: description: Response content: application/json: - schema: &409 + schema: &410 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -57111,8 +57112,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/git/trees#get-a-tree parameters: - - *261 - *262 + - *263 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -57135,7 +57136,7 @@ paths: description: Response content: application/json: - schema: *409 + schema: *410 examples: default-response: summary: Default response @@ -57194,8 +57195,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#list-repository-webhooks parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -57205,7 +57206,7 @@ paths: application/json: schema: type: array - items: &410 + items: &411 title: Webhook description: Webhooks for repositories. type: object @@ -57259,7 +57260,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &593 + last_response: &594 title: Hook Response type: object properties: @@ -57333,8 +57334,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#create-a-repository-webhook parameters: - - *261 - *262 + - *263 requestBody: required: false content: @@ -57386,9 +57387,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *411 examples: - default: &411 + default: &412 value: type: Repository id: 12345678 @@ -57436,17 +57437,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#get-a-repository-webhook parameters: - - *261 - *262 + - *263 - *3 responses: '200': description: Response content: application/json: - schema: *410 + schema: *411 examples: - default: *411 + default: *412 '404': *36 x-github: githubCloudOnly: false @@ -57466,8 +57467,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#update-a-repository-webhook parameters: - - *261 - *262 + - *263 - *3 requestBody: required: true @@ -57513,9 +57514,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *411 examples: - default: *411 + default: *412 '422': *31 '404': *36 x-github: @@ -57536,8 +57537,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *261 - *262 + - *263 - *3 responses: '204': @@ -57562,8 +57563,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: - - *261 - *262 + - *263 - *3 responses: '200': @@ -57591,8 +57592,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: - - *261 - *262 + - *263 - *3 requestBody: required: false @@ -57637,11 +57638,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: - - *261 - *262 + - *263 - *3 - *4 - - *195 + - *196 responses: '200': description: Response @@ -57649,9 +57650,9 @@ paths: application/json: schema: type: array - items: *196 + items: *197 examples: - default: *197 + default: *198 '400': *30 '422': *31 x-github: @@ -57670,8 +57671,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: - - *261 - *262 + - *263 - *3 - *32 responses: @@ -57679,9 +57680,9 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: - default: *199 + default: *200 '400': *30 '422': *31 x-github: @@ -57700,8 +57701,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: - - *261 - *262 + - *263 - *3 - *32 responses: @@ -57725,8 +57726,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *261 - *262 + - *263 - *3 responses: '204': @@ -57752,8 +57753,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *261 - *262 + - *263 - *3 responses: '204': @@ -57778,8 +57779,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: - - *261 - *262 + - *263 responses: '200': description: Response @@ -57787,8 +57788,8 @@ paths: application/json: schema: *35 examples: - default: *412 - '301': *273 + default: *413 + '301': *274 '404': *36 x-github: githubCloudOnly: false @@ -57807,8 +57808,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/invitations#list-repository-invitations parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -57818,7 +57819,7 @@ paths: application/json: schema: type: array - items: &413 + items: &414 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -57881,7 +57882,7 @@ paths: - html_url - created_at examples: - default: &544 + default: &545 value: - id: 1 repository: @@ -58012,9 +58013,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *261 - *262 - - &414 + - *263 + - &415 name: invitation_id description: The unique identifier of the invitation. in: path @@ -58049,7 +58050,7 @@ paths: description: Response content: application/json: - schema: *413 + schema: *414 examples: default: value: @@ -58180,9 +58181,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *261 - *262 - - *414 + - *263 + - *415 responses: '204': description: Response @@ -58213,8 +58214,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/issues#list-repository-issues parameters: - - *261 - *262 + - *263 - 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 @@ -58254,7 +58255,7 @@ paths: required: false schema: type: string - - *200 + - *201 - name: sort description: What to sort results by. in: query @@ -58427,7 +58428,7 @@ paths: state_reason: completed headers: Link: *6 - '301': *273 + '301': *274 '422': *31 '404': *36 x-github: @@ -58456,8 +58457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/issues#create-an-issue parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -58534,7 +58535,7 @@ paths: application/json: schema: *118 examples: - default: &420 + default: &421 value: id: 1 node_id: MDU6SXNzdWUx @@ -58690,7 +58691,7 @@ paths: '422': *31 '503': *101 '404': *36 - '410': *225 + '410': *226 x-github: triggersNotification: true githubCloudOnly: false @@ -58718,9 +58719,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: - - *261 - *262 - - &465 + - *263 + - &466 name: sort description: The property to sort the results by. in: query @@ -58750,9 +58751,9 @@ paths: application/json: schema: type: array - items: *415 + items: *416 examples: - default: &422 + default: &423 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -58810,17 +58811,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/comments#get-an-issue-comment parameters: - - *261 - *262 + - *263 - *117 responses: '200': description: Response content: application/json: - schema: *415 + schema: *416 examples: - default: &416 + default: &417 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -58874,8 +58875,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/comments#update-an-issue-comment parameters: - - *261 - *262 + - *263 - *117 requestBody: required: true @@ -58898,9 +58899,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *416 examples: - default: *416 + default: *417 '422': *31 x-github: githubCloudOnly: false @@ -58918,8 +58919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/comments#delete-an-issue-comment parameters: - - *261 - *262 + - *263 - *117 responses: '204': @@ -58940,8 +58941,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: - - *261 - *262 + - *263 - *117 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#about-reactions). @@ -58968,9 +58969,9 @@ paths: application/json: schema: type: array - items: *250 + items: *251 examples: - default: *252 + default: *253 headers: Link: *6 '404': *36 @@ -58991,8 +58992,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: - - *261 - *262 + - *263 - *117 requestBody: required: true @@ -59025,16 +59026,16 @@ paths: description: Reaction exists content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 '201': description: Reaction created content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 '422': *31 x-github: githubCloudOnly: false @@ -59056,10 +59057,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *261 - *262 + - *263 - *117 - - *253 + - *254 responses: '204': description: Response @@ -59079,8 +59080,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: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -59090,7 +59091,7 @@ paths: application/json: schema: type: array - items: &419 + items: &420 title: Issue Event description: Issue Event type: object @@ -59133,8 +59134,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *417 - required: *418 + properties: *418 + required: *419 nullable: true label: title: Issue Event Label @@ -59178,7 +59179,7 @@ paths: properties: *17 required: *18 nullable: true - requested_team: *263 + requested_team: *264 dismissed_review: title: Issue Event Dismissed Review type: object @@ -59441,8 +59442,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/events#get-an-issue-event parameters: - - *261 - *262 + - *263 - name: event_id in: path required: true @@ -59453,7 +59454,7 @@ paths: description: Response content: application/json: - schema: *419 + schema: *420 examples: default: value: @@ -59646,7 +59647,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *36 - '410': *225 + '410': *226 '403': *40 x-github: githubCloudOnly: false @@ -59680,9 +59681,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue parameters: - - *261 - *262 - - &421 + - *263 + - &422 name: issue_number description: The number that identifies the issue. in: path @@ -59696,10 +59697,10 @@ paths: application/json: schema: *118 examples: - default: *420 - '301': *273 + default: *421 + '301': *274 '404': *36 - '410': *225 + '410': *226 '304': *39 x-github: githubCloudOnly: false @@ -59724,9 +59725,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/issues#update-an-issue parameters: - - *261 - *262 - - *421 + - *263 + - *422 requestBody: required: false content: @@ -59823,13 +59824,13 @@ paths: application/json: schema: *118 examples: - default: *420 + default: *421 '422': *31 '503': *101 '403': *40 - '301': *273 + '301': *274 '404': *36 - '410': *225 + '410': *226 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59847,9 +59848,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *261 - *262 - - *421 + - *263 + - *422 requestBody: required: false content: @@ -59877,7 +59878,7 @@ paths: application/json: schema: *118 examples: - default: *420 + default: *421 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59893,9 +59894,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *261 - *262 - - *421 + - *263 + - *422 requestBody: content: application/json: @@ -59922,7 +59923,7 @@ paths: application/json: schema: *118 examples: - default: *420 + default: *421 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59944,9 +59945,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: - - *261 - *262 - - *421 + - *263 + - *422 - name: assignee in: path required: true @@ -59986,9 +59987,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/comments#list-issue-comments parameters: - - *261 - *262 - - *421 + - *263 + - *422 - *108 - *4 - *5 @@ -59999,13 +60000,13 @@ paths: application/json: schema: type: array - items: *415 + items: *416 examples: - default: *422 + default: *423 headers: Link: *6 '404': *36 - '410': *225 + '410': *226 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60034,9 +60035,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/comments#create-an-issue-comment parameters: - - *261 - *262 - - *421 + - *263 + - *422 requestBody: required: true content: @@ -60058,16 +60059,16 @@ paths: description: Response content: application/json: - schema: *415 + schema: *416 examples: - default: *416 + default: *417 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *40 - '410': *225 + '410': *226 '422': *31 '404': *36 x-github: @@ -60087,9 +60088,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/events#list-issue-events parameters: - - *261 - *262 - - *421 + - *263 + - *422 - *4 - *5 responses: @@ -60103,7 +60104,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &425 + - &426 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -60157,7 +60158,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &426 + - &427 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -60293,7 +60294,7 @@ paths: - performed_via_github_app - assignee - assigner - - &427 + - &428 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -60344,7 +60345,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &428 + - &429 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -60395,7 +60396,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &429 + - &430 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -60449,7 +60450,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &430 + - &431 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -60483,7 +60484,7 @@ paths: properties: *103 required: *104 review_requester: *19 - requested_team: *263 + requested_team: *264 requested_reviewer: *19 required: - review_requester @@ -60496,7 +60497,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &431 + - &432 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -60530,7 +60531,7 @@ paths: properties: *103 required: *104 review_requester: *19 - requested_team: *263 + requested_team: *264 requested_reviewer: *19 required: - review_requester @@ -60543,7 +60544,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &432 + - &433 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -60603,7 +60604,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &433 + - &434 title: Locked Issue Event description: Locked Issue Event type: object @@ -60651,7 +60652,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &434 + - &435 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -60717,7 +60718,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &435 + - &436 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -60783,7 +60784,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &436 + - &437 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -60849,7 +60850,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &437 + - &438 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -60940,7 +60941,7 @@ paths: color: red headers: Link: *6 - '410': *225 + '410': *226 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60957,9 +60958,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#list-labels-for-an-issue parameters: - - *261 - *262 - - *421 + - *263 + - *422 - *4 - *5 responses: @@ -60969,7 +60970,7 @@ paths: application/json: schema: type: array - items: &423 + items: &424 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -61016,7 +61017,7 @@ paths: - color - default examples: - default: &424 + default: &425 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -61034,9 +61035,9 @@ paths: default: false headers: Link: *6 - '301': *273 + '301': *274 '404': *36 - '410': *225 + '410': *226 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61053,9 +61054,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#add-labels-to-an-issue parameters: - - *261 - *262 - - *421 + - *263 + - *422 requestBody: required: false content: @@ -61114,12 +61115,12 @@ paths: application/json: schema: type: array - items: *423 + items: *424 examples: - default: *424 - '301': *273 + default: *425 + '301': *274 '404': *36 - '410': *225 + '410': *226 '422': *31 x-github: githubCloudOnly: false @@ -61136,9 +61137,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#set-labels-for-an-issue parameters: - - *261 - *262 - - *421 + - *263 + - *422 requestBody: required: false content: @@ -61198,12 +61199,12 @@ paths: application/json: schema: type: array - items: *423 + items: *424 examples: - default: *424 - '301': *273 + default: *425 + '301': *274 '404': *36 - '410': *225 + '410': *226 '422': *31 x-github: githubCloudOnly: false @@ -61220,15 +61221,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: - - *261 - *262 - - *421 + - *263 + - *422 responses: '204': description: Response - '301': *273 + '301': *274 '404': *36 - '410': *225 + '410': *226 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61247,9 +61248,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: - - *261 - *262 - - *421 + - *263 + - *422 - name: name in: path required: true @@ -61262,7 +61263,7 @@ paths: application/json: schema: type: array - items: *423 + items: *424 examples: default: value: @@ -61273,9 +61274,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *273 + '301': *274 '404': *36 - '410': *225 + '410': *226 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61295,9 +61296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/issues#lock-an-issue parameters: - - *261 - *262 - - *421 + - *263 + - *422 requestBody: required: false content: @@ -61325,7 +61326,7 @@ paths: '204': description: Response '403': *40 - '410': *225 + '410': *226 '404': *36 '422': *31 x-github: @@ -61343,9 +61344,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/issues#unlock-an-issue parameters: - - *261 - *262 - - *421 + - *263 + - *422 responses: '204': description: Response @@ -61367,9 +61368,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *261 - *262 - - *421 + - *263 + - *422 - 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. @@ -61395,13 +61396,13 @@ paths: application/json: schema: type: array - items: *250 + items: *251 examples: - default: *252 + default: *253 headers: Link: *6 '404': *36 - '410': *225 + '410': *226 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61419,9 +61420,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *261 - *262 - - *421 + - *263 + - *422 requestBody: required: true content: @@ -61453,20 +61454,20 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 '201': description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 '422': *31 x-github: githubCloudOnly: false - enabledForGitHubApps: false + enabledForGitHubApps: true category: reactions subcategory: reactions "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": @@ -61484,10 +61485,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *261 - *262 - - *421 - - *253 + - *263 + - *422 + - *254 responses: '204': description: Response @@ -61507,9 +61508,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: - - *261 - *262 - - *421 + - *263 + - *422 - *4 - *5 responses: @@ -61524,7 +61525,6 @@ paths: description: Timeline Event type: object anyOf: - - *425 - *426 - *427 - *428 @@ -61537,6 +61537,7 @@ paths: - *435 - *436 - *437 + - *438 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -61837,7 +61838,7 @@ paths: type: string comments: type: array - items: &460 + items: &461 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -62046,7 +62047,7 @@ paths: type: string comments: type: array - items: *358 + items: *359 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -62335,7 +62336,7 @@ paths: headers: Link: *6 '404': *36 - '410': *225 + '410': *226 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62352,8 +62353,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -62363,7 +62364,7 @@ paths: application/json: schema: type: array - items: &438 + items: &439 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -62426,8 +62427,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: - - *261 - *262 + - *263 requestBody: required: true content: @@ -62463,9 +62464,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *439 examples: - default: &439 + default: &440 value: id: 1 key: ssh-rsa AAA... @@ -62498,9 +62499,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: - - *261 - *262 - - &440 + - *263 + - &441 name: key_id description: The unique identifier of the key. in: path @@ -62512,9 +62513,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *439 examples: - default: *439 + default: *440 '404': *36 x-github: githubCloudOnly: false @@ -62532,9 +62533,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: - - *261 - *262 - - *440 + - *263 + - *441 responses: '204': description: Response @@ -62554,8 +62555,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#list-labels-for-a-repository parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -62565,9 +62566,9 @@ paths: application/json: schema: type: array - items: *423 + items: *424 examples: - default: *424 + default: *425 headers: Link: *6 '404': *36 @@ -62588,8 +62589,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#create-a-label parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -62625,9 +62626,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: - default: &441 + default: &442 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -62659,8 +62660,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#get-a-label parameters: - - *261 - *262 + - *263 - name: name in: path required: true @@ -62671,9 +62672,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: - default: *441 + default: *442 '404': *36 x-github: githubCloudOnly: false @@ -62690,8 +62691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#update-a-label parameters: - - *261 - *262 + - *263 - name: name in: path required: true @@ -62730,7 +62731,7 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: default: value: @@ -62756,8 +62757,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/labels#delete-a-label parameters: - - *261 - *262 + - *263 - name: name in: path required: true @@ -62783,8 +62784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#list-repository-languages parameters: - - *261 - *262 + - *263 responses: '200': description: Response @@ -62820,8 +62821,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: - - *261 - *262 + - *263 responses: '202': *136 '403': @@ -62849,8 +62850,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: - - *261 - *262 + - *263 responses: '204': description: Response @@ -62876,8 +62877,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: - - *261 - *262 + - *263 responses: '200': description: Response @@ -63022,8 +63023,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: - - *261 - *262 + - *263 requestBody: required: true content: @@ -63088,8 +63089,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/branches/branches#merge-a-branch parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -63123,9 +63124,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *359 + schema: *360 examples: - default: *442 + default: *443 '204': description: Response when already merged '404': @@ -63150,8 +63151,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/milestones#list-milestones parameters: - - *261 - *262 + - *263 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -63192,12 +63193,12 @@ paths: application/json: schema: type: array - items: &443 + items: &444 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *363 - required: *364 + properties: *364 + required: *365 examples: default: value: @@ -63253,8 +63254,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/milestones#create-a-milestone parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -63294,9 +63295,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: - default: &444 + default: &445 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -63355,9 +63356,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/milestones#get-a-milestone parameters: - - *261 - *262 - - &445 + - *263 + - &446 name: milestone_number description: The number that identifies the milestone. in: path @@ -63369,9 +63370,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: - default: *444 + default: *445 '404': *36 x-github: githubCloudOnly: false @@ -63388,9 +63389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/milestones#update-a-milestone parameters: - - *261 - *262 - - *445 + - *263 + - *446 requestBody: required: false content: @@ -63428,9 +63429,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: - default: *444 + default: *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63446,9 +63447,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/issues/milestones#delete-a-milestone parameters: - - *261 - *262 - - *445 + - *263 + - *446 responses: '204': description: Response @@ -63469,9 +63470,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: - - *261 - *262 - - *445 + - *263 + - *446 - *4 - *5 responses: @@ -63481,9 +63482,9 @@ paths: application/json: schema: type: array - items: *423 + items: *424 examples: - default: *424 + default: *425 headers: Link: *6 x-github: @@ -63502,12 +63503,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: - - *261 - *262 - - *446 + - *263 - *447 - - *108 - *448 + - *108 + - *449 - *4 - *5 responses: @@ -63519,7 +63520,7 @@ paths: type: array items: *126 examples: - default: *449 + default: *450 headers: Link: *6 x-github: @@ -63543,8 +63544,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *261 - *262 + - *263 requestBody: required: false content: @@ -63602,14 +63603,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#get-a-apiname-pages-site parameters: - - *261 - *262 + - *263 responses: '200': description: Response content: application/json: - schema: &450 + schema: &451 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -63734,7 +63735,7 @@ paths: - custom_404 - public examples: - default: &451 + default: &452 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -63775,8 +63776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#create-a-apiname-pages-site parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -63830,9 +63831,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *451 examples: - default: *451 + default: *452 '422': *31 '409': *135 x-github: @@ -63855,8 +63856,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: - - *261 - *262 + - *263 requestBody: required: true content: @@ -63955,8 +63956,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *261 - *262 + - *263 responses: '204': description: Response @@ -63982,8 +63983,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#list-apiname-pages-builds parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -63993,7 +63994,7 @@ paths: application/json: schema: type: array - items: &452 + items: &453 title: Page Build description: Page Build type: object @@ -64087,8 +64088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#request-a-apiname-pages-build parameters: - - *261 - *262 + - *263 responses: '201': description: Response @@ -64133,16 +64134,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#get-latest-pages-build parameters: - - *261 - *262 + - *263 responses: '200': description: Response content: application/json: - schema: *452 + schema: *453 examples: - default: &453 + default: &454 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -64190,8 +64191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#get-apiname-pages-build parameters: - - *261 - *262 + - *263 - name: build_id in: path required: true @@ -64202,9 +64203,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *453 examples: - default: *453 + default: *454 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64224,8 +64225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pages/pages#create-a-github-pages-deployment parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -64317,8 +64318,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: - - *261 - *262 + - *263 - *4 - *5 - *9 @@ -64339,7 +64340,7 @@ paths: application/json: schema: type: array - items: &454 + items: &455 type: object properties: id: @@ -64373,17 +64374,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: - - *261 - *262 + - *263 - *16 responses: '200': description: Response content: application/json: - schema: *454 + schema: *455 examples: - default: &455 + default: &456 value: id: 42 name: Check Commits @@ -64405,15 +64406,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: - - *261 - *262 + - *263 - *16 responses: '200': description: Response content: application/json: - schema: *454 + schema: *455 examples: default: value: @@ -64457,8 +64458,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: - - *261 - *262 + - *263 - *16 responses: '200': @@ -64466,9 +64467,9 @@ paths: global level. content: application/json: - schema: *454 + schema: *455 examples: - default: *455 + default: *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64488,8 +64489,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/projects#list-repository-projects parameters: - - *261 - *262 + - *263 - name: state description: Indicates the state of the projects to return. in: query @@ -64510,7 +64511,7 @@ paths: application/json: schema: type: array - items: *224 + items: *225 examples: default: value: @@ -64550,7 +64551,7 @@ paths: '401': *38 '403': *40 '404': *36 - '410': *225 + '410': *226 '422': *81 x-github: githubCloudOnly: false @@ -64570,8 +64571,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/projects/projects#create-a-repository-project parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -64597,13 +64598,13 @@ paths: description: Response content: application/json: - schema: *224 + schema: *225 examples: - default: *270 + default: *271 '401': *38 '403': *40 '404': *36 - '410': *225 + '410': *226 '422': *81 x-github: githubCloudOnly: false @@ -64635,8 +64636,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#list-pull-requests parameters: - - *261 - *262 + - *263 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -64696,9 +64697,9 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: - default: *457 + default: *458 headers: Link: *6 '304': *39 @@ -64730,8 +64731,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#create-a-pull-request parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -64796,7 +64797,7 @@ paths: description: Response content: application/json: - schema: &462 + schema: &463 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -64907,8 +64908,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *363 - required: *364 + properties: *364 + required: *365 nullable: true active_lock_reason: type: string @@ -64953,7 +64954,7 @@ paths: nullable: true requested_teams: type: array - items: *458 + items: *459 nullable: true head: type: object @@ -64992,14 +64993,14 @@ paths: _links: type: object properties: - comments: *365 - commits: *365 - statuses: *365 - html: *365 - issue: *365 - review_comments: *365 - review_comment: *365 - self: *365 + comments: *366 + commits: *366 + statuses: *366 + html: *366 + issue: *366 + review_comments: *366 + review_comment: *366 + self: *366 required: - comments - commits @@ -65010,7 +65011,7 @@ paths: - review_comment - self author_association: *105 - auto_merge: *459 + auto_merge: *460 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -65102,7 +65103,7 @@ paths: - merged_by - review_comments examples: - default: &463 + default: &464 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -65629,8 +65630,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: - - *261 - *262 + - *263 - name: sort in: query required: false @@ -65659,9 +65660,9 @@ paths: application/json: schema: type: array - items: *460 + items: *461 examples: - default: &466 + default: &467 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -65738,17 +65739,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: - - *261 - *262 + - *263 - *117 responses: '200': description: Response content: application/json: - schema: *460 + schema: *461 examples: - default: &461 + default: &462 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -65823,8 +65824,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: - - *261 - *262 + - *263 - *117 requestBody: required: true @@ -65847,9 +65848,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *461 examples: - default: *461 + default: *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65865,8 +65866,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: - - *261 - *262 + - *263 - *117 responses: '204': @@ -65888,8 +65889,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: - - *261 - *262 + - *263 - *117 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#about-reactions). @@ -65916,9 +65917,9 @@ paths: application/json: schema: type: array - items: *250 + items: *251 examples: - default: *252 + default: *253 headers: Link: *6 '404': *36 @@ -65939,8 +65940,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: - - *261 - *262 + - *263 - *117 requestBody: required: true @@ -65973,16 +65974,16 @@ paths: description: Reaction exists content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 '201': description: Reaction created content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 '422': *31 x-github: githubCloudOnly: false @@ -66004,10 +66005,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: - - *261 - *262 + - *263 - *117 - - *253 + - *254 responses: '204': description: Response @@ -66050,9 +66051,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#get-a-pull-request parameters: - - *261 - *262 - - &464 + - *263 + - &465 name: pull_number description: The number that identifies the pull request. in: path @@ -66065,9 +66066,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *462 + schema: *463 examples: - default: *463 + default: *464 '304': *39 '404': *36 '406': @@ -66075,7 +66076,7 @@ paths: content: application/json: schema: *29 - '500': *213 + '500': *214 '503': *101 x-github: githubCloudOnly: false @@ -66102,9 +66103,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#update-a-pull-request parameters: - - *261 - *262 - - *464 + - *263 + - *465 requestBody: required: false content: @@ -66146,9 +66147,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *463 examples: - default: *463 + default: *464 '422': *31 '403': *40 x-github: @@ -66176,10 +66177,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: - - *261 - *262 - - *464 + - *263 - *465 + - *466 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -66199,9 +66200,9 @@ paths: application/json: schema: type: array - items: *460 + items: *461 examples: - default: *466 + default: *467 headers: Link: *6 x-github: @@ -66234,9 +66235,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: - - *261 - *262 - - *464 + - *263 + - *465 requestBody: required: true content: @@ -66341,7 +66342,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *461 examples: example-for-a-multi-line-comment: value: @@ -66429,9 +66430,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: - - *261 - *262 - - *464 + - *263 + - *465 - *117 requestBody: required: true @@ -66454,7 +66455,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *461 examples: default: value: @@ -66540,9 +66541,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: - - *261 - *262 - - *464 + - *263 + - *465 - *4 - *5 responses: @@ -66552,9 +66553,9 @@ paths: application/json: schema: type: array - items: *359 + items: *360 examples: - default: *467 + default: *468 headers: Link: *6 x-github: @@ -66584,9 +66585,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#list-pull-requests-files parameters: - - *261 - *262 - - *464 + - *263 + - *465 - *4 - *5 responses: @@ -66596,7 +66597,7 @@ paths: application/json: schema: type: array - items: *370 + items: *371 examples: default: value: @@ -66614,7 +66615,7 @@ paths: headers: Link: *6 '422': *31 - '500': *213 + '500': *214 '503': *101 x-github: githubCloudOnly: false @@ -66634,9 +66635,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: - - *261 - *262 - - *464 + - *263 + - *465 responses: '204': description: Response if pull request has been merged @@ -66659,9 +66660,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#merge-a-pull-request parameters: - - *261 - *262 - - *464 + - *263 + - *465 requestBody: required: false content: @@ -66772,9 +66773,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: - - *261 - *262 - - *464 + - *263 + - *465 responses: '200': description: Response @@ -66790,7 +66791,7 @@ paths: items: *19 teams: type: array - items: *263 + items: *264 required: - users - teams @@ -66849,9 +66850,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: - - *261 - *262 - - *464 + - *263 + - *465 requestBody: required: false content: @@ -66888,7 +66889,7 @@ paths: description: Response content: application/json: - schema: *456 + schema: *457 examples: default: value: @@ -67424,9 +67425,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: - - *261 - *262 - - *464 + - *263 + - *465 requestBody: required: true content: @@ -67460,7 +67461,7 @@ paths: description: Response content: application/json: - schema: *456 + schema: *457 examples: default: value: @@ -67965,9 +67966,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: - - *261 - *262 - - *464 + - *263 + - *465 - *4 - *5 responses: @@ -67977,7 +67978,7 @@ paths: application/json: schema: type: array - items: &468 + items: &469 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -68128,9 +68129,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: - - *261 - *262 - - *464 + - *263 + - *465 requestBody: required: false content: @@ -68216,9 +68217,9 @@ paths: description: Response content: application/json: - schema: *468 + schema: *469 examples: - default: &470 + default: &471 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -68281,10 +68282,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: - - *261 - *262 - - *464 - - &469 + - *263 + - *465 + - &470 name: review_id description: The unique identifier of the review. in: path @@ -68296,9 +68297,9 @@ paths: description: Response content: application/json: - schema: *468 + schema: *469 examples: - default: &471 + default: &472 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -68357,10 +68358,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: - - *261 - *262 - - *464 - - *469 + - *263 + - *465 + - *470 requestBody: required: true content: @@ -68383,7 +68384,7 @@ paths: description: Response content: application/json: - schema: *468 + schema: *469 examples: default: value: @@ -68445,18 +68446,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: - - *261 - *262 - - *464 - - *469 + - *263 + - *465 + - *470 responses: '200': description: Response content: application/json: - schema: *468 + schema: *469 examples: - default: *470 + default: *471 '422': *81 '404': *36 x-github: @@ -68483,10 +68484,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: - - *261 - *262 - - *464 - - *469 + - *263 + - *465 + - *470 - *4 - *5 responses: @@ -68569,9 +68570,9 @@ paths: _links: type: object properties: - self: *365 - html: *365 - pull_request: *365 + self: *366 + html: *366 + pull_request: *366 required: - self - html @@ -68714,10 +68715,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: - - *261 - *262 - - *464 - - *469 + - *263 + - *465 + - *470 requestBody: required: true content: @@ -68745,7 +68746,7 @@ paths: description: Response content: application/json: - schema: *468 + schema: *469 examples: default: value: @@ -68808,10 +68809,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: - - *261 - *262 - - *464 - - *469 + - *263 + - *465 + - *470 requestBody: required: true content: @@ -68846,9 +68847,9 @@ paths: description: Response content: application/json: - schema: *468 + schema: *469 examples: - default: *471 + default: *472 '404': *36 '422': *81 '403': *40 @@ -68870,9 +68871,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *261 - *262 - - *464 + - *263 + - *465 requestBody: required: false content: @@ -68935,8 +68936,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/contents#get-a-repository-readme parameters: - - *261 - *262 + - *263 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -68949,9 +68950,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *473 examples: - default: &473 + default: &474 value: type: file encoding: base64 @@ -68993,8 +68994,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: - - *261 - *262 + - *263 - name: dir description: The alternate path to look for a README file in: path @@ -69014,9 +69015,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *473 examples: - default: *473 + default: *474 '404': *36 '422': *31 x-github: @@ -69038,8 +69039,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/releases#list-releases parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -69049,7 +69050,7 @@ paths: application/json: schema: type: array - items: &474 + items: &475 title: Release description: A release. type: object @@ -69112,7 +69113,7 @@ paths: author: *19 assets: type: array - items: &475 + items: &476 title: Release Asset description: Data related to a release. type: object @@ -69289,8 +69290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/releases#create-a-release parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -69360,9 +69361,9 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: - default: &479 + default: &480 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -69460,9 +69461,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/assets#get-a-release-asset parameters: - - *261 - *262 - - &477 + - *263 + - &478 name: asset_id description: The unique identifier of the asset. in: path @@ -69474,9 +69475,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: - default: &478 + default: &479 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 @@ -69510,7 +69511,7 @@ paths: type: User site_admin: false '404': *36 - '302': *476 + '302': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69526,9 +69527,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/assets#update-a-release-asset parameters: - - *261 - *262 - - *477 + - *263 + - *478 requestBody: required: false content: @@ -69556,9 +69557,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: - default: *478 + default: *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69574,9 +69575,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/assets#delete-a-release-asset parameters: - - *261 - *262 - - *477 + - *263 + - *478 responses: '204': description: Response @@ -69600,8 +69601,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: - - *261 - *262 + - *263 requestBody: required: true content: @@ -69686,16 +69687,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/releases#get-the-latest-release parameters: - - *261 - *262 + - *263 responses: '200': description: Response content: application/json: - schema: *474 + schema: *475 examples: - default: *479 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69712,8 +69713,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: - - *261 - *262 + - *263 - name: tag description: tag parameter in: path @@ -69726,9 +69727,9 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: - default: *479 + default: *480 '404': *36 x-github: githubCloudOnly: false @@ -69750,9 +69751,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/releases#get-a-release parameters: - - *261 - *262 - - &480 + - *263 + - &481 name: release_id description: The unique identifier of the release. in: path @@ -69766,9 +69767,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: *474 + schema: *475 examples: - default: *479 + default: *480 '401': description: Unauthorized x-github: @@ -69786,9 +69787,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/releases#update-a-release parameters: - - *261 - *262 - - *480 + - *263 + - *481 requestBody: required: false content: @@ -69845,9 +69846,9 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: - default: *479 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69863,9 +69864,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/releases#delete-a-release parameters: - - *261 - *262 - - *480 + - *263 + - *481 responses: '204': description: Response @@ -69885,9 +69886,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/releases/assets#list-release-assets parameters: - - *261 - *262 - - *480 + - *263 + - *481 - *4 - *5 responses: @@ -69897,7 +69898,7 @@ paths: application/json: schema: type: array - items: *475 + items: *476 examples: default: value: @@ -69978,9 +69979,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: - - *261 - *262 - - *480 + - *263 + - *481 - name: name in: query required: true @@ -70006,7 +70007,7 @@ paths: description: Response for successful upload content: application/json: - schema: *475 + schema: *476 examples: response-for-successful-upload: value: @@ -70060,9 +70061,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *261 - *262 - - *480 + - *263 + - *481 - 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. @@ -70086,9 +70087,9 @@ paths: application/json: schema: type: array - items: *250 + items: *251 examples: - default: *252 + default: *253 headers: Link: *6 '404': *36 @@ -70109,9 +70110,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *261 - *262 - - *480 + - *263 + - *481 requestBody: required: true content: @@ -70141,16 +70142,16 @@ paths: description: Reaction exists content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 '201': description: Reaction created content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 '422': *31 x-github: githubCloudOnly: false @@ -70172,10 +70173,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#delete-a-release-reaction parameters: - - *261 - *262 - - *480 - - *253 + - *263 + - *481 + - *254 responses: '204': description: Response @@ -70195,8 +70196,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#list-repository-cache-replication-status parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -70272,17 +70273,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: - - *261 - *262 - - *229 + - *263 - *230 - *231 - *232 + - *233 - *9 - *5 - *4 - - *481 - *482 + - *483 responses: '200': description: Response @@ -70290,7 +70291,7 @@ paths: application/json: schema: type: array - items: &485 + items: &486 type: object properties: number: *91 @@ -70309,8 +70310,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *483 - resolution: *484 + state: *484 + resolution: *485 resolved_at: type: string format: date-time @@ -70453,15 +70454,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: - - *261 - *262 - - *347 + - *263 + - *348 responses: '200': description: Response content: application/json: - schema: *485 + schema: *486 examples: default: value: @@ -70500,9 +70501,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: - - *261 - *262 - - *347 + - *263 + - *348 requestBody: required: true content: @@ -70510,8 +70511,8 @@ paths: schema: type: object properties: - state: *483 - resolution: *484 + state: *484 + resolution: *485 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -70529,7 +70530,7 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: default: value: @@ -70595,9 +70596,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: - - *261 - *262 - - *347 + - *263 + - *348 - *5 - *4 responses: @@ -70608,7 +70609,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &611 + items: &612 type: object properties: type: @@ -70915,8 +70916,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/starring#list-stargazers parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -71012,8 +71013,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *261 - *262 + - *263 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -71022,7 +71023,7 @@ paths: application/json: schema: type: array - items: &486 + items: &487 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -71035,7 +71036,7 @@ paths: - 1124 - -435 '202': *136 - '204': *221 + '204': *222 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71053,8 +71054,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: - - *261 - *262 + - *263 responses: '200': description: Response @@ -71103,7 +71104,7 @@ paths: total: 89 week: 1336280400 '202': *136 - '204': *221 + '204': *222 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71127,8 +71128,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *261 - *262 + - *263 responses: '200': description: Response @@ -71202,7 +71203,7 @@ paths: d: 77 c: 10 '202': *136 - '204': *221 + '204': *222 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71224,8 +71225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *261 - *262 + - *263 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -71379,8 +71380,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: - - *261 - *262 + - *263 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -71390,7 +71391,7 @@ paths: application/json: schema: type: array - items: *486 + items: *487 examples: default: value: @@ -71403,7 +71404,7 @@ paths: - - 0 - 2 - 21 - '204': *221 + '204': *222 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71423,8 +71424,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/commits/statuses#create-a-commit-status parameters: - - *261 - *262 + - *263 - name: sha in: path required: true @@ -71478,7 +71479,7 @@ paths: description: Response content: application/json: - schema: *487 + schema: *488 examples: default: value: @@ -71532,8 +71533,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/watching#list-watchers parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -71545,7 +71546,7 @@ paths: type: array items: *19 examples: - default: *206 + default: *207 headers: Link: *6 x-github: @@ -71565,14 +71566,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/watching#get-a-repository-subscription parameters: - - *261 - *262 + - *263 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &488 + schema: &489 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -71640,8 +71641,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/watching#set-a-repository-subscription parameters: - - *261 - *262 + - *263 requestBody: required: false content: @@ -71667,7 +71668,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *489 examples: default: value: @@ -71694,8 +71695,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/activity/watching#delete-a-repository-subscription parameters: - - *261 - *262 + - *263 responses: '204': description: Response @@ -71715,8 +71716,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#list-repository-tags parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -71795,8 +71796,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: - - *261 - *262 + - *263 responses: '200': description: Response @@ -71804,7 +71805,7 @@ paths: application/json: schema: type: array - items: &489 + items: &490 title: Tag protection description: Tag protection type: object @@ -71856,8 +71857,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: - - *261 - *262 + - *263 requestBody: required: true content: @@ -71880,7 +71881,7 @@ paths: description: Response content: application/json: - schema: *489 + schema: *490 examples: default: value: @@ -71911,8 +71912,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: - - *261 - *262 + - *263 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -71949,8 +71950,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: - - *261 - *262 + - *263 - name: ref in: path required: true @@ -71986,8 +71987,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#list-repository-teams parameters: - - *261 - *262 + - *263 - *4 - *5 responses: @@ -71997,9 +71998,9 @@ paths: application/json: schema: type: array - items: *263 + items: *264 examples: - default: *241 + default: *242 headers: Link: *6 '404': *36 @@ -72019,8 +72020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#get-all-repository-topics parameters: - - *261 - *262 + - *263 - *5 - *4 responses: @@ -72028,7 +72029,7 @@ paths: description: Response content: application/json: - schema: &490 + schema: &491 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -72040,7 +72041,7 @@ paths: required: - names examples: - default: &491 + default: &492 value: names: - octocat @@ -72063,8 +72064,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#replace-all-repository-topics parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -72095,9 +72096,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *491 examples: - default: *491 + default: *492 '404': *36 '422': *81 x-github: @@ -72120,8 +72121,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#transfer-a-repository parameters: - - *261 - *262 + - *263 requestBody: required: true content: @@ -72395,8 +72396,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: - - *261 - *262 + - *263 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -72419,8 +72420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#enable-vulnerability-alerts parameters: - - *261 - *262 + - *263 responses: '204': description: Response @@ -72442,8 +72443,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/repos/repos#disable-vulnerability-alerts parameters: - - *261 - *262 + - *263 responses: '204': description: Response @@ -72469,8 +72470,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: - - *261 - *262 + - *263 - name: ref in: path required: true @@ -72562,9 +72563,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: - default: *274 + default: *275 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -72738,7 +72739,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &499 + - &500 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -72747,7 +72748,7 @@ paths: schema: type: string example: members - - &504 + - &505 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -72758,7 +72759,7 @@ paths: default: 1 format: int32 example: 1 - - &505 + - &506 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -72800,7 +72801,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &493 + items: &494 allOf: - type: object required: @@ -72875,7 +72876,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: &506 + meta: &507 type: object description: The metadata associated with the creation/updates to the user. @@ -72935,31 +72936,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &494 + '400': &495 description: Bad request content: application/json: - schema: *492 + schema: *493 application/scim+json: - schema: *492 - '401': &495 + schema: *493 + '401': &496 description: Authorization failure - '403': &496 + '403': &497 description: Permission denied - '429': &497 + '429': &498 description: Too many requests content: application/json: - schema: *492 + schema: *493 application/scim+json: - schema: *492 - '500': &498 + schema: *493 + '500': &499 description: Internal server error content: application/json: - schema: *492 + schema: *493 application/scim+json: - schema: *492 + schema: *493 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -72986,7 +72987,7 @@ paths: required: true content: application/json: - schema: &502 + schema: &503 type: object required: - schemas @@ -73042,9 +73043,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *493 + schema: *494 examples: - group: &500 + group: &501 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -73063,13 +73064,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': *494 - '401': *495 - '403': *496 - '409': &503 + '400': *495 + '401': *496 + '403': *497 + '409': &504 description: Duplicate record detected - '429': *497 - '500': *498 + '429': *498 + '500': *499 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -73090,7 +73091,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: - - &501 + - &502 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -73098,22 +73099,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *499 + - *500 - *62 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *493 + schema: *494 examples: - default: *500 - '400': *494 - '401': *495 - '403': *496 + default: *501 + '400': *495 + '401': *496 + '403': *497 '404': *36 - '429': *497 - '500': *498 + '429': *498 + '500': *499 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -73135,13 +73136,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: - - *501 + - *502 - *62 requestBody: required: true content: application/json: - schema: *502 + schema: *503 examples: group: summary: Group @@ -73167,17 +73168,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *493 + schema: *494 examples: - group: *500 - groupWithMembers: *500 - '400': *494 - '401': *495 - '403': *496 + group: *501 + groupWithMembers: *501 + '400': *495 + '401': *496 + '403': *497 '404': *36 - '409': *503 - '429': *497 - '500': *498 + '409': *504 + '429': *498 + '500': *499 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -73201,13 +73202,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: - - *501 + - *502 - *62 requestBody: required: true content: application/json: - schema: &513 + schema: &514 type: object required: - Operations @@ -73267,17 +73268,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *493 + schema: *494 examples: - updateGroup: *500 - addMembers: *500 - '400': *494 - '401': *495 - '403': *496 + updateGroup: *501 + addMembers: *501 + '400': *495 + '401': *496 + '403': *497 '404': *36 - '409': *503 - '429': *497 - '500': *498 + '409': *504 + '429': *498 + '500': *499 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -73297,17 +73298,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: - - *501 + - *502 - *62 responses: '204': description: Group was deleted, no content - '400': *494 - '401': *495 - '403': *496 + '400': *495 + '401': *496 + '403': *497 '404': *36 - '429': *497 - '500': *498 + '429': *498 + '500': *499 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -73344,8 +73345,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *504 - *505 + - *506 - *62 responses: '200': @@ -73378,7 +73379,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &508 + items: &509 allOf: - type: object required: @@ -73457,7 +73458,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &507 + roles: &508 type: array description: The roles assigned to the user. items: @@ -73513,7 +73514,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *506 + meta: *507 startIndex: type: integer description: A starting index for the returned page @@ -73550,11 +73551,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *494 - '401': *495 - '403': *496 - '429': *497 - '500': *498 + '400': *495 + '401': *496 + '403': *497 + '429': *498 + '500': *499 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -73583,7 +73584,7 @@ paths: required: true content: application/json: - schema: &511 + schema: &512 type: object required: - schemas @@ -73665,9 +73666,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *507 + roles: *508 examples: - user: &512 + user: &513 summary: User value: schemas: @@ -73714,9 +73715,9 @@ paths: description: User has been created content: application/scim+json: - schema: *508 + schema: *509 examples: - user: &509 + user: &510 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -73742,13 +73743,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: *509 - '400': *494 - '401': *495 - '403': *496 - '409': *503 - '429': *497 - '500': *498 + enterpriseOwner: *510 + '400': *495 + '401': *496 + '403': *497 + '409': *504 + '429': *498 + '500': *499 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -73769,7 +73770,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: - - &510 + - &511 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -73782,15 +73783,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *508 + schema: *509 examples: - default: *509 - '400': *494 - '401': *495 - '403': *496 + default: *510 + '400': *495 + '401': *496 + '403': *497 '404': *36 - '429': *497 - '500': *498 + '429': *498 + '500': *499 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -73815,30 +73816,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: - - *510 + - *511 - *62 requestBody: required: true content: application/json: - schema: *511 + schema: *512 examples: - user: *512 + user: *513 responses: '200': description: User was updated content: application/scim+json: - schema: *508 + schema: *509 examples: - user: *509 - '400': *494 - '401': *495 - '403': *496 + user: *510 + '400': *495 + '401': *496 + '403': *497 '404': *36 - '409': *503 - '429': *497 - '500': *498 + '409': *504 + '429': *498 + '500': *499 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -73876,13 +73877,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: - - *510 + - *511 - *62 requestBody: required: true content: application/json: - schema: *513 + schema: *514 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -73922,18 +73923,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *508 - examples: - userMultiValuedProperties: *509 - userSingleValuedProperties: *509 - disableUser: *509 - '400': *494 - '401': *495 - '403': *496 + schema: *509 + examples: + userMultiValuedProperties: *510 + userSingleValuedProperties: *510 + disableUser: *510 + '400': *495 + '401': *496 + '403': *497 '404': *36 - '409': *503 - '429': *497 - '500': *498 + '409': *504 + '429': *498 + '500': *499 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -73953,17 +73954,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: - - *510 + - *511 - *62 responses: '204': description: User was deleted, no content - '400': *494 - '401': *495 - '403': *496 + '400': *495 + '401': *496 + '403': *497 '404': *36 - '429': *497 - '500': *498 + '429': *498 + '500': *499 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -74090,7 +74091,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &514 + text_matches: &515 title: Search Result Text Matches type: array items: @@ -74253,7 +74254,7 @@ paths: enum: - author-date - committer-date - - &515 + - &516 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 @@ -74324,7 +74325,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *317 + properties: *318 nullable: true comment_count: type: integer @@ -74344,7 +74345,7 @@ paths: url: type: string format: uri - verification: *406 + verification: *407 required: - author - committer @@ -74363,7 +74364,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *317 + properties: *318 nullable: true parents: type: array @@ -74381,7 +74382,7 @@ paths: type: number node_id: type: string - text_matches: *514 + text_matches: *515 required: - sha - node_id @@ -74574,7 +74575,7 @@ paths: - interactions - created - updated - - *515 + - *516 - *4 - *5 responses: @@ -74693,8 +74694,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *363 - required: *364 + properties: *364 + required: *365 nullable: true comments: type: integer @@ -74708,7 +74709,7 @@ paths: type: string format: date-time nullable: true - text_matches: *514 + text_matches: *515 pull_request: type: object properties: @@ -74932,7 +74933,7 @@ paths: enum: - created - updated - - *515 + - *516 - *4 - *5 responses: @@ -74976,7 +74977,7 @@ paths: nullable: true score: type: number - text_matches: *514 + text_matches: *515 required: - id - node_id @@ -75062,7 +75063,7 @@ paths: - forks - help-wanted-issues - updated - - *515 + - *516 - *4 - *5 responses: @@ -75301,7 +75302,7 @@ paths: - admin - pull - push - text_matches: *514 + text_matches: *515 temp_clone_token: type: string allow_merge_commit: @@ -75602,7 +75603,7 @@ paths: type: string format: uri nullable: true - text_matches: *514 + text_matches: *515 related: type: array nullable: true @@ -75795,7 +75796,7 @@ paths: - followers - repositories - joined - - *515 + - *516 - *4 - *5 responses: @@ -75899,7 +75900,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *514 + text_matches: *515 blog: type: string nullable: true @@ -76094,7 +76095,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &517 type: object properties: status: @@ -76114,7 +76115,7 @@ paths: - name - number examples: - default: &517 + default: &518 value: status: scheduled scheduled_time: Tuesday, January 22 at 15:34 -0800 @@ -76159,9 +76160,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: *517 + default: *518 '401': description: Unauthorized requestBody: @@ -76725,7 +76726,7 @@ paths: application/json: schema: type: array - items: &518 + items: &519 type: object properties: key: @@ -76733,7 +76734,7 @@ paths: pretty-print: type: string examples: - default: &519 + default: &520 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 @@ -76776,9 +76777,9 @@ paths: application/json: schema: type: array - items: *518 + items: *519 examples: - default: *519 + default: *520 '401': description: Unauthorized requestBody: @@ -76830,9 +76831,9 @@ paths: application/json: schema: type: array - items: *518 + items: *519 examples: - default: *519 + default: *520 '401': description: Unauthorized requestBody: @@ -76989,9 +76990,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *243 examples: - default: *243 + default: *244 '404': *36 x-github: githubCloudOnly: false @@ -77081,16 +77082,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *242 + schema: *243 examples: - default: *243 + default: *244 '201': description: Response content: application/json: - schema: *242 + schema: *243 examples: - default: *243 + default: *244 '404': *36 '422': *31 '403': *40 @@ -77160,9 +77161,9 @@ paths: application/json: schema: type: array - items: *244 + items: *245 examples: - default: *520 + default: *521 headers: Link: *6 x-github: @@ -77225,9 +77226,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: *245 + default: *246 x-github: triggersNotification: true githubCloudOnly: false @@ -77255,15 +77256,15 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussions#get-a-discussion-legacy parameters: - *7 - - *246 + - *247 responses: '200': description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: *245 + default: *246 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77289,7 +77290,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussions#update-a-discussion-legacy parameters: - *7 - - *246 + - *247 requestBody: required: false content: @@ -77312,9 +77313,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: *521 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77340,7 +77341,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussions#delete-a-discussion-legacy parameters: - *7 - - *246 + - *247 responses: '204': description: Response @@ -77370,7 +77371,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - *7 - - *246 + - *247 - *9 - *4 - *5 @@ -77381,9 +77382,9 @@ paths: application/json: schema: type: array - items: *247 + items: *248 examples: - default: *522 + default: *523 headers: Link: *6 x-github: @@ -77413,7 +77414,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - *7 - - *246 + - *247 requestBody: required: true content: @@ -77435,9 +77436,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 x-github: triggersNotification: true githubCloudOnly: false @@ -77465,16 +77466,16 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - *7 - - *246 - - *249 + - *247 + - *250 responses: '200': description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77500,8 +77501,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - *7 - - *246 - - *249 + - *247 + - *250 requestBody: required: true content: @@ -77523,9 +77524,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *523 + default: *524 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77551,8 +77552,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - *7 - - *246 - - *249 + - *247 + - *250 responses: '204': description: Response @@ -77582,8 +77583,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - *7 - - *246 - - *249 + - *247 + - *250 - 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. @@ -77609,9 +77610,9 @@ paths: application/json: schema: type: array - items: *250 + items: *251 examples: - default: *252 + default: *253 headers: Link: *6 x-github: @@ -77641,8 +77642,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - *7 - - *246 - - *249 + - *247 + - *250 requestBody: required: true content: @@ -77674,9 +77675,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77703,7 +77704,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - *7 - - *246 + - *247 - 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. @@ -77729,9 +77730,9 @@ paths: application/json: schema: type: array - items: *250 + items: *251 examples: - default: *252 + default: *253 headers: Link: *6 x-github: @@ -77761,7 +77762,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - *7 - - *246 + - *247 requestBody: required: true content: @@ -77793,9 +77794,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -77842,7 +77843,7 @@ paths: type: array items: *19 examples: - default: *206 + default: *207 headers: Link: *6 '404': *36 @@ -77991,9 +77992,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - response-if-user-is-a-team-maintainer: *524 + response-if-user-is-a-team-maintainer: *525 '404': *36 x-github: githubCloudOnly: false @@ -78052,9 +78053,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - response-if-users-membership-with-team-is-now-pending: *525 + response-if-users-membership-with-team-is-now-pending: *526 '403': description: Forbidden if team synchronization is set up '422': @@ -78128,9 +78129,9 @@ paths: application/json: schema: type: array - items: *259 + items: *260 examples: - default: *526 + default: *527 headers: Link: *6 '404': *36 @@ -78158,15 +78159,15 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - *7 - - *260 + - *261 responses: '200': description: Response content: application/json: - schema: *259 + schema: *260 examples: - default: *527 + default: *528 '404': description: Not Found if project is not managed by this team x-github: @@ -78192,7 +78193,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - *7 - - *260 + - *261 requestBody: required: false content: @@ -78261,7 +78262,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - *7 - - *260 + - *261 responses: '204': description: Response @@ -78300,7 +78301,7 @@ paths: type: array items: *148 examples: - default: *214 + default: *215 headers: Link: *6 '404': *36 @@ -78331,14 +78332,14 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - *7 - - *261 - *262 + - *263 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *528 + schema: *529 examples: alternative-response-with-extra-repository-information: value: @@ -78490,8 +78491,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - *7 - - *261 - *262 + - *263 requestBody: required: false content: @@ -78542,8 +78543,8 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - *7 - - *261 - *262 + - *263 responses: '204': description: Response @@ -78578,9 +78579,9 @@ paths: application/json: schema: type: array - items: *263 + items: *264 examples: - response-if-child-teams-exist: *529 + response-if-child-teams-exist: *530 headers: Link: *6 '404': *36 @@ -78613,7 +78614,7 @@ paths: application/json: schema: oneOf: - - &531 + - &532 title: Private User description: Private User type: object @@ -78816,7 +78817,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *530 + - *531 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -78967,7 +78968,7 @@ paths: description: Response content: application/json: - schema: *531 + schema: *532 examples: default: value: @@ -79043,9 +79044,9 @@ paths: application/json: schema: type: array - items: *207 + items: *208 examples: - default: &541 + default: &542 value: - id: 197 name: hello_docker @@ -79132,7 +79133,7 @@ paths: application/json: schema: type: array - items: &532 + items: &533 title: Email description: Email type: object @@ -79157,7 +79158,7 @@ paths: - verified - visibility examples: - default: &543 + default: &544 value: - email: octocat@github.com verified: true @@ -79232,7 +79233,7 @@ paths: application/json: schema: type: array - items: *532 + items: *533 examples: default: value: @@ -79342,7 +79343,7 @@ paths: type: array items: *19 examples: - default: *206 + default: *207 headers: Link: *6 '304': *39 @@ -79375,7 +79376,7 @@ paths: type: array items: *19 examples: - default: *206 + default: *207 headers: Link: *6 '304': *39 @@ -79488,7 +79489,7 @@ paths: application/json: schema: type: array - items: &533 + items: &534 title: GPG Key description: A unique encryption key type: object @@ -79619,7 +79620,7 @@ paths: - subkeys - revoked examples: - default: &553 + default: &554 value: - id: 3 name: Octocat's GPG Key @@ -79704,9 +79705,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *534 examples: - default: &534 + default: &535 value: id: 3 name: Octocat's GPG Key @@ -79763,7 +79764,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: - - &535 + - &536 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -79775,9 +79776,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *534 examples: - default: *534 + default: *535 '404': *36 '304': *39 '403': *40 @@ -79800,7 +79801,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: - - *535 + - *536 responses: '204': description: Response @@ -79991,7 +79992,7 @@ paths: type: array items: *82 examples: - default: *536 + default: *537 headers: Link: *6 '404': *36 @@ -80109,7 +80110,7 @@ paths: - closed - all default: open - - *200 + - *201 - name: sort description: What to sort results by. in: query @@ -80134,7 +80135,7 @@ paths: type: array items: *118 examples: - default: *201 + default: *202 headers: Link: *6 '404': *36 @@ -80167,7 +80168,7 @@ paths: application/json: schema: type: array - items: &537 + items: &538 title: Key description: Key type: object @@ -80264,9 +80265,9 @@ paths: description: Response content: application/json: - schema: *537 + schema: *538 examples: - default: &538 + default: &539 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -80299,15 +80300,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: - - *440 + - *441 responses: '200': description: Response content: application/json: - schema: *537 + schema: *538 examples: - default: *538 + default: *539 '404': *36 '304': *39 '403': *40 @@ -80330,7 +80331,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: - - *440 + - *441 responses: '204': description: Response @@ -80373,7 +80374,7 @@ paths: application/json: schema: type: array - items: *202 + items: *203 examples: default: value: @@ -80481,7 +80482,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *203 examples: default: value: @@ -80564,7 +80565,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *203 examples: default: value: @@ -80632,7 +80633,7 @@ paths: application/json: schema: type: array - items: *204 + items: *205 examples: default: value: @@ -80885,7 +80886,7 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: default: value: @@ -81078,7 +81079,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/migrations/users#download-a-user-migration-archive parameters: - - *205 + - *206 responses: '302': description: Response @@ -81101,7 +81102,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: - - *205 + - *206 - *4 - *5 responses: @@ -81113,7 +81114,7 @@ paths: type: array items: *148 examples: - default: *214 + default: *215 headers: Link: *6 '404': *36 @@ -81150,7 +81151,7 @@ paths: type: array items: *67 examples: - default: *539 + default: *540 headers: Link: *6 '304': *39 @@ -81192,7 +81193,7 @@ paths: - docker - nuget - container - - *540 + - *541 - *5 - *4 responses: @@ -81202,10 +81203,10 @@ paths: application/json: schema: type: array - items: *207 + items: *208 examples: - default: *541 - '400': *542 + default: *542 + '400': *543 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -81225,16 +81226,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: - - *209 - *210 + - *211 responses: '200': description: Response content: application/json: - schema: *207 + schema: *208 examples: - default: &554 + default: &555 value: id: 40201 name: octo-name @@ -81347,8 +81348,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: - - *209 - *210 + - *211 responses: '204': description: Response @@ -81378,8 +81379,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: - - *209 - *210 + - *211 - name: token description: package token schema: @@ -81411,8 +81412,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: - - *209 - *210 + - *211 - *5 - *4 - name: state @@ -81432,7 +81433,7 @@ paths: application/json: schema: type: array - items: *211 + items: *212 examples: default: value: @@ -81481,15 +81482,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: - - *209 - *210 - - *212 + - *211 + - *213 responses: '200': description: Response content: application/json: - schema: *211 + schema: *212 examples: default: value: @@ -81525,9 +81526,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: - - *209 - *210 - - *212 + - *211 + - *213 responses: '204': description: Response @@ -81557,9 +81558,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: - - *209 - *210 - - *212 + - *211 + - *213 responses: '204': description: Response @@ -81615,7 +81616,7 @@ paths: description: Response content: application/json: - schema: *224 + schema: *225 examples: default: value: @@ -81684,9 +81685,9 @@ paths: application/json: schema: type: array - items: *532 + items: *533 examples: - default: *543 + default: *544 headers: Link: *6 '304': *39 @@ -81799,7 +81800,7 @@ paths: type: array items: *82 examples: - default: &550 + default: &551 summary: Default response value: - id: 1296269 @@ -82101,9 +82102,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: - default: *274 + default: *275 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -82141,9 +82142,9 @@ paths: application/json: schema: type: array - items: *413 + items: *414 examples: - default: *544 + default: *545 headers: Link: *6 '304': *39 @@ -82166,7 +82167,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *414 + - *415 responses: '204': description: Response @@ -82189,7 +82190,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.10/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *414 + - *415 responses: '204': description: Response @@ -82222,7 +82223,7 @@ paths: application/json: schema: type: array - items: &545 + items: &546 title: Social account description: Social media account type: object @@ -82237,7 +82238,7 @@ paths: - provider - url examples: - default: &546 + default: &547 value: - provider: twitter url: https://twitter.com/github @@ -82299,9 +82300,9 @@ paths: application/json: schema: type: array - items: *545 + items: *546 examples: - default: *546 + default: *547 '422': *31 '304': *39 '404': *36 @@ -82388,7 +82389,7 @@ paths: application/json: schema: type: array - items: &547 + items: &548 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -82408,7 +82409,7 @@ paths: - title - created_at examples: - default: &555 + default: &556 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -82474,9 +82475,9 @@ paths: description: Response content: application/json: - schema: *547 + schema: *548 examples: - default: &548 + default: &549 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -82507,7 +82508,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: - - &549 + - &550 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -82519,9 +82520,9 @@ paths: description: Response content: application/json: - schema: *547 + schema: *548 examples: - default: *548 + default: *549 '404': *36 '304': *39 '403': *40 @@ -82544,7 +82545,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: - - *549 + - *550 responses: '204': description: Response @@ -82573,7 +82574,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: - - &556 + - &557 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 @@ -82598,11 +82599,11 @@ paths: type: array items: *82 examples: - default-response: *550 + default-response: *551 application/vnd.github.v3.star+json: schema: type: array - items: &557 + items: &558 title: Starred Repository description: Starred Repository type: object @@ -82758,8 +82759,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: - - *261 - *262 + - *263 responses: '204': description: Response if this repository is starred by you @@ -82787,8 +82788,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: - - *261 - *262 + - *263 responses: '204': description: Response @@ -82812,8 +82813,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: - - *261 - *262 + - *263 responses: '204': description: Response @@ -82848,7 +82849,7 @@ paths: type: array items: *148 examples: - default: *214 + default: *215 headers: Link: *6 '304': *39 @@ -82885,7 +82886,7 @@ paths: application/json: schema: type: array - items: *242 + items: *243 examples: default: value: @@ -82972,10 +82973,10 @@ paths: application/json: schema: oneOf: + - *532 - *531 - - *530 examples: - default-response: &551 + default-response: &552 summary: Default response value: login: octocat @@ -83010,7 +83011,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &552 + response-with-git-hub-plan-information: &553 summary: Response with GitHub plan information value: login: octocat @@ -83086,7 +83087,7 @@ paths: type: array items: *19 examples: - default: *206 + default: *207 headers: Link: example: ; rel="next" @@ -83122,11 +83123,11 @@ paths: application/json: schema: oneOf: + - *532 - *531 - - *530 examples: - default-response: *551 - response-with-git-hub-plan-information: *552 + default-response: *552 + response-with-git-hub-plan-information: *553 '404': *36 x-github: githubCloudOnly: false @@ -83155,9 +83156,9 @@ paths: application/json: schema: type: array - items: *207 + items: *208 examples: - default: *541 + default: *542 '403': *40 '401': *38 x-github: @@ -83440,7 +83441,7 @@ paths: type: array items: *19 examples: - default: *206 + default: *207 headers: Link: *6 x-github: @@ -83471,7 +83472,7 @@ paths: type: array items: *19 examples: - default: *206 + default: *207 headers: Link: *6 x-github: @@ -83561,9 +83562,9 @@ paths: application/json: schema: type: array - items: *533 + items: *534 examples: - default: *553 + default: *554 headers: Link: *6 x-github: @@ -83667,7 +83668,7 @@ paths: application/json: schema: *35 examples: - default: *412 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -83745,7 +83746,7 @@ paths: type: array items: *67 examples: - default: *539 + default: *540 headers: Link: *6 x-github: @@ -83784,7 +83785,7 @@ paths: - docker - nuget - container - - *540 + - *541 - *8 - *5 - *4 @@ -83795,12 +83796,12 @@ paths: application/json: schema: type: array - items: *207 + items: *208 examples: - default: *541 + default: *542 '403': *40 '401': *38 - '400': *542 + '400': *543 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -83820,17 +83821,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: - - *209 - *210 + - *211 - *8 responses: '200': description: Response content: application/json: - schema: *207 + schema: *208 examples: - default: *554 + default: *555 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -83851,8 +83852,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: - - *209 - *210 + - *211 - *8 responses: '204': @@ -83885,8 +83886,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: - - *209 - *210 + - *211 - *8 - name: token description: package token @@ -83919,8 +83920,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: - - *209 - *210 + - *211 - *8 responses: '200': @@ -83929,7 +83930,7 @@ paths: application/json: schema: type: array - items: *211 + items: *212 examples: default: value: @@ -83987,16 +83988,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: - - *209 - *210 - - *212 + - *211 + - *213 - *8 responses: '200': description: Response content: application/json: - schema: *211 + schema: *212 examples: default: value: @@ -84031,10 +84032,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: - - *209 - *210 + - *211 - *8 - - *212 + - *213 responses: '204': description: Response @@ -84066,10 +84067,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: - - *209 - *210 + - *211 - *8 - - *212 + - *213 responses: '204': description: Response @@ -84113,7 +84114,7 @@ paths: application/json: schema: type: array - items: *224 + items: *225 examples: default: value: @@ -84393,7 +84394,7 @@ paths: type: array items: *148 examples: - default: *214 + default: *215 headers: Link: *6 x-github: @@ -84463,9 +84464,9 @@ paths: application/json: schema: type: array - items: *545 + items: *546 examples: - default: *546 + default: *547 headers: Link: *6 x-github: @@ -84495,9 +84496,9 @@ paths: application/json: schema: type: array - items: *547 + items: *548 examples: - default: *555 + default: *556 headers: Link: *6 x-github: @@ -84522,7 +84523,7 @@ paths: url: https://docs.github.com/enterprise-server@3.10/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *8 - - *556 + - *557 - *9 - *4 - *5 @@ -84534,11 +84535,11 @@ paths: schema: anyOf: - type: array - items: *557 + items: *558 - type: array items: *82 examples: - default-response: *550 + default-response: *551 headers: Link: *6 x-github: @@ -84569,7 +84570,7 @@ paths: type: array items: *148 examples: - default: *214 + default: *215 headers: Link: *6 x-github: @@ -84756,7 +84757,7 @@ x-webhooks: type: string enum: - created - enterprise: &558 + enterprise: &559 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -84814,7 +84815,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &559 + installation: &560 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -84833,7 +84834,7 @@ x-webhooks: required: - id - node_id - organization: &560 + organization: &561 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -84893,13 +84894,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &561 + repository: &562 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &587 + properties: &588 id: description: Unique identifier of the repository example: 42 @@ -85576,7 +85577,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &588 + required: &589 - archive_url - assignees_url - blobs_url @@ -85650,7 +85651,7 @@ x-webhooks: - watchers_count - created_at - updated_at - rule: &562 + rule: &563 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) @@ -85867,11 +85868,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 - rule: *562 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 + rule: *563 sender: *19 required: - action @@ -86045,11 +86046,11 @@ x-webhooks: - everyone required: - from - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 - rule: *562 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 + rule: *563 sender: *19 required: - action @@ -86134,12 +86135,12 @@ x-webhooks: type: string cache_location: type: string - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 ref: type: string - repository: *561 + repository: *562 sender: *19 required: - cache_location @@ -86233,7 +86234,7 @@ x-webhooks: type: string enum: - completed - check_run: &564 + check_run: &565 title: CheckRun description: A check performed on the code of a given code change type: object @@ -86296,7 +86297,7 @@ x-webhooks: type: string pull_requests: type: array - items: *330 + items: *331 repository: *148 status: example: completed @@ -86334,7 +86335,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *563 + deployment: *564 details_url: example: https://example.com type: string @@ -86384,7 +86385,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *330 + items: *331 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -86419,9 +86420,9 @@ x-webhooks: - output - app - pull_requests - installation: *559 - organization: *560 - repository: *561 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - check_run @@ -86824,10 +86825,10 @@ x-webhooks: type: string enum: - created - check_run: *564 - installation: *559 - organization: *560 - repository: *561 + check_run: *565 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - check_run @@ -87233,10 +87234,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *564 - installation: *559 - organization: *560 - repository: *561 + check_run: *565 + installation: *560 + organization: *561 + repository: *562 requested_action: description: The action requested by the user. type: object @@ -87651,10 +87652,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *564 - installation: *559 - organization: *560 - repository: *561 + check_run: *565 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - check_run @@ -88641,10 +88642,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -89324,10 +89325,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -90001,10 +90002,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -90177,7 +90178,7 @@ x-webhooks: required: - login - id - dismissed_comment: *343 + dismissed_comment: *344 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -90322,20 +90323,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &565 + commit_oid: &566 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: *558 - installation: *559 - organization: *560 - ref: &566 + enterprise: *559 + installation: *560 + organization: *561 + ref: &567 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: *561 + repository: *562 sender: *19 required: - action @@ -90507,7 +90508,7 @@ x-webhooks: required: - login - id - dismissed_comment: *343 + dismissed_comment: *344 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -90668,12 +90669,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *565 - enterprise: *558 - installation: *559 - organization: *560 - ref: *566 - repository: *561 + commit_oid: *566 + enterprise: *559 + installation: *560 + organization: *561 + ref: *567 + repository: *562 sender: *19 required: - action @@ -90778,7 +90779,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *343 + dismissed_comment: *344 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -90944,12 +90945,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *565 - enterprise: *558 - installation: *559 - organization: *560 - ref: *566 - repository: *561 + commit_oid: *566 + enterprise: *559 + installation: *560 + organization: *561 + ref: *567 + repository: *562 sender: *19 required: - action @@ -91122,7 +91123,7 @@ x-webhooks: required: - login - id - dismissed_comment: *343 + dismissed_comment: *344 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -91288,12 +91289,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *565 - enterprise: *558 - installation: *559 - organization: *560 - ref: *566 - repository: *561 + commit_oid: *566 + enterprise: *559 + installation: *560 + organization: *561 + ref: *567 + repository: *562 sender: *19 required: - action @@ -91400,7 +91401,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *343 + dismissed_comment: *344 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -91568,16 +91569,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 ref: 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 nullable: true - repository: *561 + repository: *562 sender: *19 required: - action @@ -91681,7 +91682,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *343 + dismissed_comment: *344 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -91821,12 +91822,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *565 - enterprise: *558 - installation: *559 - organization: *560 - ref: *566 - repository: *561 + commit_oid: *566 + enterprise: *559 + installation: *560 + organization: *561 + ref: *567 + repository: *562 sender: *19 required: - action @@ -92093,10 +92094,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -92186,18 +92187,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *560 - pusher_type: &567 + organization: *561 + pusher_type: &568 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &568 + ref: &569 description: The [`git ref`](https://docs.github.com/enterprise-server@3.10/rest/git/refs#get-a-reference) resource. type: string @@ -92207,7 +92208,7 @@ x-webhooks: enum: - tag - branch - repository: *561 + repository: *562 sender: *19 required: - ref @@ -92296,18 +92297,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *558 - installation: *559 - organization: *560 - pusher_type: *567 - ref: *568 + enterprise: *559 + installation: *560 + organization: *561 + pusher_type: *568 + ref: *569 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *561 + repository: *562 sender: *19 required: - ref @@ -92402,11 +92403,11 @@ x-webhooks: type: string enum: - created - alert: *375 - installation: *559 - organization: *560 - enterprise: *558 - repository: *561 + alert: *376 + installation: *560 + organization: *561 + enterprise: *559 + repository: *562 sender: *19 required: - action @@ -92498,11 +92499,11 @@ x-webhooks: type: string enum: - dismissed - alert: *375 - installation: *559 - organization: *560 - enterprise: *558 - repository: *561 + alert: *376 + installation: *560 + organization: *561 + enterprise: *559 + repository: *562 sender: *19 required: - action @@ -92594,11 +92595,11 @@ x-webhooks: type: string enum: - fixed - alert: *375 - installation: *559 - organization: *560 - enterprise: *558 - repository: *561 + alert: *376 + installation: *560 + organization: *561 + enterprise: *559 + repository: *562 sender: *19 required: - action @@ -92691,11 +92692,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *375 - installation: *559 - organization: *560 - enterprise: *558 - repository: *561 + alert: *376 + installation: *560 + organization: *561 + enterprise: *559 + repository: *562 sender: *19 required: - action @@ -92787,11 +92788,11 @@ x-webhooks: type: string enum: - reopened - alert: *375 - installation: *559 - organization: *560 - enterprise: *558 - repository: *561 + alert: *376 + installation: *560 + organization: *561 + enterprise: *559 + repository: *562 sender: *19 required: - action @@ -92878,9 +92879,9 @@ x-webhooks: type: string enum: - created - enterprise: *558 - installation: *559 - key: &569 + enterprise: *559 + installation: *560 + key: &570 description: The [`deploy key`](https://docs.github.com/enterprise-server@3.10/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -92914,8 +92915,8 @@ x-webhooks: - verified - created_at - read_only - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 required: - action @@ -93002,11 +93003,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *558 - installation: *559 - key: *569 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + key: *570 + organization: *561 + repository: *562 sender: *19 required: - action @@ -93577,12 +93578,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 - workflow: &573 + workflow: &574 title: Workflow type: object nullable: true @@ -94318,13 +94319,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *381 + deployment: *382 pull_requests: type: array - items: *462 - repository: *561 - organization: *560 - installation: *559 + items: *463 + repository: *562 + organization: *561 + installation: *560 sender: *19 responses: '200': @@ -94405,7 +94406,7 @@ x-webhooks: type: string enum: - approved - approver: &570 + approver: &571 type: object properties: avatar_url: @@ -94448,11 +94449,11 @@ x-webhooks: type: string comment: type: string - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 - reviewers: &571 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 + reviewers: &572 type: array items: type: object @@ -94531,7 +94532,7 @@ x-webhooks: sender: *19 since: type: string - workflow_job_run: &572 + workflow_job_run: &573 type: object properties: conclusion: @@ -95272,18 +95273,18 @@ x-webhooks: type: string enum: - rejected - approver: *570 + approver: *571 comment: type: string - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 - reviewers: *571 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 + reviewers: *572 sender: *19 since: type: string - workflow_job_run: *572 + workflow_job_run: *573 workflow_job_runs: type: array items: @@ -95997,13 +95998,13 @@ x-webhooks: type: string enum: - requested - enterprise: *558 + enterprise: *559 environment: type: string - installation: *559 - organization: *560 - repository: *561 - requestor: &578 + installation: *560 + organization: *561 + repository: *562 + requestor: &579 title: User type: object nullable: true @@ -97912,12 +97913,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 - workflow: *573 + workflow: *574 workflow_run: title: Deployment Workflow Run type: object @@ -98607,7 +98608,7 @@ x-webhooks: type: string enum: - answered - answer: &576 + answer: &577 type: object properties: author_association: @@ -98764,7 +98765,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &574 + discussion: &575 title: Discussion description: A Discussion in a repository. type: object @@ -99050,7 +99051,7 @@ x-webhooks: - id labels: type: array - items: *423 + items: *424 required: - repository_url - category @@ -99072,10 +99073,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -99212,11 +99213,11 @@ x-webhooks: - from required: - category - discussion: *574 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + discussion: *575 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -99309,11 +99310,11 @@ x-webhooks: type: string enum: - closed - discussion: *574 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + discussion: *575 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -99405,7 +99406,7 @@ x-webhooks: type: string enum: - created - comment: &575 + comment: &576 type: object properties: author_association: @@ -99562,11 +99563,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *574 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + discussion: *575 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -99659,12 +99660,12 @@ x-webhooks: type: string enum: - deleted - comment: *575 - discussion: *574 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + comment: *576 + discussion: *575 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -99769,12 +99770,12 @@ x-webhooks: - from required: - body - comment: *575 - discussion: *574 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + comment: *576 + discussion: *575 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -99868,11 +99869,11 @@ x-webhooks: type: string enum: - created - discussion: *574 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + discussion: *575 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -99964,11 +99965,11 @@ x-webhooks: type: string enum: - deleted - discussion: *574 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + discussion: *575 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -100078,11 +100079,11 @@ x-webhooks: type: string required: - from - discussion: *574 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + discussion: *575 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -100174,10 +100175,10 @@ x-webhooks: type: string enum: - labeled - discussion: *574 - enterprise: *558 - installation: *559 - label: &577 + discussion: *575 + enterprise: *559 + installation: *560 + label: &578 title: Label type: object properties: @@ -100209,8 +100210,8 @@ x-webhooks: - color - default - description - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 required: - action @@ -100303,11 +100304,11 @@ x-webhooks: type: string enum: - locked - discussion: *574 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + discussion: *575 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -100399,11 +100400,11 @@ x-webhooks: type: string enum: - pinned - discussion: *574 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + discussion: *575 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -100495,11 +100496,11 @@ x-webhooks: type: string enum: - reopened - discussion: *574 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + discussion: *575 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -100594,16 +100595,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *574 - new_repository: *561 + new_discussion: *575 + new_repository: *562 required: - new_discussion - new_repository - discussion: *574 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + discussion: *575 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -100696,10 +100697,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *574 - old_answer: *576 - organization: *560 - repository: *561 + discussion: *575 + old_answer: *577 + organization: *561 + repository: *562 sender: *19 required: - action @@ -100791,12 +100792,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *574 - enterprise: *558 - installation: *559 - label: *577 - organization: *560 - repository: *561 + discussion: *575 + enterprise: *559 + installation: *560 + label: *578 + organization: *561 + repository: *562 sender: *19 required: - action @@ -100889,11 +100890,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *574 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + discussion: *575 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -100985,11 +100986,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *574 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + discussion: *575 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -101230,7 +101231,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *558 + enterprise: *559 forkee: description: The created [`repository`](https://docs.github.com/enterprise-server@3.10/rest/repos/repos#get-a-repository) resource. @@ -101890,9 +101891,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *559 - organization: *560 - repository: *561 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - forkee @@ -102058,9 +102059,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 pages: description: The pages that were updated. type: array @@ -102097,7 +102098,7 @@ x-webhooks: - action - sha - html_url - repository: *561 + repository: *562 sender: *19 required: - pages @@ -102183,10 +102184,10 @@ x-webhooks: type: string enum: - created - enterprise: *558 + enterprise: *559 installation: *35 - organization: *560 - repositories: &579 + organization: *561 + repositories: &580 description: An array of repository objects that the installation can access. type: array @@ -102212,8 +102213,8 @@ x-webhooks: - name - full_name - private - repository: *561 - requester: *578 + repository: *562 + requester: *579 sender: *19 required: - action @@ -102298,11 +102299,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *558 + enterprise: *559 installation: *35 - organization: *560 - repositories: *579 - repository: *561 + organization: *561 + repositories: *580 + repository: *562 requester: nullable: true sender: *19 @@ -102388,11 +102389,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *558 + enterprise: *559 installation: *35 - organization: *560 - repositories: *579 - repository: *561 + organization: *561 + repositories: *580 + repository: *562 requester: nullable: true sender: *19 @@ -102478,10 +102479,10 @@ x-webhooks: type: string enum: - added - enterprise: *558 + enterprise: *559 installation: *35 - organization: *560 - repositories_added: &580 + organization: *561 + repositories_added: &581 description: An array of repository objects, which were added to the installation. type: array @@ -102527,15 +102528,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *561 - repository_selection: &581 + repository: *562 + repository_selection: &582 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *578 + requester: *579 sender: *19 required: - action @@ -102624,10 +102625,10 @@ x-webhooks: type: string enum: - removed - enterprise: *558 + enterprise: *559 installation: *35 - organization: *560 - repositories_added: *580 + organization: *561 + repositories_added: *581 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -102654,9 +102655,9 @@ x-webhooks: - name - full_name - private - repository: *561 - repository_selection: *581 - requester: *578 + repository: *562 + repository_selection: *582 + requester: *579 sender: *19 required: - action @@ -102745,11 +102746,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *558 + enterprise: *559 installation: *35 - organization: *560 - repositories: *579 - repository: *561 + organization: *561 + repositories: *580 + repository: *562 requester: nullable: true sender: *19 @@ -102935,10 +102936,10 @@ x-webhooks: type: string required: - from - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 target_type: type: string @@ -103027,11 +103028,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *558 + enterprise: *559 installation: *35 - organization: *560 - repositories: *579 - repository: *561 + organization: *561 + repositories: *580 + repository: *562 requester: nullable: true sender: *19 @@ -103293,8 +103294,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 issue: description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) the comment belongs to. @@ -104449,8 +104450,8 @@ x-webhooks: - state - locked - assignee - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 required: - action @@ -104540,7 +104541,7 @@ x-webhooks: type: string enum: - deleted - comment: &582 + comment: &583 title: issue comment description: The [comment](https://docs.github.com/enterprise-server@3.10/rest/issues/comments#get-an-issue-comment) itself. @@ -104705,8 +104706,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 issue: description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) the comment belongs to. @@ -105859,8 +105860,8 @@ x-webhooks: - state - locked - assignee - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 required: - action @@ -105950,7 +105951,7 @@ x-webhooks: type: string enum: - edited - changes: &603 + changes: &604 description: The changes to the comment. type: object properties: @@ -105962,9 +105963,9 @@ x-webhooks: type: string required: - from - comment: *582 - enterprise: *558 - installation: *559 + comment: *583 + enterprise: *559 + installation: *560 issue: description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) the comment belongs to. @@ -107118,8 +107119,8 @@ x-webhooks: - state - locked - assignee - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 required: - action @@ -107211,10 +107212,10 @@ x-webhooks: type: string enum: - assigned - assignee: *578 - enterprise: *558 - installation: *559 - issue: &585 + assignee: *579 + enterprise: *559 + installation: *560 + issue: &586 title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) itself. @@ -108132,8 +108133,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 required: - action @@ -108223,8 +108224,8 @@ x-webhooks: type: string enum: - closed - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 issue: description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) itself. @@ -109282,8 +109283,8 @@ x-webhooks: required: - state - closed_at - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 required: - action @@ -109372,8 +109373,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -110284,8 +110285,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 required: - action @@ -110374,8 +110375,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -111289,7 +111290,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &583 + milestone: &584 title: Milestone description: A collection of related issues and pull requests. type: object @@ -111427,8 +111428,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 required: - action @@ -111537,8 +111538,8 @@ x-webhooks: type: string required: - from - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -112456,9 +112457,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *577 - organization: *560 - repository: *561 + label: *578 + organization: *561 + repository: *562 sender: *19 required: - action @@ -112548,8 +112549,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -113466,9 +113467,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *577 - organization: *560 - repository: *561 + label: *578 + organization: *561 + repository: *562 sender: *19 required: - action @@ -113558,8 +113559,8 @@ x-webhooks: type: string enum: - locked - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -114477,8 +114478,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 required: - action @@ -114567,8 +114568,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -115480,9 +115481,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *583 - organization: *560 - repository: *561 + milestone: *584 + organization: *561 + repository: *562 sender: *19 required: - action @@ -116947,8 +116948,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -117865,8 +117866,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 required: - action @@ -117956,9 +117957,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *558 - installation: *559 - issue: &584 + enterprise: *559 + installation: *560 + issue: &585 title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) itself. @@ -118869,8 +118870,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 required: - action @@ -118959,8 +118960,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -119877,8 +119878,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 required: - action @@ -121344,11 +121345,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *558 - installation: *559 - issue: *584 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + issue: *585 + organization: *561 + repository: *562 sender: *19 required: - action @@ -121439,7 +121440,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &606 + assignee: &607 title: User type: object nullable: true @@ -121509,11 +121510,11 @@ x-webhooks: required: - login - id - enterprise: *558 - installation: *559 - issue: *585 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + issue: *586 + organization: *561 + repository: *562 sender: *19 required: - action @@ -121602,12 +121603,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *558 - installation: *559 - issue: *585 - label: *577 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + issue: *586 + label: *578 + organization: *561 + repository: *562 sender: *19 required: - action @@ -121697,8 +121698,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue) @@ -122614,8 +122615,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 required: - action @@ -122705,11 +122706,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *558 - installation: *559 - issue: *584 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + issue: *585 + organization: *561 + repository: *562 sender: *19 required: - action @@ -122798,11 +122799,11 @@ x-webhooks: type: string enum: - created - enterprise: *558 - installation: *559 - label: *577 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + label: *578 + organization: *561 + repository: *562 sender: *19 required: - action @@ -122890,11 +122891,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *558 - installation: *559 - label: *577 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + label: *578 + organization: *561 + repository: *562 sender: *19 required: - action @@ -123014,11 +123015,11 @@ x-webhooks: type: string required: - from - enterprise: *558 - installation: *559 - label: *577 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + label: *578 + organization: *561 + repository: *562 sender: *19 required: - action @@ -123119,11 +123120,11 @@ x-webhooks: - read required: - to - enterprise: *558 - installation: *559 - member: *578 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + member: *579 + organization: *561 + repository: *562 sender: *19 required: - action @@ -123233,11 +123234,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *558 - installation: *559 - member: *578 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + member: *579 + organization: *561 + repository: *562 sender: *19 required: - action @@ -123326,11 +123327,11 @@ x-webhooks: type: string enum: - removed - enterprise: *558 - installation: *559 - member: *578 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + member: *579 + organization: *561 + repository: *562 sender: *19 required: - action @@ -123418,11 +123419,11 @@ x-webhooks: type: string enum: - added - enterprise: *558 - installation: *559 - member: *578 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + member: *579 + organization: *561 + repository: *562 scope: description: The scope of the membership. Currently, can only be `team`. @@ -123498,7 +123499,7 @@ x-webhooks: required: - login - id - team: &586 + team: &587 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -123698,11 +123699,11 @@ x-webhooks: type: string enum: - removed - enterprise: *558 - installation: *559 - member: *578 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + member: *579 + organization: *561 + repository: *562 scope: description: The scope of the membership. Currently, can only be `team`. @@ -123779,7 +123780,7 @@ x-webhooks: required: - login - id - team: *586 + team: *587 required: - action - scope @@ -123867,7 +123868,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *558 + enterprise: *559 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -123975,16 +123976,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *559 - organization: *560 + installation: *560 + organization: *561 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *587 - required: *588 + properties: *588 + required: *589 nullable: true sender: *19 required: @@ -124075,11 +124076,11 @@ x-webhooks: type: string enum: - closed - enterprise: *558 - installation: *559 - milestone: *583 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + milestone: *584 + organization: *561 + repository: *562 sender: *19 required: - action @@ -124168,9 +124169,9 @@ x-webhooks: type: string enum: - created - enterprise: *558 - installation: *559 - milestone: &589 + enterprise: *559 + installation: *560 + milestone: &590 title: Milestone description: A collection of related issues and pull requests. type: object @@ -124307,8 +124308,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 required: - action @@ -124397,11 +124398,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *558 - installation: *559 - milestone: *583 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + milestone: *584 + organization: *561 + repository: *562 sender: *19 required: - action @@ -124521,11 +124522,11 @@ x-webhooks: type: string required: - from - enterprise: *558 - installation: *559 - milestone: *583 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + milestone: *584 + organization: *561 + repository: *562 sender: *19 required: - action @@ -124615,11 +124616,11 @@ x-webhooks: type: string enum: - opened - enterprise: *558 - installation: *559 - milestone: *589 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + milestone: *590 + organization: *561 + repository: *562 sender: *19 required: - action @@ -124708,9 +124709,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *558 - installation: *559 - membership: &590 + enterprise: *559 + installation: *560 + membership: &591 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -124802,8 +124803,8 @@ x-webhooks: - role - organization_url - user - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 required: - action @@ -124891,11 +124892,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *558 - installation: *559 - membership: *590 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + membership: *591 + organization: *561 + repository: *562 sender: *19 required: - action @@ -124984,8 +124985,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -125101,10 +125102,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 - user: *578 + user: *579 required: - action - invitation @@ -125192,11 +125193,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *558 - installation: *559 - membership: *590 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + membership: *591 + organization: *561 + repository: *562 sender: *19 required: - action @@ -125293,11 +125294,11 @@ x-webhooks: properties: from: type: string - enterprise: *558 - installation: *559 - membership: *590 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + membership: *591 + organization: *561 + repository: *562 sender: *19 required: - action @@ -125383,9 +125384,9 @@ x-webhooks: type: string enum: - published - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 package: description: Information about the package. type: object @@ -125884,7 +125885,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &591 + items: &592 title: Ruby Gems metadata type: object properties: @@ -125979,7 +125980,7 @@ x-webhooks: - owner - package_version - registry - repository: *561 + repository: *562 sender: *19 required: - action @@ -126065,9 +126066,9 @@ x-webhooks: type: string enum: - updated - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 package: description: Information about the package. type: object @@ -126420,7 +126421,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *591 + items: *592 source_url: type: string format: uri @@ -126490,7 +126491,7 @@ x-webhooks: - owner - package_version - registry - repository: *561 + repository: *562 sender: *19 required: - action @@ -126677,12 +126678,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *558 + enterprise: *559 id: type: integer - installation: *559 - organization: *560 - repository: *561 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - id @@ -126762,7 +126763,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &592 + personal_access_token_request: &593 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -126908,10 +126909,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *558 - organization: *560 + enterprise: *559 + organization: *561 sender: *19 - installation: *559 + installation: *560 required: - action - personal_access_token_request @@ -126990,11 +126991,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *592 - enterprise: *558 - organization: *560 + personal_access_token_request: *593 + enterprise: *559 + organization: *561 sender: *19 - installation: *559 + installation: *560 required: - action - personal_access_token_request @@ -127072,11 +127073,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *592 - enterprise: *558 - organization: *560 + personal_access_token_request: *593 + enterprise: *559 + organization: *561 sender: *19 - installation: *559 + installation: *560 required: - action - personal_access_token_request @@ -127153,11 +127154,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *592 - organization: *560 - enterprise: *558 + personal_access_token_request: *593 + organization: *561 + enterprise: *559 sender: *19 - installation: *559 + installation: *560 required: - action - personal_access_token_request @@ -127271,7 +127272,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *593 + last_response: *594 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -127303,8 +127304,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 zen: description: Random string of GitHub zen. @@ -127559,10 +127560,10 @@ x-webhooks: - from required: - note - enterprise: *558 - installation: *559 - organization: *560 - project_card: &594 + enterprise: *559 + installation: *560 + organization: *561 + project_card: &595 title: Project Card type: object properties: @@ -127681,7 +127682,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *561 + repository: *562 sender: *19 required: - action @@ -127772,11 +127773,11 @@ x-webhooks: type: string enum: - created - enterprise: *558 - installation: *559 - organization: *560 - project_card: *594 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + project_card: *595 + repository: *562 sender: *19 required: - action @@ -127866,9 +127867,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 project_card: title: Project Card type: object @@ -127996,8 +127997,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *587 - required: *588 + properties: *588 + required: *589 nullable: true sender: *19 required: @@ -128101,11 +128102,11 @@ x-webhooks: - from required: - note - enterprise: *558 - installation: *559 - organization: *560 - project_card: *594 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + project_card: *595 + repository: *562 sender: *19 required: - action @@ -128209,9 +128210,9 @@ x-webhooks: - from required: - column_id - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 project_card: allOf: - title: Project Card @@ -128401,7 +128402,7 @@ x-webhooks: type: string required: - after_id - repository: *561 + repository: *562 sender: *19 required: - action @@ -128491,10 +128492,10 @@ x-webhooks: type: string enum: - closed - enterprise: *558 - installation: *559 - organization: *560 - project: &596 + enterprise: *559 + installation: *560 + organization: *561 + project: &597 title: Project type: object properties: @@ -128618,7 +128619,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *561 + repository: *562 sender: *19 required: - action @@ -128708,10 +128709,10 @@ x-webhooks: type: string enum: - created - enterprise: *558 - installation: *559 - organization: *560 - project_column: &595 + enterprise: *559 + installation: *560 + organization: *561 + project_column: &596 title: Project Column type: object properties: @@ -128750,7 +128751,7 @@ x-webhooks: - name - created_at - updated_at - repository: *561 + repository: *562 sender: *19 required: - action @@ -128839,18 +128840,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *558 - installation: *559 - organization: *560 - project_column: *595 + enterprise: *559 + installation: *560 + organization: *561 + project_column: *596 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *587 - required: *588 + properties: *588 + required: *589 nullable: true sender: *19 required: @@ -128950,11 +128951,11 @@ x-webhooks: type: string required: - from - enterprise: *558 - installation: *559 - organization: *560 - project_column: *595 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + project_column: *596 + repository: *562 sender: *19 required: - action @@ -129044,11 +129045,11 @@ x-webhooks: type: string enum: - moved - enterprise: *558 - installation: *559 - organization: *560 - project_column: *595 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + project_column: *596 + repository: *562 sender: *19 required: - action @@ -129138,11 +129139,11 @@ x-webhooks: type: string enum: - created - enterprise: *558 - installation: *559 - organization: *560 - project: *596 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + project: *597 + repository: *562 sender: *19 required: - action @@ -129232,18 +129233,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *558 - installation: *559 - organization: *560 - project: *596 + enterprise: *559 + installation: *560 + organization: *561 + project: *597 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *587 - required: *588 + properties: *588 + required: *589 nullable: true sender: *19 required: @@ -129355,11 +129356,11 @@ x-webhooks: type: string required: - from - enterprise: *558 - installation: *559 - organization: *560 - project: *596 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + project: *597 + repository: *562 sender: *19 required: - action @@ -129448,11 +129449,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *558 - installation: *559 - organization: *560 - project: *596 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + project: *597 + repository: *562 sender: *19 required: - action @@ -129543,9 +129544,9 @@ x-webhooks: type: string enum: - closed - installation: *559 - organization: *560 - projects_v2: &597 + installation: *560 + organization: *561 + projects_v2: &598 title: Projects v2 Project description: A projects v2 project type: object @@ -129698,9 +129699,9 @@ x-webhooks: type: string enum: - created - installation: *559 - organization: *560 - projects_v2: *597 + installation: *560 + organization: *561 + projects_v2: *598 sender: *19 required: - action @@ -129791,9 +129792,9 @@ x-webhooks: type: string enum: - deleted - installation: *559 - organization: *560 - projects_v2: *597 + installation: *560 + organization: *561 + projects_v2: *598 sender: *19 required: - action @@ -129920,9 +129921,9 @@ x-webhooks: type: string to: type: string - installation: *559 - organization: *560 - projects_v2: *597 + installation: *560 + organization: *561 + projects_v2: *598 sender: *19 required: - action @@ -130015,7 +130016,7 @@ x-webhooks: type: string enum: - archived - changes: &599 + changes: &600 type: object properties: archived_at: @@ -130029,9 +130030,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *559 - organization: *560 - projects_v2_item: &598 + installation: *560 + organization: *561 + projects_v2_item: &599 title: Projects v2 Item description: An item belonging to a project type: object @@ -130175,9 +130176,9 @@ x-webhooks: nullable: true to: type: string - installation: *559 - organization: *560 - projects_v2_item: *598 + installation: *560 + organization: *561 + projects_v2_item: *599 sender: *19 required: - action @@ -130269,9 +130270,9 @@ x-webhooks: type: string enum: - created - installation: *559 - organization: *560 - projects_v2_item: *598 + installation: *560 + organization: *561 + projects_v2_item: *599 sender: *19 required: - action @@ -130362,9 +130363,9 @@ x-webhooks: type: string enum: - deleted - installation: *559 - organization: *560 - projects_v2_item: *598 + installation: *560 + organization: *561 + projects_v2_item: *599 sender: *19 required: - action @@ -130486,9 +130487,9 @@ x-webhooks: nullable: true required: - body - installation: *559 - organization: *560 - projects_v2_item: *598 + installation: *560 + organization: *561 + projects_v2_item: *599 sender: *19 required: - action @@ -130593,9 +130594,9 @@ x-webhooks: to: type: string nullable: true - installation: *559 - organization: *560 - projects_v2_item: *598 + installation: *560 + organization: *561 + projects_v2_item: *599 sender: *19 required: - action @@ -130688,10 +130689,10 @@ x-webhooks: type: string enum: - restored - changes: *599 - installation: *559 - organization: *560 - projects_v2_item: *598 + changes: *600 + installation: *560 + organization: *561 + projects_v2_item: *599 sender: *19 required: - action @@ -130783,9 +130784,9 @@ x-webhooks: type: string enum: - reopened - installation: *559 - organization: *560 - projects_v2: *597 + installation: *560 + organization: *561 + projects_v2: *598 sender: *19 required: - action @@ -130866,10 +130867,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - repository @@ -130956,13 +130957,13 @@ x-webhooks: type: string enum: - assigned - assignee: *578 - enterprise: *558 - installation: *559 - number: &600 + assignee: *579 + enterprise: *559 + installation: *560 + number: &601 description: The pull request number. type: integer - organization: *560 + organization: *561 pull_request: title: Pull Request type: object @@ -133245,7 +133246,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *561 + repository: *562 sender: *19 required: - action @@ -133337,11 +133338,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 number: type: integer - organization: *560 + organization: *561 pull_request: title: Pull Request type: object @@ -135619,7 +135620,7 @@ x-webhooks: - draft reason: type: string - repository: *561 + repository: *562 sender: *19 required: - action @@ -135711,11 +135712,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 number: type: integer - organization: *560 + organization: *561 pull_request: title: Pull Request type: object @@ -137993,7 +137994,7 @@ x-webhooks: - draft reason: type: string - repository: *561 + repository: *562 sender: *19 required: - action @@ -138085,13 +138086,13 @@ x-webhooks: type: string enum: - closed - enterprise: *558 - installation: *559 - number: *600 - organization: *560 - pull_request: &601 + enterprise: *559 + installation: *560 + number: *601 + organization: *561 + pull_request: &602 allOf: - - *462 + - *463 - type: object properties: allow_auto_merge: @@ -138153,7 +138154,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *561 + repository: *562 sender: *19 required: - action @@ -138244,12 +138245,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *558 - installation: *559 - number: *600 - organization: *560 - pull_request: *601 - repository: *561 + enterprise: *559 + installation: *560 + number: *601 + organization: *561 + pull_request: *602 + repository: *562 sender: *19 required: - action @@ -138339,11 +138340,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *558 - milestone: *443 - number: *600 - organization: *560 - pull_request: &602 + enterprise: *559 + milestone: *444 + number: *601 + organization: *561 + pull_request: &603 title: Pull Request type: object properties: @@ -140606,7 +140607,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *561 + repository: *562 sender: *19 required: - action @@ -140738,12 +140739,12 @@ x-webhooks: type: string required: - from - enterprise: *558 - installation: *559 - number: *600 - organization: *560 - pull_request: *601 - repository: *561 + enterprise: *559 + installation: *560 + number: *601 + organization: *561 + pull_request: *602 + repository: *562 sender: *19 required: - action @@ -140833,11 +140834,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *558 - installation: *559 - label: *577 - number: *600 - organization: *560 + enterprise: *559 + installation: *560 + label: *578 + number: *601 + organization: *561 pull_request: title: Pull Request type: object @@ -143119,7 +143120,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *561 + repository: *562 sender: *19 required: - action @@ -143210,10 +143211,10 @@ x-webhooks: type: string enum: - locked - enterprise: *558 - installation: *559 - number: *600 - organization: *560 + enterprise: *559 + installation: *560 + number: *601 + organization: *561 pull_request: title: Pull Request type: object @@ -145493,7 +145494,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *561 + repository: *562 sender: *19 required: - action @@ -145583,12 +145584,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *558 - milestone: *443 - number: *600 - organization: *560 - pull_request: *602 - repository: *561 + enterprise: *559 + milestone: *444 + number: *601 + organization: *561 + pull_request: *603 + repository: *562 sender: *19 required: - action @@ -145677,12 +145678,12 @@ x-webhooks: type: string enum: - opened - enterprise: *558 - installation: *559 - number: *600 - organization: *560 - pull_request: *601 - repository: *561 + enterprise: *559 + installation: *560 + number: *601 + organization: *561 + pull_request: *602 + repository: *562 sender: *19 required: - action @@ -145773,12 +145774,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *558 - installation: *559 - number: *600 - organization: *560 - pull_request: *601 - repository: *561 + enterprise: *559 + installation: *560 + number: *601 + organization: *561 + pull_request: *602 + repository: *562 sender: *19 required: - action @@ -145868,12 +145869,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *558 - installation: *559 - number: *600 - organization: *560 - pull_request: *601 - repository: *561 + enterprise: *559 + installation: *560 + number: *601 + organization: *561 + pull_request: *602 + repository: *562 sender: *19 required: - action @@ -146249,9 +146250,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 pull_request: type: object properties: @@ -148421,7 +148422,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *561 + repository: *562 sender: *19 required: - action @@ -148511,7 +148512,7 @@ x-webhooks: type: string enum: - deleted - comment: &604 + comment: &605 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. @@ -148796,9 +148797,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 pull_request: type: object properties: @@ -150956,7 +150957,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *561 + repository: *562 sender: *19 required: - action @@ -151046,11 +151047,11 @@ x-webhooks: type: string enum: - edited - changes: *603 - comment: *604 - enterprise: *558 - installation: *559 - organization: *560 + changes: *604 + comment: *605 + enterprise: *559 + installation: *560 + organization: *561 pull_request: type: object properties: @@ -153211,7 +153212,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *561 + repository: *562 sender: *19 required: - action @@ -153302,9 +153303,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 pull_request: title: Simple Pull Request type: object @@ -155477,7 +155478,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *561 + repository: *562 review: description: The review that was affected. type: object @@ -155730,9 +155731,9 @@ x-webhooks: type: string required: - from - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 pull_request: title: Simple Pull Request type: object @@ -157786,8 +157787,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *561 - review: &605 + repository: *562 + review: &606 description: The review that was affected. type: object properties: @@ -158026,12 +158027,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 number: description: The pull request number. type: integer - organization: *560 + organization: *561 pull_request: title: Pull Request type: object @@ -160314,7 +160315,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *561 + repository: *562 requested_reviewer: title: User type: object @@ -160398,12 +160399,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 number: description: The pull request number. type: integer - organization: *560 + organization: *561 pull_request: title: Pull Request type: object @@ -162693,7 +162694,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *561 + repository: *562 requested_team: title: Team description: Groups of organization members that gives permissions @@ -162895,12 +162896,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 number: description: The pull request number. type: integer - organization: *560 + organization: *561 pull_request: title: Pull Request type: object @@ -165185,7 +165186,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *561 + repository: *562 requested_reviewer: title: User type: object @@ -165270,12 +165271,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *558 - installation: *559 + enterprise: *559 + installation: *560 number: description: The pull request number. type: integer - organization: *560 + organization: *561 pull_request: title: Pull Request type: object @@ -167551,7 +167552,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *561 + repository: *562 requested_team: title: Team description: Groups of organization members that gives permissions @@ -167742,9 +167743,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 pull_request: title: Simple Pull Request type: object @@ -169919,8 +169920,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *561 - review: *605 + repository: *562 + review: *606 sender: *19 required: - action @@ -170010,9 +170011,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 pull_request: title: Simple Pull Request type: object @@ -172082,7 +172083,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *561 + repository: *562 sender: *19 thread: type: object @@ -172475,9 +172476,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 pull_request: title: Simple Pull Request type: object @@ -174533,7 +174534,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *561 + repository: *562 sender: *19 thread: type: object @@ -174929,10 +174930,10 @@ x-webhooks: type: string before: type: string - enterprise: *558 - installation: *559 - number: *600 - organization: *560 + enterprise: *559 + installation: *560 + number: *601 + organization: *561 pull_request: title: Pull Request type: object @@ -177203,7 +177204,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *561 + repository: *562 sender: *19 required: - action @@ -177295,11 +177296,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *606 - enterprise: *558 - installation: *559 - number: *600 - organization: *560 + assignee: *607 + enterprise: *559 + installation: *560 + number: *601 + organization: *561 pull_request: title: Pull Request type: object @@ -179582,7 +179583,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *561 + repository: *562 sender: *19 required: - action @@ -179671,11 +179672,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *558 - installation: *559 - label: *577 - number: *600 - organization: *560 + enterprise: *559 + installation: *560 + label: *578 + number: *601 + organization: *561 pull_request: title: Pull Request type: object @@ -181948,7 +181949,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *561 + repository: *562 sender: *19 required: - action @@ -182039,10 +182040,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *558 - installation: *559 - number: *600 - organization: *560 + enterprise: *559 + installation: *560 + number: *601 + organization: *561 pull_request: title: Pull Request type: object @@ -184307,7 +184308,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *561 + repository: *562 sender: *19 required: - action @@ -184517,7 +184518,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *558 + enterprise: *559 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -184609,8 +184610,8 @@ x-webhooks: - url - author - committer - installation: *559 - organization: *560 + installation: *560 + organization: *561 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -185189,9 +185190,9 @@ x-webhooks: type: string enum: - published - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 registry_package: type: object properties: @@ -185637,7 +185638,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *591 + items: *592 summary: type: string tag_name: @@ -185691,7 +185692,7 @@ x-webhooks: - owner - package_version - registry - repository: *561 + repository: *562 sender: *19 required: - action @@ -185779,9 +185780,9 @@ x-webhooks: type: string enum: - updated - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 registry_package: type: object properties: @@ -186089,7 +186090,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *591 + items: *592 summary: type: string tag_name: @@ -186138,7 +186139,7 @@ x-webhooks: - owner - package_version - registry - repository: *561 + repository: *562 sender: *19 required: - action @@ -186225,10 +186226,10 @@ x-webhooks: type: string enum: - created - enterprise: *558 - installation: *559 - organization: *560 - release: &607 + enterprise: *559 + installation: *560 + organization: *561 + release: &608 title: Release description: The [release](https://docs.github.com/enterprise-server@3.10/rest/releases/releases/#get-a-release) object. @@ -186533,7 +186534,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *561 + repository: *562 sender: *19 required: - action @@ -186620,11 +186621,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *558 - installation: *559 - organization: *560 - release: *607 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + release: *608 + repository: *562 sender: *19 required: - action @@ -186742,11 +186743,11 @@ x-webhooks: type: boolean required: - to - enterprise: *558 - installation: *559 - organization: *560 - release: *607 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + release: *608 + repository: *562 sender: *19 required: - action @@ -186834,9 +186835,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 release: title: Release description: The [release](https://docs.github.com/enterprise-server@3.10/rest/releases/releases/#get-a-release) @@ -187145,7 +187146,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *561 + repository: *562 sender: *19 required: - action @@ -187231,10 +187232,10 @@ x-webhooks: type: string enum: - published - enterprise: *558 - installation: *559 - organization: *560 - release: &608 + enterprise: *559 + installation: *560 + organization: *561 + release: &609 title: Release description: The [release](https://docs.github.com/enterprise-server@3.10/rest/releases/releases/#get-a-release) object. @@ -187540,7 +187541,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *561 + repository: *562 sender: *19 required: - action @@ -187626,11 +187627,11 @@ x-webhooks: type: string enum: - released - enterprise: *558 - installation: *559 - organization: *560 - release: *607 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + release: *608 + repository: *562 sender: *19 required: - action @@ -187716,11 +187717,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *558 - installation: *559 - organization: *560 - release: *608 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + release: *609 + repository: *562 sender: *19 required: - action @@ -187806,10 +187807,10 @@ x-webhooks: type: string enum: - anonymous_access_disabled - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -187894,10 +187895,10 @@ x-webhooks: type: string enum: - anonymous_access_enabled - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -187982,10 +187983,10 @@ x-webhooks: type: string enum: - archived - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -188072,10 +188073,10 @@ x-webhooks: type: string enum: - created - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -188163,10 +188164,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -188260,10 +188261,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -188385,10 +188386,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -188476,10 +188477,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -188566,10 +188567,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -188673,10 +188674,10 @@ x-webhooks: - name required: - repository - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -188904,10 +188905,10 @@ x-webhooks: - from required: - owner - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -188995,10 +188996,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -189086,7 +189087,7 @@ x-webhooks: type: string enum: - create - alert: &609 + alert: &610 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -189207,10 +189208,10 @@ x-webhooks: type: string enum: - open - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -189426,10 +189427,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -189517,11 +189518,11 @@ x-webhooks: type: string enum: - reopen - alert: *609 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + alert: *610 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -189730,10 +189731,10 @@ x-webhooks: enum: - fixed - open - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -189821,7 +189822,7 @@ x-webhooks: type: string enum: - created - alert: &610 + alert: &611 type: object properties: number: *91 @@ -189896,10 +189897,10 @@ x-webhooks: description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' nullable: true - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -189990,11 +189991,11 @@ x-webhooks: type: string enum: - created - alert: *610 - installation: *559 - location: *611 - organization: *560 - repository: *561 + alert: *611 + installation: *560 + location: *612 + organization: *561 + repository: *562 sender: *19 required: - location @@ -190237,11 +190238,11 @@ x-webhooks: type: string enum: - reopened - alert: *610 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + alert: *611 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -190329,11 +190330,11 @@ x-webhooks: type: string enum: - resolved - alert: *610 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + alert: *611 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -190419,11 +190420,11 @@ x-webhooks: type: string enum: - published - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 - security_advisory: &613 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 + security_advisory: &614 description: The details of the security advisory, including summary, description, and severity. type: object @@ -190439,7 +190440,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *612 + cvss_severities: *613 cwes: type: array items: @@ -190616,11 +190617,11 @@ x-webhooks: type: string enum: - updated - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 - security_advisory: *613 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 + security_advisory: *614 sender: *19 required: - action @@ -190703,10 +190704,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -190723,7 +190724,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *612 + cvss_severities: *613 cwes: type: array items: @@ -190900,11 +190901,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *228 - enterprise: *558 - installation: *559 - organization: *560 - repository: *272 + security_and_analysis: *229 + enterprise: *559 + installation: *560 + organization: *561 + repository: *273 sender: *19 required: - changes @@ -190992,12 +190993,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 - sponsorship: &614 + sponsorship: &615 type: object properties: created_at: @@ -191308,12 +191309,12 @@ x-webhooks: type: string enum: - created - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 - sponsorship: *614 + sponsorship: *615 required: - action - sponsorship @@ -191411,12 +191412,12 @@ x-webhooks: type: string required: - from - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 - sponsorship: *614 + sponsorship: *615 required: - action - changes @@ -191503,17 +191504,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &615 + effective_date: &616 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: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 - sponsorship: *614 + sponsorship: *615 required: - action - sponsorship @@ -191597,7 +191598,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &616 + changes: &617 type: object properties: tier: @@ -191641,13 +191642,13 @@ x-webhooks: - from required: - tier - effective_date: *615 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + effective_date: *616 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 - sponsorship: *614 + sponsorship: *615 required: - action - changes @@ -191734,13 +191735,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *616 - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + changes: *617 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 - sponsorship: *614 + sponsorship: *615 required: - action - changes @@ -191824,10 +191825,10 @@ x-webhooks: type: string enum: - created - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -191920,10 +191921,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -192349,15 +192350,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *558 + enterprise: *559 id: description: The unique identifier of the status. type: integer - installation: *559 + installation: *560 name: type: string - organization: *560 - repository: *561 + organization: *561 + repository: *562 sender: *19 sha: description: The Commit SHA. @@ -192469,12 +192470,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 - team: &617 + team: &618 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -192674,9 +192675,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 repository: title: Repository description: A git repository @@ -193128,7 +193129,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *617 + team: *618 required: - action - team @@ -193214,9 +193215,9 @@ x-webhooks: type: string enum: - created - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 repository: title: Repository description: A git repository @@ -193668,7 +193669,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *617 + team: *618 required: - action - team @@ -193755,9 +193756,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 repository: title: Repository description: A git repository @@ -194209,7 +194210,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *617 + team: *618 required: - action - team @@ -194363,9 +194364,9 @@ x-webhooks: - from required: - permissions - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 repository: title: Repository description: A git repository @@ -194817,7 +194818,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *617 + team: *618 required: - action - changes @@ -194905,9 +194906,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *558 - installation: *559 - organization: *560 + enterprise: *559 + installation: *560 + organization: *561 repository: title: Repository description: A git repository @@ -195359,7 +195360,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *617 + team: *618 required: - action - team @@ -195442,12 +195443,12 @@ x-webhooks: type: string enum: - created - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 - user: *578 + user: *579 required: - action responses: @@ -195525,12 +195526,12 @@ x-webhooks: type: string enum: - deleted - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 - user: *578 + user: *579 required: - action responses: @@ -195611,10 +195612,10 @@ x-webhooks: type: string enum: - started - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 required: - action @@ -195697,16 +195698,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *558 + enterprise: *559 inputs: type: object nullable: true additionalProperties: true - installation: *559 - organization: *560 + installation: *560 + organization: *561 ref: type: string - repository: *561 + repository: *562 sender: *19 workflow: type: string @@ -195798,10 +195799,10 @@ x-webhooks: type: string enum: - completed - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 workflow_job: allOf: @@ -196038,7 +196039,7 @@ x-webhooks: type: string required: - conclusion - deployment: *381 + deployment: *382 required: - action - repository @@ -196127,10 +196128,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 workflow_job: allOf: @@ -196390,7 +196391,7 @@ x-webhooks: required: - status - steps - deployment: *381 + deployment: *382 required: - action - repository @@ -196479,10 +196480,10 @@ x-webhooks: type: string enum: - queued - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 workflow_job: type: object @@ -196617,7 +196618,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *381 + deployment: *382 required: - action - repository @@ -196706,10 +196707,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 workflow_job: type: object @@ -196845,7 +196846,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *381 + deployment: *382 required: - action - repository @@ -196935,12 +196936,12 @@ x-webhooks: type: string enum: - completed - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 - workflow: *573 + workflow: *574 workflow_run: title: Workflow Run type: object @@ -197949,12 +197950,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 - workflow: *573 + workflow: *574 workflow_run: title: Workflow Run type: object @@ -198948,12 +198949,12 @@ x-webhooks: type: string enum: - requested - enterprise: *558 - installation: *559 - organization: *560 - repository: *561 + enterprise: *559 + installation: *560 + organization: *561 + repository: *562 sender: *19 - workflow: *573 + workflow: *574 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghes-3.10/ghes-3.10.2022-11-28.json b/descriptions/ghes-3.10/ghes-3.10.2022-11-28.json index 545e3bacc..fdb5bdbd7 100644 --- a/descriptions/ghes-3.10/ghes-3.10.2022-11-28.json +++ b/descriptions/ghes-3.10/ghes-3.10.2022-11-28.json @@ -42970,7 +42970,7 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "reactions", "subcategory": "reactions" } @@ -89530,6 +89530,13 @@ "example": "\"2021-01-01T00:00:00.000-07:00\"", "nullable": true }, + "announcement-user-dismissible": { + "type": "boolean", + "description": "Whether an announcement can be dismissed by the user.", + "example": false, + "nullable": true, + "default": false + }, "announcement": { "title": "Enterprise Announcement", "description": "Enterprise global announcement", @@ -89540,6 +89547,9 @@ }, "expires_at": { "$ref": "#/components/schemas/announcement-expiration" + }, + "user_dismissible": { + "$ref": "#/components/schemas/announcement-user-dismissible" } }, "required": [ @@ -95033,13 +95043,6 @@ "visibility" ] }, - "announcement-user-dismissible": { - "type": "boolean", - "description": "Whether an announcement can be dismissed by the user.", - "example": false, - "nullable": true, - "default": false - }, "announcement-banner": { "title": "Announcement Banner", "description": "Announcement at either the repository, organization, or enterprise level", diff --git a/descriptions/ghes-3.10/ghes-3.10.2022-11-28.yaml b/descriptions/ghes-3.10/ghes-3.10.2022-11-28.yaml index bac55c781..9c3b6522c 100644 --- a/descriptions/ghes-3.10/ghes-3.10.2022-11-28.yaml +++ b/descriptions/ghes-3.10/ghes-3.10.2022-11-28.yaml @@ -31109,7 +31109,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}": @@ -64438,6 +64438,12 @@ components: `null`, or set it to an empty string.' example: '"2021-01-01T00:00:00.000-07:00"' nullable: true + announcement-user-dismissible: + type: boolean + description: Whether an announcement can be dismissed by the user. + example: false + nullable: true + default: false announcement: title: Enterprise Announcement description: Enterprise global announcement @@ -64447,6 +64453,8 @@ components: "$ref": "#/components/schemas/announcement-message" expires_at: "$ref": "#/components/schemas/announcement-expiration" + user_dismissible: + "$ref": "#/components/schemas/announcement-user-dismissible" required: - announcement license-info: @@ -68732,12 +68740,6 @@ components: - created_at - updated_at - visibility - announcement-user-dismissible: - type: boolean - description: Whether an announcement can be dismissed by the user. - example: false - nullable: true - default: false announcement-banner: title: Announcement Banner description: Announcement at either the repository, organization, or enterprise diff --git a/descriptions/ghes-3.10/ghes-3.10.json b/descriptions/ghes-3.10/ghes-3.10.json index 545e3bacc..fdb5bdbd7 100644 --- a/descriptions/ghes-3.10/ghes-3.10.json +++ b/descriptions/ghes-3.10/ghes-3.10.json @@ -42970,7 +42970,7 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "reactions", "subcategory": "reactions" } @@ -89530,6 +89530,13 @@ "example": "\"2021-01-01T00:00:00.000-07:00\"", "nullable": true }, + "announcement-user-dismissible": { + "type": "boolean", + "description": "Whether an announcement can be dismissed by the user.", + "example": false, + "nullable": true, + "default": false + }, "announcement": { "title": "Enterprise Announcement", "description": "Enterprise global announcement", @@ -89540,6 +89547,9 @@ }, "expires_at": { "$ref": "#/components/schemas/announcement-expiration" + }, + "user_dismissible": { + "$ref": "#/components/schemas/announcement-user-dismissible" } }, "required": [ @@ -95033,13 +95043,6 @@ "visibility" ] }, - "announcement-user-dismissible": { - "type": "boolean", - "description": "Whether an announcement can be dismissed by the user.", - "example": false, - "nullable": true, - "default": false - }, "announcement-banner": { "title": "Announcement Banner", "description": "Announcement at either the repository, organization, or enterprise level", diff --git a/descriptions/ghes-3.10/ghes-3.10.yaml b/descriptions/ghes-3.10/ghes-3.10.yaml index bac55c781..9c3b6522c 100644 --- a/descriptions/ghes-3.10/ghes-3.10.yaml +++ b/descriptions/ghes-3.10/ghes-3.10.yaml @@ -31109,7 +31109,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}": @@ -64438,6 +64438,12 @@ components: `null`, or set it to an empty string.' example: '"2021-01-01T00:00:00.000-07:00"' nullable: true + announcement-user-dismissible: + type: boolean + description: Whether an announcement can be dismissed by the user. + example: false + nullable: true + default: false announcement: title: Enterprise Announcement description: Enterprise global announcement @@ -64447,6 +64453,8 @@ components: "$ref": "#/components/schemas/announcement-message" expires_at: "$ref": "#/components/schemas/announcement-expiration" + user_dismissible: + "$ref": "#/components/schemas/announcement-user-dismissible" required: - announcement license-info: @@ -68732,12 +68740,6 @@ components: - created_at - updated_at - visibility - announcement-user-dismissible: - type: boolean - description: Whether an announcement can be dismissed by the user. - example: false - nullable: true - default: false announcement-banner: title: Announcement Banner description: Announcement at either the repository, organization, or enterprise diff --git a/descriptions/ghes-3.11/dereferenced/ghes-3.11.2022-11-28.deref.json b/descriptions/ghes-3.11/dereferenced/ghes-3.11.2022-11-28.deref.json index 2e1de026b..b9a7a048e 100644 --- a/descriptions/ghes-3.11/dereferenced/ghes-3.11.2022-11-28.deref.json +++ b/descriptions/ghes-3.11/dereferenced/ghes-3.11.2022-11-28.deref.json @@ -29181,6 +29181,13 @@ "description": "The time at which the announcement expires. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. To set an announcement that never expires, omit this parameter, set it to `null`, or set it to an empty string.", "example": "\"2021-01-01T00:00:00.000-07:00\"", "nullable": true + }, + "user_dismissible": { + "type": "boolean", + "description": "Whether an announcement can be dismissed by the user.", + "example": false, + "nullable": true, + "default": false } }, "required": [ @@ -29240,6 +29247,13 @@ "description": "The time at which the announcement expires. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. To set an announcement that never expires, omit this parameter, set it to `null`, or set it to an empty string.", "example": "\"2021-01-01T00:00:00.000-07:00\"", "nullable": true + }, + "user_dismissible": { + "type": "boolean", + "description": "Whether an announcement can be dismissed by the user.", + "example": false, + "nullable": true, + "default": false } }, "required": [ @@ -29279,6 +29293,13 @@ "description": "The time at which the announcement expires. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. To set an announcement that never expires, omit this parameter, set it to `null`, or set it to an empty string.", "example": "\"2021-01-01T00:00:00.000-07:00\"", "nullable": true + }, + "user_dismissible": { + "type": "boolean", + "description": "Whether an announcement can be dismissed by the user.", + "example": false, + "nullable": true, + "default": false } }, "required": [ @@ -78523,6 +78544,13 @@ "description": "The time at which the announcement expires. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. To set an announcement that never expires, omit this parameter, set it to `null`, or set it to an empty string.", "example": "\"2021-01-01T00:00:00.000-07:00\"", "nullable": true + }, + "user_dismissible": { + "type": "boolean", + "description": "Whether an announcement can be dismissed by the user.", + "example": false, + "nullable": true, + "default": false } }, "required": [ @@ -295508,7 +295536,7 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "reactions", "subcategory": "reactions" } diff --git a/descriptions/ghes-3.11/dereferenced/ghes-3.11.2022-11-28.deref.yaml b/descriptions/ghes-3.11/dereferenced/ghes-3.11.2022-11-28.deref.yaml index 766109d2b..12173ed92 100644 --- a/descriptions/ghes-3.11/dereferenced/ghes-3.11.2022-11-28.deref.yaml +++ b/descriptions/ghes-3.11/dereferenced/ghes-3.11.2022-11-28.deref.yaml @@ -4298,7 +4298,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/apps/webhooks#list-deliveries-for-an-app-webhook parameters: - *4 - - &199 + - &200 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 @@ -4314,7 +4314,7 @@ paths: application/json: schema: type: array - items: &200 + items: &201 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4391,7 +4391,7 @@ paths: - installation_id - repository_id examples: - default: &201 + default: &202 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4423,7 +4423,7 @@ paths: application/json: schema: *24 application/scim+json: - schema: &521 + schema: &522 title: Scim Error description: Scim Error type: object @@ -4519,7 +4519,7 @@ paths: description: Response content: application/json: - schema: &202 + schema: &203 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4633,7 +4633,7 @@ paths: - request - response examples: - default: &203 + default: &204 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -5191,7 +5191,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &230 + properties: &231 id: description: Unique identifier of the repository example: 42 @@ -5620,7 +5620,7 @@ paths: type: boolean description: Whether anonymous git access is enabled for this repository - required: &231 + required: &232 - archive_url - assignees_url - blobs_url @@ -6643,7 +6643,7 @@ paths: schema: type: string '422': *35 - '410': &229 + '410': &230 description: Gone content: application/json: @@ -9219,6 +9219,12 @@ paths: it to an empty string.' example: '"2021-01-01T00:00:00.000-07:00"' nullable: true + user_dismissible: &169 + type: boolean + description: Whether an announcement can be dismissed by the user. + example: false + nullable: true + default: false required: - announcement examples: @@ -11866,7 +11872,7 @@ paths: required: false schema: type: string - - &170 + - &171 name: include description: |- The event types to include: @@ -11884,7 +11890,7 @@ paths: - web - git - all - - &171 + - &172 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.11/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. @@ -11892,7 +11898,7 @@ paths: required: false schema: type: string - - &172 + - &173 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.11/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. @@ -11900,7 +11906,7 @@ paths: required: false schema: type: string - - &173 + - &174 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11922,7 +11928,7 @@ paths: application/json: schema: type: array - items: &174 + items: &175 type: object properties: "@timestamp": @@ -12044,7 +12050,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &175 + default: &176 value: - actor_ip: 88.123.45.123 from: pull_requests#merge @@ -12189,7 +12195,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *65 - - &176 + - &177 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`, @@ -12199,7 +12205,7 @@ paths: schema: &90 type: string description: The name of the tool used to generate the code scanning analysis. - - &177 + - &178 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 @@ -12222,7 +12228,7 @@ paths: be returned. in: query required: false - schema: &178 + schema: &179 type: string description: State of a code scanning alert. enum: @@ -12247,7 +12253,7 @@ paths: application/json: schema: type: array - items: &179 + items: &180 type: object properties: number: &93 @@ -12276,7 +12282,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &352 + instances_url: &353 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -12311,7 +12317,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &353 + dismissed_reason: &354 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -12320,13 +12326,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &354 + dismissed_comment: &355 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &355 + rule: &356 type: object properties: id: @@ -12365,7 +12371,7 @@ paths: description: A set of tags applicable for the rule. items: type: string - tool: &356 + tool: &357 type: object properties: name: *90 @@ -12375,15 +12381,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *91 - most_recent_instance: &357 + most_recent_instance: &358 type: object properties: - ref: &350 + ref: &351 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &361 + analysis_key: &362 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -12394,7 +12400,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &362 + category: &363 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -12732,7 +12738,7 @@ paths: - most_recent_instance - repository examples: - default: &180 + default: &181 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -13144,7 +13150,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *65 - - &184 + - &185 name: state in: query description: |- @@ -13153,7 +13159,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &185 + - &186 name: severity in: query description: |- @@ -13162,7 +13168,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &186 + - &187 name: ecosystem in: query description: |- @@ -13171,14 +13177,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &187 + - &188 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 - - &188 + - &189 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -13188,7 +13194,7 @@ paths: enum: - development - runtime - - &189 + - &190 name: sort in: query description: |- @@ -13204,7 +13210,7 @@ paths: - *9 - *88 - *89 - - &190 + - &191 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -13217,7 +13223,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &191 + - &192 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -13237,7 +13243,7 @@ paths: application/json: schema: type: array - items: &192 + items: &193 type: object description: A Dependabot alert. properties: @@ -13287,7 +13293,7 @@ paths: enum: - development - runtime - security_advisory: &384 + security_advisory: &385 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -13518,7 +13524,7 @@ paths: nullable: true maxLength: 280 fixed_at: *102 - auto_dismissed_at: &385 + auto_dismissed_at: &386 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -13544,7 +13550,7 @@ paths: - repository additionalProperties: false examples: - default: &193 + default: &194 value: - number: 2 state: dismissed @@ -13883,7 +13889,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *65 - - &240 + - &241 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -13894,7 +13900,7 @@ paths: enum: - open - resolved - - &241 + - &242 name: secret_type in: query description: A comma-separated list of secret types to return. By default @@ -13903,7 +13909,7 @@ paths: required: false schema: type: string - - &242 + - &243 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -13912,7 +13918,7 @@ paths: required: false schema: type: string - - &243 + - &244 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. @@ -13935,7 +13941,7 @@ paths: application/json: schema: type: array - items: &244 + items: &245 type: object properties: number: *93 @@ -13954,14 +13960,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &512 + state: &513 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: &513 + resolution: &514 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -14020,7 +14026,7 @@ paths: alert was closed nullable: true examples: - default: &245 + default: &246 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -14253,7 +14259,7 @@ paths: description: Success content: application/json: - schema: &247 + schema: &248 type: object properties: total_advanced_security_committers: @@ -14293,7 +14299,7 @@ paths: required: - repositories examples: - default: &248 + default: &249 value: total_advanced_security_committers: 2 total_count: 2 @@ -14310,7 +14316,7 @@ paths: advanced_security_committers_breakdown: - user_login: octokitten last_pushed_date: '2021-10-26' - '403': &249 + '403': &250 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -14457,7 +14463,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &428 + properties: &429 id: type: integer format: int64 @@ -14568,7 +14574,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &374 + properties: &375 url: type: string format: uri @@ -14638,7 +14644,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &375 + required: &376 - closed_issues - creator - description @@ -14793,7 +14799,7 @@ paths: - total - completed - percent_completed - required: &429 + required: &430 - assignee - closed_at - comments @@ -14815,7 +14821,7 @@ paths: - author_association - created_at - updated_at - comment: &426 + comment: &427 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -15377,7 +15383,7 @@ paths: url: type: string format: uri - user: &559 + user: &560 title: Public User description: Public User type: object @@ -17241,7 +17247,7 @@ paths: - closed - all default: open - - &204 + - &205 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -17292,7 +17298,7 @@ paths: type: array items: *121 examples: - default: &205 + default: &206 value: - id: 1 node_id: MDU6SXNzdWUx @@ -18661,14 +18667,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &272 + - &273 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &273 + - &274 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -18739,7 +18745,7 @@ paths: '404': *26 '403': *43 '304': *42 - '301': &284 + '301': &285 description: Moved permanently content: application/json: @@ -18761,7 +18767,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &457 + - &458 name: all description: If `true`, show notifications marked as read. in: query @@ -18769,7 +18775,7 @@ paths: schema: type: boolean default: false - - &458 + - &459 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -18779,7 +18785,7 @@ paths: type: boolean default: false - *111 - - &459 + - &460 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: @@ -18815,7 +18821,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &195 + properties: &196 id: type: integer format: int64 @@ -19091,7 +19097,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &232 + security_and_analysis: &233 nullable: true type: object properties: @@ -19131,7 +19137,7 @@ paths: enum: - enabled - disabled - required: &196 + required: &197 - archive_url - assignees_url - blobs_url @@ -19219,7 +19225,7 @@ paths: - url - subscription_url examples: - default: &460 + default: &461 value: - id: '1' repository: @@ -19744,7 +19750,7 @@ paths: type: array items: *70 examples: - default: &568 + default: &569 value: - login: github id: 1 @@ -19808,7 +19814,7 @@ paths: type: integer custom_roles: type: array - items: &181 + items: &182 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -19856,7 +19862,7 @@ paths: - created_at - updated_at examples: - default: &182 + default: &183 value: id: 8030 name: Security Engineer @@ -20557,7 +20563,7 @@ paths: type: integer repository_cache_usages: type: array - items: &289 + items: &290 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -20808,7 +20814,7 @@ paths: type: array items: *84 examples: - default: &565 + default: &566 value: total_count: 1 repositories: @@ -22608,7 +22614,7 @@ paths: description: Response content: application/json: - schema: &311 + schema: &312 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -22637,7 +22643,7 @@ paths: - key_id - key examples: - default: &312 + default: &313 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23050,7 +23056,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/actions/variables#list-organization-variables parameters: - *134 - - &296 + - &297 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.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -23535,7 +23541,7 @@ paths: description: Response content: application/json: - schema: &169 + schema: &170 title: Announcement Banner description: Announcement at either the repository, organization, or enterprise level @@ -23543,12 +23549,7 @@ paths: properties: announcement: *167 expires_at: *168 - user_dismissible: - type: boolean - description: Whether an announcement can be dismissed by the user. - example: false - nullable: true - default: false + user_dismissible: *169 required: - announcement - expires_at @@ -23583,7 +23584,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *170 examples: default: *54 x-github: @@ -23638,10 +23639,10 @@ paths: required: false schema: type: string - - *170 - *171 - *172 - *173 + - *174 - *4 - *5 responses: @@ -23651,9 +23652,9 @@ paths: application/json: schema: type: array - items: *174 + items: *175 examples: - default: *175 + default: *176 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -23676,8 +23677,8 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *134 - - *176 - *177 + - *178 - *88 - *89 - *5 @@ -23688,7 +23689,7 @@ paths: be returned. in: query required: false - schema: *178 + schema: *179 - name: sort description: The property by which to sort the results. in: query @@ -23704,7 +23705,7 @@ paths: be returned. in: query required: false - schema: &351 + schema: &352 type: string description: Severity of a code scanning alert. enum: @@ -23722,9 +23723,9 @@ paths: application/json: schema: type: array - items: *179 + items: *180 examples: - default: *180 + default: *181 headers: Link: *6 '404': *26 @@ -23765,7 +23766,7 @@ paths: type: integer custom_roles: type: array - items: *181 + items: *182 examples: default: value: @@ -23898,9 +23899,9 @@ paths: description: Response content: application/json: - schema: *181 + schema: *182 examples: - default: *182 + default: *183 '422': *35 '404': *26 x-github: @@ -23925,7 +23926,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *134 - - &183 + - &184 name: role_id description: The unique identifier of the role. in: path @@ -23937,9 +23938,9 @@ paths: description: Response content: application/json: - schema: *181 + schema: *182 examples: - default: *182 + default: *183 '404': *26 x-github: githubCloudOnly: true @@ -23962,7 +23963,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *134 - - *183 + - *184 requestBody: required: true content: @@ -24005,9 +24006,9 @@ paths: description: Response content: application/json: - schema: *181 + schema: *182 examples: - default: *182 + default: *183 '422': *35 '404': *26 x-github: @@ -24032,7 +24033,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *134 - - *183 + - *184 responses: '204': description: Response @@ -24058,17 +24059,17 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *134 - - *184 - *185 - *186 - *187 - *188 - *189 + - *190 - *9 - *88 - *89 - - *190 - *191 + - *192 - *4 responses: '200': @@ -24077,9 +24078,9 @@ paths: application/json: schema: type: array - items: *192 + items: *193 examples: - default: *193 + default: *194 '304': *42 '400': *34 '403': *43 @@ -24123,7 +24124,7 @@ paths: type: integer secrets: type: array - items: &194 + items: &195 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -24200,7 +24201,7 @@ paths: description: Response content: application/json: - schema: &388 + schema: &389 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -24217,7 +24218,7 @@ paths: - key_id - key examples: - default: &389 + default: &390 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -24247,7 +24248,7 @@ paths: description: Response content: application/json: - schema: *194 + schema: *195 examples: default: value: @@ -24544,7 +24545,7 @@ paths: application/json: schema: type: array - items: &211 + items: &212 title: Package description: A software package type: object @@ -24594,8 +24595,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *195 - required: *196 + properties: *196 + required: *197 nullable: true created_at: type: string @@ -24614,7 +24615,7 @@ paths: - created_at - updated_at examples: - default: &212 + default: &213 value: - id: 197 name: hello_docker @@ -24798,7 +24799,7 @@ paths: description: Response content: application/json: - schema: &267 + schema: &268 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -24879,7 +24880,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &268 + default: &269 value: group_id: '123' group_name: Octocat admins @@ -24934,7 +24935,7 @@ paths: description: Response content: application/json: - schema: &265 + schema: &266 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -24971,7 +24972,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &266 + default: &267 value: groups: - group_id: '123' @@ -25018,7 +25019,7 @@ paths: application/json: schema: type: array - items: &197 + items: &198 title: Org Hook description: Org Hook type: object @@ -25189,9 +25190,9 @@ paths: description: Response content: application/json: - schema: *197 + schema: *198 examples: - default: &198 + default: &199 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -25245,9 +25246,9 @@ paths: description: Response content: application/json: - schema: *197 + schema: *198 examples: - default: *198 + default: *199 '404': *26 x-github: githubCloudOnly: false @@ -25320,7 +25321,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *198 examples: default: value: @@ -25474,7 +25475,7 @@ paths: - *134 - *3 - *4 - - *199 + - *200 responses: '200': description: Response @@ -25482,9 +25483,9 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: *201 + default: *202 '400': *34 '422': *35 x-github: @@ -25517,9 +25518,9 @@ paths: description: Response content: application/json: - schema: *202 + schema: *203 examples: - default: *203 + default: *204 '400': *34 '422': *35 x-github: @@ -25607,7 +25608,7 @@ paths: application/json: schema: *39 examples: - default: &423 + default: &424 value: id: 1 account: @@ -25804,7 +25805,7 @@ paths: - closed - all default: open - - *204 + - *205 - name: sort description: What to sort results by. in: query @@ -25829,7 +25830,7 @@ paths: type: array items: *121 examples: - default: *205 + default: *206 headers: Link: *6 '404': *26 @@ -25887,7 +25888,7 @@ paths: type: array items: *19 examples: - default: &210 + default: &211 value: - login: octocat id: 1 @@ -25989,7 +25990,7 @@ paths: description: Response content: application/json: - schema: &206 + schema: &207 title: Org Membership description: Org Membership type: object @@ -26041,7 +26042,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &207 + response-if-user-has-an-active-admin-membership-with-organization: &208 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -26137,9 +26138,9 @@ paths: description: Response content: application/json: - schema: *206 + schema: *207 examples: - response-if-user-already-had-membership-with-organization: *207 + response-if-user-already-had-membership-with-organization: *208 '422': *35 '403': *43 x-github: @@ -26207,7 +26208,7 @@ paths: application/json: schema: type: array - items: &208 + items: &209 title: Migration description: A migration. type: object @@ -26539,7 +26540,7 @@ paths: description: Response content: application/json: - schema: *208 + schema: *209 examples: default: value: @@ -26718,7 +26719,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/migrations/orgs#get-an-organization-migration-status parameters: - *134 - - &209 + - &210 name: migration_id description: The unique identifier of the migration. in: path @@ -26745,7 +26746,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *208 + schema: *209 examples: default: value: @@ -26915,7 +26916,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *134 - - *209 + - *210 responses: '302': description: Response @@ -26937,7 +26938,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *134 - - *209 + - *210 responses: '204': description: Response @@ -26961,7 +26962,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/migrations/orgs#unlock-an-organization-repository parameters: - *134 - - *209 + - *210 - name: repo_name description: repo_name parameter in: path @@ -26989,7 +26990,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *134 - - *209 + - *210 - *4 - *5 responses: @@ -27001,7 +27002,7 @@ paths: type: array items: *152 examples: - default: &218 + default: &219 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -27152,7 +27153,7 @@ paths: type: array items: *19 examples: - default: *210 + default: *211 headers: Link: *6 x-github: @@ -27294,7 +27295,7 @@ paths: - nuget - container - *134 - - &569 + - &570 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -27330,12 +27331,12 @@ paths: application/json: schema: type: array - items: *211 + items: *212 examples: - default: *212 + default: *213 '403': *43 '401': *41 - '400': &571 + '400': &572 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -27357,7 +27358,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/packages/packages#get-a-package-for-an-organization parameters: - - &213 + - &214 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 @@ -27375,7 +27376,7 @@ paths: - docker - nuget - container - - &214 + - &215 name: package_name description: The name of the package. in: path @@ -27388,7 +27389,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *212 examples: default: value: @@ -27440,8 +27441,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *213 - *214 + - *215 - *134 responses: '204': @@ -27474,8 +27475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *213 - *214 + - *215 - *134 - name: token description: package token @@ -27508,8 +27509,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *213 - *214 + - *215 - *134 - *5 - *4 @@ -27530,7 +27531,7 @@ paths: application/json: schema: type: array - items: &215 + items: &216 title: Package Version description: A version of a software package type: object @@ -27655,10 +27656,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *213 - *214 + - *215 - *134 - - &216 + - &217 name: package_version_id description: Unique identifier of the package version. in: path @@ -27670,7 +27671,7 @@ paths: description: Response content: application/json: - schema: *215 + schema: *216 examples: default: value: @@ -27706,10 +27707,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *213 - *214 + - *215 - *134 - - *216 + - *217 responses: '204': description: Response @@ -27741,10 +27742,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *213 - *214 + - *215 - *134 - - *216 + - *217 responses: '204': description: Response @@ -27774,7 +27775,7 @@ paths: - *134 - *4 - *5 - - &219 + - &220 name: sort description: The property by which to sort the results. in: query @@ -27785,7 +27786,7 @@ paths: - created_at default: created_at - *9 - - &220 + - &221 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -27796,7 +27797,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &221 + - &222 name: repository description: The name of the repository to use to filter the results. in: query @@ -27804,7 +27805,7 @@ paths: schema: type: string example: Hello-World - - &222 + - &223 name: permission description: The permission to use to filter the results. in: query @@ -27812,7 +27813,7 @@ paths: schema: type: string example: issues_read - - &223 + - &224 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) @@ -27822,7 +27823,7 @@ paths: schema: type: string format: date-time - - &224 + - &225 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) @@ -27833,7 +27834,7 @@ paths: type: string format: date-time responses: - '500': &217 + '500': &218 description: Internal Error content: application/json: @@ -28030,7 +28031,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *217 + '500': *218 '422': *35 '404': *26 '403': *43 @@ -28091,11 +28092,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *217 + '500': *218 '422': *35 '404': *26 '403': *43 - '204': &225 + '204': &226 description: A header with no content is returned. x-github: githubCloudOnly: false @@ -28128,7 +28129,7 @@ paths: - *4 - *5 responses: - '500': *217 + '500': *218 '404': *26 '403': *43 '200': @@ -28139,7 +28140,7 @@ paths: type: array items: *152 examples: - default: *218 + default: *219 headers: Link: *6 x-github: @@ -28165,15 +28166,15 @@ paths: - *134 - *4 - *5 - - *219 - - *9 - *220 + - *9 - *221 - *222 - *223 - *224 + - *225 responses: - '500': *217 + '500': *218 '422': *35 '404': *26 '403': *43 @@ -28355,7 +28356,7 @@ paths: - 1296269 - 1296280 responses: - '500': *217 + '500': *218 '404': *26 '202': *140 '403': *43 @@ -28408,9 +28409,9 @@ paths: value: action: revoke responses: - '500': *217 + '500': *218 '404': *26 - '204': *225 + '204': *226 '403': *43 '422': *35 x-github: @@ -28442,7 +28443,7 @@ paths: - *4 - *5 responses: - '500': *217 + '500': *218 '404': *26 '403': *43 '200': @@ -28453,7 +28454,7 @@ paths: type: array items: *152 examples: - default: *218 + default: *219 headers: Link: *6 x-github: @@ -28497,7 +28498,7 @@ paths: application/json: schema: type: array - items: &226 + items: &227 type: object properties: id: @@ -28541,9 +28542,9 @@ paths: description: Response content: application/json: - schema: *226 + schema: *227 examples: - default: &227 + default: &228 value: id: 42 name: Check Commits @@ -28573,7 +28574,7 @@ paths: description: Response content: application/json: - schema: *226 + schema: *227 examples: default: value: @@ -28622,9 +28623,9 @@ paths: description: Response content: application/json: - schema: *226 + schema: *227 examples: - default: *227 + default: *228 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28665,7 +28666,7 @@ paths: application/json: schema: type: array - items: &228 + items: &229 title: Project description: Projects are a way to organize columns and cards of work. @@ -28835,7 +28836,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *229 examples: default: value: @@ -28873,7 +28874,7 @@ paths: '401': *41 '403': *43 '404': *26 - '410': *229 + '410': *230 '422': *27 x-github: githubCloudOnly: false @@ -28904,7 +28905,7 @@ paths: type: array items: *19 examples: - default: *210 + default: *211 headers: Link: *6 x-github: @@ -29045,7 +29046,7 @@ paths: type: array items: *152 examples: - default: *218 + default: *219 headers: Link: *6 x-github: @@ -29254,7 +29255,7 @@ paths: description: Response content: application/json: - schema: &283 + schema: &284 title: Full Repository description: Full Repository type: object @@ -29531,8 +29532,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *230 - required: *231 + properties: *231 + required: *232 nullable: true temp_clone_token: type: string @@ -29668,7 +29669,7 @@ paths: - key - name - html_url - security_and_analysis: *232 + security_and_analysis: *233 required: - archive_url - assignees_url @@ -29746,7 +29747,7 @@ paths: - network_count - subscribers_count examples: - default: &285 + default: &286 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -30318,7 +30319,7 @@ paths: - *134 - *4 - *5 - - &508 + - &509 name: targets description: | A comma-separated list of rule targets to filter by. @@ -30336,7 +30337,7 @@ paths: application/json: schema: type: array - items: &238 + items: &239 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -30368,7 +30369,7 @@ paths: source: type: string description: The name of the source - enforcement: &234 + enforcement: &235 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -30381,7 +30382,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &235 + items: &236 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -30445,7 +30446,7 @@ paths: conditions: nullable: true anyOf: - - &233 + - &234 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -30469,7 +30470,7 @@ paths: match. items: type: string - - &236 + - &237 title: Organization ruleset conditions type: object description: |- @@ -30483,7 +30484,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *233 + - *234 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -30517,7 +30518,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *233 + - *234 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -30536,12 +30537,12 @@ paths: - repository_id rules: type: array - items: &237 + items: &238 title: Repository Rule type: object description: A repository rule. oneOf: - - &492 + - &493 title: creation description: Only allow users with bypass permission to create matching refs. @@ -30553,7 +30554,7 @@ paths: type: string enum: - creation - - &493 + - &494 title: update description: Only allow users with bypass permission to update matching refs. @@ -30574,7 +30575,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &495 + - &496 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -30586,7 +30587,7 @@ paths: type: string enum: - deletion - - &496 + - &497 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -30598,7 +30599,7 @@ paths: type: string enum: - required_linear_history - - &497 + - &498 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -30622,7 +30623,7 @@ paths: type: string required: - required_deployment_environments - - &498 + - &499 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -30634,7 +30635,7 @@ paths: type: string enum: - required_signatures - - &499 + - &500 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -30687,7 +30688,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &500 + - &501 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -30735,7 +30736,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &501 + - &502 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -30747,7 +30748,7 @@ paths: type: string enum: - non_fast_forward - - &502 + - &503 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -30783,7 +30784,7 @@ paths: required: - operator - pattern - - &503 + - &504 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -30819,7 +30820,7 @@ paths: required: - operator - pattern - - &504 + - &505 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -30855,7 +30856,7 @@ paths: required: - operator - pattern - - &505 + - &506 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -30891,7 +30892,7 @@ paths: required: - operator - pattern - - &506 + - &507 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -30927,7 +30928,7 @@ paths: required: - operator - pattern - - &507 + - &508 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -31013,7 +31014,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *26 - '500': *217 + '500': *218 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -31048,16 +31049,16 @@ paths: - branch - tag default: branch - enforcement: *234 + enforcement: *235 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *235 - conditions: *236 + items: *236 + conditions: *237 rules: type: array description: An array of rules within the ruleset. - items: *237 + items: *238 source_type: type: string description: The type of the source of the ruleset @@ -31101,9 +31102,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *239 examples: - default: &239 + default: &240 value: id: 21 name: super cool ruleset @@ -31143,7 +31144,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *26 - '500': *217 + '500': *218 "/orgs/{org}/rulesets/{ruleset_id}": get: summary: Get an organization repository ruleset @@ -31176,11 +31177,11 @@ paths: description: Response content: application/json: - schema: *238 + schema: *239 examples: - default: *239 + default: *240 '404': *26 - '500': *217 + '500': *218 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -31220,16 +31221,16 @@ paths: enum: - branch - tag - enforcement: *234 + enforcement: *235 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *235 - conditions: *236 + items: *236 + conditions: *237 rules: description: An array of rules within the ruleset. type: array - items: *237 + items: *238 examples: default: value: @@ -31264,11 +31265,11 @@ paths: description: Response content: application/json: - schema: *238 + schema: *239 examples: - default: *239 + default: *240 '404': *26 - '500': *217 + '500': *218 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -31295,7 +31296,7 @@ paths: '204': description: Response '404': *26 - '500': *217 + '500': *218 "/orgs/{org}/secret-scanning/alerts": get: summary: List secret scanning alerts for an organization @@ -31313,14 +31314,14 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *134 - - *240 - *241 - *242 - *243 + - *244 - *9 - *5 - *4 - - &510 + - &511 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.11/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -31330,7 +31331,7 @@ paths: required: false schema: type: string - - &511 + - &512 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.11/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -31347,9 +31348,9 @@ paths: application/json: schema: type: array - items: *244 + items: *245 examples: - default: *245 + default: *246 headers: Link: *6 '404': *26 @@ -31383,12 +31384,12 @@ paths: application/json: schema: type: array - items: &469 + items: &470 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &250 + properties: &251 id: description: Unique identifier of the team type: integer @@ -31441,7 +31442,7 @@ paths: LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &251 + required: &252 - id - node_id - url @@ -31453,7 +31454,7 @@ paths: - repositories_url - slug examples: - default: &252 + default: &253 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -31491,7 +31492,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/orgs/security-managers#add-a-security-manager-team parameters: - *134 - - &246 + - &247 name: team_slug description: The slug of the team name. in: path @@ -31526,7 +31527,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *134 - - *246 + - *247 responses: '204': description: Response @@ -31562,10 +31563,10 @@ paths: description: Success content: application/json: - schema: *247 + schema: *248 examples: - default: *248 - '403': *249 + default: *249 + '403': *250 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -31593,7 +31594,7 @@ paths: application/json: schema: type: array - items: &274 + items: &275 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -31652,8 +31653,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *250 - required: *251 + properties: *251 + required: *252 nullable: true required: - id @@ -31668,7 +31669,7 @@ paths: - slug - parent examples: - default: *252 + default: *253 headers: Link: *6 '403': *43 @@ -31770,7 +31771,7 @@ paths: description: Response content: application/json: - schema: &253 + schema: &254 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -31833,8 +31834,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *250 - required: *251 + properties: *251 + required: *252 nullable: true members_count: type: integer @@ -32080,7 +32081,7 @@ paths: - repos_count - organization examples: - default: &254 + default: &255 value: id: 1 node_id: MDQ6VGVhbTE= @@ -32150,15 +32151,15 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/teams#get-a-team-by-name parameters: - *134 - - *246 + - *247 responses: '200': description: Response content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 '404': *26 x-github: githubCloudOnly: false @@ -32180,7 +32181,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/teams#update-a-team parameters: - *134 - - *246 + - *247 requestBody: required: false content: @@ -32242,16 +32243,16 @@ paths: description: Response when the updated information already exists 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 '404': *26 '422': *35 '403': *43 @@ -32277,7 +32278,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/teams#delete-a-team parameters: - *134 - - *246 + - *247 responses: '204': description: Response @@ -32304,7 +32305,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/discussions#list-discussions parameters: - *134 - - *246 + - *247 - *9 - *4 - *5 @@ -32321,7 +32322,7 @@ paths: application/json: schema: type: array - items: &255 + items: &256 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -32420,7 +32421,7 @@ paths: - updated_at - url examples: - default: &549 + default: &550 value: - author: login: octocat @@ -32495,7 +32496,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/discussions#create-a-discussion parameters: - *134 - - *246 + - *247 requestBody: required: true content: @@ -32529,9 +32530,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *256 examples: - default: &256 + default: &257 value: author: login: octocat @@ -32604,8 +32605,8 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/discussions#get-a-discussion parameters: - *134 - - *246 - - &257 + - *247 + - &258 name: discussion_number description: The number that identifies the discussion. in: path @@ -32617,9 +32618,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *256 examples: - default: *256 + default: *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32642,8 +32643,8 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/discussions#update-a-discussion parameters: - *134 - - *246 - - *257 + - *247 + - *258 requestBody: required: false content: @@ -32666,9 +32667,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *256 examples: - default: &550 + default: &551 value: author: login: octocat @@ -32739,8 +32740,8 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/discussions#delete-a-discussion parameters: - *134 - - *246 - - *257 + - *247 + - *258 responses: '204': description: Response @@ -32767,8 +32768,8 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/discussion-comments#list-discussion-comments parameters: - *134 - - *246 - - *257 + - *247 + - *258 - *9 - *4 - *5 @@ -32779,7 +32780,7 @@ paths: application/json: schema: type: array - items: &258 + items: &259 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -32851,7 +32852,7 @@ paths: - updated_at - url examples: - default: &551 + default: &552 value: - author: login: octocat @@ -32920,8 +32921,8 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/discussion-comments#create-a-discussion-comment parameters: - *134 - - *246 - - *257 + - *247 + - *258 requestBody: required: true content: @@ -32943,9 +32944,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - default: &259 + default: &260 value: author: login: octocat @@ -33012,9 +33013,9 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/discussion-comments#get-a-discussion-comment parameters: - *134 - - *246 - - *257 - - &260 + - *247 + - *258 + - &261 name: comment_number description: The number that identifies the comment. in: path @@ -33026,9 +33027,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - default: *259 + default: *260 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33051,9 +33052,9 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/discussion-comments#update-a-discussion-comment parameters: - *134 - - *246 - - *257 - - *260 + - *247 + - *258 + - *261 requestBody: required: true content: @@ -33075,9 +33076,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - default: &552 + default: &553 value: author: login: octocat @@ -33142,9 +33143,9 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *134 - - *246 - - *257 - - *260 + - *247 + - *258 + - *261 responses: '204': description: Response @@ -33171,9 +33172,9 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *134 - - *246 - - *257 - - *260 + - *247 + - *258 + - *261 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -33199,7 +33200,7 @@ paths: application/json: schema: type: array - items: &261 + items: &262 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -33242,7 +33243,7 @@ paths: - content - created_at examples: - default: &263 + default: &264 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -33293,9 +33294,9 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *134 - - *246 - - *257 - - *260 + - *247 + - *258 + - *261 requestBody: required: true content: @@ -33328,9 +33329,9 @@ paths: team discussion comment content: application/json: - schema: *261 + schema: *262 examples: - default: &262 + default: &263 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -33359,9 +33360,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *262 examples: - default: *262 + default: *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33385,10 +33386,10 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *134 - - *246 - - *257 - - *260 - - &264 + - *247 + - *258 + - *261 + - &265 name: reaction_id description: The unique identifier of the reaction. in: path @@ -33421,8 +33422,8 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *134 - - *246 - - *257 + - *247 + - *258 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -33448,9 +33449,9 @@ paths: application/json: schema: type: array - items: *261 + items: *262 examples: - default: *263 + default: *264 headers: Link: *6 x-github: @@ -33477,8 +33478,8 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *134 - - *246 - - *257 + - *247 + - *258 requestBody: required: true content: @@ -33510,16 +33511,16 @@ paths: description: Response content: application/json: - schema: *261 + schema: *262 examples: - default: *262 + default: *263 '201': description: Response content: application/json: - schema: *261 + schema: *262 examples: - default: *262 + default: *263 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -33543,9 +33544,9 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#delete-team-discussion-reaction parameters: - *134 - - *246 - - *257 - - *264 + - *247 + - *258 + - *265 responses: '204': description: Response @@ -33569,15 +33570,15 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *134 - - *246 + - *247 responses: '200': description: Response content: application/json: - schema: *265 + schema: *266 examples: - default: *266 + default: *267 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -33597,7 +33598,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *134 - - *246 + - *247 requestBody: required: true content: @@ -33620,9 +33621,9 @@ paths: description: Response content: application/json: - schema: *267 + schema: *268 examples: - default: *268 + default: *269 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -33642,7 +33643,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *134 - - *246 + - *247 responses: '204': description: Response @@ -33666,7 +33667,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/members#list-team-members parameters: - *134 - - *246 + - *247 - name: role description: Filters members returned by their role in the team. in: query @@ -33689,7 +33690,7 @@ paths: type: array items: *19 examples: - default: *210 + default: *211 headers: Link: *6 x-github: @@ -33720,14 +33721,14 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/members#get-team-membership-for-a-user parameters: - *134 - - *246 + - *247 - *8 responses: '200': description: Response content: application/json: - schema: &269 + schema: &270 title: Team Membership description: Team Membership type: object @@ -33754,7 +33755,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &553 + response-if-user-is-a-team-maintainer: &554 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -33791,7 +33792,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *134 - - *246 + - *247 - *8 requestBody: required: false @@ -33817,9 +33818,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *270 examples: - response-if-users-membership-with-team-is-now-pending: &554 + response-if-users-membership-with-team-is-now-pending: &555 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -33855,7 +33856,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/members#remove-team-membership-for-a-user parameters: - *134 - - *246 + - *247 - *8 responses: '204': @@ -33883,7 +33884,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/teams#list-team-projects parameters: - *134 - - *246 + - *247 - *4 - *5 responses: @@ -33893,7 +33894,7 @@ paths: application/json: schema: type: array - items: &270 + items: &271 title: Team Project description: A team's access to a project. type: object @@ -33961,7 +33962,7 @@ paths: - updated_at - permissions examples: - default: &555 + default: &556 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -34023,8 +34024,8 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/teams#check-team-permissions-for-a-project parameters: - *134 - - *246 - - &271 + - *247 + - &272 name: project_id description: The unique identifier of the project. in: path @@ -34036,9 +34037,9 @@ paths: description: Response content: application/json: - schema: *270 + schema: *271 examples: - default: &556 + default: &557 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -34099,8 +34100,8 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/teams#add-or-update-team-project-permissions parameters: - *134 - - *246 - - *271 + - *247 + - *272 requestBody: required: false content: @@ -34165,8 +34166,8 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/teams#remove-a-project-from-a-team parameters: - *134 - - *246 - - *271 + - *247 + - *272 responses: '204': description: Response @@ -34191,7 +34192,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/teams#list-team-repositories parameters: - *134 - - *246 + - *247 - *4 - *5 responses: @@ -34203,7 +34204,7 @@ paths: type: array items: *152 examples: - default: *218 + default: *219 headers: Link: *6 x-github: @@ -34233,15 +34234,15 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *134 - - *246 - - *272 + - *247 - *273 + - *274 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &557 + schema: &558 title: Team Repository description: A team's access to a repository. type: object @@ -34811,9 +34812,9 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *134 - - *246 - - *272 + - *247 - *273 + - *274 requestBody: required: false content: @@ -34859,9 +34860,9 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/teams#remove-a-repository-from-a-team parameters: - *134 - - *246 - - *272 + - *247 - *273 + - *274 responses: '204': description: Response @@ -34886,7 +34887,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/teams#list-child-teams parameters: - *134 - - *246 + - *247 - *4 - *5 responses: @@ -34896,9 +34897,9 @@ paths: application/json: schema: type: array - items: *274 + items: *275 examples: - response-if-child-teams-exist: &558 + response-if-child-teams-exist: &559 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -35016,7 +35017,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/projects/cards#get-a-project-card parameters: - - &275 + - &276 name: card_id description: The unique identifier of the card. in: path @@ -35028,7 +35029,7 @@ paths: description: Response content: application/json: - schema: &276 + schema: &277 title: Project Card description: Project cards represent a scope of work. type: object @@ -35095,7 +35096,7 @@ paths: - created_at - updated_at examples: - default: &277 + default: &278 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -35145,7 +35146,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/projects/cards#update-an-existing-project-card parameters: - - *275 + - *276 requestBody: required: false content: @@ -35172,9 +35173,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *277 examples: - default: *277 + default: *278 '304': *42 '403': *43 '401': *41 @@ -35195,7 +35196,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/projects/cards#delete-a-project-card parameters: - - *275 + - *276 responses: '204': description: Response @@ -35233,7 +35234,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/projects/cards#move-a-project-card parameters: - - *275 + - *276 requestBody: required: true content: @@ -35338,7 +35339,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/projects/columns#get-a-project-column parameters: - - &278 + - &279 name: column_id description: The unique identifier of the column. in: path @@ -35350,7 +35351,7 @@ paths: description: Response content: application/json: - schema: &279 + schema: &280 title: Project Column description: Project columns contain cards of work. type: object @@ -35396,7 +35397,7 @@ paths: - created_at - updated_at examples: - default: &280 + default: &281 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -35425,7 +35426,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/projects/columns#update-an-existing-project-column parameters: - - *278 + - *279 requestBody: required: true content: @@ -35449,9 +35450,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: - default: *280 + default: *281 '304': *42 '403': *43 '401': *41 @@ -35470,7 +35471,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/projects/columns#delete-a-project-column parameters: - - *278 + - *279 responses: '204': description: Response @@ -35493,7 +35494,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/projects/cards#list-project-cards parameters: - - *278 + - *279 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -35514,7 +35515,7 @@ paths: application/json: schema: type: array - items: *276 + items: *277 examples: default: value: @@ -35567,7 +35568,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/projects/cards#create-a-project-card parameters: - - *278 + - *279 requestBody: required: true content: @@ -35607,9 +35608,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *277 examples: - default: *277 + default: *278 '304': *42 '403': *43 '401': *41 @@ -35659,7 +35660,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/projects/columns#move-a-project-column parameters: - - *278 + - *279 requestBody: required: true content: @@ -35715,15 +35716,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/projects/projects#get-a-project parameters: - - *271 + - *272 responses: '200': description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: &281 + default: &282 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -35776,7 +35777,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/projects/projects#update-a-project parameters: - - *271 + - *272 requestBody: required: false content: @@ -35822,9 +35823,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: *281 + default: *282 '404': description: Not Found if the authenticated user does not have access to the project @@ -35845,7 +35846,7 @@ paths: items: type: string '401': *41 - '410': *229 + '410': *230 '422': *27 x-github: githubCloudOnly: false @@ -35863,7 +35864,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/projects/projects#delete-a-project parameters: - - *271 + - *272 responses: '204': description: Delete Success @@ -35884,7 +35885,7 @@ paths: items: type: string '401': *41 - '410': *229 + '410': *230 '404': *26 x-github: githubCloudOnly: false @@ -35907,7 +35908,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/projects/collaborators#list-project-collaborators parameters: - - *271 + - *272 - 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 @@ -35934,7 +35935,7 @@ paths: type: array items: *19 examples: - default: *210 + default: *211 headers: Link: *6 '404': *26 @@ -35959,7 +35960,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/projects/collaborators#add-project-collaborator parameters: - - *271 + - *272 - *8 requestBody: required: false @@ -36007,7 +36008,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *271 + - *272 - *8 responses: '204': @@ -36036,7 +36037,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *271 + - *272 - *8 responses: '200': @@ -36104,7 +36105,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/projects/columns#list-project-columns parameters: - - *271 + - *272 - *4 - *5 responses: @@ -36114,7 +36115,7 @@ paths: application/json: schema: type: array - items: *279 + items: *280 examples: default: value: @@ -36146,7 +36147,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/projects/columns#create-a-project-column parameters: - - *271 + - *272 requestBody: required: true content: @@ -36169,7 +36170,7 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: default: value: @@ -36230,7 +36231,7 @@ paths: resources: type: object properties: - core: &282 + core: &283 title: Rate Limit type: object properties: @@ -36247,19 +36248,19 @@ paths: - remaining - reset - used - graphql: *282 - search: *282 - code_search: *282 - source_import: *282 - integration_manifest: *282 - code_scanning_upload: *282 - actions_runner_registration: *282 - scim: *282 - code_scanning_autofix: *282 + graphql: *283 + search: *283 + code_search: *283 + source_import: *283 + integration_manifest: *283 + code_scanning_upload: *283 + actions_runner_registration: *283 + scim: *283 + code_scanning_autofix: *283 required: - core - search - rate: *282 + rate: *283 required: - rate - resources @@ -36363,14 +36364,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/repos#get-a-repository parameters: - - *272 - *273 + - *274 responses: '200': description: Response content: application/json: - schema: *283 + schema: *284 examples: default-response: summary: Default response @@ -36869,7 +36870,7 @@ paths: status: disabled '403': *43 '404': *26 - '301': *284 + '301': *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36887,8 +36888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/repos#update-a-repository parameters: - - *272 - *273 + - *274 requestBody: required: false content: @@ -37101,10 +37102,10 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: - default: *285 - '307': &286 + default: *286 + '307': &287 description: Temporary Redirect content: application/json: @@ -37149,8 +37150,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/repos#delete-a-repository parameters: - - *272 - *273 + - *274 responses: '204': description: Response @@ -37172,7 +37173,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-server@3.11/rest/repos/repos#delete-a-repository - '307': *286 + '307': *287 '404': *26 x-github: githubCloudOnly: false @@ -37195,11 +37196,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *272 - *273 + - *274 - *4 - *5 - - &303 + - &304 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -37222,7 +37223,7 @@ paths: type: integer artifacts: type: array - items: &287 + items: &288 title: Artifact description: An artifact type: object @@ -37293,7 +37294,7 @@ paths: - expires_at - updated_at examples: - default: &304 + default: &305 value: total_count: 2 artifacts: @@ -37352,9 +37353,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/artifacts#get-an-artifact parameters: - - *272 - *273 - - &288 + - *274 + - &289 name: artifact_id description: The unique identifier of the artifact. in: path @@ -37366,7 +37367,7 @@ paths: description: Response content: application/json: - schema: *287 + schema: *288 examples: default: value: @@ -37403,9 +37404,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/artifacts#delete-an-artifact parameters: - - *272 - *273 - - *288 + - *274 + - *289 responses: '204': description: Response @@ -37429,9 +37430,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/artifacts#download-an-artifact parameters: - - *272 - *273 - - *288 + - *274 + - *289 - name: archive_format in: path required: true @@ -37445,7 +37446,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': *229 + '410': *230 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37468,14 +37469,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *272 - *273 + - *274 responses: '200': description: Response content: application/json: - schema: *289 + schema: *290 examples: default: value: @@ -37501,14 +37502,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/cache#get-github-actions-cache-usage-policy-for-a-repository parameters: - - *272 - *273 + - *274 responses: '200': description: Response content: application/json: - schema: &290 + schema: &291 title: Actions cache usage policy for repository description: GitHub Actions cache usage policy for repository. type: object @@ -37520,7 +37521,7 @@ paths: required: - repo_cache_size_limit_in_gb examples: - default: &291 + default: &292 value: repo_cache_size_limit_in_gb: 14 x-github: @@ -37541,8 +37542,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/cache#set-github-actions-cache-usage-policy-for-a-repository parameters: - - *272 - *273 + - *274 responses: '204': description: Response @@ -37550,9 +37551,9 @@ paths: required: true content: application/json: - schema: *290 + schema: *291 examples: - selected_actions: *291 + selected_actions: *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37572,11 +37573,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *272 - *273 + - *274 - *4 - *5 - - &292 + - &293 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 @@ -37610,7 +37611,7 @@ paths: description: Response content: application/json: - schema: &293 + schema: &294 title: Repository actions caches description: Repository actions caches type: object @@ -37652,7 +37653,7 @@ paths: - total_count - actions_caches examples: - default: &294 + default: &295 value: total_count: 1 actions_caches: @@ -37684,23 +37685,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *272 - *273 + - *274 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *292 + - *293 responses: '200': description: Response content: application/json: - schema: *293 + schema: *294 examples: - default: *294 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37720,8 +37721,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *272 - *273 + - *274 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -37752,9 +37753,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *272 - *273 - - &295 + - *274 + - &296 name: job_id description: The unique identifier of the job. in: path @@ -37766,7 +37767,7 @@ paths: description: Response content: application/json: - schema: &307 + schema: &308 title: Job description: Information of a job execution in a workflow run type: object @@ -38073,9 +38074,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *272 - *273 - - *295 + - *274 + - *296 responses: '302': description: Response @@ -38103,9 +38104,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *272 - *273 - - *295 + - *274 + - *296 requestBody: required: false content: @@ -38150,8 +38151,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *272 - *273 + - *274 responses: '200': description: Status response @@ -38201,8 +38202,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -38265,8 +38266,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/secrets#list-repository-organization-secrets parameters: - - *272 - *273 + - *274 - *4 - *5 responses: @@ -38284,7 +38285,7 @@ paths: type: integer secrets: type: array - items: &309 + items: &310 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -38304,7 +38305,7 @@ paths: - created_at - updated_at examples: - default: &310 + default: &311 value: total_count: 2 secrets: @@ -38337,9 +38338,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/variables#list-repository-organization-variables parameters: - - *272 - *273 - - *296 + - *274 + - *297 - *5 responses: '200': @@ -38356,7 +38357,7 @@ paths: type: integer variables: type: array - items: &313 + items: &314 title: Actions Variable type: object properties: @@ -38386,7 +38387,7 @@ paths: - created_at - updated_at examples: - default: &314 + default: &315 value: total_count: 2 variables: @@ -38419,8 +38420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *272 - *273 + - *274 responses: '200': description: Response @@ -38429,7 +38430,7 @@ paths: schema: type: object properties: - enabled: &297 + enabled: &298 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *69 @@ -38462,8 +38463,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *272 - *273 + - *274 responses: '204': description: Response @@ -38474,7 +38475,7 @@ paths: schema: type: object properties: - enabled: *297 + enabled: *298 allowed_actions: *69 required: - enabled @@ -38505,14 +38506,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *272 - *273 + - *274 responses: '200': description: Response content: application/json: - schema: &298 + schema: &299 type: object properties: access_level: @@ -38530,7 +38531,7 @@ paths: required: - access_level examples: - default: &299 + default: &300 value: access_level: organization x-github: @@ -38555,15 +38556,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *272 - *273 + - *274 requestBody: required: true content: application/json: - schema: *298 + schema: *299 examples: - default: *299 + default: *300 responses: '204': description: Response @@ -38587,8 +38588,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *272 - *273 + - *274 responses: '200': description: Response @@ -38619,8 +38620,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *272 - *273 + - *274 responses: '204': description: Response @@ -38652,8 +38653,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *272 - *273 + - *274 responses: '200': description: Response @@ -38682,8 +38683,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *272 - *273 + - *274 responses: '204': description: Success response @@ -38723,8 +38724,8 @@ paths: in: query schema: type: string - - *272 - *273 + - *274 - *4 - *5 responses: @@ -38768,8 +38769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *272 - *273 + - *274 responses: '200': description: Response @@ -38801,8 +38802,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -38876,8 +38877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *272 - *273 + - *274 responses: '201': description: Response @@ -38913,8 +38914,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *272 - *273 + - *274 responses: '201': description: Response @@ -38944,8 +38945,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *272 - *273 + - *274 - *81 responses: '200': @@ -38975,8 +38976,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *272 - *273 + - *274 - *81 responses: '204': @@ -39002,8 +39003,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *272 - *273 + - *274 - *81 responses: '200': *87 @@ -39028,8 +39029,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *272 - *273 + - *274 - *81 requestBody: required: true @@ -39078,8 +39079,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *272 - *273 + - *274 - *81 requestBody: required: true @@ -39129,8 +39130,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *272 - *273 + - *274 - *81 responses: '200': *159 @@ -39160,8 +39161,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *272 - *273 + - *274 - *81 - *160 responses: @@ -39191,9 +39192,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *272 - *273 - - &317 + - *274 + - &318 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. @@ -39201,7 +39202,7 @@ paths: required: false schema: type: string - - &318 + - &319 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -39209,7 +39210,7 @@ paths: required: false schema: type: string - - &319 + - &320 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -39218,7 +39219,7 @@ paths: required: false schema: type: string - - &320 + - &321 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 @@ -39245,7 +39246,7 @@ paths: - pending - *4 - *5 - - &321 + - &322 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.11/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -39254,7 +39255,7 @@ paths: schema: type: string format: date-time - - &300 + - &301 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -39263,13 +39264,13 @@ paths: schema: type: boolean default: false - - &322 + - &323 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &323 + - &324 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -39292,7 +39293,7 @@ paths: type: integer workflow_runs: type: array - items: &301 + items: &302 title: Workflow Run description: An invocation of a workflow type: object @@ -39387,7 +39388,7 @@ paths: that triggered the run. type: array nullable: true - items: &341 + items: &342 title: Pull Request Minimal type: object properties: @@ -39506,7 +39507,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &345 + properties: &346 id: type: string description: SHA for the commit @@ -39557,7 +39558,7 @@ paths: - name - email nullable: true - required: &346 + required: &347 - id - tree_id - message @@ -39604,7 +39605,7 @@ paths: - workflow_url - pull_requests examples: - default: &324 + default: &325 value: total_count: 1 workflow_runs: @@ -39840,24 +39841,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *272 - *273 - - &302 + - *274 + - &303 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *300 + - *301 responses: '200': description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: &305 + default: &306 value: id: 30433642 name: Build @@ -40098,9 +40099,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *272 - *273 - - *302 + - *274 + - *303 responses: '204': description: Response @@ -40123,9 +40124,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *272 - *273 - - *302 + - *274 + - *303 responses: '200': description: Response @@ -40246,12 +40247,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *272 - *273 - - *302 + - *274 + - *303 - *4 - *5 - - *303 + - *304 responses: '200': description: Response @@ -40267,9 +40268,9 @@ paths: type: integer artifacts: type: array - items: *287 + items: *288 examples: - default: *304 + default: *305 headers: Link: *6 x-github: @@ -40293,25 +40294,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *272 - *273 - - *302 - - &306 + - *274 + - *303 + - &307 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *300 + - *301 responses: '200': description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *305 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40334,10 +40335,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *272 - *273 - - *302 - - *306 + - *274 + - *303 + - *307 - *4 - *5 responses: @@ -40355,9 +40356,9 @@ paths: type: integer jobs: type: array - items: *307 + items: *308 examples: - default: &308 + default: &309 value: total_count: 1 jobs: @@ -40470,10 +40471,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *272 - *273 - - *302 - - *306 + - *274 + - *303 + - *307 responses: '302': description: Response @@ -40501,9 +40502,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *272 - *273 - - *302 + - *274 + - *303 responses: '202': description: Response @@ -40536,9 +40537,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *272 - *273 - - *302 + - *274 + - *303 requestBody: required: true content: @@ -40607,9 +40608,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *272 - *273 - - *302 + - *274 + - *303 - 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 @@ -40639,9 +40640,9 @@ paths: type: integer jobs: type: array - items: *307 + items: *308 examples: - default: *308 + default: *309 headers: Link: *6 x-github: @@ -40666,9 +40667,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *272 - *273 - - *302 + - *274 + - *303 responses: '302': description: Response @@ -40695,14 +40696,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *272 - *273 - - *302 + - *274 + - *303 responses: '204': description: Response '403': *43 - '500': *217 + '500': *218 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40724,9 +40725,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *272 - *273 - - *302 + - *274 + - *303 responses: '200': description: Response @@ -40786,7 +40787,7 @@ paths: items: type: object properties: - type: &397 + type: &398 type: string description: The type of reviewer. enum: @@ -40796,7 +40797,7 @@ paths: reviewer: anyOf: - *19 - - *274 + - *275 required: - environment - wait_timer @@ -40871,9 +40872,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *272 - *273 - - *302 + - *274 + - *303 requestBody: required: true content: @@ -40920,7 +40921,7 @@ paths: application/json: schema: type: array - items: &392 + items: &393 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -41026,7 +41027,7 @@ paths: - created_at - updated_at examples: - default: &393 + default: &394 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -41082,9 +41083,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *272 - *273 - - *302 + - *274 + - *303 requestBody: required: false content: @@ -41128,9 +41129,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *272 - *273 - - *302 + - *274 + - *303 requestBody: required: false content: @@ -41177,8 +41178,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/secrets#list-repository-secrets parameters: - - *272 - *273 + - *274 - *4 - *5 responses: @@ -41196,9 +41197,9 @@ paths: type: integer secrets: type: array - items: *309 + items: *310 examples: - default: *310 + default: *311 headers: Link: *6 x-github: @@ -41223,16 +41224,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/secrets#get-a-repository-public-key parameters: - - *272 - *273 + - *274 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *312 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41254,17 +41255,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/secrets#get-a-repository-secret parameters: - - *272 - *273 + - *274 - *162 responses: '200': description: Response content: application/json: - schema: *309 + schema: *310 examples: - default: &410 + default: &411 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -41290,8 +41291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *272 - *273 + - *274 - *162 requestBody: required: true @@ -41349,8 +41350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/secrets#delete-a-repository-secret parameters: - - *272 - *273 + - *274 - *162 responses: '204': @@ -41376,9 +41377,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/variables#list-repository-variables parameters: - - *272 - *273 - - *296 + - *274 + - *297 - *5 responses: '200': @@ -41395,9 +41396,9 @@ paths: type: integer variables: type: array - items: *313 + items: *314 examples: - default: *314 + default: *315 headers: Link: *6 x-github: @@ -41420,8 +41421,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/variables#create-a-repository-variable parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -41473,17 +41474,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/variables#get-a-repository-variable parameters: - - *272 - *273 + - *274 - *165 responses: '200': description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: &411 + default: &412 value: name: USERNAME value: octocat @@ -41509,8 +41510,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/variables#update-a-repository-variable parameters: - - *272 - *273 + - *274 - *165 requestBody: required: true @@ -41553,8 +41554,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/variables#delete-a-repository-variable parameters: - - *272 - *273 + - *274 - *165 responses: '204': @@ -41580,8 +41581,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/workflows#list-repository-workflows parameters: - - *272 - *273 + - *274 - *4 - *5 responses: @@ -41599,7 +41600,7 @@ paths: type: integer workflows: type: array - items: &315 + items: &316 title: Workflow description: A GitHub Actions workflow type: object @@ -41706,9 +41707,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/workflows#get-a-workflow parameters: - - *272 - *273 - - &316 + - *274 + - &317 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -41723,7 +41724,7 @@ paths: description: Response content: application/json: - schema: *315 + schema: *316 examples: default: value: @@ -41756,9 +41757,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/workflows#disable-a-workflow parameters: - - *272 - *273 - - *316 + - *274 + - *317 responses: '204': description: Response @@ -41783,9 +41784,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *272 - *273 - - *316 + - *274 + - *317 responses: '204': description: Response @@ -41836,9 +41837,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/workflows#enable-a-workflow parameters: - - *272 - *273 - - *316 + - *274 + - *317 responses: '204': description: Response @@ -41865,19 +41866,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *272 - *273 - - *316 + - *274 - *317 - *318 - *319 - *320 + - *321 - *4 - *5 - - *321 - - *300 - *322 + - *301 - *323 + - *324 responses: '200': description: Response @@ -41893,9 +41894,9 @@ paths: type: integer workflow_runs: type: array - items: *301 + items: *302 examples: - default: *324 + default: *325 headers: Link: *6 x-github: @@ -41918,8 +41919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/repos#list-repository-activities parameters: - - *272 - *273 + - *274 - *9 - *4 - *88 @@ -42083,8 +42084,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/assignees#list-assignees parameters: - - *272 - *273 + - *274 - *4 - *5 responses: @@ -42096,7 +42097,7 @@ paths: type: array items: *19 examples: - default: *210 + default: *211 headers: Link: *6 '404': *26 @@ -42121,8 +42122,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *272 - *273 + - *274 - name: assignee in: path required: true @@ -42156,8 +42157,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *272 - *273 + - *274 responses: '200': description: Response @@ -42165,7 +42166,7 @@ paths: application/json: schema: type: array - items: &325 + items: &326 title: Autolink reference description: An autolink reference. type: object @@ -42215,8 +42216,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -42255,9 +42256,9 @@ paths: description: response content: application/json: - schema: *325 + schema: *326 examples: - default: &326 + default: &327 value: id: 1 key_prefix: TICKET- @@ -42288,9 +42289,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *272 - *273 - - &327 + - *274 + - &328 name: autolink_id description: The unique identifier of the autolink. in: path @@ -42302,9 +42303,9 @@ paths: description: Response content: application/json: - schema: *325 + schema: *326 examples: - default: *326 + default: *327 '404': *26 x-github: githubCloudOnly: false @@ -42324,9 +42325,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *272 - *273 - - *327 + - *274 + - *328 responses: '204': description: Response @@ -42350,8 +42351,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *272 - *273 + - *274 responses: '200': description: Response if Dependabot is enabled @@ -42398,8 +42399,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branches#list-branches parameters: - - *272 - *273 + - *274 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -42437,7 +42438,7 @@ paths: - url protected: type: boolean - protection: &329 + protection: &330 title: Branch Protection description: Branch Protection type: object @@ -42479,7 +42480,7 @@ paths: required: - contexts - checks - enforce_admins: &332 + enforce_admins: &333 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -42494,7 +42495,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &334 + required_pull_request_reviews: &335 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -42515,7 +42516,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *274 + items: *275 apps: description: The list of apps with review dismissal access. @@ -42544,7 +42545,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *274 + items: *275 apps: description: The list of apps allowed to bypass pull request requirements. @@ -42570,7 +42571,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &331 + restrictions: &332 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -42877,9 +42878,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branches#get-a-branch parameters: - - *272 - *273 - - &330 + - *274 + - &331 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.11/graphql). @@ -42893,14 +42894,14 @@ paths: description: Response content: application/json: - schema: &340 + schema: &341 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &370 + commit: &371 title: Commit description: Commit type: object @@ -42934,7 +42935,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &328 + properties: &329 name: type: string example: '"Chris Wanstrath"' @@ -42949,7 +42950,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *328 + properties: *329 nullable: true message: type: string @@ -42970,7 +42971,7 @@ paths: required: - sha - url - verification: &417 + verification: &418 title: Verification type: object properties: @@ -43036,7 +43037,7 @@ paths: type: integer files: type: array - items: &381 + items: &382 title: Diff Entry description: Diff Entry type: object @@ -43119,7 +43120,7 @@ paths: - self protected: type: boolean - protection: *329 + protection: *330 protection_url: type: string format: uri @@ -43223,7 +43224,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *284 + '301': *285 '404': *26 x-github: githubCloudOnly: false @@ -43245,15 +43246,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#get-branch-protection parameters: - - *272 - *273 - - *330 + - *274 + - *331 responses: '200': description: Response content: application/json: - schema: *329 + schema: *330 examples: default: value: @@ -43447,9 +43448,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#update-branch-protection parameters: - - *272 - *273 - - *330 + - *274 + - *331 requestBody: required: true content: @@ -43704,7 +43705,7 @@ paths: url: type: string format: uri - required_status_checks: &337 + required_status_checks: &338 title: Status Check Policy description: Status Check Policy type: object @@ -43780,7 +43781,7 @@ paths: items: *19 teams: type: array - items: *274 + items: *275 apps: type: array items: *25 @@ -43798,7 +43799,7 @@ paths: items: *19 teams: type: array - items: *274 + items: *275 apps: type: array items: *25 @@ -43856,7 +43857,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *331 + restrictions: *332 required_conversation_resolution: type: object properties: @@ -43968,9 +43969,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#delete-branch-protection parameters: - - *272 - *273 - - *330 + - *274 + - *331 responses: '204': description: Response @@ -43995,17 +43996,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *272 - *273 - - *330 + - *274 + - *331 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/enforce_admins enabled: true @@ -44027,17 +44028,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *272 - *273 - - *330 + - *274 + - *331 responses: '200': description: Response content: application/json: - schema: *332 + schema: *333 examples: - default: *333 + default: *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44056,9 +44057,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *272 - *273 - - *330 + - *274 + - *331 responses: '204': description: Response @@ -44083,17 +44084,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *272 - *273 - - *330 + - *274 + - *331 responses: '200': description: Response content: application/json: - schema: *334 + schema: *335 examples: - default: &335 + default: &336 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -44189,9 +44190,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *272 - *273 - - *330 + - *274 + - *331 requestBody: required: false content: @@ -44289,9 +44290,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *335 examples: - default: *335 + default: *336 '422': *35 x-github: githubCloudOnly: false @@ -44312,9 +44313,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *272 - *273 - - *330 + - *274 + - *331 responses: '204': description: Response @@ -44341,17 +44342,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *272 - *273 - - *330 + - *274 + - *331 responses: '200': description: Response content: application/json: - schema: *332 + schema: *333 examples: - default: &336 + default: &337 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -44374,17 +44375,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *272 - *273 - - *330 + - *274 + - *331 responses: '200': description: Response content: application/json: - schema: *332 + schema: *333 examples: - default: *336 + default: *337 '404': *26 x-github: githubCloudOnly: false @@ -44404,9 +44405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *272 - *273 - - *330 + - *274 + - *331 responses: '204': description: Response @@ -44431,17 +44432,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#get-status-checks-protection parameters: - - *272 - *273 - - *330 + - *274 + - *331 responses: '200': description: Response content: application/json: - schema: *337 + schema: *338 examples: - default: &338 + default: &339 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -44467,9 +44468,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#update-status-check-protection parameters: - - *272 - *273 - - *330 + - *274 + - *331 requestBody: required: false content: @@ -44521,9 +44522,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *338 examples: - default: *338 + default: *339 '404': *26 '422': *35 x-github: @@ -44545,9 +44546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#remove-status-check-protection parameters: - - *272 - *273 - - *330 + - *274 + - *331 responses: '204': description: Response @@ -44571,9 +44572,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *272 - *273 - - *330 + - *274 + - *331 responses: '200': description: Response @@ -44607,9 +44608,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#add-status-check-contexts parameters: - - *272 - *273 - - *330 + - *274 + - *331 requestBody: required: false content: @@ -44676,9 +44677,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#set-status-check-contexts parameters: - - *272 - *273 - - *330 + - *274 + - *331 requestBody: required: false content: @@ -44742,9 +44743,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *272 - *273 - - *330 + - *274 + - *331 requestBody: content: application/json: @@ -44810,15 +44811,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#get-access-restrictions parameters: - - *272 - *273 - - *330 + - *274 + - *331 responses: '200': description: Response content: application/json: - schema: *331 + schema: *332 examples: default: value: @@ -44909,9 +44910,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#delete-access-restrictions parameters: - - *272 - *273 - - *330 + - *274 + - *331 responses: '204': description: Response @@ -44934,9 +44935,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *272 - *273 - - *330 + - *274 + - *331 responses: '200': description: Response @@ -44946,7 +44947,7 @@ paths: type: array items: *25 examples: - default: &339 + default: &340 value: - id: 1 slug: octoapp @@ -45003,9 +45004,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *272 - *273 - - *330 + - *274 + - *331 requestBody: required: true content: @@ -45039,7 +45040,7 @@ paths: type: array items: *25 examples: - default: *339 + default: *340 '422': *35 x-github: githubCloudOnly: false @@ -45060,9 +45061,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *272 - *273 - - *330 + - *274 + - *331 requestBody: required: true content: @@ -45096,7 +45097,7 @@ paths: type: array items: *25 examples: - default: *339 + default: *340 '422': *35 x-github: githubCloudOnly: false @@ -45117,9 +45118,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *272 - *273 - - *330 + - *274 + - *331 requestBody: required: true content: @@ -45153,7 +45154,7 @@ paths: type: array items: *25 examples: - default: *339 + default: *340 '422': *35 x-github: githubCloudOnly: false @@ -45175,9 +45176,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *272 - *273 - - *330 + - *274 + - *331 responses: '200': description: Response @@ -45185,9 +45186,9 @@ paths: application/json: schema: type: array - items: *274 + items: *275 examples: - default: *252 + default: *253 '404': *26 x-github: githubCloudOnly: false @@ -45207,9 +45208,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *272 - *273 - - *330 + - *274 + - *331 requestBody: required: false content: @@ -45245,9 +45246,9 @@ paths: application/json: schema: type: array - items: *274 + items: *275 examples: - default: *252 + default: *253 '422': *35 x-github: githubCloudOnly: false @@ -45268,9 +45269,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *272 - *273 - - *330 + - *274 + - *331 requestBody: required: false content: @@ -45306,9 +45307,9 @@ paths: application/json: schema: type: array - items: *274 + items: *275 examples: - default: *252 + default: *253 '422': *35 x-github: githubCloudOnly: false @@ -45329,9 +45330,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *272 - *273 - - *330 + - *274 + - *331 requestBody: content: application/json: @@ -45366,9 +45367,9 @@ paths: application/json: schema: type: array - items: *274 + items: *275 examples: - default: *252 + default: *253 '422': *35 x-github: githubCloudOnly: false @@ -45390,9 +45391,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *272 - *273 - - *330 + - *274 + - *331 responses: '200': description: Response @@ -45402,7 +45403,7 @@ paths: type: array items: *19 examples: - default: *210 + default: *211 '404': *26 x-github: githubCloudOnly: false @@ -45426,9 +45427,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *272 - *273 - - *330 + - *274 + - *331 requestBody: required: true content: @@ -45461,7 +45462,7 @@ paths: type: array items: *19 examples: - default: *210 + default: *211 '422': *35 x-github: githubCloudOnly: false @@ -45486,9 +45487,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *272 - *273 - - *330 + - *274 + - *331 requestBody: required: true content: @@ -45521,7 +45522,7 @@ paths: type: array items: *19 examples: - default: *210 + default: *211 '422': *35 x-github: githubCloudOnly: false @@ -45546,9 +45547,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *272 - *273 - - *330 + - *274 + - *331 requestBody: required: true content: @@ -45581,7 +45582,7 @@ paths: type: array items: *19 examples: - default: *210 + default: *211 '422': *35 x-github: githubCloudOnly: false @@ -45608,9 +45609,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branches#rename-a-branch parameters: - - *272 - *273 - - *330 + - *274 + - *331 requestBody: required: true content: @@ -45632,7 +45633,7 @@ paths: description: Response content: application/json: - schema: *340 + schema: *341 examples: default: value: @@ -45745,8 +45746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/checks/runs#create-a-check-run parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -46025,7 +46026,7 @@ paths: description: Response content: application/json: - schema: &342 + schema: &343 title: CheckRun description: A check performed on the code of a given code change type: object @@ -46144,8 +46145,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *341 - deployment: &592 + items: *342 + deployment: &593 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -46425,9 +46426,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/checks/runs#get-a-check-run parameters: - - *272 - *273 - - &343 + - *274 + - &344 name: check_run_id description: The unique identifier of the check run. in: path @@ -46439,9 +46440,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *343 examples: - default: &344 + default: &345 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -46541,9 +46542,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/checks/runs#update-a-check-run parameters: - - *272 - *273 - - *343 + - *274 + - *344 requestBody: required: true content: @@ -46783,9 +46784,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *343 examples: - default: *344 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46805,9 +46806,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/checks/runs#list-check-run-annotations parameters: - - *272 - *273 - - *343 + - *274 + - *344 - *4 - *5 responses: @@ -46904,9 +46905,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/checks/runs#rerequest-a-check-run parameters: - - *272 - *273 - - *343 + - *274 + - *344 responses: '201': description: Response @@ -46950,8 +46951,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/checks/suites#create-a-check-suite parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -46973,7 +46974,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &347 + schema: &348 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -47037,7 +47038,7 @@ paths: nullable: true pull_requests: type: array - items: *341 + items: *342 nullable: true app: title: GitHub app @@ -47063,8 +47064,8 @@ paths: title: Simple Commit description: A commit. type: object - properties: *345 - required: *346 + properties: *346 + required: *347 latest_check_runs_count: type: integer check_runs_url: @@ -47092,7 +47093,7 @@ paths: - check_runs_url - pull_requests examples: - default: &348 + default: &349 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -47383,9 +47384,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *347 + schema: *348 examples: - default: *348 + default: *349 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47404,8 +47405,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -47714,9 +47715,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/checks/suites#get-a-check-suite parameters: - - *272 - *273 - - &349 + - *274 + - &350 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -47728,9 +47729,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *348 examples: - default: *348 + default: *349 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47753,17 +47754,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *272 - *273 - - *349 - - &378 + - *274 + - *350 + - &379 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &379 + - &380 name: status description: Returns check runs with the specified `status`. in: query @@ -47802,9 +47803,9 @@ paths: type: integer check_runs: type: array - items: *342 + items: *343 examples: - default: &380 + default: &381 value: total_count: 1 check_runs: @@ -47906,9 +47907,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/checks/suites#rerequest-a-check-suite parameters: - - *272 - *273 - - *349 + - *274 + - *350 responses: '201': description: Response @@ -47941,20 +47942,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *272 - *273 - - *176 + - *274 - *177 + - *178 - *5 - *4 - - &360 + - &361 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: *350 + schema: *351 - *9 - name: sort description: The property by which to sort the results. @@ -47971,13 +47972,13 @@ paths: be returned. in: query required: false - schema: *178 + schema: *179 - 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 @@ -47993,7 +47994,7 @@ paths: updated_at: *100 url: *97 html_url: *98 - instances_url: *352 + instances_url: *353 state: *92 fixed_at: *102 dismissed_by: @@ -48004,11 +48005,11 @@ paths: required: *18 nullable: true dismissed_at: *101 - 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 @@ -48124,7 +48125,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *42 - '403': *249 + '403': *250 '404': *26 '503': *104 x-github: @@ -48146,9 +48147,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *272 - *273 - - &358 + - *274 + - &359 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -48162,7 +48163,7 @@ paths: description: Response content: application/json: - schema: &359 + schema: &360 type: object properties: number: *93 @@ -48170,7 +48171,7 @@ paths: updated_at: *100 url: *97 html_url: *98 - instances_url: *352 + instances_url: *353 state: *92 fixed_at: *102 dismissed_by: @@ -48181,8 +48182,8 @@ paths: required: *18 nullable: true dismissed_at: *101 - dismissed_reason: *353 - dismissed_comment: *354 + dismissed_reason: *354 + dismissed_comment: *355 rule: type: object properties: @@ -48236,8 +48237,8 @@ paths: type: string 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 @@ -48326,7 +48327,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *42 - '403': *249 + '403': *250 '404': *26 '503': *104 x-github: @@ -48346,9 +48347,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *272 - *273 - - *358 + - *274 + - *359 requestBody: required: true content: @@ -48363,8 +48364,8 @@ paths: enum: - open - dismissed - dismissed_reason: *353 - dismissed_comment: *354 + dismissed_reason: *354 + dismissed_comment: *355 required: - state examples: @@ -48379,7 +48380,7 @@ paths: description: Response content: application/json: - schema: *359 + schema: *360 examples: default: value: @@ -48454,7 +48455,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &365 + '403': &366 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -48481,12 +48482,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *272 - *273 - - *358 + - *274 + - *359 - *5 - *4 - - *360 + - *361 responses: '200': description: Response @@ -48494,7 +48495,7 @@ paths: application/json: schema: type: array - items: *357 + items: *358 examples: default: value: @@ -48533,7 +48534,7 @@ paths: end_column: 50 classifications: - source - '403': *249 + '403': *250 '404': *26 '503': *104 x-github: @@ -48567,10 +48568,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *272 - *273 - - *176 + - *274 - *177 + - *178 - *5 - *4 - name: ref @@ -48579,12 +48580,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: *350 + schema: *351 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &363 + schema: &364 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -48605,23 +48606,23 @@ paths: application/json: schema: type: array - items: &364 + items: &365 type: object properties: - ref: *350 - commit_sha: &366 + ref: *351 + commit_sha: &367 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: *361 + analysis_key: *362 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *362 + category: *363 error: type: string example: error reading field xyz @@ -48645,8 +48646,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *363 - tool: *356 + sarif_id: *364 + tool: *357 deletable: type: boolean warning: @@ -48707,7 +48708,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *249 + '403': *250 '404': *26 '503': *104 x-github: @@ -48743,8 +48744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *272 - *273 + - *274 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -48757,7 +48758,7 @@ paths: description: Response content: application/json: - schema: *364 + schema: *365 examples: response: summary: application/json response @@ -48811,7 +48812,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *249 + '403': *250 '404': *26 '503': *104 x-github: @@ -48893,8 +48894,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *272 - *273 + - *274 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -48947,7 +48948,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': *34 - '403': *365 + '403': *366 '404': *26 '503': *104 x-github: @@ -48969,8 +48970,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *272 - *273 + - *274 responses: '200': description: Response @@ -49032,7 +49033,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *249 + '403': *250 '404': *26 '503': *104 x-github: @@ -49053,8 +49054,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -49127,7 +49128,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *365 + '403': *366 '404': *26 '409': description: Response if there is already a validation run in progress with @@ -49192,8 +49193,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -49201,7 +49202,7 @@ paths: schema: type: object properties: - commit_sha: *366 + commit_sha: *367 ref: type: string description: |- @@ -49254,7 +49255,7 @@ paths: schema: type: object properties: - id: *363 + id: *364 url: type: string description: The REST API URL for checking the status of the upload. @@ -49268,7 +49269,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': *365 + '403': *366 '404': *26 '413': description: Payload Too Large if the sarif field is too large @@ -49291,8 +49292,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *272 - *273 + - *274 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -49338,7 +49339,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': *249 + '403': *250 '404': description: Not Found if the sarif id does not match any upload '503': *104 @@ -49363,8 +49364,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/repos#list-codeowners-errors parameters: - - *272 - *273 + - *274 - 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 @@ -49487,8 +49488,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *272 - *273 + - *274 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -49530,7 +49531,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &367 + properties: &368 login: type: string example: octocat @@ -49623,7 +49624,7 @@ paths: user_view_type: type: string example: public - required: &368 + required: &369 - avatar_url - events_url - followers_url @@ -49696,8 +49697,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *272 - *273 + - *274 - *8 responses: '204': @@ -49734,8 +49735,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *272 - *273 + - *274 - *8 requestBody: required: false @@ -49801,8 +49802,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *272 - *273 + - *274 - *8 responses: '204': @@ -49832,8 +49833,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *272 - *273 + - *274 - *8 responses: '200': @@ -49854,8 +49855,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *367 - required: *368 + properties: *368 + required: *369 nullable: true required: - permission @@ -49910,8 +49911,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *272 - *273 + - *274 - *4 - *5 responses: @@ -49921,7 +49922,7 @@ paths: application/json: schema: type: array - items: &369 + items: &370 title: Commit Comment description: Commit Comment type: object @@ -49979,7 +49980,7 @@ paths: - created_at - updated_at examples: - default: &372 + default: &373 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -50038,17 +50039,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/commits/comments#get-a-commit-comment parameters: - - *272 - *273 + - *274 - *120 responses: '200': description: Response content: application/json: - schema: *369 + schema: *370 examples: - default: &373 + default: &374 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -50105,8 +50106,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/commits/comments#update-a-commit-comment parameters: - - *272 - *273 + - *274 - *120 requestBody: required: true @@ -50129,7 +50130,7 @@ paths: description: Response content: application/json: - schema: *369 + schema: *370 examples: default: value: @@ -50180,8 +50181,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/commits/comments#delete-a-commit-comment parameters: - - *272 - *273 + - *274 - *120 responses: '204': @@ -50203,8 +50204,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *272 - *273 + - *274 - *120 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#about-reactions). @@ -50231,9 +50232,9 @@ paths: application/json: schema: type: array - items: *261 + items: *262 examples: - default: *263 + default: *264 headers: Link: *6 '404': *26 @@ -50254,8 +50255,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *272 - *273 + - *274 - *120 requestBody: required: true @@ -50288,16 +50289,16 @@ paths: description: Reaction exists content: application/json: - schema: *261 + schema: *262 examples: - default: *262 + default: *263 '201': description: Reaction created content: application/json: - schema: *261 + schema: *262 examples: - default: *262 + default: *263 '422': *35 x-github: githubCloudOnly: false @@ -50319,10 +50320,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *272 - *273 + - *274 - *120 - - *264 + - *265 responses: '204': description: Response @@ -50371,8 +50372,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/commits/commits#list-commits parameters: - - *272 - *273 + - *274 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -50428,9 +50429,9 @@ paths: application/json: schema: type: array - items: *370 + items: *371 examples: - default: &478 + default: &479 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -50500,7 +50501,7 @@ paths: sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: Link: *6 - '500': *217 + '500': *218 '400': *34 '404': *26 '409': *139 @@ -50523,9 +50524,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/commits/commits#list-branches-for-head-commit parameters: - - *272 - *273 - - &371 + - *274 + - &372 name: commit_sha description: The SHA of the commit. in: path @@ -50597,9 +50598,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/commits/comments#list-commit-comments parameters: - - *272 - *273 - - *371 + - *274 + - *372 - *4 - *5 responses: @@ -50609,9 +50610,9 @@ paths: application/json: schema: type: array - items: *369 + items: *370 examples: - default: *372 + default: *373 headers: Link: *6 x-github: @@ -50639,9 +50640,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/commits/comments#create-a-commit-comment parameters: - - *272 - *273 - - *371 + - *274 + - *372 requestBody: required: true content: @@ -50676,9 +50677,9 @@ paths: description: Response content: application/json: - schema: *369 + schema: *370 examples: - default: *373 + default: *374 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -50706,9 +50707,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *272 - *273 - - *371 + - *274 + - *372 - *4 - *5 responses: @@ -50718,7 +50719,7 @@ paths: application/json: schema: type: array - items: &467 + items: &468 title: Pull Request Simple description: Pull Request Simple type: object @@ -50824,8 +50825,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *374 - required: *375 + properties: *375 + required: *376 nullable: true active_lock_reason: type: string @@ -50870,7 +50871,7 @@ paths: nullable: true requested_teams: type: array - items: *274 + items: *275 nullable: true head: type: object @@ -50921,7 +50922,7 @@ paths: _links: type: object properties: - comments: &376 + comments: &377 title: Link description: Hypermedia Link type: object @@ -50930,13 +50931,13 @@ paths: type: string required: - href - commits: *376 - statuses: *376 - html: *376 - issue: *376 - review_comments: *376 - review_comment: *376 - self: *376 + commits: *377 + statuses: *377 + html: *377 + issue: *377 + review_comments: *377 + review_comment: *377 + self: *377 required: - comments - commits @@ -50947,7 +50948,7 @@ paths: - review_comment - self author_association: *108 - auto_merge: &470 + auto_merge: &471 title: Auto merge description: The status of auto merging a pull request. type: object @@ -51010,7 +51011,7 @@ paths: - author_association - auto_merge examples: - default: &468 + default: &469 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -51547,11 +51548,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/commits/commits#get-a-commit parameters: - - *272 - *273 + - *274 - *5 - *4 - - &377 + - &378 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)" @@ -51566,9 +51567,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *371 examples: - default: &453 + default: &454 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -51651,7 +51652,7 @@ paths: ..... '422': *35 '404': *26 - '500': *217 + '500': *218 '503': *104 '409': *139 x-github: @@ -51678,11 +51679,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *272 - *273 - - *377 + - *274 - *378 - *379 + - *380 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -51716,9 +51717,9 @@ paths: type: integer check_runs: type: array - items: *342 + items: *343 examples: - default: *380 + default: *381 headers: Link: *6 x-github: @@ -51743,9 +51744,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *272 - *273 - - *377 + - *274 + - *378 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -51753,7 +51754,7 @@ paths: schema: type: integer example: 1 - - *378 + - *379 - *4 - *5 responses: @@ -51771,7 +51772,7 @@ paths: type: integer check_suites: type: array - items: *347 + items: *348 examples: default: value: @@ -51971,9 +51972,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *272 - *273 - - *377 + - *274 + - *378 - *4 - *5 responses: @@ -52171,9 +52172,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *272 - *273 - - *377 + - *274 + - *378 - *4 - *5 responses: @@ -52183,7 +52184,7 @@ paths: application/json: schema: type: array - items: &516 + items: &517 title: Status description: The status of a commit. type: object @@ -52264,7 +52265,7 @@ paths: site_admin: false headers: Link: *6 - '301': *284 + '301': *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52332,8 +52333,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/commits/commits#compare-two-commits parameters: - - *272 - *273 + - *274 - *5 - *4 - name: basehead @@ -52376,8 +52377,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *370 - merge_base_commit: *370 + base_commit: *371 + merge_base_commit: *371 status: type: string enum: @@ -52397,10 +52398,10 @@ paths: example: 6 commits: type: array - items: *370 + items: *371 files: type: array - items: *381 + items: *382 required: - url - html_url @@ -52636,7 +52637,7 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *26 - '500': *217 + '500': *218 '503': *104 x-github: githubCloudOnly: false @@ -52679,8 +52680,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/contents#get-repository-content parameters: - - *272 - *273 + - *274 - name: path description: path parameter in: path @@ -52821,7 +52822,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &382 + response-if-content-is-a-file: &383 summary: Response if content is a file value: type: file @@ -52953,7 +52954,7 @@ paths: - size - type - url - - &483 + - &484 title: Content File description: Content File type: object @@ -53154,7 +53155,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *382 + response-if-content-is-a-file: *383 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -53223,7 +53224,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *26 '403': *43 - '302': &487 + '302': &488 description: Found '304': *42 x-github: @@ -53247,8 +53248,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/contents#create-or-update-file-contents parameters: - - *272 - *273 + - *274 - name: path description: path parameter in: path @@ -53341,7 +53342,7 @@ paths: description: Response content: application/json: - schema: &383 + schema: &384 title: File Commit description: File Commit type: object @@ -53487,7 +53488,7 @@ paths: description: Response content: application/json: - schema: *383 + schema: *384 examples: example-for-creating-a-file: value: @@ -53538,7 +53539,7 @@ paths: schema: oneOf: - *24 - - &412 + - &413 description: Repository rule violation was detected type: object properties: @@ -53591,8 +53592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/contents#delete-a-file parameters: - - *272 - *273 + - *274 - name: path description: path parameter in: path @@ -53653,7 +53654,7 @@ paths: description: Response content: application/json: - schema: *383 + schema: *384 examples: default: value: @@ -53704,8 +53705,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/repos#list-repository-contributors parameters: - - *272 - *273 + - *274 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -53828,20 +53829,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *272 - *273 - - *184 + - *274 - *185 - *186 - *187 + - *188 - 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 - - *188 - *189 + - *190 - *9 responses: '200': @@ -53850,7 +53851,7 @@ paths: application/json: schema: type: array - items: &386 + items: &387 type: object description: A Dependabot alert. properties: @@ -53883,7 +53884,7 @@ paths: enum: - development - runtime - security_advisory: *384 + security_advisory: *385 security_vulnerability: *96 url: *97 html_url: *98 @@ -53914,7 +53915,7 @@ paths: nullable: true maxLength: 280 fixed_at: *102 - auto_dismissed_at: *385 + auto_dismissed_at: *386 required: - number - state @@ -54141,9 +54142,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *272 - *273 - - &387 + - *274 + - &388 name: alert_number in: path description: |- @@ -54158,7 +54159,7 @@ paths: description: Response content: application/json: - schema: *386 + schema: *387 examples: default: value: @@ -54262,9 +54263,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *272 - *273 - - *387 + - *274 + - *388 requestBody: required: true content: @@ -54309,7 +54310,7 @@ paths: description: Response content: application/json: - schema: *386 + schema: *387 examples: default: value: @@ -54438,8 +54439,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/dependabot/secrets#list-repository-secrets parameters: - - *272 - *273 + - *274 - *4 - *5 responses: @@ -54457,7 +54458,7 @@ paths: type: integer secrets: type: array - items: &390 + items: &391 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -54510,16 +54511,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *272 - *273 + - *274 responses: '200': description: Response content: application/json: - schema: *388 + schema: *389 examples: - default: *389 + default: *390 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54539,15 +54540,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/dependabot/secrets#get-a-repository-secret parameters: - - *272 - *273 + - *274 - *162 responses: '200': description: Response content: application/json: - schema: *390 + schema: *391 examples: default: value: @@ -54573,8 +54574,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *272 - *273 + - *274 - *162 requestBody: required: true @@ -54627,8 +54628,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *272 - *273 + - *274 - *162 responses: '204': @@ -54651,8 +54652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *272 - *273 + - *274 - 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 @@ -54812,8 +54813,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *272 - *273 + - *274 responses: '200': description: Response @@ -55038,8 +55039,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -55114,7 +55115,7 @@ paths: - version - url additionalProperties: false - metadata: &391 + metadata: &392 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -55147,7 +55148,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *391 + metadata: *392 resolved: type: object description: A collection of resolved package dependencies. @@ -55160,7 +55161,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *391 + metadata: *392 relationship: type: string description: A notation of whether a dependency is requested @@ -55289,8 +55290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/deployments/deployments#list-deployments parameters: - - *272 - *273 + - *274 - name: sha description: The SHA recorded at creation time. in: query @@ -55330,9 +55331,9 @@ paths: application/json: schema: type: array - items: *392 + items: *393 examples: - default: *393 + default: *394 headers: Link: *6 x-github: @@ -55398,8 +55399,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/deployments/deployments#create-a-deployment parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -55480,7 +55481,7 @@ paths: description: Response content: application/json: - schema: *392 + schema: *393 examples: simple-example: summary: Simple example @@ -55553,9 +55554,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/deployments/deployments#get-a-deployment parameters: - - *272 - *273 - - &394 + - *274 + - &395 name: deployment_id description: deployment_id parameter in: path @@ -55567,7 +55568,7 @@ paths: description: Response content: application/json: - schema: *392 + schema: *393 examples: default: value: @@ -55632,9 +55633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/deployments/deployments#delete-a-deployment parameters: - - *272 - *273 - - *394 + - *274 + - *395 responses: '204': description: Response @@ -55656,9 +55657,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/deployments/statuses#list-deployment-statuses parameters: - - *272 - *273 - - *394 + - *274 + - *395 - *4 - *5 responses: @@ -55668,7 +55669,7 @@ paths: application/json: schema: type: array - items: &395 + items: &396 title: Deployment Status description: The status of a deployment. type: object @@ -55829,9 +55830,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/deployments/statuses#create-a-deployment-status parameters: - - *272 - *273 - - *394 + - *274 + - *395 requestBody: required: true content: @@ -55906,9 +55907,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *396 examples: - default: &396 + default: &397 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -55964,9 +55965,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/deployments/statuses#get-a-deployment-status parameters: - - *272 - *273 - - *394 + - *274 + - *395 - name: status_id in: path required: true @@ -55977,9 +55978,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *396 examples: - default: *396 + default: *397 '404': *26 x-github: githubCloudOnly: false @@ -56004,8 +56005,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -56062,8 +56063,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/deployments/environments#list-environments parameters: - - *272 - *273 + - *274 - *4 - *5 responses: @@ -56080,7 +56081,7 @@ paths: type: integer environments: type: array - items: &398 + items: &399 title: Environment description: Details of a deployment environment type: object @@ -56132,7 +56133,7 @@ paths: type: type: string example: wait_timer - wait_timer: &400 + wait_timer: &401 type: integer example: 30 description: The amount of time to delay a job after @@ -56169,11 +56170,11 @@ paths: items: type: object properties: - type: *397 + type: *398 reviewer: anyOf: - *19 - - *274 + - *275 required: - id - node_id @@ -56193,7 +56194,7 @@ paths: - id - node_id - type - deployment_branch_policy: &401 + deployment_branch_policy: &402 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -56308,9 +56309,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/deployments/environments#get-an-environment parameters: - - *272 - *273 - - &399 + - *274 + - &400 name: environment_name in: path required: true @@ -56323,9 +56324,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *399 examples: - default: &402 + default: &403 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -56408,9 +56409,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/deployments/environments#create-or-update-an-environment parameters: - - *272 - *273 - - *399 + - *274 + - *400 requestBody: required: false content: @@ -56419,7 +56420,7 @@ paths: type: object nullable: true properties: - wait_timer: *400 + wait_timer: *401 prevent_self_review: type: boolean example: false @@ -56436,13 +56437,13 @@ paths: items: type: object properties: - type: *397 + type: *398 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *401 + deployment_branch_policy: *402 additionalProperties: false examples: default: @@ -56462,9 +56463,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *399 examples: - default: *402 + default: *403 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -56488,9 +56489,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/deployments/environments#delete-an-environment parameters: - - *272 - *273 - - *399 + - *274 + - *400 responses: '204': description: Default response @@ -56515,9 +56516,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *272 - *273 - - *399 + - *274 + - *400 - *4 - *5 responses: @@ -56535,7 +56536,7 @@ paths: example: 2 branch_policies: type: array - items: &403 + items: &404 title: Deployment branch policy description: Details of a deployment branch policy. type: object @@ -56584,9 +56585,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *272 - *273 - - *399 + - *274 + - *400 requestBody: required: true content: @@ -56619,9 +56620,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *404 examples: - example-wildcard: &404 + example-wildcard: &405 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -56657,10 +56658,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *272 - *273 - - *399 - - &405 + - *274 + - *400 + - &406 name: branch_policy_id in: path required: true @@ -56672,9 +56673,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *404 examples: - default: *404 + default: *405 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56693,10 +56694,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *272 - *273 - - *399 - - *405 + - *274 + - *400 + - *406 requestBody: required: true content: @@ -56724,9 +56725,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *404 examples: - default: *404 + default: *405 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56745,10 +56746,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *272 - *273 - - *399 - - *405 + - *274 + - *400 + - *406 responses: '204': description: Response @@ -56773,9 +56774,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *399 + - *400 + - *274 - *273 - - *272 responses: '200': description: List of deployment protection rules @@ -56791,7 +56792,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &406 + items: &407 title: Deployment protection rule description: Deployment protection rule type: object @@ -56810,7 +56811,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &407 + app: &408 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -56909,9 +56910,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *399 + - *400 + - *274 - *273 - - *272 requestBody: content: application/json: @@ -56932,9 +56933,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *406 + schema: *407 examples: - default: &408 + default: &409 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -56969,9 +56970,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *399 + - *400 + - *274 - *273 - - *272 - *5 - *4 responses: @@ -56990,7 +56991,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *407 + items: *408 examples: default: value: @@ -57025,10 +57026,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *272 - *273 - - *399 - - &409 + - *274 + - *400 + - &410 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -57040,9 +57041,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *407 examples: - default: *408 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57063,10 +57064,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *399 + - *400 + - *274 - *273 - - *272 - - *409 + - *410 responses: '204': description: Response @@ -57092,9 +57093,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/secrets#list-environment-secrets parameters: - - *272 - *273 - - *399 + - *274 + - *400 - *4 - *5 responses: @@ -57112,9 +57113,9 @@ paths: type: integer secrets: type: array - items: *309 + items: *310 examples: - default: *310 + default: *311 headers: Link: *6 x-github: @@ -57139,17 +57140,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/secrets#get-an-environment-public-key parameters: - - *272 - *273 - - *399 + - *274 + - *400 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *312 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57171,18 +57172,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/secrets#get-an-environment-secret parameters: - - *272 - *273 - - *399 + - *274 + - *400 - *162 responses: '200': description: Response content: application/json: - schema: *309 + schema: *310 examples: - default: *410 + default: *411 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57204,9 +57205,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *272 - *273 - - *399 + - *274 + - *400 - *162 requestBody: required: true @@ -57264,9 +57265,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/secrets#delete-an-environment-secret parameters: - - *272 - *273 - - *399 + - *274 + - *400 - *162 responses: '204': @@ -57292,10 +57293,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/variables#list-environment-variables parameters: - - *272 - *273 - - *399 - - *296 + - *274 + - *400 + - *297 - *5 responses: '200': @@ -57312,9 +57313,9 @@ paths: type: integer variables: type: array - items: *313 + items: *314 examples: - default: *314 + default: *315 headers: Link: *6 x-github: @@ -57337,9 +57338,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/variables#create-an-environment-variable parameters: - - *272 - *273 - - *399 + - *274 + - *400 requestBody: required: true content: @@ -57391,18 +57392,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/variables#get-an-environment-variable parameters: - - *272 - *273 - - *399 + - *274 + - *400 - *165 responses: '200': description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: *411 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57423,10 +57424,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/variables#update-an-environment-variable parameters: - - *272 - *273 + - *274 - *165 - - *399 + - *400 requestBody: required: true content: @@ -57468,10 +57469,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/actions/variables#delete-an-environment-variable parameters: - - *272 - *273 + - *274 - *165 - - *399 + - *400 responses: '204': description: Response @@ -57493,8 +57494,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/activity/events#list-repository-events parameters: - - *272 - *273 + - *274 - *4 - *5 responses: @@ -57571,8 +57572,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/forks#list-forks parameters: - - *272 - *273 + - *274 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -57731,8 +57732,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/forks#create-a-fork parameters: - - *272 - *273 + - *274 requestBody: required: false content: @@ -57764,9 +57765,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: - default: *285 + default: *286 '400': *34 '422': *35 '403': *43 @@ -57787,8 +57788,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/git/blobs#create-a-blob parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -57848,7 +57849,7 @@ paths: schema: oneOf: - *137 - - *412 + - *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57873,8 +57874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/git/blobs#get-a-blob parameters: - - *272 - *273 + - *274 - name: file_sha in: path required: true @@ -57973,8 +57974,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/git/commits#create-a-commit parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -58083,7 +58084,7 @@ paths: description: Response content: application/json: - schema: &413 + schema: &414 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -58290,15 +58291,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/git/commits#get-a-commit-object parameters: - - *272 - *273 - - *371 + - *274 + - *372 responses: '200': description: Response content: application/json: - schema: *413 + schema: *414 examples: default: value: @@ -58351,9 +58352,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/git/refs#list-matching-references parameters: - - *272 - *273 - - &414 + - *274 + - &415 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. @@ -58370,7 +58371,7 @@ paths: application/json: schema: type: array - items: &415 + items: &416 title: Git Reference description: Git references within a repository type: object @@ -58445,17 +58446,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/git/refs#get-a-reference parameters: - - *272 - *273 - - *414 + - *274 + - *415 responses: '200': description: Response content: application/json: - schema: *415 + schema: *416 examples: - default: &416 + default: &417 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -58484,8 +58485,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/git/refs#create-a-reference parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -58514,9 +58515,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *416 examples: - default: *416 + default: *417 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -58542,9 +58543,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/git/refs#update-a-reference parameters: - - *272 - *273 - - *414 + - *274 + - *415 requestBody: required: true content: @@ -58573,9 +58574,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *416 examples: - default: *416 + default: *417 '422': *35 '409': *139 x-github: @@ -58593,9 +58594,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/git/refs#delete-a-reference parameters: - - *272 - *273 - - *414 + - *274 + - *415 responses: '204': description: Response @@ -58648,8 +58649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/git/tags#create-a-tag-object parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -58716,7 +58717,7 @@ paths: description: Response content: application/json: - schema: &418 + schema: &419 title: Git Tag description: Metadata for a Git tag type: object @@ -58767,7 +58768,7 @@ paths: - sha - type - url - verification: *417 + verification: *418 required: - sha - url @@ -58777,7 +58778,7 @@ paths: - tag - message examples: - default: &419 + default: &420 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -58847,8 +58848,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/git/tags#get-a-tag parameters: - - *272 - *273 + - *274 - name: tag_sha in: path required: true @@ -58859,9 +58860,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *419 examples: - default: *419 + default: *420 '404': *26 '409': *139 x-github: @@ -58885,8 +58886,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/git/trees#create-a-tree parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -58959,7 +58960,7 @@ paths: description: Response content: application/json: - schema: &420 + schema: &421 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -59071,8 +59072,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/git/trees#get-a-tree parameters: - - *272 - *273 + - *274 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -59095,7 +59096,7 @@ paths: description: Response content: application/json: - schema: *420 + schema: *421 examples: default-response: summary: Default response @@ -59154,8 +59155,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/webhooks#list-repository-webhooks parameters: - - *272 - *273 + - *274 - *4 - *5 responses: @@ -59165,7 +59166,7 @@ paths: application/json: schema: type: array - items: &421 + items: &422 title: Webhook description: Webhooks for repositories. type: object @@ -59219,7 +59220,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &622 + last_response: &623 title: Hook Response type: object properties: @@ -59293,8 +59294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/webhooks#create-a-repository-webhook parameters: - - *272 - *273 + - *274 requestBody: required: false content: @@ -59346,9 +59347,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *422 examples: - default: &422 + default: &423 value: type: Repository id: 12345678 @@ -59396,17 +59397,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/webhooks#get-a-repository-webhook parameters: - - *272 - *273 + - *274 - *3 responses: '200': description: Response content: application/json: - schema: *421 + schema: *422 examples: - default: *422 + default: *423 '404': *26 x-github: githubCloudOnly: false @@ -59426,8 +59427,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/webhooks#update-a-repository-webhook parameters: - - *272 - *273 + - *274 - *3 requestBody: required: true @@ -59473,9 +59474,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *422 examples: - default: *422 + default: *423 '422': *35 '404': *26 x-github: @@ -59496,8 +59497,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *272 - *273 + - *274 - *3 responses: '204': @@ -59522,8 +59523,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *272 - *273 + - *274 - *3 responses: '200': @@ -59551,8 +59552,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *272 - *273 + - *274 - *3 requestBody: required: false @@ -59597,11 +59598,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *272 - *273 + - *274 - *3 - *4 - - *199 + - *200 responses: '200': description: Response @@ -59609,9 +59610,9 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: *201 + default: *202 '400': *34 '422': *35 x-github: @@ -59630,8 +59631,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *272 - *273 + - *274 - *3 - *36 responses: @@ -59639,9 +59640,9 @@ paths: description: Response content: application/json: - schema: *202 + schema: *203 examples: - default: *203 + default: *204 '400': *34 '422': *35 x-github: @@ -59660,8 +59661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *272 - *273 + - *274 - *3 - *36 responses: @@ -59685,8 +59686,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *272 - *273 + - *274 - *3 responses: '204': @@ -59712,8 +59713,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *272 - *273 + - *274 - *3 responses: '204': @@ -59738,8 +59739,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *272 - *273 + - *274 responses: '200': description: Response @@ -59747,8 +59748,8 @@ paths: application/json: schema: *39 examples: - default: *423 - '301': *284 + default: *424 + '301': *285 '404': *26 x-github: githubCloudOnly: false @@ -59767,8 +59768,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/collaborators/invitations#list-repository-invitations parameters: - - *272 - *273 + - *274 - *4 - *5 responses: @@ -59778,7 +59779,7 @@ paths: application/json: schema: type: array - items: &424 + items: &425 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -59841,7 +59842,7 @@ paths: - html_url - created_at examples: - default: &573 + default: &574 value: - id: 1 repository: @@ -59972,9 +59973,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *272 - *273 - - &425 + - *274 + - &426 name: invitation_id description: The unique identifier of the invitation. in: path @@ -60009,7 +60010,7 @@ paths: description: Response content: application/json: - schema: *424 + schema: *425 examples: default: value: @@ -60140,9 +60141,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *272 - *273 - - *425 + - *274 + - *426 responses: '204': description: Response @@ -60173,8 +60174,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/issues#list-repository-issues parameters: - - *272 - *273 + - *274 - 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 @@ -60214,7 +60215,7 @@ paths: required: false schema: type: string - - *204 + - *205 - name: sort description: What to sort results by. in: query @@ -60387,7 +60388,7 @@ paths: state_reason: completed headers: Link: *6 - '301': *284 + '301': *285 '422': *35 '404': *26 x-github: @@ -60416,8 +60417,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/issues#create-an-issue parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -60494,7 +60495,7 @@ paths: application/json: schema: *121 examples: - default: &431 + default: &432 value: id: 1 node_id: MDU6SXNzdWUx @@ -60650,7 +60651,7 @@ paths: '422': *35 '503': *104 '404': *26 - '410': *229 + '410': *230 x-github: triggersNotification: true githubCloudOnly: false @@ -60678,9 +60679,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *272 - *273 - - &476 + - *274 + - &477 name: sort description: The property to sort the results by. in: query @@ -60710,9 +60711,9 @@ paths: application/json: schema: type: array - items: *426 + items: *427 examples: - default: &433 + default: &434 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -60770,17 +60771,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/comments#get-an-issue-comment parameters: - - *272 - *273 + - *274 - *120 responses: '200': description: Response content: application/json: - schema: *426 + schema: *427 examples: - default: &427 + default: &428 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -60834,8 +60835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/comments#update-an-issue-comment parameters: - - *272 - *273 + - *274 - *120 requestBody: required: true @@ -60858,9 +60859,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *427 examples: - default: *427 + default: *428 '422': *35 x-github: githubCloudOnly: false @@ -60878,8 +60879,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/comments#delete-an-issue-comment parameters: - - *272 - *273 + - *274 - *120 responses: '204': @@ -60900,8 +60901,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *272 - *273 + - *274 - *120 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#about-reactions). @@ -60928,9 +60929,9 @@ paths: application/json: schema: type: array - items: *261 + items: *262 examples: - default: *263 + default: *264 headers: Link: *6 '404': *26 @@ -60951,8 +60952,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *272 - *273 + - *274 - *120 requestBody: required: true @@ -60985,16 +60986,16 @@ paths: description: Reaction exists content: application/json: - schema: *261 + schema: *262 examples: - default: *262 + default: *263 '201': description: Reaction created content: application/json: - schema: *261 + schema: *262 examples: - default: *262 + default: *263 '422': *35 x-github: githubCloudOnly: false @@ -61016,10 +61017,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *272 - *273 + - *274 - *120 - - *264 + - *265 responses: '204': description: Response @@ -61039,8 +61040,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/events#list-issue-events-for-a-repository parameters: - - *272 - *273 + - *274 - *4 - *5 responses: @@ -61050,7 +61051,7 @@ paths: application/json: schema: type: array - items: &430 + items: &431 title: Issue Event description: Issue Event type: object @@ -61093,8 +61094,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *428 - required: *429 + properties: *429 + required: *430 nullable: true label: title: Issue Event Label @@ -61138,7 +61139,7 @@ paths: properties: *17 required: *18 nullable: true - requested_team: *274 + requested_team: *275 dismissed_review: title: Issue Event Dismissed Review type: object @@ -61401,8 +61402,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/events#get-an-issue-event parameters: - - *272 - *273 + - *274 - name: event_id in: path required: true @@ -61413,7 +61414,7 @@ paths: description: Response content: application/json: - schema: *430 + schema: *431 examples: default: value: @@ -61606,7 +61607,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *26 - '410': *229 + '410': *230 '403': *43 x-github: githubCloudOnly: false @@ -61640,9 +61641,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/issues#get-an-issue parameters: - - *272 - *273 - - &432 + - *274 + - &433 name: issue_number description: The number that identifies the issue. in: path @@ -61656,10 +61657,10 @@ paths: application/json: schema: *121 examples: - default: *431 - '301': *284 + default: *432 + '301': *285 '404': *26 - '410': *229 + '410': *230 '304': *42 x-github: githubCloudOnly: false @@ -61684,9 +61685,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/issues#update-an-issue parameters: - - *272 - *273 - - *432 + - *274 + - *433 requestBody: required: false content: @@ -61783,13 +61784,13 @@ paths: application/json: schema: *121 examples: - default: *431 + default: *432 '422': *35 '503': *104 '403': *43 - '301': *284 + '301': *285 '404': *26 - '410': *229 + '410': *230 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61807,9 +61808,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *272 - *273 - - *432 + - *274 + - *433 requestBody: required: false content: @@ -61837,7 +61838,7 @@ paths: application/json: schema: *121 examples: - default: *431 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61853,9 +61854,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *272 - *273 - - *432 + - *274 + - *433 requestBody: content: application/json: @@ -61882,7 +61883,7 @@ paths: application/json: schema: *121 examples: - default: *431 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61904,9 +61905,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *272 - *273 - - *432 + - *274 + - *433 - name: assignee in: path required: true @@ -61946,9 +61947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/comments#list-issue-comments parameters: - - *272 - *273 - - *432 + - *274 + - *433 - *111 - *4 - *5 @@ -61959,13 +61960,13 @@ paths: application/json: schema: type: array - items: *426 + items: *427 examples: - default: *433 + default: *434 headers: Link: *6 '404': *26 - '410': *229 + '410': *230 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61994,9 +61995,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/comments#create-an-issue-comment parameters: - - *272 - *273 - - *432 + - *274 + - *433 requestBody: required: true content: @@ -62018,16 +62019,16 @@ paths: description: Response content: application/json: - schema: *426 + schema: *427 examples: - default: *427 + default: *428 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *43 - '410': *229 + '410': *230 '422': *35 '404': *26 x-github: @@ -62047,9 +62048,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/events#list-issue-events parameters: - - *272 - *273 - - *432 + - *274 + - *433 - *4 - *5 responses: @@ -62063,7 +62064,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &436 + - &437 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -62117,7 +62118,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &437 + - &438 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -62253,7 +62254,7 @@ paths: - performed_via_github_app - assignee - assigner - - &438 + - &439 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -62304,7 +62305,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &439 + - &440 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -62355,7 +62356,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &440 + - &441 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -62409,7 +62410,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &441 + - &442 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -62443,7 +62444,7 @@ paths: properties: *106 required: *107 review_requester: *19 - requested_team: *274 + requested_team: *275 requested_reviewer: *19 required: - review_requester @@ -62456,7 +62457,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &442 + - &443 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -62490,7 +62491,7 @@ paths: properties: *106 required: *107 review_requester: *19 - requested_team: *274 + requested_team: *275 requested_reviewer: *19 required: - review_requester @@ -62503,7 +62504,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &443 + - &444 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -62563,7 +62564,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &444 + - &445 title: Locked Issue Event description: Locked Issue Event type: object @@ -62611,7 +62612,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &445 + - &446 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -62677,7 +62678,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &446 + - &447 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -62743,7 +62744,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &447 + - &448 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -62809,7 +62810,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &448 + - &449 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -62900,7 +62901,7 @@ paths: color: red headers: Link: *6 - '410': *229 + '410': *230 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62917,9 +62918,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/labels#list-labels-for-an-issue parameters: - - *272 - *273 - - *432 + - *274 + - *433 - *4 - *5 responses: @@ -62929,7 +62930,7 @@ paths: application/json: schema: type: array - items: &434 + items: &435 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -62976,7 +62977,7 @@ paths: - color - default examples: - default: &435 + default: &436 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -62994,9 +62995,9 @@ paths: default: false headers: Link: *6 - '301': *284 + '301': *285 '404': *26 - '410': *229 + '410': *230 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63013,9 +63014,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/labels#add-labels-to-an-issue parameters: - - *272 - *273 - - *432 + - *274 + - *433 requestBody: required: false content: @@ -63074,12 +63075,12 @@ paths: application/json: schema: type: array - items: *434 + items: *435 examples: - default: *435 - '301': *284 + default: *436 + '301': *285 '404': *26 - '410': *229 + '410': *230 '422': *35 x-github: githubCloudOnly: false @@ -63096,9 +63097,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/labels#set-labels-for-an-issue parameters: - - *272 - *273 - - *432 + - *274 + - *433 requestBody: required: false content: @@ -63158,12 +63159,12 @@ paths: application/json: schema: type: array - items: *434 + items: *435 examples: - default: *435 - '301': *284 + default: *436 + '301': *285 '404': *26 - '410': *229 + '410': *230 '422': *35 x-github: githubCloudOnly: false @@ -63180,15 +63181,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *272 - *273 - - *432 + - *274 + - *433 responses: '204': description: Response - '301': *284 + '301': *285 '404': *26 - '410': *229 + '410': *230 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63207,9 +63208,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *272 - *273 - - *432 + - *274 + - *433 - name: name in: path required: true @@ -63222,7 +63223,7 @@ paths: application/json: schema: type: array - items: *434 + items: *435 examples: default: value: @@ -63233,9 +63234,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *284 + '301': *285 '404': *26 - '410': *229 + '410': *230 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63255,9 +63256,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/issues#lock-an-issue parameters: - - *272 - *273 - - *432 + - *274 + - *433 requestBody: required: false content: @@ -63285,7 +63286,7 @@ paths: '204': description: Response '403': *43 - '410': *229 + '410': *230 '404': *26 '422': *35 x-github: @@ -63303,9 +63304,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/issues#unlock-an-issue parameters: - - *272 - *273 - - *432 + - *274 + - *433 responses: '204': description: Response @@ -63327,9 +63328,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *272 - *273 - - *432 + - *274 + - *433 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -63355,13 +63356,13 @@ paths: application/json: schema: type: array - items: *261 + items: *262 examples: - default: *263 + default: *264 headers: Link: *6 '404': *26 - '410': *229 + '410': *230 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63379,9 +63380,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *272 - *273 - - *432 + - *274 + - *433 requestBody: required: true content: @@ -63413,20 +63414,20 @@ paths: description: Response content: application/json: - schema: *261 + schema: *262 examples: - default: *262 + default: *263 '201': description: Response content: application/json: - schema: *261 + schema: *262 examples: - default: *262 + default: *263 '422': *35 x-github: githubCloudOnly: false - enabledForGitHubApps: false + enabledForGitHubApps: true category: reactions subcategory: reactions "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": @@ -63444,10 +63445,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *272 - *273 - - *432 - - *264 + - *274 + - *433 + - *265 responses: '204': description: Response @@ -63467,9 +63468,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *272 - *273 - - *432 + - *274 + - *433 - *4 - *5 responses: @@ -63484,7 +63485,6 @@ paths: description: Timeline Event type: object anyOf: - - *436 - *437 - *438 - *439 @@ -63497,6 +63497,7 @@ paths: - *446 - *447 - *448 + - *449 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -63797,7 +63798,7 @@ paths: type: string comments: type: array - items: &471 + items: &472 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -64006,7 +64007,7 @@ paths: type: string comments: type: array - items: *369 + items: *370 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -64295,7 +64296,7 @@ paths: headers: Link: *6 '404': *26 - '410': *229 + '410': *230 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64312,8 +64313,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *272 - *273 + - *274 - *4 - *5 responses: @@ -64323,7 +64324,7 @@ paths: application/json: schema: type: array - items: &449 + items: &450 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -64386,8 +64387,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -64423,9 +64424,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *450 examples: - default: &450 + default: &451 value: id: 1 key: ssh-rsa AAA... @@ -64458,9 +64459,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *272 - *273 - - &451 + - *274 + - &452 name: key_id description: The unique identifier of the key. in: path @@ -64472,9 +64473,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *450 examples: - default: *450 + default: *451 '404': *26 x-github: githubCloudOnly: false @@ -64492,9 +64493,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *272 - *273 - - *451 + - *274 + - *452 responses: '204': description: Response @@ -64514,8 +64515,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/labels#list-labels-for-a-repository parameters: - - *272 - *273 + - *274 - *4 - *5 responses: @@ -64525,9 +64526,9 @@ paths: application/json: schema: type: array - items: *434 + items: *435 examples: - default: *435 + default: *436 headers: Link: *6 '404': *26 @@ -64548,8 +64549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/labels#create-a-label parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -64585,9 +64586,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *435 examples: - default: &452 + default: &453 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -64619,8 +64620,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/labels#get-a-label parameters: - - *272 - *273 + - *274 - name: name in: path required: true @@ -64631,9 +64632,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *435 examples: - default: *452 + default: *453 '404': *26 x-github: githubCloudOnly: false @@ -64650,8 +64651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/labels#update-a-label parameters: - - *272 - *273 + - *274 - name: name in: path required: true @@ -64690,7 +64691,7 @@ paths: description: Response content: application/json: - schema: *434 + schema: *435 examples: default: value: @@ -64716,8 +64717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/labels#delete-a-label parameters: - - *272 - *273 + - *274 - name: name in: path required: true @@ -64743,8 +64744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/repos#list-repository-languages parameters: - - *272 - *273 + - *274 responses: '200': description: Response @@ -64780,8 +64781,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *272 - *273 + - *274 responses: '202': *140 '403': @@ -64809,8 +64810,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *272 - *273 + - *274 responses: '204': description: Response @@ -64836,8 +64837,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *272 - *273 + - *274 responses: '200': description: Response @@ -64982,8 +64983,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -65048,8 +65049,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/branches/branches#merge-a-branch parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -65083,9 +65084,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *370 + schema: *371 examples: - default: *453 + default: *454 '204': description: Response when already merged '404': @@ -65110,8 +65111,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/milestones#list-milestones parameters: - - *272 - *273 + - *274 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -65152,12 +65153,12 @@ paths: application/json: schema: type: array - items: &454 + items: &455 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *374 - required: *375 + properties: *375 + required: *376 examples: default: value: @@ -65213,8 +65214,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/milestones#create-a-milestone parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -65254,9 +65255,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *455 examples: - default: &455 + default: &456 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -65315,9 +65316,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/milestones#get-a-milestone parameters: - - *272 - *273 - - &456 + - *274 + - &457 name: milestone_number description: The number that identifies the milestone. in: path @@ -65329,9 +65330,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *455 examples: - default: *455 + default: *456 '404': *26 x-github: githubCloudOnly: false @@ -65348,9 +65349,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/milestones#update-a-milestone parameters: - - *272 - *273 - - *456 + - *274 + - *457 requestBody: required: false content: @@ -65388,9 +65389,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *455 examples: - default: *455 + default: *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65406,9 +65407,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/milestones#delete-a-milestone parameters: - - *272 - *273 - - *456 + - *274 + - *457 responses: '204': description: Response @@ -65429,9 +65430,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *272 - *273 - - *456 + - *274 + - *457 - *4 - *5 responses: @@ -65441,9 +65442,9 @@ paths: application/json: schema: type: array - items: *434 + items: *435 examples: - default: *435 + default: *436 headers: Link: *6 x-github: @@ -65462,12 +65463,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *272 - *273 - - *457 + - *274 - *458 - - *111 - *459 + - *111 + - *460 - *4 - *5 responses: @@ -65479,7 +65480,7 @@ paths: type: array items: *130 examples: - default: *460 + default: *461 headers: Link: *6 x-github: @@ -65503,8 +65504,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *272 - *273 + - *274 requestBody: required: false content: @@ -65562,14 +65563,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pages/pages#get-a-apiname-pages-site parameters: - - *272 - *273 + - *274 responses: '200': description: Response content: application/json: - schema: &461 + schema: &462 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -65694,7 +65695,7 @@ paths: - custom_404 - public examples: - default: &462 + default: &463 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -65735,8 +65736,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pages/pages#create-a-apiname-pages-site parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -65790,9 +65791,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *462 examples: - default: *462 + default: *463 '422': *35 '409': *139 x-github: @@ -65815,8 +65816,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -65915,8 +65916,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *272 - *273 + - *274 responses: '204': description: Response @@ -65942,8 +65943,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pages/pages#list-apiname-pages-builds parameters: - - *272 - *273 + - *274 - *4 - *5 responses: @@ -65953,7 +65954,7 @@ paths: application/json: schema: type: array - items: &463 + items: &464 title: Page Build description: Page Build type: object @@ -66047,8 +66048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pages/pages#request-a-apiname-pages-build parameters: - - *272 - *273 + - *274 responses: '201': description: Response @@ -66093,16 +66094,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pages/pages#get-latest-pages-build parameters: - - *272 - *273 + - *274 responses: '200': description: Response content: application/json: - schema: *463 + schema: *464 examples: - default: &464 + default: &465 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -66150,8 +66151,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pages/pages#get-apiname-pages-build parameters: - - *272 - *273 + - *274 - name: build_id in: path required: true @@ -66162,9 +66163,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *464 examples: - default: *464 + default: *465 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66184,8 +66185,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pages/pages#create-a-github-pages-deployment parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -66277,8 +66278,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/enterprise-admin/repo-pre-receive-hooks#list-pre-receive-hooks-for-a-repository parameters: - - *272 - *273 + - *274 - *4 - *5 - *9 @@ -66299,7 +66300,7 @@ paths: application/json: schema: type: array - items: &465 + items: &466 type: object properties: id: @@ -66333,17 +66334,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/enterprise-admin/repo-pre-receive-hooks#get-a-pre-receive-hook-for-a-repository parameters: - - *272 - *273 + - *274 - *16 responses: '200': description: Response content: application/json: - schema: *465 + schema: *466 examples: - default: &466 + default: &467 value: id: 42 name: Check Commits @@ -66365,15 +66366,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/enterprise-admin/repo-pre-receive-hooks#update-pre-receive-hook-enforcement-for-a-repository parameters: - - *272 - *273 + - *274 - *16 responses: '200': description: Response content: application/json: - schema: *465 + schema: *466 examples: default: value: @@ -66417,8 +66418,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/enterprise-admin/repo-pre-receive-hooks#remove-pre-receive-hook-enforcement-for-a-repository parameters: - - *272 - *273 + - *274 - *16 responses: '200': @@ -66426,9 +66427,9 @@ paths: global level. content: application/json: - schema: *465 + schema: *466 examples: - default: *466 + default: *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66448,8 +66449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/projects/projects#list-repository-projects parameters: - - *272 - *273 + - *274 - name: state description: Indicates the state of the projects to return. in: query @@ -66470,7 +66471,7 @@ paths: application/json: schema: type: array - items: *228 + items: *229 examples: default: value: @@ -66510,7 +66511,7 @@ paths: '401': *41 '403': *43 '404': *26 - '410': *229 + '410': *230 '422': *27 x-github: githubCloudOnly: false @@ -66530,8 +66531,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/projects/projects#create-a-repository-project parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -66557,13 +66558,13 @@ paths: description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: *281 + default: *282 '401': *41 '403': *43 '404': *26 - '410': *229 + '410': *230 '422': *27 x-github: githubCloudOnly: false @@ -66595,8 +66596,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pulls/pulls#list-pull-requests parameters: - - *272 - *273 + - *274 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -66656,9 +66657,9 @@ paths: application/json: schema: type: array - items: *467 + items: *468 examples: - default: *468 + default: *469 headers: Link: *6 '304': *42 @@ -66690,8 +66691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pulls/pulls#create-a-pull-request parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -66756,7 +66757,7 @@ paths: description: Response content: application/json: - schema: &473 + schema: &474 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -66867,8 +66868,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *374 - required: *375 + properties: *375 + required: *376 nullable: true active_lock_reason: type: string @@ -66913,7 +66914,7 @@ paths: nullable: true requested_teams: type: array - items: *469 + items: *470 nullable: true head: type: object @@ -66952,14 +66953,14 @@ paths: _links: type: object properties: - comments: *376 - commits: *376 - statuses: *376 - html: *376 - issue: *376 - review_comments: *376 - review_comment: *376 - self: *376 + comments: *377 + commits: *377 + statuses: *377 + html: *377 + issue: *377 + review_comments: *377 + review_comment: *377 + self: *377 required: - comments - commits @@ -66970,7 +66971,7 @@ paths: - review_comment - self author_association: *108 - auto_merge: *470 + auto_merge: *471 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -67062,7 +67063,7 @@ paths: - merged_by - review_comments examples: - default: &474 + default: &475 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -67589,8 +67590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *272 - *273 + - *274 - name: sort in: query required: false @@ -67619,9 +67620,9 @@ paths: application/json: schema: type: array - items: *471 + items: *472 examples: - default: &477 + default: &478 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -67698,17 +67699,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *272 - *273 + - *274 - *120 responses: '200': description: Response content: application/json: - schema: *471 + schema: *472 examples: - default: &472 + default: &473 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -67783,8 +67784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *272 - *273 + - *274 - *120 requestBody: required: true @@ -67807,9 +67808,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: - default: *472 + default: *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67825,8 +67826,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *272 - *273 + - *274 - *120 responses: '204': @@ -67848,8 +67849,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *272 - *273 + - *274 - *120 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#about-reactions). @@ -67876,9 +67877,9 @@ paths: application/json: schema: type: array - items: *261 + items: *262 examples: - default: *263 + default: *264 headers: Link: *6 '404': *26 @@ -67899,8 +67900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *272 - *273 + - *274 - *120 requestBody: required: true @@ -67933,16 +67934,16 @@ paths: description: Reaction exists content: application/json: - schema: *261 + schema: *262 examples: - default: *262 + default: *263 '201': description: Reaction created content: application/json: - schema: *261 + schema: *262 examples: - default: *262 + default: *263 '422': *35 x-github: githubCloudOnly: false @@ -67964,10 +67965,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *272 - *273 + - *274 - *120 - - *264 + - *265 responses: '204': description: Response @@ -68010,9 +68011,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pulls/pulls#get-a-pull-request parameters: - - *272 - *273 - - &475 + - *274 + - &476 name: pull_number description: The number that identifies the pull request. in: path @@ -68025,9 +68026,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *473 + schema: *474 examples: - default: *474 + default: *475 '304': *42 '404': *26 '406': @@ -68035,7 +68036,7 @@ paths: content: application/json: schema: *24 - '500': *217 + '500': *218 '503': *104 x-github: githubCloudOnly: false @@ -68062,9 +68063,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pulls/pulls#update-a-pull-request parameters: - - *272 - *273 - - *475 + - *274 + - *476 requestBody: required: false content: @@ -68106,9 +68107,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *474 examples: - default: *474 + default: *475 '422': *35 '403': *43 x-github: @@ -68136,10 +68137,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *272 - *273 - - *475 + - *274 - *476 + - *477 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -68159,9 +68160,9 @@ paths: application/json: schema: type: array - items: *471 + items: *472 examples: - default: *477 + default: *478 headers: Link: *6 x-github: @@ -68194,9 +68195,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *272 - *273 - - *475 + - *274 + - *476 requestBody: required: true content: @@ -68301,7 +68302,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: example-for-a-multi-line-comment: value: @@ -68389,9 +68390,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *272 - *273 - - *475 + - *274 + - *476 - *120 requestBody: required: true @@ -68414,7 +68415,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: default: value: @@ -68500,9 +68501,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *272 - *273 - - *475 + - *274 + - *476 - *4 - *5 responses: @@ -68512,9 +68513,9 @@ paths: application/json: schema: type: array - items: *370 + items: *371 examples: - default: *478 + default: *479 headers: Link: *6 x-github: @@ -68544,9 +68545,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pulls/pulls#list-pull-requests-files parameters: - - *272 - *273 - - *475 + - *274 + - *476 - *4 - *5 responses: @@ -68556,7 +68557,7 @@ paths: application/json: schema: type: array - items: *381 + items: *382 examples: default: value: @@ -68574,7 +68575,7 @@ paths: headers: Link: *6 '422': *35 - '500': *217 + '500': *218 '503': *104 x-github: githubCloudOnly: false @@ -68594,9 +68595,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *272 - *273 - - *475 + - *274 + - *476 responses: '204': description: Response if pull request has been merged @@ -68619,9 +68620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pulls/pulls#merge-a-pull-request parameters: - - *272 - *273 - - *475 + - *274 + - *476 requestBody: required: false content: @@ -68732,9 +68733,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *272 - *273 - - *475 + - *274 + - *476 responses: '200': description: Response @@ -68750,7 +68751,7 @@ paths: items: *19 teams: type: array - items: *274 + items: *275 required: - users - teams @@ -68809,9 +68810,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *272 - *273 - - *475 + - *274 + - *476 requestBody: required: false content: @@ -68848,7 +68849,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *468 examples: default: value: @@ -69384,9 +69385,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *272 - *273 - - *475 + - *274 + - *476 requestBody: required: true content: @@ -69420,7 +69421,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *468 examples: default: value: @@ -69925,9 +69926,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *272 - *273 - - *475 + - *274 + - *476 - *4 - *5 responses: @@ -69937,7 +69938,7 @@ paths: application/json: schema: type: array - items: &479 + items: &480 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -70088,9 +70089,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *272 - *273 - - *475 + - *274 + - *476 requestBody: required: false content: @@ -70176,9 +70177,9 @@ paths: description: Response content: application/json: - schema: *479 + schema: *480 examples: - default: &481 + default: &482 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -70241,10 +70242,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *272 - *273 - - *475 - - &480 + - *274 + - *476 + - &481 name: review_id description: The unique identifier of the review. in: path @@ -70256,9 +70257,9 @@ paths: description: Response content: application/json: - schema: *479 + schema: *480 examples: - default: &482 + default: &483 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -70317,10 +70318,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *272 - *273 - - *475 - - *480 + - *274 + - *476 + - *481 requestBody: required: true content: @@ -70343,7 +70344,7 @@ paths: description: Response content: application/json: - schema: *479 + schema: *480 examples: default: value: @@ -70405,18 +70406,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *272 - *273 - - *475 - - *480 + - *274 + - *476 + - *481 responses: '200': description: Response content: application/json: - schema: *479 + schema: *480 examples: - default: *481 + default: *482 '422': *27 '404': *26 x-github: @@ -70443,10 +70444,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *272 - *273 - - *475 - - *480 + - *274 + - *476 + - *481 - *4 - *5 responses: @@ -70529,9 +70530,9 @@ paths: _links: type: object properties: - self: *376 - html: *376 - pull_request: *376 + self: *377 + html: *377 + pull_request: *377 required: - self - html @@ -70674,10 +70675,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *272 - *273 - - *475 - - *480 + - *274 + - *476 + - *481 requestBody: required: true content: @@ -70705,7 +70706,7 @@ paths: description: Response content: application/json: - schema: *479 + schema: *480 examples: default: value: @@ -70768,10 +70769,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *272 - *273 - - *475 - - *480 + - *274 + - *476 + - *481 requestBody: required: true content: @@ -70806,9 +70807,9 @@ paths: description: Response content: application/json: - schema: *479 + schema: *480 examples: - default: *482 + default: *483 '404': *26 '422': *27 '403': *43 @@ -70830,9 +70831,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *272 - *273 - - *475 + - *274 + - *476 requestBody: required: false content: @@ -70895,8 +70896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/contents#get-a-repository-readme parameters: - - *272 - *273 + - *274 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -70909,9 +70910,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *484 examples: - default: &484 + default: &485 value: type: file encoding: base64 @@ -70953,8 +70954,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *272 - *273 + - *274 - name: dir description: The alternate path to look for a README file in: path @@ -70974,9 +70975,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *484 examples: - default: *484 + default: *485 '404': *26 '422': *35 x-github: @@ -70998,8 +70999,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/releases/releases#list-releases parameters: - - *272 - *273 + - *274 - *4 - *5 responses: @@ -71009,7 +71010,7 @@ paths: application/json: schema: type: array - items: &485 + items: &486 title: Release description: A release. type: object @@ -71072,7 +71073,7 @@ paths: author: *19 assets: type: array - items: &486 + items: &487 title: Release Asset description: Data related to a release. type: object @@ -71249,8 +71250,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/releases/releases#create-a-release parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -71320,9 +71321,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: - default: &490 + default: &491 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -71420,9 +71421,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/releases/assets#get-a-release-asset parameters: - - *272 - *273 - - &488 + - *274 + - &489 name: asset_id description: The unique identifier of the asset. in: path @@ -71434,9 +71435,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *487 examples: - default: &489 + default: &490 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 @@ -71470,7 +71471,7 @@ paths: type: User site_admin: false '404': *26 - '302': *487 + '302': *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71486,9 +71487,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/releases/assets#update-a-release-asset parameters: - - *272 - *273 - - *488 + - *274 + - *489 requestBody: required: false content: @@ -71516,9 +71517,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *487 examples: - default: *489 + default: *490 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71534,9 +71535,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/releases/assets#delete-a-release-asset parameters: - - *272 - *273 - - *488 + - *274 + - *489 responses: '204': description: Response @@ -71560,8 +71561,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -71646,16 +71647,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/releases/releases#get-the-latest-release parameters: - - *272 - *273 + - *274 responses: '200': description: Response content: application/json: - schema: *485 + schema: *486 examples: - default: *490 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71672,8 +71673,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/releases/releases#get-a-release-by-tag-name parameters: - - *272 - *273 + - *274 - name: tag description: tag parameter in: path @@ -71686,9 +71687,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: - default: *490 + default: *491 '404': *26 x-github: githubCloudOnly: false @@ -71710,9 +71711,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/releases/releases#get-a-release parameters: - - *272 - *273 - - &491 + - *274 + - &492 name: release_id description: The unique identifier of the release. in: path @@ -71726,9 +71727,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *485 + schema: *486 examples: - default: *490 + default: *491 '401': description: Unauthorized x-github: @@ -71746,9 +71747,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/releases/releases#update-a-release parameters: - - *272 - *273 - - *491 + - *274 + - *492 requestBody: required: false content: @@ -71805,9 +71806,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: - default: *490 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71823,9 +71824,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/releases/releases#delete-a-release parameters: - - *272 - *273 - - *491 + - *274 + - *492 responses: '204': description: Response @@ -71845,9 +71846,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/releases/assets#list-release-assets parameters: - - *272 - *273 - - *491 + - *274 + - *492 - *4 - *5 responses: @@ -71857,7 +71858,7 @@ paths: application/json: schema: type: array - items: *486 + items: *487 examples: default: value: @@ -71938,9 +71939,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: - - *272 - *273 - - *491 + - *274 + - *492 - name: name in: query required: true @@ -71966,7 +71967,7 @@ paths: description: Response for successful upload content: application/json: - schema: *486 + schema: *487 examples: response-for-successful-upload: value: @@ -72020,9 +72021,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *272 - *273 - - *491 + - *274 + - *492 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -72046,9 +72047,9 @@ paths: application/json: schema: type: array - items: *261 + items: *262 examples: - default: *263 + default: *264 headers: Link: *6 '404': *26 @@ -72069,9 +72070,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *272 - *273 - - *491 + - *274 + - *492 requestBody: required: true content: @@ -72101,16 +72102,16 @@ paths: description: Reaction exists content: application/json: - schema: *261 + schema: *262 examples: - default: *262 + default: *263 '201': description: Reaction created content: application/json: - schema: *261 + schema: *262 examples: - default: *262 + default: *263 '422': *35 x-github: githubCloudOnly: false @@ -72132,10 +72133,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#delete-a-release-reaction parameters: - - *272 - *273 - - *491 - - *264 + - *274 + - *492 + - *265 responses: '204': description: Response @@ -72155,8 +72156,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/repos#list-repository-cache-replication-status parameters: - - *272 - *273 + - *274 - *4 - *5 responses: @@ -72231,9 +72232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/rules#get-rules-for-a-branch parameters: - - *272 - *273 - - *330 + - *274 + - *331 - *4 - *5 responses: @@ -72249,8 +72250,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *492 - - &494 + - *493 + - &495 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -72270,47 +72271,47 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *493 - *494 - - allOf: - *495 - - *494 - allOf: - *496 - - *494 + - *495 - allOf: - *497 - - *494 + - *495 - allOf: - *498 - - *494 + - *495 - allOf: - *499 - - *494 + - *495 - allOf: - *500 - - *494 + - *495 - allOf: - *501 - - *494 + - *495 - allOf: - *502 - - *494 + - *495 - allOf: - *503 - - *494 + - *495 - allOf: - *504 - - *494 + - *495 - allOf: - *505 - - *494 + - *495 - allOf: - *506 - - *494 + - *495 - allOf: - *507 - - *494 + - *495 + - allOf: + - *508 + - *495 examples: default: value: @@ -72349,8 +72350,8 @@ paths: category: repos subcategory: rules parameters: - - *272 - *273 + - *274 - *4 - *5 - name: includes_parents @@ -72361,7 +72362,7 @@ paths: schema: type: boolean default: true - - *508 + - *509 responses: '200': description: Response @@ -72369,7 +72370,7 @@ paths: application/json: schema: type: array - items: *238 + items: *239 examples: default: value: @@ -72400,7 +72401,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *26 - '500': *217 + '500': *218 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -72416,8 +72417,8 @@ paths: category: repos subcategory: rules parameters: - - *272 - *273 + - *274 requestBody: description: Request body required: true @@ -72436,16 +72437,16 @@ paths: - branch - tag default: branch - enforcement: *234 + enforcement: *235 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *235 - conditions: *233 + items: *236 + conditions: *234 rules: type: array description: An array of rules within the ruleset. - items: *237 + items: *238 required: - name - enforcement @@ -72476,9 +72477,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *239 examples: - default: &509 + default: &510 value: id: 42 name: super cool ruleset @@ -72511,7 +72512,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *26 - '500': *217 + '500': *218 "/repos/{owner}/{repo}/rulesets/{ruleset_id}": get: summary: Get a repository ruleset @@ -72532,8 +72533,8 @@ paths: category: repos subcategory: rules parameters: - - *272 - *273 + - *274 - name: ruleset_id description: The ID of the ruleset. in: path @@ -72553,11 +72554,11 @@ paths: description: Response content: application/json: - schema: *238 + schema: *239 examples: - default: *509 + default: *510 '404': *26 - '500': *217 + '500': *218 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -72573,8 +72574,8 @@ paths: category: repos subcategory: rules parameters: - - *272 - *273 + - *274 - name: ruleset_id description: The ID of the ruleset. in: path @@ -72598,16 +72599,16 @@ paths: enum: - branch - tag - enforcement: *234 + enforcement: *235 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *235 - conditions: *233 + items: *236 + conditions: *234 rules: description: An array of rules within the ruleset. type: array - items: *237 + items: *238 examples: default: value: @@ -72635,11 +72636,11 @@ paths: description: Response content: application/json: - schema: *238 + schema: *239 examples: - default: *509 + default: *510 '404': *26 - '500': *217 + '500': *218 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -72655,8 +72656,8 @@ paths: category: repos subcategory: rules parameters: - - *272 - *273 + - *274 - name: ruleset_id description: The ID of the ruleset. in: path @@ -72667,7 +72668,7 @@ paths: '204': description: Response '404': *26 - '500': *217 + '500': *218 "/repos/{owner}/{repo}/secret-scanning/alerts": get: summary: List secret scanning alerts for a repository @@ -72684,17 +72685,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *272 - *273 - - *240 + - *274 - *241 - *242 - *243 + - *244 - *9 - *5 - *4 - - *510 - *511 + - *512 responses: '200': description: Response @@ -72702,7 +72703,7 @@ paths: application/json: schema: type: array - items: &514 + items: &515 type: object properties: number: *93 @@ -72721,8 +72722,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *512 - resolution: *513 + state: *513 + resolution: *514 resolved_at: type: string format: date-time @@ -72865,15 +72866,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *272 - *273 - - *358 + - *274 + - *359 responses: '200': description: Response content: application/json: - schema: *514 + schema: *515 examples: default: value: @@ -72912,9 +72913,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *272 - *273 - - *358 + - *274 + - *359 requestBody: required: true content: @@ -72922,8 +72923,8 @@ paths: schema: type: object properties: - state: *512 - resolution: *513 + state: *513 + resolution: *514 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -72941,7 +72942,7 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: default: value: @@ -73007,9 +73008,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *272 - *273 - - *358 + - *274 + - *359 - *5 - *4 responses: @@ -73020,7 +73021,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &640 + items: &641 type: object properties: type: @@ -73327,8 +73328,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/activity/starring#list-stargazers parameters: - - *272 - *273 + - *274 - *4 - *5 responses: @@ -73424,8 +73425,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *272 - *273 + - *274 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -73434,7 +73435,7 @@ paths: application/json: schema: type: array - items: &515 + items: &516 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -73447,7 +73448,7 @@ paths: - 1124 - -435 '202': *140 - '204': *225 + '204': *226 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73465,8 +73466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *272 - *273 + - *274 responses: '200': description: Response @@ -73515,7 +73516,7 @@ paths: total: 89 week: 1336280400 '202': *140 - '204': *225 + '204': *226 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73539,8 +73540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *272 - *273 + - *274 responses: '200': description: Response @@ -73614,7 +73615,7 @@ paths: d: 77 c: 10 '202': *140 - '204': *225 + '204': *226 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73636,8 +73637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *272 - *273 + - *274 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -73791,8 +73792,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *272 - *273 + - *274 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -73802,7 +73803,7 @@ paths: application/json: schema: type: array - items: *515 + items: *516 examples: default: value: @@ -73815,7 +73816,7 @@ paths: - - 0 - 2 - 21 - '204': *225 + '204': *226 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73835,8 +73836,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/commits/statuses#create-a-commit-status parameters: - - *272 - *273 + - *274 - name: sha in: path required: true @@ -73890,7 +73891,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: default: value: @@ -73944,8 +73945,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/activity/watching#list-watchers parameters: - - *272 - *273 + - *274 - *4 - *5 responses: @@ -73957,7 +73958,7 @@ paths: type: array items: *19 examples: - default: *210 + default: *211 headers: Link: *6 x-github: @@ -73977,14 +73978,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/activity/watching#get-a-repository-subscription parameters: - - *272 - *273 + - *274 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &517 + schema: &518 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -74052,8 +74053,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/activity/watching#set-a-repository-subscription parameters: - - *272 - *273 + - *274 requestBody: required: false content: @@ -74079,7 +74080,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *518 examples: default: value: @@ -74106,8 +74107,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/activity/watching#delete-a-repository-subscription parameters: - - *272 - *273 + - *274 responses: '204': description: Response @@ -74127,8 +74128,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/repos#list-repository-tags parameters: - - *272 - *273 + - *274 - *4 - *5 responses: @@ -74207,8 +74208,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *272 - *273 + - *274 responses: '200': description: Response @@ -74216,7 +74217,7 @@ paths: application/json: schema: type: array - items: &518 + items: &519 title: Tag protection description: Tag protection type: object @@ -74268,8 +74269,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -74292,7 +74293,7 @@ paths: description: Response content: application/json: - schema: *518 + schema: *519 examples: default: value: @@ -74323,8 +74324,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *272 - *273 + - *274 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -74361,8 +74362,8 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *272 - *273 + - *274 - name: ref in: path required: true @@ -74398,8 +74399,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/repos#list-repository-teams parameters: - - *272 - *273 + - *274 - *4 - *5 responses: @@ -74409,9 +74410,9 @@ paths: application/json: schema: type: array - items: *274 + items: *275 examples: - default: *252 + default: *253 headers: Link: *6 '404': *26 @@ -74431,8 +74432,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/repos#get-all-repository-topics parameters: - - *272 - *273 + - *274 - *5 - *4 responses: @@ -74440,7 +74441,7 @@ paths: description: Response content: application/json: - schema: &519 + schema: &520 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -74452,7 +74453,7 @@ paths: required: - names examples: - default: &520 + default: &521 value: names: - octocat @@ -74475,8 +74476,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/repos#replace-all-repository-topics parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -74507,9 +74508,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *520 examples: - default: *520 + default: *521 '404': *26 '422': *27 x-github: @@ -74532,8 +74533,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/repos#transfer-a-repository parameters: - - *272 - *273 + - *274 requestBody: required: true content: @@ -74807,8 +74808,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *272 - *273 + - *274 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -74831,8 +74832,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/repos#enable-vulnerability-alerts parameters: - - *272 - *273 + - *274 responses: '204': description: Response @@ -74854,8 +74855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/repos/repos#disable-vulnerability-alerts parameters: - - *272 - *273 + - *274 responses: '204': description: Response @@ -74881,8 +74882,8 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *272 - *273 + - *274 - name: ref in: path required: true @@ -74974,9 +74975,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: - default: *285 + default: *286 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -75150,7 +75151,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &528 + - &529 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -75159,7 +75160,7 @@ paths: schema: type: string example: members - - &533 + - &534 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -75170,7 +75171,7 @@ paths: default: 1 format: int32 example: 1 - - &534 + - &535 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -75212,7 +75213,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &522 + items: &523 allOf: - type: object required: @@ -75287,7 +75288,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: &535 + meta: &536 type: object description: The metadata associated with the creation/updates to the user. @@ -75347,31 +75348,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &523 + '400': &524 description: Bad request content: application/json: - schema: *521 + schema: *522 application/scim+json: - schema: *521 - '401': &524 + schema: *522 + '401': &525 description: Authorization failure - '403': &525 + '403': &526 description: Permission denied - '429': &526 + '429': &527 description: Too many requests content: application/json: - schema: *521 + schema: *522 application/scim+json: - schema: *521 - '500': &527 + schema: *522 + '500': &528 description: Internal server error content: application/json: - schema: *521 + schema: *522 application/scim+json: - schema: *521 + schema: *522 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -75398,7 +75399,7 @@ paths: required: true content: application/json: - schema: &531 + schema: &532 type: object required: - schemas @@ -75454,9 +75455,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *522 + schema: *523 examples: - group: &529 + group: &530 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -75475,13 +75476,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': *523 - '401': *524 - '403': *525 - '409': &532 + '400': *524 + '401': *525 + '403': *526 + '409': &533 description: Duplicate record detected - '429': *526 - '500': *527 + '429': *527 + '500': *528 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -75502,7 +75503,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &530 + - &531 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -75510,22 +75511,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *528 + - *529 - *65 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *522 + schema: *523 examples: - default: *529 - '400': *523 - '401': *524 - '403': *525 + default: *530 + '400': *524 + '401': *525 + '403': *526 '404': *26 - '429': *526 - '500': *527 + '429': *527 + '500': *528 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -75547,13 +75548,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *530 + - *531 - *65 requestBody: required: true content: application/json: - schema: *531 + schema: *532 examples: group: summary: Group @@ -75579,17 +75580,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *522 + schema: *523 examples: - group: *529 - groupWithMembers: *529 - '400': *523 - '401': *524 - '403': *525 + group: *530 + groupWithMembers: *530 + '400': *524 + '401': *525 + '403': *526 '404': *26 - '409': *532 - '429': *526 - '500': *527 + '409': *533 + '429': *527 + '500': *528 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -75613,13 +75614,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *530 + - *531 - *65 requestBody: required: true content: application/json: - schema: &542 + schema: &543 type: object required: - Operations @@ -75679,17 +75680,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *522 + schema: *523 examples: - updateGroup: *529 - addMembers: *529 - '400': *523 - '401': *524 - '403': *525 + updateGroup: *530 + addMembers: *530 + '400': *524 + '401': *525 + '403': *526 '404': *26 - '409': *532 - '429': *526 - '500': *527 + '409': *533 + '429': *527 + '500': *528 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -75709,17 +75710,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *530 + - *531 - *65 responses: '204': description: Group was deleted, no content - '400': *523 - '401': *524 - '403': *525 + '400': *524 + '401': *525 + '403': *526 '404': *26 - '429': *526 - '500': *527 + '429': *527 + '500': *528 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -75756,8 +75757,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *533 - *534 + - *535 - *65 responses: '200': @@ -75790,7 +75791,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &537 + items: &538 allOf: - type: object required: @@ -75869,7 +75870,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &536 + roles: &537 type: array description: The roles assigned to the user. items: @@ -75925,7 +75926,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *535 + meta: *536 startIndex: type: integer description: A starting index for the returned page @@ -75962,11 +75963,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *523 - '401': *524 - '403': *525 - '429': *526 - '500': *527 + '400': *524 + '401': *525 + '403': *526 + '429': *527 + '500': *528 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -75995,7 +75996,7 @@ paths: required: true content: application/json: - schema: &540 + schema: &541 type: object required: - schemas @@ -76077,9 +76078,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *536 + roles: *537 examples: - user: &541 + user: &542 summary: User value: schemas: @@ -76126,9 +76127,9 @@ paths: description: User has been created content: application/scim+json: - schema: *537 + schema: *538 examples: - user: &538 + user: &539 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -76154,13 +76155,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: *538 - '400': *523 - '401': *524 - '403': *525 - '409': *532 - '429': *526 - '500': *527 + enterpriseOwner: *539 + '400': *524 + '401': *525 + '403': *526 + '409': *533 + '429': *527 + '500': *528 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -76181,7 +76182,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &539 + - &540 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -76194,15 +76195,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *537 + schema: *538 examples: - default: *538 - '400': *523 - '401': *524 - '403': *525 + default: *539 + '400': *524 + '401': *525 + '403': *526 '404': *26 - '429': *526 - '500': *527 + '429': *527 + '500': *528 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -76227,30 +76228,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *539 + - *540 - *65 requestBody: required: true content: application/json: - schema: *540 + schema: *541 examples: - user: *541 + user: *542 responses: '200': description: User was updated content: application/scim+json: - schema: *537 + schema: *538 examples: - user: *538 - '400': *523 - '401': *524 - '403': *525 + user: *539 + '400': *524 + '401': *525 + '403': *526 '404': *26 - '409': *532 - '429': *526 - '500': *527 + '409': *533 + '429': *527 + '500': *528 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -76288,13 +76289,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *539 + - *540 - *65 requestBody: required: true content: application/json: - schema: *542 + schema: *543 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -76334,18 +76335,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *537 - examples: - userMultiValuedProperties: *538 - userSingleValuedProperties: *538 - disableUser: *538 - '400': *523 - '401': *524 - '403': *525 + schema: *538 + examples: + userMultiValuedProperties: *539 + userSingleValuedProperties: *539 + disableUser: *539 + '400': *524 + '401': *525 + '403': *526 '404': *26 - '409': *532 - '429': *526 - '500': *527 + '409': *533 + '429': *527 + '500': *528 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -76365,17 +76366,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *539 + - *540 - *65 responses: '204': description: User was deleted, no content - '400': *523 - '401': *524 - '403': *525 + '400': *524 + '401': *525 + '403': *526 '404': *26 - '429': *526 - '500': *527 + '429': *527 + '500': *528 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -76502,7 +76503,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &543 + text_matches: &544 title: Search Result Text Matches type: array items: @@ -76665,7 +76666,7 @@ paths: enum: - author-date - committer-date - - &544 + - &545 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 @@ -76736,7 +76737,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *328 + properties: *329 nullable: true comment_count: type: integer @@ -76756,7 +76757,7 @@ paths: url: type: string format: uri - verification: *417 + verification: *418 required: - author - committer @@ -76775,7 +76776,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *328 + properties: *329 nullable: true parents: type: array @@ -76793,7 +76794,7 @@ paths: type: number node_id: type: string - text_matches: *543 + text_matches: *544 required: - sha - node_id @@ -76986,7 +76987,7 @@ paths: - interactions - created - updated - - *544 + - *545 - *4 - *5 responses: @@ -77105,8 +77106,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *374 - required: *375 + properties: *375 + required: *376 nullable: true comments: type: integer @@ -77120,7 +77121,7 @@ paths: type: string format: date-time nullable: true - text_matches: *543 + text_matches: *544 pull_request: type: object properties: @@ -77344,7 +77345,7 @@ paths: enum: - created - updated - - *544 + - *545 - *4 - *5 responses: @@ -77388,7 +77389,7 @@ paths: nullable: true score: type: number - text_matches: *543 + text_matches: *544 required: - id - node_id @@ -77474,7 +77475,7 @@ paths: - forks - help-wanted-issues - updated - - *544 + - *545 - *4 - *5 responses: @@ -77713,7 +77714,7 @@ paths: - admin - pull - push - text_matches: *543 + text_matches: *544 temp_clone_token: type: string allow_merge_commit: @@ -78014,7 +78015,7 @@ paths: type: string format: uri nullable: true - text_matches: *543 + text_matches: *544 related: type: array nullable: true @@ -78207,7 +78208,7 @@ paths: - followers - repositories - joined - - *544 + - *545 - *4 - *5 responses: @@ -78311,7 +78312,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *543 + text_matches: *544 blog: type: string nullable: true @@ -78506,7 +78507,7 @@ paths: description: Response content: application/json: - schema: &545 + schema: &546 type: object properties: status: @@ -78526,7 +78527,7 @@ paths: - name - number examples: - default: &546 + default: &547 value: status: scheduled scheduled_time: Tuesday, January 22 at 15:34 -0800 @@ -78571,9 +78572,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *546 examples: - default: *546 + default: *547 '401': description: Unauthorized requestBody: @@ -79137,7 +79138,7 @@ paths: application/json: schema: type: array - items: &547 + items: &548 type: object properties: key: @@ -79145,7 +79146,7 @@ paths: pretty-print: type: string examples: - default: &548 + default: &549 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 @@ -79188,9 +79189,9 @@ paths: application/json: schema: type: array - items: *547 + items: *548 examples: - default: *548 + default: *549 '401': description: Unauthorized requestBody: @@ -79242,9 +79243,9 @@ paths: application/json: schema: type: array - items: *547 + items: *548 examples: - default: *548 + default: *549 '401': description: Unauthorized requestBody: @@ -79401,9 +79402,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 '404': *26 x-github: githubCloudOnly: false @@ -79493,16 +79494,16 @@ paths: description: Response when the updated information already exists 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 '404': *26 '422': *35 '403': *43 @@ -79572,9 +79573,9 @@ paths: application/json: schema: type: array - items: *255 + items: *256 examples: - default: *549 + default: *550 headers: Link: *6 x-github: @@ -79637,9 +79638,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *256 examples: - default: *256 + default: *257 x-github: triggersNotification: true githubCloudOnly: false @@ -79667,15 +79668,15 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/discussions#get-a-discussion-legacy parameters: - *7 - - *257 + - *258 responses: '200': description: Response content: application/json: - schema: *255 + schema: *256 examples: - default: *256 + default: *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79701,7 +79702,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/discussions#update-a-discussion-legacy parameters: - *7 - - *257 + - *258 requestBody: required: false content: @@ -79724,9 +79725,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *256 examples: - default: *550 + default: *551 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79752,7 +79753,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/discussions#delete-a-discussion-legacy parameters: - *7 - - *257 + - *258 responses: '204': description: Response @@ -79782,7 +79783,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - *7 - - *257 + - *258 - *9 - *4 - *5 @@ -79793,9 +79794,9 @@ paths: application/json: schema: type: array - items: *258 + items: *259 examples: - default: *551 + default: *552 headers: Link: *6 x-github: @@ -79825,7 +79826,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - *7 - - *257 + - *258 requestBody: required: true content: @@ -79847,9 +79848,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - default: *259 + default: *260 x-github: triggersNotification: true githubCloudOnly: false @@ -79877,16 +79878,16 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - *7 - - *257 - - *260 + - *258 + - *261 responses: '200': description: Response content: application/json: - schema: *258 + schema: *259 examples: - default: *259 + default: *260 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79912,8 +79913,8 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - *7 - - *257 - - *260 + - *258 + - *261 requestBody: required: true content: @@ -79935,9 +79936,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - default: *552 + default: *553 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79963,8 +79964,8 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - *7 - - *257 - - *260 + - *258 + - *261 responses: '204': description: Response @@ -79994,8 +79995,8 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - *7 - - *257 - - *260 + - *258 + - *261 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -80021,9 +80022,9 @@ paths: application/json: schema: type: array - items: *261 + items: *262 examples: - default: *263 + default: *264 headers: Link: *6 x-github: @@ -80053,8 +80054,8 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - *7 - - *257 - - *260 + - *258 + - *261 requestBody: required: true content: @@ -80086,9 +80087,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *262 examples: - default: *262 + default: *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80115,7 +80116,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - *7 - - *257 + - *258 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -80141,9 +80142,9 @@ paths: application/json: schema: type: array - items: *261 + items: *262 examples: - default: *263 + default: *264 headers: Link: *6 x-github: @@ -80173,7 +80174,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - *7 - - *257 + - *258 requestBody: required: true content: @@ -80205,9 +80206,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *262 examples: - default: *262 + default: *263 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -80254,7 +80255,7 @@ paths: type: array items: *19 examples: - default: *210 + default: *211 headers: Link: *6 '404': *26 @@ -80403,9 +80404,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *270 examples: - response-if-user-is-a-team-maintainer: *553 + response-if-user-is-a-team-maintainer: *554 '404': *26 x-github: githubCloudOnly: false @@ -80464,9 +80465,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *270 examples: - response-if-users-membership-with-team-is-now-pending: *554 + response-if-users-membership-with-team-is-now-pending: *555 '403': description: Forbidden if team synchronization is set up '422': @@ -80540,9 +80541,9 @@ paths: application/json: schema: type: array - items: *270 + items: *271 examples: - default: *555 + default: *556 headers: Link: *6 '404': *26 @@ -80570,15 +80571,15 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - *7 - - *271 + - *272 responses: '200': description: Response content: application/json: - schema: *270 + schema: *271 examples: - default: *556 + default: *557 '404': description: Not Found if project is not managed by this team x-github: @@ -80604,7 +80605,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - *7 - - *271 + - *272 requestBody: required: false content: @@ -80673,7 +80674,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - *7 - - *271 + - *272 responses: '204': description: Response @@ -80712,7 +80713,7 @@ paths: type: array items: *152 examples: - default: *218 + default: *219 headers: Link: *6 '404': *26 @@ -80743,14 +80744,14 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - *7 - - *272 - *273 + - *274 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *557 + schema: *558 examples: alternative-response-with-extra-repository-information: value: @@ -80902,8 +80903,8 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - *7 - - *272 - *273 + - *274 requestBody: required: false content: @@ -80954,8 +80955,8 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - *7 - - *272 - *273 + - *274 responses: '204': description: Response @@ -80990,9 +80991,9 @@ paths: application/json: schema: type: array - items: *274 + items: *275 examples: - response-if-child-teams-exist: *558 + response-if-child-teams-exist: *559 headers: Link: *6 '404': *26 @@ -81025,7 +81026,7 @@ paths: application/json: schema: oneOf: - - &560 + - &561 title: Private User description: Private User type: object @@ -81228,7 +81229,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *559 + - *560 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -81379,7 +81380,7 @@ paths: description: Response content: application/json: - schema: *560 + schema: *561 examples: default: value: @@ -81455,9 +81456,9 @@ paths: application/json: schema: type: array - items: *211 + items: *212 examples: - default: &570 + default: &571 value: - id: 197 name: hello_docker @@ -81544,7 +81545,7 @@ paths: application/json: schema: type: array - items: &561 + items: &562 title: Email description: Email type: object @@ -81569,7 +81570,7 @@ paths: - verified - visibility examples: - default: &572 + default: &573 value: - email: octocat@github.com verified: true @@ -81644,7 +81645,7 @@ paths: application/json: schema: type: array - items: *561 + items: *562 examples: default: value: @@ -81754,7 +81755,7 @@ paths: type: array items: *19 examples: - default: *210 + default: *211 headers: Link: *6 '304': *42 @@ -81787,7 +81788,7 @@ paths: type: array items: *19 examples: - default: *210 + default: *211 headers: Link: *6 '304': *42 @@ -81900,7 +81901,7 @@ paths: application/json: schema: type: array - items: &562 + items: &563 title: GPG Key description: A unique encryption key type: object @@ -82031,7 +82032,7 @@ paths: - subkeys - revoked examples: - default: &582 + default: &583 value: - id: 3 name: Octocat's GPG Key @@ -82116,9 +82117,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *563 examples: - default: &563 + default: &564 value: id: 3 name: Octocat's GPG Key @@ -82175,7 +82176,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &564 + - &565 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -82187,9 +82188,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *563 examples: - default: *563 + default: *564 '404': *26 '304': *42 '403': *43 @@ -82212,7 +82213,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *564 + - *565 responses: '204': description: Response @@ -82403,7 +82404,7 @@ paths: type: array items: *84 examples: - default: *565 + default: *566 headers: Link: *6 '404': *26 @@ -82521,7 +82522,7 @@ paths: - closed - all default: open - - *204 + - *205 - name: sort description: What to sort results by. in: query @@ -82546,7 +82547,7 @@ paths: type: array items: *121 examples: - default: *205 + default: *206 headers: Link: *6 '404': *26 @@ -82579,7 +82580,7 @@ paths: application/json: schema: type: array - items: &566 + items: &567 title: Key description: Key type: object @@ -82676,9 +82677,9 @@ paths: description: Response content: application/json: - schema: *566 + schema: *567 examples: - default: &567 + default: &568 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -82711,15 +82712,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *451 + - *452 responses: '200': description: Response content: application/json: - schema: *566 + schema: *567 examples: - default: *567 + default: *568 '404': *26 '304': *42 '403': *43 @@ -82742,7 +82743,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *451 + - *452 responses: '204': description: Response @@ -82785,7 +82786,7 @@ paths: application/json: schema: type: array - items: *206 + items: *207 examples: default: value: @@ -82893,7 +82894,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *207 examples: default: value: @@ -82976,7 +82977,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *207 examples: default: value: @@ -83044,7 +83045,7 @@ paths: application/json: schema: type: array - items: *208 + items: *209 examples: default: value: @@ -83297,7 +83298,7 @@ paths: description: Response content: application/json: - schema: *208 + schema: *209 examples: default: value: @@ -83490,7 +83491,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/migrations/users#download-a-user-migration-archive parameters: - - *209 + - *210 responses: '302': description: Response @@ -83513,7 +83514,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *209 + - *210 - *4 - *5 responses: @@ -83525,7 +83526,7 @@ paths: type: array items: *152 examples: - default: *218 + default: *219 headers: Link: *6 '404': *26 @@ -83562,7 +83563,7 @@ paths: type: array items: *70 examples: - default: *568 + default: *569 headers: Link: *6 '304': *42 @@ -83604,7 +83605,7 @@ paths: - docker - nuget - container - - *569 + - *570 - *5 - *4 responses: @@ -83614,10 +83615,10 @@ paths: application/json: schema: type: array - items: *211 + items: *212 examples: - default: *570 - '400': *571 + default: *571 + '400': *572 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -83637,16 +83638,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *213 - *214 + - *215 responses: '200': description: Response content: application/json: - schema: *211 + schema: *212 examples: - default: &583 + default: &584 value: id: 40201 name: octo-name @@ -83759,8 +83760,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *213 - *214 + - *215 responses: '204': description: Response @@ -83790,8 +83791,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *213 - *214 + - *215 - name: token description: package token schema: @@ -83823,8 +83824,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *213 - *214 + - *215 - *5 - *4 - name: state @@ -83844,7 +83845,7 @@ paths: application/json: schema: type: array - items: *215 + items: *216 examples: default: value: @@ -83893,15 +83894,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *213 - *214 - - *216 + - *215 + - *217 responses: '200': description: Response content: application/json: - schema: *215 + schema: *216 examples: default: value: @@ -83937,9 +83938,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *213 - *214 - - *216 + - *215 + - *217 responses: '204': description: Response @@ -83969,9 +83970,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *213 - *214 - - *216 + - *215 + - *217 responses: '204': description: Response @@ -84027,7 +84028,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *229 examples: default: value: @@ -84096,9 +84097,9 @@ paths: application/json: schema: type: array - items: *561 + items: *562 examples: - default: *572 + default: *573 headers: Link: *6 '304': *42 @@ -84211,7 +84212,7 @@ paths: type: array items: *84 examples: - default: &579 + default: &580 summary: Default response value: - id: 1296269 @@ -84513,9 +84514,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: - default: *285 + default: *286 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -84553,9 +84554,9 @@ paths: application/json: schema: type: array - items: *424 + items: *425 examples: - default: *573 + default: *574 headers: Link: *6 '304': *42 @@ -84578,7 +84579,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *425 + - *426 responses: '204': description: Response @@ -84601,7 +84602,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *425 + - *426 responses: '204': description: Response @@ -84634,7 +84635,7 @@ paths: application/json: schema: type: array - items: &574 + items: &575 title: Social account description: Social media account type: object @@ -84649,7 +84650,7 @@ paths: - provider - url examples: - default: &575 + default: &576 value: - provider: twitter url: https://twitter.com/github @@ -84711,9 +84712,9 @@ paths: application/json: schema: type: array - items: *574 + items: *575 examples: - default: *575 + default: *576 '422': *35 '304': *42 '404': *26 @@ -84800,7 +84801,7 @@ paths: application/json: schema: type: array - items: &576 + items: &577 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -84820,7 +84821,7 @@ paths: - title - created_at examples: - default: &584 + default: &585 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -84886,9 +84887,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *577 examples: - default: &577 + default: &578 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -84919,7 +84920,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &578 + - &579 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -84931,9 +84932,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *577 examples: - default: *577 + default: *578 '404': *26 '304': *42 '403': *43 @@ -84956,7 +84957,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *578 + - *579 responses: '204': description: Response @@ -84985,7 +84986,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &585 + - &586 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 @@ -85010,11 +85011,11 @@ paths: type: array items: *84 examples: - default-response: *579 + default-response: *580 application/vnd.github.v3.star+json: schema: type: array - items: &586 + items: &587 title: Starred Repository description: Starred Repository type: object @@ -85170,8 +85171,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *272 - *273 + - *274 responses: '204': description: Response if this repository is starred by you @@ -85199,8 +85200,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *272 - *273 + - *274 responses: '204': description: Response @@ -85224,8 +85225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *272 - *273 + - *274 responses: '204': description: Response @@ -85260,7 +85261,7 @@ paths: type: array items: *152 examples: - default: *218 + default: *219 headers: Link: *6 '304': *42 @@ -85297,7 +85298,7 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: default: value: @@ -85384,10 +85385,10 @@ paths: application/json: schema: oneOf: + - *561 - *560 - - *559 examples: - default-response: &580 + default-response: &581 summary: Default response value: login: octocat @@ -85422,7 +85423,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &581 + response-with-git-hub-plan-information: &582 summary: Response with GitHub plan information value: login: octocat @@ -85498,7 +85499,7 @@ paths: type: array items: *19 examples: - default: *210 + default: *211 headers: Link: example: ; rel="next" @@ -85534,11 +85535,11 @@ paths: application/json: schema: oneOf: + - *561 - *560 - - *559 examples: - default-response: *580 - response-with-git-hub-plan-information: *581 + default-response: *581 + response-with-git-hub-plan-information: *582 '404': *26 x-github: githubCloudOnly: false @@ -85567,9 +85568,9 @@ paths: application/json: schema: type: array - items: *211 + items: *212 examples: - default: *570 + default: *571 '403': *43 '401': *41 x-github: @@ -85852,7 +85853,7 @@ paths: type: array items: *19 examples: - default: *210 + default: *211 headers: Link: *6 x-github: @@ -85883,7 +85884,7 @@ paths: type: array items: *19 examples: - default: *210 + default: *211 headers: Link: *6 x-github: @@ -85973,9 +85974,9 @@ paths: application/json: schema: type: array - items: *562 + items: *563 examples: - default: *582 + default: *583 headers: Link: *6 x-github: @@ -86079,7 +86080,7 @@ paths: application/json: schema: *39 examples: - default: *423 + default: *424 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -86157,7 +86158,7 @@ paths: type: array items: *70 examples: - default: *568 + default: *569 headers: Link: *6 x-github: @@ -86196,7 +86197,7 @@ paths: - docker - nuget - container - - *569 + - *570 - *8 - *5 - *4 @@ -86207,12 +86208,12 @@ paths: application/json: schema: type: array - items: *211 + items: *212 examples: - default: *570 + default: *571 '403': *43 '401': *41 - '400': *571 + '400': *572 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -86232,17 +86233,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/packages/packages#get-a-package-for-a-user parameters: - - *213 - *214 + - *215 - *8 responses: '200': description: Response content: application/json: - schema: *211 + schema: *212 examples: - default: *583 + default: *584 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -86263,8 +86264,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/packages/packages#delete-a-package-for-a-user parameters: - - *213 - *214 + - *215 - *8 responses: '204': @@ -86297,8 +86298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/packages/packages#restore-a-package-for-a-user parameters: - - *213 - *214 + - *215 - *8 - name: token description: package token @@ -86331,8 +86332,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *213 - *214 + - *215 - *8 responses: '200': @@ -86341,7 +86342,7 @@ paths: application/json: schema: type: array - items: *215 + items: *216 examples: default: value: @@ -86399,16 +86400,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *213 - *214 - - *216 + - *215 + - *217 - *8 responses: '200': description: Response content: application/json: - schema: *215 + schema: *216 examples: default: value: @@ -86443,10 +86444,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/packages/packages#delete-package-version-for-a-user parameters: - - *213 - *214 + - *215 - *8 - - *216 + - *217 responses: '204': description: Response @@ -86478,10 +86479,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.11/rest/packages/packages#restore-package-version-for-a-user parameters: - - *213 - *214 + - *215 - *8 - - *216 + - *217 responses: '204': description: Response @@ -86525,7 +86526,7 @@ paths: application/json: schema: type: array - items: *228 + items: *229 examples: default: value: @@ -86805,7 +86806,7 @@ paths: type: array items: *152 examples: - default: *218 + default: *219 headers: Link: *6 x-github: @@ -86875,9 +86876,9 @@ paths: application/json: schema: type: array - items: *574 + items: *575 examples: - default: *575 + default: *576 headers: Link: *6 x-github: @@ -86907,9 +86908,9 @@ paths: application/json: schema: type: array - items: *576 + items: *577 examples: - default: *584 + default: *585 headers: Link: *6 x-github: @@ -86934,7 +86935,7 @@ paths: url: https://docs.github.com/enterprise-server@3.11/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *8 - - *585 + - *586 - *9 - *4 - *5 @@ -86946,11 +86947,11 @@ paths: schema: anyOf: - type: array - items: *586 + items: *587 - type: array items: *84 examples: - default-response: *579 + default-response: *580 headers: Link: *6 x-github: @@ -86981,7 +86982,7 @@ paths: type: array items: *152 examples: - default: *218 + default: *219 headers: Link: *6 x-github: @@ -87160,7 +87161,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &587 + enterprise: &588 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -87218,7 +87219,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &588 + installation: &589 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -87237,7 +87238,7 @@ x-webhooks: required: - id - node_id - organization: &589 + organization: &590 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -87297,13 +87298,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &590 + repository: &591 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &616 + properties: &617 id: description: Unique identifier of the repository example: 42 @@ -87980,7 +87981,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &617 + required: &618 - archive_url - assignees_url - blobs_url @@ -88131,10 +88132,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -88220,11 +88221,11 @@ x-webhooks: type: string enum: - created - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 - rule: &591 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 + rule: &592 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.11/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -88441,11 +88442,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 - rule: *591 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 + rule: *592 sender: *19 required: - action @@ -88619,11 +88620,11 @@ x-webhooks: - everyone required: - from - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 - rule: *591 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 + rule: *592 sender: *19 required: - action @@ -88708,12 +88709,12 @@ x-webhooks: type: string cache_location: type: string - enterprise: *587 - installation: *588 - organization: *589 + enterprise: *588 + installation: *589 + organization: *590 ref: type: string - repository: *590 + repository: *591 sender: *19 required: - cache_location @@ -88807,7 +88808,7 @@ x-webhooks: type: string enum: - completed - check_run: &593 + check_run: &594 title: CheckRun description: A check performed on the code of a given code change type: object @@ -88870,7 +88871,7 @@ x-webhooks: type: string pull_requests: type: array - items: *341 + items: *342 repository: *152 status: example: completed @@ -88908,7 +88909,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *592 + deployment: *593 details_url: example: https://example.com type: string @@ -88958,7 +88959,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *341 + items: *342 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -88993,9 +88994,9 @@ x-webhooks: - output - app - pull_requests - installation: *588 - organization: *589 - repository: *590 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - check_run @@ -89398,10 +89399,10 @@ x-webhooks: type: string enum: - created - check_run: *593 - installation: *588 - organization: *589 - repository: *590 + check_run: *594 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - check_run @@ -89807,10 +89808,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *593 - installation: *588 - organization: *589 - repository: *590 + check_run: *594 + installation: *589 + organization: *590 + repository: *591 requested_action: description: The action requested by the user. type: object @@ -90225,10 +90226,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *593 - installation: *588 - organization: *589 - repository: *590 + check_run: *594 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - check_run @@ -91215,10 +91216,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -91898,10 +91899,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -92575,10 +92576,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -92751,7 +92752,7 @@ x-webhooks: required: - login - id - dismissed_comment: *354 + dismissed_comment: *355 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -92896,20 +92897,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &594 + commit_oid: &595 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: *587 - installation: *588 - organization: *589 - ref: &595 + enterprise: *588 + installation: *589 + organization: *590 + ref: &596 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: *590 + repository: *591 sender: *19 required: - action @@ -93081,7 +93082,7 @@ x-webhooks: required: - login - id - dismissed_comment: *354 + dismissed_comment: *355 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -93242,12 +93243,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *594 - enterprise: *587 - installation: *588 - organization: *589 - ref: *595 - repository: *590 + commit_oid: *595 + enterprise: *588 + installation: *589 + organization: *590 + ref: *596 + repository: *591 sender: *19 required: - action @@ -93352,7 +93353,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - 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 @@ -93518,12 +93519,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *594 - enterprise: *587 - installation: *588 - organization: *589 - ref: *595 - repository: *590 + commit_oid: *595 + enterprise: *588 + installation: *589 + organization: *590 + ref: *596 + repository: *591 sender: *19 required: - action @@ -93696,7 +93697,7 @@ x-webhooks: required: - login - id - dismissed_comment: *354 + dismissed_comment: *355 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -93862,12 +93863,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *594 - enterprise: *587 - installation: *588 - organization: *589 - ref: *595 - repository: *590 + commit_oid: *595 + enterprise: *588 + installation: *589 + organization: *590 + ref: *596 + repository: *591 sender: *19 required: - action @@ -93974,7 +93975,7 @@ x-webhooks: dismissed_by: type: object nullable: true - 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 @@ -94142,16 +94143,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *587 - installation: *588 - organization: *589 + enterprise: *588 + installation: *589 + organization: *590 ref: 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 nullable: true - repository: *590 + repository: *591 sender: *19 required: - action @@ -94255,7 +94256,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - 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 @@ -94395,12 +94396,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *594 - enterprise: *587 - installation: *588 - organization: *589 - ref: *595 - repository: *590 + commit_oid: *595 + enterprise: *588 + installation: *589 + organization: *590 + ref: *596 + repository: *591 sender: *19 required: - action @@ -94667,10 +94668,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -94760,18 +94761,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *587 - installation: *588 + enterprise: *588 + installation: *589 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *589 - pusher_type: &596 + organization: *590 + pusher_type: &597 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &597 + ref: &598 description: The [`git ref`](https://docs.github.com/enterprise-server@3.11/rest/git/refs#get-a-reference) resource. type: string @@ -94781,7 +94782,7 @@ x-webhooks: enum: - tag - branch - repository: *590 + repository: *591 sender: *19 required: - ref @@ -94870,18 +94871,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *587 - installation: *588 - organization: *589 - pusher_type: *596 - ref: *597 + enterprise: *588 + installation: *589 + organization: *590 + pusher_type: *597 + ref: *598 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *590 + repository: *591 sender: *19 required: - ref @@ -94976,11 +94977,11 @@ x-webhooks: type: string enum: - created - alert: *386 - installation: *588 - organization: *589 - enterprise: *587 - repository: *590 + alert: *387 + installation: *589 + organization: *590 + enterprise: *588 + repository: *591 sender: *19 required: - action @@ -95072,11 +95073,11 @@ x-webhooks: type: string enum: - dismissed - alert: *386 - installation: *588 - organization: *589 - enterprise: *587 - repository: *590 + alert: *387 + installation: *589 + organization: *590 + enterprise: *588 + repository: *591 sender: *19 required: - action @@ -95168,11 +95169,11 @@ x-webhooks: type: string enum: - fixed - alert: *386 - installation: *588 - organization: *589 - enterprise: *587 - repository: *590 + alert: *387 + installation: *589 + organization: *590 + enterprise: *588 + repository: *591 sender: *19 required: - action @@ -95265,11 +95266,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *386 - installation: *588 - organization: *589 - enterprise: *587 - repository: *590 + alert: *387 + installation: *589 + organization: *590 + enterprise: *588 + repository: *591 sender: *19 required: - action @@ -95361,11 +95362,11 @@ x-webhooks: type: string enum: - reopened - alert: *386 - installation: *588 - organization: *589 - enterprise: *587 - repository: *590 + alert: *387 + installation: *589 + organization: *590 + enterprise: *588 + repository: *591 sender: *19 required: - action @@ -95452,9 +95453,9 @@ x-webhooks: type: string enum: - created - enterprise: *587 - installation: *588 - key: &598 + enterprise: *588 + installation: *589 + key: &599 description: The [`deploy key`](https://docs.github.com/enterprise-server@3.11/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -95488,8 +95489,8 @@ x-webhooks: - verified - created_at - read_only - organization: *589 - repository: *590 + organization: *590 + repository: *591 sender: *19 required: - action @@ -95576,11 +95577,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *587 - installation: *588 - key: *598 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + key: *599 + organization: *590 + repository: *591 sender: *19 required: - action @@ -96151,12 +96152,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 - workflow: &602 + workflow: &603 title: Workflow type: object nullable: true @@ -96892,13 +96893,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *392 + deployment: *393 pull_requests: type: array - items: *473 - repository: *590 - organization: *589 - installation: *588 + items: *474 + repository: *591 + organization: *590 + installation: *589 sender: *19 responses: '200': @@ -96979,7 +96980,7 @@ x-webhooks: type: string enum: - approved - approver: &599 + approver: &600 type: object properties: avatar_url: @@ -97022,11 +97023,11 @@ x-webhooks: type: string comment: type: string - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 - reviewers: &600 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 + reviewers: &601 type: array items: type: object @@ -97105,7 +97106,7 @@ x-webhooks: sender: *19 since: type: string - workflow_job_run: &601 + workflow_job_run: &602 type: object properties: conclusion: @@ -97846,18 +97847,18 @@ x-webhooks: type: string enum: - rejected - approver: *599 + approver: *600 comment: type: string - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 - reviewers: *600 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 + reviewers: *601 sender: *19 since: type: string - workflow_job_run: *601 + workflow_job_run: *602 workflow_job_runs: type: array items: @@ -98571,13 +98572,13 @@ x-webhooks: type: string enum: - requested - enterprise: *587 + enterprise: *588 environment: type: string - installation: *588 - organization: *589 - repository: *590 - requestor: &607 + installation: *589 + organization: *590 + repository: *591 + requestor: &608 title: User type: object nullable: true @@ -100486,12 +100487,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 - workflow: *602 + workflow: *603 workflow_run: title: Deployment Workflow Run type: object @@ -101181,7 +101182,7 @@ x-webhooks: type: string enum: - answered - answer: &605 + answer: &606 type: object properties: author_association: @@ -101338,7 +101339,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &603 + discussion: &604 title: Discussion description: A Discussion in a repository. type: object @@ -101624,7 +101625,7 @@ x-webhooks: - id labels: type: array - items: *434 + items: *435 required: - repository_url - category @@ -101646,10 +101647,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -101786,11 +101787,11 @@ x-webhooks: - from required: - category - discussion: *603 - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + discussion: *604 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -101883,11 +101884,11 @@ x-webhooks: type: string enum: - closed - discussion: *603 - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + discussion: *604 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -101979,7 +101980,7 @@ x-webhooks: type: string enum: - created - comment: &604 + comment: &605 type: object properties: author_association: @@ -102136,11 +102137,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *603 - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + discussion: *604 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -102233,12 +102234,12 @@ x-webhooks: type: string enum: - deleted - comment: *604 - discussion: *603 - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + comment: *605 + discussion: *604 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -102343,12 +102344,12 @@ x-webhooks: - from required: - body - comment: *604 - discussion: *603 - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + comment: *605 + discussion: *604 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -102442,11 +102443,11 @@ x-webhooks: type: string enum: - created - discussion: *603 - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + discussion: *604 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -102538,11 +102539,11 @@ x-webhooks: type: string enum: - deleted - discussion: *603 - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + discussion: *604 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -102652,11 +102653,11 @@ x-webhooks: type: string required: - from - discussion: *603 - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + discussion: *604 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -102748,10 +102749,10 @@ x-webhooks: type: string enum: - labeled - discussion: *603 - enterprise: *587 - installation: *588 - label: &606 + discussion: *604 + enterprise: *588 + installation: *589 + label: &607 title: Label type: object properties: @@ -102783,8 +102784,8 @@ x-webhooks: - color - default - description - organization: *589 - repository: *590 + organization: *590 + repository: *591 sender: *19 required: - action @@ -102877,11 +102878,11 @@ x-webhooks: type: string enum: - locked - discussion: *603 - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + discussion: *604 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -102973,11 +102974,11 @@ x-webhooks: type: string enum: - pinned - discussion: *603 - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + discussion: *604 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -103069,11 +103070,11 @@ x-webhooks: type: string enum: - reopened - discussion: *603 - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + discussion: *604 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -103168,16 +103169,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *603 - new_repository: *590 + new_discussion: *604 + new_repository: *591 required: - new_discussion - new_repository - discussion: *603 - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + discussion: *604 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -103270,10 +103271,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *603 - old_answer: *605 - organization: *589 - repository: *590 + discussion: *604 + old_answer: *606 + organization: *590 + repository: *591 sender: *19 required: - action @@ -103365,12 +103366,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *603 - enterprise: *587 - installation: *588 - label: *606 - organization: *589 - repository: *590 + discussion: *604 + enterprise: *588 + installation: *589 + label: *607 + organization: *590 + repository: *591 sender: *19 required: - action @@ -103463,11 +103464,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *603 - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + discussion: *604 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -103559,11 +103560,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *603 - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + discussion: *604 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -103804,7 +103805,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *587 + enterprise: *588 forkee: description: The created [`repository`](https://docs.github.com/enterprise-server@3.11/rest/repos/repos#get-a-repository) resource. @@ -104464,9 +104465,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *588 - organization: *589 - repository: *590 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - forkee @@ -104632,9 +104633,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *587 - installation: *588 - organization: *589 + enterprise: *588 + installation: *589 + organization: *590 pages: description: The pages that were updated. type: array @@ -104671,7 +104672,7 @@ x-webhooks: - action - sha - html_url - repository: *590 + repository: *591 sender: *19 required: - pages @@ -104757,10 +104758,10 @@ x-webhooks: type: string enum: - created - enterprise: *587 + enterprise: *588 installation: *39 - organization: *589 - repositories: &608 + organization: *590 + repositories: &609 description: An array of repository objects that the installation can access. type: array @@ -104786,8 +104787,8 @@ x-webhooks: - name - full_name - private - repository: *590 - requester: *607 + repository: *591 + requester: *608 sender: *19 required: - action @@ -104872,11 +104873,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *587 + enterprise: *588 installation: *39 - organization: *589 - repositories: *608 - repository: *590 + organization: *590 + repositories: *609 + repository: *591 requester: nullable: true sender: *19 @@ -104962,11 +104963,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *587 + enterprise: *588 installation: *39 - organization: *589 - repositories: *608 - repository: *590 + organization: *590 + repositories: *609 + repository: *591 requester: nullable: true sender: *19 @@ -105052,10 +105053,10 @@ x-webhooks: type: string enum: - added - enterprise: *587 + enterprise: *588 installation: *39 - organization: *589 - repositories_added: &609 + organization: *590 + repositories_added: &610 description: An array of repository objects, which were added to the installation. type: array @@ -105101,15 +105102,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *590 - repository_selection: &610 + repository: *591 + repository_selection: &611 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *607 + requester: *608 sender: *19 required: - action @@ -105198,10 +105199,10 @@ x-webhooks: type: string enum: - removed - enterprise: *587 + enterprise: *588 installation: *39 - organization: *589 - repositories_added: *609 + organization: *590 + repositories_added: *610 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -105228,9 +105229,9 @@ x-webhooks: - name - full_name - private - repository: *590 - repository_selection: *610 - requester: *607 + repository: *591 + repository_selection: *611 + requester: *608 sender: *19 required: - action @@ -105319,11 +105320,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *587 + enterprise: *588 installation: *39 - organization: *589 - repositories: *608 - repository: *590 + organization: *590 + repositories: *609 + repository: *591 requester: nullable: true sender: *19 @@ -105512,10 +105513,10 @@ x-webhooks: type: string required: - from - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 target_type: type: string @@ -105604,11 +105605,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *587 + enterprise: *588 installation: *39 - organization: *589 - repositories: *608 - repository: *590 + organization: *590 + repositories: *609 + repository: *591 requester: nullable: true sender: *19 @@ -105870,8 +105871,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *587 - installation: *588 + enterprise: *588 + installation: *589 issue: description: The [issue](https://docs.github.com/enterprise-server@3.11/rest/issues/issues#get-an-issue) the comment belongs to. @@ -107026,8 +107027,8 @@ x-webhooks: - state - locked - assignee - organization: *589 - repository: *590 + organization: *590 + repository: *591 sender: *19 required: - action @@ -107117,7 +107118,7 @@ x-webhooks: type: string enum: - deleted - comment: &611 + comment: &612 title: issue comment description: The [comment](https://docs.github.com/enterprise-server@3.11/rest/issues/comments#get-an-issue-comment) itself. @@ -107282,8 +107283,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *587 - installation: *588 + enterprise: *588 + installation: *589 issue: description: The [issue](https://docs.github.com/enterprise-server@3.11/rest/issues/issues#get-an-issue) the comment belongs to. @@ -108436,8 +108437,8 @@ x-webhooks: - state - locked - assignee - organization: *589 - repository: *590 + organization: *590 + repository: *591 sender: *19 required: - action @@ -108527,7 +108528,7 @@ x-webhooks: type: string enum: - edited - changes: &632 + changes: &633 description: The changes to the comment. type: object properties: @@ -108539,9 +108540,9 @@ x-webhooks: type: string required: - from - comment: *611 - enterprise: *587 - installation: *588 + comment: *612 + enterprise: *588 + installation: *589 issue: description: The [issue](https://docs.github.com/enterprise-server@3.11/rest/issues/issues#get-an-issue) the comment belongs to. @@ -109695,8 +109696,8 @@ x-webhooks: - state - locked - assignee - organization: *589 - repository: *590 + organization: *590 + repository: *591 sender: *19 required: - action @@ -109788,10 +109789,10 @@ x-webhooks: type: string enum: - assigned - assignee: *607 - enterprise: *587 - installation: *588 - issue: &614 + assignee: *608 + enterprise: *588 + installation: *589 + issue: &615 title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.11/rest/issues/issues#get-an-issue) itself. @@ -110709,8 +110710,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *589 - repository: *590 + organization: *590 + repository: *591 sender: *19 required: - action @@ -110800,8 +110801,8 @@ x-webhooks: type: string enum: - closed - enterprise: *587 - installation: *588 + enterprise: *588 + installation: *589 issue: description: The [issue](https://docs.github.com/enterprise-server@3.11/rest/issues/issues#get-an-issue) itself. @@ -111859,8 +111860,8 @@ x-webhooks: required: - state - closed_at - organization: *589 - repository: *590 + organization: *590 + repository: *591 sender: *19 required: - action @@ -111949,8 +111950,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *587 - installation: *588 + enterprise: *588 + installation: *589 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.11/rest/issues/issues#get-an-issue) @@ -112861,8 +112862,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *589 - repository: *590 + organization: *590 + repository: *591 sender: *19 required: - action @@ -112951,8 +112952,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *587 - installation: *588 + enterprise: *588 + installation: *589 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.11/rest/issues/issues#get-an-issue) @@ -113866,7 +113867,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &612 + milestone: &613 title: Milestone description: A collection of related issues and pull requests. type: object @@ -114004,8 +114005,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *589 - repository: *590 + organization: *590 + repository: *591 sender: *19 required: - action @@ -114114,8 +114115,8 @@ x-webhooks: type: string required: - from - enterprise: *587 - installation: *588 + enterprise: *588 + installation: *589 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.11/rest/issues/issues#get-an-issue) @@ -115033,9 +115034,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *606 - organization: *589 - repository: *590 + label: *607 + organization: *590 + repository: *591 sender: *19 required: - action @@ -115125,8 +115126,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *587 - installation: *588 + enterprise: *588 + installation: *589 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.11/rest/issues/issues#get-an-issue) @@ -116043,9 +116044,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *606 - organization: *589 - repository: *590 + label: *607 + organization: *590 + repository: *591 sender: *19 required: - action @@ -116135,8 +116136,8 @@ x-webhooks: type: string enum: - locked - enterprise: *587 - installation: *588 + enterprise: *588 + installation: *589 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.11/rest/issues/issues#get-an-issue) @@ -117054,8 +117055,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *589 - repository: *590 + organization: *590 + repository: *591 sender: *19 required: - action @@ -117144,8 +117145,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *587 - installation: *588 + enterprise: *588 + installation: *589 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.11/rest/issues/issues#get-an-issue) @@ -118057,9 +118058,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *612 - organization: *589 - repository: *590 + milestone: *613 + organization: *590 + repository: *591 sender: *19 required: - action @@ -119524,8 +119525,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *587 - installation: *588 + enterprise: *588 + installation: *589 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.11/rest/issues/issues#get-an-issue) @@ -120442,8 +120443,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *589 - repository: *590 + organization: *590 + repository: *591 sender: *19 required: - action @@ -120533,9 +120534,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *587 - installation: *588 - issue: &613 + enterprise: *588 + installation: *589 + issue: &614 title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.11/rest/issues/issues#get-an-issue) itself. @@ -121446,8 +121447,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *589 - repository: *590 + organization: *590 + repository: *591 sender: *19 required: - action @@ -121536,8 +121537,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *587 - installation: *588 + enterprise: *588 + installation: *589 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.11/rest/issues/issues#get-an-issue) @@ -122454,8 +122455,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *589 - repository: *590 + organization: *590 + repository: *591 sender: *19 required: - action @@ -123921,11 +123922,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *587 - installation: *588 - issue: *613 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + issue: *614 + organization: *590 + repository: *591 sender: *19 required: - action @@ -124016,7 +124017,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &635 + assignee: &636 title: User type: object nullable: true @@ -124086,11 +124087,11 @@ x-webhooks: required: - login - id - enterprise: *587 - installation: *588 - issue: *614 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + issue: *615 + organization: *590 + repository: *591 sender: *19 required: - action @@ -124179,12 +124180,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *587 - installation: *588 - issue: *614 - label: *606 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + issue: *615 + label: *607 + organization: *590 + repository: *591 sender: *19 required: - action @@ -124274,8 +124275,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *587 - installation: *588 + enterprise: *588 + installation: *589 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.11/rest/issues/issues#get-an-issue) @@ -125191,8 +125192,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *589 - repository: *590 + organization: *590 + repository: *591 sender: *19 required: - action @@ -125282,11 +125283,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *587 - installation: *588 - issue: *613 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + issue: *614 + organization: *590 + repository: *591 sender: *19 required: - action @@ -125375,11 +125376,11 @@ x-webhooks: type: string enum: - created - enterprise: *587 - installation: *588 - label: *606 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + label: *607 + organization: *590 + repository: *591 sender: *19 required: - action @@ -125467,11 +125468,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *587 - installation: *588 - label: *606 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + label: *607 + organization: *590 + repository: *591 sender: *19 required: - action @@ -125591,11 +125592,11 @@ x-webhooks: type: string required: - from - enterprise: *587 - installation: *588 - label: *606 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + label: *607 + organization: *590 + repository: *591 sender: *19 required: - action @@ -125696,11 +125697,11 @@ x-webhooks: - read required: - to - enterprise: *587 - installation: *588 - member: *607 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + member: *608 + organization: *590 + repository: *591 sender: *19 required: - action @@ -125810,11 +125811,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *587 - installation: *588 - member: *607 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + member: *608 + organization: *590 + repository: *591 sender: *19 required: - action @@ -125903,11 +125904,11 @@ x-webhooks: type: string enum: - removed - enterprise: *587 - installation: *588 - member: *607 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + member: *608 + organization: *590 + repository: *591 sender: *19 required: - action @@ -125995,11 +125996,11 @@ x-webhooks: type: string enum: - added - enterprise: *587 - installation: *588 - member: *607 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + member: *608 + organization: *590 + repository: *591 scope: description: The scope of the membership. Currently, can only be `team`. @@ -126075,7 +126076,7 @@ x-webhooks: required: - login - id - team: &615 + team: &616 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -126275,11 +126276,11 @@ x-webhooks: type: string enum: - removed - enterprise: *587 - installation: *588 - member: *607 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + member: *608 + organization: *590 + repository: *591 scope: description: The scope of the membership. Currently, can only be `team`. @@ -126356,7 +126357,7 @@ x-webhooks: required: - login - id - team: *615 + team: *616 required: - action - scope @@ -126444,7 +126445,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *587 + enterprise: *588 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -126552,16 +126553,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *588 - organization: *589 + installation: *589 + organization: *590 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *616 - required: *617 + properties: *617 + required: *618 nullable: true sender: *19 required: @@ -126652,11 +126653,11 @@ x-webhooks: type: string enum: - closed - enterprise: *587 - installation: *588 - milestone: *612 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + milestone: *613 + organization: *590 + repository: *591 sender: *19 required: - action @@ -126745,9 +126746,9 @@ x-webhooks: type: string enum: - created - enterprise: *587 - installation: *588 - milestone: &618 + enterprise: *588 + installation: *589 + milestone: &619 title: Milestone description: A collection of related issues and pull requests. type: object @@ -126884,8 +126885,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *589 - repository: *590 + organization: *590 + repository: *591 sender: *19 required: - action @@ -126974,11 +126975,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *587 - installation: *588 - milestone: *612 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + milestone: *613 + organization: *590 + repository: *591 sender: *19 required: - action @@ -127098,11 +127099,11 @@ x-webhooks: type: string required: - from - enterprise: *587 - installation: *588 - milestone: *612 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + milestone: *613 + organization: *590 + repository: *591 sender: *19 required: - action @@ -127192,11 +127193,11 @@ x-webhooks: type: string enum: - opened - enterprise: *587 - installation: *588 - milestone: *618 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + milestone: *619 + organization: *590 + repository: *591 sender: *19 required: - action @@ -127285,9 +127286,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *587 - installation: *588 - membership: &619 + enterprise: *588 + installation: *589 + membership: &620 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -127379,8 +127380,8 @@ x-webhooks: - role - organization_url - user - organization: *589 - repository: *590 + organization: *590 + repository: *591 sender: *19 required: - action @@ -127468,11 +127469,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *587 - installation: *588 - membership: *619 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + membership: *620 + organization: *590 + repository: *591 sender: *19 required: - action @@ -127561,8 +127562,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *587 - installation: *588 + enterprise: *588 + installation: *589 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -127678,10 +127679,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *589 - repository: *590 + organization: *590 + repository: *591 sender: *19 - user: *607 + user: *608 required: - action - invitation @@ -127769,11 +127770,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *587 - installation: *588 - membership: *619 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + membership: *620 + organization: *590 + repository: *591 sender: *19 required: - action @@ -127870,11 +127871,11 @@ x-webhooks: properties: from: type: string - enterprise: *587 - installation: *588 - membership: *619 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + membership: *620 + organization: *590 + repository: *591 sender: *19 required: - action @@ -127960,9 +127961,9 @@ x-webhooks: type: string enum: - published - enterprise: *587 - installation: *588 - organization: *589 + enterprise: *588 + installation: *589 + organization: *590 package: description: Information about the package. type: object @@ -128461,7 +128462,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &620 + items: &621 title: Ruby Gems metadata type: object properties: @@ -128556,7 +128557,7 @@ x-webhooks: - owner - package_version - registry - repository: *590 + repository: *591 sender: *19 required: - action @@ -128642,9 +128643,9 @@ x-webhooks: type: string enum: - updated - enterprise: *587 - installation: *588 - organization: *589 + enterprise: *588 + installation: *589 + organization: *590 package: description: Information about the package. type: object @@ -128997,7 +128998,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *620 + items: *621 source_url: type: string format: uri @@ -129067,7 +129068,7 @@ x-webhooks: - owner - package_version - registry - repository: *590 + repository: *591 sender: *19 required: - action @@ -129254,12 +129255,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *587 + enterprise: *588 id: type: integer - installation: *588 - organization: *589 - repository: *590 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - id @@ -129339,7 +129340,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &621 + personal_access_token_request: &622 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -129485,10 +129486,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *587 - organization: *589 + enterprise: *588 + organization: *590 sender: *19 - installation: *588 + installation: *589 required: - action - personal_access_token_request @@ -129567,11 +129568,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *621 - enterprise: *587 - organization: *589 + personal_access_token_request: *622 + enterprise: *588 + organization: *590 sender: *19 - installation: *588 + installation: *589 required: - action - personal_access_token_request @@ -129649,11 +129650,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *621 - enterprise: *587 - organization: *589 + personal_access_token_request: *622 + enterprise: *588 + organization: *590 sender: *19 - installation: *588 + installation: *589 required: - action - personal_access_token_request @@ -129730,11 +129731,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *621 - organization: *589 - enterprise: *587 + personal_access_token_request: *622 + organization: *590 + enterprise: *588 sender: *19 - installation: *588 + installation: *589 required: - action - personal_access_token_request @@ -129848,7 +129849,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *622 + last_response: *623 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -129880,8 +129881,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *589 - repository: *590 + organization: *590 + repository: *591 sender: *19 zen: description: Random string of GitHub zen. @@ -130136,10 +130137,10 @@ x-webhooks: - from required: - note - enterprise: *587 - installation: *588 - organization: *589 - project_card: &623 + enterprise: *588 + installation: *589 + organization: *590 + project_card: &624 title: Project Card type: object properties: @@ -130258,7 +130259,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *590 + repository: *591 sender: *19 required: - action @@ -130349,11 +130350,11 @@ x-webhooks: type: string enum: - created - enterprise: *587 - installation: *588 - organization: *589 - project_card: *623 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + project_card: *624 + repository: *591 sender: *19 required: - action @@ -130443,9 +130444,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *587 - installation: *588 - organization: *589 + enterprise: *588 + installation: *589 + organization: *590 project_card: title: Project Card type: object @@ -130573,8 +130574,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *616 - required: *617 + properties: *617 + required: *618 nullable: true sender: *19 required: @@ -130678,11 +130679,11 @@ x-webhooks: - from required: - note - enterprise: *587 - installation: *588 - organization: *589 - project_card: *623 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + project_card: *624 + repository: *591 sender: *19 required: - action @@ -130786,9 +130787,9 @@ x-webhooks: - from required: - column_id - enterprise: *587 - installation: *588 - organization: *589 + enterprise: *588 + installation: *589 + organization: *590 project_card: allOf: - title: Project Card @@ -130978,7 +130979,7 @@ x-webhooks: type: string required: - after_id - repository: *590 + repository: *591 sender: *19 required: - action @@ -131068,10 +131069,10 @@ x-webhooks: type: string enum: - closed - enterprise: *587 - installation: *588 - organization: *589 - project: &625 + enterprise: *588 + installation: *589 + organization: *590 + project: &626 title: Project type: object properties: @@ -131195,7 +131196,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *590 + repository: *591 sender: *19 required: - action @@ -131285,10 +131286,10 @@ x-webhooks: type: string enum: - created - enterprise: *587 - installation: *588 - organization: *589 - project_column: &624 + enterprise: *588 + installation: *589 + organization: *590 + project_column: &625 title: Project Column type: object properties: @@ -131327,7 +131328,7 @@ x-webhooks: - name - created_at - updated_at - repository: *590 + repository: *591 sender: *19 required: - action @@ -131416,18 +131417,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *587 - installation: *588 - organization: *589 - project_column: *624 + enterprise: *588 + installation: *589 + organization: *590 + project_column: *625 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *616 - required: *617 + properties: *617 + required: *618 nullable: true sender: *19 required: @@ -131527,11 +131528,11 @@ x-webhooks: type: string required: - from - enterprise: *587 - installation: *588 - organization: *589 - project_column: *624 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + project_column: *625 + repository: *591 sender: *19 required: - action @@ -131621,11 +131622,11 @@ x-webhooks: type: string enum: - moved - enterprise: *587 - installation: *588 - organization: *589 - project_column: *624 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + project_column: *625 + repository: *591 sender: *19 required: - action @@ -131715,11 +131716,11 @@ x-webhooks: type: string enum: - created - enterprise: *587 - installation: *588 - organization: *589 - project: *625 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + project: *626 + repository: *591 sender: *19 required: - action @@ -131809,18 +131810,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *587 - installation: *588 - organization: *589 - project: *625 + enterprise: *588 + installation: *589 + organization: *590 + project: *626 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *616 - required: *617 + properties: *617 + required: *618 nullable: true sender: *19 required: @@ -131932,11 +131933,11 @@ x-webhooks: type: string required: - from - enterprise: *587 - installation: *588 - organization: *589 - project: *625 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + project: *626 + repository: *591 sender: *19 required: - action @@ -132025,11 +132026,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *587 - installation: *588 - organization: *589 - project: *625 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + project: *626 + repository: *591 sender: *19 required: - action @@ -132120,9 +132121,9 @@ x-webhooks: type: string enum: - closed - installation: *588 - organization: *589 - projects_v2: &626 + installation: *589 + organization: *590 + projects_v2: &627 title: Projects v2 Project description: A projects v2 project type: object @@ -132275,9 +132276,9 @@ x-webhooks: type: string enum: - created - installation: *588 - organization: *589 - projects_v2: *626 + installation: *589 + organization: *590 + projects_v2: *627 sender: *19 required: - action @@ -132368,9 +132369,9 @@ x-webhooks: type: string enum: - deleted - installation: *588 - organization: *589 - projects_v2: *626 + installation: *589 + organization: *590 + projects_v2: *627 sender: *19 required: - action @@ -132497,9 +132498,9 @@ x-webhooks: type: string to: type: string - installation: *588 - organization: *589 - projects_v2: *626 + installation: *589 + organization: *590 + projects_v2: *627 sender: *19 required: - action @@ -132592,7 +132593,7 @@ x-webhooks: type: string enum: - archived - changes: &628 + changes: &629 type: object properties: archived_at: @@ -132606,9 +132607,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *588 - organization: *589 - projects_v2_item: &627 + installation: *589 + organization: *590 + projects_v2_item: &628 title: Projects v2 Item description: An item belonging to a project type: object @@ -132752,9 +132753,9 @@ x-webhooks: nullable: true to: type: string - installation: *588 - organization: *589 - projects_v2_item: *627 + installation: *589 + organization: *590 + projects_v2_item: *628 sender: *19 required: - action @@ -132846,9 +132847,9 @@ x-webhooks: type: string enum: - created - installation: *588 - organization: *589 - projects_v2_item: *627 + installation: *589 + organization: *590 + projects_v2_item: *628 sender: *19 required: - action @@ -132939,9 +132940,9 @@ x-webhooks: type: string enum: - deleted - installation: *588 - organization: *589 - projects_v2_item: *627 + installation: *589 + organization: *590 + projects_v2_item: *628 sender: *19 required: - action @@ -133063,9 +133064,9 @@ x-webhooks: nullable: true required: - body - installation: *588 - organization: *589 - projects_v2_item: *627 + installation: *589 + organization: *590 + projects_v2_item: *628 sender: *19 required: - action @@ -133170,9 +133171,9 @@ x-webhooks: to: type: string nullable: true - installation: *588 - organization: *589 - projects_v2_item: *627 + installation: *589 + organization: *590 + projects_v2_item: *628 sender: *19 required: - action @@ -133265,10 +133266,10 @@ x-webhooks: type: string enum: - restored - changes: *628 - installation: *588 - organization: *589 - projects_v2_item: *627 + changes: *629 + installation: *589 + organization: *590 + projects_v2_item: *628 sender: *19 required: - action @@ -133360,9 +133361,9 @@ x-webhooks: type: string enum: - reopened - installation: *588 - organization: *589 - projects_v2: *626 + installation: *589 + organization: *590 + projects_v2: *627 sender: *19 required: - action @@ -133443,10 +133444,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - repository @@ -133533,13 +133534,13 @@ x-webhooks: type: string enum: - assigned - assignee: *607 - enterprise: *587 - installation: *588 - number: &629 + assignee: *608 + enterprise: *588 + installation: *589 + number: &630 description: The pull request number. type: integer - organization: *589 + organization: *590 pull_request: title: Pull Request type: object @@ -135822,7 +135823,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *590 + repository: *591 sender: *19 required: - action @@ -135914,11 +135915,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *587 - installation: *588 + enterprise: *588 + installation: *589 number: type: integer - organization: *589 + organization: *590 pull_request: title: Pull Request type: object @@ -138196,7 +138197,7 @@ x-webhooks: - draft reason: type: string - repository: *590 + repository: *591 sender: *19 required: - action @@ -138288,11 +138289,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *587 - installation: *588 + enterprise: *588 + installation: *589 number: type: integer - organization: *589 + organization: *590 pull_request: title: Pull Request type: object @@ -140570,7 +140571,7 @@ x-webhooks: - draft reason: type: string - repository: *590 + repository: *591 sender: *19 required: - action @@ -140662,13 +140663,13 @@ x-webhooks: type: string enum: - closed - enterprise: *587 - installation: *588 - number: *629 - organization: *589 - pull_request: &630 + enterprise: *588 + installation: *589 + number: *630 + organization: *590 + pull_request: &631 allOf: - - *473 + - *474 - type: object properties: allow_auto_merge: @@ -140730,7 +140731,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *590 + repository: *591 sender: *19 required: - action @@ -140821,12 +140822,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *587 - installation: *588 - number: *629 - organization: *589 - pull_request: *630 - repository: *590 + enterprise: *588 + installation: *589 + number: *630 + organization: *590 + pull_request: *631 + repository: *591 sender: *19 required: - action @@ -140916,11 +140917,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *587 - milestone: *454 - number: *629 - organization: *589 - pull_request: &631 + enterprise: *588 + milestone: *455 + number: *630 + organization: *590 + pull_request: &632 title: Pull Request type: object properties: @@ -143183,7 +143184,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *590 + repository: *591 sender: *19 required: - action @@ -143315,12 +143316,12 @@ x-webhooks: type: string required: - from - enterprise: *587 - installation: *588 - number: *629 - organization: *589 - pull_request: *630 - repository: *590 + enterprise: *588 + installation: *589 + number: *630 + organization: *590 + pull_request: *631 + repository: *591 sender: *19 required: - action @@ -143410,11 +143411,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *587 - installation: *588 - label: *606 - number: *629 - organization: *589 + enterprise: *588 + installation: *589 + label: *607 + number: *630 + organization: *590 pull_request: title: Pull Request type: object @@ -145696,7 +145697,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *590 + repository: *591 sender: *19 required: - action @@ -145787,10 +145788,10 @@ x-webhooks: type: string enum: - locked - enterprise: *587 - installation: *588 - number: *629 - organization: *589 + enterprise: *588 + installation: *589 + number: *630 + organization: *590 pull_request: title: Pull Request type: object @@ -148070,7 +148071,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *590 + repository: *591 sender: *19 required: - action @@ -148160,12 +148161,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *587 - milestone: *454 - number: *629 - organization: *589 - pull_request: *631 - repository: *590 + enterprise: *588 + milestone: *455 + number: *630 + organization: *590 + pull_request: *632 + repository: *591 sender: *19 required: - action @@ -148254,12 +148255,12 @@ x-webhooks: type: string enum: - opened - enterprise: *587 - installation: *588 - number: *629 - organization: *589 - pull_request: *630 - repository: *590 + enterprise: *588 + installation: *589 + number: *630 + organization: *590 + pull_request: *631 + repository: *591 sender: *19 required: - action @@ -148350,12 +148351,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *587 - installation: *588 - number: *629 - organization: *589 - pull_request: *630 - repository: *590 + enterprise: *588 + installation: *589 + number: *630 + organization: *590 + pull_request: *631 + repository: *591 sender: *19 required: - action @@ -148445,12 +148446,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *587 - installation: *588 - number: *629 - organization: *589 - pull_request: *630 - repository: *590 + enterprise: *588 + installation: *589 + number: *630 + organization: *590 + pull_request: *631 + repository: *591 sender: *19 required: - action @@ -148826,9 +148827,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *587 - installation: *588 - organization: *589 + enterprise: *588 + installation: *589 + organization: *590 pull_request: type: object properties: @@ -150998,7 +150999,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *590 + repository: *591 sender: *19 required: - action @@ -151088,7 +151089,7 @@ x-webhooks: type: string enum: - deleted - comment: &633 + comment: &634 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-server@3.11/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -151373,9 +151374,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *587 - installation: *588 - organization: *589 + enterprise: *588 + installation: *589 + organization: *590 pull_request: type: object properties: @@ -153533,7 +153534,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *590 + repository: *591 sender: *19 required: - action @@ -153623,11 +153624,11 @@ x-webhooks: type: string enum: - edited - changes: *632 - comment: *633 - enterprise: *587 - installation: *588 - organization: *589 + changes: *633 + comment: *634 + enterprise: *588 + installation: *589 + organization: *590 pull_request: type: object properties: @@ -155788,7 +155789,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *590 + repository: *591 sender: *19 required: - action @@ -155879,9 +155880,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *587 - installation: *588 - organization: *589 + enterprise: *588 + installation: *589 + organization: *590 pull_request: title: Simple Pull Request type: object @@ -158054,7 +158055,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *590 + repository: *591 review: description: The review that was affected. type: object @@ -158307,9 +158308,9 @@ x-webhooks: type: string required: - from - enterprise: *587 - installation: *588 - organization: *589 + enterprise: *588 + installation: *589 + organization: *590 pull_request: title: Simple Pull Request type: object @@ -160363,8 +160364,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *590 - review: &634 + repository: *591 + review: &635 description: The review that was affected. type: object properties: @@ -160603,12 +160604,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *587 - installation: *588 + enterprise: *588 + installation: *589 number: description: The pull request number. type: integer - organization: *589 + organization: *590 pull_request: title: Pull Request type: object @@ -162891,7 +162892,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *590 + repository: *591 requested_reviewer: title: User type: object @@ -162975,12 +162976,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *587 - installation: *588 + enterprise: *588 + installation: *589 number: description: The pull request number. type: integer - organization: *589 + organization: *590 pull_request: title: Pull Request type: object @@ -165270,7 +165271,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *590 + repository: *591 requested_team: title: Team description: Groups of organization members that gives permissions @@ -165472,12 +165473,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *587 - installation: *588 + enterprise: *588 + installation: *589 number: description: The pull request number. type: integer - organization: *589 + organization: *590 pull_request: title: Pull Request type: object @@ -167762,7 +167763,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *590 + repository: *591 requested_reviewer: title: User type: object @@ -167847,12 +167848,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *587 - installation: *588 + enterprise: *588 + installation: *589 number: description: The pull request number. type: integer - organization: *589 + organization: *590 pull_request: title: Pull Request type: object @@ -170128,7 +170129,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *590 + repository: *591 requested_team: title: Team description: Groups of organization members that gives permissions @@ -170319,9 +170320,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *587 - installation: *588 - organization: *589 + enterprise: *588 + installation: *589 + organization: *590 pull_request: title: Simple Pull Request type: object @@ -172496,8 +172497,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *590 - review: *634 + repository: *591 + review: *635 sender: *19 required: - action @@ -172587,9 +172588,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *587 - installation: *588 - organization: *589 + enterprise: *588 + installation: *589 + organization: *590 pull_request: title: Simple Pull Request type: object @@ -174659,7 +174660,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *590 + repository: *591 sender: *19 thread: type: object @@ -175052,9 +175053,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *587 - installation: *588 - organization: *589 + enterprise: *588 + installation: *589 + organization: *590 pull_request: title: Simple Pull Request type: object @@ -177110,7 +177111,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *590 + repository: *591 sender: *19 thread: type: object @@ -177506,10 +177507,10 @@ x-webhooks: type: string before: type: string - enterprise: *587 - installation: *588 - number: *629 - organization: *589 + enterprise: *588 + installation: *589 + number: *630 + organization: *590 pull_request: title: Pull Request type: object @@ -179780,7 +179781,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *590 + repository: *591 sender: *19 required: - action @@ -179872,11 +179873,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *635 - enterprise: *587 - installation: *588 - number: *629 - organization: *589 + assignee: *636 + enterprise: *588 + installation: *589 + number: *630 + organization: *590 pull_request: title: Pull Request type: object @@ -182159,7 +182160,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *590 + repository: *591 sender: *19 required: - action @@ -182248,11 +182249,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *587 - installation: *588 - label: *606 - number: *629 - organization: *589 + enterprise: *588 + installation: *589 + label: *607 + number: *630 + organization: *590 pull_request: title: Pull Request type: object @@ -184525,7 +184526,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *590 + repository: *591 sender: *19 required: - action @@ -184616,10 +184617,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *587 - installation: *588 - number: *629 - organization: *589 + enterprise: *588 + installation: *589 + number: *630 + organization: *590 pull_request: title: Pull Request type: object @@ -186884,7 +186885,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *590 + repository: *591 sender: *19 required: - action @@ -187094,7 +187095,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *587 + enterprise: *588 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -187186,8 +187187,8 @@ x-webhooks: - url - author - committer - installation: *588 - organization: *589 + installation: *589 + organization: *590 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -187766,9 +187767,9 @@ x-webhooks: type: string enum: - published - enterprise: *587 - installation: *588 - organization: *589 + enterprise: *588 + installation: *589 + organization: *590 registry_package: type: object properties: @@ -188214,7 +188215,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *620 + items: *621 summary: type: string tag_name: @@ -188268,7 +188269,7 @@ x-webhooks: - owner - package_version - registry - repository: *590 + repository: *591 sender: *19 required: - action @@ -188356,9 +188357,9 @@ x-webhooks: type: string enum: - updated - enterprise: *587 - installation: *588 - organization: *589 + enterprise: *588 + installation: *589 + organization: *590 registry_package: type: object properties: @@ -188666,7 +188667,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *620 + items: *621 summary: type: string tag_name: @@ -188715,7 +188716,7 @@ x-webhooks: - owner - package_version - registry - repository: *590 + repository: *591 sender: *19 required: - action @@ -188802,10 +188803,10 @@ x-webhooks: type: string enum: - created - enterprise: *587 - installation: *588 - organization: *589 - release: &636 + enterprise: *588 + installation: *589 + organization: *590 + release: &637 title: Release description: The [release](https://docs.github.com/enterprise-server@3.11/rest/releases/releases/#get-a-release) object. @@ -189110,7 +189111,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *590 + repository: *591 sender: *19 required: - action @@ -189197,11 +189198,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *587 - installation: *588 - organization: *589 - release: *636 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + release: *637 + repository: *591 sender: *19 required: - action @@ -189319,11 +189320,11 @@ x-webhooks: type: boolean required: - to - enterprise: *587 - installation: *588 - organization: *589 - release: *636 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + release: *637 + repository: *591 sender: *19 required: - action @@ -189411,9 +189412,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *587 - installation: *588 - organization: *589 + enterprise: *588 + installation: *589 + organization: *590 release: title: Release description: The [release](https://docs.github.com/enterprise-server@3.11/rest/releases/releases/#get-a-release) @@ -189722,7 +189723,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *590 + repository: *591 sender: *19 required: - action @@ -189808,10 +189809,10 @@ x-webhooks: type: string enum: - published - enterprise: *587 - installation: *588 - organization: *589 - release: &637 + enterprise: *588 + installation: *589 + organization: *590 + release: &638 title: Release description: The [release](https://docs.github.com/enterprise-server@3.11/rest/releases/releases/#get-a-release) object. @@ -190117,7 +190118,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *590 + repository: *591 sender: *19 required: - action @@ -190203,11 +190204,11 @@ x-webhooks: type: string enum: - released - enterprise: *587 - installation: *588 - organization: *589 - release: *636 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + release: *637 + repository: *591 sender: *19 required: - action @@ -190293,11 +190294,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *587 - installation: *588 - organization: *589 - release: *637 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + release: *638 + repository: *591 sender: *19 required: - action @@ -190383,10 +190384,10 @@ x-webhooks: type: string enum: - anonymous_access_disabled - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -190471,10 +190472,10 @@ x-webhooks: type: string enum: - anonymous_access_enabled - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -190559,10 +190560,10 @@ x-webhooks: type: string enum: - archived - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -190649,10 +190650,10 @@ x-webhooks: type: string enum: - created - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -190740,10 +190741,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -190837,10 +190838,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -190962,10 +190963,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -191053,10 +191054,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -191143,10 +191144,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -191250,10 +191251,10 @@ x-webhooks: - name required: - repository - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -191333,11 +191334,11 @@ x-webhooks: type: string enum: - created - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 - repository_ruleset: *238 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 + repository_ruleset: *239 sender: *19 required: - action @@ -191415,11 +191416,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 - repository_ruleset: *238 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 + repository_ruleset: *239 sender: *19 required: - action @@ -191497,11 +191498,11 @@ x-webhooks: type: string enum: - edited - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 - repository_ruleset: *238 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 + repository_ruleset: *239 changes: type: object properties: @@ -191520,16 +191521,16 @@ x-webhooks: properties: added: type: array - items: *233 + items: *234 deleted: type: array - items: *233 + items: *234 updated: type: array items: type: object properties: - condition: *233 + condition: *234 changes: type: object properties: @@ -191562,16 +191563,16 @@ x-webhooks: properties: added: type: array - items: *237 + items: *238 deleted: type: array - items: *237 + items: *238 updated: type: array items: type: object properties: - rule: *237 + rule: *238 changes: type: object properties: @@ -191815,10 +191816,10 @@ x-webhooks: - from required: - owner - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -191906,10 +191907,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -191997,7 +191998,7 @@ x-webhooks: type: string enum: - create - alert: &638 + alert: &639 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -192118,10 +192119,10 @@ x-webhooks: type: string enum: - open - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -192337,10 +192338,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -192428,11 +192429,11 @@ x-webhooks: type: string enum: - reopen - alert: *638 - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + alert: *639 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -192641,10 +192642,10 @@ x-webhooks: enum: - fixed - open - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -192732,7 +192733,7 @@ x-webhooks: type: string enum: - created - alert: &639 + alert: &640 type: object properties: number: *93 @@ -192807,10 +192808,10 @@ x-webhooks: description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' nullable: true - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -192901,11 +192902,11 @@ x-webhooks: type: string enum: - created - alert: *639 - installation: *588 - location: *640 - organization: *589 - repository: *590 + alert: *640 + installation: *589 + location: *641 + organization: *590 + repository: *591 sender: *19 required: - location @@ -193148,11 +193149,11 @@ x-webhooks: type: string enum: - reopened - alert: *639 - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + alert: *640 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -193240,11 +193241,11 @@ x-webhooks: type: string enum: - resolved - alert: *639 - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + alert: *640 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -193330,11 +193331,11 @@ x-webhooks: type: string enum: - published - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 - security_advisory: &641 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 + security_advisory: &642 description: The details of the security advisory, including summary, description, and severity. type: object @@ -193527,11 +193528,11 @@ x-webhooks: type: string enum: - updated - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 - security_advisory: *641 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 + security_advisory: *642 sender: *19 required: - action @@ -193614,10 +193615,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -193811,11 +193812,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *232 - enterprise: *587 - installation: *588 - organization: *589 - repository: *283 + security_and_analysis: *233 + enterprise: *588 + installation: *589 + organization: *590 + repository: *284 sender: *19 required: - changes @@ -193903,12 +193904,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 - sponsorship: &642 + sponsorship: &643 type: object properties: created_at: @@ -194219,12 +194220,12 @@ x-webhooks: type: string enum: - created - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 - sponsorship: *642 + sponsorship: *643 required: - action - sponsorship @@ -194322,12 +194323,12 @@ x-webhooks: type: string required: - from - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 - sponsorship: *642 + sponsorship: *643 required: - action - changes @@ -194414,17 +194415,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &643 + effective_date: &644 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: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 - sponsorship: *642 + sponsorship: *643 required: - action - sponsorship @@ -194508,7 +194509,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &644 + changes: &645 type: object properties: tier: @@ -194552,13 +194553,13 @@ x-webhooks: - from required: - tier - effective_date: *643 - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + effective_date: *644 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 - sponsorship: *642 + sponsorship: *643 required: - action - changes @@ -194645,13 +194646,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *644 - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + changes: *645 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 - sponsorship: *642 + sponsorship: *643 required: - action - changes @@ -194735,10 +194736,10 @@ x-webhooks: type: string enum: - created - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -194831,10 +194832,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -195260,15 +195261,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *587 + enterprise: *588 id: description: The unique identifier of the status. type: integer - installation: *588 + installation: *589 name: type: string - organization: *589 - repository: *590 + organization: *590 + repository: *591 sender: *19 sha: description: The Commit SHA. @@ -195380,12 +195381,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 - team: &645 + team: &646 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -195585,9 +195586,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *587 - installation: *588 - organization: *589 + enterprise: *588 + installation: *589 + organization: *590 repository: title: Repository description: A git repository @@ -196039,7 +196040,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *645 + team: *646 required: - action - team @@ -196125,9 +196126,9 @@ x-webhooks: type: string enum: - created - enterprise: *587 - installation: *588 - organization: *589 + enterprise: *588 + installation: *589 + organization: *590 repository: title: Repository description: A git repository @@ -196579,7 +196580,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *645 + team: *646 required: - action - team @@ -196666,9 +196667,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *587 - installation: *588 - organization: *589 + enterprise: *588 + installation: *589 + organization: *590 repository: title: Repository description: A git repository @@ -197120,7 +197121,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *645 + team: *646 required: - action - team @@ -197274,9 +197275,9 @@ x-webhooks: - from required: - permissions - enterprise: *587 - installation: *588 - organization: *589 + enterprise: *588 + installation: *589 + organization: *590 repository: title: Repository description: A git repository @@ -197728,7 +197729,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *645 + team: *646 required: - action - changes @@ -197816,9 +197817,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *587 - installation: *588 - organization: *589 + enterprise: *588 + installation: *589 + organization: *590 repository: title: Repository description: A git repository @@ -198270,7 +198271,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *645 + team: *646 required: - action - team @@ -198353,12 +198354,12 @@ x-webhooks: type: string enum: - created - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 - user: *607 + user: *608 required: - action responses: @@ -198436,12 +198437,12 @@ x-webhooks: type: string enum: - deleted - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 - user: *607 + user: *608 required: - action responses: @@ -198522,10 +198523,10 @@ x-webhooks: type: string enum: - started - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 required: - action @@ -198608,16 +198609,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *587 + enterprise: *588 inputs: type: object nullable: true additionalProperties: true - installation: *588 - organization: *589 + installation: *589 + organization: *590 ref: type: string - repository: *590 + repository: *591 sender: *19 workflow: type: string @@ -198709,10 +198710,10 @@ x-webhooks: type: string enum: - completed - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 workflow_job: allOf: @@ -198949,7 +198950,7 @@ x-webhooks: type: string required: - conclusion - deployment: *392 + deployment: *393 required: - action - repository @@ -199038,10 +199039,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 workflow_job: allOf: @@ -199301,7 +199302,7 @@ x-webhooks: required: - status - steps - deployment: *392 + deployment: *393 required: - action - repository @@ -199390,10 +199391,10 @@ x-webhooks: type: string enum: - queued - enterprise: *587 - installation: *588 - organization: *589 - repository: *590 + enterprise: *588 + installation: *589 + organization: *590 + repository: *591 sender: *19 workflow_job: type: object @@ -199528,7 +199529,7 @@ x{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}