diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index 25179559ee..22e80b6ed9 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -11281,7 +11281,7 @@ "/meta": { "get": { "summary": "Get GitHub meta information", - "description": "Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://docs.github.com/articles/about-github-s-ip-addresses/).\"\n\nThe API's response also includes a list of GitHub's domain names.\n\nThe values shown in the documentation's response are example values. You must always query the API directly to get the latest values.\n\n> [!NOTE]\n> This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported.", + "description": "Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://docs.github.com/articles/about-github-s-ip-addresses/).\"\n\nThe API's response also includes a list of GitHub's domain names, and the public keys used by GitHub to sign commits made through the web UI.\n\nThe values shown in the documentation's response are example values. You must always query the API directly to get the latest values.\n\n> [!NOTE]\n> This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported.", "tags": [ "meta" ], @@ -29541,6 +29541,121 @@ } } }, + "/orgs/{org}/interaction-limits/pulls/creation-cap": { + "patch": { + "summary": "Update pull request creation cap for an org", + "description": "Updates the pull request creation cap for an organization. The cap limits the total number\nof open pull requests a user can have across all public repositories in the organization\nat one time.\n\nOnly users with admin access to the organization can configure the cap.", + "tags": [ + "interactions" + ], + "operationId": "interactions/update-pull-request-creation-cap-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/orgs#update-pull-request-creation-cap-for-an-org" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether the pull request creation cap is enabled" + }, + "max_open_pull_requests": { + "type": "integer", + "description": "The maximum number of open pull requests a user can have at one time", + "minimum": 1, + "maximum": 1000 + } + }, + "required": [ + "enabled" + ] + }, + "examples": { + "default": { + "summary": "Example request body", + "value": { + "enabled": true, + "max_open_pull_requests": 1 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether the pull request creation cap is enabled" + }, + "max_open_pull_requests": { + "type": "integer", + "description": "The maximum number of open pull requests a user can have at one time", + "minimum": 1, + "maximum": 1000 + } + }, + "required": [ + "enabled", + "max_open_pull_requests" + ] + }, + "examples": { + "default": { + "summary": "Response", + "value": { + "enabled": true, + "max_open_pull_requests": 1 + } + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "405": { + "description": "Method Not Allowed", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "orgs" + } + } + }, "/orgs/{org}/invitations": { "get": { "summary": "List pending organization invitations", @@ -64252,7 +64367,7 @@ "properties": { "suggestions": { "type": "object", - "description": "Pending suggestions for each suggestible field (`type`,\n`issue_field_values`, `labels`, `assignees`, `state`) the\nrequest touched. Omitted for fields not in the request or\nwith no pending suggestions. Items tagged `already_applied`\nare echoes of the current request's inputs whose target is\nalready applied to the issue; they are not persisted as\npending suggestions.\n", + "description": "Pending suggestions for each suggestible field (`type`,\n`issue_field_values`, `labels`, `assignees`, `state`) the\nrequest touched. Omitted for fields not in the request or\nwith no pending or ignored suggestions. Items tagged\n`ignored` are echoes of the current request's inputs that\nwere not persisted as pending suggestions.\n", "properties": { "type": { "type": "array", @@ -64276,8 +64391,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64320,8 +64442,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64348,8 +64477,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64376,8 +64512,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64410,8 +64553,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -71381,6 +71531,307 @@ } } }, + "/repos/{owner}/{repo}/pulls/{pull_number}/merge-async": { + "put": { + "summary": "Merge a pull request asynchronously", + "description": "Merges a pull request into the base branch in the background. Merging in this way allows certain types of errors to be retried, and avoids the risk of timeouts for particularly complex merges.\n\nThis is the required method for merging stacked PRs, but also supports unstacked PRs. When using this endpoint to merge a stacked pull request, all pull requests in the stack up to and including the requested PR will be merged into the base branch.\n\nThe response includes a UUID that can be used to fetch the result of the merge. If another asynchronous merge request has already been made for this pull request, the UUID of that request will be returned instead with a 409 response status to indicate that the merge options may be different from those that were requested. If there isn't an existing asynchronous merge request, a 202 response status is used.\n\nIf the pull request is already merged, the merge commit OID will be returned immediately with a 200 status.\n\nIf the pull request cannot be merged (e.g. because it is closed, or still a draft) this result will be returned immediately with a 400 response status. Branch protection rules and repository rules are not run at this stage, only basic pull request state checks are performed.", + "tags": [ + "pulls" + ], + "operationId": "pulls/merge-async", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/pulls/pulls#merge-a-pull-request-asynchronously" + }, + "x-github": { + "triggersNotification": true, + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "pulls", + "subcategory": "pulls" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": [ + "object", + "null" + ], + "properties": { + "commit_title": { + "type": "string", + "description": "Title for the automatic commit message." + }, + "commit_message": { + "type": "string", + "description": "Extra detail to append to automatic commit message." + }, + "sha": { + "type": "string", + "description": "SHA that pull request head must match to allow merge. If not provided, the current head of the PR at the time of the request will be used; if the PR is pushed in between the merge being requested and being executed, the merge will be cancelled." + }, + "merge_method": { + "type": "string", + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "description": "The action that will be taken to merge the pull request. `direct_merge` merges the pull request directly without using a merge queue; `merge_queue` adds the pull request to a merge queue; `default` selects the most appropriate option.", + "enum": [ + "default", + "direct_merge", + "merge_queue" + ] + } + } + }, + "examples": { + "default": { + "value": { + "commit_title": "Fix race condition", + "commit_message": "Avoids a race by trying to read the file and handling the exception if it does not exist.", + "sha": "6358cd125586d9def8c3e5943f23506202da81cc", + "merge_method": "squash", + "merge_action": "default" + } + } + } + } + } + }, + "responses": { + "202": { + "description": "if the merge request was accepted and will run in the background", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/pull-request-merge-async-result" + }, + "examples": { + "response-if-merge-request-was-accepted": { + "summary": "Request accepted", + "value": { + "status": "pending", + "details": { + "message": "Merge request enqueued.", + "uuid": "630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42", + "merge_method": "merge", + "merge_action": "default", + "expected_head_sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + } + } + } + } + }, + "200": { + "description": "if the pull request was already merged, or is already in a merge queue", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/pull-request-merge-async-result" + }, + "examples": { + "response-if-pull-request-was-already-merged": { + "summary": "Already merged", + "value": { + "status": "merged", + "details": { + "message": "Pull request is already merged.", + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + }, + "response-if-pull-request-is-already-enqueued": { + "summary": "Already enqueued", + "value": { + "status": "enqueued", + "details": { + "message": "Pull request is already in the merge queue." + } + } + } + } + } + } + }, + "409": { + "description": "if there is an existing merge request already enqueued for this pull request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/pull-request-merge-async-result" + }, + "examples": { + "response-if-a-merge-request-already-exists": { + "value": { + "status": "pending", + "details": { + "message": "A merge request already exists for this pull request.", + "uuid": "630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42", + "merge_method": "squash", + "merge_action": "default", + "expected_head_sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + } + } + } + } + }, + "400": { + "description": "if the pull request is not ready to be merged, e.g. because it is closed", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/pull-request-merge-async-result" + }, + "examples": { + "response-if-pull-request-is-not-ready-to-be-merged": { + "value": { + "status": "failed", + "details": { + "message": "Pull request is closed." + } + } + } + } + } + } + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + } + } + }, + "/repos/{owner}/{repo}/pulls/{pull_number}/merge-async/{uuid}": { + "get": { + "summary": "Get the result of an asynchronous merge", + "description": "Fetches the current result of an asynchronous merge request, identified by the UUID that was returned when the merge was requested.\n\nWhile the merge is still queued, the response includes the UUID, merge method, and expected head SHA of the request. Once the merge has completed, the response reports whether it was merged, including the merge commit OID on success or a message describing why it could not be merged on failure.\n\nThe result of an asynchronous merge request is retained for 24 hours after its most recent update. After this window the request expires and this endpoint returns a `404` response for its UUID.", + "tags": [ + "pulls" + ], + "operationId": "pulls/get-merge-async-result", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/pulls/pulls#get-the-result-of-an-asynchronous-merge" + }, + "x-github": { + "triggersNotification": false, + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "pulls", + "subcategory": "pulls" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + }, + { + "name": "uuid", + "description": "The UUID of the asynchronous merge request, as returned when the merge was requested.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "the current result of the asynchronous merge request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/pull-request-merge-async-result" + }, + "examples": { + "response-if-the-merge-is-still-queued": { + "summary": "Still queued", + "value": { + "status": "pending", + "details": { + "message": "Merge request is in progress.", + "uuid": "630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42", + "merge_method": "merge", + "merge_action": "default", + "expected_head_sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + }, + "response-if-the-pull-request-is-enqueued": { + "summary": "Enqueued in the merge queue", + "value": { + "status": "enqueued", + "details": { + "message": "Pull request is in the merge queue." + } + } + }, + "response-if-the-merge-succeeded": { + "summary": "Merge succeeded", + "value": { + "status": "merged", + "details": { + "message": "Pull request was merged.", + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + }, + "response-if-the-merge-failed": { + "summary": "Merge failed", + "value": { + "status": "failed", + "details": { + "message": "Merge conflict: the pull request could not be merged." + } + } + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + } + } + }, "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": { "get": { "summary": "Get all requested reviewers for a pull request", @@ -156327,6 +156778,102 @@ "sha" ] }, + "pull-request-merge-async-result": { + "title": "Pull Request Merge Async Result", + "description": "Pull Request Merge Async Result", + "type": "object", + "additionalProperties": false, + "properties": { + "status": { + "type": "string", + "enum": [ + "pending", + "merged", + "enqueued", + "failed" + ] + }, + "details": { + "oneOf": [ + { + "description": "When an asynchronous merge request was created or already existed", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "merge_method": { + "type": "string", + "enum": [ + "default", + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "enum": [ + "default", + "merge_queue", + "direct_merge" + ] + }, + "expected_head_sha": { + "type": "string", + "description": "SHA that the pull request head must match for the enqueued merge to proceed." + } + }, + "required": [ + "message", + "uuid", + "merge_method", + "merge_action", + "expected_head_sha" + ] + }, + { + "description": "When the pull request cannot be merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ] + }, + { + "description": "When the pull request is already merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "message", + "sha" + ] + } + ] + } + }, + "required": [ + "status", + "details" + ] + }, "pull-request-review-request": { "title": "Pull Request Review Request", "description": "Pull Request Review Request", diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index 6a8ea5dd7c..69b9d27732 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -8352,7 +8352,7 @@ paths: description: |- Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see "[About GitHub's IP addresses](https://docs.github.com/articles/about-github-s-ip-addresses/)." - The API's response also includes a list of GitHub's domain names. + The API's response also includes a list of GitHub's domain names, and the public keys used by GitHub to sign commits made through the web UI. The values shown in the documentation's response are example values. You must always query the API directly to get the latest values. @@ -21957,6 +21957,90 @@ paths: enabledForGitHubApps: true category: interactions subcategory: orgs + "/orgs/{org}/interaction-limits/pulls/creation-cap": + patch: + summary: Update pull request creation cap for an org + description: |- + Updates the pull request creation cap for an organization. The cap limits the total number + of open pull requests a user can have across all public repositories in the organization + at one time. + + Only users with admin access to the organization can configure the cap. + tags: + - interactions + operationId: interactions/update-pull-request-creation-cap-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/orgs#update-pull-request-creation-cap-for-an-org + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enabled: + type: boolean + description: Whether the pull request creation cap is enabled + max_open_pull_requests: + type: integer + description: The maximum number of open pull requests a user can + have at one time + minimum: 1 + maximum: 1000 + required: + - enabled + examples: + default: + summary: Example request body + value: + enabled: true + max_open_pull_requests: 1 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + enabled: + type: boolean + description: Whether the pull request creation cap is enabled + max_open_pull_requests: + type: integer + description: The maximum number of open pull requests a user can + have at one time + minimum: 1 + maximum: 1000 + required: + - enabled + - max_open_pull_requests + examples: + default: + summary: Response + value: + enabled: true + max_open_pull_requests: 1 + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '405': + description: Method Not Allowed + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: orgs "/orgs/{org}/invitations": get: summary: List pending organization invitations @@ -47378,10 +47462,9 @@ paths: Pending suggestions for each suggestible field (`type`, `issue_field_values`, `labels`, `assignees`, `state`) the request touched. Omitted for fields not in the request or - with no pending suggestions. Items tagged `already_applied` - are echoes of the current request's inputs whose target is - already applied to the issue; they are not persisted as - pending suggestions. + with no pending or ignored suggestions. Items tagged + `ignored` are echoes of the current request's inputs that + were not persisted as pending suggestions. properties: type: type: array @@ -47400,8 +47483,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed issue_field_values: type: array items: @@ -47426,8 +47514,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed labels: type: array items: @@ -47445,8 +47538,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed assignees: type: array items: @@ -47464,8 +47562,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed state: type: array items: @@ -47487,8 +47590,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed examples: default: "$ref": "#/components/examples/issue" @@ -52390,6 +52498,230 @@ paths: enabledForGitHubApps: true category: pulls subcategory: pulls + "/repos/{owner}/{repo}/pulls/{pull_number}/merge-async": + put: + summary: Merge a pull request asynchronously + description: |- + Merges a pull request into the base branch in the background. Merging in this way allows certain types of errors to be retried, and avoids the risk of timeouts for particularly complex merges. + + This is the required method for merging stacked PRs, but also supports unstacked PRs. When using this endpoint to merge a stacked pull request, all pull requests in the stack up to and including the requested PR will be merged into the base branch. + + The response includes a UUID that can be used to fetch the result of the merge. If another asynchronous merge request has already been made for this pull request, the UUID of that request will be returned instead with a 409 response status to indicate that the merge options may be different from those that were requested. If there isn't an existing asynchronous merge request, a 202 response status is used. + + If the pull request is already merged, the merge commit OID will be returned immediately with a 200 status. + + If the pull request cannot be merged (e.g. because it is closed, or still a draft) this result will be returned immediately with a 400 response status. Branch protection rules and repository rules are not run at this stage, only basic pull request state checks are performed. + tags: + - pulls + operationId: pulls/merge-async + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request-asynchronously + x-github: + triggersNotification: true + githubCloudOnly: false + enabledForGitHubApps: true + category: pulls + subcategory: pulls + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/pull-number" + requestBody: + required: false + content: + application/json: + schema: + type: + - object + - 'null' + properties: + commit_title: + type: string + description: Title for the automatic commit message. + commit_message: + type: string + description: Extra detail to append to automatic commit message. + sha: + type: string + description: SHA that pull request head must match to allow merge. + If not provided, the current head of the PR at the time of the + request will be used; if the PR is pushed in between the merge + being requested and being executed, the merge will be cancelled. + merge_method: + type: string + description: The merge method to use. + enum: + - merge + - squash + - rebase + merge_action: + type: string + description: The action that will be taken to merge the pull request. + `direct_merge` merges the pull request directly without using + a merge queue; `merge_queue` adds the pull request to a merge + queue; `default` selects the most appropriate option. + enum: + - default + - direct_merge + - merge_queue + examples: + default: + value: + commit_title: Fix race condition + commit_message: Avoids a race by trying to read the file and handling + the exception if it does not exist. + sha: 6358cd125586d9def8c3e5943f23506202da81cc + merge_method: squash + merge_action: default + responses: + '202': + description: if the merge request was accepted and will run in the background + content: + application/json: + schema: + "$ref": "#/components/schemas/pull-request-merge-async-result" + examples: + response-if-merge-request-was-accepted: + summary: Request accepted + value: + status: pending + details: + message: Merge request enqueued. + uuid: 630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42 + merge_method: merge + merge_action: default + expected_head_sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + '200': + description: if the pull request was already merged, or is already in a + merge queue + content: + application/json: + schema: + "$ref": "#/components/schemas/pull-request-merge-async-result" + examples: + response-if-pull-request-was-already-merged: + summary: Already merged + value: + status: merged + details: + message: Pull request is already merged. + sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + response-if-pull-request-is-already-enqueued: + summary: Already enqueued + value: + status: enqueued + details: + message: Pull request is already in the merge queue. + '409': + description: if there is an existing merge request already enqueued for + this pull request + content: + application/json: + schema: + "$ref": "#/components/schemas/pull-request-merge-async-result" + examples: + response-if-a-merge-request-already-exists: + value: + status: pending + details: + message: A merge request already exists for this pull request. + uuid: 630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42 + merge_method: squash + merge_action: default + expected_head_sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + '400': + description: if the pull request is not ready to be merged, e.g. because + it is closed + content: + application/json: + schema: + "$ref": "#/components/schemas/pull-request-merge-async-result" + examples: + response-if-pull-request-is-not-ready-to-be-merged: + value: + status: failed + details: + message: Pull request is closed. + '422': + "$ref": "#/components/responses/validation_failed" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + "/repos/{owner}/{repo}/pulls/{pull_number}/merge-async/{uuid}": + get: + summary: Get the result of an asynchronous merge + description: |- + Fetches the current result of an asynchronous merge request, identified by the UUID that was returned when the merge was requested. + + While the merge is still queued, the response includes the UUID, merge method, and expected head SHA of the request. Once the merge has completed, the response reports whether it was merged, including the merge commit OID on success or a message describing why it could not be merged on failure. + + The result of an asynchronous merge request is retained for 24 hours after its most recent update. After this window the request expires and this endpoint returns a `404` response for its UUID. + tags: + - pulls + operationId: pulls/get-merge-async-result + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/pulls/pulls#get-the-result-of-an-asynchronous-merge + x-github: + triggersNotification: false + githubCloudOnly: false + enabledForGitHubApps: true + category: pulls + subcategory: pulls + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/pull-number" + - name: uuid + description: The UUID of the asynchronous merge request, as returned when + the merge was requested. + in: path + required: true + schema: + type: string + responses: + '200': + description: the current result of the asynchronous merge request + content: + application/json: + schema: + "$ref": "#/components/schemas/pull-request-merge-async-result" + examples: + response-if-the-merge-is-still-queued: + summary: Still queued + value: + status: pending + details: + message: Merge request is in progress. + uuid: 630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42 + merge_method: merge + merge_action: default + expected_head_sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + response-if-the-pull-request-is-enqueued: + summary: Enqueued in the merge queue + value: + status: enqueued + details: + message: Pull request is in the merge queue. + response-if-the-merge-succeeded: + summary: Merge succeeded + value: + status: merged + details: + message: Pull request was merged. + sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + response-if-the-merge-failed: + summary: Merge failed + value: + status: failed + details: + message: 'Merge conflict: the pull request could not be merged.' + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": get: summary: Get all requested reviewers for a pull request @@ -113769,6 +114101,75 @@ components: - merged - message - sha + pull-request-merge-async-result: + title: Pull Request Merge Async Result + description: Pull Request Merge Async Result + type: object + additionalProperties: false + properties: + status: + type: string + enum: + - pending + - merged + - enqueued + - failed + details: + oneOf: + - description: When an asynchronous merge request was created or already + existed + type: object + additionalProperties: false + properties: + message: + type: string + uuid: + type: string + merge_method: + type: string + enum: + - default + - merge + - squash + - rebase + merge_action: + type: string + enum: + - default + - merge_queue + - direct_merge + expected_head_sha: + type: string + description: SHA that the pull request head must match for the enqueued + merge to proceed. + required: + - message + - uuid + - merge_method + - merge_action + - expected_head_sha + - description: When the pull request cannot be merged + type: object + additionalProperties: false + properties: + message: + type: string + required: + - message + - description: When the pull request is already merged + type: object + additionalProperties: false + properties: + message: + type: string + sha: + type: string + required: + - message + - sha + required: + - status + - details pull-request-review-request: title: Pull Request Review Request description: Pull Request Review Request diff --git a/descriptions-next/api.github.com/api.github.com.2026-03-10.json b/descriptions-next/api.github.com/api.github.com.2026-03-10.json index 6e76e12813..dfb409b5d9 100644 --- a/descriptions-next/api.github.com/api.github.com.2026-03-10.json +++ b/descriptions-next/api.github.com/api.github.com.2026-03-10.json @@ -11281,7 +11281,7 @@ "/meta": { "get": { "summary": "Get GitHub meta information", - "description": "Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://docs.github.com/articles/about-github-s-ip-addresses/).\"\n\nThe API's response also includes a list of GitHub's domain names.\n\nThe values shown in the documentation's response are example values. You must always query the API directly to get the latest values.\n\n> [!NOTE]\n> This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported.", + "description": "Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://docs.github.com/articles/about-github-s-ip-addresses/).\"\n\nThe API's response also includes a list of GitHub's domain names, and the public keys used by GitHub to sign commits made through the web UI.\n\nThe values shown in the documentation's response are example values. You must always query the API directly to get the latest values.\n\n> [!NOTE]\n> This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported.", "tags": [ "meta" ], @@ -29492,6 +29492,121 @@ } } }, + "/orgs/{org}/interaction-limits/pulls/creation-cap": { + "patch": { + "summary": "Update pull request creation cap for an org", + "description": "Updates the pull request creation cap for an organization. The cap limits the total number\nof open pull requests a user can have across all public repositories in the organization\nat one time.\n\nOnly users with admin access to the organization can configure the cap.", + "tags": [ + "interactions" + ], + "operationId": "interactions/update-pull-request-creation-cap-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/orgs#update-pull-request-creation-cap-for-an-org" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether the pull request creation cap is enabled" + }, + "max_open_pull_requests": { + "type": "integer", + "description": "The maximum number of open pull requests a user can have at one time", + "minimum": 1, + "maximum": 1000 + } + }, + "required": [ + "enabled" + ] + }, + "examples": { + "default": { + "summary": "Example request body", + "value": { + "enabled": true, + "max_open_pull_requests": 1 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether the pull request creation cap is enabled" + }, + "max_open_pull_requests": { + "type": "integer", + "description": "The maximum number of open pull requests a user can have at one time", + "minimum": 1, + "maximum": 1000 + } + }, + "required": [ + "enabled", + "max_open_pull_requests" + ] + }, + "examples": { + "default": { + "summary": "Response", + "value": { + "enabled": true, + "max_open_pull_requests": 1 + } + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "405": { + "description": "Method Not Allowed", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "orgs" + } + } + }, "/orgs/{org}/invitations": { "get": { "summary": "List pending organization invitations", @@ -64163,7 +64278,7 @@ "properties": { "suggestions": { "type": "object", - "description": "Pending suggestions for each suggestible field (`type`,\n`issue_field_values`, `labels`, `assignees`, `state`) the\nrequest touched. Omitted for fields not in the request or\nwith no pending suggestions. Items tagged `already_applied`\nare echoes of the current request's inputs whose target is\nalready applied to the issue; they are not persisted as\npending suggestions.\n", + "description": "Pending suggestions for each suggestible field (`type`,\n`issue_field_values`, `labels`, `assignees`, `state`) the\nrequest touched. Omitted for fields not in the request or\nwith no pending or ignored suggestions. Items tagged\n`ignored` are echoes of the current request's inputs that\nwere not persisted as pending suggestions.\n", "properties": { "type": { "type": "array", @@ -64187,8 +64302,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64231,8 +64353,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64259,8 +64388,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64287,8 +64423,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64321,8 +64464,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -71292,6 +71442,307 @@ } } }, + "/repos/{owner}/{repo}/pulls/{pull_number}/merge-async": { + "put": { + "summary": "Merge a pull request asynchronously", + "description": "Merges a pull request into the base branch in the background. Merging in this way allows certain types of errors to be retried, and avoids the risk of timeouts for particularly complex merges.\n\nThis is the required method for merging stacked PRs, but also supports unstacked PRs. When using this endpoint to merge a stacked pull request, all pull requests in the stack up to and including the requested PR will be merged into the base branch.\n\nThe response includes a UUID that can be used to fetch the result of the merge. If another asynchronous merge request has already been made for this pull request, the UUID of that request will be returned instead with a 409 response status to indicate that the merge options may be different from those that were requested. If there isn't an existing asynchronous merge request, a 202 response status is used.\n\nIf the pull request is already merged, the merge commit OID will be returned immediately with a 200 status.\n\nIf the pull request cannot be merged (e.g. because it is closed, or still a draft) this result will be returned immediately with a 400 response status. Branch protection rules and repository rules are not run at this stage, only basic pull request state checks are performed.", + "tags": [ + "pulls" + ], + "operationId": "pulls/merge-async", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/pulls/pulls#merge-a-pull-request-asynchronously" + }, + "x-github": { + "triggersNotification": true, + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "pulls", + "subcategory": "pulls" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": [ + "object", + "null" + ], + "properties": { + "commit_title": { + "type": "string", + "description": "Title for the automatic commit message." + }, + "commit_message": { + "type": "string", + "description": "Extra detail to append to automatic commit message." + }, + "sha": { + "type": "string", + "description": "SHA that pull request head must match to allow merge. If not provided, the current head of the PR at the time of the request will be used; if the PR is pushed in between the merge being requested and being executed, the merge will be cancelled." + }, + "merge_method": { + "type": "string", + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "description": "The action that will be taken to merge the pull request. `direct_merge` merges the pull request directly without using a merge queue; `merge_queue` adds the pull request to a merge queue; `default` selects the most appropriate option.", + "enum": [ + "default", + "direct_merge", + "merge_queue" + ] + } + } + }, + "examples": { + "default": { + "value": { + "commit_title": "Fix race condition", + "commit_message": "Avoids a race by trying to read the file and handling the exception if it does not exist.", + "sha": "6358cd125586d9def8c3e5943f23506202da81cc", + "merge_method": "squash", + "merge_action": "default" + } + } + } + } + } + }, + "responses": { + "202": { + "description": "if the merge request was accepted and will run in the background", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/pull-request-merge-async-result" + }, + "examples": { + "response-if-merge-request-was-accepted": { + "summary": "Request accepted", + "value": { + "status": "pending", + "details": { + "message": "Merge request enqueued.", + "uuid": "630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42", + "merge_method": "merge", + "merge_action": "default", + "expected_head_sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + } + } + } + } + }, + "200": { + "description": "if the pull request was already merged, or is already in a merge queue", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/pull-request-merge-async-result" + }, + "examples": { + "response-if-pull-request-was-already-merged": { + "summary": "Already merged", + "value": { + "status": "merged", + "details": { + "message": "Pull request is already merged.", + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + }, + "response-if-pull-request-is-already-enqueued": { + "summary": "Already enqueued", + "value": { + "status": "enqueued", + "details": { + "message": "Pull request is already in the merge queue." + } + } + } + } + } + } + }, + "409": { + "description": "if there is an existing merge request already enqueued for this pull request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/pull-request-merge-async-result" + }, + "examples": { + "response-if-a-merge-request-already-exists": { + "value": { + "status": "pending", + "details": { + "message": "A merge request already exists for this pull request.", + "uuid": "630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42", + "merge_method": "squash", + "merge_action": "default", + "expected_head_sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + } + } + } + } + }, + "400": { + "description": "if the pull request is not ready to be merged, e.g. because it is closed", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/pull-request-merge-async-result" + }, + "examples": { + "response-if-pull-request-is-not-ready-to-be-merged": { + "value": { + "status": "failed", + "details": { + "message": "Pull request is closed." + } + } + } + } + } + } + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + } + } + }, + "/repos/{owner}/{repo}/pulls/{pull_number}/merge-async/{uuid}": { + "get": { + "summary": "Get the result of an asynchronous merge", + "description": "Fetches the current result of an asynchronous merge request, identified by the UUID that was returned when the merge was requested.\n\nWhile the merge is still queued, the response includes the UUID, merge method, and expected head SHA of the request. Once the merge has completed, the response reports whether it was merged, including the merge commit OID on success or a message describing why it could not be merged on failure.\n\nThe result of an asynchronous merge request is retained for 24 hours after its most recent update. After this window the request expires and this endpoint returns a `404` response for its UUID.", + "tags": [ + "pulls" + ], + "operationId": "pulls/get-merge-async-result", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/pulls/pulls#get-the-result-of-an-asynchronous-merge" + }, + "x-github": { + "triggersNotification": false, + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "pulls", + "subcategory": "pulls" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + }, + { + "name": "uuid", + "description": "The UUID of the asynchronous merge request, as returned when the merge was requested.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "the current result of the asynchronous merge request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/pull-request-merge-async-result" + }, + "examples": { + "response-if-the-merge-is-still-queued": { + "summary": "Still queued", + "value": { + "status": "pending", + "details": { + "message": "Merge request is in progress.", + "uuid": "630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42", + "merge_method": "merge", + "merge_action": "default", + "expected_head_sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + }, + "response-if-the-pull-request-is-enqueued": { + "summary": "Enqueued in the merge queue", + "value": { + "status": "enqueued", + "details": { + "message": "Pull request is in the merge queue." + } + } + }, + "response-if-the-merge-succeeded": { + "summary": "Merge succeeded", + "value": { + "status": "merged", + "details": { + "message": "Pull request was merged.", + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + }, + "response-if-the-merge-failed": { + "summary": "Merge failed", + "value": { + "status": "failed", + "details": { + "message": "Merge conflict: the pull request could not be merged." + } + } + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + } + } + }, "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": { "get": { "summary": "Get all requested reviewers for a pull request", @@ -155664,6 +156115,102 @@ "sha" ] }, + "pull-request-merge-async-result": { + "title": "Pull Request Merge Async Result", + "description": "Pull Request Merge Async Result", + "type": "object", + "additionalProperties": false, + "properties": { + "status": { + "type": "string", + "enum": [ + "pending", + "merged", + "enqueued", + "failed" + ] + }, + "details": { + "oneOf": [ + { + "description": "When an asynchronous merge request was created or already existed", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "merge_method": { + "type": "string", + "enum": [ + "default", + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "enum": [ + "default", + "merge_queue", + "direct_merge" + ] + }, + "expected_head_sha": { + "type": "string", + "description": "SHA that the pull request head must match for the enqueued merge to proceed." + } + }, + "required": [ + "message", + "uuid", + "merge_method", + "merge_action", + "expected_head_sha" + ] + }, + { + "description": "When the pull request cannot be merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ] + }, + { + "description": "When the pull request is already merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "message", + "sha" + ] + } + ] + } + }, + "required": [ + "status", + "details" + ] + }, "pull-request-review-request": { "title": "Pull Request Review Request", "description": "Pull Request Review Request", diff --git a/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml b/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml index 4a8c60c54d..9911579cfc 100644 --- a/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml +++ b/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml @@ -8352,7 +8352,7 @@ paths: description: |- Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see "[About GitHub's IP addresses](https://docs.github.com/articles/about-github-s-ip-addresses/)." - The API's response also includes a list of GitHub's domain names. + The API's response also includes a list of GitHub's domain names, and the public keys used by GitHub to sign commits made through the web UI. The values shown in the documentation's response are example values. You must always query the API directly to get the latest values. @@ -21921,6 +21921,90 @@ paths: enabledForGitHubApps: true category: interactions subcategory: orgs + "/orgs/{org}/interaction-limits/pulls/creation-cap": + patch: + summary: Update pull request creation cap for an org + description: |- + Updates the pull request creation cap for an organization. The cap limits the total number + of open pull requests a user can have across all public repositories in the organization + at one time. + + Only users with admin access to the organization can configure the cap. + tags: + - interactions + operationId: interactions/update-pull-request-creation-cap-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/orgs#update-pull-request-creation-cap-for-an-org + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enabled: + type: boolean + description: Whether the pull request creation cap is enabled + max_open_pull_requests: + type: integer + description: The maximum number of open pull requests a user can + have at one time + minimum: 1 + maximum: 1000 + required: + - enabled + examples: + default: + summary: Example request body + value: + enabled: true + max_open_pull_requests: 1 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + enabled: + type: boolean + description: Whether the pull request creation cap is enabled + max_open_pull_requests: + type: integer + description: The maximum number of open pull requests a user can + have at one time + minimum: 1 + maximum: 1000 + required: + - enabled + - max_open_pull_requests + examples: + default: + summary: Response + value: + enabled: true + max_open_pull_requests: 1 + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '405': + description: Method Not Allowed + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: orgs "/orgs/{org}/invitations": get: summary: List pending organization invitations @@ -47303,10 +47387,9 @@ paths: Pending suggestions for each suggestible field (`type`, `issue_field_values`, `labels`, `assignees`, `state`) the request touched. Omitted for fields not in the request or - with no pending suggestions. Items tagged `already_applied` - are echoes of the current request's inputs whose target is - already applied to the issue; they are not persisted as - pending suggestions. + with no pending or ignored suggestions. Items tagged + `ignored` are echoes of the current request's inputs that + were not persisted as pending suggestions. properties: type: type: array @@ -47325,8 +47408,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed issue_field_values: type: array items: @@ -47351,8 +47439,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed labels: type: array items: @@ -47370,8 +47463,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed assignees: type: array items: @@ -47389,8 +47487,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed state: type: array items: @@ -47412,8 +47515,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed examples: default: "$ref": "#/components/examples/issue" @@ -52315,6 +52423,230 @@ paths: enabledForGitHubApps: true category: pulls subcategory: pulls + "/repos/{owner}/{repo}/pulls/{pull_number}/merge-async": + put: + summary: Merge a pull request asynchronously + description: |- + Merges a pull request into the base branch in the background. Merging in this way allows certain types of errors to be retried, and avoids the risk of timeouts for particularly complex merges. + + This is the required method for merging stacked PRs, but also supports unstacked PRs. When using this endpoint to merge a stacked pull request, all pull requests in the stack up to and including the requested PR will be merged into the base branch. + + The response includes a UUID that can be used to fetch the result of the merge. If another asynchronous merge request has already been made for this pull request, the UUID of that request will be returned instead with a 409 response status to indicate that the merge options may be different from those that were requested. If there isn't an existing asynchronous merge request, a 202 response status is used. + + If the pull request is already merged, the merge commit OID will be returned immediately with a 200 status. + + If the pull request cannot be merged (e.g. because it is closed, or still a draft) this result will be returned immediately with a 400 response status. Branch protection rules and repository rules are not run at this stage, only basic pull request state checks are performed. + tags: + - pulls + operationId: pulls/merge-async + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request-asynchronously + x-github: + triggersNotification: true + githubCloudOnly: false + enabledForGitHubApps: true + category: pulls + subcategory: pulls + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/pull-number" + requestBody: + required: false + content: + application/json: + schema: + type: + - object + - 'null' + properties: + commit_title: + type: string + description: Title for the automatic commit message. + commit_message: + type: string + description: Extra detail to append to automatic commit message. + sha: + type: string + description: SHA that pull request head must match to allow merge. + If not provided, the current head of the PR at the time of the + request will be used; if the PR is pushed in between the merge + being requested and being executed, the merge will be cancelled. + merge_method: + type: string + description: The merge method to use. + enum: + - merge + - squash + - rebase + merge_action: + type: string + description: The action that will be taken to merge the pull request. + `direct_merge` merges the pull request directly without using + a merge queue; `merge_queue` adds the pull request to a merge + queue; `default` selects the most appropriate option. + enum: + - default + - direct_merge + - merge_queue + examples: + default: + value: + commit_title: Fix race condition + commit_message: Avoids a race by trying to read the file and handling + the exception if it does not exist. + sha: 6358cd125586d9def8c3e5943f23506202da81cc + merge_method: squash + merge_action: default + responses: + '202': + description: if the merge request was accepted and will run in the background + content: + application/json: + schema: + "$ref": "#/components/schemas/pull-request-merge-async-result" + examples: + response-if-merge-request-was-accepted: + summary: Request accepted + value: + status: pending + details: + message: Merge request enqueued. + uuid: 630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42 + merge_method: merge + merge_action: default + expected_head_sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + '200': + description: if the pull request was already merged, or is already in a + merge queue + content: + application/json: + schema: + "$ref": "#/components/schemas/pull-request-merge-async-result" + examples: + response-if-pull-request-was-already-merged: + summary: Already merged + value: + status: merged + details: + message: Pull request is already merged. + sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + response-if-pull-request-is-already-enqueued: + summary: Already enqueued + value: + status: enqueued + details: + message: Pull request is already in the merge queue. + '409': + description: if there is an existing merge request already enqueued for + this pull request + content: + application/json: + schema: + "$ref": "#/components/schemas/pull-request-merge-async-result" + examples: + response-if-a-merge-request-already-exists: + value: + status: pending + details: + message: A merge request already exists for this pull request. + uuid: 630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42 + merge_method: squash + merge_action: default + expected_head_sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + '400': + description: if the pull request is not ready to be merged, e.g. because + it is closed + content: + application/json: + schema: + "$ref": "#/components/schemas/pull-request-merge-async-result" + examples: + response-if-pull-request-is-not-ready-to-be-merged: + value: + status: failed + details: + message: Pull request is closed. + '422': + "$ref": "#/components/responses/validation_failed" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + "/repos/{owner}/{repo}/pulls/{pull_number}/merge-async/{uuid}": + get: + summary: Get the result of an asynchronous merge + description: |- + Fetches the current result of an asynchronous merge request, identified by the UUID that was returned when the merge was requested. + + While the merge is still queued, the response includes the UUID, merge method, and expected head SHA of the request. Once the merge has completed, the response reports whether it was merged, including the merge commit OID on success or a message describing why it could not be merged on failure. + + The result of an asynchronous merge request is retained for 24 hours after its most recent update. After this window the request expires and this endpoint returns a `404` response for its UUID. + tags: + - pulls + operationId: pulls/get-merge-async-result + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/pulls/pulls#get-the-result-of-an-asynchronous-merge + x-github: + triggersNotification: false + githubCloudOnly: false + enabledForGitHubApps: true + category: pulls + subcategory: pulls + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/pull-number" + - name: uuid + description: The UUID of the asynchronous merge request, as returned when + the merge was requested. + in: path + required: true + schema: + type: string + responses: + '200': + description: the current result of the asynchronous merge request + content: + application/json: + schema: + "$ref": "#/components/schemas/pull-request-merge-async-result" + examples: + response-if-the-merge-is-still-queued: + summary: Still queued + value: + status: pending + details: + message: Merge request is in progress. + uuid: 630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42 + merge_method: merge + merge_action: default + expected_head_sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + response-if-the-pull-request-is-enqueued: + summary: Enqueued in the merge queue + value: + status: enqueued + details: + message: Pull request is in the merge queue. + response-if-the-merge-succeeded: + summary: Merge succeeded + value: + status: merged + details: + message: Pull request was merged. + sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + response-if-the-merge-failed: + summary: Merge failed + value: + status: failed + details: + message: 'Merge conflict: the pull request could not be merged.' + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": get: summary: Get all requested reviewers for a pull request @@ -113284,6 +113616,75 @@ components: - merged - message - sha + pull-request-merge-async-result: + title: Pull Request Merge Async Result + description: Pull Request Merge Async Result + type: object + additionalProperties: false + properties: + status: + type: string + enum: + - pending + - merged + - enqueued + - failed + details: + oneOf: + - description: When an asynchronous merge request was created or already + existed + type: object + additionalProperties: false + properties: + message: + type: string + uuid: + type: string + merge_method: + type: string + enum: + - default + - merge + - squash + - rebase + merge_action: + type: string + enum: + - default + - merge_queue + - direct_merge + expected_head_sha: + type: string + description: SHA that the pull request head must match for the enqueued + merge to proceed. + required: + - message + - uuid + - merge_method + - merge_action + - expected_head_sha + - description: When the pull request cannot be merged + type: object + additionalProperties: false + properties: + message: + type: string + required: + - message + - description: When the pull request is already merged + type: object + additionalProperties: false + properties: + message: + type: string + sha: + type: string + required: + - message + - sha + required: + - status + - details pull-request-review-request: title: Pull Request Review Request description: Pull Request Review Request diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index aa99b73e12..10812aeabe 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -11295,7 +11295,7 @@ "/meta": { "get": { "summary": "Get GitHub meta information", - "description": "Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://docs.github.com/articles/about-github-s-ip-addresses/).\"\n\nThe API's response also includes a list of GitHub's domain names.\n\nThe values shown in the documentation's response are example values. You must always query the API directly to get the latest values.\n\n> [!NOTE]\n> This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported.", + "description": "Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://docs.github.com/articles/about-github-s-ip-addresses/).\"\n\nThe API's response also includes a list of GitHub's domain names, and the public keys used by GitHub to sign commits made through the web UI.\n\nThe values shown in the documentation's response are example values. You must always query the API directly to get the latest values.\n\n> [!NOTE]\n> This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported.", "tags": [ "meta" ], @@ -29658,6 +29658,121 @@ } } }, + "/orgs/{org}/interaction-limits/pulls/creation-cap": { + "patch": { + "summary": "Update pull request creation cap for an org", + "description": "Updates the pull request creation cap for an organization. The cap limits the total number\nof open pull requests a user can have across all public repositories in the organization\nat one time.\n\nOnly users with admin access to the organization can configure the cap.", + "tags": [ + "interactions" + ], + "operationId": "interactions/update-pull-request-creation-cap-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/orgs#update-pull-request-creation-cap-for-an-org" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether the pull request creation cap is enabled" + }, + "max_open_pull_requests": { + "type": "integer", + "description": "The maximum number of open pull requests a user can have at one time", + "minimum": 1, + "maximum": 1000 + } + }, + "required": [ + "enabled" + ] + }, + "examples": { + "default": { + "summary": "Example request body", + "value": { + "enabled": true, + "max_open_pull_requests": 1 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether the pull request creation cap is enabled" + }, + "max_open_pull_requests": { + "type": "integer", + "description": "The maximum number of open pull requests a user can have at one time", + "minimum": 1, + "maximum": 1000 + } + }, + "required": [ + "enabled", + "max_open_pull_requests" + ] + }, + "examples": { + "default": { + "summary": "Response", + "value": { + "enabled": true, + "max_open_pull_requests": 1 + } + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "405": { + "description": "Method Not Allowed", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "orgs" + } + } + }, "/orgs/{org}/invitations": { "get": { "summary": "List pending organization invitations", @@ -64540,7 +64655,7 @@ "properties": { "suggestions": { "type": "object", - "description": "Pending suggestions for each suggestible field (`type`,\n`issue_field_values`, `labels`, `assignees`, `state`) the\nrequest touched. Omitted for fields not in the request or\nwith no pending suggestions. Items tagged `already_applied`\nare echoes of the current request's inputs whose target is\nalready applied to the issue; they are not persisted as\npending suggestions.\n", + "description": "Pending suggestions for each suggestible field (`type`,\n`issue_field_values`, `labels`, `assignees`, `state`) the\nrequest touched. Omitted for fields not in the request or\nwith no pending or ignored suggestions. Items tagged\n`ignored` are echoes of the current request's inputs that\nwere not persisted as pending suggestions.\n", "properties": { "type": { "type": "array", @@ -64564,8 +64679,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64608,8 +64730,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64636,8 +64765,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64664,8 +64800,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64698,8 +64841,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -71688,6 +71838,307 @@ } } }, + "/repos/{owner}/{repo}/pulls/{pull_number}/merge-async": { + "put": { + "summary": "Merge a pull request asynchronously", + "description": "Merges a pull request into the base branch in the background. Merging in this way allows certain types of errors to be retried, and avoids the risk of timeouts for particularly complex merges.\n\nThis is the required method for merging stacked PRs, but also supports unstacked PRs. When using this endpoint to merge a stacked pull request, all pull requests in the stack up to and including the requested PR will be merged into the base branch.\n\nThe response includes a UUID that can be used to fetch the result of the merge. If another asynchronous merge request has already been made for this pull request, the UUID of that request will be returned instead with a 409 response status to indicate that the merge options may be different from those that were requested. If there isn't an existing asynchronous merge request, a 202 response status is used.\n\nIf the pull request is already merged, the merge commit OID will be returned immediately with a 200 status.\n\nIf the pull request cannot be merged (e.g. because it is closed, or still a draft) this result will be returned immediately with a 400 response status. Branch protection rules and repository rules are not run at this stage, only basic pull request state checks are performed.", + "tags": [ + "pulls" + ], + "operationId": "pulls/merge-async", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/pulls/pulls#merge-a-pull-request-asynchronously" + }, + "x-github": { + "triggersNotification": true, + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "pulls", + "subcategory": "pulls" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": [ + "object", + "null" + ], + "properties": { + "commit_title": { + "type": "string", + "description": "Title for the automatic commit message." + }, + "commit_message": { + "type": "string", + "description": "Extra detail to append to automatic commit message." + }, + "sha": { + "type": "string", + "description": "SHA that pull request head must match to allow merge. If not provided, the current head of the PR at the time of the request will be used; if the PR is pushed in between the merge being requested and being executed, the merge will be cancelled." + }, + "merge_method": { + "type": "string", + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "description": "The action that will be taken to merge the pull request. `direct_merge` merges the pull request directly without using a merge queue; `merge_queue` adds the pull request to a merge queue; `default` selects the most appropriate option.", + "enum": [ + "default", + "direct_merge", + "merge_queue" + ] + } + } + }, + "examples": { + "default": { + "value": { + "commit_title": "Fix race condition", + "commit_message": "Avoids a race by trying to read the file and handling the exception if it does not exist.", + "sha": "6358cd125586d9def8c3e5943f23506202da81cc", + "merge_method": "squash", + "merge_action": "default" + } + } + } + } + } + }, + "responses": { + "202": { + "description": "if the merge request was accepted and will run in the background", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/pull-request-merge-async-result" + }, + "examples": { + "response-if-merge-request-was-accepted": { + "summary": "Request accepted", + "value": { + "status": "pending", + "details": { + "message": "Merge request enqueued.", + "uuid": "630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42", + "merge_method": "merge", + "merge_action": "default", + "expected_head_sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + } + } + } + } + }, + "200": { + "description": "if the pull request was already merged, or is already in a merge queue", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/pull-request-merge-async-result" + }, + "examples": { + "response-if-pull-request-was-already-merged": { + "summary": "Already merged", + "value": { + "status": "merged", + "details": { + "message": "Pull request is already merged.", + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + }, + "response-if-pull-request-is-already-enqueued": { + "summary": "Already enqueued", + "value": { + "status": "enqueued", + "details": { + "message": "Pull request is already in the merge queue." + } + } + } + } + } + } + }, + "409": { + "description": "if there is an existing merge request already enqueued for this pull request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/pull-request-merge-async-result" + }, + "examples": { + "response-if-a-merge-request-already-exists": { + "value": { + "status": "pending", + "details": { + "message": "A merge request already exists for this pull request.", + "uuid": "630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42", + "merge_method": "squash", + "merge_action": "default", + "expected_head_sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + } + } + } + } + }, + "400": { + "description": "if the pull request is not ready to be merged, e.g. because it is closed", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/pull-request-merge-async-result" + }, + "examples": { + "response-if-pull-request-is-not-ready-to-be-merged": { + "value": { + "status": "failed", + "details": { + "message": "Pull request is closed." + } + } + } + } + } + } + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + } + } + }, + "/repos/{owner}/{repo}/pulls/{pull_number}/merge-async/{uuid}": { + "get": { + "summary": "Get the result of an asynchronous merge", + "description": "Fetches the current result of an asynchronous merge request, identified by the UUID that was returned when the merge was requested.\n\nWhile the merge is still queued, the response includes the UUID, merge method, and expected head SHA of the request. Once the merge has completed, the response reports whether it was merged, including the merge commit OID on success or a message describing why it could not be merged on failure.\n\nThe result of an asynchronous merge request is retained for 24 hours after its most recent update. After this window the request expires and this endpoint returns a `404` response for its UUID.", + "tags": [ + "pulls" + ], + "operationId": "pulls/get-merge-async-result", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/pulls/pulls#get-the-result-of-an-asynchronous-merge" + }, + "x-github": { + "triggersNotification": false, + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "pulls", + "subcategory": "pulls" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + }, + { + "name": "uuid", + "description": "The UUID of the asynchronous merge request, as returned when the merge was requested.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "the current result of the asynchronous merge request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/pull-request-merge-async-result" + }, + "examples": { + "response-if-the-merge-is-still-queued": { + "summary": "Still queued", + "value": { + "status": "pending", + "details": { + "message": "Merge request is in progress.", + "uuid": "630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42", + "merge_method": "merge", + "merge_action": "default", + "expected_head_sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + }, + "response-if-the-pull-request-is-enqueued": { + "summary": "Enqueued in the merge queue", + "value": { + "status": "enqueued", + "details": { + "message": "Pull request is in the merge queue." + } + } + }, + "response-if-the-merge-succeeded": { + "summary": "Merge succeeded", + "value": { + "status": "merged", + "details": { + "message": "Pull request was merged.", + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + }, + "response-if-the-merge-failed": { + "summary": "Merge failed", + "value": { + "status": "failed", + "details": { + "message": "Merge conflict: the pull request could not be merged." + } + } + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + } + } + }, "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": { "get": { "summary": "Get all requested reviewers for a pull request", @@ -157468,6 +157919,102 @@ "sha" ] }, + "pull-request-merge-async-result": { + "title": "Pull Request Merge Async Result", + "description": "Pull Request Merge Async Result", + "type": "object", + "additionalProperties": false, + "properties": { + "status": { + "type": "string", + "enum": [ + "pending", + "merged", + "enqueued", + "failed" + ] + }, + "details": { + "oneOf": [ + { + "description": "When an asynchronous merge request was created or already existed", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "merge_method": { + "type": "string", + "enum": [ + "default", + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "enum": [ + "default", + "merge_queue", + "direct_merge" + ] + }, + "expected_head_sha": { + "type": "string", + "description": "SHA that the pull request head must match for the enqueued merge to proceed." + } + }, + "required": [ + "message", + "uuid", + "merge_method", + "merge_action", + "expected_head_sha" + ] + }, + { + "description": "When the pull request cannot be merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ] + }, + { + "description": "When the pull request is already merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "message", + "sha" + ] + } + ] + } + }, + "required": [ + "status", + "details" + ] + }, "pull-request-review-request": { "title": "Pull Request Review Request", "description": "Pull Request Review Request", diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index 3b4b1b5a51..9f9dfc4725 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -8360,7 +8360,7 @@ paths: description: |- Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see "[About GitHub's IP addresses](https://docs.github.com/articles/about-github-s-ip-addresses/)." - The API's response also includes a list of GitHub's domain names. + The API's response also includes a list of GitHub's domain names, and the public keys used by GitHub to sign commits made through the web UI. The values shown in the documentation's response are example values. You must always query the API directly to get the latest values. @@ -22019,6 +22019,90 @@ paths: enabledForGitHubApps: true category: interactions subcategory: orgs + "/orgs/{org}/interaction-limits/pulls/creation-cap": + patch: + summary: Update pull request creation cap for an org + description: |- + Updates the pull request creation cap for an organization. The cap limits the total number + of open pull requests a user can have across all public repositories in the organization + at one time. + + Only users with admin access to the organization can configure the cap. + tags: + - interactions + operationId: interactions/update-pull-request-creation-cap-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/orgs#update-pull-request-creation-cap-for-an-org + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enabled: + type: boolean + description: Whether the pull request creation cap is enabled + max_open_pull_requests: + type: integer + description: The maximum number of open pull requests a user can + have at one time + minimum: 1 + maximum: 1000 + required: + - enabled + examples: + default: + summary: Example request body + value: + enabled: true + max_open_pull_requests: 1 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + enabled: + type: boolean + description: Whether the pull request creation cap is enabled + max_open_pull_requests: + type: integer + description: The maximum number of open pull requests a user can + have at one time + minimum: 1 + maximum: 1000 + required: + - enabled + - max_open_pull_requests + examples: + default: + summary: Response + value: + enabled: true + max_open_pull_requests: 1 + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '405': + description: Method Not Allowed + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: orgs "/orgs/{org}/invitations": get: summary: List pending organization invitations @@ -47556,10 +47640,9 @@ paths: Pending suggestions for each suggestible field (`type`, `issue_field_values`, `labels`, `assignees`, `state`) the request touched. Omitted for fields not in the request or - with no pending suggestions. Items tagged `already_applied` - are echoes of the current request's inputs whose target is - already applied to the issue; they are not persisted as - pending suggestions. + with no pending or ignored suggestions. Items tagged + `ignored` are echoes of the current request's inputs that + were not persisted as pending suggestions. properties: type: type: array @@ -47578,8 +47661,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed issue_field_values: type: array items: @@ -47604,8 +47692,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed labels: type: array items: @@ -47623,8 +47716,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed assignees: type: array items: @@ -47642,8 +47740,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed state: type: array items: @@ -47665,8 +47768,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed examples: default: "$ref": "#/components/examples/issue" @@ -52578,6 +52686,230 @@ paths: enabledForGitHubApps: true category: pulls subcategory: pulls + "/repos/{owner}/{repo}/pulls/{pull_number}/merge-async": + put: + summary: Merge a pull request asynchronously + description: |- + Merges a pull request into the base branch in the background. Merging in this way allows certain types of errors to be retried, and avoids the risk of timeouts for particularly complex merges. + + This is the required method for merging stacked PRs, but also supports unstacked PRs. When using this endpoint to merge a stacked pull request, all pull requests in the stack up to and including the requested PR will be merged into the base branch. + + The response includes a UUID that can be used to fetch the result of the merge. If another asynchronous merge request has already been made for this pull request, the UUID of that request will be returned instead with a 409 response status to indicate that the merge options may be different from those that were requested. If there isn't an existing asynchronous merge request, a 202 response status is used. + + If the pull request is already merged, the merge commit OID will be returned immediately with a 200 status. + + If the pull request cannot be merged (e.g. because it is closed, or still a draft) this result will be returned immediately with a 400 response status. Branch protection rules and repository rules are not run at this stage, only basic pull request state checks are performed. + tags: + - pulls + operationId: pulls/merge-async + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request-asynchronously + x-github: + triggersNotification: true + githubCloudOnly: false + enabledForGitHubApps: true + category: pulls + subcategory: pulls + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/pull-number" + requestBody: + required: false + content: + application/json: + schema: + type: + - object + - 'null' + properties: + commit_title: + type: string + description: Title for the automatic commit message. + commit_message: + type: string + description: Extra detail to append to automatic commit message. + sha: + type: string + description: SHA that pull request head must match to allow merge. + If not provided, the current head of the PR at the time of the + request will be used; if the PR is pushed in between the merge + being requested and being executed, the merge will be cancelled. + merge_method: + type: string + description: The merge method to use. + enum: + - merge + - squash + - rebase + merge_action: + type: string + description: The action that will be taken to merge the pull request. + `direct_merge` merges the pull request directly without using + a merge queue; `merge_queue` adds the pull request to a merge + queue; `default` selects the most appropriate option. + enum: + - default + - direct_merge + - merge_queue + examples: + default: + value: + commit_title: Fix race condition + commit_message: Avoids a race by trying to read the file and handling + the exception if it does not exist. + sha: 6358cd125586d9def8c3e5943f23506202da81cc + merge_method: squash + merge_action: default + responses: + '202': + description: if the merge request was accepted and will run in the background + content: + application/json: + schema: + "$ref": "#/components/schemas/pull-request-merge-async-result" + examples: + response-if-merge-request-was-accepted: + summary: Request accepted + value: + status: pending + details: + message: Merge request enqueued. + uuid: 630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42 + merge_method: merge + merge_action: default + expected_head_sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + '200': + description: if the pull request was already merged, or is already in a + merge queue + content: + application/json: + schema: + "$ref": "#/components/schemas/pull-request-merge-async-result" + examples: + response-if-pull-request-was-already-merged: + summary: Already merged + value: + status: merged + details: + message: Pull request is already merged. + sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + response-if-pull-request-is-already-enqueued: + summary: Already enqueued + value: + status: enqueued + details: + message: Pull request is already in the merge queue. + '409': + description: if there is an existing merge request already enqueued for + this pull request + content: + application/json: + schema: + "$ref": "#/components/schemas/pull-request-merge-async-result" + examples: + response-if-a-merge-request-already-exists: + value: + status: pending + details: + message: A merge request already exists for this pull request. + uuid: 630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42 + merge_method: squash + merge_action: default + expected_head_sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + '400': + description: if the pull request is not ready to be merged, e.g. because + it is closed + content: + application/json: + schema: + "$ref": "#/components/schemas/pull-request-merge-async-result" + examples: + response-if-pull-request-is-not-ready-to-be-merged: + value: + status: failed + details: + message: Pull request is closed. + '422': + "$ref": "#/components/responses/validation_failed" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + "/repos/{owner}/{repo}/pulls/{pull_number}/merge-async/{uuid}": + get: + summary: Get the result of an asynchronous merge + description: |- + Fetches the current result of an asynchronous merge request, identified by the UUID that was returned when the merge was requested. + + While the merge is still queued, the response includes the UUID, merge method, and expected head SHA of the request. Once the merge has completed, the response reports whether it was merged, including the merge commit OID on success or a message describing why it could not be merged on failure. + + The result of an asynchronous merge request is retained for 24 hours after its most recent update. After this window the request expires and this endpoint returns a `404` response for its UUID. + tags: + - pulls + operationId: pulls/get-merge-async-result + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/pulls/pulls#get-the-result-of-an-asynchronous-merge + x-github: + triggersNotification: false + githubCloudOnly: false + enabledForGitHubApps: true + category: pulls + subcategory: pulls + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/pull-number" + - name: uuid + description: The UUID of the asynchronous merge request, as returned when + the merge was requested. + in: path + required: true + schema: + type: string + responses: + '200': + description: the current result of the asynchronous merge request + content: + application/json: + schema: + "$ref": "#/components/schemas/pull-request-merge-async-result" + examples: + response-if-the-merge-is-still-queued: + summary: Still queued + value: + status: pending + details: + message: Merge request is in progress. + uuid: 630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42 + merge_method: merge + merge_action: default + expected_head_sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + response-if-the-pull-request-is-enqueued: + summary: Enqueued in the merge queue + value: + status: enqueued + details: + message: Pull request is in the merge queue. + response-if-the-merge-succeeded: + summary: Merge succeeded + value: + status: merged + details: + message: Pull request was merged. + sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + response-if-the-merge-failed: + summary: Merge failed + value: + status: failed + details: + message: 'Merge conflict: the pull request could not be merged.' + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": get: summary: Get all requested reviewers for a pull request @@ -114584,6 +114916,75 @@ components: - merged - message - sha + pull-request-merge-async-result: + title: Pull Request Merge Async Result + description: Pull Request Merge Async Result + type: object + additionalProperties: false + properties: + status: + type: string + enum: + - pending + - merged + - enqueued + - failed + details: + oneOf: + - description: When an asynchronous merge request was created or already + existed + type: object + additionalProperties: false + properties: + message: + type: string + uuid: + type: string + merge_method: + type: string + enum: + - default + - merge + - squash + - rebase + merge_action: + type: string + enum: + - default + - merge_queue + - direct_merge + expected_head_sha: + type: string + description: SHA that the pull request head must match for the enqueued + merge to proceed. + required: + - message + - uuid + - merge_method + - merge_action + - expected_head_sha + - description: When the pull request cannot be merged + type: object + additionalProperties: false + properties: + message: + type: string + required: + - message + - description: When the pull request is already merged + type: object + additionalProperties: false + properties: + message: + type: string + sha: + type: string + required: + - message + - sha + required: + - status + - details pull-request-review-request: title: Pull Request Review Request description: Pull Request Review Request diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index d13ae804b9..e77661447c 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -70773,7 +70773,7 @@ "/meta": { "get": { "summary": "Get GitHub meta information", - "description": "Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://docs.github.com/articles/about-github-s-ip-addresses/).\"\n\nThe API's response also includes a list of GitHub's domain names.\n\nThe values shown in the documentation's response are example values. You must always query the API directly to get the latest values.\n\n> [!NOTE]\n> This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported.", + "description": "Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://docs.github.com/articles/about-github-s-ip-addresses/).\"\n\nThe API's response also includes a list of GitHub's domain names, and the public keys used by GitHub to sign commits made through the web UI.\n\nThe values shown in the documentation's response are example values. You must always query the API directly to get the latest values.\n\n> [!NOTE]\n> This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported.", "tags": [ "meta" ], @@ -173699,6 +173699,261 @@ } } }, + "/orgs/{org}/interaction-limits/pulls/creation-cap": { + "patch": { + "summary": "Update pull request creation cap for an org", + "description": "Updates the pull request creation cap for an organization. The cap limits the total number\nof open pull requests a user can have across all public repositories in the organization\nat one time.\n\nOnly users with admin access to the organization can configure the cap.", + "tags": [ + "interactions" + ], + "operationId": "interactions/update-pull-request-creation-cap-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/orgs#update-pull-request-creation-cap-for-an-org" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether the pull request creation cap is enabled" + }, + "max_open_pull_requests": { + "type": "integer", + "description": "The maximum number of open pull requests a user can have at one time", + "minimum": 1, + "maximum": 1000 + } + }, + "required": [ + "enabled" + ] + }, + "examples": { + "default": { + "summary": "Example request body", + "value": { + "enabled": true, + "max_open_pull_requests": 1 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether the pull request creation cap is enabled" + }, + "max_open_pull_requests": { + "type": "integer", + "description": "The maximum number of open pull requests a user can have at one time", + "minimum": 1, + "maximum": 1000 + } + }, + "required": [ + "enabled", + "max_open_pull_requests" + ] + }, + "examples": { + "default": { + "summary": "Response", + "value": { + "enabled": true, + "max_open_pull_requests": 1 + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "405": { + "description": "Method Not Allowed", + "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" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "orgs" + } + } + }, "/orgs/{org}/invitations": { "get": { "summary": "List pending organization invitations", @@ -503971,7 +504226,7 @@ "properties": { "suggestions": { "type": "object", - "description": "Pending suggestions for each suggestible field (`type`,\n`issue_field_values`, `labels`, `assignees`, `state`) the\nrequest touched. Omitted for fields not in the request or\nwith no pending suggestions. Items tagged `already_applied`\nare echoes of the current request's inputs whose target is\nalready applied to the issue; they are not persisted as\npending suggestions.\n", + "description": "Pending suggestions for each suggestible field (`type`,\n`issue_field_values`, `labels`, `assignees`, `state`) the\nrequest touched. Omitted for fields not in the request or\nwith no pending or ignored suggestions. Items tagged\n`ignored` are echoes of the current request's inputs that\nwere not persisted as pending suggestions.\n", "properties": { "type": { "type": "array", @@ -503995,8 +504250,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -504039,8 +504301,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -504067,8 +504336,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -504095,8 +504371,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -504129,8 +504412,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -656227,6 +656517,972 @@ } } }, + "/repos/{owner}/{repo}/pulls/{pull_number}/merge-async": { + "put": { + "summary": "Merge a pull request asynchronously", + "description": "Merges a pull request into the base branch in the background. Merging in this way allows certain types of errors to be retried, and avoids the risk of timeouts for particularly complex merges.\n\nThis is the required method for merging stacked PRs, but also supports unstacked PRs. When using this endpoint to merge a stacked pull request, all pull requests in the stack up to and including the requested PR will be merged into the base branch.\n\nThe response includes a UUID that can be used to fetch the result of the merge. If another asynchronous merge request has already been made for this pull request, the UUID of that request will be returned instead with a 409 response status to indicate that the merge options may be different from those that were requested. If there isn't an existing asynchronous merge request, a 202 response status is used.\n\nIf the pull request is already merged, the merge commit OID will be returned immediately with a 200 status.\n\nIf the pull request cannot be merged (e.g. because it is closed, or still a draft) this result will be returned immediately with a 400 response status. Branch protection rules and repository rules are not run at this stage, only basic pull request state checks are performed.", + "tags": [ + "pulls" + ], + "operationId": "pulls/merge-async", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/pulls/pulls#merge-a-pull-request-asynchronously" + }, + "x-github": { + "triggersNotification": true, + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "pulls", + "subcategory": "pulls" + }, + "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": "pull_number", + "description": "The number that identifies the pull request.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": [ + "object", + "null" + ], + "properties": { + "commit_title": { + "type": "string", + "description": "Title for the automatic commit message." + }, + "commit_message": { + "type": "string", + "description": "Extra detail to append to automatic commit message." + }, + "sha": { + "type": "string", + "description": "SHA that pull request head must match to allow merge. If not provided, the current head of the PR at the time of the request will be used; if the PR is pushed in between the merge being requested and being executed, the merge will be cancelled." + }, + "merge_method": { + "type": "string", + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "description": "The action that will be taken to merge the pull request. `direct_merge` merges the pull request directly without using a merge queue; `merge_queue` adds the pull request to a merge queue; `default` selects the most appropriate option.", + "enum": [ + "default", + "direct_merge", + "merge_queue" + ] + } + } + }, + "examples": { + "default": { + "value": { + "commit_title": "Fix race condition", + "commit_message": "Avoids a race by trying to read the file and handling the exception if it does not exist.", + "sha": "6358cd125586d9def8c3e5943f23506202da81cc", + "merge_method": "squash", + "merge_action": "default" + } + } + } + } + } + }, + "responses": { + "202": { + "description": "if the merge request was accepted and will run in the background", + "content": { + "application/json": { + "schema": { + "title": "Pull Request Merge Async Result", + "description": "Pull Request Merge Async Result", + "type": "object", + "additionalProperties": false, + "properties": { + "status": { + "type": "string", + "enum": [ + "pending", + "merged", + "enqueued", + "failed" + ] + }, + "details": { + "oneOf": [ + { + "description": "When an asynchronous merge request was created or already existed", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "merge_method": { + "type": "string", + "enum": [ + "default", + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "enum": [ + "default", + "merge_queue", + "direct_merge" + ] + }, + "expected_head_sha": { + "type": "string", + "description": "SHA that the pull request head must match for the enqueued merge to proceed." + } + }, + "required": [ + "message", + "uuid", + "merge_method", + "merge_action", + "expected_head_sha" + ] + }, + { + "description": "When the pull request cannot be merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ] + }, + { + "description": "When the pull request is already merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "message", + "sha" + ] + } + ] + } + }, + "required": [ + "status", + "details" + ] + }, + "examples": { + "response-if-merge-request-was-accepted": { + "summary": "Request accepted", + "value": { + "status": "pending", + "details": { + "message": "Merge request enqueued.", + "uuid": "630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42", + "merge_method": "merge", + "merge_action": "default", + "expected_head_sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + } + } + } + } + }, + "200": { + "description": "if the pull request was already merged, or is already in a merge queue", + "content": { + "application/json": { + "schema": { + "title": "Pull Request Merge Async Result", + "description": "Pull Request Merge Async Result", + "type": "object", + "additionalProperties": false, + "properties": { + "status": { + "type": "string", + "enum": [ + "pending", + "merged", + "enqueued", + "failed" + ] + }, + "details": { + "oneOf": [ + { + "description": "When an asynchronous merge request was created or already existed", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "merge_method": { + "type": "string", + "enum": [ + "default", + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "enum": [ + "default", + "merge_queue", + "direct_merge" + ] + }, + "expected_head_sha": { + "type": "string", + "description": "SHA that the pull request head must match for the enqueued merge to proceed." + } + }, + "required": [ + "message", + "uuid", + "merge_method", + "merge_action", + "expected_head_sha" + ] + }, + { + "description": "When the pull request cannot be merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ] + }, + { + "description": "When the pull request is already merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "message", + "sha" + ] + } + ] + } + }, + "required": [ + "status", + "details" + ] + }, + "examples": { + "response-if-pull-request-was-already-merged": { + "summary": "Already merged", + "value": { + "status": "merged", + "details": { + "message": "Pull request is already merged.", + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + }, + "response-if-pull-request-is-already-enqueued": { + "summary": "Already enqueued", + "value": { + "status": "enqueued", + "details": { + "message": "Pull request is already in the merge queue." + } + } + } + } + } + } + }, + "409": { + "description": "if there is an existing merge request already enqueued for this pull request", + "content": { + "application/json": { + "schema": { + "title": "Pull Request Merge Async Result", + "description": "Pull Request Merge Async Result", + "type": "object", + "additionalProperties": false, + "properties": { + "status": { + "type": "string", + "enum": [ + "pending", + "merged", + "enqueued", + "failed" + ] + }, + "details": { + "oneOf": [ + { + "description": "When an asynchronous merge request was created or already existed", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "merge_method": { + "type": "string", + "enum": [ + "default", + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "enum": [ + "default", + "merge_queue", + "direct_merge" + ] + }, + "expected_head_sha": { + "type": "string", + "description": "SHA that the pull request head must match for the enqueued merge to proceed." + } + }, + "required": [ + "message", + "uuid", + "merge_method", + "merge_action", + "expected_head_sha" + ] + }, + { + "description": "When the pull request cannot be merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ] + }, + { + "description": "When the pull request is already merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "message", + "sha" + ] + } + ] + } + }, + "required": [ + "status", + "details" + ] + }, + "examples": { + "response-if-a-merge-request-already-exists": { + "value": { + "status": "pending", + "details": { + "message": "A merge request already exists for this pull request.", + "uuid": "630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42", + "merge_method": "squash", + "merge_action": "default", + "expected_head_sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + } + } + } + } + }, + "400": { + "description": "if the pull request is not ready to be merged, e.g. because it is closed", + "content": { + "application/json": { + "schema": { + "title": "Pull Request Merge Async Result", + "description": "Pull Request Merge Async Result", + "type": "object", + "additionalProperties": false, + "properties": { + "status": { + "type": "string", + "enum": [ + "pending", + "merged", + "enqueued", + "failed" + ] + }, + "details": { + "oneOf": [ + { + "description": "When an asynchronous merge request was created or already existed", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "merge_method": { + "type": "string", + "enum": [ + "default", + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "enum": [ + "default", + "merge_queue", + "direct_merge" + ] + }, + "expected_head_sha": { + "type": "string", + "description": "SHA that the pull request head must match for the enqueued merge to proceed." + } + }, + "required": [ + "message", + "uuid", + "merge_method", + "merge_action", + "expected_head_sha" + ] + }, + { + "description": "When the pull request cannot be merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ] + }, + { + "description": "When the pull request is already merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "message", + "sha" + ] + } + ] + } + }, + "required": [ + "status", + "details" + ] + }, + "examples": { + "response-if-pull-request-is-not-ready-to-be-merged": { + "value": { + "status": "failed", + "details": { + "message": "Pull request is closed." + } + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + } + } + }, + "/repos/{owner}/{repo}/pulls/{pull_number}/merge-async/{uuid}": { + "get": { + "summary": "Get the result of an asynchronous merge", + "description": "Fetches the current result of an asynchronous merge request, identified by the UUID that was returned when the merge was requested.\n\nWhile the merge is still queued, the response includes the UUID, merge method, and expected head SHA of the request. Once the merge has completed, the response reports whether it was merged, including the merge commit OID on success or a message describing why it could not be merged on failure.\n\nThe result of an asynchronous merge request is retained for 24 hours after its most recent update. After this window the request expires and this endpoint returns a `404` response for its UUID.", + "tags": [ + "pulls" + ], + "operationId": "pulls/get-merge-async-result", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/pulls/pulls#get-the-result-of-an-asynchronous-merge" + }, + "x-github": { + "triggersNotification": false, + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "pulls", + "subcategory": "pulls" + }, + "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": "pull_number", + "description": "The number that identifies the pull request.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "uuid", + "description": "The UUID of the asynchronous merge request, as returned when the merge was requested.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "the current result of the asynchronous merge request", + "content": { + "application/json": { + "schema": { + "title": "Pull Request Merge Async Result", + "description": "Pull Request Merge Async Result", + "type": "object", + "additionalProperties": false, + "properties": { + "status": { + "type": "string", + "enum": [ + "pending", + "merged", + "enqueued", + "failed" + ] + }, + "details": { + "oneOf": [ + { + "description": "When an asynchronous merge request was created or already existed", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "merge_method": { + "type": "string", + "enum": [ + "default", + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "enum": [ + "default", + "merge_queue", + "direct_merge" + ] + }, + "expected_head_sha": { + "type": "string", + "description": "SHA that the pull request head must match for the enqueued merge to proceed." + } + }, + "required": [ + "message", + "uuid", + "merge_method", + "merge_action", + "expected_head_sha" + ] + }, + { + "description": "When the pull request cannot be merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ] + }, + { + "description": "When the pull request is already merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "message", + "sha" + ] + } + ] + } + }, + "required": [ + "status", + "details" + ] + }, + "examples": { + "response-if-the-merge-is-still-queued": { + "summary": "Still queued", + "value": { + "status": "pending", + "details": { + "message": "Merge request is in progress.", + "uuid": "630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42", + "merge_method": "merge", + "merge_action": "default", + "expected_head_sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + }, + "response-if-the-pull-request-is-enqueued": { + "summary": "Enqueued in the merge queue", + "value": { + "status": "enqueued", + "details": { + "message": "Pull request is in the merge queue." + } + } + }, + "response-if-the-merge-succeeded": { + "summary": "Merge succeeded", + "value": { + "status": "merged", + "details": { + "message": "Pull request was merged.", + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + }, + "response-if-the-merge-failed": { + "summary": "Merge failed", + "value": { + "status": "failed", + "details": { + "message": "Merge conflict: the pull request could not be merged." + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + } + } + }, "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": { "get": { "summary": "Get all requested reviewers for a pull request", diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 921ad32321..dabd5b7558 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -1080,7 +1080,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &689 + - &690 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -14749,7 +14749,7 @@ paths: properties: action: type: string - discussion: &783 + discussion: &784 title: Discussion description: A Discussion in a repository. type: object @@ -15535,7 +15535,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &701 + sub_issues_summary: &702 title: Sub-issues Summary type: object properties: @@ -15665,7 +15665,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &702 + issue_dependencies_summary: &703 title: Issue Dependencies Summary type: object properties: @@ -16501,7 +16501,7 @@ paths: type: string release: allOf: - - &613 + - &614 title: Release description: A release. type: object @@ -16583,7 +16583,7 @@ paths: author: *4 assets: type: array - items: &614 + items: &615 title: Release Asset description: Data related to a release. type: object @@ -17186,7 +17186,7 @@ paths: url: type: string format: uri - user: &710 + user: &711 title: Public User description: Public User type: object @@ -20301,7 +20301,7 @@ paths: description: |- Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see "[About GitHub's IP addresses](https://docs.github.com/articles/about-github-s-ip-addresses/)." - The API's response also includes a list of GitHub's domain names. + The API's response also includes a list of GitHub's domain names, and the public keys used by GitHub to sign commits made through the web UI. The values shown in the documentation's response are example values. You must always query the API directly to get the latest values. @@ -23214,7 +23214,7 @@ paths: parameters: - *75 - *117 - - &761 + - &762 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 @@ -23326,7 +23326,7 @@ paths: - *117 - *118 - *119 - - &762 + - &763 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -23334,7 +23334,7 @@ paths: schema: type: string - *122 - - &763 + - &764 name: sku description: The SKU to query for usage. in: query @@ -31388,12 +31388,12 @@ paths: required: - subject_digests examples: - default: &742 + default: &743 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &743 + withPredicateType: &744 value: subject_digests: - sha256:abc123 @@ -31452,7 +31452,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &744 + default: &745 value: attestations_subject_digests: - sha256:abc: @@ -41095,6 +41095,86 @@ paths: enabledForGitHubApps: true category: interactions subcategory: orgs + "/orgs/{org}/interaction-limits/pulls/creation-cap": + patch: + summary: Update pull request creation cap for an org + description: |- + Updates the pull request creation cap for an organization. The cap limits the total number + of open pull requests a user can have across all public repositories in the organization + at one time. + + Only users with admin access to the organization can configure the cap. + tags: + - interactions + operationId: interactions/update-pull-request-creation-cap-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/orgs#update-pull-request-creation-cap-for-an-org + parameters: + - *75 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enabled: + type: boolean + description: Whether the pull request creation cap is enabled + max_open_pull_requests: + type: integer + description: The maximum number of open pull requests a user can + have at one time + minimum: 1 + maximum: 1000 + required: + - enabled + examples: + default: + summary: Example request body + value: + enabled: true + max_open_pull_requests: 1 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + enabled: + type: boolean + description: Whether the pull request creation cap is enabled + max_open_pull_requests: + type: integer + description: The maximum number of open pull requests a user can + have at one time + minimum: 1 + maximum: 1000 + required: + - enabled + - max_open_pull_requests + examples: + default: + summary: Response + value: + enabled: true + max_open_pull_requests: 1 + '403': *27 + '404': *6 + '405': + description: Method Not Allowed + content: + application/json: + schema: *3 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: orgs "/orgs/{org}/invitations": get: summary: List pending organization invitations @@ -43645,7 +43725,7 @@ paths: parameters: - *75 - *258 - - &725 + - &726 name: repo_name description: repo_name parameter in: path @@ -44706,7 +44786,7 @@ paths: - nuget - container - *75 - - &726 + - &727 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -44747,7 +44827,7 @@ paths: default: *264 '403': *27 '401': *23 - '400': &728 + '400': &729 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -46878,7 +46958,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &811 + - &812 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -47816,7 +47896,7 @@ paths: - updated_at - project_url examples: - default: &748 + default: &749 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47993,7 +48073,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &749 + items: &750 type: object properties: name: @@ -48030,7 +48110,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &750 + iteration_configuration: &751 type: object description: The configuration for iteration fields. properties: @@ -48080,7 +48160,7 @@ paths: value: name: Due date data_type: date - single_select_field: &751 + single_select_field: &752 summary: Create a single select field value: name: Priority @@ -48107,7 +48187,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &752 + iteration_field: &753 summary: Create an iteration field value: name: Sprint @@ -48133,7 +48213,7 @@ paths: application/json: schema: *284 examples: - text_field: &753 + text_field: &754 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -48142,7 +48222,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &754 + number_field: &755 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -48151,7 +48231,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &755 + date_field: &756 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -48160,7 +48240,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &756 + single_select_field: &757 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -48194,7 +48274,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &757 + iteration_field: &758 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -48240,7 +48320,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *281 - - &758 + - &759 name: field_id description: The unique identifier of the field. in: path @@ -48255,7 +48335,7 @@ paths: application/json: schema: *284 examples: - default: &759 + default: &760 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -49466,7 +49546,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &739 + schema: &740 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -49649,7 +49729,7 @@ paths: parameters: - *281 - *75 - - &760 + - &761 name: view_number description: The number that identifies the project view. in: path @@ -51725,7 +51805,7 @@ paths: - *75 - *17 - *19 - - &622 + - &623 name: targets description: | A comma-separated list of rule targets to filter by. @@ -52012,7 +52092,7 @@ paths: - object rules: type: array - items: &623 + items: &624 title: Repository Rule type: object description: A repository rule. @@ -52074,7 +52154,7 @@ paths: type: string enum: - required_linear_history - - &620 + - &621 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -52713,7 +52793,7 @@ paths: type: boolean description: Copilot automatically reviews each new push to the pull request. - - &621 + - &622 title: license_compliance_scanning description: Enforce any added or changed dependencies to comply with the organization's license policy. @@ -53025,7 +53105,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *75 - - &624 + - &625 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 @@ -53040,7 +53120,7 @@ paths: in: query schema: type: string - - &625 + - &626 name: time_period description: |- The time period to filter by. @@ -53056,14 +53136,14 @@ paths: - week - month default: day - - &626 + - &627 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 - - &627 + - &628 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -53076,7 +53156,7 @@ paths: - bypass - all default: all - - &628 + - &629 name: evaluate_status description: |- The evaluate status to filter on. When specified, only rule suites resulting from rulesets with the specified evaluate status will be returned. @@ -53099,7 +53179,7 @@ paths: description: Response content: application/json: - schema: &629 + schema: &630 title: Rule Suites description: Response type: array @@ -53155,7 +53235,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &630 + default: &631 value: - id: 21 actor_id: 12 @@ -53199,7 +53279,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *75 - - &631 + - &632 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -53215,7 +53295,7 @@ paths: description: Response content: application/json: - schema: &632 + schema: &633 title: Rule Suite description: Response type: object @@ -53322,7 +53402,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &633 + default: &634 value: id: 21 actor_id: 12 @@ -53569,7 +53649,7 @@ paths: type: string format: date-time examples: - default: &635 + default: &636 value: - version_id: 3 actor: @@ -53622,7 +53702,7 @@ paths: description: Response content: application/json: - schema: &636 + schema: &637 allOf: - *327 - type: object @@ -53694,7 +53774,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *75 - - &637 + - &638 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -53705,7 +53785,7 @@ paths: enum: - open - resolved - - &638 + - &639 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -53715,7 +53795,7 @@ paths: required: false schema: type: string - - &639 + - &640 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -53726,7 +53806,7 @@ paths: required: false schema: type: string - - &640 + - &641 name: exclude_providers in: query description: |- @@ -53737,7 +53817,7 @@ paths: required: false schema: type: string - - &641 + - &642 name: providers in: query description: |- @@ -53748,7 +53828,7 @@ paths: required: false schema: type: string - - &642 + - &643 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -53757,7 +53837,7 @@ paths: required: false schema: type: string - - &643 + - &644 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -53776,7 +53856,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &644 + - &645 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. @@ -53791,7 +53871,7 @@ paths: - *61 - *19 - *17 - - &645 + - &646 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 @@ -53801,7 +53881,7 @@ paths: required: false schema: type: string - - &646 + - &647 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 @@ -53811,7 +53891,7 @@ paths: required: false schema: type: string - - &647 + - &648 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -53820,7 +53900,7 @@ paths: required: false schema: type: string - - &648 + - &649 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -53829,7 +53909,7 @@ paths: schema: type: boolean default: false - - &649 + - &650 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -53838,7 +53918,7 @@ paths: schema: type: boolean default: false - - &650 + - &651 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -53847,7 +53927,7 @@ paths: schema: type: boolean default: false - - &651 + - &652 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -53858,7 +53938,7 @@ paths: required: false schema: type: boolean - - &652 + - &653 name: included_metadata in: query description: |- @@ -53869,7 +53949,7 @@ paths: required: false schema: type: string - - &653 + - &654 name: owner_email_hash in: query description: |- @@ -53904,14 +53984,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &654 + state: &655 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: &655 + resolution: &656 type: - string - 'null' @@ -54030,14 +54110,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &656 + - &657 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &658 + - &659 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -54101,7 +54181,7 @@ paths: - blob_url - commit_sha - commit_url - - &659 + - &660 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -54162,7 +54242,7 @@ paths: - page_url - commit_sha - commit_url - - &660 + - &661 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -54184,7 +54264,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &661 + - &662 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -54206,7 +54286,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &662 + - &663 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -54228,7 +54308,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &663 + - &664 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -54243,7 +54323,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &664 + - &665 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -54258,7 +54338,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &665 + - &666 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -54273,7 +54353,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &666 + - &667 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -54295,7 +54375,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &667 + - &668 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -54317,7 +54397,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &668 + - &669 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -54339,7 +54419,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &669 + - &670 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -54361,7 +54441,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &670 + - &671 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -54611,7 +54691,7 @@ paths: subcategory: custom-patterns parameters: - *75 - - &671 + - &672 name: state description: Filter custom patterns by state. When absent, returns patterns in all states. @@ -54622,7 +54702,7 @@ paths: enum: - published - unpublished - - &672 + - &673 name: push_protection description: Filter custom patterns by whether push protection is enabled. When absent, returns patterns regardless of push protection status. @@ -54633,7 +54713,7 @@ paths: enum: - enabled - disabled - - &673 + - &674 name: sort description: The property to sort the results by. in: query @@ -54732,7 +54812,7 @@ paths: - state - push_protection_enabled examples: - default: &674 + default: &675 value: - id: 1 name: Example Custom Pattern @@ -54795,7 +54875,7 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: &675 + items: &676 title: Secret Scanning Custom Pattern To Create description: A custom pattern to create in a bulk operation. type: object @@ -54832,7 +54912,7 @@ paths: items: type: string examples: - default: &676 + default: &677 value: patterns: - name: Example Custom Pattern @@ -54858,7 +54938,7 @@ paths: description: The list of successfully created custom patterns. items: *328 examples: - default: &677 + default: &678 value: created_patterns: - id: 1 @@ -54910,7 +54990,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: &678 + items: &679 title: Secret Scanning Custom Pattern Validation Error description: A validation error for a custom pattern in a batch operation. @@ -54964,7 +55044,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: &679 + items: &680 title: Secret Scanning Custom Pattern To Delete description: A custom pattern to delete in a bulk operation. type: object @@ -54987,7 +55067,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: &680 + default: &681 value: patterns: - pattern_id: 2 @@ -55033,7 +55113,7 @@ paths: required: true content: application/json: - schema: &681 + schema: &682 title: Secret Scanning Custom Pattern To Update description: Fields to update on a custom pattern. At least one updatable field (`pattern`, `start_delimiter`, `end_delimiter`, `must_match`, @@ -55074,7 +55154,7 @@ paths: type: string custom_pattern_version: *329 examples: - default: &682 + default: &683 value: pattern: updated_secret_[0-9A-Z]{16} start_delimiter: "[^0-9A-Za-z]" @@ -55091,7 +55171,7 @@ paths: application/json: schema: *328 examples: - default: &683 + default: &684 value: id: 1 name: Example Custom Pattern @@ -55398,7 +55478,7 @@ paths: application/json: schema: type: array - items: &687 + items: &688 description: A repository security advisory. type: object properties: @@ -55717,7 +55797,7 @@ paths: - private_fork additionalProperties: false examples: - default: &688 + default: &689 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -57657,7 +57737,7 @@ paths: application/json: schema: type: array - items: &704 + items: &705 title: Team Member description: A user that is a member of a team, including their role on the team and whether the membership is inherited from @@ -57800,7 +57880,7 @@ paths: - type - url examples: - default: &705 + default: &706 value: - login: octocat id: 1 @@ -57887,7 +57967,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &706 + response-if-user-is-a-team-maintainer: &707 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -57952,7 +58032,7 @@ paths: application/json: schema: *339 examples: - response-if-users-membership-with-team-is-now-pending: &707 + response-if-users-membership-with-team-is-now-pending: &708 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -58066,7 +58146,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &708 + schema: &709 title: Team Repository description: A team's access to a repository. type: object @@ -58795,7 +58875,7 @@ paths: type: array items: *201 examples: - response-if-child-teams-exist: &709 + response-if-child-teams-exist: &710 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -70901,7 +70981,7 @@ paths: check. type: array items: *86 - deployment: &772 + deployment: &773 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -76643,7 +76723,7 @@ paths: type: array items: *463 examples: - default: &715 + default: &716 value: total_count: 2 machines: @@ -79820,7 +79900,7 @@ paths: application/json: schema: type: array - items: &693 + items: &694 title: Status description: The status of a commit. type: object @@ -80809,7 +80889,7 @@ paths: - size - type - url - - &611 + - &612 title: Content File description: Content File type: object @@ -81446,7 +81526,7 @@ paths: items: type: object properties: - placeholder_id: &684 + placeholder_id: &685 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -87670,7 +87750,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &803 + last_response: &804 title: Hook Response type: object properties: @@ -88739,7 +88819,7 @@ paths: parameters: - *340 - *341 - - &737 + - &738 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -89458,7 +89538,7 @@ paths: type: array items: *537 examples: - default: &730 + default: &731 value: - id: 1 repository: @@ -92060,10 +92140,9 @@ paths: Pending suggestions for each suggestible field (`type`, `issue_field_values`, `labels`, `assignees`, `state`) the request touched. Omitted for fields not in the request or - with no pending suggestions. Items tagged `already_applied` - are echoes of the current request's inputs whose target is - already applied to the issue; they are not persisted as - pending suggestions. + with no pending or ignored suggestions. Items tagged + `ignored` are echoes of the current request's inputs that + were not persisted as pending suggestions. properties: type: type: array @@ -92082,8 +92161,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed issue_field_values: type: array items: @@ -92108,8 +92192,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed labels: type: array items: @@ -92127,8 +92216,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed assignees: type: array items: @@ -92146,8 +92240,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed state: type: array items: @@ -92169,8 +92268,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed examples: default: *545 '422': *15 @@ -101085,6 +101189,288 @@ paths: enabledForGitHubApps: true category: pulls subcategory: pulls + "/repos/{owner}/{repo}/pulls/{pull_number}/merge-async": + put: + summary: Merge a pull request asynchronously + description: |- + Merges a pull request into the base branch in the background. Merging in this way allows certain types of errors to be retried, and avoids the risk of timeouts for particularly complex merges. + + This is the required method for merging stacked PRs, but also supports unstacked PRs. When using this endpoint to merge a stacked pull request, all pull requests in the stack up to and including the requested PR will be merged into the base branch. + + The response includes a UUID that can be used to fetch the result of the merge. If another asynchronous merge request has already been made for this pull request, the UUID of that request will be returned instead with a 409 response status to indicate that the merge options may be different from those that were requested. If there isn't an existing asynchronous merge request, a 202 response status is used. + + If the pull request is already merged, the merge commit OID will be returned immediately with a 200 status. + + If the pull request cannot be merged (e.g. because it is closed, or still a draft) this result will be returned immediately with a 400 response status. Branch protection rules and repository rules are not run at this stage, only basic pull request state checks are performed. + tags: + - pulls + operationId: pulls/merge-async + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request-asynchronously + x-github: + triggersNotification: true + githubCloudOnly: false + enabledForGitHubApps: true + category: pulls + subcategory: pulls + parameters: + - *340 + - *341 + - *604 + requestBody: + required: false + content: + application/json: + schema: + type: + - object + - 'null' + properties: + commit_title: + type: string + description: Title for the automatic commit message. + commit_message: + type: string + description: Extra detail to append to automatic commit message. + sha: + type: string + description: SHA that pull request head must match to allow merge. + If not provided, the current head of the PR at the time of the + request will be used; if the PR is pushed in between the merge + being requested and being executed, the merge will be cancelled. + merge_method: + type: string + description: The merge method to use. + enum: + - merge + - squash + - rebase + merge_action: + type: string + description: The action that will be taken to merge the pull request. + `direct_merge` merges the pull request directly without using + a merge queue; `merge_queue` adds the pull request to a merge + queue; `default` selects the most appropriate option. + enum: + - default + - direct_merge + - merge_queue + examples: + default: + value: + commit_title: Fix race condition + commit_message: Avoids a race by trying to read the file and handling + the exception if it does not exist. + sha: 6358cd125586d9def8c3e5943f23506202da81cc + merge_method: squash + merge_action: default + responses: + '202': + description: if the merge request was accepted and will run in the background + content: + application/json: + schema: &607 + title: Pull Request Merge Async Result + description: Pull Request Merge Async Result + type: object + additionalProperties: false + properties: + status: + type: string + enum: + - pending + - merged + - enqueued + - failed + details: + oneOf: + - description: When an asynchronous merge request was created + or already existed + type: object + additionalProperties: false + properties: + message: + type: string + uuid: + type: string + merge_method: + type: string + enum: + - default + - merge + - squash + - rebase + merge_action: + type: string + enum: + - default + - merge_queue + - direct_merge + expected_head_sha: + type: string + description: SHA that the pull request head must match for + the enqueued merge to proceed. + required: + - message + - uuid + - merge_method + - merge_action + - expected_head_sha + - description: When the pull request cannot be merged + type: object + additionalProperties: false + properties: + message: + type: string + required: + - message + - description: When the pull request is already merged + type: object + additionalProperties: false + properties: + message: + type: string + sha: + type: string + required: + - message + - sha + required: + - status + - details + examples: + response-if-merge-request-was-accepted: + summary: Request accepted + value: + status: pending + details: + message: Merge request enqueued. + uuid: 630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42 + merge_method: merge + merge_action: default + expected_head_sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + '200': + description: if the pull request was already merged, or is already in a + merge queue + content: + application/json: + schema: *607 + examples: + response-if-pull-request-was-already-merged: + summary: Already merged + value: + status: merged + details: + message: Pull request is already merged. + sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + response-if-pull-request-is-already-enqueued: + summary: Already enqueued + value: + status: enqueued + details: + message: Pull request is already in the merge queue. + '409': + description: if there is an existing merge request already enqueued for + this pull request + content: + application/json: + schema: *607 + examples: + response-if-a-merge-request-already-exists: + value: + status: pending + details: + message: A merge request already exists for this pull request. + uuid: 630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42 + merge_method: squash + merge_action: default + expected_head_sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + '400': + description: if the pull request is not ready to be merged, e.g. because + it is closed + content: + application/json: + schema: *607 + examples: + response-if-pull-request-is-not-ready-to-be-merged: + value: + status: failed + details: + message: Pull request is closed. + '422': *15 + '403': *27 + '404': *6 + "/repos/{owner}/{repo}/pulls/{pull_number}/merge-async/{uuid}": + get: + summary: Get the result of an asynchronous merge + description: |- + Fetches the current result of an asynchronous merge request, identified by the UUID that was returned when the merge was requested. + + While the merge is still queued, the response includes the UUID, merge method, and expected head SHA of the request. Once the merge has completed, the response reports whether it was merged, including the merge commit OID on success or a message describing why it could not be merged on failure. + + The result of an asynchronous merge request is retained for 24 hours after its most recent update. After this window the request expires and this endpoint returns a `404` response for its UUID. + tags: + - pulls + operationId: pulls/get-merge-async-result + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/pulls/pulls#get-the-result-of-an-asynchronous-merge + x-github: + triggersNotification: false + githubCloudOnly: false + enabledForGitHubApps: true + category: pulls + subcategory: pulls + parameters: + - *340 + - *341 + - *604 + - name: uuid + description: The UUID of the asynchronous merge request, as returned when + the merge was requested. + in: path + required: true + schema: + type: string + responses: + '200': + description: the current result of the asynchronous merge request + content: + application/json: + schema: *607 + examples: + response-if-the-merge-is-still-queued: + summary: Still queued + value: + status: pending + details: + message: Merge request is in progress. + uuid: 630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42 + merge_method: merge + merge_action: default + expected_head_sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + response-if-the-pull-request-is-enqueued: + summary: Enqueued in the merge queue + value: + status: enqueued + details: + message: Pull request is in the merge queue. + response-if-the-merge-succeeded: + summary: Merge succeeded + value: + status: merged + details: + message: Pull request was merged. + sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + response-if-the-merge-failed: + summary: Merge failed + value: + status: failed + details: + message: 'Merge conflict: the pull request could not be merged.' + '403': *27 + '404': *6 "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": get: summary: Get all requested reviewers for a pull request @@ -102305,7 +102691,7 @@ paths: application/json: schema: type: array - items: &607 + items: &608 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -102553,9 +102939,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: &609 + default: &610 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -102621,7 +103007,7 @@ paths: - *340 - *341 - *604 - - &608 + - &609 name: review_id description: The unique identifier of the review. in: path @@ -102633,9 +103019,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: &610 + default: &611 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -102697,7 +103083,7 @@ paths: - *340 - *341 - *604 - - *608 + - *609 requestBody: required: true content: @@ -102720,7 +103106,7 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: default: value: @@ -102785,15 +103171,15 @@ paths: - *340 - *341 - *604 - - *608 + - *609 responses: '200': description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: *609 + default: *610 '422': *7 '404': *6 x-github: @@ -102823,7 +103209,7 @@ paths: - *340 - *341 - *604 - - *608 + - *609 - *17 - *19 responses: @@ -103084,7 +103470,7 @@ paths: - *340 - *341 - *604 - - *608 + - *609 requestBody: required: true content: @@ -103113,7 +103499,7 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: default: value: @@ -103179,7 +103565,7 @@ paths: - *340 - *341 - *604 - - *608 + - *609 requestBody: required: true content: @@ -103214,9 +103600,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: *610 + default: *611 '404': *6 '422': *7 '403': *27 @@ -103318,9 +103704,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *612 examples: - default: &612 + default: &613 value: type: file encoding: base64 @@ -103383,9 +103769,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *612 examples: - default: *612 + default: *613 '404': *6 '422': *15 x-github: @@ -103418,7 +103804,7 @@ paths: application/json: schema: type: array - items: *613 + items: *614 examples: default: value: @@ -103594,9 +103980,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: - default: &617 + default: &618 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -103703,7 +104089,7 @@ paths: parameters: - *340 - *341 - - &615 + - &616 name: asset_id description: The unique identifier of the asset. in: path @@ -103715,9 +104101,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *615 examples: - default: &616 + default: &617 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 @@ -103770,7 +104156,7 @@ paths: parameters: - *340 - *341 - - *615 + - *616 requestBody: required: false content: @@ -103799,9 +104185,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *615 examples: - default: *616 + default: *617 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103819,7 +104205,7 @@ paths: parameters: - *340 - *341 - - *615 + - *616 responses: '204': description: Response @@ -103938,9 +104324,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: - default: *617 + default: *618 '404': *6 x-github: githubCloudOnly: false @@ -103972,9 +104358,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: - default: *617 + default: *618 '404': *6 x-github: githubCloudOnly: false @@ -103998,7 +104384,7 @@ paths: parameters: - *340 - *341 - - &618 + - &619 name: release_id description: The unique identifier of the release. in: path @@ -104012,9 +104398,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: *613 + schema: *614 examples: - default: *617 + default: *618 '401': description: Unauthorized x-github: @@ -104040,7 +104426,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 requestBody: required: false content: @@ -104104,9 +104490,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: - default: *617 + default: *618 '404': description: Not Found if the discussion category name is invalid content: @@ -104129,7 +104515,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 responses: '204': description: Response @@ -104152,7 +104538,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 - *17 - *19 responses: @@ -104162,7 +104548,7 @@ paths: application/json: schema: type: array - items: *614 + items: *615 examples: default: value: @@ -104245,7 +104631,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 - name: name in: query required: true @@ -104271,7 +104657,7 @@ paths: description: Response for successful upload content: application/json: - schema: *614 + schema: *615 examples: response-for-successful-upload: value: @@ -104328,7 +104714,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 - 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. @@ -104377,7 +104763,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 requestBody: required: true content: @@ -104440,7 +104826,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 - *541 responses: '204': @@ -104484,7 +104870,7 @@ paths: oneOf: - allOf: - *303 - - &619 + - &620 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -104505,70 +104891,70 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *304 - - *619 + - *620 - allOf: - *305 - - *619 + - *620 - allOf: - *306 - - *619 + - *620 - allOf: + - *621 - *620 - - *619 - allOf: - *307 - - *619 + - *620 - allOf: - *308 - - *619 + - *620 - allOf: - *309 - - *619 + - *620 - allOf: - *310 - - *619 + - *620 - allOf: - *311 - - *619 + - *620 - allOf: - *312 - - *619 + - *620 - allOf: - *313 - - *619 + - *620 - allOf: - *314 - - *619 + - *620 - allOf: - *315 - - *619 + - *620 - allOf: - *316 - - *619 + - *620 - allOf: - *321 - - *619 + - *620 - allOf: - *322 - - *619 + - *620 - allOf: - *323 - - *619 + - *620 - allOf: - - *621 - - *619 + - *622 + - *620 - allOf: - *317 - - *619 + - *620 - allOf: - *318 - - *619 + - *620 - allOf: - *319 - - *619 + - *620 - allOf: - *320 - - *619 + - *620 examples: default: value: @@ -104619,7 +105005,7 @@ paths: schema: type: boolean default: true - - *622 + - *623 responses: '200': description: Response @@ -104704,7 +105090,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *623 + items: *624 required: - name - enforcement @@ -104737,7 +105123,7 @@ paths: application/json: schema: *324 examples: - default: &634 + default: &635 value: id: 42 name: super cool ruleset @@ -104787,11 +105173,11 @@ paths: parameters: - *340 - *341 - - *624 - *625 - *626 - *627 - *628 + - *629 - *17 - *19 responses: @@ -104799,9 +105185,9 @@ paths: description: Response content: application/json: - schema: *629 + schema: *630 examples: - default: *630 + default: *631 '404': *6 '500': *54 x-github: @@ -104824,15 +105210,15 @@ paths: parameters: - *340 - *341 - - *631 + - *632 responses: '200': description: Response content: application/json: - schema: *632 + schema: *633 examples: - default: *633 + default: *634 '404': *6 '500': *54 x-github: @@ -104883,7 +105269,7 @@ paths: application/json: schema: *324 examples: - default: *634 + default: *635 '404': *6 '500': *54 put: @@ -104936,7 +105322,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *623 + items: *624 examples: default: value: @@ -104966,7 +105352,7 @@ paths: application/json: schema: *324 examples: - default: *634 + default: *635 '404': *6 '422': *15 '500': *54 @@ -105028,7 +105414,7 @@ paths: type: array items: *327 examples: - default: *635 + default: *636 '404': *6 '500': *54 x-github: @@ -105066,7 +105452,7 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: default: value: @@ -105123,7 +105509,6 @@ paths: parameters: - *340 - *341 - - *637 - *638 - *639 - *640 @@ -105131,10 +105516,10 @@ paths: - *642 - *643 - *644 + - *645 - *61 - *19 - *17 - - *645 - *646 - *647 - *648 @@ -105143,6 +105528,7 @@ paths: - *651 - *652 - *653 + - *654 responses: '200': description: Response @@ -105166,8 +105552,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *654 - resolution: *655 + state: *655 + resolution: *656 resolved_at: type: - string @@ -105273,7 +105659,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *656 + - *657 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -105435,13 +105821,13 @@ paths: - *340 - *341 - *439 - - *650 + - *651 responses: '200': description: Response content: application/json: - schema: &657 + schema: &658 type: object properties: number: *181 @@ -105456,8 +105842,8 @@ paths: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *654 - resolution: *655 + state: *655 + resolution: *656 resolved_at: type: - string @@ -105563,7 +105949,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *656 + - *657 has_more_locations: type: boolean description: A boolean value representing whether or not the token @@ -105586,7 +105972,7 @@ paths: anyOf: - type: 'null' - *4 - metadata: &822 + metadata: &823 type: array description: A list of metadata key/value pairs associated with the secret scanning alert. @@ -105669,8 +106055,8 @@ paths: schema: type: object properties: - state: *654 - resolution: *655 + state: *655 + resolution: *656 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -105718,7 +106104,7 @@ paths: description: Response content: application/json: - schema: *657 + schema: *658 examples: default: value: @@ -105833,7 +106219,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &824 + items: &825 type: object properties: type: @@ -105860,7 +106246,6 @@ paths: - commit details: oneOf: - - *658 - *659 - *660 - *661 @@ -105873,6 +106258,7 @@ paths: - *668 - *669 - *670 + - *671 examples: default: value: @@ -105963,9 +106349,9 @@ paths: parameters: - *340 - *341 - - *671 - *672 - *673 + - *674 - *61 - *19 - *17 @@ -105978,7 +106364,7 @@ paths: type: array items: *328 examples: - default: *674 + default: *675 headers: Link: *67 '403': *27 @@ -106015,9 +106401,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *675 + items: *676 examples: - default: *676 + default: *677 responses: '201': description: All patterns created successfully. @@ -106031,7 +106417,7 @@ paths: description: The list of successfully created custom patterns. items: *328 examples: - default: *677 + default: *678 '400': *14 '403': *27 '404': *6 @@ -106055,7 +106441,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *678 + items: *679 delete: summary: Bulk delete repository custom patterns description: |- @@ -106089,7 +106475,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *679 + items: *680 post_delete_action: type: string description: |- @@ -106102,7 +106488,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *680 + default: *681 responses: '204': description: All patterns deleted successfully. @@ -106141,9 +106527,9 @@ paths: required: true content: application/json: - schema: *681 + schema: *682 examples: - default: *682 + default: *683 responses: '200': description: Pattern updated successfully. @@ -106151,7 +106537,7 @@ paths: application/json: schema: *328 examples: - default: *683 + default: *684 '400': *14 '403': *27 '404': *6 @@ -106182,14 +106568,14 @@ paths: schema: type: object properties: - reason: &685 + reason: &686 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *684 + placeholder_id: *685 required: - reason - placeholder_id @@ -106206,7 +106592,7 @@ paths: schema: type: object properties: - reason: *685 + reason: *686 expire_at: type: - string @@ -106269,7 +106655,7 @@ paths: properties: incremental_scans: type: array - items: &686 + items: &687 description: Information on a single scan performed by secret scanning on the repository type: object @@ -106302,15 +106688,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *686 + items: *687 backfill_scans: type: array - items: *686 + items: *687 custom_pattern_backfill_scans: type: array items: allOf: - - *686 + - *687 - type: object properties: pattern_name: @@ -106323,7 +106709,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *686 + items: *687 examples: default: value: @@ -106433,9 +106819,9 @@ paths: application/json: schema: type: array - items: *687 + items: *688 examples: - default: *688 + default: *689 '400': *14 '404': *6 x-github: @@ -106629,9 +107015,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *688 examples: - default: &690 + default: &691 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -106978,7 +107364,7 @@ paths: description: Response content: application/json: - schema: *687 + schema: *688 examples: default: value: @@ -107127,15 +107513,15 @@ paths: parameters: - *340 - *341 - - *689 + - *690 responses: '200': description: Response content: application/json: - schema: *687 + schema: *688 examples: - default: *690 + default: *691 '403': *27 '404': *6 x-github: @@ -107161,7 +107547,7 @@ paths: parameters: - *340 - *341 - - *689 + - *690 requestBody: required: true content: @@ -107332,10 +107718,10 @@ paths: description: Response content: application/json: - schema: *687 + schema: *688 examples: - default: *690 - add_credit: *690 + default: *691 + add_credit: *691 '403': *27 '404': *6 '422': @@ -107375,7 +107761,7 @@ paths: parameters: - *340 - *341 - - *689 + - *690 responses: '202': *38 '400': *14 @@ -107404,7 +107790,7 @@ paths: parameters: - *340 - *341 - - *689 + - *690 responses: '202': description: Response @@ -107635,7 +108021,7 @@ paths: format: date-time pull_requests: type: array - items: &691 + items: &692 title: Pull Request Stack Pull Request type: object allOf: @@ -107912,7 +108298,7 @@ paths: format: date-time pull_requests: type: array - items: *691 + items: *692 examples: default: value: @@ -108105,7 +108491,7 @@ paths: format: date-time pull_requests: type: array - items: *691 + items: *692 examples: default: value: @@ -108362,7 +108748,7 @@ paths: format: date-time pull_requests: type: array - items: *691 + items: *692 examples: default: value: @@ -108575,7 +108961,7 @@ paths: application/json: schema: type: array - items: &692 + items: &693 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -108948,7 +109334,7 @@ paths: application/json: schema: type: array - items: *692 + items: *693 examples: default: value: @@ -109038,7 +109424,7 @@ paths: description: Response content: application/json: - schema: *693 + schema: *694 examples: default: value: @@ -109132,7 +109518,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &694 + schema: &695 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -109232,7 +109618,7 @@ paths: description: Response content: application/json: - schema: *694 + schema: *695 examples: default: value: @@ -109442,7 +109828,7 @@ paths: description: Response content: application/json: - schema: &695 + schema: &696 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -109454,7 +109840,7 @@ paths: required: - names examples: - default: &696 + default: &697 value: names: - octocat @@ -109509,9 +109895,9 @@ paths: description: Response content: application/json: - schema: *695 + schema: *696 examples: - default: *696 + default: *697 '404': *6 '422': *7 x-github: @@ -109534,7 +109920,7 @@ paths: parameters: - *340 - *341 - - &697 + - &698 name: per description: The time frame to display results for. in: query @@ -109565,7 +109951,7 @@ paths: - 128 clones: type: array - items: &698 + items: &699 title: Traffic type: object properties: @@ -109813,7 +110199,7 @@ paths: parameters: - *340 - *341 - - *697 + - *698 responses: '200': description: Response @@ -109834,7 +110220,7 @@ paths: - 3782 views: type: array - items: *698 + items: *699 required: - uniques - count @@ -110607,7 +110993,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &699 + text_matches: &700 title: Search Result Text Matches type: array items: @@ -110770,7 +111156,7 @@ paths: enum: - author-date - committer-date - - &700 + - &701 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 @@ -110890,7 +111276,7 @@ paths: type: number node_id: type: string - text_matches: *699 + text_matches: *700 required: - sha - node_id @@ -111082,7 +111468,7 @@ paths: - interactions - created - updated - - *700 + - *701 - *17 - *19 - name: advanced_search @@ -111196,8 +111582,8 @@ paths: type: - string - 'null' - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -111228,7 +111614,7 @@ paths: - string - 'null' format: date-time - text_matches: *699 + text_matches: *700 pull_request: type: object properties: @@ -111504,7 +111890,7 @@ paths: enum: - created - updated - - *700 + - *701 - *17 - *19 responses: @@ -111549,7 +111935,7 @@ paths: - 'null' score: type: number - text_matches: *699 + text_matches: *700 required: - id - node_id @@ -111634,7 +112020,7 @@ paths: - forks - help-wanted-issues - updated - - *700 + - *701 - *17 - *19 responses: @@ -111880,7 +112266,7 @@ paths: - admin - pull - push - text_matches: *699 + text_matches: *700 temp_clone_token: type: string allow_merge_commit: @@ -112188,7 +112574,7 @@ paths: - string - 'null' format: uri - text_matches: *699 + text_matches: *700 related: type: - array @@ -112381,7 +112767,7 @@ paths: - followers - repositories - joined - - *700 + - *701 - *17 - *19 responses: @@ -112491,7 +112877,7 @@ paths: type: - boolean - 'null' - text_matches: *699 + text_matches: *700 blog: type: - string @@ -112573,7 +112959,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &703 + - &704 name: team_id description: The unique identifier of the team. in: path @@ -112614,7 +113000,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *703 + - *704 requestBody: required: true content: @@ -112715,7 +113101,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *703 + - *704 responses: '204': description: Response @@ -112744,7 +113130,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *703 + - *704 - *17 - *19 responses: @@ -112784,7 +113170,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *703 + - *704 - name: role description: Filters members returned by their role in the team. in: query @@ -112805,9 +113191,9 @@ paths: application/json: schema: type: array - items: *704 + items: *705 examples: - default: *705 + default: *706 headers: Link: *67 '404': *6 @@ -112835,7 +113221,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *703 + - *704 - *71 responses: '204': @@ -112872,7 +113258,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *703 + - *704 - *71 responses: '204': @@ -112912,7 +113298,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *703 + - *704 - *71 responses: '204': @@ -112949,7 +113335,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *703 + - *704 - *71 responses: '200': @@ -112958,7 +113344,7 @@ paths: application/json: schema: *339 examples: - response-if-user-is-a-team-maintainer: *706 + response-if-user-is-a-team-maintainer: *707 '404': *6 x-github: githubCloudOnly: false @@ -112991,7 +113377,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *703 + - *704 - *71 requestBody: required: false @@ -113019,7 +113405,7 @@ paths: application/json: schema: *339 examples: - response-if-users-membership-with-team-is-now-pending: *707 + response-if-users-membership-with-team-is-now-pending: *708 '403': description: Forbidden if team synchronization is set up '422': @@ -113053,7 +113439,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *703 + - *704 - *71 responses: '204': @@ -113081,7 +113467,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *703 + - *704 - *17 - *19 responses: @@ -113123,7 +113509,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *703 + - *704 - *340 - *341 responses: @@ -113131,7 +113517,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *708 + schema: *709 examples: alternative-response-with-extra-repository-information: value: @@ -113282,7 +113668,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *703 + - *704 - *340 - *341 requestBody: @@ -113334,7 +113720,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *703 + - *704 - *340 - *341 responses: @@ -113361,7 +113747,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *703 + - *704 - *17 - *19 responses: @@ -113373,7 +113759,7 @@ paths: type: array items: *201 examples: - response-if-child-teams-exist: *709 + response-if-child-teams-exist: *710 headers: Link: *67 '404': *6 @@ -113406,7 +113792,7 @@ paths: application/json: schema: oneOf: - - &711 + - &712 title: Private User description: Private User type: object @@ -113656,7 +114042,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *710 + - *711 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -113816,7 +114202,7 @@ paths: description: Response content: application/json: - schema: *711 + schema: *712 examples: default: value: @@ -114214,7 +114600,7 @@ paths: type: integer secrets: type: array - items: &712 + items: &713 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -114334,7 +114720,7 @@ paths: description: Response content: application/json: - schema: *712 + schema: *713 examples: default: value: @@ -114747,7 +115133,7 @@ paths: description: Response content: application/json: - schema: &713 + schema: &714 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -114800,7 +115186,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &714 + default: &715 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -114845,9 +115231,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *714 examples: - default: *714 + default: *715 '404': *6 x-github: githubCloudOnly: false @@ -114886,7 +115272,7 @@ paths: type: array items: *463 examples: - default: *715 + default: *716 '304': *36 '500': *54 '401': *23 @@ -115852,7 +116238,7 @@ paths: type: array items: *263 examples: - default: &727 + default: &728 value: - id: 197 name: hello_docker @@ -115953,7 +116339,7 @@ paths: application/json: schema: type: array - items: &716 + items: &717 title: Email description: Email type: object @@ -116023,9 +116409,9 @@ paths: application/json: schema: type: array - items: *716 + items: *717 examples: - default: &729 + default: &730 value: - email: octocat@github.com verified: true @@ -116102,7 +116488,7 @@ paths: application/json: schema: type: array - items: *716 + items: *717 examples: default: value: @@ -116360,7 +116746,7 @@ paths: application/json: schema: type: array - items: &717 + items: &718 title: GPG Key description: A unique encryption key type: object @@ -116505,7 +116891,7 @@ paths: - subkeys - revoked examples: - default: &746 + default: &747 value: - id: 3 name: Octocat's GPG Key @@ -116590,9 +116976,9 @@ paths: description: Response content: application/json: - schema: *717 + schema: *718 examples: - default: &718 + default: &719 value: id: 3 name: Octocat's GPG Key @@ -116649,7 +117035,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &719 + - &720 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -116661,9 +117047,9 @@ paths: description: Response content: application/json: - schema: *717 + schema: *718 examples: - default: *718 + default: *719 '404': *6 '304': *36 '403': *27 @@ -116686,7 +117072,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *719 + - *720 responses: '204': description: Response @@ -117153,7 +117539,7 @@ paths: application/json: schema: type: array - items: &720 + items: &721 title: Key description: Key type: object @@ -117256,9 +117642,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *721 examples: - default: &721 + default: &722 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -117297,9 +117683,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *721 examples: - default: *721 + default: *722 '404': *6 '304': *36 '403': *27 @@ -117355,7 +117741,7 @@ paths: application/json: schema: type: array - items: &722 + items: &723 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -117434,7 +117820,7 @@ paths: - account - plan examples: - default: &723 + default: &724 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -117496,9 +117882,9 @@ paths: application/json: schema: type: array - items: *722 + items: *723 examples: - default: *723 + default: *724 headers: Link: *67 '304': *36 @@ -117741,7 +118127,7 @@ paths: application/json: schema: *255 examples: - default: &724 + default: &725 value: url: https://api.github.com/orgs/octocat/memberships/defunkt state: active @@ -117790,7 +118176,7 @@ paths: application/json: schema: *255 examples: - default: *724 + default: *725 '403': *27 '404': *6 '422': *15 @@ -118524,7 +118910,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *258 - - *725 + - *726 responses: '204': description: Response @@ -118639,7 +119025,7 @@ paths: - docker - nuget - container - - *726 + - *727 - *19 - *17 responses: @@ -118651,8 +119037,8 @@ paths: type: array items: *263 examples: - default: *727 - '400': *728 + default: *728 + '400': *729 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118681,7 +119067,7 @@ paths: application/json: schema: *263 examples: - default: &747 + default: &748 value: id: 40201 name: octo-name @@ -119043,9 +119429,9 @@ paths: application/json: schema: type: array - items: *716 + items: *717 examples: - default: *729 + default: *730 headers: Link: *67 '304': *36 @@ -119158,7 +119544,7 @@ paths: type: array items: *79 examples: - default: &736 + default: &737 summary: Default response value: - id: 1296269 @@ -119518,7 +119904,7 @@ paths: type: array items: *537 examples: - default: *730 + default: *731 headers: Link: *67 '304': *36 @@ -119597,7 +119983,7 @@ paths: application/json: schema: type: array - items: &731 + items: &732 title: Social account description: Social media account type: object @@ -119614,7 +120000,7 @@ paths: - provider - url examples: - default: &732 + default: &733 value: - provider: twitter url: https://twitter.com/github @@ -119677,9 +120063,9 @@ paths: application/json: schema: type: array - items: *731 + items: *732 examples: - default: *732 + default: *733 '422': *15 '304': *36 '404': *6 @@ -119767,7 +120153,7 @@ paths: application/json: schema: type: array - items: &733 + items: &734 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -119787,7 +120173,7 @@ paths: - title - created_at examples: - default: &764 + default: &765 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -119852,9 +120238,9 @@ paths: description: Response content: application/json: - schema: *733 + schema: *734 examples: - default: &734 + default: &735 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -119884,7 +120270,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: - - &735 + - &736 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -119896,9 +120282,9 @@ paths: description: Response content: application/json: - schema: *733 + schema: *734 examples: - default: *734 + default: *735 '404': *6 '304': *36 '403': *27 @@ -119921,7 +120307,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: - - *735 + - *736 responses: '204': description: Response @@ -119950,7 +120336,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &765 + - &766 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 @@ -119975,11 +120361,11 @@ paths: type: array items: *79 examples: - default-response: *736 + default-response: *737 application/vnd.github.v3.star+json: schema: type: array - items: &766 + items: &767 title: Starred Repository description: Starred Repository type: object @@ -120348,10 +120734,10 @@ paths: application/json: schema: oneOf: + - *712 - *711 - - *710 examples: - default-response: &740 + default-response: &741 summary: Default response value: login: octocat @@ -120386,7 +120772,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &741 + response-with-git-hub-plan-information: &742 summary: Response with GitHub plan information value: login: octocat @@ -120443,7 +120829,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &738 + - &739 name: user_id description: The unique identifier of the user. in: path @@ -120509,7 +120895,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *737 + - *738 - *17 responses: '200': @@ -120544,7 +120930,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *738 + - *739 - *281 requestBody: required: true @@ -120619,7 +121005,7 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *739 + schema: *740 examples: table_view: summary: Response for creating a table view @@ -120671,11 +121057,11 @@ paths: application/json: schema: oneOf: + - *712 - *711 - - *710 examples: - default-response: *740 - response-with-git-hub-plan-information: *741 + default-response: *741 + response-with-git-hub-plan-information: *742 '404': *6 x-github: githubCloudOnly: false @@ -120725,8 +121111,8 @@ paths: required: - subject_digests examples: - default: *742 - withPredicateType: *743 + default: *743 + withPredicateType: *744 responses: '200': description: Response @@ -120780,7 +121166,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *744 + default: *745 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -121269,7 +121655,7 @@ paths: application/json: schema: *197 examples: - default: &745 + default: &746 summary: Example response for a user copilot space value: id: 42 @@ -121370,7 +121756,7 @@ paths: application/json: schema: *197 examples: - default: *745 + default: *746 '403': *27 '404': *6 x-github: @@ -121496,7 +121882,7 @@ paths: application/json: schema: *197 examples: - default: *745 + default: *746 '403': *27 '404': *6 '422': *15 @@ -122264,7 +122650,7 @@ paths: type: array items: *263 examples: - default: *727 + default: *728 '403': *27 '401': *23 x-github: @@ -122648,9 +123034,9 @@ paths: application/json: schema: type: array - items: *717 + items: *718 examples: - default: *746 + default: *747 headers: Link: *67 x-github: @@ -122879,7 +123265,7 @@ paths: - docker - nuget - container - - *726 + - *727 - *71 - *19 - *17 @@ -122892,10 +123278,10 @@ paths: type: array items: *263 examples: - default: *727 + default: *728 '403': *27 '401': *23 - '400': *728 + '400': *729 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122925,7 +123311,7 @@ paths: application/json: schema: *263 examples: - default: *747 + default: *748 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123274,7 +123660,7 @@ paths: type: array items: *284 examples: - default: *748 + default: *749 headers: Link: *67 '304': *36 @@ -123334,7 +123720,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *749 + items: *750 required: - name - data_type @@ -123350,7 +123736,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *750 + iteration_configuration: *751 required: - name - data_type @@ -123372,8 +123758,8 @@ paths: value: name: Due date data_type: date - single_select_field: *751 - iteration_field: *752 + single_select_field: *752 + iteration_field: *753 responses: '201': description: Response @@ -123381,11 +123767,11 @@ paths: application/json: schema: *284 examples: - text_field: *753 - number_field: *754 - date_field: *755 - single_select_field: *756 - iteration_field: *757 + text_field: *754 + number_field: *755 + date_field: *756 + single_select_field: *757 + iteration_field: *758 '304': *36 '403': *27 '401': *23 @@ -123407,7 +123793,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *281 - - *758 + - *759 - *71 responses: '200': @@ -123416,7 +123802,7 @@ paths: application/json: schema: *284 examples: - default: *759 + default: *760 headers: Link: *67 '304': *36 @@ -123773,7 +124159,7 @@ paths: parameters: - *281 - *71 - - *760 + - *761 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -124312,7 +124698,7 @@ paths: parameters: - *71 - *117 - - *761 + - *762 - *119 responses: '200': @@ -124411,9 +124797,9 @@ paths: - *117 - *118 - *119 - - *762 - - *122 - *763 + - *122 + - *764 responses: '200': description: Response when getting a billing usage summary @@ -124547,9 +124933,9 @@ paths: application/json: schema: type: array - items: *731 + items: *732 examples: - default: *732 + default: *733 headers: Link: *67 x-github: @@ -124579,9 +124965,9 @@ paths: application/json: schema: type: array - items: *733 + items: *734 examples: - default: *764 + default: *765 headers: Link: *67 x-github: @@ -124606,7 +124992,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *71 - - *765 + - *766 - *61 - *17 - *19 @@ -124618,11 +125004,11 @@ paths: schema: anyOf: - type: array - items: *766 + items: *767 - type: array items: *79 examples: - default-response: *736 + default-response: *737 headers: Link: *67 x-github: @@ -124782,7 +125168,7 @@ webhooks: type: string enum: - disabled - enterprise: &767 + enterprise: &768 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -124851,7 +125237,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &768 + installation: &769 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -124872,7 +125258,7 @@ webhooks: required: - id - node_id - organization: &769 + organization: &770 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -124945,7 +125331,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &770 + repository: &771 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -125871,10 +126257,10 @@ webhooks: type: string enum: - enabled - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -125950,11 +126336,11 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - rule: &771 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 + rule: &772 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) @@ -126177,11 +126563,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - rule: *771 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 + rule: *772 sender: *4 required: - action @@ -126369,11 +126755,11 @@ webhooks: - everyone required: - from - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - rule: *771 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 + rule: *772 sender: *4 required: - action @@ -126457,7 +126843,7 @@ webhooks: type: string enum: - completed - check_run: &773 + check_run: &774 title: CheckRun description: A check performed on the code of a given code change type: object @@ -126567,7 +126953,7 @@ webhooks: - examples: - neutral - deployment: *772 + deployment: *773 details_url: type: string examples: @@ -126665,10 +127051,10 @@ webhooks: - output - app - pull_requests - installation: *768 - enterprise: *767 - organization: *769 - repository: *770 + installation: *769 + enterprise: *768 + organization: *770 + repository: *771 sender: *4 required: - check_run @@ -127059,11 +127445,11 @@ webhooks: type: string enum: - created - check_run: *773 - installation: *768 - enterprise: *767 - organization: *769 - repository: *770 + check_run: *774 + installation: *769 + enterprise: *768 + organization: *770 + repository: *771 sender: *4 required: - check_run @@ -127457,11 +127843,11 @@ webhooks: type: string enum: - requested_action - check_run: *773 - installation: *768 - enterprise: *767 - organization: *769 - repository: *770 + check_run: *774 + installation: *769 + enterprise: *768 + organization: *770 + repository: *771 requested_action: description: The action requested by the user. type: object @@ -127864,11 +128250,11 @@ webhooks: type: string enum: - rerequested - check_run: *773 - installation: *768 - enterprise: *767 - organization: *769 - repository: *770 + check_run: *774 + installation: *769 + enterprise: *768 + organization: *770 + repository: *771 sender: *4 required: - check_run @@ -128853,10 +129239,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -129570,10 +129956,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -130281,10 +130667,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -130605,20 +130991,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &774 + commit_oid: &775 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: *767 - installation: *768 - organization: *769 - ref: &775 + enterprise: *768 + installation: *769 + organization: *770 + ref: &776 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: *770 + repository: *771 sender: *4 required: - action @@ -131026,12 +131412,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *774 - enterprise: *767 - installation: *768 - organization: *769 - ref: *775 - repository: *770 + commit_oid: *775 + enterprise: *768 + installation: *769 + organization: *770 + ref: *776 + repository: *771 sender: *4 required: - action @@ -131314,12 +131700,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *774 - enterprise: *767 - installation: *768 - organization: *769 - ref: *775 - repository: *770 + commit_oid: *775 + enterprise: *768 + installation: *769 + organization: *770 + ref: *776 + repository: *771 sender: *4 required: - action @@ -131665,12 +132051,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *774 - enterprise: *767 - installation: *768 - organization: *769 - ref: *775 - repository: *770 + commit_oid: *775 + enterprise: *768 + installation: *769 + organization: *770 + ref: *776 + repository: *771 sender: *4 required: - action @@ -131960,9 +132346,9 @@ webhooks: type: - string - 'null' - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -131970,7 +132356,7 @@ webhooks: type: - string - 'null' - repository: *770 + repository: *771 sender: *4 required: - action @@ -132216,12 +132602,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *774 - enterprise: *767 - installation: *768 - organization: *769 - ref: *775 - repository: *770 + commit_oid: *775 + enterprise: *768 + installation: *769 + organization: *770 + ref: *776 + repository: *771 sender: *4 required: - action @@ -132542,10 +132928,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -132805,10 +133191,10 @@ webhooks: - updated_at - author_association - body - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -132889,18 +133275,18 @@ webhooks: type: - string - 'null' - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *769 - pusher_type: &776 + organization: *770 + pusher_type: &777 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &777 + ref: &778 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -132910,7 +133296,7 @@ webhooks: enum: - tag - branch - repository: *770 + repository: *771 sender: *4 required: - ref @@ -132993,9 +133379,9 @@ webhooks: enum: - created definition: *292 - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 sender: *4 required: - action @@ -133080,9 +133466,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 sender: *4 required: - action @@ -133160,9 +133546,9 @@ webhooks: enum: - promote_to_enterprise definition: *292 - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 sender: *4 required: - action @@ -133240,9 +133626,9 @@ webhooks: enum: - updated definition: *292 - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 sender: *4 required: - action @@ -133319,10 +133705,10 @@ webhooks: type: string enum: - updated - enterprise: *767 - installation: *768 - repository: *770 - organization: *769 + enterprise: *768 + installation: *769 + repository: *771 + organization: *770 sender: *4 new_property_values: type: array @@ -133407,18 +133793,18 @@ webhooks: title: delete event type: object properties: - enterprise: *767 - installation: *768 - organization: *769 - pusher_type: *776 - ref: *777 + enterprise: *768 + installation: *769 + organization: *770 + pusher_type: *777 + ref: *778 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *770 + repository: *771 sender: *4 required: - ref @@ -133499,10 +133885,10 @@ webhooks: enum: - assignees_changed alert: *493 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + installation: *769 + organization: *770 + enterprise: *768 + repository: *771 sender: *4 required: - action @@ -133583,10 +133969,10 @@ webhooks: enum: - auto_dismissed alert: *493 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + installation: *769 + organization: *770 + enterprise: *768 + repository: *771 sender: *4 required: - action @@ -133668,10 +134054,10 @@ webhooks: enum: - auto_reopened alert: *493 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + installation: *769 + organization: *770 + enterprise: *768 + repository: *771 sender: *4 required: - action @@ -133753,10 +134139,10 @@ webhooks: enum: - created alert: *493 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + installation: *769 + organization: *770 + enterprise: *768 + repository: *771 sender: *4 required: - action @@ -133836,10 +134222,10 @@ webhooks: enum: - dismissed alert: *493 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + installation: *769 + organization: *770 + enterprise: *768 + repository: *771 sender: *4 required: - action @@ -133919,10 +134305,10 @@ webhooks: enum: - fixed alert: *493 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + installation: *769 + organization: *770 + enterprise: *768 + repository: *771 sender: *4 required: - action @@ -134003,10 +134389,10 @@ webhooks: enum: - reintroduced alert: *493 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + installation: *769 + organization: *770 + enterprise: *768 + repository: *771 sender: *4 required: - action @@ -134086,10 +134472,10 @@ webhooks: enum: - reopened alert: *493 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + installation: *769 + organization: *770 + enterprise: *768 + repository: *771 sender: *4 required: - action @@ -134166,9 +134552,9 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - key: &778 + enterprise: *768 + installation: *769 + key: &779 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -134206,8 +134592,8 @@ webhooks: - verified - created_at - read_only - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -134284,11 +134670,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - key: *778 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + key: *779 + organization: *770 + repository: *771 sender: *4 required: - action @@ -134855,12 +135241,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - workflow: &782 + workflow: &783 title: Workflow type: - object @@ -135615,9 +136001,9 @@ webhooks: pull_requests: type: array items: *602 - repository: *770 - organization: *769 - installation: *768 + repository: *771 + organization: *770 + installation: *769 sender: *4 responses: '200': @@ -135688,7 +136074,7 @@ webhooks: type: string enum: - approved - approver: &779 + approver: &780 type: object properties: avatar_url: @@ -135731,11 +136117,11 @@ webhooks: type: string comment: type: string - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - reviewers: &780 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 + reviewers: &781 type: array items: type: object @@ -135816,7 +136202,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &781 + workflow_job_run: &782 type: object properties: conclusion: @@ -136562,18 +136948,18 @@ webhooks: type: string enum: - rejected - approver: *779 + approver: *780 comment: type: string - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - reviewers: *780 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 + reviewers: *781 sender: *4 since: type: string - workflow_job_run: *781 + workflow_job_run: *782 workflow_job_runs: type: array items: @@ -137290,13 +137676,13 @@ webhooks: type: string enum: - requested - enterprise: *767 + enterprise: *768 environment: type: string - installation: *768 - organization: *769 - repository: *770 - requestor: &787 + installation: *769 + organization: *770 + repository: *771 + requestor: &788 title: User type: - object @@ -139229,12 +139615,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - workflow: *782 + workflow: *783 workflow_run: title: Deployment Workflow Run type: @@ -139925,7 +140311,7 @@ webhooks: type: string enum: - answered - answer: &785 + answer: &786 type: object properties: author_association: @@ -140085,11 +140471,11 @@ webhooks: - created_at - updated_at - body - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -140216,11 +140602,11 @@ webhooks: - from required: - category - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -140303,11 +140689,11 @@ webhooks: type: string enum: - closed - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -140389,7 +140775,7 @@ webhooks: type: string enum: - created - comment: &784 + comment: &785 type: object properties: author_association: @@ -140549,11 +140935,11 @@ webhooks: - updated_at - body - reactions - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -140636,12 +141022,12 @@ webhooks: type: string enum: - deleted - comment: *784 - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + comment: *785 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -140736,12 +141122,12 @@ webhooks: - from required: - body - comment: *784 - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + comment: *785 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -140825,11 +141211,11 @@ webhooks: type: string enum: - created - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -140911,11 +141297,11 @@ webhooks: type: string enum: - deleted - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -141015,11 +141401,11 @@ webhooks: type: string required: - from - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -141101,10 +141487,10 @@ webhooks: type: string enum: - labeled - discussion: *783 - enterprise: *767 - installation: *768 - label: &786 + discussion: *784 + enterprise: *768 + installation: *769 + label: &787 title: Label type: object properties: @@ -141137,8 +141523,8 @@ webhooks: - color - default - description - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -141221,11 +141607,11 @@ webhooks: type: string enum: - locked - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -141307,11 +141693,11 @@ webhooks: type: string enum: - pinned - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -141393,11 +141779,11 @@ webhooks: type: string enum: - reopened - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -141482,16 +141868,16 @@ webhooks: changes: type: object properties: - new_discussion: *783 - new_repository: *770 + new_discussion: *784 + new_repository: *771 required: - new_discussion - new_repository - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -141574,10 +141960,10 @@ webhooks: type: string enum: - unanswered - discussion: *783 - old_answer: *785 - organization: *769 - repository: *770 + discussion: *784 + old_answer: *786 + organization: *770 + repository: *771 sender: *4 required: - action @@ -141659,12 +142045,12 @@ webhooks: type: string enum: - unlabeled - discussion: *783 - enterprise: *767 - installation: *768 - label: *786 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + label: *787 + organization: *770 + repository: *771 sender: *4 required: - action @@ -141747,11 +142133,11 @@ webhooks: type: string enum: - unlocked - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -141833,11 +142219,11 @@ webhooks: type: string enum: - unpinned - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -141910,7 +142296,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *767 + enterprise: *768 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -142588,9 +142974,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *768 - organization: *769 - repository: *770 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - forkee @@ -142736,9 +143122,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 pages: description: The pages that were updated. type: array @@ -142776,7 +143162,7 @@ webhooks: - action - sha - html_url - repository: *770 + repository: *771 sender: *4 required: - pages @@ -142852,10 +143238,10 @@ webhooks: type: string enum: - created - enterprise: *767 + enterprise: *768 installation: *20 - organization: *769 - repositories: &788 + organization: *770 + repositories: &789 description: An array of repository objects that the installation can access. type: array @@ -142881,8 +143267,8 @@ webhooks: - name - full_name - private - repository: *770 - requester: *787 + repository: *771 + requester: *788 sender: *4 required: - action @@ -142957,11 +143343,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 + enterprise: *768 installation: *20 - organization: *769 - repositories: *788 - repository: *770 + organization: *770 + repositories: *789 + repository: *771 requester: type: - 'null' @@ -143038,11 +143424,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *767 + enterprise: *768 installation: *20 - organization: *769 - repositories: *788 - repository: *770 + organization: *770 + repositories: *789 + repository: *771 requester: type: - 'null' @@ -143119,10 +143505,10 @@ webhooks: type: string enum: - added - enterprise: *767 + enterprise: *768 installation: *20 - organization: *769 - repositories_added: &789 + organization: *770 + repositories_added: &790 description: An array of repository objects, which were added to the installation. type: array @@ -143168,15 +143554,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *770 - repository_selection: &790 + repository: *771 + repository_selection: &791 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *787 + requester: *788 sender: *4 required: - action @@ -143255,10 +143641,10 @@ webhooks: type: string enum: - removed - enterprise: *767 + enterprise: *768 installation: *20 - organization: *769 - repositories_added: *789 + organization: *770 + repositories_added: *790 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -143285,9 +143671,9 @@ webhooks: - name - full_name - private - repository: *770 - repository_selection: *790 - requester: *787 + repository: *771 + repository_selection: *791 + requester: *788 sender: *4 required: - action @@ -143366,11 +143752,11 @@ webhooks: type: string enum: - suspend - enterprise: *767 + enterprise: *768 installation: *20 - organization: *769 - repositories: *788 - repository: *770 + organization: *770 + repositories: *789 + repository: *771 requester: type: - 'null' @@ -143552,10 +143938,10 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 target_type: type: string @@ -143634,11 +144020,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *767 + enterprise: *768 installation: *20 - organization: *769 - repositories: *788 - repository: *770 + organization: *770 + repositories: *789 + repository: *771 requester: type: - 'null' @@ -143894,8 +144280,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -144707,8 +145093,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145069,8 +145455,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -145150,7 +145536,7 @@ webhooks: type: string enum: - deleted - comment: &791 + comment: &792 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -145325,8 +145711,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -146134,8 +146520,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146498,8 +146884,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -146579,7 +146965,7 @@ webhooks: type: string enum: - edited - changes: &815 + changes: &816 description: The changes to the comment. type: object properties: @@ -146591,9 +146977,9 @@ webhooks: type: string required: - from - comment: *791 - enterprise: *767 - installation: *768 + comment: *792 + enterprise: *768 + installation: *769 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -147404,8 +147790,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147766,8 +148152,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -147848,9 +148234,9 @@ webhooks: type: string enum: - pinned - comment: *791 - enterprise: *767 - installation: *768 + comment: *792 + enterprise: *768 + installation: *769 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -148663,8 +149049,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149027,8 +149413,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -149108,9 +149494,9 @@ webhooks: type: string enum: - unpinned - comment: *791 - enterprise: *767 - installation: *768 + comment: *792 + enterprise: *768 + installation: *769 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -149923,8 +150309,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150287,8 +150673,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -150377,9 +150763,9 @@ webhooks: type: number blocking_issue: *83 blocking_issue_repo: *79 - installation: *768 - organization: *769 - repository: *770 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -150468,9 +150854,9 @@ webhooks: type: number blocking_issue: *83 blocking_issue_repo: *79 - installation: *768 - organization: *769 - repository: *770 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -150558,9 +150944,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *83 - installation: *768 - organization: *769 - repository: *770 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -150649,9 +151035,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *83 - installation: *768 - organization: *769 - repository: *770 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -150731,10 +151117,10 @@ webhooks: type: string enum: - assigned - assignee: *787 - enterprise: *767 - installation: *768 - issue: &792 + assignee: *788 + enterprise: *768 + installation: *769 + issue: &793 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -151545,8 +151931,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -151669,8 +152055,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -151750,8 +152136,8 @@ webhooks: type: string enum: - closed - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -152567,8 +152953,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -152834,8 +153220,8 @@ webhooks: required: - state - closed_at - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -152914,8 +153300,8 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -153722,8 +154108,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -153845,8 +154231,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -153925,8 +154311,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -154756,8 +155142,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -154858,7 +155244,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &793 + milestone: &794 title: Milestone description: A collection of related issues and pull requests. type: object @@ -155001,8 +155387,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -155101,8 +155487,8 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -155913,8 +156299,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -156037,9 +156423,9 @@ webhooks: - active_lock_reason - body - reactions - label: *786 - organization: *769 - repository: *770 + label: *787 + organization: *770 + repository: *771 sender: *4 required: - action @@ -156119,9 +156505,9 @@ webhooks: type: string enum: - field_added - enterprise: *767 - installation: *768 - issue: *792 + enterprise: *768 + installation: *769 + issue: *793 issue_field: type: object description: The issue field whose value was set or updated on the @@ -156287,8 +156673,8 @@ webhooks: - id required: - from - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -156368,9 +156754,9 @@ webhooks: type: string enum: - field_removed - enterprise: *767 - installation: *768 - issue: *792 + enterprise: *768 + installation: *769 + issue: *793 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -156457,8 +156843,8 @@ webhooks: - 'null' required: - id - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -156538,8 +156924,8 @@ webhooks: type: string enum: - labeled - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -157349,8 +157735,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -157473,9 +157859,9 @@ webhooks: - active_lock_reason - body - reactions - label: *786 - organization: *769 - repository: *770 + label: *787 + organization: *770 + repository: *771 sender: *4 required: - action @@ -157555,8 +157941,8 @@ webhooks: type: string enum: - locked - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -158391,8 +158777,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -158492,8 +158878,8 @@ webhooks: format: uri user_view_type: type: string - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -158572,8 +158958,8 @@ webhooks: type: string enum: - milestoned - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -159402,8 +159788,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -159503,9 +159889,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *793 - organization: *769 - repository: *770 + milestone: *794 + organization: *770 + repository: *771 sender: *4 required: - action @@ -160392,8 +160778,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -160988,8 +161374,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -161796,8 +162182,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -161923,8 +162309,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -162004,9 +162390,9 @@ webhooks: type: string enum: - pinned - enterprise: *767 - installation: *768 - issue: &794 + enterprise: *768 + installation: *769 + issue: &795 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -162811,8 +163197,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -162934,8 +163320,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -163014,8 +163400,8 @@ webhooks: type: string enum: - reopened - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -163848,8 +164234,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -163950,8 +164336,8 @@ webhooks: user_view_type: type: string type: *246 - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -164839,8 +165225,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -165453,11 +165839,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *767 - installation: *768 - issue: *794 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + issue: *795 + organization: *770 + repository: *771 sender: *4 required: - action @@ -165537,12 +165923,12 @@ webhooks: type: string enum: - typed - enterprise: *767 - installation: *768 - issue: *792 + enterprise: *768 + installation: *769 + issue: *793 type: *246 - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -165623,7 +166009,7 @@ webhooks: type: string enum: - unassigned - assignee: &818 + assignee: &819 title: User type: - object @@ -165695,11 +166081,11 @@ webhooks: required: - login - id - enterprise: *767 - installation: *768 - issue: *792 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + issue: *793 + organization: *770 + repository: *771 sender: *4 required: - action @@ -165778,12 +166164,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *767 - installation: *768 - issue: *792 - label: *786 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + issue: *793 + label: *787 + organization: *770 + repository: *771 sender: *4 required: - action @@ -165863,8 +166249,8 @@ webhooks: type: string enum: - unlocked - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -166697,8 +167083,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -166798,8 +167184,8 @@ webhooks: format: uri user_view_type: type: string - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -166879,11 +167265,11 @@ webhooks: type: string enum: - unpinned - enterprise: *767 - installation: *768 - issue: *794 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + issue: *795 + organization: *770 + repository: *771 sender: *4 required: - action @@ -166962,12 +167348,12 @@ webhooks: type: string enum: - untyped - enterprise: *767 - installation: *768 - issue: *792 + enterprise: *768 + installation: *769 + issue: *793 type: *246 - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -167047,11 +167433,11 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - label: *786 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + label: *787 + organization: *770 + repository: *771 sender: *4 required: - action @@ -167129,11 +167515,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - label: *786 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + label: *787 + organization: *770 + repository: *771 sender: *4 required: - action @@ -167243,11 +167629,11 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - label: *786 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + label: *787 + organization: *770 + repository: *771 sender: *4 required: - action @@ -167329,9 +167715,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *767 - installation: *768 - marketplace_purchase: &795 + enterprise: *768 + installation: *769 + marketplace_purchase: &796 title: Marketplace Purchase type: object required: @@ -167419,8 +167805,8 @@ webhooks: type: integer unit_count: type: integer - organization: *769 - previous_marketplace_purchase: &796 + organization: *770 + previous_marketplace_purchase: &797 title: Marketplace Purchase type: object properties: @@ -167504,7 +167890,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *770 + repository: *771 sender: *4 required: - action @@ -167584,10 +167970,10 @@ webhooks: - changed effective_date: type: string - enterprise: *767 - installation: *768 - marketplace_purchase: *795 - organization: *769 + enterprise: *768 + installation: *769 + marketplace_purchase: *796 + organization: *770 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -167675,7 +168061,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *770 + repository: *771 sender: *4 required: - action @@ -167757,10 +168143,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *767 - installation: *768 - marketplace_purchase: *795 - organization: *769 + enterprise: *768 + installation: *769 + marketplace_purchase: *796 + organization: *770 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -167846,7 +168232,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *770 + repository: *771 sender: *4 required: - action @@ -167927,8 +168313,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 marketplace_purchase: title: Marketplace Purchase type: object @@ -168014,9 +168400,9 @@ webhooks: type: integer unit_count: type: integer - organization: *769 - previous_marketplace_purchase: *796 - repository: *770 + organization: *770 + previous_marketplace_purchase: *797 + repository: *771 sender: *4 required: - action @@ -168096,12 +168482,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *767 - installation: *768 - marketplace_purchase: *795 - organization: *769 - previous_marketplace_purchase: *796 - repository: *770 + enterprise: *768 + installation: *769 + marketplace_purchase: *796 + organization: *770 + previous_marketplace_purchase: *797 + repository: *771 sender: *4 required: - action @@ -168203,11 +168589,11 @@ webhooks: type: string required: - to - enterprise: *767 - installation: *768 - member: *787 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + member: *788 + organization: *770 + repository: *771 sender: *4 required: - action @@ -168309,11 +168695,11 @@ webhooks: type: - string - 'null' - enterprise: *767 - installation: *768 - member: *787 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + member: *788 + organization: *770 + repository: *771 sender: *4 required: - action @@ -168392,11 +168778,11 @@ webhooks: type: string enum: - removed - enterprise: *767 - installation: *768 - member: *787 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + member: *788 + organization: *770 + repository: *771 sender: *4 required: - action @@ -168474,11 +168860,11 @@ webhooks: type: string enum: - added - enterprise: *767 - installation: *768 - member: *787 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + member: *788 + organization: *770 + repository: *771 scope: description: The scope of the membership. Currently, can only be `team`. @@ -168556,7 +168942,7 @@ webhooks: required: - login - id - team: &797 + team: &798 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -168786,11 +169172,11 @@ webhooks: type: string enum: - removed - enterprise: *767 - installation: *768 - member: *787 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + member: *788 + organization: *770 + repository: *771 scope: description: The scope of the membership. Currently, can only be `team`. @@ -168869,7 +169255,7 @@ webhooks: required: - login - id - team: *797 + team: *798 required: - action - scope @@ -168951,8 +169337,8 @@ webhooks: type: string enum: - checks_requested - installation: *768 - merge_group: &798 + installation: *769 + merge_group: &799 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -168978,8 +169364,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -169065,10 +169451,10 @@ webhooks: - merged - invalidated - dequeued - installation: *768 - merge_group: *798 - organization: *769 - repository: *770 + installation: *769 + merge_group: *799 + organization: *770 + repository: *771 sender: *4 required: - action @@ -169141,7 +169527,7 @@ webhooks: type: string enum: - deleted - enterprise: *767 + enterprise: *768 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -169250,12 +169636,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *768 - organization: *769 + installation: *769 + organization: *770 repository: anyOf: - type: 'null' - - *770 + - *771 sender: *4 required: - action @@ -169335,11 +169721,11 @@ webhooks: type: string enum: - closed - enterprise: *767 - installation: *768 - milestone: *793 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + milestone: *794 + organization: *770 + repository: *771 sender: *4 required: - action @@ -169418,9 +169804,9 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - milestone: &799 + enterprise: *768 + installation: *769 + milestone: &800 title: Milestone description: A collection of related issues and pull requests. type: object @@ -169562,8 +169948,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -169642,11 +170028,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - milestone: *793 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + milestone: *794 + organization: *770 + repository: *771 sender: *4 required: - action @@ -169756,11 +170142,11 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - milestone: *793 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + milestone: *794 + organization: *770 + repository: *771 sender: *4 required: - action @@ -169840,11 +170226,11 @@ webhooks: type: string enum: - opened - enterprise: *767 - installation: *768 - milestone: *799 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + milestone: *800 + organization: *770 + repository: *771 sender: *4 required: - action @@ -169923,11 +170309,11 @@ webhooks: type: string enum: - blocked - blocked_user: *787 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + blocked_user: *788 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -170006,11 +170392,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *787 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + blocked_user: *788 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -170089,9 +170475,9 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - membership: &800 + enterprise: *768 + installation: *769 + membership: &801 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -170201,8 +170587,8 @@ webhooks: - role - organization_url - user - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -170280,11 +170666,11 @@ webhooks: type: string enum: - member_added - enterprise: *767 - installation: *768 - membership: *800 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + membership: *801 + organization: *770 + repository: *771 sender: *4 required: - action @@ -170363,8 +170749,8 @@ webhooks: type: string enum: - member_invited - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -170486,10 +170872,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 - user: *787 + user: *788 required: - action - invitation @@ -170567,11 +170953,11 @@ webhooks: type: string enum: - member_removed - enterprise: *767 - installation: *768 - membership: *800 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + membership: *801 + organization: *770 + repository: *771 sender: *4 required: - action @@ -170658,11 +171044,11 @@ webhooks: properties: from: type: string - enterprise: *767 - installation: *768 - membership: *800 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + membership: *801 + organization: *770 + repository: *771 sender: *4 required: - action @@ -170739,9 +171125,9 @@ webhooks: type: string enum: - published - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 package: description: Information about the package. type: object @@ -171264,7 +171650,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &801 + items: &802 title: Ruby Gems metadata type: object properties: @@ -171361,7 +171747,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *771 sender: *4 required: - action @@ -171437,9 +171823,9 @@ webhooks: type: string enum: - updated - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 package: description: Information about the package. type: object @@ -171801,7 +172187,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *801 + items: *802 source_url: type: string format: uri @@ -171872,7 +172258,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *771 sender: *4 required: - action @@ -172052,12 +172438,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *767 + enterprise: *768 id: type: integer - installation: *768 - organization: *769 - repository: *770 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - id @@ -172134,7 +172520,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &802 + personal_access_token_request: &803 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -172284,10 +172670,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *767 - organization: *769 + enterprise: *768 + organization: *770 sender: *4 - installation: *768 + installation: *769 required: - action - personal_access_token_request @@ -172364,11 +172750,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *802 - enterprise: *767 - organization: *769 + personal_access_token_request: *803 + enterprise: *768 + organization: *770 sender: *4 - installation: *768 + installation: *769 required: - action - personal_access_token_request @@ -172444,11 +172830,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *802 - enterprise: *767 - organization: *769 + personal_access_token_request: *803 + enterprise: *768 + organization: *770 sender: *4 - installation: *768 + installation: *769 required: - action - personal_access_token_request @@ -172523,11 +172909,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *802 - organization: *769 - enterprise: *767 + personal_access_token_request: *803 + organization: *770 + enterprise: *768 sender: *4 - installation: *768 + installation: *769 required: - action - personal_access_token_request @@ -172632,7 +173018,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *803 + last_response: *804 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -172664,8 +173050,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 zen: description: Random string of GitHub zen. @@ -172910,10 +173296,10 @@ webhooks: - from required: - note - enterprise: *767 - installation: *768 - organization: *769 - project_card: &804 + enterprise: *768 + installation: *769 + organization: *770 + project_card: &805 title: Project Card type: object properties: @@ -173036,7 +173422,7 @@ webhooks: - creator - created_at - updated_at - repository: *770 + repository: *771 sender: *4 required: - action @@ -173117,11 +173503,11 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - project_card: *804 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + project_card: *805 + repository: *771 sender: *4 required: - action @@ -173201,9 +173587,9 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 project_card: title: Project Card type: object @@ -173333,7 +173719,7 @@ webhooks: repository: anyOf: - type: 'null' - - *770 + - *771 sender: *4 required: - action @@ -173427,11 +173813,11 @@ webhooks: - from required: - note - enterprise: *767 - installation: *768 - organization: *769 - project_card: *804 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + project_card: *805 + repository: *771 sender: *4 required: - action @@ -173525,9 +173911,9 @@ webhooks: - from required: - column_id - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 project_card: allOf: - title: Project Card @@ -173724,7 +174110,7 @@ webhooks: type: string required: - after_id - repository: *770 + repository: *771 sender: *4 required: - action @@ -173804,10 +174190,10 @@ webhooks: type: string enum: - closed - enterprise: *767 - installation: *768 - organization: *769 - project: &806 + enterprise: *768 + installation: *769 + organization: *770 + project: &807 title: Project type: object properties: @@ -173934,7 +174320,7 @@ webhooks: - creator - created_at - updated_at - repository: *770 + repository: *771 sender: *4 required: - action @@ -174014,10 +174400,10 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - project_column: &805 + enterprise: *768 + installation: *769 + organization: *770 + project_column: &806 title: Project Column type: object properties: @@ -174057,7 +174443,7 @@ webhooks: - name - created_at - updated_at - repository: *770 + repository: *771 sender: *4 required: - action @@ -174136,14 +174522,14 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - project_column: *805 + enterprise: *768 + installation: *769 + organization: *770 + project_column: *806 repository: anyOf: - type: 'null' - - *770 + - *771 sender: *4 required: - action @@ -174232,11 +174618,11 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - organization: *769 - project_column: *805 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + project_column: *806 + repository: *771 sender: *4 required: - action @@ -174316,11 +174702,11 @@ webhooks: type: string enum: - moved - enterprise: *767 - installation: *768 - organization: *769 - project_column: *805 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + project_column: *806 + repository: *771 sender: *4 required: - action @@ -174400,11 +174786,11 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - project: *806 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + project: *807 + repository: *771 sender: *4 required: - action @@ -174484,14 +174870,14 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - project: *806 + enterprise: *768 + installation: *769 + organization: *770 + project: *807 repository: anyOf: - type: 'null' - - *770 + - *771 sender: *4 required: - action @@ -174592,11 +174978,11 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - organization: *769 - project: *806 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + project: *807 + repository: *771 sender: *4 required: - action @@ -174675,11 +175061,11 @@ webhooks: type: string enum: - reopened - enterprise: *767 - installation: *768 - organization: *769 - project: *806 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + project: *807 + repository: *771 sender: *4 required: - action @@ -174760,8 +175146,8 @@ webhooks: type: string enum: - closed - installation: *768 - organization: *769 + installation: *769 + organization: *770 projects_v2: *279 sender: *4 required: @@ -174843,8 +175229,8 @@ webhooks: type: string enum: - created - installation: *768 - organization: *769 + installation: *769 + organization: *770 projects_v2: *279 sender: *4 required: @@ -174926,8 +175312,8 @@ webhooks: type: string enum: - deleted - installation: *768 - organization: *769 + installation: *769 + organization: *770 projects_v2: *279 sender: *4 required: @@ -175049,8 +175435,8 @@ webhooks: type: string to: type: string - installation: *768 - organization: *769 + installation: *769 + organization: *770 projects_v2: *279 sender: *4 required: @@ -175134,7 +175520,7 @@ webhooks: type: string enum: - archived - changes: &810 + changes: &811 type: object properties: archived_at: @@ -175150,9 +175536,9 @@ webhooks: - string - 'null' format: date-time - installation: *768 - organization: *769 - projects_v2_item: &807 + installation: *769 + organization: *770 + projects_v2_item: &808 title: Projects v2 Item description: An item belonging to a project type: object @@ -175292,9 +175678,9 @@ webhooks: - 'null' to: type: string - installation: *768 - organization: *769 - projects_v2_item: *807 + installation: *769 + organization: *770 + projects_v2_item: *808 sender: *4 required: - action @@ -175376,9 +175762,9 @@ webhooks: type: string enum: - created - installation: *768 - organization: *769 - projects_v2_item: *807 + installation: *769 + organization: *770 + projects_v2_item: *808 sender: *4 required: - action @@ -175459,9 +175845,9 @@ webhooks: type: string enum: - deleted - installation: *768 - organization: *769 - projects_v2_item: *807 + installation: *769 + organization: *770 + projects_v2_item: *808 sender: *4 required: - action @@ -175566,7 +175952,7 @@ webhooks: oneOf: - type: string - type: integer - - &808 + - &809 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -175590,7 +175976,7 @@ webhooks: required: - id - name - - &809 + - &810 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -175630,8 +176016,8 @@ webhooks: oneOf: - type: string - type: integer - - *808 - *809 + - *810 type: - 'null' - string @@ -175654,9 +176040,9 @@ webhooks: - 'null' required: - body - installation: *768 - organization: *769 - projects_v2_item: *807 + installation: *769 + organization: *770 + projects_v2_item: *808 sender: *4 required: - action @@ -175753,9 +176139,9 @@ webhooks: type: - string - 'null' - installation: *768 - organization: *769 - projects_v2_item: *807 + installation: *769 + organization: *770 + projects_v2_item: *808 sender: *4 required: - action @@ -175838,10 +176224,10 @@ webhooks: type: string enum: - restored - changes: *810 - installation: *768 - organization: *769 - projects_v2_item: *807 + changes: *811 + installation: *769 + organization: *770 + projects_v2_item: *808 sender: *4 required: - action @@ -175923,8 +176309,8 @@ webhooks: type: string enum: - reopened - installation: *768 - organization: *769 + installation: *769 + organization: *770 projects_v2: *279 sender: *4 required: @@ -176006,9 +176392,9 @@ webhooks: type: string enum: - created - installation: *768 - organization: *769 - projects_v2_status_update: *811 + installation: *769 + organization: *770 + projects_v2_status_update: *812 sender: *4 required: - action @@ -176089,9 +176475,9 @@ webhooks: type: string enum: - deleted - installation: *768 - organization: *769 - projects_v2_status_update: *811 + installation: *769 + organization: *770 + projects_v2_status_update: *812 sender: *4 required: - action @@ -176237,9 +176623,9 @@ webhooks: - string - 'null' format: date - installation: *768 - organization: *769 - projects_v2_status_update: *811 + installation: *769 + organization: *770 + projects_v2_status_update: *812 sender: *4 required: - action @@ -176310,10 +176696,10 @@ webhooks: title: public event type: object properties: - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - repository @@ -176390,13 +176776,13 @@ webhooks: type: string enum: - assigned - assignee: *787 - enterprise: *767 - installation: *768 - number: &812 + assignee: *788 + enterprise: *768 + installation: *769 + number: &813 description: The pull request number. type: integer - organization: *769 + organization: *770 pull_request: title: Pull Request type: object @@ -178768,7 +179154,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -178850,11 +179236,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 number: type: integer - organization: *769 + organization: *770 pull_request: title: Pull Request type: object @@ -181219,7 +181605,7 @@ webhooks: - draft reason: type: string - repository: *770 + repository: *771 sender: *4 required: - action @@ -181301,11 +181687,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 number: type: integer - organization: *769 + organization: *770 pull_request: title: Pull Request type: object @@ -183670,7 +184056,7 @@ webhooks: - draft reason: type: string - repository: *770 + repository: *771 sender: *4 required: - action @@ -183752,11 +184138,11 @@ webhooks: type: string enum: - closed - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: &813 + enterprise: *768 + installation: *769 + number: *813 + organization: *770 + pull_request: &814 allOf: - *602 - type: object @@ -183820,7 +184206,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *770 + repository: *771 sender: *4 required: - action @@ -183901,12 +184287,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: *813 - repository: *770 + enterprise: *768 + installation: *769 + number: *813 + organization: *770 + pull_request: *814 + repository: *771 sender: *4 required: - action @@ -183986,11 +184372,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *767 + enterprise: *768 milestone: *282 - number: *812 - organization: *769 - pull_request: &814 + number: *813 + organization: *770 + pull_request: &815 title: Pull Request type: object properties: @@ -186340,7 +186726,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -186419,11 +186805,11 @@ webhooks: type: string enum: - dequeued - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 number: type: integer - organization: *769 + organization: *770 pull_request: title: Pull Request type: object @@ -188792,7 +189178,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *770 + repository: *771 sender: *4 required: - action @@ -188916,12 +189302,12 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: *813 - repository: *770 + enterprise: *768 + installation: *769 + number: *813 + organization: *770 + pull_request: *814 + repository: *771 sender: *4 required: - action @@ -189001,11 +189387,11 @@ webhooks: type: string enum: - enqueued - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 number: type: integer - organization: *769 + organization: *770 pull_request: title: Pull Request type: object @@ -191359,7 +191745,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -191439,11 +191825,11 @@ webhooks: type: string enum: - labeled - enterprise: *767 - installation: *768 - label: *786 - number: *812 - organization: *769 + enterprise: *768 + installation: *769 + label: *787 + number: *813 + organization: *770 pull_request: title: Pull Request type: object @@ -193814,7 +194200,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -193895,10 +194281,10 @@ webhooks: type: string enum: - locked - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + enterprise: *768 + installation: *769 + number: *813 + organization: *770 pull_request: title: Pull Request type: object @@ -196267,7 +196653,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -196347,12 +196733,12 @@ webhooks: type: string enum: - milestoned - enterprise: *767 + enterprise: *768 milestone: *282 - number: *812 - organization: *769 - pull_request: *814 - repository: *770 + number: *813 + organization: *770 + pull_request: *815 + repository: *771 sender: *4 required: - action @@ -196431,12 +196817,12 @@ webhooks: type: string enum: - opened - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: *813 - repository: *770 + enterprise: *768 + installation: *769 + number: *813 + organization: *770 + pull_request: *814 + repository: *771 sender: *4 required: - action @@ -196517,12 +196903,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: *813 - repository: *770 + enterprise: *768 + installation: *769 + number: *813 + organization: *770 + pull_request: *814 + repository: *771 sender: *4 required: - action @@ -196602,12 +196988,12 @@ webhooks: type: string enum: - reopened - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: *813 - repository: *770 + enterprise: *768 + installation: *769 + number: *813 + organization: *770 + pull_request: *814 + repository: *771 sender: *4 required: - action @@ -196982,9 +197368,9 @@ webhooks: - start_side - side - reactions - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 pull_request: type: object properties: @@ -199237,7 +199623,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *770 + repository: *771 sender: *4 required: - action @@ -199317,7 +199703,7 @@ webhooks: type: string enum: - deleted - comment: &816 + comment: &817 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -199610,9 +199996,9 @@ webhooks: - start_side - side - reactions - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 pull_request: type: object properties: @@ -201853,7 +202239,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *770 + repository: *771 sender: *4 required: - action @@ -201933,11 +202319,11 @@ webhooks: type: string enum: - edited - changes: *815 - comment: *816 - enterprise: *767 - installation: *768 - organization: *769 + changes: *816 + comment: *817 + enterprise: *768 + installation: *769 + organization: *770 pull_request: type: object properties: @@ -204181,7 +204567,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *770 + repository: *771 sender: *4 required: - action @@ -204262,9 +204648,9 @@ webhooks: type: string enum: - dismissed - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 pull_request: title: Simple Pull Request type: object @@ -206520,7 +206906,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 + repository: *771 review: description: The review that was affected. type: object @@ -206771,9 +207157,9 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 pull_request: title: Simple Pull Request type: object @@ -208887,8 +209273,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 - review: &817 + repository: *771 + review: &818 description: The review that was affected. type: object properties: @@ -209126,12 +209512,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 number: description: The pull request number. type: integer - organization: *769 + organization: *770 pull_request: title: Pull Request type: object @@ -211501,7 +211887,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 requested_reviewer: title: User type: @@ -211587,12 +211973,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 number: description: The pull request number. type: integer - organization: *769 + organization: *770 pull_request: title: Pull Request type: object @@ -213969,7 +214355,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 requested_team: title: Team description: Groups of organization members that gives permissions @@ -214164,12 +214550,12 @@ webhooks: type: string enum: - review_requested - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 number: description: The pull request number. type: integer - organization: *769 + organization: *770 pull_request: title: Pull Request type: object @@ -216541,7 +216927,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 requested_reviewer: title: User type: @@ -216628,12 +217014,12 @@ webhooks: type: string enum: - review_requested - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 number: description: The pull request number. type: integer - organization: *769 + organization: *770 pull_request: title: Pull Request type: object @@ -218996,7 +219382,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 requested_team: title: Team description: Groups of organization members that gives permissions @@ -219180,9 +219566,9 @@ webhooks: type: string enum: - submitted - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 pull_request: title: Simple Pull Request type: object @@ -221441,8 +221827,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 - review: *817 + repository: *771 + review: *818 sender: *4 required: - action @@ -221522,9 +221908,9 @@ webhooks: type: string enum: - resolved - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 pull_request: title: Simple Pull Request type: object @@ -223678,7 +224064,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 + repository: *771 sender: *4 thread: type: object @@ -224075,9 +224461,9 @@ webhooks: type: string enum: - unresolved - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 pull_request: title: Simple Pull Request type: object @@ -226214,7 +226600,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 + repository: *771 sender: *4 thread: type: object @@ -226607,11 +226993,11 @@ webhooks: type: string enum: - stacked - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 stack: *599 - number: *812 - organization: *769 + number: *813 + organization: *770 pull_request: title: Pull Request type: object @@ -228982,7 +229368,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -229068,10 +229454,10 @@ webhooks: type: string before: type: string - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + enterprise: *768 + installation: *769 + number: *813 + organization: *770 pull_request: title: Pull Request type: object @@ -231429,7 +231815,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -231511,11 +231897,11 @@ webhooks: type: string enum: - unassigned - assignee: *818 - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + assignee: *819 + enterprise: *768 + installation: *769 + number: *813 + organization: *770 pull_request: title: Pull Request type: object @@ -233888,7 +234274,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -233967,11 +234353,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *767 - installation: *768 - label: *786 - number: *812 - organization: *769 + enterprise: *768 + installation: *769 + label: *787 + number: *813 + organization: *770 pull_request: title: Pull Request type: object @@ -236333,7 +236719,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -236414,10 +236800,10 @@ webhooks: type: string enum: - unlocked - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + enterprise: *768 + installation: *769 + number: *813 + organization: *770 pull_request: title: Pull Request type: object @@ -238769,7 +239155,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -238972,7 +239358,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *767 + enterprise: *768 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -239067,8 +239453,8 @@ webhooks: - url - author - committer - installation: *768 - organization: *769 + installation: *769 + organization: *770 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -239667,9 +240053,9 @@ webhooks: type: string enum: - published - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 registry_package: type: object properties: @@ -240146,7 +240532,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *801 + items: *802 summary: type: string tag_name: @@ -240202,7 +240588,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *771 sender: *4 required: - action @@ -240280,9 +240666,9 @@ webhooks: type: string enum: - updated - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 registry_package: type: object properties: @@ -240594,7 +240980,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *801 + items: *802 summary: type: string tag_name: @@ -240644,7 +241030,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *771 sender: *4 required: - action @@ -240721,10 +241107,10 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - release: &819 + enterprise: *768 + installation: *769 + organization: *770 + release: &820 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -241055,7 +241441,7 @@ webhooks: - updated_at - zipball_url - body - repository: *770 + repository: *771 sender: *4 required: - action @@ -241132,11 +241518,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - release: *819 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + release: *820 + repository: *771 sender: *4 required: - action @@ -241253,11 +241639,11 @@ webhooks: type: boolean required: - to - enterprise: *767 - installation: *768 - organization: *769 - release: *819 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + release: *820 + repository: *771 sender: *4 required: - action @@ -241335,9 +241721,9 @@ webhooks: type: string enum: - prereleased - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -241673,7 +242059,7 @@ webhooks: - string - 'null' format: uri - repository: *770 + repository: *771 sender: *4 required: - action @@ -241749,10 +242135,10 @@ webhooks: type: string enum: - published - enterprise: *767 - installation: *768 - organization: *769 - release: &820 + enterprise: *768 + installation: *769 + organization: *770 + release: &821 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -242085,7 +242471,7 @@ webhooks: - string - 'null' format: uri - repository: *770 + repository: *771 sender: *4 required: - action @@ -242161,11 +242547,11 @@ webhooks: type: string enum: - released - enterprise: *767 - installation: *768 - organization: *769 - release: *819 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + release: *820 + repository: *771 sender: *4 required: - action @@ -242241,11 +242627,11 @@ webhooks: type: string enum: - unpublished - enterprise: *767 - installation: *768 - organization: *769 - release: *820 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + release: *821 + repository: *771 sender: *4 required: - action @@ -242321,11 +242707,11 @@ webhooks: type: string enum: - published - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - repository_advisory: *687 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 + repository_advisory: *688 sender: *4 required: - action @@ -242401,11 +242787,11 @@ webhooks: type: string enum: - reported - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - repository_advisory: *687 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 + repository_advisory: *688 sender: *4 required: - action @@ -242481,10 +242867,10 @@ webhooks: type: string enum: - archived - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -242561,10 +242947,10 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -242642,10 +243028,10 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -242730,10 +243116,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -242848,10 +243234,10 @@ webhooks: - 'null' items: type: string - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -242923,10 +243309,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 status: type: string @@ -243007,10 +243393,10 @@ webhooks: type: string enum: - privatized - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -243087,10 +243473,10 @@ webhooks: type: string enum: - publicized - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -243184,10 +243570,10 @@ webhooks: - name required: - repository - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -243267,10 +243653,10 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 repository_ruleset: *324 sender: *4 required: @@ -243349,10 +243735,10 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 repository_ruleset: *324 sender: *4 required: @@ -243431,10 +243817,10 @@ webhooks: type: string enum: - edited - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 repository_ruleset: *324 changes: type: object @@ -243496,16 +243882,16 @@ webhooks: properties: added: type: array - items: *623 + items: *624 deleted: type: array - items: *623 + items: *624 updated: type: array items: type: object properties: - rule: *623 + rule: *624 changes: type: object properties: @@ -243742,10 +244128,10 @@ webhooks: - from required: - owner - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -243823,10 +244209,10 @@ webhooks: type: string enum: - unarchived - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -243904,7 +244290,7 @@ webhooks: type: string enum: - create - alert: &821 + alert: &822 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -244029,10 +244415,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -244242,10 +244628,10 @@ webhooks: type: string enum: - dismissed - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -244323,11 +244709,11 @@ webhooks: type: string enum: - reopen - alert: *821 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *822 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -244529,10 +244915,10 @@ webhooks: enum: - fixed - open - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -244610,7 +244996,7 @@ webhooks: type: string enum: - assigned - alert: &823 + alert: &824 type: object properties: number: *181 @@ -244757,12 +245143,12 @@ webhooks: anyOf: - type: 'null' - *4 - metadata: *822 + metadata: *823 assignee: *4 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -244840,11 +245226,11 @@ webhooks: type: string enum: - created - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *824 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -244925,11 +245311,11 @@ webhooks: type: string enum: - created - alert: *823 - installation: *768 - location: *824 - organization: *769 - repository: *770 + alert: *824 + installation: *769 + location: *825 + organization: *770 + repository: *771 sender: *4 required: - location @@ -245167,11 +245553,11 @@ webhooks: type: string enum: - metadata_created - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *824 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -245248,11 +245634,11 @@ webhooks: type: string enum: - metadata_removed - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *824 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -245329,11 +245715,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *824 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -245411,11 +245797,11 @@ webhooks: type: string enum: - reopened - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *824 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -245493,11 +245879,11 @@ webhooks: type: string enum: - resolved - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *824 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -245575,12 +245961,12 @@ webhooks: type: string enum: - unassigned - alert: *823 + alert: *824 assignee: *4 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -245658,11 +246044,11 @@ webhooks: type: string enum: - validated - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *824 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -245792,10 +246178,10 @@ webhooks: - organization - enterprise - - repository: *770 - enterprise: *767 - installation: *768 - organization: *769 + repository: *771 + enterprise: *768 + installation: *769 + organization: *770 sender: *4 required: - action @@ -245873,11 +246259,11 @@ webhooks: type: string enum: - published - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - security_advisory: &825 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 + security_advisory: &826 description: The details of the security advisory, including summary, description, and severity. type: object @@ -246063,11 +246449,11 @@ webhooks: type: string enum: - updated - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - security_advisory: *825 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 + security_advisory: *826 sender: *4 required: - action @@ -246140,10 +246526,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -246330,9 +246716,9 @@ webhooks: type: object properties: security_and_analysis: *297 - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 repository: *343 sender: *4 required: @@ -246411,12 +246797,12 @@ webhooks: type: string enum: - cancelled - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - sponsorship: &826 + sponsorship: &827 type: object properties: created_at: @@ -246721,12 +247107,12 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - sponsorship: *826 + sponsorship: *827 required: - action - sponsorship @@ -246814,12 +247200,12 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - sponsorship: *826 + sponsorship: *827 required: - action - changes @@ -246896,17 +247282,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &827 + effective_date: &828 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: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - sponsorship: *826 + sponsorship: *827 required: - action - sponsorship @@ -246980,7 +247366,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &828 + changes: &829 type: object properties: tier: @@ -247024,13 +247410,13 @@ webhooks: - from required: - tier - effective_date: *827 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + effective_date: *828 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - sponsorship: *826 + sponsorship: *827 required: - action - changes @@ -247107,13 +247493,13 @@ webhooks: type: string enum: - tier_changed - changes: *828 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + changes: *829 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - sponsorship: *826 + sponsorship: *827 required: - action - changes @@ -247187,10 +247573,10 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -247274,10 +247660,10 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -247711,15 +248097,15 @@ webhooks: type: - string - 'null' - enterprise: *767 + enterprise: *768 id: description: The unique identifier of the status. type: integer - installation: *768 + installation: *769 name: type: string - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 sha: description: The Commit SHA. @@ -247835,9 +248221,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *83 - installation: *768 - organization: *769 - repository: *770 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -247926,9 +248312,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *83 - installation: *768 - organization: *769 - repository: *770 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -248017,9 +248403,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *83 - installation: *768 - organization: *769 - repository: *770 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -248108,9 +248494,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *83 - installation: *768 - organization: *769 - repository: *770 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -248186,12 +248572,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - team: &829 + team: &830 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -248421,9 +248807,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 repository: title: Repository description: A git repository @@ -248893,7 +249279,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *830 required: - action - team @@ -248969,9 +249355,9 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 repository: title: Repository description: A git repository @@ -249441,7 +249827,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *830 required: - action - team @@ -249518,9 +249904,9 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 repository: title: Repository description: A git repository @@ -249990,7 +250376,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *830 required: - action - team @@ -250134,9 +250520,9 @@ webhooks: - from required: - permissions - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 repository: title: Repository description: A git repository @@ -250606,7 +250992,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *830 required: - action - changes @@ -250684,9 +251070,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 repository: title: Repository description: A git repository @@ -251156,7 +251542,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *830 required: - action - team @@ -251232,10 +251618,10 @@ webhooks: type: string enum: - started - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -251308,17 +251694,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *767 + enterprise: *768 inputs: type: - object - 'null' additionalProperties: true - installation: *768 - organization: *769 + installation: *769 + organization: *770 ref: type: string - repository: *770 + repository: *771 sender: *4 workflow: type: string @@ -251400,10 +251786,10 @@ webhooks: type: string enum: - completed - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 workflow_job: allOf: @@ -251738,10 +252124,10 @@ webhooks: type: string enum: - in_progress - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 workflow_job: allOf: @@ -252102,10 +252488,10 @@ webhooks: type: string enum: - queued - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 workflow_job: type: object @@ -252330,10 +252716,10 @@ webhooks: type: string enum: - waiting - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 workflow_job: type: object @@ -252560,12 +252946,12 @@ webhooks: type: string enum: - completed - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - workflow: *782 + workflow: *783 workflow_run: title: Workflow Run type: object @@ -253584,12 +253970,12 @@ webhooks: type: string enum: - in_progress - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - workflow: *782 + workflow: *783 workflow_run: title: Workflow Run type: object @@ -254593,12 +254979,12 @@ webhooks: type: string enum: - requested - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - workflow: *782 + workflow: *783 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json index 7395f330f2..23dd7e8341 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json @@ -66924,7 +66924,7 @@ "/meta": { "get": { "summary": "Get GitHub meta information", - "description": "Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://docs.github.com/articles/about-github-s-ip-addresses/).\"\n\nThe API's response also includes a list of GitHub's domain names.\n\nThe values shown in the documentation's response are example values. You must always query the API directly to get the latest values.\n\n> [!NOTE]\n> This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported.", + "description": "Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://docs.github.com/articles/about-github-s-ip-addresses/).\"\n\nThe API's response also includes a list of GitHub's domain names, and the public keys used by GitHub to sign commits made through the web UI.\n\nThe values shown in the documentation's response are example values. You must always query the API directly to get the latest values.\n\n> [!NOTE]\n> This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported.", "tags": [ "meta" ], @@ -168957,6 +168957,261 @@ } } }, + "/orgs/{org}/interaction-limits/pulls/creation-cap": { + "patch": { + "summary": "Update pull request creation cap for an org", + "description": "Updates the pull request creation cap for an organization. The cap limits the total number\nof open pull requests a user can have across all public repositories in the organization\nat one time.\n\nOnly users with admin access to the organization can configure the cap.", + "tags": [ + "interactions" + ], + "operationId": "interactions/update-pull-request-creation-cap-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/orgs#update-pull-request-creation-cap-for-an-org" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether the pull request creation cap is enabled" + }, + "max_open_pull_requests": { + "type": "integer", + "description": "The maximum number of open pull requests a user can have at one time", + "minimum": 1, + "maximum": 1000 + } + }, + "required": [ + "enabled" + ] + }, + "examples": { + "default": { + "summary": "Example request body", + "value": { + "enabled": true, + "max_open_pull_requests": 1 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether the pull request creation cap is enabled" + }, + "max_open_pull_requests": { + "type": "integer", + "description": "The maximum number of open pull requests a user can have at one time", + "minimum": 1, + "maximum": 1000 + } + }, + "required": [ + "enabled", + "max_open_pull_requests" + ] + }, + "examples": { + "default": { + "summary": "Response", + "value": { + "enabled": true, + "max_open_pull_requests": 1 + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "405": { + "description": "Method Not Allowed", + "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" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "orgs" + } + } + }, "/orgs/{org}/invitations": { "get": { "summary": "List pending organization invitations", @@ -493812,7 +494067,7 @@ "properties": { "suggestions": { "type": "object", - "description": "Pending suggestions for each suggestible field (`type`,\n`issue_field_values`, `labels`, `assignees`, `state`) the\nrequest touched. Omitted for fields not in the request or\nwith no pending suggestions. Items tagged `already_applied`\nare echoes of the current request's inputs whose target is\nalready applied to the issue; they are not persisted as\npending suggestions.\n", + "description": "Pending suggestions for each suggestible field (`type`,\n`issue_field_values`, `labels`, `assignees`, `state`) the\nrequest touched. Omitted for fields not in the request or\nwith no pending or ignored suggestions. Items tagged\n`ignored` are echoes of the current request's inputs that\nwere not persisted as pending suggestions.\n", "properties": { "type": { "type": "array", @@ -493836,8 +494091,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -493880,8 +494142,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -493908,8 +494177,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -493936,8 +494212,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -493970,8 +494253,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -642640,6 +642930,972 @@ } } }, + "/repos/{owner}/{repo}/pulls/{pull_number}/merge-async": { + "put": { + "summary": "Merge a pull request asynchronously", + "description": "Merges a pull request into the base branch in the background. Merging in this way allows certain types of errors to be retried, and avoids the risk of timeouts for particularly complex merges.\n\nThis is the required method for merging stacked PRs, but also supports unstacked PRs. When using this endpoint to merge a stacked pull request, all pull requests in the stack up to and including the requested PR will be merged into the base branch.\n\nThe response includes a UUID that can be used to fetch the result of the merge. If another asynchronous merge request has already been made for this pull request, the UUID of that request will be returned instead with a 409 response status to indicate that the merge options may be different from those that were requested. If there isn't an existing asynchronous merge request, a 202 response status is used.\n\nIf the pull request is already merged, the merge commit OID will be returned immediately with a 200 status.\n\nIf the pull request cannot be merged (e.g. because it is closed, or still a draft) this result will be returned immediately with a 400 response status. Branch protection rules and repository rules are not run at this stage, only basic pull request state checks are performed.", + "tags": [ + "pulls" + ], + "operationId": "pulls/merge-async", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/pulls/pulls#merge-a-pull-request-asynchronously" + }, + "x-github": { + "triggersNotification": true, + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "pulls", + "subcategory": "pulls" + }, + "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": "pull_number", + "description": "The number that identifies the pull request.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": [ + "object", + "null" + ], + "properties": { + "commit_title": { + "type": "string", + "description": "Title for the automatic commit message." + }, + "commit_message": { + "type": "string", + "description": "Extra detail to append to automatic commit message." + }, + "sha": { + "type": "string", + "description": "SHA that pull request head must match to allow merge. If not provided, the current head of the PR at the time of the request will be used; if the PR is pushed in between the merge being requested and being executed, the merge will be cancelled." + }, + "merge_method": { + "type": "string", + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "description": "The action that will be taken to merge the pull request. `direct_merge` merges the pull request directly without using a merge queue; `merge_queue` adds the pull request to a merge queue; `default` selects the most appropriate option.", + "enum": [ + "default", + "direct_merge", + "merge_queue" + ] + } + } + }, + "examples": { + "default": { + "value": { + "commit_title": "Fix race condition", + "commit_message": "Avoids a race by trying to read the file and handling the exception if it does not exist.", + "sha": "6358cd125586d9def8c3e5943f23506202da81cc", + "merge_method": "squash", + "merge_action": "default" + } + } + } + } + } + }, + "responses": { + "202": { + "description": "if the merge request was accepted and will run in the background", + "content": { + "application/json": { + "schema": { + "title": "Pull Request Merge Async Result", + "description": "Pull Request Merge Async Result", + "type": "object", + "additionalProperties": false, + "properties": { + "status": { + "type": "string", + "enum": [ + "pending", + "merged", + "enqueued", + "failed" + ] + }, + "details": { + "oneOf": [ + { + "description": "When an asynchronous merge request was created or already existed", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "merge_method": { + "type": "string", + "enum": [ + "default", + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "enum": [ + "default", + "merge_queue", + "direct_merge" + ] + }, + "expected_head_sha": { + "type": "string", + "description": "SHA that the pull request head must match for the enqueued merge to proceed." + } + }, + "required": [ + "message", + "uuid", + "merge_method", + "merge_action", + "expected_head_sha" + ] + }, + { + "description": "When the pull request cannot be merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ] + }, + { + "description": "When the pull request is already merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "message", + "sha" + ] + } + ] + } + }, + "required": [ + "status", + "details" + ] + }, + "examples": { + "response-if-merge-request-was-accepted": { + "summary": "Request accepted", + "value": { + "status": "pending", + "details": { + "message": "Merge request enqueued.", + "uuid": "630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42", + "merge_method": "merge", + "merge_action": "default", + "expected_head_sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + } + } + } + } + }, + "200": { + "description": "if the pull request was already merged, or is already in a merge queue", + "content": { + "application/json": { + "schema": { + "title": "Pull Request Merge Async Result", + "description": "Pull Request Merge Async Result", + "type": "object", + "additionalProperties": false, + "properties": { + "status": { + "type": "string", + "enum": [ + "pending", + "merged", + "enqueued", + "failed" + ] + }, + "details": { + "oneOf": [ + { + "description": "When an asynchronous merge request was created or already existed", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "merge_method": { + "type": "string", + "enum": [ + "default", + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "enum": [ + "default", + "merge_queue", + "direct_merge" + ] + }, + "expected_head_sha": { + "type": "string", + "description": "SHA that the pull request head must match for the enqueued merge to proceed." + } + }, + "required": [ + "message", + "uuid", + "merge_method", + "merge_action", + "expected_head_sha" + ] + }, + { + "description": "When the pull request cannot be merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ] + }, + { + "description": "When the pull request is already merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "message", + "sha" + ] + } + ] + } + }, + "required": [ + "status", + "details" + ] + }, + "examples": { + "response-if-pull-request-was-already-merged": { + "summary": "Already merged", + "value": { + "status": "merged", + "details": { + "message": "Pull request is already merged.", + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + }, + "response-if-pull-request-is-already-enqueued": { + "summary": "Already enqueued", + "value": { + "status": "enqueued", + "details": { + "message": "Pull request is already in the merge queue." + } + } + } + } + } + } + }, + "409": { + "description": "if there is an existing merge request already enqueued for this pull request", + "content": { + "application/json": { + "schema": { + "title": "Pull Request Merge Async Result", + "description": "Pull Request Merge Async Result", + "type": "object", + "additionalProperties": false, + "properties": { + "status": { + "type": "string", + "enum": [ + "pending", + "merged", + "enqueued", + "failed" + ] + }, + "details": { + "oneOf": [ + { + "description": "When an asynchronous merge request was created or already existed", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "merge_method": { + "type": "string", + "enum": [ + "default", + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "enum": [ + "default", + "merge_queue", + "direct_merge" + ] + }, + "expected_head_sha": { + "type": "string", + "description": "SHA that the pull request head must match for the enqueued merge to proceed." + } + }, + "required": [ + "message", + "uuid", + "merge_method", + "merge_action", + "expected_head_sha" + ] + }, + { + "description": "When the pull request cannot be merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ] + }, + { + "description": "When the pull request is already merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "message", + "sha" + ] + } + ] + } + }, + "required": [ + "status", + "details" + ] + }, + "examples": { + "response-if-a-merge-request-already-exists": { + "value": { + "status": "pending", + "details": { + "message": "A merge request already exists for this pull request.", + "uuid": "630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42", + "merge_method": "squash", + "merge_action": "default", + "expected_head_sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + } + } + } + } + }, + "400": { + "description": "if the pull request is not ready to be merged, e.g. because it is closed", + "content": { + "application/json": { + "schema": { + "title": "Pull Request Merge Async Result", + "description": "Pull Request Merge Async Result", + "type": "object", + "additionalProperties": false, + "properties": { + "status": { + "type": "string", + "enum": [ + "pending", + "merged", + "enqueued", + "failed" + ] + }, + "details": { + "oneOf": [ + { + "description": "When an asynchronous merge request was created or already existed", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "merge_method": { + "type": "string", + "enum": [ + "default", + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "enum": [ + "default", + "merge_queue", + "direct_merge" + ] + }, + "expected_head_sha": { + "type": "string", + "description": "SHA that the pull request head must match for the enqueued merge to proceed." + } + }, + "required": [ + "message", + "uuid", + "merge_method", + "merge_action", + "expected_head_sha" + ] + }, + { + "description": "When the pull request cannot be merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ] + }, + { + "description": "When the pull request is already merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "message", + "sha" + ] + } + ] + } + }, + "required": [ + "status", + "details" + ] + }, + "examples": { + "response-if-pull-request-is-not-ready-to-be-merged": { + "value": { + "status": "failed", + "details": { + "message": "Pull request is closed." + } + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + } + } + }, + "/repos/{owner}/{repo}/pulls/{pull_number}/merge-async/{uuid}": { + "get": { + "summary": "Get the result of an asynchronous merge", + "description": "Fetches the current result of an asynchronous merge request, identified by the UUID that was returned when the merge was requested.\n\nWhile the merge is still queued, the response includes the UUID, merge method, and expected head SHA of the request. Once the merge has completed, the response reports whether it was merged, including the merge commit OID on success or a message describing why it could not be merged on failure.\n\nThe result of an asynchronous merge request is retained for 24 hours after its most recent update. After this window the request expires and this endpoint returns a `404` response for its UUID.", + "tags": [ + "pulls" + ], + "operationId": "pulls/get-merge-async-result", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/pulls/pulls#get-the-result-of-an-asynchronous-merge" + }, + "x-github": { + "triggersNotification": false, + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "pulls", + "subcategory": "pulls" + }, + "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": "pull_number", + "description": "The number that identifies the pull request.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "uuid", + "description": "The UUID of the asynchronous merge request, as returned when the merge was requested.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "the current result of the asynchronous merge request", + "content": { + "application/json": { + "schema": { + "title": "Pull Request Merge Async Result", + "description": "Pull Request Merge Async Result", + "type": "object", + "additionalProperties": false, + "properties": { + "status": { + "type": "string", + "enum": [ + "pending", + "merged", + "enqueued", + "failed" + ] + }, + "details": { + "oneOf": [ + { + "description": "When an asynchronous merge request was created or already existed", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "merge_method": { + "type": "string", + "enum": [ + "default", + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "enum": [ + "default", + "merge_queue", + "direct_merge" + ] + }, + "expected_head_sha": { + "type": "string", + "description": "SHA that the pull request head must match for the enqueued merge to proceed." + } + }, + "required": [ + "message", + "uuid", + "merge_method", + "merge_action", + "expected_head_sha" + ] + }, + { + "description": "When the pull request cannot be merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ] + }, + { + "description": "When the pull request is already merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "message", + "sha" + ] + } + ] + } + }, + "required": [ + "status", + "details" + ] + }, + "examples": { + "response-if-the-merge-is-still-queued": { + "summary": "Still queued", + "value": { + "status": "pending", + "details": { + "message": "Merge request is in progress.", + "uuid": "630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42", + "merge_method": "merge", + "merge_action": "default", + "expected_head_sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + }, + "response-if-the-pull-request-is-enqueued": { + "summary": "Enqueued in the merge queue", + "value": { + "status": "enqueued", + "details": { + "message": "Pull request is in the merge queue." + } + } + }, + "response-if-the-merge-succeeded": { + "summary": "Merge succeeded", + "value": { + "status": "merged", + "details": { + "message": "Pull request was merged.", + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + }, + "response-if-the-merge-failed": { + "summary": "Merge failed", + "value": { + "status": "failed", + "details": { + "message": "Merge conflict: the pull request could not be merged." + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + } + } + }, "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": { "get": { "summary": "Get all requested reviewers for a pull request", diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml index 3aa602695a..01578ae831 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml @@ -1048,7 +1048,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &689 + - &690 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -14674,7 +14674,7 @@ paths: properties: action: type: string - discussion: &783 + discussion: &784 title: Discussion description: A Discussion in a repository. type: object @@ -15461,7 +15461,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &701 + sub_issues_summary: &702 title: Sub-issues Summary type: object properties: @@ -15591,7 +15591,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &702 + issue_dependencies_summary: &703 title: Issue Dependencies Summary type: object properties: @@ -16426,7 +16426,7 @@ paths: type: string release: allOf: - - &613 + - &614 title: Release description: A release. type: object @@ -16508,7 +16508,7 @@ paths: author: *4 assets: type: array - items: &614 + items: &615 title: Release Asset description: Data related to a release. type: object @@ -19989,7 +19989,7 @@ paths: description: |- Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see "[About GitHub's IP addresses](https://docs.github.com/articles/about-github-s-ip-addresses/)." - The API's response also includes a list of GitHub's domain names. + The API's response also includes a list of GitHub's domain names, and the public keys used by GitHub to sign commits made through the web UI. The values shown in the documentation's response are example values. You must always query the API directly to get the latest values. @@ -22900,7 +22900,7 @@ paths: parameters: - *75 - *117 - - &761 + - &762 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 @@ -23012,7 +23012,7 @@ paths: - *117 - *118 - *119 - - &762 + - &763 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -23020,7 +23020,7 @@ paths: schema: type: string - *122 - - &763 + - &764 name: sku description: The SKU to query for usage. in: query @@ -31064,12 +31064,12 @@ paths: required: - subject_digests examples: - default: &742 + default: &743 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &743 + withPredicateType: &744 value: subject_digests: - sha256:abc123 @@ -31114,7 +31114,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &744 + default: &745 value: attestations_subject_digests: - sha256:abc: @@ -40737,6 +40737,86 @@ paths: enabledForGitHubApps: true category: interactions subcategory: orgs + "/orgs/{org}/interaction-limits/pulls/creation-cap": + patch: + summary: Update pull request creation cap for an org + description: |- + Updates the pull request creation cap for an organization. The cap limits the total number + of open pull requests a user can have across all public repositories in the organization + at one time. + + Only users with admin access to the organization can configure the cap. + tags: + - interactions + operationId: interactions/update-pull-request-creation-cap-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/orgs#update-pull-request-creation-cap-for-an-org + parameters: + - *75 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enabled: + type: boolean + description: Whether the pull request creation cap is enabled + max_open_pull_requests: + type: integer + description: The maximum number of open pull requests a user can + have at one time + minimum: 1 + maximum: 1000 + required: + - enabled + examples: + default: + summary: Example request body + value: + enabled: true + max_open_pull_requests: 1 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + enabled: + type: boolean + description: Whether the pull request creation cap is enabled + max_open_pull_requests: + type: integer + description: The maximum number of open pull requests a user can + have at one time + minimum: 1 + maximum: 1000 + required: + - enabled + - max_open_pull_requests + examples: + default: + summary: Response + value: + enabled: true + max_open_pull_requests: 1 + '403': *27 + '404': *6 + '405': + description: Method Not Allowed + content: + application/json: + schema: *3 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: orgs "/orgs/{org}/invitations": get: summary: List pending organization invitations @@ -43289,7 +43369,7 @@ paths: parameters: - *75 - *258 - - &724 + - &725 name: repo_name description: repo_name parameter in: path @@ -44237,7 +44317,7 @@ paths: - nuget - container - *75 - - &725 + - &726 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -44278,7 +44358,7 @@ paths: default: *264 '403': *27 '401': *23 - '400': &727 + '400': &728 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -46520,7 +46600,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &811 + - &812 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -47446,7 +47526,7 @@ paths: - updated_at - project_url examples: - default: &748 + default: &749 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47623,7 +47703,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &749 + items: &750 type: object properties: name: @@ -47660,7 +47740,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &750 + iteration_configuration: &751 type: object description: The configuration for iteration fields. properties: @@ -47710,7 +47790,7 @@ paths: value: name: Due date data_type: date - single_select_field: &751 + single_select_field: &752 summary: Create a single select field value: name: Priority @@ -47737,7 +47817,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &752 + iteration_field: &753 summary: Create an iteration field value: name: Sprint @@ -47763,7 +47843,7 @@ paths: application/json: schema: *284 examples: - text_field: &753 + text_field: &754 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -47772,7 +47852,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &754 + number_field: &755 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -47781,7 +47861,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &755 + date_field: &756 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -47790,7 +47870,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &756 + single_select_field: &757 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47824,7 +47904,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &757 + iteration_field: &758 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -47870,7 +47950,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *281 - - &758 + - &759 name: field_id description: The unique identifier of the field. in: path @@ -47885,7 +47965,7 @@ paths: application/json: schema: *284 examples: - default: &759 + default: &760 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -49096,7 +49176,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &739 + schema: &740 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -49279,7 +49359,7 @@ paths: parameters: - *281 - *75 - - &760 + - &761 name: view_number description: The number that identifies the project view. in: path @@ -51347,7 +51427,7 @@ paths: - *75 - *17 - *19 - - &622 + - &623 name: targets description: | A comma-separated list of rule targets to filter by. @@ -51634,7 +51714,7 @@ paths: - object rules: type: array - items: &623 + items: &624 title: Repository Rule type: object description: A repository rule. @@ -51696,7 +51776,7 @@ paths: type: string enum: - required_linear_history - - &620 + - &621 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -52335,7 +52415,7 @@ paths: type: boolean description: Copilot automatically reviews each new push to the pull request. - - &621 + - &622 title: license_compliance_scanning description: Enforce any added or changed dependencies to comply with the organization's license policy. @@ -52647,7 +52727,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *75 - - &624 + - &625 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 @@ -52662,7 +52742,7 @@ paths: in: query schema: type: string - - &625 + - &626 name: time_period description: |- The time period to filter by. @@ -52678,14 +52758,14 @@ paths: - week - month default: day - - &626 + - &627 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 - - &627 + - &628 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -52698,7 +52778,7 @@ paths: - bypass - all default: all - - &628 + - &629 name: evaluate_status description: |- The evaluate status to filter on. When specified, only rule suites resulting from rulesets with the specified evaluate status will be returned. @@ -52721,7 +52801,7 @@ paths: description: Response content: application/json: - schema: &629 + schema: &630 title: Rule Suites description: Response type: array @@ -52777,7 +52857,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &630 + default: &631 value: - id: 21 actor_id: 12 @@ -52821,7 +52901,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *75 - - &631 + - &632 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -52837,7 +52917,7 @@ paths: description: Response content: application/json: - schema: &632 + schema: &633 title: Rule Suite description: Response type: object @@ -52944,7 +53024,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &633 + default: &634 value: id: 21 actor_id: 12 @@ -53191,7 +53271,7 @@ paths: type: string format: date-time examples: - default: &635 + default: &636 value: - version_id: 3 actor: @@ -53244,7 +53324,7 @@ paths: description: Response content: application/json: - schema: &636 + schema: &637 allOf: - *327 - type: object @@ -53316,7 +53396,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *75 - - &637 + - &638 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -53327,7 +53407,7 @@ paths: enum: - open - resolved - - &638 + - &639 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -53337,7 +53417,7 @@ paths: required: false schema: type: string - - &639 + - &640 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -53348,7 +53428,7 @@ paths: required: false schema: type: string - - &640 + - &641 name: exclude_providers in: query description: |- @@ -53359,7 +53439,7 @@ paths: required: false schema: type: string - - &641 + - &642 name: providers in: query description: |- @@ -53370,7 +53450,7 @@ paths: required: false schema: type: string - - &642 + - &643 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -53379,7 +53459,7 @@ paths: required: false schema: type: string - - &643 + - &644 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -53398,7 +53478,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &644 + - &645 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. @@ -53413,7 +53493,7 @@ paths: - *61 - *19 - *17 - - &645 + - &646 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 @@ -53423,7 +53503,7 @@ paths: required: false schema: type: string - - &646 + - &647 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 @@ -53433,7 +53513,7 @@ paths: required: false schema: type: string - - &647 + - &648 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -53442,7 +53522,7 @@ paths: required: false schema: type: string - - &648 + - &649 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -53451,7 +53531,7 @@ paths: schema: type: boolean default: false - - &649 + - &650 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -53460,7 +53540,7 @@ paths: schema: type: boolean default: false - - &650 + - &651 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -53469,7 +53549,7 @@ paths: schema: type: boolean default: false - - &651 + - &652 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -53480,7 +53560,7 @@ paths: required: false schema: type: boolean - - &652 + - &653 name: included_metadata in: query description: |- @@ -53491,7 +53571,7 @@ paths: required: false schema: type: string - - &653 + - &654 name: owner_email_hash in: query description: |- @@ -53526,14 +53606,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &654 + state: &655 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: &655 + resolution: &656 type: - string - 'null' @@ -53652,14 +53732,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &656 + - &657 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &658 + - &659 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -53723,7 +53803,7 @@ paths: - blob_url - commit_sha - commit_url - - &659 + - &660 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -53784,7 +53864,7 @@ paths: - page_url - commit_sha - commit_url - - &660 + - &661 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -53806,7 +53886,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &661 + - &662 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -53828,7 +53908,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &662 + - &663 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -53850,7 +53930,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &663 + - &664 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -53865,7 +53945,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &664 + - &665 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -53880,7 +53960,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &665 + - &666 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -53895,7 +53975,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &666 + - &667 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -53917,7 +53997,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &667 + - &668 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -53939,7 +54019,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &668 + - &669 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -53961,7 +54041,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &669 + - &670 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -53983,7 +54063,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &670 + - &671 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -54233,7 +54313,7 @@ paths: subcategory: custom-patterns parameters: - *75 - - &671 + - &672 name: state description: Filter custom patterns by state. When absent, returns patterns in all states. @@ -54244,7 +54324,7 @@ paths: enum: - published - unpublished - - &672 + - &673 name: push_protection description: Filter custom patterns by whether push protection is enabled. When absent, returns patterns regardless of push protection status. @@ -54255,7 +54335,7 @@ paths: enum: - enabled - disabled - - &673 + - &674 name: sort description: The property to sort the results by. in: query @@ -54354,7 +54434,7 @@ paths: - state - push_protection_enabled examples: - default: &674 + default: &675 value: - id: 1 name: Example Custom Pattern @@ -54417,7 +54497,7 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: &675 + items: &676 title: Secret Scanning Custom Pattern To Create description: A custom pattern to create in a bulk operation. type: object @@ -54454,7 +54534,7 @@ paths: items: type: string examples: - default: &676 + default: &677 value: patterns: - name: Example Custom Pattern @@ -54480,7 +54560,7 @@ paths: description: The list of successfully created custom patterns. items: *328 examples: - default: &677 + default: &678 value: created_patterns: - id: 1 @@ -54532,7 +54612,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: &678 + items: &679 title: Secret Scanning Custom Pattern Validation Error description: A validation error for a custom pattern in a batch operation. @@ -54586,7 +54666,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: &679 + items: &680 title: Secret Scanning Custom Pattern To Delete description: A custom pattern to delete in a bulk operation. type: object @@ -54609,7 +54689,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: &680 + default: &681 value: patterns: - pattern_id: 2 @@ -54655,7 +54735,7 @@ paths: required: true content: application/json: - schema: &681 + schema: &682 title: Secret Scanning Custom Pattern To Update description: Fields to update on a custom pattern. At least one updatable field (`pattern`, `start_delimiter`, `end_delimiter`, `must_match`, @@ -54696,7 +54776,7 @@ paths: type: string custom_pattern_version: *329 examples: - default: &682 + default: &683 value: pattern: updated_secret_[0-9A-Z]{16} start_delimiter: "[^0-9A-Za-z]" @@ -54713,7 +54793,7 @@ paths: application/json: schema: *328 examples: - default: &683 + default: &684 value: id: 1 name: Example Custom Pattern @@ -55020,7 +55100,7 @@ paths: application/json: schema: type: array - items: &687 + items: &688 description: A repository security advisory. type: object properties: @@ -55317,7 +55397,7 @@ paths: - private_fork additionalProperties: false examples: - default: &688 + default: &689 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -57249,7 +57329,7 @@ paths: application/json: schema: type: array - items: &704 + items: &705 title: Team Member description: A user that is a member of a team, including their role on the team and whether the membership is inherited from @@ -57392,7 +57472,7 @@ paths: - type - url examples: - default: &705 + default: &706 value: - login: octocat id: 1 @@ -57479,7 +57559,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &706 + response-if-user-is-a-team-maintainer: &707 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -57544,7 +57624,7 @@ paths: application/json: schema: *339 examples: - response-if-users-membership-with-team-is-now-pending: &707 + response-if-users-membership-with-team-is-now-pending: &708 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -57658,7 +57738,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &708 + schema: &709 title: Team Repository description: A team's access to a repository. type: object @@ -58379,7 +58459,7 @@ paths: type: array items: *201 examples: - response-if-child-teams-exist: &709 + response-if-child-teams-exist: &710 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -70454,7 +70534,7 @@ paths: check. type: array items: *86 - deployment: &772 + deployment: &773 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -76194,7 +76274,7 @@ paths: type: array items: *463 examples: - default: &714 + default: &715 value: total_count: 2 machines: @@ -79371,7 +79451,7 @@ paths: application/json: schema: type: array - items: &693 + items: &694 title: Status description: The status of a commit. type: object @@ -80360,7 +80440,7 @@ paths: - size - type - url - - &611 + - &612 title: Content File description: Content File type: object @@ -80997,7 +81077,7 @@ paths: items: type: object properties: - placeholder_id: &684 + placeholder_id: &685 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -87221,7 +87301,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &803 + last_response: &804 title: Hook Response type: object properties: @@ -88290,7 +88370,7 @@ paths: parameters: - *340 - *341 - - &737 + - &738 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -89009,7 +89089,7 @@ paths: type: array items: *537 examples: - default: &729 + default: &730 value: - id: 1 repository: @@ -91559,10 +91639,9 @@ paths: Pending suggestions for each suggestible field (`type`, `issue_field_values`, `labels`, `assignees`, `state`) the request touched. Omitted for fields not in the request or - with no pending suggestions. Items tagged `already_applied` - are echoes of the current request's inputs whose target is - already applied to the issue; they are not persisted as - pending suggestions. + with no pending or ignored suggestions. Items tagged + `ignored` are echoes of the current request's inputs that + were not persisted as pending suggestions. properties: type: type: array @@ -91581,8 +91660,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed issue_field_values: type: array items: @@ -91607,8 +91691,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed labels: type: array items: @@ -91626,8 +91715,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed assignees: type: array items: @@ -91645,8 +91739,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed state: type: array items: @@ -91668,8 +91767,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed examples: default: *545 '422': *15 @@ -100552,6 +100656,288 @@ paths: enabledForGitHubApps: true category: pulls subcategory: pulls + "/repos/{owner}/{repo}/pulls/{pull_number}/merge-async": + put: + summary: Merge a pull request asynchronously + description: |- + Merges a pull request into the base branch in the background. Merging in this way allows certain types of errors to be retried, and avoids the risk of timeouts for particularly complex merges. + + This is the required method for merging stacked PRs, but also supports unstacked PRs. When using this endpoint to merge a stacked pull request, all pull requests in the stack up to and including the requested PR will be merged into the base branch. + + The response includes a UUID that can be used to fetch the result of the merge. If another asynchronous merge request has already been made for this pull request, the UUID of that request will be returned instead with a 409 response status to indicate that the merge options may be different from those that were requested. If there isn't an existing asynchronous merge request, a 202 response status is used. + + If the pull request is already merged, the merge commit OID will be returned immediately with a 200 status. + + If the pull request cannot be merged (e.g. because it is closed, or still a draft) this result will be returned immediately with a 400 response status. Branch protection rules and repository rules are not run at this stage, only basic pull request state checks are performed. + tags: + - pulls + operationId: pulls/merge-async + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request-asynchronously + x-github: + triggersNotification: true + githubCloudOnly: false + enabledForGitHubApps: true + category: pulls + subcategory: pulls + parameters: + - *340 + - *341 + - *604 + requestBody: + required: false + content: + application/json: + schema: + type: + - object + - 'null' + properties: + commit_title: + type: string + description: Title for the automatic commit message. + commit_message: + type: string + description: Extra detail to append to automatic commit message. + sha: + type: string + description: SHA that pull request head must match to allow merge. + If not provided, the current head of the PR at the time of the + request will be used; if the PR is pushed in between the merge + being requested and being executed, the merge will be cancelled. + merge_method: + type: string + description: The merge method to use. + enum: + - merge + - squash + - rebase + merge_action: + type: string + description: The action that will be taken to merge the pull request. + `direct_merge` merges the pull request directly without using + a merge queue; `merge_queue` adds the pull request to a merge + queue; `default` selects the most appropriate option. + enum: + - default + - direct_merge + - merge_queue + examples: + default: + value: + commit_title: Fix race condition + commit_message: Avoids a race by trying to read the file and handling + the exception if it does not exist. + sha: 6358cd125586d9def8c3e5943f23506202da81cc + merge_method: squash + merge_action: default + responses: + '202': + description: if the merge request was accepted and will run in the background + content: + application/json: + schema: &607 + title: Pull Request Merge Async Result + description: Pull Request Merge Async Result + type: object + additionalProperties: false + properties: + status: + type: string + enum: + - pending + - merged + - enqueued + - failed + details: + oneOf: + - description: When an asynchronous merge request was created + or already existed + type: object + additionalProperties: false + properties: + message: + type: string + uuid: + type: string + merge_method: + type: string + enum: + - default + - merge + - squash + - rebase + merge_action: + type: string + enum: + - default + - merge_queue + - direct_merge + expected_head_sha: + type: string + description: SHA that the pull request head must match for + the enqueued merge to proceed. + required: + - message + - uuid + - merge_method + - merge_action + - expected_head_sha + - description: When the pull request cannot be merged + type: object + additionalProperties: false + properties: + message: + type: string + required: + - message + - description: When the pull request is already merged + type: object + additionalProperties: false + properties: + message: + type: string + sha: + type: string + required: + - message + - sha + required: + - status + - details + examples: + response-if-merge-request-was-accepted: + summary: Request accepted + value: + status: pending + details: + message: Merge request enqueued. + uuid: 630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42 + merge_method: merge + merge_action: default + expected_head_sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + '200': + description: if the pull request was already merged, or is already in a + merge queue + content: + application/json: + schema: *607 + examples: + response-if-pull-request-was-already-merged: + summary: Already merged + value: + status: merged + details: + message: Pull request is already merged. + sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + response-if-pull-request-is-already-enqueued: + summary: Already enqueued + value: + status: enqueued + details: + message: Pull request is already in the merge queue. + '409': + description: if there is an existing merge request already enqueued for + this pull request + content: + application/json: + schema: *607 + examples: + response-if-a-merge-request-already-exists: + value: + status: pending + details: + message: A merge request already exists for this pull request. + uuid: 630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42 + merge_method: squash + merge_action: default + expected_head_sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + '400': + description: if the pull request is not ready to be merged, e.g. because + it is closed + content: + application/json: + schema: *607 + examples: + response-if-pull-request-is-not-ready-to-be-merged: + value: + status: failed + details: + message: Pull request is closed. + '422': *15 + '403': *27 + '404': *6 + "/repos/{owner}/{repo}/pulls/{pull_number}/merge-async/{uuid}": + get: + summary: Get the result of an asynchronous merge + description: |- + Fetches the current result of an asynchronous merge request, identified by the UUID that was returned when the merge was requested. + + While the merge is still queued, the response includes the UUID, merge method, and expected head SHA of the request. Once the merge has completed, the response reports whether it was merged, including the merge commit OID on success or a message describing why it could not be merged on failure. + + The result of an asynchronous merge request is retained for 24 hours after its most recent update. After this window the request expires and this endpoint returns a `404` response for its UUID. + tags: + - pulls + operationId: pulls/get-merge-async-result + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/pulls/pulls#get-the-result-of-an-asynchronous-merge + x-github: + triggersNotification: false + githubCloudOnly: false + enabledForGitHubApps: true + category: pulls + subcategory: pulls + parameters: + - *340 + - *341 + - *604 + - name: uuid + description: The UUID of the asynchronous merge request, as returned when + the merge was requested. + in: path + required: true + schema: + type: string + responses: + '200': + description: the current result of the asynchronous merge request + content: + application/json: + schema: *607 + examples: + response-if-the-merge-is-still-queued: + summary: Still queued + value: + status: pending + details: + message: Merge request is in progress. + uuid: 630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42 + merge_method: merge + merge_action: default + expected_head_sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + response-if-the-pull-request-is-enqueued: + summary: Enqueued in the merge queue + value: + status: enqueued + details: + message: Pull request is in the merge queue. + response-if-the-merge-succeeded: + summary: Merge succeeded + value: + status: merged + details: + message: Pull request was merged. + sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + response-if-the-merge-failed: + summary: Merge failed + value: + status: failed + details: + message: 'Merge conflict: the pull request could not be merged.' + '403': *27 + '404': *6 "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": get: summary: Get all requested reviewers for a pull request @@ -101752,7 +102138,7 @@ paths: application/json: schema: type: array - items: &607 + items: &608 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -102000,9 +102386,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: &609 + default: &610 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -102068,7 +102454,7 @@ paths: - *340 - *341 - *604 - - &608 + - &609 name: review_id description: The unique identifier of the review. in: path @@ -102080,9 +102466,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: &610 + default: &611 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -102144,7 +102530,7 @@ paths: - *340 - *341 - *604 - - *608 + - *609 requestBody: required: true content: @@ -102167,7 +102553,7 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: default: value: @@ -102232,15 +102618,15 @@ paths: - *340 - *341 - *604 - - *608 + - *609 responses: '200': description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: *609 + default: *610 '422': *7 '404': *6 x-github: @@ -102270,7 +102656,7 @@ paths: - *340 - *341 - *604 - - *608 + - *609 - *17 - *19 responses: @@ -102531,7 +102917,7 @@ paths: - *340 - *341 - *604 - - *608 + - *609 requestBody: required: true content: @@ -102560,7 +102946,7 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: default: value: @@ -102626,7 +103012,7 @@ paths: - *340 - *341 - *604 - - *608 + - *609 requestBody: required: true content: @@ -102661,9 +103047,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: *610 + default: *611 '404': *6 '422': *7 '403': *27 @@ -102765,9 +103151,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *612 examples: - default: &612 + default: &613 value: type: file encoding: base64 @@ -102830,9 +103216,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *612 examples: - default: *612 + default: *613 '404': *6 '422': *15 x-github: @@ -102865,7 +103251,7 @@ paths: application/json: schema: type: array - items: *613 + items: *614 examples: default: value: @@ -103041,9 +103427,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: - default: &617 + default: &618 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -103150,7 +103536,7 @@ paths: parameters: - *340 - *341 - - &615 + - &616 name: asset_id description: The unique identifier of the asset. in: path @@ -103162,9 +103548,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *615 examples: - default: &616 + default: &617 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 @@ -103217,7 +103603,7 @@ paths: parameters: - *340 - *341 - - *615 + - *616 requestBody: required: false content: @@ -103246,9 +103632,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *615 examples: - default: *616 + default: *617 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103266,7 +103652,7 @@ paths: parameters: - *340 - *341 - - *615 + - *616 responses: '204': description: Response @@ -103385,9 +103771,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: - default: *617 + default: *618 '404': *6 x-github: githubCloudOnly: false @@ -103419,9 +103805,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: - default: *617 + default: *618 '404': *6 x-github: githubCloudOnly: false @@ -103445,7 +103831,7 @@ paths: parameters: - *340 - *341 - - &618 + - &619 name: release_id description: The unique identifier of the release. in: path @@ -103459,9 +103845,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: *613 + schema: *614 examples: - default: *617 + default: *618 '401': description: Unauthorized x-github: @@ -103487,7 +103873,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 requestBody: required: false content: @@ -103551,9 +103937,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: - default: *617 + default: *618 '404': description: Not Found if the discussion category name is invalid content: @@ -103576,7 +103962,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 responses: '204': description: Response @@ -103599,7 +103985,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 - *17 - *19 responses: @@ -103609,7 +103995,7 @@ paths: application/json: schema: type: array - items: *614 + items: *615 examples: default: value: @@ -103692,7 +104078,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 - name: name in: query required: true @@ -103718,7 +104104,7 @@ paths: description: Response for successful upload content: application/json: - schema: *614 + schema: *615 examples: response-for-successful-upload: value: @@ -103775,7 +104161,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 - 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. @@ -103824,7 +104210,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 requestBody: required: true content: @@ -103887,7 +104273,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 - *541 responses: '204': @@ -103931,7 +104317,7 @@ paths: oneOf: - allOf: - *303 - - &619 + - &620 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -103952,70 +104338,70 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *304 - - *619 + - *620 - allOf: - *305 - - *619 + - *620 - allOf: - *306 - - *619 + - *620 - allOf: + - *621 - *620 - - *619 - allOf: - *307 - - *619 + - *620 - allOf: - *308 - - *619 + - *620 - allOf: - *309 - - *619 + - *620 - allOf: - *310 - - *619 + - *620 - allOf: - *311 - - *619 + - *620 - allOf: - *312 - - *619 + - *620 - allOf: - *313 - - *619 + - *620 - allOf: - *314 - - *619 + - *620 - allOf: - *315 - - *619 + - *620 - allOf: - *316 - - *619 + - *620 - allOf: - *321 - - *619 + - *620 - allOf: - *322 - - *619 + - *620 - allOf: - *323 - - *619 + - *620 - allOf: - - *621 - - *619 + - *622 + - *620 - allOf: - *317 - - *619 + - *620 - allOf: - *318 - - *619 + - *620 - allOf: - *319 - - *619 + - *620 - allOf: - *320 - - *619 + - *620 examples: default: value: @@ -104066,7 +104452,7 @@ paths: schema: type: boolean default: true - - *622 + - *623 responses: '200': description: Response @@ -104151,7 +104537,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *623 + items: *624 required: - name - enforcement @@ -104184,7 +104570,7 @@ paths: application/json: schema: *324 examples: - default: &634 + default: &635 value: id: 42 name: super cool ruleset @@ -104234,11 +104620,11 @@ paths: parameters: - *340 - *341 - - *624 - *625 - *626 - *627 - *628 + - *629 - *17 - *19 responses: @@ -104246,9 +104632,9 @@ paths: description: Response content: application/json: - schema: *629 + schema: *630 examples: - default: *630 + default: *631 '404': *6 '500': *54 x-github: @@ -104271,15 +104657,15 @@ paths: parameters: - *340 - *341 - - *631 + - *632 responses: '200': description: Response content: application/json: - schema: *632 + schema: *633 examples: - default: *633 + default: *634 '404': *6 '500': *54 x-github: @@ -104330,7 +104716,7 @@ paths: application/json: schema: *324 examples: - default: *634 + default: *635 '404': *6 '500': *54 put: @@ -104383,7 +104769,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *623 + items: *624 examples: default: value: @@ -104413,7 +104799,7 @@ paths: application/json: schema: *324 examples: - default: *634 + default: *635 '404': *6 '422': *15 '500': *54 @@ -104475,7 +104861,7 @@ paths: type: array items: *327 examples: - default: *635 + default: *636 '404': *6 '500': *54 x-github: @@ -104513,7 +104899,7 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: default: value: @@ -104570,7 +104956,6 @@ paths: parameters: - *340 - *341 - - *637 - *638 - *639 - *640 @@ -104578,10 +104963,10 @@ paths: - *642 - *643 - *644 + - *645 - *61 - *19 - *17 - - *645 - *646 - *647 - *648 @@ -104590,6 +104975,7 @@ paths: - *651 - *652 - *653 + - *654 responses: '200': description: Response @@ -104613,8 +104999,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *654 - resolution: *655 + state: *655 + resolution: *656 resolved_at: type: - string @@ -104720,7 +105106,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *656 + - *657 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -104882,13 +105268,13 @@ paths: - *340 - *341 - *439 - - *650 + - *651 responses: '200': description: Response content: application/json: - schema: &657 + schema: &658 type: object properties: number: *181 @@ -104903,8 +105289,8 @@ paths: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *654 - resolution: *655 + state: *655 + resolution: *656 resolved_at: type: - string @@ -105010,7 +105396,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *656 + - *657 has_more_locations: type: boolean description: A boolean value representing whether or not the token @@ -105033,7 +105419,7 @@ paths: anyOf: - type: 'null' - *4 - metadata: &822 + metadata: &823 type: array description: A list of metadata key/value pairs associated with the secret scanning alert. @@ -105116,8 +105502,8 @@ paths: schema: type: object properties: - state: *654 - resolution: *655 + state: *655 + resolution: *656 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -105165,7 +105551,7 @@ paths: description: Response content: application/json: - schema: *657 + schema: *658 examples: default: value: @@ -105280,7 +105666,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &824 + items: &825 type: object properties: type: @@ -105307,7 +105693,6 @@ paths: - commit details: oneOf: - - *658 - *659 - *660 - *661 @@ -105320,6 +105705,7 @@ paths: - *668 - *669 - *670 + - *671 examples: default: value: @@ -105410,9 +105796,9 @@ paths: parameters: - *340 - *341 - - *671 - *672 - *673 + - *674 - *61 - *19 - *17 @@ -105425,7 +105811,7 @@ paths: type: array items: *328 examples: - default: *674 + default: *675 headers: Link: *67 '403': *27 @@ -105462,9 +105848,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *675 + items: *676 examples: - default: *676 + default: *677 responses: '201': description: All patterns created successfully. @@ -105478,7 +105864,7 @@ paths: description: The list of successfully created custom patterns. items: *328 examples: - default: *677 + default: *678 '400': *14 '403': *27 '404': *6 @@ -105502,7 +105888,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *678 + items: *679 delete: summary: Bulk delete repository custom patterns description: |- @@ -105536,7 +105922,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *679 + items: *680 post_delete_action: type: string description: |- @@ -105549,7 +105935,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *680 + default: *681 responses: '204': description: All patterns deleted successfully. @@ -105588,9 +105974,9 @@ paths: required: true content: application/json: - schema: *681 + schema: *682 examples: - default: *682 + default: *683 responses: '200': description: Pattern updated successfully. @@ -105598,7 +105984,7 @@ paths: application/json: schema: *328 examples: - default: *683 + default: *684 '400': *14 '403': *27 '404': *6 @@ -105629,14 +106015,14 @@ paths: schema: type: object properties: - reason: &685 + reason: &686 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *684 + placeholder_id: *685 required: - reason - placeholder_id @@ -105653,7 +106039,7 @@ paths: schema: type: object properties: - reason: *685 + reason: *686 expire_at: type: - string @@ -105716,7 +106102,7 @@ paths: properties: incremental_scans: type: array - items: &686 + items: &687 description: Information on a single scan performed by secret scanning on the repository type: object @@ -105749,15 +106135,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *686 + items: *687 backfill_scans: type: array - items: *686 + items: *687 custom_pattern_backfill_scans: type: array items: allOf: - - *686 + - *687 - type: object properties: pattern_name: @@ -105770,7 +106156,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *686 + items: *687 examples: default: value: @@ -105880,9 +106266,9 @@ paths: application/json: schema: type: array - items: *687 + items: *688 examples: - default: *688 + default: *689 '400': *14 '404': *6 x-github: @@ -106076,9 +106462,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *688 examples: - default: &690 + default: &691 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -106422,7 +106808,7 @@ paths: description: Response content: application/json: - schema: *687 + schema: *688 examples: default: value: @@ -106570,15 +106956,15 @@ paths: parameters: - *340 - *341 - - *689 + - *690 responses: '200': description: Response content: application/json: - schema: *687 + schema: *688 examples: - default: *690 + default: *691 '403': *27 '404': *6 x-github: @@ -106604,7 +106990,7 @@ paths: parameters: - *340 - *341 - - *689 + - *690 requestBody: required: true content: @@ -106775,10 +107161,10 @@ paths: description: Response content: application/json: - schema: *687 + schema: *688 examples: - default: *690 - add_credit: *690 + default: *691 + add_credit: *691 '403': *27 '404': *6 '422': @@ -106818,7 +107204,7 @@ paths: parameters: - *340 - *341 - - *689 + - *690 responses: '202': *38 '400': *14 @@ -106847,7 +107233,7 @@ paths: parameters: - *340 - *341 - - *689 + - *690 responses: '202': description: Response @@ -107078,7 +107464,7 @@ paths: format: date-time pull_requests: type: array - items: &691 + items: &692 title: Pull Request Stack Pull Request type: object allOf: @@ -107355,7 +107741,7 @@ paths: format: date-time pull_requests: type: array - items: *691 + items: *692 examples: default: value: @@ -107548,7 +107934,7 @@ paths: format: date-time pull_requests: type: array - items: *691 + items: *692 examples: default: value: @@ -107805,7 +108191,7 @@ paths: format: date-time pull_requests: type: array - items: *691 + items: *692 examples: default: value: @@ -108018,7 +108404,7 @@ paths: application/json: schema: type: array - items: &692 + items: &693 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -108391,7 +108777,7 @@ paths: application/json: schema: type: array - items: *692 + items: *693 examples: default: value: @@ -108481,7 +108867,7 @@ paths: description: Response content: application/json: - schema: *693 + schema: *694 examples: default: value: @@ -108575,7 +108961,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &694 + schema: &695 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -108675,7 +109061,7 @@ paths: description: Response content: application/json: - schema: *694 + schema: *695 examples: default: value: @@ -108885,7 +109271,7 @@ paths: description: Response content: application/json: - schema: &695 + schema: &696 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -108897,7 +109283,7 @@ paths: required: - names examples: - default: &696 + default: &697 value: names: - octocat @@ -108952,9 +109338,9 @@ paths: description: Response content: application/json: - schema: *695 + schema: *696 examples: - default: *696 + default: *697 '404': *6 '422': *7 x-github: @@ -108977,7 +109363,7 @@ paths: parameters: - *340 - *341 - - &697 + - &698 name: per description: The time frame to display results for. in: query @@ -109008,7 +109394,7 @@ paths: - 128 clones: type: array - items: &698 + items: &699 title: Traffic type: object properties: @@ -109256,7 +109642,7 @@ paths: parameters: - *340 - *341 - - *697 + - *698 responses: '200': description: Response @@ -109277,7 +109663,7 @@ paths: - 3782 views: type: array - items: *698 + items: *699 required: - uniques - count @@ -110049,7 +110435,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &699 + text_matches: &700 title: Search Result Text Matches type: array items: @@ -110212,7 +110598,7 @@ paths: enum: - author-date - committer-date - - &700 + - &701 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 @@ -110332,7 +110718,7 @@ paths: type: number node_id: type: string - text_matches: *699 + text_matches: *700 required: - sha - node_id @@ -110524,7 +110910,7 @@ paths: - interactions - created - updated - - *700 + - *701 - *17 - *19 - name: advanced_search @@ -110638,8 +111024,8 @@ paths: type: - string - 'null' - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -110666,7 +111052,7 @@ paths: - string - 'null' format: date-time - text_matches: *699 + text_matches: *700 pull_request: type: object properties: @@ -110940,7 +111326,7 @@ paths: enum: - created - updated - - *700 + - *701 - *17 - *19 responses: @@ -110985,7 +111371,7 @@ paths: - 'null' score: type: number - text_matches: *699 + text_matches: *700 required: - id - node_id @@ -111070,7 +111456,7 @@ paths: - forks - help-wanted-issues - updated - - *700 + - *701 - *17 - *19 responses: @@ -111316,7 +111702,7 @@ paths: - admin - pull - push - text_matches: *699 + text_matches: *700 temp_clone_token: type: string allow_merge_commit: @@ -111624,7 +112010,7 @@ paths: - string - 'null' format: uri - text_matches: *699 + text_matches: *700 related: type: - array @@ -111817,7 +112203,7 @@ paths: - followers - repositories - joined - - *700 + - *701 - *17 - *19 responses: @@ -111927,7 +112313,7 @@ paths: type: - boolean - 'null' - text_matches: *699 + text_matches: *700 blog: type: - string @@ -112009,7 +112395,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &703 + - &704 name: team_id description: The unique identifier of the team. in: path @@ -112050,7 +112436,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *703 + - *704 requestBody: required: true content: @@ -112151,7 +112537,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *703 + - *704 responses: '204': description: Response @@ -112180,7 +112566,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *703 + - *704 - *17 - *19 responses: @@ -112220,7 +112606,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *703 + - *704 - name: role description: Filters members returned by their role in the team. in: query @@ -112241,9 +112627,9 @@ paths: application/json: schema: type: array - items: *704 + items: *705 examples: - default: *705 + default: *706 headers: Link: *67 '404': *6 @@ -112271,7 +112657,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *703 + - *704 - *71 responses: '204': @@ -112308,7 +112694,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *703 + - *704 - *71 responses: '204': @@ -112348,7 +112734,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *703 + - *704 - *71 responses: '204': @@ -112385,7 +112771,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *703 + - *704 - *71 responses: '200': @@ -112394,7 +112780,7 @@ paths: application/json: schema: *339 examples: - response-if-user-is-a-team-maintainer: *706 + response-if-user-is-a-team-maintainer: *707 '404': *6 x-github: githubCloudOnly: false @@ -112427,7 +112813,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *703 + - *704 - *71 requestBody: required: false @@ -112455,7 +112841,7 @@ paths: application/json: schema: *339 examples: - response-if-users-membership-with-team-is-now-pending: *707 + response-if-users-membership-with-team-is-now-pending: *708 '403': description: Forbidden if team synchronization is set up '422': @@ -112489,7 +112875,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *703 + - *704 - *71 responses: '204': @@ -112517,7 +112903,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *703 + - *704 - *17 - *19 responses: @@ -112559,7 +112945,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *703 + - *704 - *340 - *341 responses: @@ -112567,7 +112953,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *708 + schema: *709 examples: alternative-response-with-extra-repository-information: value: @@ -112717,7 +113103,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *703 + - *704 - *340 - *341 requestBody: @@ -112769,7 +113155,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *703 + - *704 - *340 - *341 responses: @@ -112796,7 +113182,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *703 + - *704 - *17 - *19 responses: @@ -112808,7 +113194,7 @@ paths: type: array items: *201 examples: - response-if-child-teams-exist: *709 + response-if-child-teams-exist: *710 headers: Link: *67 '404': *6 @@ -112841,7 +113227,7 @@ paths: application/json: schema: oneOf: - - &710 + - &711 title: Private User description: Private User type: object @@ -113091,7 +113477,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - &736 + - &737 title: Public User description: Public User type: object @@ -113425,7 +113811,7 @@ paths: description: Response content: application/json: - schema: *710 + schema: *711 examples: default: value: @@ -113823,7 +114209,7 @@ paths: type: integer secrets: type: array - items: &711 + items: &712 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -113943,7 +114329,7 @@ paths: description: Response content: application/json: - schema: *711 + schema: *712 examples: default: value: @@ -114356,7 +114742,7 @@ paths: description: Response content: application/json: - schema: &712 + schema: &713 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -114409,7 +114795,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &713 + default: &714 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -114454,9 +114840,9 @@ paths: description: Response content: application/json: - schema: *712 + schema: *713 examples: - default: *713 + default: *714 '404': *6 x-github: githubCloudOnly: false @@ -114495,7 +114881,7 @@ paths: type: array items: *463 examples: - default: *714 + default: *715 '304': *36 '500': *54 '401': *23 @@ -115461,7 +115847,7 @@ paths: type: array items: *263 examples: - default: &726 + default: &727 value: - id: 197 name: hello_docker @@ -115562,7 +115948,7 @@ paths: application/json: schema: type: array - items: &715 + items: &716 title: Email description: Email type: object @@ -115632,9 +116018,9 @@ paths: application/json: schema: type: array - items: *715 + items: *716 examples: - default: &728 + default: &729 value: - email: octocat@github.com verified: true @@ -115711,7 +116097,7 @@ paths: application/json: schema: type: array - items: *715 + items: *716 examples: default: value: @@ -115969,7 +116355,7 @@ paths: application/json: schema: type: array - items: &716 + items: &717 title: GPG Key description: A unique encryption key type: object @@ -116114,7 +116500,7 @@ paths: - subkeys - revoked examples: - default: &746 + default: &747 value: - id: 3 name: Octocat's GPG Key @@ -116199,9 +116585,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *717 examples: - default: &717 + default: &718 value: id: 3 name: Octocat's GPG Key @@ -116258,7 +116644,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &718 + - &719 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -116270,9 +116656,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *717 examples: - default: *717 + default: *718 '404': *6 '304': *36 '403': *27 @@ -116295,7 +116681,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *718 + - *719 responses: '204': description: Response @@ -116762,7 +117148,7 @@ paths: application/json: schema: type: array - items: &719 + items: &720 title: Key description: Key type: object @@ -116865,9 +117251,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *720 examples: - default: &720 + default: &721 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -116906,9 +117292,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *720 examples: - default: *720 + default: *721 '404': *6 '304': *36 '403': *27 @@ -116964,7 +117350,7 @@ paths: application/json: schema: type: array - items: &721 + items: &722 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -117043,7 +117429,7 @@ paths: - account - plan examples: - default: &722 + default: &723 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -117105,9 +117491,9 @@ paths: application/json: schema: type: array - items: *721 + items: *722 examples: - default: *722 + default: *723 headers: Link: *67 '304': *36 @@ -117350,7 +117736,7 @@ paths: application/json: schema: *255 examples: - default: &723 + default: &724 value: url: https://api.github.com/orgs/octocat/memberships/defunkt state: active @@ -117399,7 +117785,7 @@ paths: application/json: schema: *255 examples: - default: *723 + default: *724 '403': *27 '404': *6 '422': *15 @@ -118133,7 +118519,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *258 - - *724 + - *725 responses: '204': description: Response @@ -118246,7 +118632,7 @@ paths: - docker - nuget - container - - *725 + - *726 - *19 - *17 responses: @@ -118258,8 +118644,8 @@ paths: type: array items: *263 examples: - default: *726 - '400': *727 + default: *727 + '400': *728 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118288,7 +118674,7 @@ paths: application/json: schema: *263 examples: - default: &747 + default: &748 value: id: 40201 name: octo-name @@ -118650,9 +119036,9 @@ paths: application/json: schema: type: array - items: *715 + items: *716 examples: - default: *728 + default: *729 headers: Link: *67 '304': *36 @@ -118765,7 +119151,7 @@ paths: type: array items: *79 examples: - default: &735 + default: &736 summary: Default response value: - id: 1296269 @@ -119126,7 +119512,7 @@ paths: type: array items: *537 examples: - default: *729 + default: *730 headers: Link: *67 '304': *36 @@ -119206,7 +119592,7 @@ paths: application/json: schema: type: array - items: &730 + items: &731 title: Social account description: Social media account type: object @@ -119223,7 +119609,7 @@ paths: - provider - url examples: - default: &731 + default: &732 value: - provider: twitter url: https://twitter.com/github @@ -119286,9 +119672,9 @@ paths: application/json: schema: type: array - items: *730 + items: *731 examples: - default: *731 + default: *732 '422': *15 '304': *36 '404': *6 @@ -119376,7 +119762,7 @@ paths: application/json: schema: type: array - items: &732 + items: &733 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -119396,7 +119782,7 @@ paths: - title - created_at examples: - default: &764 + default: &765 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -119461,9 +119847,9 @@ paths: description: Response content: application/json: - schema: *732 + schema: *733 examples: - default: &733 + default: &734 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -119493,7 +119879,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: - - &734 + - &735 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -119505,9 +119891,9 @@ paths: description: Response content: application/json: - schema: *732 + schema: *733 examples: - default: *733 + default: *734 '404': *6 '304': *36 '403': *27 @@ -119530,7 +119916,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: - - *734 + - *735 responses: '204': description: Response @@ -119559,7 +119945,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &765 + - &766 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 @@ -119584,11 +119970,11 @@ paths: type: array items: *79 examples: - default-response: *735 + default-response: *736 application/vnd.github.v3.star+json: schema: type: array - items: &766 + items: &767 title: Starred Repository description: Starred Repository type: object @@ -119957,10 +120343,10 @@ paths: application/json: schema: oneOf: - - *710 - - *736 + - *711 + - *737 examples: - default-response: &740 + default-response: &741 summary: Default response value: login: octocat @@ -119995,7 +120381,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &741 + response-with-git-hub-plan-information: &742 summary: Response with GitHub plan information value: login: octocat @@ -120052,7 +120438,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &738 + - &739 name: user_id description: The unique identifier of the user. in: path @@ -120118,7 +120504,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *737 + - *738 - *17 responses: '200': @@ -120153,7 +120539,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *738 + - *739 - *281 requestBody: required: true @@ -120228,7 +120614,7 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *739 + schema: *740 examples: table_view: summary: Response for creating a table view @@ -120280,11 +120666,11 @@ paths: application/json: schema: oneOf: - - *710 - - *736 + - *711 + - *737 examples: - default-response: *740 - response-with-git-hub-plan-information: *741 + default-response: *741 + response-with-git-hub-plan-information: *742 '404': *6 x-github: githubCloudOnly: false @@ -120334,8 +120720,8 @@ paths: required: - subject_digests examples: - default: *742 - withPredicateType: *743 + default: *743 + withPredicateType: *744 responses: '200': description: Response @@ -120375,7 +120761,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *744 + default: *745 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120848,7 +121234,7 @@ paths: application/json: schema: *197 examples: - default: &745 + default: &746 summary: Example response for a user copilot space value: id: 42 @@ -120949,7 +121335,7 @@ paths: application/json: schema: *197 examples: - default: *745 + default: *746 '403': *27 '404': *6 x-github: @@ -121075,7 +121461,7 @@ paths: application/json: schema: *197 examples: - default: *745 + default: *746 '403': *27 '404': *6 '422': *15 @@ -121843,7 +122229,7 @@ paths: type: array items: *263 examples: - default: *726 + default: *727 '403': *27 '401': *23 x-github: @@ -122227,9 +122613,9 @@ paths: application/json: schema: type: array - items: *716 + items: *717 examples: - default: *746 + default: *747 headers: Link: *67 x-github: @@ -122458,7 +122844,7 @@ paths: - docker - nuget - container - - *725 + - *726 - *71 - *19 - *17 @@ -122471,10 +122857,10 @@ paths: type: array items: *263 examples: - default: *726 + default: *727 '403': *27 '401': *23 - '400': *727 + '400': *728 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122504,7 +122890,7 @@ paths: application/json: schema: *263 examples: - default: *747 + default: *748 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122853,7 +123239,7 @@ paths: type: array items: *284 examples: - default: *748 + default: *749 headers: Link: *67 '304': *36 @@ -122913,7 +123299,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *749 + items: *750 required: - name - data_type @@ -122929,7 +123315,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *750 + iteration_configuration: *751 required: - name - data_type @@ -122951,8 +123337,8 @@ paths: value: name: Due date data_type: date - single_select_field: *751 - iteration_field: *752 + single_select_field: *752 + iteration_field: *753 responses: '201': description: Response @@ -122960,11 +123346,11 @@ paths: application/json: schema: *284 examples: - text_field: *753 - number_field: *754 - date_field: *755 - single_select_field: *756 - iteration_field: *757 + text_field: *754 + number_field: *755 + date_field: *756 + single_select_field: *757 + iteration_field: *758 '304': *36 '403': *27 '401': *23 @@ -122986,7 +123372,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *281 - - *758 + - *759 - *71 responses: '200': @@ -122995,7 +123381,7 @@ paths: application/json: schema: *284 examples: - default: *759 + default: *760 headers: Link: *67 '304': *36 @@ -123352,7 +123738,7 @@ paths: parameters: - *281 - *71 - - *760 + - *761 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -123891,7 +124277,7 @@ paths: parameters: - *71 - *117 - - *761 + - *762 - *119 responses: '200': @@ -123990,9 +124376,9 @@ paths: - *117 - *118 - *119 - - *762 - - *122 - *763 + - *122 + - *764 responses: '200': description: Response when getting a billing usage summary @@ -124126,9 +124512,9 @@ paths: application/json: schema: type: array - items: *730 + items: *731 examples: - default: *731 + default: *732 headers: Link: *67 x-github: @@ -124158,9 +124544,9 @@ paths: application/json: schema: type: array - items: *732 + items: *733 examples: - default: *764 + default: *765 headers: Link: *67 x-github: @@ -124185,7 +124571,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *71 - - *765 + - *766 - *61 - *17 - *19 @@ -124197,11 +124583,11 @@ paths: schema: anyOf: - type: array - items: *766 + items: *767 - type: array items: *79 examples: - default-response: *735 + default-response: *736 headers: Link: *67 x-github: @@ -124361,7 +124747,7 @@ webhooks: type: string enum: - disabled - enterprise: &767 + enterprise: &768 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -124430,7 +124816,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &768 + installation: &769 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -124451,7 +124837,7 @@ webhooks: required: - id - node_id - organization: &769 + organization: &770 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -124524,7 +124910,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &770 + repository: &771 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -125439,10 +125825,10 @@ webhooks: type: string enum: - enabled - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -125518,11 +125904,11 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - rule: &771 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 + rule: &772 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) @@ -125745,11 +126131,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - rule: *771 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 + rule: *772 sender: *4 required: - action @@ -125937,11 +126323,11 @@ webhooks: - everyone required: - from - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - rule: *771 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 + rule: *772 sender: *4 required: - action @@ -126025,7 +126411,7 @@ webhooks: type: string enum: - completed - check_run: &773 + check_run: &774 title: CheckRun description: A check performed on the code of a given code change type: object @@ -126135,7 +126521,7 @@ webhooks: - examples: - neutral - deployment: *772 + deployment: *773 details_url: type: string examples: @@ -126233,10 +126619,10 @@ webhooks: - output - app - pull_requests - installation: *768 - enterprise: *767 - organization: *769 - repository: *770 + installation: *769 + enterprise: *768 + organization: *770 + repository: *771 sender: *4 required: - check_run @@ -126627,11 +127013,11 @@ webhooks: type: string enum: - created - check_run: *773 - installation: *768 - enterprise: *767 - organization: *769 - repository: *770 + check_run: *774 + installation: *769 + enterprise: *768 + organization: *770 + repository: *771 sender: *4 required: - check_run @@ -127025,11 +127411,11 @@ webhooks: type: string enum: - requested_action - check_run: *773 - installation: *768 - enterprise: *767 - organization: *769 - repository: *770 + check_run: *774 + installation: *769 + enterprise: *768 + organization: *770 + repository: *771 requested_action: description: The action requested by the user. type: object @@ -127432,11 +127818,11 @@ webhooks: type: string enum: - rerequested - check_run: *773 - installation: *768 - enterprise: *767 - organization: *769 - repository: *770 + check_run: *774 + installation: *769 + enterprise: *768 + organization: *770 + repository: *771 sender: *4 required: - check_run @@ -128421,10 +128807,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -129138,10 +129524,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -129849,10 +130235,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -130173,20 +130559,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &774 + commit_oid: &775 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: *767 - installation: *768 - organization: *769 - ref: &775 + enterprise: *768 + installation: *769 + organization: *770 + ref: &776 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: *770 + repository: *771 sender: *4 required: - action @@ -130594,12 +130980,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *774 - enterprise: *767 - installation: *768 - organization: *769 - ref: *775 - repository: *770 + commit_oid: *775 + enterprise: *768 + installation: *769 + organization: *770 + ref: *776 + repository: *771 sender: *4 required: - action @@ -130882,12 +131268,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *774 - enterprise: *767 - installation: *768 - organization: *769 - ref: *775 - repository: *770 + commit_oid: *775 + enterprise: *768 + installation: *769 + organization: *770 + ref: *776 + repository: *771 sender: *4 required: - action @@ -131233,12 +131619,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *774 - enterprise: *767 - installation: *768 - organization: *769 - ref: *775 - repository: *770 + commit_oid: *775 + enterprise: *768 + installation: *769 + organization: *770 + ref: *776 + repository: *771 sender: *4 required: - action @@ -131528,9 +131914,9 @@ webhooks: type: - string - 'null' - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -131538,7 +131924,7 @@ webhooks: type: - string - 'null' - repository: *770 + repository: *771 sender: *4 required: - action @@ -131784,12 +132170,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *774 - enterprise: *767 - installation: *768 - organization: *769 - ref: *775 - repository: *770 + commit_oid: *775 + enterprise: *768 + installation: *769 + organization: *770 + ref: *776 + repository: *771 sender: *4 required: - action @@ -132110,10 +132496,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -132373,10 +132759,10 @@ webhooks: - updated_at - author_association - body - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -132457,18 +132843,18 @@ webhooks: type: - string - 'null' - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *769 - pusher_type: &776 + organization: *770 + pusher_type: &777 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &777 + ref: &778 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -132478,7 +132864,7 @@ webhooks: enum: - tag - branch - repository: *770 + repository: *771 sender: *4 required: - ref @@ -132561,9 +132947,9 @@ webhooks: enum: - created definition: *292 - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 sender: *4 required: - action @@ -132648,9 +133034,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 sender: *4 required: - action @@ -132728,9 +133114,9 @@ webhooks: enum: - promote_to_enterprise definition: *292 - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 sender: *4 required: - action @@ -132808,9 +133194,9 @@ webhooks: enum: - updated definition: *292 - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 sender: *4 required: - action @@ -132887,10 +133273,10 @@ webhooks: type: string enum: - updated - enterprise: *767 - installation: *768 - repository: *770 - organization: *769 + enterprise: *768 + installation: *769 + repository: *771 + organization: *770 sender: *4 new_property_values: type: array @@ -132975,18 +133361,18 @@ webhooks: title: delete event type: object properties: - enterprise: *767 - installation: *768 - organization: *769 - pusher_type: *776 - ref: *777 + enterprise: *768 + installation: *769 + organization: *770 + pusher_type: *777 + ref: *778 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *770 + repository: *771 sender: *4 required: - ref @@ -133067,10 +133453,10 @@ webhooks: enum: - assignees_changed alert: *493 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + installation: *769 + organization: *770 + enterprise: *768 + repository: *771 sender: *4 required: - action @@ -133151,10 +133537,10 @@ webhooks: enum: - auto_dismissed alert: *493 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + installation: *769 + organization: *770 + enterprise: *768 + repository: *771 sender: *4 required: - action @@ -133236,10 +133622,10 @@ webhooks: enum: - auto_reopened alert: *493 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + installation: *769 + organization: *770 + enterprise: *768 + repository: *771 sender: *4 required: - action @@ -133321,10 +133707,10 @@ webhooks: enum: - created alert: *493 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + installation: *769 + organization: *770 + enterprise: *768 + repository: *771 sender: *4 required: - action @@ -133404,10 +133790,10 @@ webhooks: enum: - dismissed alert: *493 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + installation: *769 + organization: *770 + enterprise: *768 + repository: *771 sender: *4 required: - action @@ -133487,10 +133873,10 @@ webhooks: enum: - fixed alert: *493 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + installation: *769 + organization: *770 + enterprise: *768 + repository: *771 sender: *4 required: - action @@ -133571,10 +133957,10 @@ webhooks: enum: - reintroduced alert: *493 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + installation: *769 + organization: *770 + enterprise: *768 + repository: *771 sender: *4 required: - action @@ -133654,10 +134040,10 @@ webhooks: enum: - reopened alert: *493 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + installation: *769 + organization: *770 + enterprise: *768 + repository: *771 sender: *4 required: - action @@ -133734,9 +134120,9 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - key: &778 + enterprise: *768 + installation: *769 + key: &779 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -133774,8 +134160,8 @@ webhooks: - verified - created_at - read_only - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -133852,11 +134238,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - key: *778 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + key: *779 + organization: *770 + repository: *771 sender: *4 required: - action @@ -134423,12 +134809,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - workflow: &782 + workflow: &783 title: Workflow type: - object @@ -135183,9 +135569,9 @@ webhooks: pull_requests: type: array items: *602 - repository: *770 - organization: *769 - installation: *768 + repository: *771 + organization: *770 + installation: *769 sender: *4 responses: '200': @@ -135256,7 +135642,7 @@ webhooks: type: string enum: - approved - approver: &779 + approver: &780 type: object properties: avatar_url: @@ -135299,11 +135685,11 @@ webhooks: type: string comment: type: string - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - reviewers: &780 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 + reviewers: &781 type: array items: type: object @@ -135384,7 +135770,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &781 + workflow_job_run: &782 type: object properties: conclusion: @@ -136130,18 +136516,18 @@ webhooks: type: string enum: - rejected - approver: *779 + approver: *780 comment: type: string - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - reviewers: *780 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 + reviewers: *781 sender: *4 since: type: string - workflow_job_run: *781 + workflow_job_run: *782 workflow_job_runs: type: array items: @@ -136858,13 +137244,13 @@ webhooks: type: string enum: - requested - enterprise: *767 + enterprise: *768 environment: type: string - installation: *768 - organization: *769 - repository: *770 - requestor: &787 + installation: *769 + organization: *770 + repository: *771 + requestor: &788 title: User type: - object @@ -138797,12 +139183,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - workflow: *782 + workflow: *783 workflow_run: title: Deployment Workflow Run type: @@ -139493,7 +139879,7 @@ webhooks: type: string enum: - answered - answer: &785 + answer: &786 type: object properties: author_association: @@ -139653,11 +140039,11 @@ webhooks: - created_at - updated_at - body - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -139784,11 +140170,11 @@ webhooks: - from required: - category - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -139871,11 +140257,11 @@ webhooks: type: string enum: - closed - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -139957,7 +140343,7 @@ webhooks: type: string enum: - created - comment: &784 + comment: &785 type: object properties: author_association: @@ -140117,11 +140503,11 @@ webhooks: - updated_at - body - reactions - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -140204,12 +140590,12 @@ webhooks: type: string enum: - deleted - comment: *784 - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + comment: *785 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -140304,12 +140690,12 @@ webhooks: - from required: - body - comment: *784 - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + comment: *785 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -140393,11 +140779,11 @@ webhooks: type: string enum: - created - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -140479,11 +140865,11 @@ webhooks: type: string enum: - deleted - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -140583,11 +140969,11 @@ webhooks: type: string required: - from - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -140669,10 +141055,10 @@ webhooks: type: string enum: - labeled - discussion: *783 - enterprise: *767 - installation: *768 - label: &786 + discussion: *784 + enterprise: *768 + installation: *769 + label: &787 title: Label type: object properties: @@ -140705,8 +141091,8 @@ webhooks: - color - default - description - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -140789,11 +141175,11 @@ webhooks: type: string enum: - locked - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -140875,11 +141261,11 @@ webhooks: type: string enum: - pinned - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -140961,11 +141347,11 @@ webhooks: type: string enum: - reopened - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -141050,16 +141436,16 @@ webhooks: changes: type: object properties: - new_discussion: *783 - new_repository: *770 + new_discussion: *784 + new_repository: *771 required: - new_discussion - new_repository - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -141142,10 +141528,10 @@ webhooks: type: string enum: - unanswered - discussion: *783 - old_answer: *785 - organization: *769 - repository: *770 + discussion: *784 + old_answer: *786 + organization: *770 + repository: *771 sender: *4 required: - action @@ -141227,12 +141613,12 @@ webhooks: type: string enum: - unlabeled - discussion: *783 - enterprise: *767 - installation: *768 - label: *786 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + label: *787 + organization: *770 + repository: *771 sender: *4 required: - action @@ -141315,11 +141701,11 @@ webhooks: type: string enum: - unlocked - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -141401,11 +141787,11 @@ webhooks: type: string enum: - unpinned - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -141478,7 +141864,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *767 + enterprise: *768 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -142156,9 +142542,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *768 - organization: *769 - repository: *770 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - forkee @@ -142304,9 +142690,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 pages: description: The pages that were updated. type: array @@ -142344,7 +142730,7 @@ webhooks: - action - sha - html_url - repository: *770 + repository: *771 sender: *4 required: - pages @@ -142420,10 +142806,10 @@ webhooks: type: string enum: - created - enterprise: *767 + enterprise: *768 installation: *20 - organization: *769 - repositories: &788 + organization: *770 + repositories: &789 description: An array of repository objects that the installation can access. type: array @@ -142449,8 +142835,8 @@ webhooks: - name - full_name - private - repository: *770 - requester: *787 + repository: *771 + requester: *788 sender: *4 required: - action @@ -142525,11 +142911,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 + enterprise: *768 installation: *20 - organization: *769 - repositories: *788 - repository: *770 + organization: *770 + repositories: *789 + repository: *771 requester: type: - 'null' @@ -142606,11 +142992,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *767 + enterprise: *768 installation: *20 - organization: *769 - repositories: *788 - repository: *770 + organization: *770 + repositories: *789 + repository: *771 requester: type: - 'null' @@ -142687,10 +143073,10 @@ webhooks: type: string enum: - added - enterprise: *767 + enterprise: *768 installation: *20 - organization: *769 - repositories_added: &789 + organization: *770 + repositories_added: &790 description: An array of repository objects, which were added to the installation. type: array @@ -142736,15 +143122,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *770 - repository_selection: &790 + repository: *771 + repository_selection: &791 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *787 + requester: *788 sender: *4 required: - action @@ -142823,10 +143209,10 @@ webhooks: type: string enum: - removed - enterprise: *767 + enterprise: *768 installation: *20 - organization: *769 - repositories_added: *789 + organization: *770 + repositories_added: *790 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -142853,9 +143239,9 @@ webhooks: - name - full_name - private - repository: *770 - repository_selection: *790 - requester: *787 + repository: *771 + repository_selection: *791 + requester: *788 sender: *4 required: - action @@ -142934,11 +143320,11 @@ webhooks: type: string enum: - suspend - enterprise: *767 + enterprise: *768 installation: *20 - organization: *769 - repositories: *788 - repository: *770 + organization: *770 + repositories: *789 + repository: *771 requester: type: - 'null' @@ -143120,10 +143506,10 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 target_type: type: string @@ -143202,11 +143588,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *767 + enterprise: *768 installation: *20 - organization: *769 - repositories: *788 - repository: *770 + organization: *770 + repositories: *789 + repository: *771 requester: type: - 'null' @@ -143462,8 +143848,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -144275,8 +144661,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144637,8 +145023,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -144718,7 +145104,7 @@ webhooks: type: string enum: - deleted - comment: &791 + comment: &792 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -144893,8 +145279,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -145702,8 +146088,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146066,8 +146452,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -146147,7 +146533,7 @@ webhooks: type: string enum: - edited - changes: &815 + changes: &816 description: The changes to the comment. type: object properties: @@ -146159,9 +146545,9 @@ webhooks: type: string required: - from - comment: *791 - enterprise: *767 - installation: *768 + comment: *792 + enterprise: *768 + installation: *769 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -146972,8 +147358,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147334,8 +147720,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -147416,9 +147802,9 @@ webhooks: type: string enum: - pinned - comment: *791 - enterprise: *767 - installation: *768 + comment: *792 + enterprise: *768 + installation: *769 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -148231,8 +148617,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148595,8 +148981,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -148676,9 +149062,9 @@ webhooks: type: string enum: - unpinned - comment: *791 - enterprise: *767 - installation: *768 + comment: *792 + enterprise: *768 + installation: *769 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -149491,8 +149877,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149855,8 +150241,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -149945,9 +150331,9 @@ webhooks: type: number blocking_issue: *83 blocking_issue_repo: *79 - installation: *768 - organization: *769 - repository: *770 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -150036,9 +150422,9 @@ webhooks: type: number blocking_issue: *83 blocking_issue_repo: *79 - installation: *768 - organization: *769 - repository: *770 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -150126,9 +150512,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *83 - installation: *768 - organization: *769 - repository: *770 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -150217,9 +150603,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *83 - installation: *768 - organization: *769 - repository: *770 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -150299,10 +150685,10 @@ webhooks: type: string enum: - assigned - assignee: *787 - enterprise: *767 - installation: *768 - issue: &792 + assignee: *788 + enterprise: *768 + installation: *769 + issue: &793 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -151113,8 +151499,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -151237,8 +151623,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -151318,8 +151704,8 @@ webhooks: type: string enum: - closed - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -152135,8 +152521,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -152402,8 +152788,8 @@ webhooks: required: - state - closed_at - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -152482,8 +152868,8 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -153290,8 +153676,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -153413,8 +153799,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -153493,8 +153879,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -154324,8 +154710,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -154426,7 +154812,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &793 + milestone: &794 title: Milestone description: A collection of related issues and pull requests. type: object @@ -154569,8 +154955,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -154669,8 +155055,8 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -155481,8 +155867,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -155605,9 +155991,9 @@ webhooks: - active_lock_reason - body - reactions - label: *786 - organization: *769 - repository: *770 + label: *787 + organization: *770 + repository: *771 sender: *4 required: - action @@ -155687,9 +156073,9 @@ webhooks: type: string enum: - field_added - enterprise: *767 - installation: *768 - issue: *792 + enterprise: *768 + installation: *769 + issue: *793 issue_field: type: object description: The issue field whose value was set or updated on the @@ -155855,8 +156241,8 @@ webhooks: - id required: - from - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -155936,9 +156322,9 @@ webhooks: type: string enum: - field_removed - enterprise: *767 - installation: *768 - issue: *792 + enterprise: *768 + installation: *769 + issue: *793 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -156025,8 +156411,8 @@ webhooks: - 'null' required: - id - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -156106,8 +156492,8 @@ webhooks: type: string enum: - labeled - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -156917,8 +157303,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -157041,9 +157427,9 @@ webhooks: - active_lock_reason - body - reactions - label: *786 - organization: *769 - repository: *770 + label: *787 + organization: *770 + repository: *771 sender: *4 required: - action @@ -157123,8 +157509,8 @@ webhooks: type: string enum: - locked - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -157959,8 +158345,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -158060,8 +158446,8 @@ webhooks: format: uri user_view_type: type: string - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -158140,8 +158526,8 @@ webhooks: type: string enum: - milestoned - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -158970,8 +159356,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -159071,9 +159457,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *793 - organization: *769 - repository: *770 + milestone: *794 + organization: *770 + repository: *771 sender: *4 required: - action @@ -159960,8 +160346,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -160556,8 +160942,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -161364,8 +161750,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -161491,8 +161877,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -161572,9 +161958,9 @@ webhooks: type: string enum: - pinned - enterprise: *767 - installation: *768 - issue: &794 + enterprise: *768 + installation: *769 + issue: &795 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -162379,8 +162765,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -162502,8 +162888,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -162582,8 +162968,8 @@ webhooks: type: string enum: - reopened - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -163416,8 +163802,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -163518,8 +163904,8 @@ webhooks: user_view_type: type: string type: *246 - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -164407,8 +164793,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -165021,11 +165407,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *767 - installation: *768 - issue: *794 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + issue: *795 + organization: *770 + repository: *771 sender: *4 required: - action @@ -165105,12 +165491,12 @@ webhooks: type: string enum: - typed - enterprise: *767 - installation: *768 - issue: *792 + enterprise: *768 + installation: *769 + issue: *793 type: *246 - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -165191,7 +165577,7 @@ webhooks: type: string enum: - unassigned - assignee: &818 + assignee: &819 title: User type: - object @@ -165263,11 +165649,11 @@ webhooks: required: - login - id - enterprise: *767 - installation: *768 - issue: *792 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + issue: *793 + organization: *770 + repository: *771 sender: *4 required: - action @@ -165346,12 +165732,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *767 - installation: *768 - issue: *792 - label: *786 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + issue: *793 + label: *787 + organization: *770 + repository: *771 sender: *4 required: - action @@ -165431,8 +165817,8 @@ webhooks: type: string enum: - unlocked - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -166265,8 +166651,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -166366,8 +166752,8 @@ webhooks: format: uri user_view_type: type: string - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -166447,11 +166833,11 @@ webhooks: type: string enum: - unpinned - enterprise: *767 - installation: *768 - issue: *794 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + issue: *795 + organization: *770 + repository: *771 sender: *4 required: - action @@ -166530,12 +166916,12 @@ webhooks: type: string enum: - untyped - enterprise: *767 - installation: *768 - issue: *792 + enterprise: *768 + installation: *769 + issue: *793 type: *246 - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -166615,11 +167001,11 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - label: *786 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + label: *787 + organization: *770 + repository: *771 sender: *4 required: - action @@ -166697,11 +167083,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - label: *786 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + label: *787 + organization: *770 + repository: *771 sender: *4 required: - action @@ -166811,11 +167197,11 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - label: *786 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + label: *787 + organization: *770 + repository: *771 sender: *4 required: - action @@ -166897,9 +167283,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *767 - installation: *768 - marketplace_purchase: &795 + enterprise: *768 + installation: *769 + marketplace_purchase: &796 title: Marketplace Purchase type: object required: @@ -166987,8 +167373,8 @@ webhooks: type: integer unit_count: type: integer - organization: *769 - previous_marketplace_purchase: &796 + organization: *770 + previous_marketplace_purchase: &797 title: Marketplace Purchase type: object properties: @@ -167072,7 +167458,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *770 + repository: *771 sender: *4 required: - action @@ -167152,10 +167538,10 @@ webhooks: - changed effective_date: type: string - enterprise: *767 - installation: *768 - marketplace_purchase: *795 - organization: *769 + enterprise: *768 + installation: *769 + marketplace_purchase: *796 + organization: *770 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -167243,7 +167629,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *770 + repository: *771 sender: *4 required: - action @@ -167325,10 +167711,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *767 - installation: *768 - marketplace_purchase: *795 - organization: *769 + enterprise: *768 + installation: *769 + marketplace_purchase: *796 + organization: *770 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -167414,7 +167800,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *770 + repository: *771 sender: *4 required: - action @@ -167495,8 +167881,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 marketplace_purchase: title: Marketplace Purchase type: object @@ -167582,9 +167968,9 @@ webhooks: type: integer unit_count: type: integer - organization: *769 - previous_marketplace_purchase: *796 - repository: *770 + organization: *770 + previous_marketplace_purchase: *797 + repository: *771 sender: *4 required: - action @@ -167664,12 +168050,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *767 - installation: *768 - marketplace_purchase: *795 - organization: *769 - previous_marketplace_purchase: *796 - repository: *770 + enterprise: *768 + installation: *769 + marketplace_purchase: *796 + organization: *770 + previous_marketplace_purchase: *797 + repository: *771 sender: *4 required: - action @@ -167771,11 +168157,11 @@ webhooks: type: string required: - to - enterprise: *767 - installation: *768 - member: *787 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + member: *788 + organization: *770 + repository: *771 sender: *4 required: - action @@ -167877,11 +168263,11 @@ webhooks: type: - string - 'null' - enterprise: *767 - installation: *768 - member: *787 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + member: *788 + organization: *770 + repository: *771 sender: *4 required: - action @@ -167960,11 +168346,11 @@ webhooks: type: string enum: - removed - enterprise: *767 - installation: *768 - member: *787 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + member: *788 + organization: *770 + repository: *771 sender: *4 required: - action @@ -168042,11 +168428,11 @@ webhooks: type: string enum: - added - enterprise: *767 - installation: *768 - member: *787 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + member: *788 + organization: *770 + repository: *771 scope: description: The scope of the membership. Currently, can only be `team`. @@ -168124,7 +168510,7 @@ webhooks: required: - login - id - team: &797 + team: &798 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -168354,11 +168740,11 @@ webhooks: type: string enum: - removed - enterprise: *767 - installation: *768 - member: *787 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + member: *788 + organization: *770 + repository: *771 scope: description: The scope of the membership. Currently, can only be `team`. @@ -168437,7 +168823,7 @@ webhooks: required: - login - id - team: *797 + team: *798 required: - action - scope @@ -168519,8 +168905,8 @@ webhooks: type: string enum: - checks_requested - installation: *768 - merge_group: &798 + installation: *769 + merge_group: &799 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -168546,8 +168932,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -168633,10 +169019,10 @@ webhooks: - merged - invalidated - dequeued - installation: *768 - merge_group: *798 - organization: *769 - repository: *770 + installation: *769 + merge_group: *799 + organization: *770 + repository: *771 sender: *4 required: - action @@ -168709,7 +169095,7 @@ webhooks: type: string enum: - deleted - enterprise: *767 + enterprise: *768 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -168818,12 +169204,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *768 - organization: *769 + installation: *769 + organization: *770 repository: anyOf: - type: 'null' - - *770 + - *771 sender: *4 required: - action @@ -168903,11 +169289,11 @@ webhooks: type: string enum: - closed - enterprise: *767 - installation: *768 - milestone: *793 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + milestone: *794 + organization: *770 + repository: *771 sender: *4 required: - action @@ -168986,9 +169372,9 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - milestone: &799 + enterprise: *768 + installation: *769 + milestone: &800 title: Milestone description: A collection of related issues and pull requests. type: object @@ -169130,8 +169516,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -169210,11 +169596,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - milestone: *793 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + milestone: *794 + organization: *770 + repository: *771 sender: *4 required: - action @@ -169324,11 +169710,11 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - milestone: *793 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + milestone: *794 + organization: *770 + repository: *771 sender: *4 required: - action @@ -169408,11 +169794,11 @@ webhooks: type: string enum: - opened - enterprise: *767 - installation: *768 - milestone: *799 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + milestone: *800 + organization: *770 + repository: *771 sender: *4 required: - action @@ -169491,11 +169877,11 @@ webhooks: type: string enum: - blocked - blocked_user: *787 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + blocked_user: *788 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -169574,11 +169960,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *787 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + blocked_user: *788 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -169657,9 +170043,9 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - membership: &800 + enterprise: *768 + installation: *769 + membership: &801 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -169769,8 +170155,8 @@ webhooks: - role - organization_url - user - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -169848,11 +170234,11 @@ webhooks: type: string enum: - member_added - enterprise: *767 - installation: *768 - membership: *800 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + membership: *801 + organization: *770 + repository: *771 sender: *4 required: - action @@ -169931,8 +170317,8 @@ webhooks: type: string enum: - member_invited - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -170054,10 +170440,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 - user: *787 + user: *788 required: - action - invitation @@ -170135,11 +170521,11 @@ webhooks: type: string enum: - member_removed - enterprise: *767 - installation: *768 - membership: *800 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + membership: *801 + organization: *770 + repository: *771 sender: *4 required: - action @@ -170226,11 +170612,11 @@ webhooks: properties: from: type: string - enterprise: *767 - installation: *768 - membership: *800 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + membership: *801 + organization: *770 + repository: *771 sender: *4 required: - action @@ -170307,9 +170693,9 @@ webhooks: type: string enum: - published - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 package: description: Information about the package. type: object @@ -170832,7 +171218,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &801 + items: &802 title: Ruby Gems metadata type: object properties: @@ -170929,7 +171315,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *771 sender: *4 required: - action @@ -171005,9 +171391,9 @@ webhooks: type: string enum: - updated - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 package: description: Information about the package. type: object @@ -171369,7 +171755,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *801 + items: *802 source_url: type: string format: uri @@ -171440,7 +171826,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *771 sender: *4 required: - action @@ -171620,12 +172006,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *767 + enterprise: *768 id: type: integer - installation: *768 - organization: *769 - repository: *770 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - id @@ -171702,7 +172088,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &802 + personal_access_token_request: &803 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -171852,10 +172238,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *767 - organization: *769 + enterprise: *768 + organization: *770 sender: *4 - installation: *768 + installation: *769 required: - action - personal_access_token_request @@ -171932,11 +172318,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *802 - enterprise: *767 - organization: *769 + personal_access_token_request: *803 + enterprise: *768 + organization: *770 sender: *4 - installation: *768 + installation: *769 required: - action - personal_access_token_request @@ -172012,11 +172398,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *802 - enterprise: *767 - organization: *769 + personal_access_token_request: *803 + enterprise: *768 + organization: *770 sender: *4 - installation: *768 + installation: *769 required: - action - personal_access_token_request @@ -172091,11 +172477,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *802 - organization: *769 - enterprise: *767 + personal_access_token_request: *803 + organization: *770 + enterprise: *768 sender: *4 - installation: *768 + installation: *769 required: - action - personal_access_token_request @@ -172200,7 +172586,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *803 + last_response: *804 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -172232,8 +172618,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 zen: description: Random string of GitHub zen. @@ -172478,10 +172864,10 @@ webhooks: - from required: - note - enterprise: *767 - installation: *768 - organization: *769 - project_card: &804 + enterprise: *768 + installation: *769 + organization: *770 + project_card: &805 title: Project Card type: object properties: @@ -172604,7 +172990,7 @@ webhooks: - creator - created_at - updated_at - repository: *770 + repository: *771 sender: *4 required: - action @@ -172685,11 +173071,11 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - project_card: *804 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + project_card: *805 + repository: *771 sender: *4 required: - action @@ -172769,9 +173155,9 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 project_card: title: Project Card type: object @@ -172901,7 +173287,7 @@ webhooks: repository: anyOf: - type: 'null' - - *770 + - *771 sender: *4 required: - action @@ -172995,11 +173381,11 @@ webhooks: - from required: - note - enterprise: *767 - installation: *768 - organization: *769 - project_card: *804 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + project_card: *805 + repository: *771 sender: *4 required: - action @@ -173093,9 +173479,9 @@ webhooks: - from required: - column_id - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 project_card: allOf: - title: Project Card @@ -173292,7 +173678,7 @@ webhooks: type: string required: - after_id - repository: *770 + repository: *771 sender: *4 required: - action @@ -173372,10 +173758,10 @@ webhooks: type: string enum: - closed - enterprise: *767 - installation: *768 - organization: *769 - project: &806 + enterprise: *768 + installation: *769 + organization: *770 + project: &807 title: Project type: object properties: @@ -173502,7 +173888,7 @@ webhooks: - creator - created_at - updated_at - repository: *770 + repository: *771 sender: *4 required: - action @@ -173582,10 +173968,10 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - project_column: &805 + enterprise: *768 + installation: *769 + organization: *770 + project_column: &806 title: Project Column type: object properties: @@ -173625,7 +174011,7 @@ webhooks: - name - created_at - updated_at - repository: *770 + repository: *771 sender: *4 required: - action @@ -173704,14 +174090,14 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - project_column: *805 + enterprise: *768 + installation: *769 + organization: *770 + project_column: *806 repository: anyOf: - type: 'null' - - *770 + - *771 sender: *4 required: - action @@ -173800,11 +174186,11 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - organization: *769 - project_column: *805 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + project_column: *806 + repository: *771 sender: *4 required: - action @@ -173884,11 +174270,11 @@ webhooks: type: string enum: - moved - enterprise: *767 - installation: *768 - organization: *769 - project_column: *805 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + project_column: *806 + repository: *771 sender: *4 required: - action @@ -173968,11 +174354,11 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - project: *806 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + project: *807 + repository: *771 sender: *4 required: - action @@ -174052,14 +174438,14 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - project: *806 + enterprise: *768 + installation: *769 + organization: *770 + project: *807 repository: anyOf: - type: 'null' - - *770 + - *771 sender: *4 required: - action @@ -174160,11 +174546,11 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - organization: *769 - project: *806 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + project: *807 + repository: *771 sender: *4 required: - action @@ -174243,11 +174629,11 @@ webhooks: type: string enum: - reopened - enterprise: *767 - installation: *768 - organization: *769 - project: *806 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + project: *807 + repository: *771 sender: *4 required: - action @@ -174328,8 +174714,8 @@ webhooks: type: string enum: - closed - installation: *768 - organization: *769 + installation: *769 + organization: *770 projects_v2: *279 sender: *4 required: @@ -174411,8 +174797,8 @@ webhooks: type: string enum: - created - installation: *768 - organization: *769 + installation: *769 + organization: *770 projects_v2: *279 sender: *4 required: @@ -174494,8 +174880,8 @@ webhooks: type: string enum: - deleted - installation: *768 - organization: *769 + installation: *769 + organization: *770 projects_v2: *279 sender: *4 required: @@ -174617,8 +175003,8 @@ webhooks: type: string to: type: string - installation: *768 - organization: *769 + installation: *769 + organization: *770 projects_v2: *279 sender: *4 required: @@ -174702,7 +175088,7 @@ webhooks: type: string enum: - archived - changes: &810 + changes: &811 type: object properties: archived_at: @@ -174718,9 +175104,9 @@ webhooks: - string - 'null' format: date-time - installation: *768 - organization: *769 - projects_v2_item: &807 + installation: *769 + organization: *770 + projects_v2_item: &808 title: Projects v2 Item description: An item belonging to a project type: object @@ -174860,9 +175246,9 @@ webhooks: - 'null' to: type: string - installation: *768 - organization: *769 - projects_v2_item: *807 + installation: *769 + organization: *770 + projects_v2_item: *808 sender: *4 required: - action @@ -174944,9 +175330,9 @@ webhooks: type: string enum: - created - installation: *768 - organization: *769 - projects_v2_item: *807 + installation: *769 + organization: *770 + projects_v2_item: *808 sender: *4 required: - action @@ -175027,9 +175413,9 @@ webhooks: type: string enum: - deleted - installation: *768 - organization: *769 - projects_v2_item: *807 + installation: *769 + organization: *770 + projects_v2_item: *808 sender: *4 required: - action @@ -175134,7 +175520,7 @@ webhooks: oneOf: - type: string - type: integer - - &808 + - &809 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -175158,7 +175544,7 @@ webhooks: required: - id - name - - &809 + - &810 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -175198,8 +175584,8 @@ webhooks: oneOf: - type: string - type: integer - - *808 - *809 + - *810 type: - 'null' - string @@ -175222,9 +175608,9 @@ webhooks: - 'null' required: - body - installation: *768 - organization: *769 - projects_v2_item: *807 + installation: *769 + organization: *770 + projects_v2_item: *808 sender: *4 required: - action @@ -175321,9 +175707,9 @@ webhooks: type: - string - 'null' - installation: *768 - organization: *769 - projects_v2_item: *807 + installation: *769 + organization: *770 + projects_v2_item: *808 sender: *4 required: - action @@ -175406,10 +175792,10 @@ webhooks: type: string enum: - restored - changes: *810 - installation: *768 - organization: *769 - projects_v2_item: *807 + changes: *811 + installation: *769 + organization: *770 + projects_v2_item: *808 sender: *4 required: - action @@ -175491,8 +175877,8 @@ webhooks: type: string enum: - reopened - installation: *768 - organization: *769 + installation: *769 + organization: *770 projects_v2: *279 sender: *4 required: @@ -175574,9 +175960,9 @@ webhooks: type: string enum: - created - installation: *768 - organization: *769 - projects_v2_status_update: *811 + installation: *769 + organization: *770 + projects_v2_status_update: *812 sender: *4 required: - action @@ -175657,9 +176043,9 @@ webhooks: type: string enum: - deleted - installation: *768 - organization: *769 - projects_v2_status_update: *811 + installation: *769 + organization: *770 + projects_v2_status_update: *812 sender: *4 required: - action @@ -175805,9 +176191,9 @@ webhooks: - string - 'null' format: date - installation: *768 - organization: *769 - projects_v2_status_update: *811 + installation: *769 + organization: *770 + projects_v2_status_update: *812 sender: *4 required: - action @@ -175878,10 +176264,10 @@ webhooks: title: public event type: object properties: - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - repository @@ -175958,13 +176344,13 @@ webhooks: type: string enum: - assigned - assignee: *787 - enterprise: *767 - installation: *768 - number: &812 + assignee: *788 + enterprise: *768 + installation: *769 + number: &813 description: The pull request number. type: integer - organization: *769 + organization: *770 pull_request: title: Pull Request type: object @@ -178317,7 +178703,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -178399,11 +178785,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 number: type: integer - organization: *769 + organization: *770 pull_request: title: Pull Request type: object @@ -180749,7 +181135,7 @@ webhooks: - draft reason: type: string - repository: *770 + repository: *771 sender: *4 required: - action @@ -180831,11 +181217,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 number: type: integer - organization: *769 + organization: *770 pull_request: title: Pull Request type: object @@ -183181,7 +183567,7 @@ webhooks: - draft reason: type: string - repository: *770 + repository: *771 sender: *4 required: - action @@ -183263,11 +183649,11 @@ webhooks: type: string enum: - closed - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: &813 + enterprise: *768 + installation: *769 + number: *813 + organization: *770 + pull_request: &814 allOf: - *602 - type: object @@ -183331,7 +183717,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *770 + repository: *771 sender: *4 required: - action @@ -183412,12 +183798,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: *813 - repository: *770 + enterprise: *768 + installation: *769 + number: *813 + organization: *770 + pull_request: *814 + repository: *771 sender: *4 required: - action @@ -183497,11 +183883,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *767 + enterprise: *768 milestone: *282 - number: *812 - organization: *769 - pull_request: &814 + number: *813 + organization: *770 + pull_request: &815 title: Pull Request type: object properties: @@ -185846,7 +186232,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -185925,11 +186311,11 @@ webhooks: type: string enum: - dequeued - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 number: type: integer - organization: *769 + organization: *770 pull_request: title: Pull Request type: object @@ -188293,7 +188679,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *770 + repository: *771 sender: *4 required: - action @@ -188417,12 +188803,12 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: *813 - repository: *770 + enterprise: *768 + installation: *769 + number: *813 + organization: *770 + pull_request: *814 + repository: *771 sender: *4 required: - action @@ -188502,11 +188888,11 @@ webhooks: type: string enum: - enqueued - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 number: type: integer - organization: *769 + organization: *770 pull_request: title: Pull Request type: object @@ -190855,7 +191241,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -190935,11 +191321,11 @@ webhooks: type: string enum: - labeled - enterprise: *767 - installation: *768 - label: *786 - number: *812 - organization: *769 + enterprise: *768 + installation: *769 + label: *787 + number: *813 + organization: *770 pull_request: title: Pull Request type: object @@ -193291,7 +193677,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -193372,10 +193758,10 @@ webhooks: type: string enum: - locked - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + enterprise: *768 + installation: *769 + number: *813 + organization: *770 pull_request: title: Pull Request type: object @@ -195725,7 +196111,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -195805,12 +196191,12 @@ webhooks: type: string enum: - milestoned - enterprise: *767 + enterprise: *768 milestone: *282 - number: *812 - organization: *769 - pull_request: *814 - repository: *770 + number: *813 + organization: *770 + pull_request: *815 + repository: *771 sender: *4 required: - action @@ -195889,12 +196275,12 @@ webhooks: type: string enum: - opened - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: *813 - repository: *770 + enterprise: *768 + installation: *769 + number: *813 + organization: *770 + pull_request: *814 + repository: *771 sender: *4 required: - action @@ -195975,12 +196361,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: *813 - repository: *770 + enterprise: *768 + installation: *769 + number: *813 + organization: *770 + pull_request: *814 + repository: *771 sender: *4 required: - action @@ -196060,12 +196446,12 @@ webhooks: type: string enum: - reopened - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: *813 - repository: *770 + enterprise: *768 + installation: *769 + number: *813 + organization: *770 + pull_request: *814 + repository: *771 sender: *4 required: - action @@ -196440,9 +196826,9 @@ webhooks: - start_side - side - reactions - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 pull_request: type: object properties: @@ -198676,7 +199062,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *770 + repository: *771 sender: *4 required: - action @@ -198756,7 +199142,7 @@ webhooks: type: string enum: - deleted - comment: &816 + comment: &817 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -199049,9 +199435,9 @@ webhooks: - start_side - side - reactions - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 pull_request: type: object properties: @@ -201273,7 +201659,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *770 + repository: *771 sender: *4 required: - action @@ -201353,11 +201739,11 @@ webhooks: type: string enum: - edited - changes: *815 - comment: *816 - enterprise: *767 - installation: *768 - organization: *769 + changes: *816 + comment: *817 + enterprise: *768 + installation: *769 + organization: *770 pull_request: type: object properties: @@ -203582,7 +203968,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *770 + repository: *771 sender: *4 required: - action @@ -203663,9 +204049,9 @@ webhooks: type: string enum: - dismissed - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 pull_request: title: Simple Pull Request type: object @@ -205902,7 +206288,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 + repository: *771 review: description: The review that was affected. type: object @@ -206153,9 +206539,9 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 pull_request: title: Simple Pull Request type: object @@ -208264,8 +208650,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 - review: &817 + repository: *771 + review: &818 description: The review that was affected. type: object properties: @@ -208503,12 +208889,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 number: description: The pull request number. type: integer - organization: *769 + organization: *770 pull_request: title: Pull Request type: object @@ -210859,7 +211245,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 requested_reviewer: title: User type: @@ -210945,12 +211331,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 number: description: The pull request number. type: integer - organization: *769 + organization: *770 pull_request: title: Pull Request type: object @@ -213308,7 +213694,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 requested_team: title: Team description: Groups of organization members that gives permissions @@ -213503,12 +213889,12 @@ webhooks: type: string enum: - review_requested - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 number: description: The pull request number. type: integer - organization: *769 + organization: *770 pull_request: title: Pull Request type: object @@ -215861,7 +216247,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 requested_reviewer: title: User type: @@ -215948,12 +216334,12 @@ webhooks: type: string enum: - review_requested - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 number: description: The pull request number. type: integer - organization: *769 + organization: *770 pull_request: title: Pull Request type: object @@ -218297,7 +218683,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 requested_team: title: Team description: Groups of organization members that gives permissions @@ -218481,9 +218867,9 @@ webhooks: type: string enum: - submitted - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 pull_request: title: Simple Pull Request type: object @@ -220723,8 +221109,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 - review: *817 + repository: *771 + review: *818 sender: *4 required: - action @@ -220804,9 +221190,9 @@ webhooks: type: string enum: - resolved - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 pull_request: title: Simple Pull Request type: object @@ -222955,7 +223341,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 + repository: *771 sender: *4 thread: type: object @@ -223352,9 +223738,9 @@ webhooks: type: string enum: - unresolved - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 pull_request: title: Simple Pull Request type: object @@ -225486,7 +225872,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 + repository: *771 sender: *4 thread: type: object @@ -225879,11 +226265,11 @@ webhooks: type: string enum: - stacked - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 stack: *599 - number: *812 - organization: *769 + number: *813 + organization: *770 pull_request: title: Pull Request type: object @@ -228235,7 +228621,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -228321,10 +228707,10 @@ webhooks: type: string before: type: string - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + enterprise: *768 + installation: *769 + number: *813 + organization: *770 pull_request: title: Pull Request type: object @@ -230663,7 +231049,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -230745,11 +231131,11 @@ webhooks: type: string enum: - unassigned - assignee: *818 - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + assignee: *819 + enterprise: *768 + installation: *769 + number: *813 + organization: *770 pull_request: title: Pull Request type: object @@ -233103,7 +233489,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -233182,11 +233568,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *767 - installation: *768 - label: *786 - number: *812 - organization: *769 + enterprise: *768 + installation: *769 + label: *787 + number: *813 + organization: *770 pull_request: title: Pull Request type: object @@ -235529,7 +235915,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -235610,10 +235996,10 @@ webhooks: type: string enum: - unlocked - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + enterprise: *768 + installation: *769 + number: *813 + organization: *770 pull_request: title: Pull Request type: object @@ -237946,7 +238332,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -238149,7 +238535,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *767 + enterprise: *768 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -238244,8 +238630,8 @@ webhooks: - url - author - committer - installation: *768 - organization: *769 + installation: *769 + organization: *770 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -238844,9 +239230,9 @@ webhooks: type: string enum: - published - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 registry_package: type: object properties: @@ -239323,7 +239709,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *801 + items: *802 summary: type: string tag_name: @@ -239379,7 +239765,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *771 sender: *4 required: - action @@ -239457,9 +239843,9 @@ webhooks: type: string enum: - updated - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 registry_package: type: object properties: @@ -239771,7 +240157,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *801 + items: *802 summary: type: string tag_name: @@ -239821,7 +240207,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *771 sender: *4 required: - action @@ -239898,10 +240284,10 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - release: &819 + enterprise: *768 + installation: *769 + organization: *770 + release: &820 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -240232,7 +240618,7 @@ webhooks: - updated_at - zipball_url - body - repository: *770 + repository: *771 sender: *4 required: - action @@ -240309,11 +240695,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - release: *819 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + release: *820 + repository: *771 sender: *4 required: - action @@ -240430,11 +240816,11 @@ webhooks: type: boolean required: - to - enterprise: *767 - installation: *768 - organization: *769 - release: *819 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + release: *820 + repository: *771 sender: *4 required: - action @@ -240512,9 +240898,9 @@ webhooks: type: string enum: - prereleased - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -240850,7 +241236,7 @@ webhooks: - string - 'null' format: uri - repository: *770 + repository: *771 sender: *4 required: - action @@ -240926,10 +241312,10 @@ webhooks: type: string enum: - published - enterprise: *767 - installation: *768 - organization: *769 - release: &820 + enterprise: *768 + installation: *769 + organization: *770 + release: &821 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -241262,7 +241648,7 @@ webhooks: - string - 'null' format: uri - repository: *770 + repository: *771 sender: *4 required: - action @@ -241338,11 +241724,11 @@ webhooks: type: string enum: - released - enterprise: *767 - installation: *768 - organization: *769 - release: *819 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + release: *820 + repository: *771 sender: *4 required: - action @@ -241418,11 +241804,11 @@ webhooks: type: string enum: - unpublished - enterprise: *767 - installation: *768 - organization: *769 - release: *820 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + release: *821 + repository: *771 sender: *4 required: - action @@ -241498,11 +241884,11 @@ webhooks: type: string enum: - published - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - repository_advisory: *687 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 + repository_advisory: *688 sender: *4 required: - action @@ -241578,11 +241964,11 @@ webhooks: type: string enum: - reported - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - repository_advisory: *687 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 + repository_advisory: *688 sender: *4 required: - action @@ -241658,10 +242044,10 @@ webhooks: type: string enum: - archived - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -241738,10 +242124,10 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -241819,10 +242205,10 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -241907,10 +242293,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -242025,10 +242411,10 @@ webhooks: - 'null' items: type: string - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -242100,10 +242486,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 status: type: string @@ -242184,10 +242570,10 @@ webhooks: type: string enum: - privatized - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -242264,10 +242650,10 @@ webhooks: type: string enum: - publicized - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -242361,10 +242747,10 @@ webhooks: - name required: - repository - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -242444,10 +242830,10 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 repository_ruleset: *324 sender: *4 required: @@ -242526,10 +242912,10 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 repository_ruleset: *324 sender: *4 required: @@ -242608,10 +242994,10 @@ webhooks: type: string enum: - edited - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 repository_ruleset: *324 changes: type: object @@ -242673,16 +243059,16 @@ webhooks: properties: added: type: array - items: *623 + items: *624 deleted: type: array - items: *623 + items: *624 updated: type: array items: type: object properties: - rule: *623 + rule: *624 changes: type: object properties: @@ -242919,10 +243305,10 @@ webhooks: - from required: - owner - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -243000,10 +243386,10 @@ webhooks: type: string enum: - unarchived - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -243081,7 +243467,7 @@ webhooks: type: string enum: - create - alert: &821 + alert: &822 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -243206,10 +243592,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -243419,10 +243805,10 @@ webhooks: type: string enum: - dismissed - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -243500,11 +243886,11 @@ webhooks: type: string enum: - reopen - alert: *821 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *822 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -243706,10 +244092,10 @@ webhooks: enum: - fixed - open - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -243787,7 +244173,7 @@ webhooks: type: string enum: - assigned - alert: &823 + alert: &824 type: object properties: number: *181 @@ -243934,12 +244320,12 @@ webhooks: anyOf: - type: 'null' - *4 - metadata: *822 + metadata: *823 assignee: *4 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -244017,11 +244403,11 @@ webhooks: type: string enum: - created - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *824 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -244102,11 +244488,11 @@ webhooks: type: string enum: - created - alert: *823 - installation: *768 - location: *824 - organization: *769 - repository: *770 + alert: *824 + installation: *769 + location: *825 + organization: *770 + repository: *771 sender: *4 required: - location @@ -244344,11 +244730,11 @@ webhooks: type: string enum: - metadata_created - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *824 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -244425,11 +244811,11 @@ webhooks: type: string enum: - metadata_removed - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *824 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -244506,11 +244892,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *824 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -244588,11 +244974,11 @@ webhooks: type: string enum: - reopened - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *824 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -244670,11 +245056,11 @@ webhooks: type: string enum: - resolved - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *824 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -244752,12 +245138,12 @@ webhooks: type: string enum: - unassigned - alert: *823 + alert: *824 assignee: *4 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -244835,11 +245221,11 @@ webhooks: type: string enum: - validated - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *824 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -244969,10 +245355,10 @@ webhooks: - organization - enterprise - - repository: *770 - enterprise: *767 - installation: *768 - organization: *769 + repository: *771 + enterprise: *768 + installation: *769 + organization: *770 sender: *4 required: - action @@ -245050,11 +245436,11 @@ webhooks: type: string enum: - published - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - security_advisory: &825 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 + security_advisory: &826 description: The details of the security advisory, including summary, description, and severity. type: object @@ -245227,11 +245613,11 @@ webhooks: type: string enum: - updated - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - security_advisory: *825 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 + security_advisory: *826 sender: *4 required: - action @@ -245304,10 +245690,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -245481,9 +245867,9 @@ webhooks: type: object properties: security_and_analysis: *297 - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 repository: *343 sender: *4 required: @@ -245562,12 +245948,12 @@ webhooks: type: string enum: - cancelled - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - sponsorship: &826 + sponsorship: &827 type: object properties: created_at: @@ -245872,12 +246258,12 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - sponsorship: *826 + sponsorship: *827 required: - action - sponsorship @@ -245965,12 +246351,12 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - sponsorship: *826 + sponsorship: *827 required: - action - changes @@ -246047,17 +246433,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &827 + effective_date: &828 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: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - sponsorship: *826 + sponsorship: *827 required: - action - sponsorship @@ -246131,7 +246517,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &828 + changes: &829 type: object properties: tier: @@ -246175,13 +246561,13 @@ webhooks: - from required: - tier - effective_date: *827 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + effective_date: *828 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - sponsorship: *826 + sponsorship: *827 required: - action - changes @@ -246258,13 +246644,13 @@ webhooks: type: string enum: - tier_changed - changes: *828 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + changes: *829 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - sponsorship: *826 + sponsorship: *827 required: - action - changes @@ -246338,10 +246724,10 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -246425,10 +246811,10 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -246862,15 +247248,15 @@ webhooks: type: - string - 'null' - enterprise: *767 + enterprise: *768 id: description: The unique identifier of the status. type: integer - installation: *768 + installation: *769 name: type: string - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 sha: description: The Commit SHA. @@ -246986,9 +247372,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *83 - installation: *768 - organization: *769 - repository: *770 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -247077,9 +247463,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *83 - installation: *768 - organization: *769 - repository: *770 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -247168,9 +247554,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *83 - installation: *768 - organization: *769 - repository: *770 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -247259,9 +247645,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *83 - installation: *768 - organization: *769 - repository: *770 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -247337,12 +247723,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - team: &829 + team: &830 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -247572,9 +247958,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 repository: title: Repository description: A git repository @@ -248044,7 +248430,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *830 required: - action - team @@ -248120,9 +248506,9 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 repository: title: Repository description: A git repository @@ -248592,7 +248978,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *830 required: - action - team @@ -248669,9 +249055,9 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 repository: title: Repository description: A git repository @@ -249141,7 +249527,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *830 required: - action - team @@ -249285,9 +249671,9 @@ webhooks: - from required: - permissions - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 repository: title: Repository description: A git repository @@ -249757,7 +250143,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *830 required: - action - changes @@ -249835,9 +250221,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 repository: title: Repository description: A git repository @@ -250307,7 +250693,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *830 required: - action - team @@ -250383,10 +250769,10 @@ webhooks: type: string enum: - started - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -250459,17 +250845,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *767 + enterprise: *768 inputs: type: - object - 'null' additionalProperties: true - installation: *768 - organization: *769 + installation: *769 + organization: *770 ref: type: string - repository: *770 + repository: *771 sender: *4 workflow: type: string @@ -250551,10 +250937,10 @@ webhooks: type: string enum: - completed - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 workflow_job: allOf: @@ -250889,10 +251275,10 @@ webhooks: type: string enum: - in_progress - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 workflow_job: allOf: @@ -251253,10 +251639,10 @@ webhooks: type: string enum: - queued - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 workflow_job: type: object @@ -251481,10 +251867,10 @@ webhooks: type: string enum: - waiting - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 workflow_job: type: object @@ -251711,12 +252097,12 @@ webhooks: type: string enum: - completed - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - workflow: *782 + workflow: *783 workflow_run: title: Workflow Run type: object @@ -252735,12 +253121,12 @@ webhooks: type: string enum: - in_progress - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - workflow: *782 + workflow: *783 workflow_run: title: Workflow Run type: object @@ -253744,12 +254130,12 @@ webhooks: type: string enum: - requested - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - workflow: *782 + workflow: *783 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index 108a94c7fe..fe64f2dd40 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -71890,7 +71890,7 @@ "/meta": { "get": { "summary": "Get GitHub meta information", - "description": "Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://docs.github.com/articles/about-github-s-ip-addresses/).\"\n\nThe API's response also includes a list of GitHub's domain names.\n\nThe values shown in the documentation's response are example values. You must always query the API directly to get the latest values.\n\n> [!NOTE]\n> This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported.", + "description": "Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://docs.github.com/articles/about-github-s-ip-addresses/).\"\n\nThe API's response also includes a list of GitHub's domain names, and the public keys used by GitHub to sign commits made through the web UI.\n\nThe values shown in the documentation's response are example values. You must always query the API directly to get the latest values.\n\n> [!NOTE]\n> This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported.", "tags": [ "meta" ], @@ -176260,6 +176260,261 @@ } } }, + "/orgs/{org}/interaction-limits/pulls/creation-cap": { + "patch": { + "summary": "Update pull request creation cap for an org", + "description": "Updates the pull request creation cap for an organization. The cap limits the total number\nof open pull requests a user can have across all public repositories in the organization\nat one time.\n\nOnly users with admin access to the organization can configure the cap.", + "tags": [ + "interactions" + ], + "operationId": "interactions/update-pull-request-creation-cap-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/orgs#update-pull-request-creation-cap-for-an-org" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether the pull request creation cap is enabled" + }, + "max_open_pull_requests": { + "type": "integer", + "description": "The maximum number of open pull requests a user can have at one time", + "minimum": 1, + "maximum": 1000 + } + }, + "required": [ + "enabled" + ] + }, + "examples": { + "default": { + "summary": "Example request body", + "value": { + "enabled": true, + "max_open_pull_requests": 1 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether the pull request creation cap is enabled" + }, + "max_open_pull_requests": { + "type": "integer", + "description": "The maximum number of open pull requests a user can have at one time", + "minimum": 1, + "maximum": 1000 + } + }, + "required": [ + "enabled", + "max_open_pull_requests" + ] + }, + "examples": { + "default": { + "summary": "Response", + "value": { + "enabled": true, + "max_open_pull_requests": 1 + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "405": { + "description": "Method Not Allowed", + "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" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "orgs" + } + } + }, "/orgs/{org}/invitations": { "get": { "summary": "List pending organization invitations", @@ -514923,7 +515178,7 @@ "properties": { "suggestions": { "type": "object", - "description": "Pending suggestions for each suggestible field (`type`,\n`issue_field_values`, `labels`, `assignees`, `state`) the\nrequest touched. Omitted for fields not in the request or\nwith no pending suggestions. Items tagged `already_applied`\nare echoes of the current request's inputs whose target is\nalready applied to the issue; they are not persisted as\npending suggestions.\n", + "description": "Pending suggestions for each suggestible field (`type`,\n`issue_field_values`, `labels`, `assignees`, `state`) the\nrequest touched. Omitted for fields not in the request or\nwith no pending or ignored suggestions. Items tagged\n`ignored` are echoes of the current request's inputs that\nwere not persisted as pending suggestions.\n", "properties": { "type": { "type": "array", @@ -514947,8 +515202,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -514991,8 +515253,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -515019,8 +515288,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -515047,8 +515323,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -515081,8 +515364,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -670583,6 +670873,972 @@ } } }, + "/repos/{owner}/{repo}/pulls/{pull_number}/merge-async": { + "put": { + "summary": "Merge a pull request asynchronously", + "description": "Merges a pull request into the base branch in the background. Merging in this way allows certain types of errors to be retried, and avoids the risk of timeouts for particularly complex merges.\n\nThis is the required method for merging stacked PRs, but also supports unstacked PRs. When using this endpoint to merge a stacked pull request, all pull requests in the stack up to and including the requested PR will be merged into the base branch.\n\nThe response includes a UUID that can be used to fetch the result of the merge. If another asynchronous merge request has already been made for this pull request, the UUID of that request will be returned instead with a 409 response status to indicate that the merge options may be different from those that were requested. If there isn't an existing asynchronous merge request, a 202 response status is used.\n\nIf the pull request is already merged, the merge commit OID will be returned immediately with a 200 status.\n\nIf the pull request cannot be merged (e.g. because it is closed, or still a draft) this result will be returned immediately with a 400 response status. Branch protection rules and repository rules are not run at this stage, only basic pull request state checks are performed.", + "tags": [ + "pulls" + ], + "operationId": "pulls/merge-async", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/pulls/pulls#merge-a-pull-request-asynchronously" + }, + "x-github": { + "triggersNotification": true, + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "pulls", + "subcategory": "pulls" + }, + "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": "pull_number", + "description": "The number that identifies the pull request.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": [ + "object", + "null" + ], + "properties": { + "commit_title": { + "type": "string", + "description": "Title for the automatic commit message." + }, + "commit_message": { + "type": "string", + "description": "Extra detail to append to automatic commit message." + }, + "sha": { + "type": "string", + "description": "SHA that pull request head must match to allow merge. If not provided, the current head of the PR at the time of the request will be used; if the PR is pushed in between the merge being requested and being executed, the merge will be cancelled." + }, + "merge_method": { + "type": "string", + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "description": "The action that will be taken to merge the pull request. `direct_merge` merges the pull request directly without using a merge queue; `merge_queue` adds the pull request to a merge queue; `default` selects the most appropriate option.", + "enum": [ + "default", + "direct_merge", + "merge_queue" + ] + } + } + }, + "examples": { + "default": { + "value": { + "commit_title": "Fix race condition", + "commit_message": "Avoids a race by trying to read the file and handling the exception if it does not exist.", + "sha": "6358cd125586d9def8c3e5943f23506202da81cc", + "merge_method": "squash", + "merge_action": "default" + } + } + } + } + } + }, + "responses": { + "202": { + "description": "if the merge request was accepted and will run in the background", + "content": { + "application/json": { + "schema": { + "title": "Pull Request Merge Async Result", + "description": "Pull Request Merge Async Result", + "type": "object", + "additionalProperties": false, + "properties": { + "status": { + "type": "string", + "enum": [ + "pending", + "merged", + "enqueued", + "failed" + ] + }, + "details": { + "oneOf": [ + { + "description": "When an asynchronous merge request was created or already existed", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "merge_method": { + "type": "string", + "enum": [ + "default", + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "enum": [ + "default", + "merge_queue", + "direct_merge" + ] + }, + "expected_head_sha": { + "type": "string", + "description": "SHA that the pull request head must match for the enqueued merge to proceed." + } + }, + "required": [ + "message", + "uuid", + "merge_method", + "merge_action", + "expected_head_sha" + ] + }, + { + "description": "When the pull request cannot be merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ] + }, + { + "description": "When the pull request is already merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "message", + "sha" + ] + } + ] + } + }, + "required": [ + "status", + "details" + ] + }, + "examples": { + "response-if-merge-request-was-accepted": { + "summary": "Request accepted", + "value": { + "status": "pending", + "details": { + "message": "Merge request enqueued.", + "uuid": "630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42", + "merge_method": "merge", + "merge_action": "default", + "expected_head_sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + } + } + } + } + }, + "200": { + "description": "if the pull request was already merged, or is already in a merge queue", + "content": { + "application/json": { + "schema": { + "title": "Pull Request Merge Async Result", + "description": "Pull Request Merge Async Result", + "type": "object", + "additionalProperties": false, + "properties": { + "status": { + "type": "string", + "enum": [ + "pending", + "merged", + "enqueued", + "failed" + ] + }, + "details": { + "oneOf": [ + { + "description": "When an asynchronous merge request was created or already existed", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "merge_method": { + "type": "string", + "enum": [ + "default", + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "enum": [ + "default", + "merge_queue", + "direct_merge" + ] + }, + "expected_head_sha": { + "type": "string", + "description": "SHA that the pull request head must match for the enqueued merge to proceed." + } + }, + "required": [ + "message", + "uuid", + "merge_method", + "merge_action", + "expected_head_sha" + ] + }, + { + "description": "When the pull request cannot be merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ] + }, + { + "description": "When the pull request is already merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "message", + "sha" + ] + } + ] + } + }, + "required": [ + "status", + "details" + ] + }, + "examples": { + "response-if-pull-request-was-already-merged": { + "summary": "Already merged", + "value": { + "status": "merged", + "details": { + "message": "Pull request is already merged.", + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + }, + "response-if-pull-request-is-already-enqueued": { + "summary": "Already enqueued", + "value": { + "status": "enqueued", + "details": { + "message": "Pull request is already in the merge queue." + } + } + } + } + } + } + }, + "409": { + "description": "if there is an existing merge request already enqueued for this pull request", + "content": { + "application/json": { + "schema": { + "title": "Pull Request Merge Async Result", + "description": "Pull Request Merge Async Result", + "type": "object", + "additionalProperties": false, + "properties": { + "status": { + "type": "string", + "enum": [ + "pending", + "merged", + "enqueued", + "failed" + ] + }, + "details": { + "oneOf": [ + { + "description": "When an asynchronous merge request was created or already existed", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "merge_method": { + "type": "string", + "enum": [ + "default", + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "enum": [ + "default", + "merge_queue", + "direct_merge" + ] + }, + "expected_head_sha": { + "type": "string", + "description": "SHA that the pull request head must match for the enqueued merge to proceed." + } + }, + "required": [ + "message", + "uuid", + "merge_method", + "merge_action", + "expected_head_sha" + ] + }, + { + "description": "When the pull request cannot be merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ] + }, + { + "description": "When the pull request is already merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "message", + "sha" + ] + } + ] + } + }, + "required": [ + "status", + "details" + ] + }, + "examples": { + "response-if-a-merge-request-already-exists": { + "value": { + "status": "pending", + "details": { + "message": "A merge request already exists for this pull request.", + "uuid": "630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42", + "merge_method": "squash", + "merge_action": "default", + "expected_head_sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + } + } + } + } + }, + "400": { + "description": "if the pull request is not ready to be merged, e.g. because it is closed", + "content": { + "application/json": { + "schema": { + "title": "Pull Request Merge Async Result", + "description": "Pull Request Merge Async Result", + "type": "object", + "additionalProperties": false, + "properties": { + "status": { + "type": "string", + "enum": [ + "pending", + "merged", + "enqueued", + "failed" + ] + }, + "details": { + "oneOf": [ + { + "description": "When an asynchronous merge request was created or already existed", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "merge_method": { + "type": "string", + "enum": [ + "default", + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "enum": [ + "default", + "merge_queue", + "direct_merge" + ] + }, + "expected_head_sha": { + "type": "string", + "description": "SHA that the pull request head must match for the enqueued merge to proceed." + } + }, + "required": [ + "message", + "uuid", + "merge_method", + "merge_action", + "expected_head_sha" + ] + }, + { + "description": "When the pull request cannot be merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ] + }, + { + "description": "When the pull request is already merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "message", + "sha" + ] + } + ] + } + }, + "required": [ + "status", + "details" + ] + }, + "examples": { + "response-if-pull-request-is-not-ready-to-be-merged": { + "value": { + "status": "failed", + "details": { + "message": "Pull request is closed." + } + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + } + } + }, + "/repos/{owner}/{repo}/pulls/{pull_number}/merge-async/{uuid}": { + "get": { + "summary": "Get the result of an asynchronous merge", + "description": "Fetches the current result of an asynchronous merge request, identified by the UUID that was returned when the merge was requested.\n\nWhile the merge is still queued, the response includes the UUID, merge method, and expected head SHA of the request. Once the merge has completed, the response reports whether it was merged, including the merge commit OID on success or a message describing why it could not be merged on failure.\n\nThe result of an asynchronous merge request is retained for 24 hours after its most recent update. After this window the request expires and this endpoint returns a `404` response for its UUID.", + "tags": [ + "pulls" + ], + "operationId": "pulls/get-merge-async-result", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/pulls/pulls#get-the-result-of-an-asynchronous-merge" + }, + "x-github": { + "triggersNotification": false, + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "pulls", + "subcategory": "pulls" + }, + "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": "pull_number", + "description": "The number that identifies the pull request.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "uuid", + "description": "The UUID of the asynchronous merge request, as returned when the merge was requested.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "the current result of the asynchronous merge request", + "content": { + "application/json": { + "schema": { + "title": "Pull Request Merge Async Result", + "description": "Pull Request Merge Async Result", + "type": "object", + "additionalProperties": false, + "properties": { + "status": { + "type": "string", + "enum": [ + "pending", + "merged", + "enqueued", + "failed" + ] + }, + "details": { + "oneOf": [ + { + "description": "When an asynchronous merge request was created or already existed", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "merge_method": { + "type": "string", + "enum": [ + "default", + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "enum": [ + "default", + "merge_queue", + "direct_merge" + ] + }, + "expected_head_sha": { + "type": "string", + "description": "SHA that the pull request head must match for the enqueued merge to proceed." + } + }, + "required": [ + "message", + "uuid", + "merge_method", + "merge_action", + "expected_head_sha" + ] + }, + { + "description": "When the pull request cannot be merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ] + }, + { + "description": "When the pull request is already merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "message", + "sha" + ] + } + ] + } + }, + "required": [ + "status", + "details" + ] + }, + "examples": { + "response-if-the-merge-is-still-queued": { + "summary": "Still queued", + "value": { + "status": "pending", + "details": { + "message": "Merge request is in progress.", + "uuid": "630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42", + "merge_method": "merge", + "merge_action": "default", + "expected_head_sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + }, + "response-if-the-pull-request-is-enqueued": { + "summary": "Enqueued in the merge queue", + "value": { + "status": "enqueued", + "details": { + "message": "Pull request is in the merge queue." + } + } + }, + "response-if-the-merge-succeeded": { + "summary": "Merge succeeded", + "value": { + "status": "merged", + "details": { + "message": "Pull request was merged.", + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + }, + "response-if-the-merge-failed": { + "summary": "Merge failed", + "value": { + "status": "failed", + "details": { + "message": "Merge conflict: the pull request could not be merged." + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + } + } + }, "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": { "get": { "summary": "Get all requested reviewers for a pull request", diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index 2c72f93847..144d5dba63 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -1131,7 +1131,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &689 + - &690 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -14922,7 +14922,7 @@ paths: properties: action: type: string - discussion: &783 + discussion: &784 title: Discussion description: A Discussion in a repository. type: object @@ -15708,7 +15708,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &701 + sub_issues_summary: &702 title: Sub-issues Summary type: object properties: @@ -15838,7 +15838,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &702 + issue_dependencies_summary: &703 title: Issue Dependencies Summary type: object properties: @@ -16717,7 +16717,7 @@ paths: type: string release: allOf: - - &613 + - &614 title: Release description: A release. type: object @@ -16799,7 +16799,7 @@ paths: author: *4 assets: type: array - items: &614 + items: &615 title: Release Asset description: Data related to a release. type: object @@ -17431,7 +17431,7 @@ paths: url: type: string format: uri - user: &710 + user: &711 title: Public User description: Public User type: object @@ -20560,7 +20560,7 @@ paths: description: |- Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see "[About GitHub's IP addresses](https://docs.github.com/articles/about-github-s-ip-addresses/)." - The API's response also includes a list of GitHub's domain names. + The API's response also includes a list of GitHub's domain names, and the public keys used by GitHub to sign commits made through the web UI. The values shown in the documentation's response are example values. You must always query the API directly to get the latest values. @@ -23479,7 +23479,7 @@ paths: parameters: - *75 - *117 - - &761 + - &762 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 @@ -23591,7 +23591,7 @@ paths: - *117 - *118 - *119 - - &762 + - &763 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -23599,7 +23599,7 @@ paths: schema: type: string - *122 - - &763 + - &764 name: sku description: The SKU to query for usage. in: query @@ -31681,12 +31681,12 @@ paths: required: - subject_digests examples: - default: &742 + default: &743 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &743 + withPredicateType: &744 value: subject_digests: - sha256:abc123 @@ -31745,7 +31745,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &744 + default: &745 value: attestations_subject_digests: - sha256:abc: @@ -41425,6 +41425,86 @@ paths: enabledForGitHubApps: true category: interactions subcategory: orgs + "/orgs/{org}/interaction-limits/pulls/creation-cap": + patch: + summary: Update pull request creation cap for an org + description: |- + Updates the pull request creation cap for an organization. The cap limits the total number + of open pull requests a user can have across all public repositories in the organization + at one time. + + Only users with admin access to the organization can configure the cap. + tags: + - interactions + operationId: interactions/update-pull-request-creation-cap-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/orgs#update-pull-request-creation-cap-for-an-org + parameters: + - *75 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enabled: + type: boolean + description: Whether the pull request creation cap is enabled + max_open_pull_requests: + type: integer + description: The maximum number of open pull requests a user can + have at one time + minimum: 1 + maximum: 1000 + required: + - enabled + examples: + default: + summary: Example request body + value: + enabled: true + max_open_pull_requests: 1 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + enabled: + type: boolean + description: Whether the pull request creation cap is enabled + max_open_pull_requests: + type: integer + description: The maximum number of open pull requests a user can + have at one time + minimum: 1 + maximum: 1000 + required: + - enabled + - max_open_pull_requests + examples: + default: + summary: Response + value: + enabled: true + max_open_pull_requests: 1 + '403': *27 + '404': *6 + '405': + description: Method Not Allowed + content: + application/json: + schema: *3 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: orgs "/orgs/{org}/invitations": get: summary: List pending organization invitations @@ -43998,7 +44078,7 @@ paths: parameters: - *75 - *258 - - &725 + - &726 name: repo_name description: repo_name parameter in: path @@ -45077,7 +45157,7 @@ paths: - nuget - container - *75 - - &726 + - &727 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -45118,7 +45198,7 @@ paths: default: *264 '403': *27 '401': *23 - '400': &728 + '400': &729 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -47249,7 +47329,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &811 + - &812 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -48259,7 +48339,7 @@ paths: - updated_at - project_url examples: - default: &748 + default: &749 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -48436,7 +48516,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &749 + items: &750 type: object properties: name: @@ -48473,7 +48553,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &750 + iteration_configuration: &751 type: object description: The configuration for iteration fields. properties: @@ -48523,7 +48603,7 @@ paths: value: name: Due date data_type: date - single_select_field: &751 + single_select_field: &752 summary: Create a single select field value: name: Priority @@ -48550,7 +48630,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &752 + iteration_field: &753 summary: Create an iteration field value: name: Sprint @@ -48576,7 +48656,7 @@ paths: application/json: schema: *284 examples: - text_field: &753 + text_field: &754 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -48585,7 +48665,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &754 + number_field: &755 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -48594,7 +48674,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &755 + date_field: &756 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -48603,7 +48683,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &756 + single_select_field: &757 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -48637,7 +48717,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &757 + iteration_field: &758 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -48683,7 +48763,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *281 - - &758 + - &759 name: field_id description: The unique identifier of the field. in: path @@ -48698,7 +48778,7 @@ paths: application/json: schema: *284 examples: - default: &759 + default: &760 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -49909,7 +49989,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &739 + schema: &740 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -50092,7 +50172,7 @@ paths: parameters: - *281 - *75 - - &760 + - &761 name: view_number description: The number that identifies the project view. in: path @@ -52191,7 +52271,7 @@ paths: - *75 - *17 - *19 - - &622 + - &623 name: targets description: | A comma-separated list of rule targets to filter by. @@ -52478,7 +52558,7 @@ paths: - object rules: type: array - items: &623 + items: &624 title: Repository Rule type: object description: A repository rule. @@ -52540,7 +52620,7 @@ paths: type: string enum: - required_linear_history - - &620 + - &621 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -53179,7 +53259,7 @@ paths: type: boolean description: Copilot automatically reviews each new push to the pull request. - - &621 + - &622 title: license_compliance_scanning description: Enforce any added or changed dependencies to comply with the organization's license policy. @@ -53491,7 +53571,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *75 - - &624 + - &625 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 @@ -53506,7 +53586,7 @@ paths: in: query schema: type: string - - &625 + - &626 name: time_period description: |- The time period to filter by. @@ -53522,14 +53602,14 @@ paths: - week - month default: day - - &626 + - &627 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 - - &627 + - &628 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -53542,7 +53622,7 @@ paths: - bypass - all default: all - - &628 + - &629 name: evaluate_status description: |- The evaluate status to filter on. When specified, only rule suites resulting from rulesets with the specified evaluate status will be returned. @@ -53565,7 +53645,7 @@ paths: description: Response content: application/json: - schema: &629 + schema: &630 title: Rule Suites description: Response type: array @@ -53621,7 +53701,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &630 + default: &631 value: - id: 21 actor_id: 12 @@ -53665,7 +53745,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *75 - - &631 + - &632 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -53681,7 +53761,7 @@ paths: description: Response content: application/json: - schema: &632 + schema: &633 title: Rule Suite description: Response type: object @@ -53788,7 +53868,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &633 + default: &634 value: id: 21 actor_id: 12 @@ -54035,7 +54115,7 @@ paths: type: string format: date-time examples: - default: &635 + default: &636 value: - version_id: 3 actor: @@ -54088,7 +54168,7 @@ paths: description: Response content: application/json: - schema: &636 + schema: &637 allOf: - *327 - type: object @@ -54160,7 +54240,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *75 - - &637 + - &638 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -54171,7 +54251,7 @@ paths: enum: - open - resolved - - &638 + - &639 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -54181,7 +54261,7 @@ paths: required: false schema: type: string - - &639 + - &640 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -54192,7 +54272,7 @@ paths: required: false schema: type: string - - &640 + - &641 name: exclude_providers in: query description: |- @@ -54203,7 +54283,7 @@ paths: required: false schema: type: string - - &641 + - &642 name: providers in: query description: |- @@ -54214,7 +54294,7 @@ paths: required: false schema: type: string - - &642 + - &643 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -54223,7 +54303,7 @@ paths: required: false schema: type: string - - &643 + - &644 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -54242,7 +54322,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &644 + - &645 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. @@ -54257,7 +54337,7 @@ paths: - *61 - *19 - *17 - - &645 + - &646 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 @@ -54267,7 +54347,7 @@ paths: required: false schema: type: string - - &646 + - &647 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 @@ -54277,7 +54357,7 @@ paths: required: false schema: type: string - - &647 + - &648 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -54286,7 +54366,7 @@ paths: required: false schema: type: string - - &648 + - &649 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -54295,7 +54375,7 @@ paths: schema: type: boolean default: false - - &649 + - &650 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -54304,7 +54384,7 @@ paths: schema: type: boolean default: false - - &650 + - &651 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -54313,7 +54393,7 @@ paths: schema: type: boolean default: false - - &651 + - &652 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -54324,7 +54404,7 @@ paths: required: false schema: type: boolean - - &652 + - &653 name: included_metadata in: query description: |- @@ -54335,7 +54415,7 @@ paths: required: false schema: type: string - - &653 + - &654 name: owner_email_hash in: query description: |- @@ -54370,14 +54450,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &654 + state: &655 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: &655 + resolution: &656 type: - string - 'null' @@ -54496,14 +54576,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &656 + - &657 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &658 + - &659 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -54567,7 +54647,7 @@ paths: - blob_url - commit_sha - commit_url - - &659 + - &660 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -54628,7 +54708,7 @@ paths: - page_url - commit_sha - commit_url - - &660 + - &661 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -54650,7 +54730,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &661 + - &662 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -54672,7 +54752,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &662 + - &663 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -54694,7 +54774,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &663 + - &664 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -54709,7 +54789,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &664 + - &665 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -54724,7 +54804,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &665 + - &666 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -54739,7 +54819,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &666 + - &667 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -54761,7 +54841,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &667 + - &668 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -54783,7 +54863,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &668 + - &669 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -54805,7 +54885,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &669 + - &670 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -54827,7 +54907,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &670 + - &671 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -55077,7 +55157,7 @@ paths: subcategory: custom-patterns parameters: - *75 - - &671 + - &672 name: state description: Filter custom patterns by state. When absent, returns patterns in all states. @@ -55088,7 +55168,7 @@ paths: enum: - published - unpublished - - &672 + - &673 name: push_protection description: Filter custom patterns by whether push protection is enabled. When absent, returns patterns regardless of push protection status. @@ -55099,7 +55179,7 @@ paths: enum: - enabled - disabled - - &673 + - &674 name: sort description: The property to sort the results by. in: query @@ -55198,7 +55278,7 @@ paths: - state - push_protection_enabled examples: - default: &674 + default: &675 value: - id: 1 name: Example Custom Pattern @@ -55261,7 +55341,7 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: &675 + items: &676 title: Secret Scanning Custom Pattern To Create description: A custom pattern to create in a bulk operation. type: object @@ -55298,7 +55378,7 @@ paths: items: type: string examples: - default: &676 + default: &677 value: patterns: - name: Example Custom Pattern @@ -55324,7 +55404,7 @@ paths: description: The list of successfully created custom patterns. items: *328 examples: - default: &677 + default: &678 value: created_patterns: - id: 1 @@ -55376,7 +55456,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: &678 + items: &679 title: Secret Scanning Custom Pattern Validation Error description: A validation error for a custom pattern in a batch operation. @@ -55430,7 +55510,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: &679 + items: &680 title: Secret Scanning Custom Pattern To Delete description: A custom pattern to delete in a bulk operation. type: object @@ -55453,7 +55533,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: &680 + default: &681 value: patterns: - pattern_id: 2 @@ -55499,7 +55579,7 @@ paths: required: true content: application/json: - schema: &681 + schema: &682 title: Secret Scanning Custom Pattern To Update description: Fields to update on a custom pattern. At least one updatable field (`pattern`, `start_delimiter`, `end_delimiter`, `must_match`, @@ -55540,7 +55620,7 @@ paths: type: string custom_pattern_version: *329 examples: - default: &682 + default: &683 value: pattern: updated_secret_[0-9A-Z]{16} start_delimiter: "[^0-9A-Za-z]" @@ -55557,7 +55637,7 @@ paths: application/json: schema: *328 examples: - default: &683 + default: &684 value: id: 1 name: Example Custom Pattern @@ -55864,7 +55944,7 @@ paths: application/json: schema: type: array - items: &687 + items: &688 description: A repository security advisory. type: object properties: @@ -56215,7 +56295,7 @@ paths: - private_fork version: '2026-03-10' examples: - default: &688 + default: &689 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -58166,7 +58246,7 @@ paths: application/json: schema: type: array - items: &704 + items: &705 title: Team Member description: A user that is a member of a team, including their role on the team and whether the membership is inherited from @@ -58309,7 +58389,7 @@ paths: - type - url examples: - default: &705 + default: &706 value: - login: octocat id: 1 @@ -58396,7 +58476,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &706 + response-if-user-is-a-team-maintainer: &707 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -58461,7 +58541,7 @@ paths: application/json: schema: *339 examples: - response-if-users-membership-with-team-is-now-pending: &707 + response-if-users-membership-with-team-is-now-pending: &708 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -58575,7 +58655,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &708 + schema: &709 title: Team Repository description: A team's access to a repository. type: object @@ -59389,7 +59469,7 @@ paths: type: array items: *201 examples: - response-if-child-teams-exist: &709 + response-if-child-teams-exist: &710 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -71540,7 +71620,7 @@ paths: check. type: array items: *86 - deployment: &772 + deployment: &773 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -77299,7 +77379,7 @@ paths: type: array items: *463 examples: - default: &715 + default: &716 value: total_count: 2 machines: @@ -80476,7 +80556,7 @@ paths: application/json: schema: type: array - items: &693 + items: &694 title: Status description: The status of a commit. type: object @@ -81465,7 +81545,7 @@ paths: - size - type - url - - &611 + - &612 title: Content File description: Content File type: object @@ -82132,7 +82212,7 @@ paths: items: type: object properties: - placeholder_id: &684 + placeholder_id: &685 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -88356,7 +88436,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &803 + last_response: &804 title: Hook Response type: object properties: @@ -89425,7 +89505,7 @@ paths: parameters: - *340 - *341 - - &737 + - &738 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -90144,7 +90224,7 @@ paths: type: array items: *537 examples: - default: &730 + default: &731 value: - id: 1 repository: @@ -92768,10 +92848,9 @@ paths: Pending suggestions for each suggestible field (`type`, `issue_field_values`, `labels`, `assignees`, `state`) the request touched. Omitted for fields not in the request or - with no pending suggestions. Items tagged `already_applied` - are echoes of the current request's inputs whose target is - already applied to the issue; they are not persisted as - pending suggestions. + with no pending or ignored suggestions. Items tagged + `ignored` are echoes of the current request's inputs that + were not persisted as pending suggestions. properties: type: type: array @@ -92790,8 +92869,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed issue_field_values: type: array items: @@ -92816,8 +92900,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed labels: type: array items: @@ -92835,8 +92924,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed assignees: type: array items: @@ -92854,8 +92948,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed state: type: array items: @@ -92877,8 +92976,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed examples: default: *545 '422': *15 @@ -101908,6 +102012,288 @@ paths: enabledForGitHubApps: true category: pulls subcategory: pulls + "/repos/{owner}/{repo}/pulls/{pull_number}/merge-async": + put: + summary: Merge a pull request asynchronously + description: |- + Merges a pull request into the base branch in the background. Merging in this way allows certain types of errors to be retried, and avoids the risk of timeouts for particularly complex merges. + + This is the required method for merging stacked PRs, but also supports unstacked PRs. When using this endpoint to merge a stacked pull request, all pull requests in the stack up to and including the requested PR will be merged into the base branch. + + The response includes a UUID that can be used to fetch the result of the merge. If another asynchronous merge request has already been made for this pull request, the UUID of that request will be returned instead with a 409 response status to indicate that the merge options may be different from those that were requested. If there isn't an existing asynchronous merge request, a 202 response status is used. + + If the pull request is already merged, the merge commit OID will be returned immediately with a 200 status. + + If the pull request cannot be merged (e.g. because it is closed, or still a draft) this result will be returned immediately with a 400 response status. Branch protection rules and repository rules are not run at this stage, only basic pull request state checks are performed. + tags: + - pulls + operationId: pulls/merge-async + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request-asynchronously + x-github: + triggersNotification: true + githubCloudOnly: false + enabledForGitHubApps: true + category: pulls + subcategory: pulls + parameters: + - *340 + - *341 + - *604 + requestBody: + required: false + content: + application/json: + schema: + type: + - object + - 'null' + properties: + commit_title: + type: string + description: Title for the automatic commit message. + commit_message: + type: string + description: Extra detail to append to automatic commit message. + sha: + type: string + description: SHA that pull request head must match to allow merge. + If not provided, the current head of the PR at the time of the + request will be used; if the PR is pushed in between the merge + being requested and being executed, the merge will be cancelled. + merge_method: + type: string + description: The merge method to use. + enum: + - merge + - squash + - rebase + merge_action: + type: string + description: The action that will be taken to merge the pull request. + `direct_merge` merges the pull request directly without using + a merge queue; `merge_queue` adds the pull request to a merge + queue; `default` selects the most appropriate option. + enum: + - default + - direct_merge + - merge_queue + examples: + default: + value: + commit_title: Fix race condition + commit_message: Avoids a race by trying to read the file and handling + the exception if it does not exist. + sha: 6358cd125586d9def8c3e5943f23506202da81cc + merge_method: squash + merge_action: default + responses: + '202': + description: if the merge request was accepted and will run in the background + content: + application/json: + schema: &607 + title: Pull Request Merge Async Result + description: Pull Request Merge Async Result + type: object + additionalProperties: false + properties: + status: + type: string + enum: + - pending + - merged + - enqueued + - failed + details: + oneOf: + - description: When an asynchronous merge request was created + or already existed + type: object + additionalProperties: false + properties: + message: + type: string + uuid: + type: string + merge_method: + type: string + enum: + - default + - merge + - squash + - rebase + merge_action: + type: string + enum: + - default + - merge_queue + - direct_merge + expected_head_sha: + type: string + description: SHA that the pull request head must match for + the enqueued merge to proceed. + required: + - message + - uuid + - merge_method + - merge_action + - expected_head_sha + - description: When the pull request cannot be merged + type: object + additionalProperties: false + properties: + message: + type: string + required: + - message + - description: When the pull request is already merged + type: object + additionalProperties: false + properties: + message: + type: string + sha: + type: string + required: + - message + - sha + required: + - status + - details + examples: + response-if-merge-request-was-accepted: + summary: Request accepted + value: + status: pending + details: + message: Merge request enqueued. + uuid: 630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42 + merge_method: merge + merge_action: default + expected_head_sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + '200': + description: if the pull request was already merged, or is already in a + merge queue + content: + application/json: + schema: *607 + examples: + response-if-pull-request-was-already-merged: + summary: Already merged + value: + status: merged + details: + message: Pull request is already merged. + sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + response-if-pull-request-is-already-enqueued: + summary: Already enqueued + value: + status: enqueued + details: + message: Pull request is already in the merge queue. + '409': + description: if there is an existing merge request already enqueued for + this pull request + content: + application/json: + schema: *607 + examples: + response-if-a-merge-request-already-exists: + value: + status: pending + details: + message: A merge request already exists for this pull request. + uuid: 630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42 + merge_method: squash + merge_action: default + expected_head_sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + '400': + description: if the pull request is not ready to be merged, e.g. because + it is closed + content: + application/json: + schema: *607 + examples: + response-if-pull-request-is-not-ready-to-be-merged: + value: + status: failed + details: + message: Pull request is closed. + '422': *15 + '403': *27 + '404': *6 + "/repos/{owner}/{repo}/pulls/{pull_number}/merge-async/{uuid}": + get: + summary: Get the result of an asynchronous merge + description: |- + Fetches the current result of an asynchronous merge request, identified by the UUID that was returned when the merge was requested. + + While the merge is still queued, the response includes the UUID, merge method, and expected head SHA of the request. Once the merge has completed, the response reports whether it was merged, including the merge commit OID on success or a message describing why it could not be merged on failure. + + The result of an asynchronous merge request is retained for 24 hours after its most recent update. After this window the request expires and this endpoint returns a `404` response for its UUID. + tags: + - pulls + operationId: pulls/get-merge-async-result + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/pulls/pulls#get-the-result-of-an-asynchronous-merge + x-github: + triggersNotification: false + githubCloudOnly: false + enabledForGitHubApps: true + category: pulls + subcategory: pulls + parameters: + - *340 + - *341 + - *604 + - name: uuid + description: The UUID of the asynchronous merge request, as returned when + the merge was requested. + in: path + required: true + schema: + type: string + responses: + '200': + description: the current result of the asynchronous merge request + content: + application/json: + schema: *607 + examples: + response-if-the-merge-is-still-queued: + summary: Still queued + value: + status: pending + details: + message: Merge request is in progress. + uuid: 630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42 + merge_method: merge + merge_action: default + expected_head_sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + response-if-the-pull-request-is-enqueued: + summary: Enqueued in the merge queue + value: + status: enqueued + details: + message: Pull request is in the merge queue. + response-if-the-merge-succeeded: + summary: Merge succeeded + value: + status: merged + details: + message: Pull request was merged. + sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + response-if-the-merge-failed: + summary: Merge failed + value: + status: failed + details: + message: 'Merge conflict: the pull request could not be merged.' + '403': *27 + '404': *6 "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": get: summary: Get all requested reviewers for a pull request @@ -103139,7 +103525,7 @@ paths: application/json: schema: type: array - items: &607 + items: &608 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -103387,9 +103773,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: &609 + default: &610 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -103455,7 +103841,7 @@ paths: - *340 - *341 - *604 - - &608 + - &609 name: review_id description: The unique identifier of the review. in: path @@ -103467,9 +103853,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: &610 + default: &611 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -103531,7 +103917,7 @@ paths: - *340 - *341 - *604 - - *608 + - *609 requestBody: required: true content: @@ -103554,7 +103940,7 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: default: value: @@ -103619,15 +104005,15 @@ paths: - *340 - *341 - *604 - - *608 + - *609 responses: '200': description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: *609 + default: *610 '422': *7 '404': *6 x-github: @@ -103657,7 +104043,7 @@ paths: - *340 - *341 - *604 - - *608 + - *609 - *17 - *19 responses: @@ -103918,7 +104304,7 @@ paths: - *340 - *341 - *604 - - *608 + - *609 requestBody: required: true content: @@ -103947,7 +104333,7 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: default: value: @@ -104013,7 +104399,7 @@ paths: - *340 - *341 - *604 - - *608 + - *609 requestBody: required: true content: @@ -104048,9 +104434,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: *610 + default: *611 '404': *6 '422': *7 '403': *27 @@ -104152,9 +104538,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *612 examples: - default: &612 + default: &613 value: type: file encoding: base64 @@ -104217,9 +104603,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *612 examples: - default: *612 + default: *613 '404': *6 '422': *15 x-github: @@ -104252,7 +104638,7 @@ paths: application/json: schema: type: array - items: *613 + items: *614 examples: default: value: @@ -104428,9 +104814,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: - default: &617 + default: &618 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -104537,7 +104923,7 @@ paths: parameters: - *340 - *341 - - &615 + - &616 name: asset_id description: The unique identifier of the asset. in: path @@ -104549,9 +104935,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *615 examples: - default: &616 + default: &617 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 @@ -104604,7 +104990,7 @@ paths: parameters: - *340 - *341 - - *615 + - *616 requestBody: required: false content: @@ -104633,9 +105019,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *615 examples: - default: *616 + default: *617 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104653,7 +105039,7 @@ paths: parameters: - *340 - *341 - - *615 + - *616 responses: '204': description: Response @@ -104772,9 +105158,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: - default: *617 + default: *618 '404': *6 x-github: githubCloudOnly: false @@ -104806,9 +105192,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: - default: *617 + default: *618 '404': *6 x-github: githubCloudOnly: false @@ -104832,7 +105218,7 @@ paths: parameters: - *340 - *341 - - &618 + - &619 name: release_id description: The unique identifier of the release. in: path @@ -104846,9 +105232,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: *613 + schema: *614 examples: - default: *617 + default: *618 '401': description: Unauthorized x-github: @@ -104874,7 +105260,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 requestBody: required: false content: @@ -104938,9 +105324,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: - default: *617 + default: *618 '404': description: Not Found if the discussion category name is invalid content: @@ -104963,7 +105349,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 responses: '204': description: Response @@ -104986,7 +105372,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 - *17 - *19 responses: @@ -104996,7 +105382,7 @@ paths: application/json: schema: type: array - items: *614 + items: *615 examples: default: value: @@ -105079,7 +105465,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 - name: name in: query required: true @@ -105105,7 +105491,7 @@ paths: description: Response for successful upload content: application/json: - schema: *614 + schema: *615 examples: response-for-successful-upload: value: @@ -105162,7 +105548,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 - 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. @@ -105211,7 +105597,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 requestBody: required: true content: @@ -105274,7 +105660,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 - *541 responses: '204': @@ -105318,7 +105704,7 @@ paths: oneOf: - allOf: - *303 - - &619 + - &620 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -105339,70 +105725,70 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *304 - - *619 + - *620 - allOf: - *305 - - *619 + - *620 - allOf: - *306 - - *619 + - *620 - allOf: + - *621 - *620 - - *619 - allOf: - *307 - - *619 + - *620 - allOf: - *308 - - *619 + - *620 - allOf: - *309 - - *619 + - *620 - allOf: - *310 - - *619 + - *620 - allOf: - *311 - - *619 + - *620 - allOf: - *312 - - *619 + - *620 - allOf: - *313 - - *619 + - *620 - allOf: - *314 - - *619 + - *620 - allOf: - *315 - - *619 + - *620 - allOf: - *316 - - *619 + - *620 - allOf: - *321 - - *619 + - *620 - allOf: - *322 - - *619 + - *620 - allOf: - *323 - - *619 + - *620 - allOf: - - *621 - - *619 + - *622 + - *620 - allOf: - *317 - - *619 + - *620 - allOf: - *318 - - *619 + - *620 - allOf: - *319 - - *619 + - *620 - allOf: - *320 - - *619 + - *620 examples: default: value: @@ -105453,7 +105839,7 @@ paths: schema: type: boolean default: true - - *622 + - *623 responses: '200': description: Response @@ -105538,7 +105924,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *623 + items: *624 required: - name - enforcement @@ -105571,7 +105957,7 @@ paths: application/json: schema: *324 examples: - default: &634 + default: &635 value: id: 42 name: super cool ruleset @@ -105621,11 +106007,11 @@ paths: parameters: - *340 - *341 - - *624 - *625 - *626 - *627 - *628 + - *629 - *17 - *19 responses: @@ -105633,9 +106019,9 @@ paths: description: Response content: application/json: - schema: *629 + schema: *630 examples: - default: *630 + default: *631 '404': *6 '500': *54 x-github: @@ -105658,15 +106044,15 @@ paths: parameters: - *340 - *341 - - *631 + - *632 responses: '200': description: Response content: application/json: - schema: *632 + schema: *633 examples: - default: *633 + default: *634 '404': *6 '500': *54 x-github: @@ -105717,7 +106103,7 @@ paths: application/json: schema: *324 examples: - default: *634 + default: *635 '404': *6 '500': *54 put: @@ -105770,7 +106156,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *623 + items: *624 examples: default: value: @@ -105800,7 +106186,7 @@ paths: application/json: schema: *324 examples: - default: *634 + default: *635 '404': *6 '422': *15 '500': *54 @@ -105862,7 +106248,7 @@ paths: type: array items: *327 examples: - default: *635 + default: *636 '404': *6 '500': *54 x-github: @@ -105900,7 +106286,7 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: default: value: @@ -105957,7 +106343,6 @@ paths: parameters: - *340 - *341 - - *637 - *638 - *639 - *640 @@ -105965,10 +106350,10 @@ paths: - *642 - *643 - *644 + - *645 - *61 - *19 - *17 - - *645 - *646 - *647 - *648 @@ -105977,6 +106362,7 @@ paths: - *651 - *652 - *653 + - *654 responses: '200': description: Response @@ -106000,8 +106386,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *654 - resolution: *655 + state: *655 + resolution: *656 resolved_at: type: - string @@ -106107,7 +106493,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *656 + - *657 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -106269,13 +106655,13 @@ paths: - *340 - *341 - *439 - - *650 + - *651 responses: '200': description: Response content: application/json: - schema: &657 + schema: &658 type: object properties: number: *181 @@ -106290,8 +106676,8 @@ paths: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *654 - resolution: *655 + state: *655 + resolution: *656 resolved_at: type: - string @@ -106397,7 +106783,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *656 + - *657 has_more_locations: type: boolean description: A boolean value representing whether or not the token @@ -106420,7 +106806,7 @@ paths: anyOf: - type: 'null' - *4 - metadata: &822 + metadata: &823 type: array description: A list of metadata key/value pairs associated with the secret scanning alert. @@ -106503,8 +106889,8 @@ paths: schema: type: object properties: - state: *654 - resolution: *655 + state: *655 + resolution: *656 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -106552,7 +106938,7 @@ paths: description: Response content: application/json: - schema: *657 + schema: *658 examples: default: value: @@ -106667,7 +107053,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &824 + items: &825 type: object properties: type: @@ -106694,7 +107080,6 @@ paths: - commit details: oneOf: - - *658 - *659 - *660 - *661 @@ -106707,6 +107092,7 @@ paths: - *668 - *669 - *670 + - *671 examples: default: value: @@ -106797,9 +107183,9 @@ paths: parameters: - *340 - *341 - - *671 - *672 - *673 + - *674 - *61 - *19 - *17 @@ -106812,7 +107198,7 @@ paths: type: array items: *328 examples: - default: *674 + default: *675 headers: Link: *67 '403': *27 @@ -106849,9 +107235,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *675 + items: *676 examples: - default: *676 + default: *677 responses: '201': description: All patterns created successfully. @@ -106865,7 +107251,7 @@ paths: description: The list of successfully created custom patterns. items: *328 examples: - default: *677 + default: *678 '400': *14 '403': *27 '404': *6 @@ -106889,7 +107275,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *678 + items: *679 delete: summary: Bulk delete repository custom patterns description: |- @@ -106923,7 +107309,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *679 + items: *680 post_delete_action: type: string description: |- @@ -106936,7 +107322,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *680 + default: *681 responses: '204': description: All patterns deleted successfully. @@ -106975,9 +107361,9 @@ paths: required: true content: application/json: - schema: *681 + schema: *682 examples: - default: *682 + default: *683 responses: '200': description: Pattern updated successfully. @@ -106985,7 +107371,7 @@ paths: application/json: schema: *328 examples: - default: *683 + default: *684 '400': *14 '403': *27 '404': *6 @@ -107016,14 +107402,14 @@ paths: schema: type: object properties: - reason: &685 + reason: &686 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *684 + placeholder_id: *685 required: - reason - placeholder_id @@ -107040,7 +107426,7 @@ paths: schema: type: object properties: - reason: *685 + reason: *686 expire_at: type: - string @@ -107103,7 +107489,7 @@ paths: properties: incremental_scans: type: array - items: &686 + items: &687 description: Information on a single scan performed by secret scanning on the repository type: object @@ -107136,15 +107522,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *686 + items: *687 backfill_scans: type: array - items: *686 + items: *687 custom_pattern_backfill_scans: type: array items: allOf: - - *686 + - *687 - type: object properties: pattern_name: @@ -107157,7 +107543,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *686 + items: *687 examples: default: value: @@ -107267,9 +107653,9 @@ paths: application/json: schema: type: array - items: *687 + items: *688 examples: - default: *688 + default: *689 '400': *14 '404': *6 x-github: @@ -107463,9 +107849,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *688 examples: - default: &690 + default: &691 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -107818,7 +108204,7 @@ paths: description: Response content: application/json: - schema: *687 + schema: *688 examples: default: value: @@ -107973,15 +108359,15 @@ paths: parameters: - *340 - *341 - - *689 + - *690 responses: '200': description: Response content: application/json: - schema: *687 + schema: *688 examples: - default: *690 + default: *691 '403': *27 '404': *6 x-github: @@ -108007,7 +108393,7 @@ paths: parameters: - *340 - *341 - - *689 + - *690 requestBody: required: true content: @@ -108178,10 +108564,10 @@ paths: description: Response content: application/json: - schema: *687 + schema: *688 examples: - default: *690 - add_credit: *690 + default: *691 + add_credit: *691 '403': *27 '404': *6 '422': @@ -108221,7 +108607,7 @@ paths: parameters: - *340 - *341 - - *689 + - *690 responses: '202': *38 '400': *14 @@ -108250,7 +108636,7 @@ paths: parameters: - *340 - *341 - - *689 + - *690 responses: '202': description: Response @@ -108481,7 +108867,7 @@ paths: format: date-time pull_requests: type: array - items: &691 + items: &692 title: Pull Request Stack Pull Request type: object allOf: @@ -108758,7 +109144,7 @@ paths: format: date-time pull_requests: type: array - items: *691 + items: *692 examples: default: value: @@ -108951,7 +109337,7 @@ paths: format: date-time pull_requests: type: array - items: *691 + items: *692 examples: default: value: @@ -109208,7 +109594,7 @@ paths: format: date-time pull_requests: type: array - items: *691 + items: *692 examples: default: value: @@ -109421,7 +109807,7 @@ paths: application/json: schema: type: array - items: &692 + items: &693 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -109794,7 +110180,7 @@ paths: application/json: schema: type: array - items: *692 + items: *693 examples: default: value: @@ -109884,7 +110270,7 @@ paths: description: Response content: application/json: - schema: *693 + schema: *694 examples: default: value: @@ -109978,7 +110364,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &694 + schema: &695 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -110078,7 +110464,7 @@ paths: description: Response content: application/json: - schema: *694 + schema: *695 examples: default: value: @@ -110288,7 +110674,7 @@ paths: description: Response content: application/json: - schema: &695 + schema: &696 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -110300,7 +110686,7 @@ paths: required: - names examples: - default: &696 + default: &697 value: names: - octocat @@ -110355,9 +110741,9 @@ paths: description: Response content: application/json: - schema: *695 + schema: *696 examples: - default: *696 + default: *697 '404': *6 '422': *7 x-github: @@ -110380,7 +110766,7 @@ paths: parameters: - *340 - *341 - - &697 + - &698 name: per description: The time frame to display results for. in: query @@ -110411,7 +110797,7 @@ paths: - 128 clones: type: array - items: &698 + items: &699 title: Traffic type: object properties: @@ -110659,7 +111045,7 @@ paths: parameters: - *340 - *341 - - *697 + - *698 responses: '200': description: Response @@ -110680,7 +111066,7 @@ paths: - 3782 views: type: array - items: *698 + items: *699 required: - uniques - count @@ -111459,7 +111845,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &699 + text_matches: &700 title: Search Result Text Matches type: array items: @@ -111622,7 +112008,7 @@ paths: enum: - author-date - committer-date - - &700 + - &701 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 @@ -111742,7 +112128,7 @@ paths: type: number node_id: type: string - text_matches: *699 + text_matches: *700 required: - sha - node_id @@ -111934,7 +112320,7 @@ paths: - interactions - created - updated - - *700 + - *701 - *17 - *19 - name: advanced_search @@ -112048,8 +112434,8 @@ paths: type: - string - 'null' - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -112080,7 +112466,7 @@ paths: - string - 'null' format: date-time - text_matches: *699 + text_matches: *700 pull_request: type: object properties: @@ -112390,7 +112776,7 @@ paths: enum: - created - updated - - *700 + - *701 - *17 - *19 responses: @@ -112435,7 +112821,7 @@ paths: - 'null' score: type: number - text_matches: *699 + text_matches: *700 required: - id - node_id @@ -112520,7 +112906,7 @@ paths: - forks - help-wanted-issues - updated - - *700 + - *701 - *17 - *19 responses: @@ -112766,7 +113152,7 @@ paths: - admin - pull - push - text_matches: *699 + text_matches: *700 temp_clone_token: type: string allow_merge_commit: @@ -113074,7 +113460,7 @@ paths: - string - 'null' format: uri - text_matches: *699 + text_matches: *700 related: type: - array @@ -113267,7 +113653,7 @@ paths: - followers - repositories - joined - - *700 + - *701 - *17 - *19 responses: @@ -113377,7 +113763,7 @@ paths: type: - boolean - 'null' - text_matches: *699 + text_matches: *700 blog: type: - string @@ -113459,7 +113845,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &703 + - &704 name: team_id description: The unique identifier of the team. in: path @@ -113500,7 +113886,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *703 + - *704 requestBody: required: true content: @@ -113601,7 +113987,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *703 + - *704 responses: '204': description: Response @@ -113630,7 +114016,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *703 + - *704 - *17 - *19 responses: @@ -113670,7 +114056,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *703 + - *704 - name: role description: Filters members returned by their role in the team. in: query @@ -113691,9 +114077,9 @@ paths: application/json: schema: type: array - items: *704 + items: *705 examples: - default: *705 + default: *706 headers: Link: *67 '404': *6 @@ -113721,7 +114107,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *703 + - *704 - *71 responses: '204': @@ -113758,7 +114144,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *703 + - *704 - *71 responses: '204': @@ -113798,7 +114184,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *703 + - *704 - *71 responses: '204': @@ -113835,7 +114221,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *703 + - *704 - *71 responses: '200': @@ -113844,7 +114230,7 @@ paths: application/json: schema: *339 examples: - response-if-user-is-a-team-maintainer: *706 + response-if-user-is-a-team-maintainer: *707 '404': *6 x-github: githubCloudOnly: false @@ -113877,7 +114263,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *703 + - *704 - *71 requestBody: required: false @@ -113905,7 +114291,7 @@ paths: application/json: schema: *339 examples: - response-if-users-membership-with-team-is-now-pending: *707 + response-if-users-membership-with-team-is-now-pending: *708 '403': description: Forbidden if team synchronization is set up '422': @@ -113939,7 +114325,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *703 + - *704 - *71 responses: '204': @@ -113967,7 +114353,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *703 + - *704 - *17 - *19 responses: @@ -114009,7 +114395,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *703 + - *704 - *340 - *341 responses: @@ -114017,7 +114403,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *708 + schema: *709 examples: alternative-response-with-extra-repository-information: value: @@ -114174,7 +114560,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *703 + - *704 - *340 - *341 requestBody: @@ -114226,7 +114612,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *703 + - *704 - *340 - *341 responses: @@ -114253,7 +114639,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *703 + - *704 - *17 - *19 responses: @@ -114265,7 +114651,7 @@ paths: type: array items: *201 examples: - response-if-child-teams-exist: *709 + response-if-child-teams-exist: *710 headers: Link: *67 '404': *6 @@ -114298,7 +114684,7 @@ paths: application/json: schema: oneOf: - - &711 + - &712 title: Private User description: Private User type: object @@ -114548,7 +114934,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *710 + - *711 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -114708,7 +115094,7 @@ paths: description: Response content: application/json: - schema: *711 + schema: *712 examples: default: value: @@ -115106,7 +115492,7 @@ paths: type: integer secrets: type: array - items: &712 + items: &713 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -115226,7 +115612,7 @@ paths: description: Response content: application/json: - schema: *712 + schema: *713 examples: default: value: @@ -115639,7 +116025,7 @@ paths: description: Response content: application/json: - schema: &713 + schema: &714 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -115692,7 +116078,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &714 + default: &715 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -115737,9 +116123,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *714 examples: - default: *714 + default: *715 '404': *6 x-github: githubCloudOnly: false @@ -115778,7 +116164,7 @@ paths: type: array items: *463 examples: - default: *715 + default: *716 '304': *36 '500': *54 '401': *23 @@ -116744,7 +117130,7 @@ paths: type: array items: *263 examples: - default: &727 + default: &728 value: - id: 197 name: hello_docker @@ -116845,7 +117231,7 @@ paths: application/json: schema: type: array - items: &716 + items: &717 title: Email description: Email type: object @@ -116915,9 +117301,9 @@ paths: application/json: schema: type: array - items: *716 + items: *717 examples: - default: &729 + default: &730 value: - email: octocat@github.com verified: true @@ -116994,7 +117380,7 @@ paths: application/json: schema: type: array - items: *716 + items: *717 examples: default: value: @@ -117252,7 +117638,7 @@ paths: application/json: schema: type: array - items: &717 + items: &718 title: GPG Key description: A unique encryption key type: object @@ -117397,7 +117783,7 @@ paths: - subkeys - revoked examples: - default: &746 + default: &747 value: - id: 3 name: Octocat's GPG Key @@ -117482,9 +117868,9 @@ paths: description: Response content: application/json: - schema: *717 + schema: *718 examples: - default: &718 + default: &719 value: id: 3 name: Octocat's GPG Key @@ -117541,7 +117927,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &719 + - &720 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -117553,9 +117939,9 @@ paths: description: Response content: application/json: - schema: *717 + schema: *718 examples: - default: *718 + default: *719 '404': *6 '304': *36 '403': *27 @@ -117578,7 +117964,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *719 + - *720 responses: '204': description: Response @@ -118045,7 +118431,7 @@ paths: application/json: schema: type: array - items: &720 + items: &721 title: Key description: Key type: object @@ -118148,9 +118534,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *721 examples: - default: &721 + default: &722 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -118189,9 +118575,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *721 examples: - default: *721 + default: *722 '404': *6 '304': *36 '403': *27 @@ -118247,7 +118633,7 @@ paths: application/json: schema: type: array - items: &722 + items: &723 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -118326,7 +118712,7 @@ paths: - account - plan examples: - default: &723 + default: &724 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -118388,9 +118774,9 @@ paths: application/json: schema: type: array - items: *722 + items: *723 examples: - default: *723 + default: *724 headers: Link: *67 '304': *36 @@ -118633,7 +119019,7 @@ paths: application/json: schema: *255 examples: - default: &724 + default: &725 value: url: https://api.github.com/orgs/octocat/memberships/defunkt state: active @@ -118682,7 +119068,7 @@ paths: application/json: schema: *255 examples: - default: *724 + default: *725 '403': *27 '404': *6 '422': *15 @@ -119416,7 +119802,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *258 - - *725 + - *726 responses: '204': description: Response @@ -119549,7 +119935,7 @@ paths: - docker - nuget - container - - *726 + - *727 - *19 - *17 responses: @@ -119561,8 +119947,8 @@ paths: type: array items: *263 examples: - default: *727 - '400': *728 + default: *728 + '400': *729 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119591,7 +119977,7 @@ paths: application/json: schema: *263 examples: - default: &747 + default: &748 value: id: 40201 name: octo-name @@ -119953,9 +120339,9 @@ paths: application/json: schema: type: array - items: *716 + items: *717 examples: - default: *729 + default: *730 headers: Link: *67 '304': *36 @@ -120068,7 +120454,7 @@ paths: type: array items: *79 examples: - default: &736 + default: &737 summary: Default response value: - id: 1296269 @@ -120434,7 +120820,7 @@ paths: type: array items: *537 examples: - default: *730 + default: *731 headers: Link: *67 '304': *36 @@ -120519,7 +120905,7 @@ paths: application/json: schema: type: array - items: &731 + items: &732 title: Social account description: Social media account type: object @@ -120536,7 +120922,7 @@ paths: - provider - url examples: - default: &732 + default: &733 value: - provider: twitter url: https://twitter.com/github @@ -120599,9 +120985,9 @@ paths: application/json: schema: type: array - items: *731 + items: *732 examples: - default: *732 + default: *733 '422': *15 '304': *36 '404': *6 @@ -120689,7 +121075,7 @@ paths: application/json: schema: type: array - items: &733 + items: &734 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -120709,7 +121095,7 @@ paths: - title - created_at examples: - default: &764 + default: &765 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -120774,9 +121160,9 @@ paths: description: Response content: application/json: - schema: *733 + schema: *734 examples: - default: &734 + default: &735 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -120806,7 +121192,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: - - &735 + - &736 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -120818,9 +121204,9 @@ paths: description: Response content: application/json: - schema: *733 + schema: *734 examples: - default: *734 + default: *735 '404': *6 '304': *36 '403': *27 @@ -120843,7 +121229,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: - - *735 + - *736 responses: '204': description: Response @@ -120872,7 +121258,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &765 + - &766 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 @@ -120897,11 +121283,11 @@ paths: type: array items: *79 examples: - default-response: *736 + default-response: *737 application/vnd.github.v3.star+json: schema: type: array - items: &766 + items: &767 title: Starred Repository description: Starred Repository type: object @@ -121270,10 +121656,10 @@ paths: application/json: schema: oneOf: + - *712 - *711 - - *710 examples: - default-response: &740 + default-response: &741 summary: Default response value: login: octocat @@ -121308,7 +121694,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &741 + response-with-git-hub-plan-information: &742 summary: Response with GitHub plan information value: login: octocat @@ -121365,7 +121751,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &738 + - &739 name: user_id description: The unique identifier of the user. in: path @@ -121431,7 +121817,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *737 + - *738 - *17 responses: '200': @@ -121466,7 +121852,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *738 + - *739 - *281 requestBody: required: true @@ -121541,7 +121927,7 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *739 + schema: *740 examples: table_view: summary: Response for creating a table view @@ -121593,11 +121979,11 @@ paths: application/json: schema: oneOf: + - *712 - *711 - - *710 examples: - default-response: *740 - response-with-git-hub-plan-information: *741 + default-response: *741 + response-with-git-hub-plan-information: *742 '404': *6 x-github: githubCloudOnly: false @@ -121647,8 +122033,8 @@ paths: required: - subject_digests examples: - default: *742 - withPredicateType: *743 + default: *743 + withPredicateType: *744 responses: '200': description: Response @@ -121702,7 +122088,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *744 + default: *745 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122220,7 +122606,7 @@ paths: application/json: schema: *197 examples: - default: &745 + default: &746 summary: Example response for a user copilot space value: id: 42 @@ -122321,7 +122707,7 @@ paths: application/json: schema: *197 examples: - default: *745 + default: *746 '403': *27 '404': *6 x-github: @@ -122447,7 +122833,7 @@ paths: application/json: schema: *197 examples: - default: *745 + default: *746 '403': *27 '404': *6 '422': *15 @@ -123215,7 +123601,7 @@ paths: type: array items: *263 examples: - default: *727 + default: *728 '403': *27 '401': *23 x-github: @@ -123599,9 +123985,9 @@ paths: application/json: schema: type: array - items: *717 + items: *718 examples: - default: *746 + default: *747 headers: Link: *67 x-github: @@ -123830,7 +124216,7 @@ paths: - docker - nuget - container - - *726 + - *727 - *71 - *19 - *17 @@ -123843,10 +124229,10 @@ paths: type: array items: *263 examples: - default: *727 + default: *728 '403': *27 '401': *23 - '400': *728 + '400': *729 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123876,7 +124262,7 @@ paths: application/json: schema: *263 examples: - default: *747 + default: *748 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -124225,7 +124611,7 @@ paths: type: array items: *284 examples: - default: *748 + default: *749 headers: Link: *67 '304': *36 @@ -124285,7 +124671,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *749 + items: *750 required: - name - data_type @@ -124301,7 +124687,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *750 + iteration_configuration: *751 required: - name - data_type @@ -124323,8 +124709,8 @@ paths: value: name: Due date data_type: date - single_select_field: *751 - iteration_field: *752 + single_select_field: *752 + iteration_field: *753 responses: '201': description: Response @@ -124332,11 +124718,11 @@ paths: application/json: schema: *284 examples: - text_field: *753 - number_field: *754 - date_field: *755 - single_select_field: *756 - iteration_field: *757 + text_field: *754 + number_field: *755 + date_field: *756 + single_select_field: *757 + iteration_field: *758 '304': *36 '403': *27 '401': *23 @@ -124358,7 +124744,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *281 - - *758 + - *759 - *71 responses: '200': @@ -124367,7 +124753,7 @@ paths: application/json: schema: *284 examples: - default: *759 + default: *760 headers: Link: *67 '304': *36 @@ -124724,7 +125110,7 @@ paths: parameters: - *281 - *71 - - *760 + - *761 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -125263,7 +125649,7 @@ paths: parameters: - *71 - *117 - - *761 + - *762 - *119 responses: '200': @@ -125362,9 +125748,9 @@ paths: - *117 - *118 - *119 - - *762 - - *122 - *763 + - *122 + - *764 responses: '200': description: Response when getting a billing usage summary @@ -125498,9 +125884,9 @@ paths: application/json: schema: type: array - items: *731 + items: *732 examples: - default: *732 + default: *733 headers: Link: *67 x-github: @@ -125530,9 +125916,9 @@ paths: application/json: schema: type: array - items: *733 + items: *734 examples: - default: *764 + default: *765 headers: Link: *67 x-github: @@ -125557,7 +125943,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *71 - - *765 + - *766 - *61 - *17 - *19 @@ -125569,11 +125955,11 @@ paths: schema: anyOf: - type: array - items: *766 + items: *767 - type: array items: *79 examples: - default-response: *736 + default-response: *737 headers: Link: *67 x-github: @@ -125733,7 +126119,7 @@ webhooks: type: string enum: - disabled - enterprise: &767 + enterprise: &768 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -125802,7 +126188,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &768 + installation: &769 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -125823,7 +126209,7 @@ webhooks: required: - id - node_id - organization: &769 + organization: &770 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -125896,7 +126282,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &770 + repository: &771 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -126836,10 +127222,10 @@ webhooks: type: string enum: - enabled - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -126915,11 +127301,11 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - rule: &771 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 + rule: &772 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) @@ -127142,11 +127528,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - rule: *771 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 + rule: *772 sender: *4 required: - action @@ -127334,11 +127720,11 @@ webhooks: - everyone required: - from - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - rule: *771 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 + rule: *772 sender: *4 required: - action @@ -127422,7 +127808,7 @@ webhooks: type: string enum: - completed - check_run: &773 + check_run: &774 title: CheckRun description: A check performed on the code of a given code change type: object @@ -127532,7 +127918,7 @@ webhooks: - examples: - neutral - deployment: *772 + deployment: *773 details_url: type: string examples: @@ -127630,10 +128016,10 @@ webhooks: - output - app - pull_requests - installation: *768 - enterprise: *767 - organization: *769 - repository: *770 + installation: *769 + enterprise: *768 + organization: *770 + repository: *771 sender: *4 required: - check_run @@ -128024,11 +128410,11 @@ webhooks: type: string enum: - created - check_run: *773 - installation: *768 - enterprise: *767 - organization: *769 - repository: *770 + check_run: *774 + installation: *769 + enterprise: *768 + organization: *770 + repository: *771 sender: *4 required: - check_run @@ -128422,11 +128808,11 @@ webhooks: type: string enum: - requested_action - check_run: *773 - installation: *768 - enterprise: *767 - organization: *769 - repository: *770 + check_run: *774 + installation: *769 + enterprise: *768 + organization: *770 + repository: *771 requested_action: description: The action requested by the user. type: object @@ -128829,11 +129215,11 @@ webhooks: type: string enum: - rerequested - check_run: *773 - installation: *768 - enterprise: *767 - organization: *769 - repository: *770 + check_run: *774 + installation: *769 + enterprise: *768 + organization: *770 + repository: *771 sender: *4 required: - check_run @@ -129818,10 +130204,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -130535,10 +130921,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -131246,10 +131632,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -131570,20 +131956,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &774 + commit_oid: &775 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: *767 - installation: *768 - organization: *769 - ref: &775 + enterprise: *768 + installation: *769 + organization: *770 + ref: &776 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: *770 + repository: *771 sender: *4 required: - action @@ -131991,12 +132377,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *774 - enterprise: *767 - installation: *768 - organization: *769 - ref: *775 - repository: *770 + commit_oid: *775 + enterprise: *768 + installation: *769 + organization: *770 + ref: *776 + repository: *771 sender: *4 required: - action @@ -132279,12 +132665,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *774 - enterprise: *767 - installation: *768 - organization: *769 - ref: *775 - repository: *770 + commit_oid: *775 + enterprise: *768 + installation: *769 + organization: *770 + ref: *776 + repository: *771 sender: *4 required: - action @@ -132630,12 +133016,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *774 - enterprise: *767 - installation: *768 - organization: *769 - ref: *775 - repository: *770 + commit_oid: *775 + enterprise: *768 + installation: *769 + organization: *770 + ref: *776 + repository: *771 sender: *4 required: - action @@ -132925,9 +133311,9 @@ webhooks: type: - string - 'null' - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -132935,7 +133321,7 @@ webhooks: type: - string - 'null' - repository: *770 + repository: *771 sender: *4 required: - action @@ -133181,12 +133567,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *774 - enterprise: *767 - installation: *768 - organization: *769 - ref: *775 - repository: *770 + commit_oid: *775 + enterprise: *768 + installation: *769 + organization: *770 + ref: *776 + repository: *771 sender: *4 required: - action @@ -133507,10 +133893,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -133770,10 +134156,10 @@ webhooks: - updated_at - author_association - body - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -133854,18 +134240,18 @@ webhooks: type: - string - 'null' - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *769 - pusher_type: &776 + organization: *770 + pusher_type: &777 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &777 + ref: &778 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -133875,7 +134261,7 @@ webhooks: enum: - tag - branch - repository: *770 + repository: *771 sender: *4 required: - ref @@ -133958,9 +134344,9 @@ webhooks: enum: - created definition: *292 - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 sender: *4 required: - action @@ -134045,9 +134431,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 sender: *4 required: - action @@ -134125,9 +134511,9 @@ webhooks: enum: - promote_to_enterprise definition: *292 - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 sender: *4 required: - action @@ -134205,9 +134591,9 @@ webhooks: enum: - updated definition: *292 - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 sender: *4 required: - action @@ -134284,10 +134670,10 @@ webhooks: type: string enum: - updated - enterprise: *767 - installation: *768 - repository: *770 - organization: *769 + enterprise: *768 + installation: *769 + repository: *771 + organization: *770 sender: *4 new_property_values: type: array @@ -134372,18 +134758,18 @@ webhooks: title: delete event type: object properties: - enterprise: *767 - installation: *768 - organization: *769 - pusher_type: *776 - ref: *777 + enterprise: *768 + installation: *769 + organization: *770 + pusher_type: *777 + ref: *778 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *770 + repository: *771 sender: *4 required: - ref @@ -134464,10 +134850,10 @@ webhooks: enum: - assignees_changed alert: *493 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + installation: *769 + organization: *770 + enterprise: *768 + repository: *771 sender: *4 required: - action @@ -134548,10 +134934,10 @@ webhooks: enum: - auto_dismissed alert: *493 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + installation: *769 + organization: *770 + enterprise: *768 + repository: *771 sender: *4 required: - action @@ -134633,10 +135019,10 @@ webhooks: enum: - auto_reopened alert: *493 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + installation: *769 + organization: *770 + enterprise: *768 + repository: *771 sender: *4 required: - action @@ -134718,10 +135104,10 @@ webhooks: enum: - created alert: *493 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + installation: *769 + organization: *770 + enterprise: *768 + repository: *771 sender: *4 required: - action @@ -134801,10 +135187,10 @@ webhooks: enum: - dismissed alert: *493 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + installation: *769 + organization: *770 + enterprise: *768 + repository: *771 sender: *4 required: - action @@ -134884,10 +135270,10 @@ webhooks: enum: - fixed alert: *493 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + installation: *769 + organization: *770 + enterprise: *768 + repository: *771 sender: *4 required: - action @@ -134968,10 +135354,10 @@ webhooks: enum: - reintroduced alert: *493 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + installation: *769 + organization: *770 + enterprise: *768 + repository: *771 sender: *4 required: - action @@ -135051,10 +135437,10 @@ webhooks: enum: - reopened alert: *493 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + installation: *769 + organization: *770 + enterprise: *768 + repository: *771 sender: *4 required: - action @@ -135131,9 +135517,9 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - key: &778 + enterprise: *768 + installation: *769 + key: &779 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -135171,8 +135557,8 @@ webhooks: - verified - created_at - read_only - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -135249,11 +135635,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - key: *778 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + key: *779 + organization: *770 + repository: *771 sender: *4 required: - action @@ -135820,12 +136206,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - workflow: &782 + workflow: &783 title: Workflow type: - object @@ -136580,9 +136966,9 @@ webhooks: pull_requests: type: array items: *602 - repository: *770 - organization: *769 - installation: *768 + repository: *771 + organization: *770 + installation: *769 sender: *4 responses: '200': @@ -136653,7 +137039,7 @@ webhooks: type: string enum: - approved - approver: &779 + approver: &780 type: object properties: avatar_url: @@ -136696,11 +137082,11 @@ webhooks: type: string comment: type: string - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - reviewers: &780 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 + reviewers: &781 type: array items: type: object @@ -136781,7 +137167,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &781 + workflow_job_run: &782 type: object properties: conclusion: @@ -137527,18 +137913,18 @@ webhooks: type: string enum: - rejected - approver: *779 + approver: *780 comment: type: string - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - reviewers: *780 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 + reviewers: *781 sender: *4 since: type: string - workflow_job_run: *781 + workflow_job_run: *782 workflow_job_runs: type: array items: @@ -138255,13 +138641,13 @@ webhooks: type: string enum: - requested - enterprise: *767 + enterprise: *768 environment: type: string - installation: *768 - organization: *769 - repository: *770 - requestor: &787 + installation: *769 + organization: *770 + repository: *771 + requestor: &788 title: User type: - object @@ -140194,12 +140580,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - workflow: *782 + workflow: *783 workflow_run: title: Deployment Workflow Run type: @@ -140890,7 +141276,7 @@ webhooks: type: string enum: - answered - answer: &785 + answer: &786 type: object properties: author_association: @@ -141050,11 +141436,11 @@ webhooks: - created_at - updated_at - body - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -141181,11 +141567,11 @@ webhooks: - from required: - category - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -141268,11 +141654,11 @@ webhooks: type: string enum: - closed - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -141354,7 +141740,7 @@ webhooks: type: string enum: - created - comment: &784 + comment: &785 type: object properties: author_association: @@ -141514,11 +141900,11 @@ webhooks: - updated_at - body - reactions - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -141601,12 +141987,12 @@ webhooks: type: string enum: - deleted - comment: *784 - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + comment: *785 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -141701,12 +142087,12 @@ webhooks: - from required: - body - comment: *784 - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + comment: *785 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -141790,11 +142176,11 @@ webhooks: type: string enum: - created - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -141876,11 +142262,11 @@ webhooks: type: string enum: - deleted - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -141980,11 +142366,11 @@ webhooks: type: string required: - from - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -142066,10 +142452,10 @@ webhooks: type: string enum: - labeled - discussion: *783 - enterprise: *767 - installation: *768 - label: &786 + discussion: *784 + enterprise: *768 + installation: *769 + label: &787 title: Label type: object properties: @@ -142102,8 +142488,8 @@ webhooks: - color - default - description - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -142186,11 +142572,11 @@ webhooks: type: string enum: - locked - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -142272,11 +142658,11 @@ webhooks: type: string enum: - pinned - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -142358,11 +142744,11 @@ webhooks: type: string enum: - reopened - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -142447,16 +142833,16 @@ webhooks: changes: type: object properties: - new_discussion: *783 - new_repository: *770 + new_discussion: *784 + new_repository: *771 required: - new_discussion - new_repository - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -142539,10 +142925,10 @@ webhooks: type: string enum: - unanswered - discussion: *783 - old_answer: *785 - organization: *769 - repository: *770 + discussion: *784 + old_answer: *786 + organization: *770 + repository: *771 sender: *4 required: - action @@ -142624,12 +143010,12 @@ webhooks: type: string enum: - unlabeled - discussion: *783 - enterprise: *767 - installation: *768 - label: *786 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + label: *787 + organization: *770 + repository: *771 sender: *4 required: - action @@ -142712,11 +143098,11 @@ webhooks: type: string enum: - unlocked - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -142798,11 +143184,11 @@ webhooks: type: string enum: - unpinned - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *784 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -142875,7 +143261,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *767 + enterprise: *768 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -143553,9 +143939,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *768 - organization: *769 - repository: *770 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - forkee @@ -143701,9 +144087,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 pages: description: The pages that were updated. type: array @@ -143741,7 +144127,7 @@ webhooks: - action - sha - html_url - repository: *770 + repository: *771 sender: *4 required: - pages @@ -143817,10 +144203,10 @@ webhooks: type: string enum: - created - enterprise: *767 + enterprise: *768 installation: *20 - organization: *769 - repositories: &788 + organization: *770 + repositories: &789 description: An array of repository objects that the installation can access. type: array @@ -143846,8 +144232,8 @@ webhooks: - name - full_name - private - repository: *770 - requester: *787 + repository: *771 + requester: *788 sender: *4 required: - action @@ -143922,11 +144308,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 + enterprise: *768 installation: *20 - organization: *769 - repositories: *788 - repository: *770 + organization: *770 + repositories: *789 + repository: *771 requester: type: - 'null' @@ -144003,11 +144389,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *767 + enterprise: *768 installation: *20 - organization: *769 - repositories: *788 - repository: *770 + organization: *770 + repositories: *789 + repository: *771 requester: type: - 'null' @@ -144084,10 +144470,10 @@ webhooks: type: string enum: - added - enterprise: *767 + enterprise: *768 installation: *20 - organization: *769 - repositories_added: &789 + organization: *770 + repositories_added: &790 description: An array of repository objects, which were added to the installation. type: array @@ -144133,15 +144519,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *770 - repository_selection: &790 + repository: *771 + repository_selection: &791 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *787 + requester: *788 sender: *4 required: - action @@ -144220,10 +144606,10 @@ webhooks: type: string enum: - removed - enterprise: *767 + enterprise: *768 installation: *20 - organization: *769 - repositories_added: *789 + organization: *770 + repositories_added: *790 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -144250,9 +144636,9 @@ webhooks: - name - full_name - private - repository: *770 - repository_selection: *790 - requester: *787 + repository: *771 + repository_selection: *791 + requester: *788 sender: *4 required: - action @@ -144331,11 +144717,11 @@ webhooks: type: string enum: - suspend - enterprise: *767 + enterprise: *768 installation: *20 - organization: *769 - repositories: *788 - repository: *770 + organization: *770 + repositories: *789 + repository: *771 requester: type: - 'null' @@ -144517,10 +144903,10 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 target_type: type: string @@ -144599,11 +144985,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *767 + enterprise: *768 installation: *20 - organization: *769 - repositories: *788 - repository: *770 + organization: *770 + repositories: *789 + repository: *771 requester: type: - 'null' @@ -144859,8 +145245,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -145672,8 +146058,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146034,8 +146420,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -146115,7 +146501,7 @@ webhooks: type: string enum: - deleted - comment: &791 + comment: &792 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -146290,8 +146676,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -147099,8 +147485,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147463,8 +147849,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -147544,7 +147930,7 @@ webhooks: type: string enum: - edited - changes: &815 + changes: &816 description: The changes to the comment. type: object properties: @@ -147556,9 +147942,9 @@ webhooks: type: string required: - from - comment: *791 - enterprise: *767 - installation: *768 + comment: *792 + enterprise: *768 + installation: *769 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -148369,8 +148755,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148731,8 +149117,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -148813,9 +149199,9 @@ webhooks: type: string enum: - pinned - comment: *791 - enterprise: *767 - installation: *768 + comment: *792 + enterprise: *768 + installation: *769 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -149628,8 +150014,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149992,8 +150378,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -150073,9 +150459,9 @@ webhooks: type: string enum: - unpinned - comment: *791 - enterprise: *767 - installation: *768 + comment: *792 + enterprise: *768 + installation: *769 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -150888,8 +151274,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151252,8 +151638,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -151342,9 +151728,9 @@ webhooks: type: number blocking_issue: *83 blocking_issue_repo: *79 - installation: *768 - organization: *769 - repository: *770 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -151433,9 +151819,9 @@ webhooks: type: number blocking_issue: *83 blocking_issue_repo: *79 - installation: *768 - organization: *769 - repository: *770 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -151523,9 +151909,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *83 - installation: *768 - organization: *769 - repository: *770 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -151614,9 +152000,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *83 - installation: *768 - organization: *769 - repository: *770 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -151696,10 +152082,10 @@ webhooks: type: string enum: - assigned - assignee: *787 - enterprise: *767 - installation: *768 - issue: &792 + assignee: *788 + enterprise: *768 + installation: *769 + issue: &793 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -152510,8 +152896,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -152634,8 +153020,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -152715,8 +153101,8 @@ webhooks: type: string enum: - closed - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -153532,8 +153918,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -153799,8 +154185,8 @@ webhooks: required: - state - closed_at - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -153879,8 +154265,8 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -154687,8 +155073,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -154810,8 +155196,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -154890,8 +155276,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -155721,8 +156107,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -155823,7 +156209,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &793 + milestone: &794 title: Milestone description: A collection of related issues and pull requests. type: object @@ -155966,8 +156352,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -156066,8 +156452,8 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -156878,8 +157264,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -157002,9 +157388,9 @@ webhooks: - active_lock_reason - body - reactions - label: *786 - organization: *769 - repository: *770 + label: *787 + organization: *770 + repository: *771 sender: *4 required: - action @@ -157084,9 +157470,9 @@ webhooks: type: string enum: - field_added - enterprise: *767 - installation: *768 - issue: *792 + enterprise: *768 + installation: *769 + issue: *793 issue_field: type: object description: The issue field whose value was set or updated on the @@ -157252,8 +157638,8 @@ webhooks: - id required: - from - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -157333,9 +157719,9 @@ webhooks: type: string enum: - field_removed - enterprise: *767 - installation: *768 - issue: *792 + enterprise: *768 + installation: *769 + issue: *793 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -157422,8 +157808,8 @@ webhooks: - 'null' required: - id - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -157503,8 +157889,8 @@ webhooks: type: string enum: - labeled - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -158314,8 +158700,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -158438,9 +158824,9 @@ webhooks: - active_lock_reason - body - reactions - label: *786 - organization: *769 - repository: *770 + label: *787 + organization: *770 + repository: *771 sender: *4 required: - action @@ -158520,8 +158906,8 @@ webhooks: type: string enum: - locked - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -159356,8 +159742,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -159457,8 +159843,8 @@ webhooks: format: uri user_view_type: type: string - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -159537,8 +159923,8 @@ webhooks: type: string enum: - milestoned - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -160367,8 +160753,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -160468,9 +160854,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *793 - organization: *769 - repository: *770 + milestone: *794 + organization: *770 + repository: *771 sender: *4 required: - action @@ -161357,8 +161743,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -161953,8 +162339,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -162761,8 +163147,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -162888,8 +163274,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -162969,9 +163355,9 @@ webhooks: type: string enum: - pinned - enterprise: *767 - installation: *768 - issue: &794 + enterprise: *768 + installation: *769 + issue: &795 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -163776,8 +164162,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -163899,8 +164285,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -163979,8 +164365,8 @@ webhooks: type: string enum: - reopened - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -164813,8 +165199,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -164915,8 +165301,8 @@ webhooks: user_view_type: type: string type: *246 - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -165804,8 +166190,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -166418,11 +166804,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *767 - installation: *768 - issue: *794 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + issue: *795 + organization: *770 + repository: *771 sender: *4 required: - action @@ -166502,12 +166888,12 @@ webhooks: type: string enum: - typed - enterprise: *767 - installation: *768 - issue: *792 + enterprise: *768 + installation: *769 + issue: *793 type: *246 - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -166588,7 +166974,7 @@ webhooks: type: string enum: - unassigned - assignee: &818 + assignee: &819 title: User type: - object @@ -166660,11 +167046,11 @@ webhooks: required: - login - id - enterprise: *767 - installation: *768 - issue: *792 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + issue: *793 + organization: *770 + repository: *771 sender: *4 required: - action @@ -166743,12 +167129,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *767 - installation: *768 - issue: *792 - label: *786 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + issue: *793 + label: *787 + organization: *770 + repository: *771 sender: *4 required: - action @@ -166828,8 +167214,8 @@ webhooks: type: string enum: - unlocked - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -167662,8 +168048,8 @@ webhooks: anyOf: - type: 'null' - *84 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *702 + issue_dependencies_summary: *703 issue_field_values: type: array items: *550 @@ -167763,8 +168149,8 @@ webhooks: format: uri user_view_type: type: string - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -167844,11 +168230,11 @@ webhooks: type: string enum: - unpinned - enterprise: *767 - installation: *768 - issue: *794 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + issue: *795 + organization: *770 + repository: *771 sender: *4 required: - action @@ -167927,12 +168313,12 @@ webhooks: type: string enum: - untyped - enterprise: *767 - installation: *768 - issue: *792 + enterprise: *768 + installation: *769 + issue: *793 type: *246 - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -168012,11 +168398,11 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - label: *786 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + label: *787 + organization: *770 + repository: *771 sender: *4 required: - action @@ -168094,11 +168480,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - label: *786 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + label: *787 + organization: *770 + repository: *771 sender: *4 required: - action @@ -168208,11 +168594,11 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - label: *786 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + label: *787 + organization: *770 + repository: *771 sender: *4 required: - action @@ -168294,9 +168680,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *767 - installation: *768 - marketplace_purchase: &795 + enterprise: *768 + installation: *769 + marketplace_purchase: &796 title: Marketplace Purchase type: object required: @@ -168384,8 +168770,8 @@ webhooks: type: integer unit_count: type: integer - organization: *769 - previous_marketplace_purchase: &796 + organization: *770 + previous_marketplace_purchase: &797 title: Marketplace Purchase type: object properties: @@ -168469,7 +168855,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *770 + repository: *771 sender: *4 required: - action @@ -168549,10 +168935,10 @@ webhooks: - changed effective_date: type: string - enterprise: *767 - installation: *768 - marketplace_purchase: *795 - organization: *769 + enterprise: *768 + installation: *769 + marketplace_purchase: *796 + organization: *770 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -168640,7 +169026,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *770 + repository: *771 sender: *4 required: - action @@ -168722,10 +169108,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *767 - installation: *768 - marketplace_purchase: *795 - organization: *769 + enterprise: *768 + installation: *769 + marketplace_purchase: *796 + organization: *770 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -168811,7 +169197,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *770 + repository: *771 sender: *4 required: - action @@ -168892,8 +169278,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 marketplace_purchase: title: Marketplace Purchase type: object @@ -168979,9 +169365,9 @@ webhooks: type: integer unit_count: type: integer - organization: *769 - previous_marketplace_purchase: *796 - repository: *770 + organization: *770 + previous_marketplace_purchase: *797 + repository: *771 sender: *4 required: - action @@ -169061,12 +169447,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *767 - installation: *768 - marketplace_purchase: *795 - organization: *769 - previous_marketplace_purchase: *796 - repository: *770 + enterprise: *768 + installation: *769 + marketplace_purchase: *796 + organization: *770 + previous_marketplace_purchase: *797 + repository: *771 sender: *4 required: - action @@ -169168,11 +169554,11 @@ webhooks: type: string required: - to - enterprise: *767 - installation: *768 - member: *787 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + member: *788 + organization: *770 + repository: *771 sender: *4 required: - action @@ -169274,11 +169660,11 @@ webhooks: type: - string - 'null' - enterprise: *767 - installation: *768 - member: *787 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + member: *788 + organization: *770 + repository: *771 sender: *4 required: - action @@ -169357,11 +169743,11 @@ webhooks: type: string enum: - removed - enterprise: *767 - installation: *768 - member: *787 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + member: *788 + organization: *770 + repository: *771 sender: *4 required: - action @@ -169439,11 +169825,11 @@ webhooks: type: string enum: - added - enterprise: *767 - installation: *768 - member: *787 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + member: *788 + organization: *770 + repository: *771 scope: description: The scope of the membership. Currently, can only be `team`. @@ -169521,7 +169907,7 @@ webhooks: required: - login - id - team: &797 + team: &798 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -169751,11 +170137,11 @@ webhooks: type: string enum: - removed - enterprise: *767 - installation: *768 - member: *787 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + member: *788 + organization: *770 + repository: *771 scope: description: The scope of the membership. Currently, can only be `team`. @@ -169834,7 +170220,7 @@ webhooks: required: - login - id - team: *797 + team: *798 required: - action - scope @@ -169916,8 +170302,8 @@ webhooks: type: string enum: - checks_requested - installation: *768 - merge_group: &798 + installation: *769 + merge_group: &799 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -169943,8 +170329,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -170030,10 +170416,10 @@ webhooks: - merged - invalidated - dequeued - installation: *768 - merge_group: *798 - organization: *769 - repository: *770 + installation: *769 + merge_group: *799 + organization: *770 + repository: *771 sender: *4 required: - action @@ -170106,7 +170492,7 @@ webhooks: type: string enum: - deleted - enterprise: *767 + enterprise: *768 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -170215,12 +170601,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *768 - organization: *769 + installation: *769 + organization: *770 repository: anyOf: - type: 'null' - - *770 + - *771 sender: *4 required: - action @@ -170300,11 +170686,11 @@ webhooks: type: string enum: - closed - enterprise: *767 - installation: *768 - milestone: *793 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + milestone: *794 + organization: *770 + repository: *771 sender: *4 required: - action @@ -170383,9 +170769,9 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - milestone: &799 + enterprise: *768 + installation: *769 + milestone: &800 title: Milestone description: A collection of related issues and pull requests. type: object @@ -170527,8 +170913,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -170607,11 +170993,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - milestone: *793 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + milestone: *794 + organization: *770 + repository: *771 sender: *4 required: - action @@ -170721,11 +171107,11 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - milestone: *793 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + milestone: *794 + organization: *770 + repository: *771 sender: *4 required: - action @@ -170805,11 +171191,11 @@ webhooks: type: string enum: - opened - enterprise: *767 - installation: *768 - milestone: *799 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + milestone: *800 + organization: *770 + repository: *771 sender: *4 required: - action @@ -170888,11 +171274,11 @@ webhooks: type: string enum: - blocked - blocked_user: *787 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + blocked_user: *788 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -170971,11 +171357,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *787 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + blocked_user: *788 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -171054,9 +171440,9 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - membership: &800 + enterprise: *768 + installation: *769 + membership: &801 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -171166,8 +171552,8 @@ webhooks: - role - organization_url - user - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -171245,11 +171631,11 @@ webhooks: type: string enum: - member_added - enterprise: *767 - installation: *768 - membership: *800 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + membership: *801 + organization: *770 + repository: *771 sender: *4 required: - action @@ -171328,8 +171714,8 @@ webhooks: type: string enum: - member_invited - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -171451,10 +171837,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 - user: *787 + user: *788 required: - action - invitation @@ -171532,11 +171918,11 @@ webhooks: type: string enum: - member_removed - enterprise: *767 - installation: *768 - membership: *800 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + membership: *801 + organization: *770 + repository: *771 sender: *4 required: - action @@ -171623,11 +172009,11 @@ webhooks: properties: from: type: string - enterprise: *767 - installation: *768 - membership: *800 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + membership: *801 + organization: *770 + repository: *771 sender: *4 required: - action @@ -171704,9 +172090,9 @@ webhooks: type: string enum: - published - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 package: description: Information about the package. type: object @@ -172229,7 +172615,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &801 + items: &802 title: Ruby Gems metadata type: object properties: @@ -172326,7 +172712,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *771 sender: *4 required: - action @@ -172402,9 +172788,9 @@ webhooks: type: string enum: - updated - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 package: description: Information about the package. type: object @@ -172766,7 +173152,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *801 + items: *802 source_url: type: string format: uri @@ -172837,7 +173223,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *771 sender: *4 required: - action @@ -173017,12 +173403,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *767 + enterprise: *768 id: type: integer - installation: *768 - organization: *769 - repository: *770 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - id @@ -173099,7 +173485,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &802 + personal_access_token_request: &803 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -173249,10 +173635,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *767 - organization: *769 + enterprise: *768 + organization: *770 sender: *4 - installation: *768 + installation: *769 required: - action - personal_access_token_request @@ -173329,11 +173715,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *802 - enterprise: *767 - organization: *769 + personal_access_token_request: *803 + enterprise: *768 + organization: *770 sender: *4 - installation: *768 + installation: *769 required: - action - personal_access_token_request @@ -173409,11 +173795,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *802 - enterprise: *767 - organization: *769 + personal_access_token_request: *803 + enterprise: *768 + organization: *770 sender: *4 - installation: *768 + installation: *769 required: - action - personal_access_token_request @@ -173488,11 +173874,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *802 - organization: *769 - enterprise: *767 + personal_access_token_request: *803 + organization: *770 + enterprise: *768 sender: *4 - installation: *768 + installation: *769 required: - action - personal_access_token_request @@ -173597,7 +173983,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *803 + last_response: *804 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -173629,8 +174015,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 zen: description: Random string of GitHub zen. @@ -173875,10 +174261,10 @@ webhooks: - from required: - note - enterprise: *767 - installation: *768 - organization: *769 - project_card: &804 + enterprise: *768 + installation: *769 + organization: *770 + project_card: &805 title: Project Card type: object properties: @@ -174001,7 +174387,7 @@ webhooks: - creator - created_at - updated_at - repository: *770 + repository: *771 sender: *4 required: - action @@ -174082,11 +174468,11 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - project_card: *804 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + project_card: *805 + repository: *771 sender: *4 required: - action @@ -174166,9 +174552,9 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 project_card: title: Project Card type: object @@ -174298,7 +174684,7 @@ webhooks: repository: anyOf: - type: 'null' - - *770 + - *771 sender: *4 required: - action @@ -174392,11 +174778,11 @@ webhooks: - from required: - note - enterprise: *767 - installation: *768 - organization: *769 - project_card: *804 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + project_card: *805 + repository: *771 sender: *4 required: - action @@ -174490,9 +174876,9 @@ webhooks: - from required: - column_id - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 project_card: allOf: - title: Project Card @@ -174689,7 +175075,7 @@ webhooks: type: string required: - after_id - repository: *770 + repository: *771 sender: *4 required: - action @@ -174769,10 +175155,10 @@ webhooks: type: string enum: - closed - enterprise: *767 - installation: *768 - organization: *769 - project: &806 + enterprise: *768 + installation: *769 + organization: *770 + project: &807 title: Project type: object properties: @@ -174899,7 +175285,7 @@ webhooks: - creator - created_at - updated_at - repository: *770 + repository: *771 sender: *4 required: - action @@ -174979,10 +175365,10 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - project_column: &805 + enterprise: *768 + installation: *769 + organization: *770 + project_column: &806 title: Project Column type: object properties: @@ -175022,7 +175408,7 @@ webhooks: - name - created_at - updated_at - repository: *770 + repository: *771 sender: *4 required: - action @@ -175101,14 +175487,14 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - project_column: *805 + enterprise: *768 + installation: *769 + organization: *770 + project_column: *806 repository: anyOf: - type: 'null' - - *770 + - *771 sender: *4 required: - action @@ -175197,11 +175583,11 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - organization: *769 - project_column: *805 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + project_column: *806 + repository: *771 sender: *4 required: - action @@ -175281,11 +175667,11 @@ webhooks: type: string enum: - moved - enterprise: *767 - installation: *768 - organization: *769 - project_column: *805 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + project_column: *806 + repository: *771 sender: *4 required: - action @@ -175365,11 +175751,11 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - project: *806 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + project: *807 + repository: *771 sender: *4 required: - action @@ -175449,14 +175835,14 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - project: *806 + enterprise: *768 + installation: *769 + organization: *770 + project: *807 repository: anyOf: - type: 'null' - - *770 + - *771 sender: *4 required: - action @@ -175557,11 +175943,11 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - organization: *769 - project: *806 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + project: *807 + repository: *771 sender: *4 required: - action @@ -175640,11 +176026,11 @@ webhooks: type: string enum: - reopened - enterprise: *767 - installation: *768 - organization: *769 - project: *806 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + project: *807 + repository: *771 sender: *4 required: - action @@ -175725,8 +176111,8 @@ webhooks: type: string enum: - closed - installation: *768 - organization: *769 + installation: *769 + organization: *770 projects_v2: *279 sender: *4 required: @@ -175808,8 +176194,8 @@ webhooks: type: string enum: - created - installation: *768 - organization: *769 + installation: *769 + organization: *770 projects_v2: *279 sender: *4 required: @@ -175891,8 +176277,8 @@ webhooks: type: string enum: - deleted - installation: *768 - organization: *769 + installation: *769 + organization: *770 projects_v2: *279 sender: *4 required: @@ -176014,8 +176400,8 @@ webhooks: type: string to: type: string - installation: *768 - organization: *769 + installation: *769 + organization: *770 projects_v2: *279 sender: *4 required: @@ -176099,7 +176485,7 @@ webhooks: type: string enum: - archived - changes: &810 + changes: &811 type: object properties: archived_at: @@ -176115,9 +176501,9 @@ webhooks: - string - 'null' format: date-time - installation: *768 - organization: *769 - projects_v2_item: &807 + installation: *769 + organization: *770 + projects_v2_item: &808 title: Projects v2 Item description: An item belonging to a project type: object @@ -176257,9 +176643,9 @@ webhooks: - 'null' to: type: string - installation: *768 - organization: *769 - projects_v2_item: *807 + installation: *769 + organization: *770 + projects_v2_item: *808 sender: *4 required: - action @@ -176341,9 +176727,9 @@ webhooks: type: string enum: - created - installation: *768 - organization: *769 - projects_v2_item: *807 + installation: *769 + organization: *770 + projects_v2_item: *808 sender: *4 required: - action @@ -176424,9 +176810,9 @@ webhooks: type: string enum: - deleted - installation: *768 - organization: *769 - projects_v2_item: *807 + installation: *769 + organization: *770 + projects_v2_item: *808 sender: *4 required: - action @@ -176531,7 +176917,7 @@ webhooks: oneOf: - type: string - type: integer - - &808 + - &809 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -176555,7 +176941,7 @@ webhooks: required: - id - name - - &809 + - &810 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -176595,8 +176981,8 @@ webhooks: oneOf: - type: string - type: integer - - *808 - *809 + - *810 type: - 'null' - string @@ -176619,9 +177005,9 @@ webhooks: - 'null' required: - body - installation: *768 - organization: *769 - projects_v2_item: *807 + installation: *769 + organization: *770 + projects_v2_item: *808 sender: *4 required: - action @@ -176718,9 +177104,9 @@ webhooks: type: - string - 'null' - installation: *768 - organization: *769 - projects_v2_item: *807 + installation: *769 + organization: *770 + projects_v2_item: *808 sender: *4 required: - action @@ -176803,10 +177189,10 @@ webhooks: type: string enum: - restored - changes: *810 - installation: *768 - organization: *769 - projects_v2_item: *807 + changes: *811 + installation: *769 + organization: *770 + projects_v2_item: *808 sender: *4 required: - action @@ -176888,8 +177274,8 @@ webhooks: type: string enum: - reopened - installation: *768 - organization: *769 + installation: *769 + organization: *770 projects_v2: *279 sender: *4 required: @@ -176971,9 +177357,9 @@ webhooks: type: string enum: - created - installation: *768 - organization: *769 - projects_v2_status_update: *811 + installation: *769 + organization: *770 + projects_v2_status_update: *812 sender: *4 required: - action @@ -177054,9 +177440,9 @@ webhooks: type: string enum: - deleted - installation: *768 - organization: *769 - projects_v2_status_update: *811 + installation: *769 + organization: *770 + projects_v2_status_update: *812 sender: *4 required: - action @@ -177202,9 +177588,9 @@ webhooks: - string - 'null' format: date - installation: *768 - organization: *769 - projects_v2_status_update: *811 + installation: *769 + organization: *770 + projects_v2_status_update: *812 sender: *4 required: - action @@ -177275,10 +177661,10 @@ webhooks: title: public event type: object properties: - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - repository @@ -177355,13 +177741,13 @@ webhooks: type: string enum: - assigned - assignee: *787 - enterprise: *767 - installation: *768 - number: &812 + assignee: *788 + enterprise: *768 + installation: *769 + number: &813 description: The pull request number. type: integer - organization: *769 + organization: *770 pull_request: title: Pull Request type: object @@ -179733,7 +180119,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -179830,11 +180216,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 number: type: integer - organization: *769 + organization: *770 pull_request: title: Pull Request type: object @@ -182199,7 +182585,7 @@ webhooks: - draft reason: type: string - repository: *770 + repository: *771 sender: *4 required: - action @@ -182296,11 +182682,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 number: type: integer - organization: *769 + organization: *770 pull_request: title: Pull Request type: object @@ -184665,7 +185051,7 @@ webhooks: - draft reason: type: string - repository: *770 + repository: *771 sender: *4 required: - action @@ -184762,11 +185148,11 @@ webhooks: type: string enum: - closed - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: &813 + enterprise: *768 + installation: *769 + number: *813 + organization: *770 + pull_request: &814 allOf: - *602 - type: object @@ -184830,7 +185216,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *770 + repository: *771 sender: *4 required: - action @@ -184911,12 +185297,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: *813 - repository: *770 + enterprise: *768 + installation: *769 + number: *813 + organization: *770 + pull_request: *814 + repository: *771 sender: *4 required: - action @@ -184996,11 +185382,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *767 + enterprise: *768 milestone: *282 - number: *812 - organization: *769 - pull_request: &814 + number: *813 + organization: *770 + pull_request: &815 title: Pull Request type: object properties: @@ -187392,7 +187778,7 @@ webhooks: - active_lock_reason - draft version: '2026-03-10' - repository: *770 + repository: *771 sender: *4 required: - action @@ -187471,11 +187857,11 @@ webhooks: type: string enum: - dequeued - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 number: type: integer - organization: *769 + organization: *770 pull_request: title: Pull Request type: object @@ -189844,7 +190230,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *770 + repository: *771 sender: *4 required: - action @@ -189976,12 +190362,12 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: *813 - repository: *770 + enterprise: *768 + installation: *769 + number: *813 + organization: *770 + pull_request: *814 + repository: *771 sender: *4 required: - action @@ -190061,11 +190447,11 @@ webhooks: type: string enum: - enqueued - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 number: type: integer - organization: *769 + organization: *770 pull_request: title: Pull Request type: object @@ -192419,7 +192805,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -192507,11 +192893,11 @@ webhooks: type: string enum: - labeled - enterprise: *767 - installation: *768 - label: *786 - number: *812 - organization: *769 + enterprise: *768 + installation: *769 + label: *787 + number: *813 + organization: *770 pull_request: title: Pull Request type: object @@ -194882,7 +195268,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -194978,10 +195364,10 @@ webhooks: type: string enum: - locked - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + enterprise: *768 + installation: *769 + number: *813 + organization: *770 pull_request: title: Pull Request type: object @@ -197350,7 +197736,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -197445,12 +197831,12 @@ webhooks: type: string enum: - milestoned - enterprise: *767 + enterprise: *768 milestone: *282 - number: *812 - organization: *769 - pull_request: *814 - repository: *770 + number: *813 + organization: *770 + pull_request: *815 + repository: *771 sender: *4 required: - action @@ -197529,12 +197915,12 @@ webhooks: type: string enum: - opened - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: *813 - repository: *770 + enterprise: *768 + installation: *769 + number: *813 + organization: *770 + pull_request: *814 + repository: *771 sender: *4 required: - action @@ -197615,12 +198001,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: *813 - repository: *770 + enterprise: *768 + installation: *769 + number: *813 + organization: *770 + pull_request: *814 + repository: *771 sender: *4 required: - action @@ -197700,12 +198086,12 @@ webhooks: type: string enum: - reopened - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: *813 - repository: *770 + enterprise: *768 + installation: *769 + number: *813 + organization: *770 + pull_request: *814 + repository: *771 sender: *4 required: - action @@ -198080,9 +198466,9 @@ webhooks: - start_side - side - reactions - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 pull_request: type: object properties: @@ -200335,7 +200721,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *770 + repository: *771 sender: *4 required: - action @@ -200430,7 +200816,7 @@ webhooks: type: string enum: - deleted - comment: &816 + comment: &817 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -200723,9 +201109,9 @@ webhooks: - start_side - side - reactions - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 pull_request: type: object properties: @@ -202966,7 +203352,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *770 + repository: *771 sender: *4 required: - action @@ -203061,11 +203447,11 @@ webhooks: type: string enum: - edited - changes: *815 - comment: *816 - enterprise: *767 - installation: *768 - organization: *769 + changes: *816 + comment: *817 + enterprise: *768 + installation: *769 + organization: *770 pull_request: type: object properties: @@ -205309,7 +205695,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *770 + repository: *771 sender: *4 required: - action @@ -205405,9 +205791,9 @@ webhooks: type: string enum: - dismissed - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 pull_request: title: Simple Pull Request type: object @@ -207663,7 +208049,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 + repository: *771 review: description: The review that was affected. type: object @@ -207929,9 +208315,9 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 pull_request: title: Simple Pull Request type: object @@ -210045,8 +210431,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 - review: &817 + repository: *771 + review: &818 description: The review that was affected. type: object properties: @@ -210292,12 +210678,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 number: description: The pull request number. type: integer - organization: *769 + organization: *770 pull_request: title: Pull Request type: object @@ -212667,7 +213053,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 requested_reviewer: title: User type: @@ -212753,12 +213139,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 number: description: The pull request number. type: integer - organization: *769 + organization: *770 pull_request: title: Pull Request type: object @@ -215135,7 +215521,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 requested_team: title: Team description: Groups of organization members that gives permissions @@ -215353,12 +215739,12 @@ webhooks: type: string enum: - review_requested - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 number: description: The pull request number. type: integer - organization: *769 + organization: *770 pull_request: title: Pull Request type: object @@ -217730,7 +218116,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 requested_reviewer: title: User type: @@ -217817,12 +218203,12 @@ webhooks: type: string enum: - review_requested - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 number: description: The pull request number. type: integer - organization: *769 + organization: *770 pull_request: title: Pull Request type: object @@ -220185,7 +220571,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 requested_team: title: Team description: Groups of organization members that gives permissions @@ -220392,9 +220778,9 @@ webhooks: type: string enum: - submitted - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 pull_request: title: Simple Pull Request type: object @@ -222653,8 +223039,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 - review: *817 + repository: *771 + review: *818 sender: *4 required: - action @@ -222749,9 +223135,9 @@ webhooks: type: string enum: - resolved - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 pull_request: title: Simple Pull Request type: object @@ -224905,7 +225291,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 + repository: *771 sender: *4 thread: type: object @@ -225310,9 +225696,9 @@ webhooks: type: string enum: - unresolved - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 pull_request: title: Simple Pull Request type: object @@ -227449,7 +227835,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 + repository: *771 sender: *4 thread: type: object @@ -227850,11 +228236,11 @@ webhooks: type: string enum: - stacked - enterprise: *767 - installation: *768 + enterprise: *768 + installation: *769 stack: *599 - number: *812 - organization: *769 + number: *813 + organization: *770 pull_request: title: Pull Request type: object @@ -230225,7 +230611,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -230326,10 +230712,10 @@ webhooks: type: string before: type: string - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + enterprise: *768 + installation: *769 + number: *813 + organization: *770 pull_request: title: Pull Request type: object @@ -232687,7 +233073,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -232784,11 +233170,11 @@ webhooks: type: string enum: - unassigned - assignee: *818 - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + assignee: *819 + enterprise: *768 + installation: *769 + number: *813 + organization: *770 pull_request: title: Pull Request type: object @@ -235161,7 +235547,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -235255,11 +235641,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *767 - installation: *768 - label: *786 - number: *812 - organization: *769 + enterprise: *768 + installation: *769 + label: *787 + number: *813 + organization: *770 pull_request: title: Pull Request type: object @@ -237621,7 +238007,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -237717,10 +238103,10 @@ webhooks: type: string enum: - unlocked - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + enterprise: *768 + installation: *769 + number: *813 + organization: *770 pull_request: title: Pull Request type: object @@ -240072,7 +240458,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -240290,7 +240676,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *767 + enterprise: *768 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -240385,8 +240771,8 @@ webhooks: - url - author - committer - installation: *768 - organization: *769 + installation: *769 + organization: *770 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -240985,9 +241371,9 @@ webhooks: type: string enum: - published - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 registry_package: type: object properties: @@ -241464,7 +241850,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *801 + items: *802 summary: type: string tag_name: @@ -241520,7 +241906,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *771 sender: *4 required: - action @@ -241598,9 +241984,9 @@ webhooks: type: string enum: - updated - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 registry_package: type: object properties: @@ -241912,7 +242298,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *801 + items: *802 summary: type: string tag_name: @@ -241962,7 +242348,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *771 sender: *4 required: - action @@ -242039,10 +242425,10 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - release: &819 + enterprise: *768 + installation: *769 + organization: *770 + release: &820 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -242373,7 +242759,7 @@ webhooks: - updated_at - zipball_url - body - repository: *770 + repository: *771 sender: *4 required: - action @@ -242450,11 +242836,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - release: *819 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + release: *820 + repository: *771 sender: *4 required: - action @@ -242571,11 +242957,11 @@ webhooks: type: boolean required: - to - enterprise: *767 - installation: *768 - organization: *769 - release: *819 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + release: *820 + repository: *771 sender: *4 required: - action @@ -242653,9 +243039,9 @@ webhooks: type: string enum: - prereleased - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -242991,7 +243377,7 @@ webhooks: - string - 'null' format: uri - repository: *770 + repository: *771 sender: *4 required: - action @@ -243067,10 +243453,10 @@ webhooks: type: string enum: - published - enterprise: *767 - installation: *768 - organization: *769 - release: &820 + enterprise: *768 + installation: *769 + organization: *770 + release: &821 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -243403,7 +243789,7 @@ webhooks: - string - 'null' format: uri - repository: *770 + repository: *771 sender: *4 required: - action @@ -243479,11 +243865,11 @@ webhooks: type: string enum: - released - enterprise: *767 - installation: *768 - organization: *769 - release: *819 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + release: *820 + repository: *771 sender: *4 required: - action @@ -243559,11 +243945,11 @@ webhooks: type: string enum: - unpublished - enterprise: *767 - installation: *768 - organization: *769 - release: *820 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + release: *821 + repository: *771 sender: *4 required: - action @@ -243639,11 +244025,11 @@ webhooks: type: string enum: - published - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - repository_advisory: *687 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 + repository_advisory: *688 sender: *4 required: - action @@ -243719,11 +244105,11 @@ webhooks: type: string enum: - reported - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - repository_advisory: *687 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 + repository_advisory: *688 sender: *4 required: - action @@ -243799,10 +244185,10 @@ webhooks: type: string enum: - archived - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -243879,10 +244265,10 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -243960,10 +244346,10 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -244048,10 +244434,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -244166,10 +244552,10 @@ webhooks: - 'null' items: type: string - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -244241,10 +244627,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 status: type: string @@ -244325,10 +244711,10 @@ webhooks: type: string enum: - privatized - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -244405,10 +244791,10 @@ webhooks: type: string enum: - publicized - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -244502,10 +244888,10 @@ webhooks: - name required: - repository - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -244585,10 +244971,10 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 repository_ruleset: *324 sender: *4 required: @@ -244667,10 +245053,10 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 repository_ruleset: *324 sender: *4 required: @@ -244749,10 +245135,10 @@ webhooks: type: string enum: - edited - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 repository_ruleset: *324 changes: type: object @@ -244814,16 +245200,16 @@ webhooks: properties: added: type: array - items: *623 + items: *624 deleted: type: array - items: *623 + items: *624 updated: type: array items: type: object properties: - rule: *623 + rule: *624 changes: type: object properties: @@ -245060,10 +245446,10 @@ webhooks: - from required: - owner - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -245141,10 +245527,10 @@ webhooks: type: string enum: - unarchived - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -245222,7 +245608,7 @@ webhooks: type: string enum: - create - alert: &821 + alert: &822 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -245347,10 +245733,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -245560,10 +245946,10 @@ webhooks: type: string enum: - dismissed - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -245641,11 +246027,11 @@ webhooks: type: string enum: - reopen - alert: *821 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *822 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -245847,10 +246233,10 @@ webhooks: enum: - fixed - open - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -245928,7 +246314,7 @@ webhooks: type: string enum: - assigned - alert: &823 + alert: &824 type: object properties: number: *181 @@ -246075,12 +246461,12 @@ webhooks: anyOf: - type: 'null' - *4 - metadata: *822 + metadata: *823 assignee: *4 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -246158,11 +246544,11 @@ webhooks: type: string enum: - created - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *824 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -246243,11 +246629,11 @@ webhooks: type: string enum: - created - alert: *823 - installation: *768 - location: *824 - organization: *769 - repository: *770 + alert: *824 + installation: *769 + location: *825 + organization: *770 + repository: *771 sender: *4 required: - location @@ -246485,11 +246871,11 @@ webhooks: type: string enum: - metadata_created - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *824 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -246566,11 +246952,11 @@ webhooks: type: string enum: - metadata_removed - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *824 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -246647,11 +247033,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *824 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -246729,11 +247115,11 @@ webhooks: type: string enum: - reopened - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *824 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -246811,11 +247197,11 @@ webhooks: type: string enum: - resolved - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *824 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -246893,12 +247279,12 @@ webhooks: type: string enum: - unassigned - alert: *823 + alert: *824 assignee: *4 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -246976,11 +247362,11 @@ webhooks: type: string enum: - validated - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *824 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -247110,10 +247496,10 @@ webhooks: - organization - enterprise - - repository: *770 - enterprise: *767 - installation: *768 - organization: *769 + repository: *771 + enterprise: *768 + installation: *769 + organization: *770 sender: *4 required: - action @@ -247191,11 +247577,11 @@ webhooks: type: string enum: - published - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - security_advisory: &825 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 + security_advisory: &826 description: The details of the security advisory, including summary, description, and severity. type: object @@ -247399,11 +247785,11 @@ webhooks: type: string enum: - updated - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - security_advisory: *825 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 + security_advisory: *826 sender: *4 required: - action @@ -247476,10 +247862,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -247674,9 +248060,9 @@ webhooks: type: object properties: security_and_analysis: *297 - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 repository: *343 sender: *4 required: @@ -247755,12 +248141,12 @@ webhooks: type: string enum: - cancelled - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - sponsorship: &826 + sponsorship: &827 type: object properties: created_at: @@ -248065,12 +248451,12 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - sponsorship: *826 + sponsorship: *827 required: - action - sponsorship @@ -248158,12 +248544,12 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - sponsorship: *826 + sponsorship: *827 required: - action - changes @@ -248240,17 +248626,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &827 + effective_date: &828 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: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - sponsorship: *826 + sponsorship: *827 required: - action - sponsorship @@ -248324,7 +248710,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &828 + changes: &829 type: object properties: tier: @@ -248368,13 +248754,13 @@ webhooks: - from required: - tier - effective_date: *827 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + effective_date: *828 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - sponsorship: *826 + sponsorship: *827 required: - action - changes @@ -248451,13 +248837,13 @@ webhooks: type: string enum: - tier_changed - changes: *828 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + changes: *829 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - sponsorship: *826 + sponsorship: *827 required: - action - changes @@ -248531,10 +248917,10 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -248618,10 +249004,10 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -249055,15 +249441,15 @@ webhooks: type: - string - 'null' - enterprise: *767 + enterprise: *768 id: description: The unique identifier of the status. type: integer - installation: *768 + installation: *769 name: type: string - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 sha: description: The Commit SHA. @@ -249179,9 +249565,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *83 - installation: *768 - organization: *769 - repository: *770 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -249270,9 +249656,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *83 - installation: *768 - organization: *769 - repository: *770 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -249361,9 +249747,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *83 - installation: *768 - organization: *769 - repository: *770 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -249452,9 +249838,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *83 - installation: *768 - organization: *769 - repository: *770 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -249530,12 +249916,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - team: &829 + team: &830 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -249765,9 +250151,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 repository: title: Repository description: A git repository @@ -250237,7 +250623,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *830 required: - action - team @@ -250313,9 +250699,9 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 repository: title: Repository description: A git repository @@ -250785,7 +251171,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *830 required: - action - team @@ -250862,9 +251248,9 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 repository: title: Repository description: A git repository @@ -251334,7 +251720,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *830 required: - action - team @@ -251478,9 +251864,9 @@ webhooks: - from required: - permissions - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 repository: title: Repository description: A git repository @@ -251950,7 +252336,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *830 required: - action - changes @@ -252028,9 +252414,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 repository: title: Repository description: A git repository @@ -252500,7 +252886,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *830 required: - action - team @@ -252576,10 +252962,10 @@ webhooks: type: string enum: - started - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 required: - action @@ -252652,17 +253038,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *767 + enterprise: *768 inputs: type: - object - 'null' additionalProperties: true - installation: *768 - organization: *769 + installation: *769 + organization: *770 ref: type: string - repository: *770 + repository: *771 sender: *4 workflow: type: string @@ -252744,10 +253130,10 @@ webhooks: type: string enum: - completed - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 workflow_job: allOf: @@ -253082,10 +253468,10 @@ webhooks: type: string enum: - in_progress - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 workflow_job: allOf: @@ -253446,10 +253832,10 @@ webhooks: type: string enum: - queued - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 workflow_job: type: object @@ -253674,10 +254060,10 @@ webhooks: type: string enum: - waiting - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 workflow_job: type: object @@ -253904,12 +254290,12 @@ webhooks: type: string enum: - completed - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - workflow: *782 + workflow: *783 workflow_run: title: Workflow Run type: object @@ -254928,12 +255314,12 @@ webhooks: type: string enum: - in_progress - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - workflow: *782 + workflow: *783 workflow_run: title: Workflow Run type: object @@ -255937,12 +256323,12 @@ webhooks: type: string enum: - requested - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *768 + installation: *769 + organization: *770 + repository: *771 sender: *4 - workflow: *782 + workflow: *783 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index 78ad8132cb..116b2c8627 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -127311,7 +127311,7 @@ "/meta": { "get": { "summary": "Get GitHub Enterprise Cloud meta information", - "description": "Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://docs.github.com/enterprise-cloud@latest/articles/about-github-s-ip-addresses/).\"\n\nThe API's response also includes a list of GitHub's domain names.\n\nThe values shown in the documentation's response are example values. You must always query the API directly to get the latest values.\n\n> [!NOTE]\n> This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported.", + "description": "Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://docs.github.com/enterprise-cloud@latest/articles/about-github-s-ip-addresses/).\"\n\nThe API's response also includes a list of GitHub's domain names, and the public keys used by GitHub to sign commits made through the web UI.\n\nThe values shown in the documentation's response are example values. You must always query the API directly to get the latest values.\n\n> [!NOTE]\n> This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported.", "tags": [ "meta" ], @@ -234345,6 +234345,261 @@ } } }, + "/orgs/{org}/interaction-limits/pulls/creation-cap": { + "patch": { + "summary": "Update pull request creation cap for an org", + "description": "Updates the pull request creation cap for an organization. The cap limits the total number\nof open pull requests a user can have across all public repositories in the organization\nat one time.\n\nOnly users with admin access to the organization can configure the cap.", + "tags": [ + "interactions" + ], + "operationId": "interactions/update-pull-request-creation-cap-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/interactions/orgs#update-pull-request-creation-cap-for-an-org" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether the pull request creation cap is enabled" + }, + "max_open_pull_requests": { + "type": "integer", + "description": "The maximum number of open pull requests a user can have at one time", + "minimum": 1, + "maximum": 1000 + } + }, + "required": [ + "enabled" + ] + }, + "examples": { + "default": { + "summary": "Example request body", + "value": { + "enabled": true, + "max_open_pull_requests": 1 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether the pull request creation cap is enabled" + }, + "max_open_pull_requests": { + "type": "integer", + "description": "The maximum number of open pull requests a user can have at one time", + "minimum": 1, + "maximum": 1000 + } + }, + "required": [ + "enabled", + "max_open_pull_requests" + ] + }, + "examples": { + "default": { + "summary": "Response", + "value": { + "enabled": true, + "max_open_pull_requests": 1 + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "405": { + "description": "Method Not Allowed", + "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" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "orgs" + } + } + }, "/orgs/{org}/invitations": { "get": { "summary": "List pending organization invitations", @@ -573634,7 +573889,7 @@ "properties": { "suggestions": { "type": "object", - "description": "Pending suggestions for each suggestible field (`type`,\n`issue_field_values`, `labels`, `assignees`, `state`) the\nrequest touched. Omitted for fields not in the request or\nwith no pending suggestions. Items tagged `already_applied`\nare echoes of the current request's inputs whose target is\nalready applied to the issue; they are not persisted as\npending suggestions.\n", + "description": "Pending suggestions for each suggestible field (`type`,\n`issue_field_values`, `labels`, `assignees`, `state`) the\nrequest touched. Omitted for fields not in the request or\nwith no pending or ignored suggestions. Items tagged\n`ignored` are echoes of the current request's inputs that\nwere not persisted as pending suggestions.\n", "properties": { "type": { "type": "array", @@ -573658,8 +573913,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -573702,8 +573964,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -573730,8 +573999,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -573758,8 +574034,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -573792,8 +574075,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -726033,6 +726323,972 @@ } } }, + "/repos/{owner}/{repo}/pulls/{pull_number}/merge-async": { + "put": { + "summary": "Merge a pull request asynchronously", + "description": "Merges a pull request into the base branch in the background. Merging in this way allows certain types of errors to be retried, and avoids the risk of timeouts for particularly complex merges.\n\nThis is the required method for merging stacked PRs, but also supports unstacked PRs. When using this endpoint to merge a stacked pull request, all pull requests in the stack up to and including the requested PR will be merged into the base branch.\n\nThe response includes a UUID that can be used to fetch the result of the merge. If another asynchronous merge request has already been made for this pull request, the UUID of that request will be returned instead with a 409 response status to indicate that the merge options may be different from those that were requested. If there isn't an existing asynchronous merge request, a 202 response status is used.\n\nIf the pull request is already merged, the merge commit OID will be returned immediately with a 200 status.\n\nIf the pull request cannot be merged (e.g. because it is closed, or still a draft) this result will be returned immediately with a 400 response status. Branch protection rules and repository rules are not run at this stage, only basic pull request state checks are performed.", + "tags": [ + "pulls" + ], + "operationId": "pulls/merge-async", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#merge-a-pull-request-asynchronously" + }, + "x-github": { + "triggersNotification": true, + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "pulls", + "subcategory": "pulls" + }, + "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": "pull_number", + "description": "The number that identifies the pull request.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": [ + "object", + "null" + ], + "properties": { + "commit_title": { + "type": "string", + "description": "Title for the automatic commit message." + }, + "commit_message": { + "type": "string", + "description": "Extra detail to append to automatic commit message." + }, + "sha": { + "type": "string", + "description": "SHA that pull request head must match to allow merge. If not provided, the current head of the PR at the time of the request will be used; if the PR is pushed in between the merge being requested and being executed, the merge will be cancelled." + }, + "merge_method": { + "type": "string", + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "description": "The action that will be taken to merge the pull request. `direct_merge` merges the pull request directly without using a merge queue; `merge_queue` adds the pull request to a merge queue; `default` selects the most appropriate option.", + "enum": [ + "default", + "direct_merge", + "merge_queue" + ] + } + } + }, + "examples": { + "default": { + "value": { + "commit_title": "Fix race condition", + "commit_message": "Avoids a race by trying to read the file and handling the exception if it does not exist.", + "sha": "6358cd125586d9def8c3e5943f23506202da81cc", + "merge_method": "squash", + "merge_action": "default" + } + } + } + } + } + }, + "responses": { + "202": { + "description": "if the merge request was accepted and will run in the background", + "content": { + "application/json": { + "schema": { + "title": "Pull Request Merge Async Result", + "description": "Pull Request Merge Async Result", + "type": "object", + "additionalProperties": false, + "properties": { + "status": { + "type": "string", + "enum": [ + "pending", + "merged", + "enqueued", + "failed" + ] + }, + "details": { + "oneOf": [ + { + "description": "When an asynchronous merge request was created or already existed", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "merge_method": { + "type": "string", + "enum": [ + "default", + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "enum": [ + "default", + "merge_queue", + "direct_merge" + ] + }, + "expected_head_sha": { + "type": "string", + "description": "SHA that the pull request head must match for the enqueued merge to proceed." + } + }, + "required": [ + "message", + "uuid", + "merge_method", + "merge_action", + "expected_head_sha" + ] + }, + { + "description": "When the pull request cannot be merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ] + }, + { + "description": "When the pull request is already merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "message", + "sha" + ] + } + ] + } + }, + "required": [ + "status", + "details" + ] + }, + "examples": { + "response-if-merge-request-was-accepted": { + "summary": "Request accepted", + "value": { + "status": "pending", + "details": { + "message": "Merge request enqueued.", + "uuid": "630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42", + "merge_method": "merge", + "merge_action": "default", + "expected_head_sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + } + } + } + } + }, + "200": { + "description": "if the pull request was already merged, or is already in a merge queue", + "content": { + "application/json": { + "schema": { + "title": "Pull Request Merge Async Result", + "description": "Pull Request Merge Async Result", + "type": "object", + "additionalProperties": false, + "properties": { + "status": { + "type": "string", + "enum": [ + "pending", + "merged", + "enqueued", + "failed" + ] + }, + "details": { + "oneOf": [ + { + "description": "When an asynchronous merge request was created or already existed", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "merge_method": { + "type": "string", + "enum": [ + "default", + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "enum": [ + "default", + "merge_queue", + "direct_merge" + ] + }, + "expected_head_sha": { + "type": "string", + "description": "SHA that the pull request head must match for the enqueued merge to proceed." + } + }, + "required": [ + "message", + "uuid", + "merge_method", + "merge_action", + "expected_head_sha" + ] + }, + { + "description": "When the pull request cannot be merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ] + }, + { + "description": "When the pull request is already merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "message", + "sha" + ] + } + ] + } + }, + "required": [ + "status", + "details" + ] + }, + "examples": { + "response-if-pull-request-was-already-merged": { + "summary": "Already merged", + "value": { + "status": "merged", + "details": { + "message": "Pull request is already merged.", + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + }, + "response-if-pull-request-is-already-enqueued": { + "summary": "Already enqueued", + "value": { + "status": "enqueued", + "details": { + "message": "Pull request is already in the merge queue." + } + } + } + } + } + } + }, + "409": { + "description": "if there is an existing merge request already enqueued for this pull request", + "content": { + "application/json": { + "schema": { + "title": "Pull Request Merge Async Result", + "description": "Pull Request Merge Async Result", + "type": "object", + "additionalProperties": false, + "properties": { + "status": { + "type": "string", + "enum": [ + "pending", + "merged", + "enqueued", + "failed" + ] + }, + "details": { + "oneOf": [ + { + "description": "When an asynchronous merge request was created or already existed", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "merge_method": { + "type": "string", + "enum": [ + "default", + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "enum": [ + "default", + "merge_queue", + "direct_merge" + ] + }, + "expected_head_sha": { + "type": "string", + "description": "SHA that the pull request head must match for the enqueued merge to proceed." + } + }, + "required": [ + "message", + "uuid", + "merge_method", + "merge_action", + "expected_head_sha" + ] + }, + { + "description": "When the pull request cannot be merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ] + }, + { + "description": "When the pull request is already merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "message", + "sha" + ] + } + ] + } + }, + "required": [ + "status", + "details" + ] + }, + "examples": { + "response-if-a-merge-request-already-exists": { + "value": { + "status": "pending", + "details": { + "message": "A merge request already exists for this pull request.", + "uuid": "630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42", + "merge_method": "squash", + "merge_action": "default", + "expected_head_sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + } + } + } + } + }, + "400": { + "description": "if the pull request is not ready to be merged, e.g. because it is closed", + "content": { + "application/json": { + "schema": { + "title": "Pull Request Merge Async Result", + "description": "Pull Request Merge Async Result", + "type": "object", + "additionalProperties": false, + "properties": { + "status": { + "type": "string", + "enum": [ + "pending", + "merged", + "enqueued", + "failed" + ] + }, + "details": { + "oneOf": [ + { + "description": "When an asynchronous merge request was created or already existed", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "merge_method": { + "type": "string", + "enum": [ + "default", + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "enum": [ + "default", + "merge_queue", + "direct_merge" + ] + }, + "expected_head_sha": { + "type": "string", + "description": "SHA that the pull request head must match for the enqueued merge to proceed." + } + }, + "required": [ + "message", + "uuid", + "merge_method", + "merge_action", + "expected_head_sha" + ] + }, + { + "description": "When the pull request cannot be merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ] + }, + { + "description": "When the pull request is already merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "message", + "sha" + ] + } + ] + } + }, + "required": [ + "status", + "details" + ] + }, + "examples": { + "response-if-pull-request-is-not-ready-to-be-merged": { + "value": { + "status": "failed", + "details": { + "message": "Pull request is closed." + } + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + } + } + }, + "/repos/{owner}/{repo}/pulls/{pull_number}/merge-async/{uuid}": { + "get": { + "summary": "Get the result of an asynchronous merge", + "description": "Fetches the current result of an asynchronous merge request, identified by the UUID that was returned when the merge was requested.\n\nWhile the merge is still queued, the response includes the UUID, merge method, and expected head SHA of the request. Once the merge has completed, the response reports whether it was merged, including the merge commit OID on success or a message describing why it could not be merged on failure.\n\nThe result of an asynchronous merge request is retained for 24 hours after its most recent update. After this window the request expires and this endpoint returns a `404` response for its UUID.", + "tags": [ + "pulls" + ], + "operationId": "pulls/get-merge-async-result", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#get-the-result-of-an-asynchronous-merge" + }, + "x-github": { + "triggersNotification": false, + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "pulls", + "subcategory": "pulls" + }, + "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": "pull_number", + "description": "The number that identifies the pull request.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "uuid", + "description": "The UUID of the asynchronous merge request, as returned when the merge was requested.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "the current result of the asynchronous merge request", + "content": { + "application/json": { + "schema": { + "title": "Pull Request Merge Async Result", + "description": "Pull Request Merge Async Result", + "type": "object", + "additionalProperties": false, + "properties": { + "status": { + "type": "string", + "enum": [ + "pending", + "merged", + "enqueued", + "failed" + ] + }, + "details": { + "oneOf": [ + { + "description": "When an asynchronous merge request was created or already existed", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "merge_method": { + "type": "string", + "enum": [ + "default", + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "enum": [ + "default", + "merge_queue", + "direct_merge" + ] + }, + "expected_head_sha": { + "type": "string", + "description": "SHA that the pull request head must match for the enqueued merge to proceed." + } + }, + "required": [ + "message", + "uuid", + "merge_method", + "merge_action", + "expected_head_sha" + ] + }, + { + "description": "When the pull request cannot be merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ] + }, + { + "description": "When the pull request is already merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "message", + "sha" + ] + } + ] + } + }, + "required": [ + "status", + "details" + ] + }, + "examples": { + "response-if-the-merge-is-still-queued": { + "summary": "Still queued", + "value": { + "status": "pending", + "details": { + "message": "Merge request is in progress.", + "uuid": "630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42", + "merge_method": "merge", + "merge_action": "default", + "expected_head_sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + }, + "response-if-the-pull-request-is-enqueued": { + "summary": "Enqueued in the merge queue", + "value": { + "status": "enqueued", + "details": { + "message": "Pull request is in the merge queue." + } + } + }, + "response-if-the-merge-succeeded": { + "summary": "Merge succeeded", + "value": { + "status": "merged", + "details": { + "message": "Pull request was merged.", + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + }, + "response-if-the-merge-failed": { + "summary": "Merge failed", + "value": { + "status": "failed", + "details": { + "message": "Merge conflict: the pull request could not be merged." + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + } + } + }, "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": { "get": { "summary": "Get all requested reviewers for a pull request", diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index b273ef3e68..99ee69bdb1 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -1088,7 +1088,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: - - &801 + - &802 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -4502,7 +4502,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &811 + schema: &812 title: Scim Error description: Scim Error type: object @@ -12204,7 +12204,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &812 + '401': &813 description: Authorization failure '404': *6 x-github: @@ -26431,7 +26431,7 @@ paths: - object rules: type: array - items: &766 + items: &767 title: Repository Rule type: object description: A repository rule. @@ -26440,7 +26440,7 @@ paths: - *171 - *172 - *173 - - &763 + - &764 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -26531,7 +26531,7 @@ paths: - *184 - *185 - *186 - - &764 + - &765 title: license_compliance_scanning description: Enforce any added or changed dependencies to comply with the organization's license policy. @@ -27079,14 +27079,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &779 + state: &780 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: &780 + resolution: &781 type: - string - 'null' @@ -27205,14 +27205,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &781 + - &782 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &783 + - &784 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -27276,7 +27276,7 @@ paths: - blob_url - commit_sha - commit_url - - &784 + - &785 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -27337,7 +27337,7 @@ paths: - page_url - commit_sha - commit_url - - &785 + - &786 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -27359,7 +27359,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &786 + - &787 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -27381,7 +27381,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &787 + - &788 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -27403,7 +27403,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &788 + - &789 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -27418,7 +27418,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &789 + - &790 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -27433,7 +27433,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &790 + - &791 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -27448,7 +27448,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &791 + - &792 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -27470,7 +27470,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &792 + - &793 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -27492,7 +27492,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &793 + - &794 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -27514,7 +27514,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &794 + - &795 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -27536,7 +27536,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &795 + - &796 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -32523,7 +32523,7 @@ paths: properties: action: type: string - discussion: &920 + discussion: &921 title: Discussion description: A Discussion in a repository. type: object @@ -33309,7 +33309,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &839 + sub_issues_summary: &840 title: Sub-issues Summary type: object properties: @@ -33439,7 +33439,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &840 + issue_dependencies_summary: &841 title: Issue Dependencies Summary type: object properties: @@ -34275,7 +34275,7 @@ paths: type: string release: allOf: - - &756 + - &757 title: Release description: A release. type: object @@ -34357,7 +34357,7 @@ paths: author: *4 assets: type: array - items: &757 + items: &758 title: Release Asset description: Data related to a release. type: object @@ -34948,7 +34948,7 @@ paths: url: type: string format: uri - user: &848 + user: &849 title: Public User description: Public User type: object @@ -38063,7 +38063,7 @@ paths: description: |- Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see "[About GitHub's IP addresses](https://docs.github.com/enterprise-cloud@latest/articles/about-github-s-ip-addresses/)." - The API's response also includes a list of GitHub's domain names. + The API's response also includes a list of GitHub's domain names, and the public keys used by GitHub to sign commits made through the web UI. The values shown in the documentation's response are example values. You must always query the API directly to get the latest values. @@ -47070,12 +47070,12 @@ paths: required: - subject_digests examples: - default: &880 + default: &881 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &881 + withPredicateType: &882 value: subject_digests: - sha256:abc123 @@ -47134,7 +47134,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &882 + default: &883 value: attestations_subject_digests: - sha256:abc: @@ -57592,6 +57592,86 @@ paths: enabledForGitHubApps: true category: interactions subcategory: orgs + "/orgs/{org}/interaction-limits/pulls/creation-cap": + patch: + summary: Update pull request creation cap for an org + description: |- + Updates the pull request creation cap for an organization. The cap limits the total number + of open pull requests a user can have across all public repositories in the organization + at one time. + + Only users with admin access to the organization can configure the cap. + tags: + - interactions + operationId: interactions/update-pull-request-creation-cap-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/orgs#update-pull-request-creation-cap-for-an-org + parameters: + - *88 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enabled: + type: boolean + description: Whether the pull request creation cap is enabled + max_open_pull_requests: + type: integer + description: The maximum number of open pull requests a user can + have at one time + minimum: 1 + maximum: 1000 + required: + - enabled + examples: + default: + summary: Example request body + value: + enabled: true + max_open_pull_requests: 1 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + enabled: + type: boolean + description: Whether the pull request creation cap is enabled + max_open_pull_requests: + type: integer + description: The maximum number of open pull requests a user can + have at one time + minimum: 1 + maximum: 1000 + required: + - enabled + - max_open_pull_requests + examples: + default: + summary: Response + value: + enabled: true + max_open_pull_requests: 1 + '403': *27 + '404': *6 + '405': + description: Method Not Allowed + content: + application/json: + schema: *3 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: orgs "/orgs/{org}/invitations": get: summary: List pending organization invitations @@ -60150,7 +60230,7 @@ paths: parameters: - *88 - *401 - - &863 + - &864 name: repo_name description: repo_name parameter in: path @@ -61498,7 +61578,7 @@ paths: - nuget - container - *88 - - &864 + - &865 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -61539,7 +61619,7 @@ paths: default: *406 '403': *27 '401': *23 - '400': &866 + '400': &867 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -63670,7 +63750,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &953 + - &954 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -64608,7 +64688,7 @@ paths: - updated_at - project_url examples: - default: &886 + default: &887 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -64785,7 +64865,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &887 + items: &888 type: object properties: name: @@ -64822,7 +64902,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &888 + iteration_configuration: &889 type: object description: The configuration for iteration fields. properties: @@ -64872,7 +64952,7 @@ paths: value: name: Due date data_type: date - single_select_field: &889 + single_select_field: &890 summary: Create a single select field value: name: Priority @@ -64899,7 +64979,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &890 + iteration_field: &891 summary: Create an iteration field value: name: Sprint @@ -64925,7 +65005,7 @@ paths: application/json: schema: *426 examples: - text_field: &891 + text_field: &892 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -64934,7 +65014,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &892 + number_field: &893 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -64943,7 +65023,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &893 + date_field: &894 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -64952,7 +65032,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &894 + single_select_field: &895 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -64986,7 +65066,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &895 + iteration_field: &896 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -65032,7 +65112,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-organization parameters: - *423 - - &896 + - &897 name: field_id description: The unique identifier of the field. in: path @@ -65047,7 +65127,7 @@ paths: application/json: schema: *426 examples: - default: &897 + default: &898 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -66258,7 +66338,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &877 + schema: &878 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -66441,7 +66521,7 @@ paths: parameters: - *423 - *88 - - &898 + - &899 name: view_number description: The number that identifies the project view. in: path @@ -68356,7 +68436,7 @@ paths: - *88 - *17 - *19 - - &765 + - &766 name: targets description: | A comma-separated list of rule targets to filter by. @@ -68573,7 +68653,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *88 - - &767 + - &768 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 @@ -68585,14 +68665,14 @@ paths: x-multi-segment: true - *314 - *106 - - &768 + - &769 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 - - &769 + - &770 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -68605,7 +68685,7 @@ paths: - bypass - all default: all - - &770 + - &771 name: evaluate_status description: |- The evaluate status to filter on. When specified, only rule suites resulting from rulesets with the specified evaluate status will be returned. @@ -68628,7 +68708,7 @@ paths: description: Response content: application/json: - schema: &771 + schema: &772 title: Rule Suites description: Response type: array @@ -68684,7 +68764,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &772 + default: &773 value: - id: 21 actor_id: 12 @@ -68728,7 +68808,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *88 - - &773 + - &774 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -68744,7 +68824,7 @@ paths: description: Response content: application/json: - schema: &774 + schema: &775 title: Rule Suite description: Response type: object @@ -68851,7 +68931,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &775 + default: &776 value: id: 21 actor_id: 12 @@ -69187,7 +69267,7 @@ paths: - *111 - *19 - *17 - - &777 + - &778 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 @@ -69197,7 +69277,7 @@ paths: required: false schema: type: string - - &778 + - &779 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 @@ -69624,7 +69704,7 @@ paths: application/json: schema: type: array - items: &799 + items: &800 description: A repository security advisory. type: object properties: @@ -69943,7 +70023,7 @@ paths: - private_fork additionalProperties: false examples: - default: &800 + default: &801 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -71986,7 +72066,7 @@ paths: application/json: schema: type: array - items: &842 + items: &843 title: Team Member description: A user that is a member of a team, including their role on the team and whether the membership is inherited from @@ -72129,7 +72209,7 @@ paths: - type - url examples: - default: &843 + default: &844 value: - login: octocat id: 1 @@ -72216,7 +72296,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &844 + response-if-user-is-a-team-maintainer: &845 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -72281,7 +72361,7 @@ paths: application/json: schema: *490 examples: - response-if-users-membership-with-team-is-now-pending: &845 + response-if-users-membership-with-team-is-now-pending: &846 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -72395,7 +72475,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &846 + schema: &847 title: Team Repository description: A team's access to a repository. type: object @@ -73235,7 +73315,7 @@ paths: type: array items: *317 examples: - response-if-child-teams-exist: &847 + response-if-child-teams-exist: &848 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -85693,7 +85773,7 @@ paths: check. type: array items: *228 - deployment: &909 + deployment: &910 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -91435,7 +91515,7 @@ paths: type: array items: *597 examples: - default: &853 + default: &854 value: total_count: 2 machines: @@ -94612,7 +94692,7 @@ paths: application/json: schema: type: array - items: &805 + items: &806 title: Status description: The status of a commit. type: object @@ -95601,7 +95681,7 @@ paths: - size - type - url - - &754 + - &755 title: Content File description: Content File type: object @@ -96238,7 +96318,7 @@ paths: items: type: object properties: - placeholder_id: &796 + placeholder_id: &797 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -103118,7 +103198,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &945 + last_response: &946 title: Hook Response type: object properties: @@ -104187,7 +104267,7 @@ paths: parameters: - *491 - *492 - - &875 + - &876 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -104906,7 +104986,7 @@ paths: type: array items: *678 examples: - default: &868 + default: &869 value: - id: 1 repository: @@ -107508,10 +107588,9 @@ paths: Pending suggestions for each suggestible field (`type`, `issue_field_values`, `labels`, `assignees`, `state`) the request touched. Omitted for fields not in the request or - with no pending suggestions. Items tagged `already_applied` - are echoes of the current request's inputs whose target is - already applied to the issue; they are not persisted as - pending suggestions. + with no pending or ignored suggestions. Items tagged + `ignored` are echoes of the current request's inputs that + were not persisted as pending suggestions. properties: type: type: array @@ -107530,8 +107609,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed issue_field_values: type: array items: @@ -107556,8 +107640,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed labels: type: array items: @@ -107575,8 +107664,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed assignees: type: array items: @@ -107594,8 +107688,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed state: type: array items: @@ -107617,8 +107716,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed examples: default: *686 '422': *15 @@ -116579,6 +116683,288 @@ paths: enabledForGitHubApps: true category: pulls subcategory: pulls + "/repos/{owner}/{repo}/pulls/{pull_number}/merge-async": + put: + summary: Merge a pull request asynchronously + description: |- + Merges a pull request into the base branch in the background. Merging in this way allows certain types of errors to be retried, and avoids the risk of timeouts for particularly complex merges. + + This is the required method for merging stacked PRs, but also supports unstacked PRs. When using this endpoint to merge a stacked pull request, all pull requests in the stack up to and including the requested PR will be merged into the base branch. + + The response includes a UUID that can be used to fetch the result of the merge. If another asynchronous merge request has already been made for this pull request, the UUID of that request will be returned instead with a 409 response status to indicate that the merge options may be different from those that were requested. If there isn't an existing asynchronous merge request, a 202 response status is used. + + If the pull request is already merged, the merge commit OID will be returned immediately with a 200 status. + + If the pull request cannot be merged (e.g. because it is closed, or still a draft) this result will be returned immediately with a 400 response status. Branch protection rules and repository rules are not run at this stage, only basic pull request state checks are performed. + tags: + - pulls + operationId: pulls/merge-async + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#merge-a-pull-request-asynchronously + x-github: + triggersNotification: true + githubCloudOnly: false + enabledForGitHubApps: true + category: pulls + subcategory: pulls + parameters: + - *491 + - *492 + - *747 + requestBody: + required: false + content: + application/json: + schema: + type: + - object + - 'null' + properties: + commit_title: + type: string + description: Title for the automatic commit message. + commit_message: + type: string + description: Extra detail to append to automatic commit message. + sha: + type: string + description: SHA that pull request head must match to allow merge. + If not provided, the current head of the PR at the time of the + request will be used; if the PR is pushed in between the merge + being requested and being executed, the merge will be cancelled. + merge_method: + type: string + description: The merge method to use. + enum: + - merge + - squash + - rebase + merge_action: + type: string + description: The action that will be taken to merge the pull request. + `direct_merge` merges the pull request directly without using + a merge queue; `merge_queue` adds the pull request to a merge + queue; `default` selects the most appropriate option. + enum: + - default + - direct_merge + - merge_queue + examples: + default: + value: + commit_title: Fix race condition + commit_message: Avoids a race by trying to read the file and handling + the exception if it does not exist. + sha: 6358cd125586d9def8c3e5943f23506202da81cc + merge_method: squash + merge_action: default + responses: + '202': + description: if the merge request was accepted and will run in the background + content: + application/json: + schema: &750 + title: Pull Request Merge Async Result + description: Pull Request Merge Async Result + type: object + additionalProperties: false + properties: + status: + type: string + enum: + - pending + - merged + - enqueued + - failed + details: + oneOf: + - description: When an asynchronous merge request was created + or already existed + type: object + additionalProperties: false + properties: + message: + type: string + uuid: + type: string + merge_method: + type: string + enum: + - default + - merge + - squash + - rebase + merge_action: + type: string + enum: + - default + - merge_queue + - direct_merge + expected_head_sha: + type: string + description: SHA that the pull request head must match for + the enqueued merge to proceed. + required: + - message + - uuid + - merge_method + - merge_action + - expected_head_sha + - description: When the pull request cannot be merged + type: object + additionalProperties: false + properties: + message: + type: string + required: + - message + - description: When the pull request is already merged + type: object + additionalProperties: false + properties: + message: + type: string + sha: + type: string + required: + - message + - sha + required: + - status + - details + examples: + response-if-merge-request-was-accepted: + summary: Request accepted + value: + status: pending + details: + message: Merge request enqueued. + uuid: 630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42 + merge_method: merge + merge_action: default + expected_head_sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + '200': + description: if the pull request was already merged, or is already in a + merge queue + content: + application/json: + schema: *750 + examples: + response-if-pull-request-was-already-merged: + summary: Already merged + value: + status: merged + details: + message: Pull request is already merged. + sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + response-if-pull-request-is-already-enqueued: + summary: Already enqueued + value: + status: enqueued + details: + message: Pull request is already in the merge queue. + '409': + description: if there is an existing merge request already enqueued for + this pull request + content: + application/json: + schema: *750 + examples: + response-if-a-merge-request-already-exists: + value: + status: pending + details: + message: A merge request already exists for this pull request. + uuid: 630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42 + merge_method: squash + merge_action: default + expected_head_sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + '400': + description: if the pull request is not ready to be merged, e.g. because + it is closed + content: + application/json: + schema: *750 + examples: + response-if-pull-request-is-not-ready-to-be-merged: + value: + status: failed + details: + message: Pull request is closed. + '422': *15 + '403': *27 + '404': *6 + "/repos/{owner}/{repo}/pulls/{pull_number}/merge-async/{uuid}": + get: + summary: Get the result of an asynchronous merge + description: |- + Fetches the current result of an asynchronous merge request, identified by the UUID that was returned when the merge was requested. + + While the merge is still queued, the response includes the UUID, merge method, and expected head SHA of the request. Once the merge has completed, the response reports whether it was merged, including the merge commit OID on success or a message describing why it could not be merged on failure. + + The result of an asynchronous merge request is retained for 24 hours after its most recent update. After this window the request expires and this endpoint returns a `404` response for its UUID. + tags: + - pulls + operationId: pulls/get-merge-async-result + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#get-the-result-of-an-asynchronous-merge + x-github: + triggersNotification: false + githubCloudOnly: false + enabledForGitHubApps: true + category: pulls + subcategory: pulls + parameters: + - *491 + - *492 + - *747 + - name: uuid + description: The UUID of the asynchronous merge request, as returned when + the merge was requested. + in: path + required: true + schema: + type: string + responses: + '200': + description: the current result of the asynchronous merge request + content: + application/json: + schema: *750 + examples: + response-if-the-merge-is-still-queued: + summary: Still queued + value: + status: pending + details: + message: Merge request is in progress. + uuid: 630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42 + merge_method: merge + merge_action: default + expected_head_sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + response-if-the-pull-request-is-enqueued: + summary: Enqueued in the merge queue + value: + status: enqueued + details: + message: Pull request is in the merge queue. + response-if-the-merge-succeeded: + summary: Merge succeeded + value: + status: merged + details: + message: Pull request was merged. + sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + response-if-the-merge-failed: + summary: Merge failed + value: + status: failed + details: + message: 'Merge conflict: the pull request could not be merged.' + '403': *27 + '404': *6 "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": get: summary: Get all requested reviewers for a pull request @@ -117799,7 +118185,7 @@ paths: application/json: schema: type: array - items: &750 + items: &751 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -118047,9 +118433,9 @@ paths: description: Response content: application/json: - schema: *750 + schema: *751 examples: - default: &752 + default: &753 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -118115,7 +118501,7 @@ paths: - *491 - *492 - *747 - - &751 + - &752 name: review_id description: The unique identifier of the review. in: path @@ -118127,9 +118513,9 @@ paths: description: Response content: application/json: - schema: *750 + schema: *751 examples: - default: &753 + default: &754 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -118191,7 +118577,7 @@ paths: - *491 - *492 - *747 - - *751 + - *752 requestBody: required: true content: @@ -118214,7 +118600,7 @@ paths: description: Response content: application/json: - schema: *750 + schema: *751 examples: default: value: @@ -118279,15 +118665,15 @@ paths: - *491 - *492 - *747 - - *751 + - *752 responses: '200': description: Response content: application/json: - schema: *750 + schema: *751 examples: - default: *752 + default: *753 '422': *7 '404': *6 x-github: @@ -118317,7 +118703,7 @@ paths: - *491 - *492 - *747 - - *751 + - *752 - *17 - *19 responses: @@ -118578,7 +118964,7 @@ paths: - *491 - *492 - *747 - - *751 + - *752 requestBody: required: true content: @@ -118607,7 +118993,7 @@ paths: description: Response content: application/json: - schema: *750 + schema: *751 examples: default: value: @@ -118673,7 +119059,7 @@ paths: - *491 - *492 - *747 - - *751 + - *752 requestBody: required: true content: @@ -118708,9 +119094,9 @@ paths: description: Response content: application/json: - schema: *750 + schema: *751 examples: - default: *753 + default: *754 '404': *6 '422': *7 '403': *27 @@ -118812,9 +119198,9 @@ paths: description: Response content: application/json: - schema: *754 + schema: *755 examples: - default: &755 + default: &756 value: type: file encoding: base64 @@ -118877,9 +119263,9 @@ paths: description: Response content: application/json: - schema: *754 + schema: *755 examples: - default: *755 + default: *756 '404': *6 '422': *15 x-github: @@ -118912,7 +119298,7 @@ paths: application/json: schema: type: array - items: *756 + items: *757 examples: default: value: @@ -119088,9 +119474,9 @@ paths: description: Response content: application/json: - schema: *756 + schema: *757 examples: - default: &760 + default: &761 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -119197,7 +119583,7 @@ paths: parameters: - *491 - *492 - - &758 + - &759 name: asset_id description: The unique identifier of the asset. in: path @@ -119209,9 +119595,9 @@ paths: description: Response content: application/json: - schema: *757 + schema: *758 examples: - default: &759 + default: &760 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 @@ -119264,7 +119650,7 @@ paths: parameters: - *491 - *492 - - *758 + - *759 requestBody: required: false content: @@ -119293,9 +119679,9 @@ paths: description: Response content: application/json: - schema: *757 + schema: *758 examples: - default: *759 + default: *760 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119313,7 +119699,7 @@ paths: parameters: - *491 - *492 - - *758 + - *759 responses: '204': description: Response @@ -119432,9 +119818,9 @@ paths: description: Response content: application/json: - schema: *756 + schema: *757 examples: - default: *760 + default: *761 '404': *6 x-github: githubCloudOnly: false @@ -119466,9 +119852,9 @@ paths: description: Response content: application/json: - schema: *756 + schema: *757 examples: - default: *760 + default: *761 '404': *6 x-github: githubCloudOnly: false @@ -119492,7 +119878,7 @@ paths: parameters: - *491 - *492 - - &761 + - &762 name: release_id description: The unique identifier of the release. in: path @@ -119506,9 +119892,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: *756 + schema: *757 examples: - default: *760 + default: *761 '401': description: Unauthorized x-github: @@ -119534,7 +119920,7 @@ paths: parameters: - *491 - *492 - - *761 + - *762 requestBody: required: false content: @@ -119598,9 +119984,9 @@ paths: description: Response content: application/json: - schema: *756 + schema: *757 examples: - default: *760 + default: *761 '404': description: Not Found if the discussion category name is invalid content: @@ -119623,7 +120009,7 @@ paths: parameters: - *491 - *492 - - *761 + - *762 responses: '204': description: Response @@ -119646,7 +120032,7 @@ paths: parameters: - *491 - *492 - - *761 + - *762 - *17 - *19 responses: @@ -119656,7 +120042,7 @@ paths: application/json: schema: type: array - items: *757 + items: *758 examples: default: value: @@ -119740,7 +120126,7 @@ paths: parameters: - *491 - *492 - - *761 + - *762 - name: name in: query required: true @@ -119766,7 +120152,7 @@ paths: description: Response for successful upload content: application/json: - schema: *757 + schema: *758 examples: response-for-successful-upload: value: @@ -119823,7 +120209,7 @@ paths: parameters: - *491 - *492 - - *761 + - *762 - 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. @@ -119872,7 +120258,7 @@ paths: parameters: - *491 - *492 - - *761 + - *762 requestBody: required: true content: @@ -119935,7 +120321,7 @@ paths: parameters: - *491 - *492 - - *761 + - *762 - *682 responses: '204': @@ -119979,7 +120365,7 @@ paths: oneOf: - allOf: - *170 - - &762 + - &763 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -120000,70 +120386,70 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *171 - - *762 + - *763 - allOf: - *172 - - *762 + - *763 - allOf: - *173 - - *762 + - *763 - allOf: + - *764 - *763 - - *762 - allOf: - *174 - - *762 + - *763 - allOf: - *175 - - *762 + - *763 - allOf: - *176 - - *762 + - *763 - allOf: - *177 - - *762 + - *763 - allOf: - *178 - - *762 + - *763 - allOf: - *179 - - *762 + - *763 - allOf: - *180 - - *762 + - *763 - allOf: - *181 - - *762 + - *763 - allOf: - *182 - - *762 + - *763 - allOf: - *183 - - *762 + - *763 - allOf: - *184 - - *762 + - *763 - allOf: - *185 - - *762 + - *763 - allOf: - *186 - - *762 + - *763 - allOf: - - *764 - - *762 + - *765 + - *763 - allOf: - *187 - - *762 + - *763 - allOf: - *188 - - *762 + - *763 - allOf: - *189 - - *762 + - *763 - allOf: - *190 - - *762 + - *763 examples: default: value: @@ -120114,7 +120500,7 @@ paths: schema: type: boolean default: true - - *765 + - *766 responses: '200': description: Response @@ -120199,7 +120585,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *766 + items: *767 required: - name - enforcement @@ -120232,7 +120618,7 @@ paths: application/json: schema: *191 examples: - default: &776 + default: &777 value: id: 42 name: super cool ruleset @@ -120282,11 +120668,11 @@ paths: parameters: - *491 - *492 - - *767 - - *106 - *768 + - *106 - *769 - *770 + - *771 - *17 - *19 responses: @@ -120294,9 +120680,9 @@ paths: description: Response content: application/json: - schema: *771 + schema: *772 examples: - default: *772 + default: *773 '404': *6 '500': *39 x-github: @@ -120319,15 +120705,15 @@ paths: parameters: - *491 - *492 - - *773 + - *774 responses: '200': description: Response content: application/json: - schema: *774 + schema: *775 examples: - default: *775 + default: *776 '404': *6 '500': *39 x-github: @@ -120378,7 +120764,7 @@ paths: application/json: schema: *191 examples: - default: *776 + default: *777 '404': *6 '500': *39 put: @@ -120431,7 +120817,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *766 + items: *767 examples: default: value: @@ -120461,7 +120847,7 @@ paths: application/json: schema: *191 examples: - default: *776 + default: *777 '404': *6 '422': *15 '500': *39 @@ -120629,8 +121015,8 @@ paths: - *111 - *19 - *17 - - *777 - *778 + - *779 - *451 - *452 - *453 @@ -120661,8 +121047,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *779 - resolution: *780 + state: *780 + resolution: *781 resolved_at: type: - string @@ -120768,7 +121154,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *781 + - *782 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -120936,7 +121322,7 @@ paths: description: Response content: application/json: - schema: &782 + schema: &783 type: object properties: number: *132 @@ -120951,8 +121337,8 @@ paths: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *779 - resolution: *780 + state: *780 + resolution: *781 resolved_at: type: - string @@ -121058,7 +121444,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *781 + - *782 has_more_locations: type: boolean description: A boolean value representing whether or not the token @@ -121081,7 +121467,7 @@ paths: anyOf: - type: 'null' - *4 - metadata: &964 + metadata: &965 type: array description: A list of metadata key/value pairs associated with the secret scanning alert. @@ -121164,8 +121550,8 @@ paths: schema: type: object properties: - state: *779 - resolution: *780 + state: *780 + resolution: *781 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -121213,7 +121599,7 @@ paths: description: Response content: application/json: - schema: *782 + schema: *783 examples: default: value: @@ -121328,7 +121714,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &966 + items: &967 type: object properties: type: @@ -121355,7 +121741,6 @@ paths: - commit details: oneOf: - - *783 - *784 - *785 - *786 @@ -121368,6 +121753,7 @@ paths: - *793 - *794 - *795 + - *796 examples: default: value: @@ -121677,14 +122063,14 @@ paths: schema: type: object properties: - reason: &797 + reason: &798 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *796 + placeholder_id: *797 required: - reason - placeholder_id @@ -121701,7 +122087,7 @@ paths: schema: type: object properties: - reason: *797 + reason: *798 expire_at: type: - string @@ -121764,7 +122150,7 @@ paths: properties: incremental_scans: type: array - items: &798 + items: &799 description: Information on a single scan performed by secret scanning on the repository type: object @@ -121797,15 +122183,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *798 + items: *799 backfill_scans: type: array - items: *798 + items: *799 custom_pattern_backfill_scans: type: array items: allOf: - - *798 + - *799 - type: object properties: pattern_name: @@ -121818,7 +122204,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *798 + items: *799 examples: default: value: @@ -121928,9 +122314,9 @@ paths: application/json: schema: type: array - items: *799 + items: *800 examples: - default: *800 + default: *801 '400': *14 '404': *6 x-github: @@ -122124,9 +122510,9 @@ paths: description: Response content: application/json: - schema: *799 + schema: *800 examples: - default: &802 + default: &803 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -122473,7 +122859,7 @@ paths: description: Response content: application/json: - schema: *799 + schema: *800 examples: default: value: @@ -122622,15 +123008,15 @@ paths: parameters: - *491 - *492 - - *801 + - *802 responses: '200': description: Response content: application/json: - schema: *799 + schema: *800 examples: - default: *802 + default: *803 '403': *27 '404': *6 x-github: @@ -122656,7 +123042,7 @@ paths: parameters: - *491 - *492 - - *801 + - *802 requestBody: required: true content: @@ -122827,10 +123213,10 @@ paths: description: Response content: application/json: - schema: *799 + schema: *800 examples: - default: *802 - add_credit: *802 + default: *803 + add_credit: *803 '403': *27 '404': *6 '422': @@ -122870,7 +123256,7 @@ paths: parameters: - *491 - *492 - - *801 + - *802 responses: '202': *38 '400': *14 @@ -122899,7 +123285,7 @@ paths: parameters: - *491 - *492 - - *801 + - *802 responses: '202': description: Response @@ -123130,7 +123516,7 @@ paths: format: date-time pull_requests: type: array - items: &803 + items: &804 title: Pull Request Stack Pull Request type: object allOf: @@ -123407,7 +123793,7 @@ paths: format: date-time pull_requests: type: array - items: *803 + items: *804 examples: default: value: @@ -123600,7 +123986,7 @@ paths: format: date-time pull_requests: type: array - items: *803 + items: *804 examples: default: value: @@ -123857,7 +124243,7 @@ paths: format: date-time pull_requests: type: array - items: *803 + items: *804 examples: default: value: @@ -124070,7 +124456,7 @@ paths: application/json: schema: type: array - items: &804 + items: &805 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -124443,7 +124829,7 @@ paths: application/json: schema: type: array - items: *804 + items: *805 examples: default: value: @@ -124533,7 +124919,7 @@ paths: description: Response content: application/json: - schema: *805 + schema: *806 examples: default: value: @@ -124627,7 +125013,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &806 + schema: &807 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -124727,7 +125113,7 @@ paths: description: Response content: application/json: - schema: *806 + schema: *807 examples: default: value: @@ -124937,7 +125323,7 @@ paths: description: Response content: application/json: - schema: &807 + schema: &808 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -124949,7 +125335,7 @@ paths: required: - names examples: - default: &808 + default: &809 value: names: - octocat @@ -125004,9 +125390,9 @@ paths: description: Response content: application/json: - schema: *807 + schema: *808 examples: - default: *808 + default: *809 '404': *6 '422': *7 x-github: @@ -125029,7 +125415,7 @@ paths: parameters: - *491 - *492 - - &809 + - &810 name: per description: The time frame to display results for. in: query @@ -125060,7 +125446,7 @@ paths: - 128 clones: type: array - items: &810 + items: &811 title: Traffic type: object properties: @@ -125308,7 +125694,7 @@ paths: parameters: - *491 - *492 - - *809 + - *810 responses: '200': description: Response @@ -125329,7 +125715,7 @@ paths: - 3782 views: type: array - items: *810 + items: *811 required: - uniques - count @@ -126001,7 +126387,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &818 + - &819 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -126011,7 +126397,7 @@ paths: type: string examples: - members - - &823 + - &824 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -126023,7 +126409,7 @@ paths: format: int32 examples: - 1 - - &824 + - &825 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -126067,7 +126453,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &813 + items: &814 allOf: - type: object required: @@ -126149,7 +126535,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: &825 + meta: &826 type: object description: The metadata associated with the creation/updates to the user. @@ -126214,30 +126600,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &814 + '400': &815 description: Bad request content: application/json: - schema: *811 + schema: *812 application/scim+json: - schema: *811 - '401': *812 - '403': &815 + schema: *812 + '401': *813 + '403': &816 description: Permission denied - '429': &816 + '429': &817 description: Too many requests content: application/json: - schema: *811 + schema: *812 application/scim+json: - schema: *811 - '500': &817 + schema: *812 + '500': &818 description: Internal server error content: application/json: - schema: *811 + schema: *812 application/scim+json: - schema: *811 + schema: *812 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126261,7 +126647,7 @@ paths: required: true content: application/json: - schema: &821 + schema: &822 type: object required: - schemas @@ -126325,9 +126711,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *813 + schema: *814 examples: - group: &819 + group: &820 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -126346,13 +126732,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': *814 - '401': *812 - '403': *815 - '409': &822 + '400': *815 + '401': *813 + '403': *816 + '409': &823 description: Duplicate record detected - '429': *816 - '500': *817 + '429': *817 + '500': *818 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126369,7 +126755,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: - - &820 + - &821 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -126378,22 +126764,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *818 + - *819 - *40 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *813 + schema: *814 examples: - default: *819 - '400': *814 - '401': *812 - '403': *815 + default: *820 + '400': *815 + '401': *813 + '403': *816 '404': *6 - '429': *816 - '500': *817 + '429': *817 + '500': *818 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126412,13 +126798,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: - - *820 + - *821 - *40 requestBody: required: true content: application/json: - schema: *821 + schema: *822 examples: group: summary: Group @@ -126444,17 +126830,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *813 + schema: *814 examples: - group: *819 - groupWithMembers: *819 - '400': *814 - '401': *812 - '403': *815 + group: *820 + groupWithMembers: *820 + '400': *815 + '401': *813 + '403': *816 '404': *6 - '409': *822 - '429': *816 - '500': *817 + '409': *823 + '429': *817 + '500': *818 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126478,13 +126864,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: - - *820 + - *821 - *40 requestBody: required: true content: application/json: - schema: &832 + schema: &833 type: object required: - Operations @@ -126544,17 +126930,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *813 + schema: *814 examples: - updateGroup: *819 - addMembers: *819 - '400': *814 - '401': *812 - '403': *815 + updateGroup: *820 + addMembers: *820 + '400': *815 + '401': *813 + '403': *816 '404': *6 - '409': *822 - '429': *816 - '500': *817 + '409': *823 + '429': *817 + '500': *818 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126570,17 +126956,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: - - *820 + - *821 - *40 responses: '204': description: Group was deleted, no content - '400': *814 - '401': *812 - '403': *815 + '400': *815 + '401': *813 + '403': *816 '404': *6 - '429': *816 - '500': *817 + '429': *817 + '500': *818 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126614,8 +127000,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *823 - *824 + - *825 - *40 responses: '200': @@ -126649,7 +127035,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &827 + items: &828 allOf: - type: object required: @@ -126741,7 +127127,7 @@ paths: address. examples: - true - roles: &826 + roles: &827 type: array description: The roles assigned to the user. items: @@ -126800,7 +127186,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *825 + meta: *826 startIndex: type: integer description: A starting index for the returned page @@ -126839,11 +127225,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *814 - '401': *812 - '403': *815 - '429': *816 - '500': *817 + '400': *815 + '401': *813 + '403': *816 + '429': *817 + '500': *818 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126867,7 +127253,7 @@ paths: required: true content: application/json: - schema: &830 + schema: &831 type: object required: - schemas @@ -126960,9 +127346,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *826 + roles: *827 examples: - user: &831 + user: &832 summary: User value: schemas: @@ -127009,9 +127395,9 @@ paths: description: User has been created content: application/scim+json: - schema: *827 + schema: *828 examples: - user: &828 + user: &829 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -127037,13 +127423,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: *828 - '400': *814 - '401': *812 - '403': *815 - '409': *822 - '429': *816 - '500': *817 + enterpriseOwner: *829 + '400': *815 + '401': *813 + '403': *816 + '409': *823 + '429': *817 + '500': *818 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127060,7 +127446,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: - - &829 + - &830 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -127073,15 +127459,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *827 + schema: *828 examples: - default: *828 - '400': *814 - '401': *812 - '403': *815 + default: *829 + '400': *815 + '401': *813 + '403': *816 '404': *6 - '429': *816 - '500': *817 + '429': *817 + '500': *818 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127132,30 +127518,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: - - *829 + - *830 - *40 requestBody: required: true content: application/json: - schema: *830 + schema: *831 examples: - user: *831 + user: *832 responses: '200': description: User was updated content: application/scim+json: - schema: *827 + schema: *828 examples: - user: *828 - '400': *814 - '401': *812 - '403': *815 + user: *829 + '400': *815 + '401': *813 + '403': *816 '404': *6 - '409': *822 - '429': *816 - '500': *817 + '409': *823 + '429': *817 + '500': *818 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127196,13 +127582,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: - - *829 + - *830 - *40 requestBody: required: true content: application/json: - schema: *832 + schema: *833 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -127242,18 +127628,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *827 - examples: - userMultiValuedProperties: *828 - userSingleValuedProperties: *828 - disableUser: *828 - '400': *814 - '401': *812 - '403': *815 + schema: *828 + examples: + userMultiValuedProperties: *829 + userSingleValuedProperties: *829 + disableUser: *829 + '400': *815 + '401': *813 + '403': *816 '404': *6 - '409': *822 - '429': *816 - '500': *817 + '409': *823 + '429': *817 + '500': *818 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127273,17 +127659,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: - - *829 + - *830 - *40 responses: '204': description: User was deleted, no content - '400': *814 - '401': *812 - '403': *815 + '400': *815 + '401': *813 + '403': *816 '404': *6 - '429': *816 - '500': *817 + '429': *817 + '500': *818 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127374,7 +127760,7 @@ paths: - 1 Resources: type: array - items: &833 + items: &834 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -127621,22 +128007,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': *36 - '404': &834 + '404': &835 description: Resource not found content: application/json: - schema: *811 + schema: *812 application/scim+json: - schema: *811 - '403': &835 + schema: *812 + '403': &836 description: Forbidden content: application/json: - schema: *811 + schema: *812 application/scim+json: - schema: *811 - '400': *814 - '429': *816 + schema: *812 + '400': *815 + '429': *817 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -127662,9 +128048,9 @@ paths: description: Response content: application/scim+json: - schema: *833 + schema: *834 examples: - default: &836 + default: &837 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -127687,17 +128073,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': *36 - '404': *834 - '403': *835 - '500': *817 + '404': *835 + '403': *836 + '500': *818 '409': description: Conflict content: application/json: - schema: *811 + schema: *812 application/scim+json: - schema: *811 - '400': *814 + schema: *812 + '400': *815 requestBody: required: true content: @@ -127797,17 +128183,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *88 - - *829 + - *830 responses: '200': description: Response content: application/scim+json: - schema: *833 + schema: *834 examples: - default: *836 - '404': *834 - '403': *835 + default: *837 + '404': *835 + '403': *836 '304': *36 x-github: githubCloudOnly: true @@ -127831,18 +128217,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-a-provisioned-organization-membership parameters: - *88 - - *829 + - *830 responses: '200': description: Response content: application/scim+json: - schema: *833 + schema: *834 examples: - default: *836 + default: *837 '304': *36 - '404': *834 - '403': *835 + '404': *835 + '403': *836 requestBody: required: true content: @@ -127957,19 +128343,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *88 - - *829 + - *830 responses: '200': description: Response content: application/scim+json: - schema: *833 + schema: *834 examples: - default: *836 + default: *837 '304': *36 - '404': *834 - '403': *835 - '400': *814 + '404': *835 + '403': *836 + '400': *815 '429': description: Response content: @@ -128065,12 +128451,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *88 - - *829 + - *830 responses: '204': description: Response - '404': *834 - '403': *835 + '404': *835 + '403': *836 '304': *36 x-github: githubCloudOnly: true @@ -128207,7 +128593,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &837 + text_matches: &838 title: Search Result Text Matches type: array items: @@ -128371,7 +128757,7 @@ paths: enum: - author-date - committer-date - - &838 + - &839 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 @@ -128491,7 +128877,7 @@ paths: type: number node_id: type: string - text_matches: *837 + text_matches: *838 required: - sha - node_id @@ -128684,7 +129070,7 @@ paths: - interactions - created - updated - - *838 + - *839 - *17 - *19 - name: advanced_search @@ -128798,8 +129184,8 @@ paths: type: - string - 'null' - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 issue_field_values: type: array items: *691 @@ -128830,7 +129216,7 @@ paths: - string - 'null' format: date-time - text_matches: *837 + text_matches: *838 pull_request: type: object properties: @@ -129106,7 +129492,7 @@ paths: enum: - created - updated - - *838 + - *839 - *17 - *19 responses: @@ -129151,7 +129537,7 @@ paths: - 'null' score: type: number - text_matches: *837 + text_matches: *838 required: - id - node_id @@ -129237,7 +129623,7 @@ paths: - forks - help-wanted-issues - updated - - *838 + - *839 - *17 - *19 responses: @@ -129483,7 +129869,7 @@ paths: - admin - pull - push - text_matches: *837 + text_matches: *838 temp_clone_token: type: string allow_merge_commit: @@ -129792,7 +130178,7 @@ paths: - string - 'null' format: uri - text_matches: *837 + text_matches: *838 related: type: - array @@ -129987,7 +130373,7 @@ paths: - followers - repositories - joined - - *838 + - *839 - *17 - *19 responses: @@ -130097,7 +130483,7 @@ paths: type: - boolean - 'null' - text_matches: *837 + text_matches: *838 blog: type: - string @@ -130179,7 +130565,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-legacy parameters: - - &841 + - &842 name: team_id description: The unique identifier of the team. in: path @@ -130220,7 +130606,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team-legacy parameters: - - *841 + - *842 requestBody: required: true content: @@ -130321,7 +130707,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team-legacy parameters: - - *841 + - *842 responses: '204': description: Response @@ -130350,7 +130736,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *841 + - *842 - *17 - *19 responses: @@ -130390,7 +130776,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members-legacy parameters: - - *841 + - *842 - name: role description: Filters members returned by their role in the team. in: query @@ -130411,9 +130797,9 @@ paths: application/json: schema: type: array - items: *842 + items: *843 examples: - default: *843 + default: *844 headers: Link: *46 '404': *6 @@ -130441,7 +130827,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - - *841 + - *842 - *131 responses: '204': @@ -130478,7 +130864,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - - *841 + - *842 - *131 responses: '204': @@ -130518,7 +130904,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - - *841 + - *842 - *131 responses: '204': @@ -130555,7 +130941,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *841 + - *842 - *131 responses: '200': @@ -130564,7 +130950,7 @@ paths: application/json: schema: *490 examples: - response-if-user-is-a-team-maintainer: *844 + response-if-user-is-a-team-maintainer: *845 '404': *6 x-github: githubCloudOnly: false @@ -130597,7 +130983,7 @@ 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: - - *841 + - *842 - *131 requestBody: required: false @@ -130625,7 +131011,7 @@ paths: application/json: schema: *490 examples: - response-if-users-membership-with-team-is-now-pending: *845 + response-if-users-membership-with-team-is-now-pending: *846 '403': description: Forbidden if team synchronization is set up '422': @@ -130659,7 +131045,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *841 + - *842 - *131 responses: '204': @@ -130687,7 +131073,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories-legacy parameters: - - *841 + - *842 - *17 - *19 responses: @@ -130729,7 +131115,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *841 + - *842 - *491 - *492 responses: @@ -130737,7 +131123,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *846 + schema: *847 examples: alternative-response-with-extra-repository-information: value: @@ -130888,7 +131274,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *841 + - *842 - *491 - *492 requestBody: @@ -130940,7 +131326,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *841 + - *842 - *491 - *492 responses: @@ -130971,7 +131357,7 @@ 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: - - *841 + - *842 responses: '200': description: Response @@ -131006,7 +131392,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: - - *841 + - *842 requestBody: required: true content: @@ -131098,7 +131484,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams-legacy parameters: - - *841 + - *842 - *17 - *19 responses: @@ -131110,7 +131496,7 @@ paths: type: array items: *317 examples: - response-if-child-teams-exist: *847 + response-if-child-teams-exist: *848 headers: Link: *46 '404': *6 @@ -131143,7 +131529,7 @@ paths: application/json: schema: oneOf: - - &849 + - &850 title: Private User description: Private User type: object @@ -131393,7 +131779,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *848 + - *849 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -131553,7 +131939,7 @@ paths: description: Response content: application/json: - schema: *849 + schema: *850 examples: default: value: @@ -131951,7 +132337,7 @@ paths: type: integer secrets: type: array - items: &850 + items: &851 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -132071,7 +132457,7 @@ paths: description: Response content: application/json: - schema: *850 + schema: *851 examples: default: value: @@ -132484,7 +132870,7 @@ paths: description: Response content: application/json: - schema: &851 + schema: &852 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -132537,7 +132923,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &852 + default: &853 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -132582,9 +132968,9 @@ paths: description: Response content: application/json: - schema: *851 + schema: *852 examples: - default: *852 + default: *853 '404': *6 x-github: githubCloudOnly: false @@ -132623,7 +133009,7 @@ paths: type: array items: *597 examples: - default: *853 + default: *854 '304': *36 '500': *39 '401': *23 @@ -133589,7 +133975,7 @@ paths: type: array items: *405 examples: - default: &865 + default: &866 value: - id: 197 name: hello_docker @@ -133690,7 +134076,7 @@ paths: application/json: schema: type: array - items: &854 + items: &855 title: Email description: Email type: object @@ -133760,9 +134146,9 @@ paths: application/json: schema: type: array - items: *854 + items: *855 examples: - default: &867 + default: &868 value: - email: octocat@github.com verified: true @@ -133839,7 +134225,7 @@ paths: application/json: schema: type: array - items: *854 + items: *855 examples: default: value: @@ -134097,7 +134483,7 @@ paths: application/json: schema: type: array - items: &855 + items: &856 title: GPG Key description: A unique encryption key type: object @@ -134242,7 +134628,7 @@ paths: - subkeys - revoked examples: - default: &884 + default: &885 value: - id: 3 name: Octocat's GPG Key @@ -134327,9 +134713,9 @@ paths: description: Response content: application/json: - schema: *855 + schema: *856 examples: - default: &856 + default: &857 value: id: 3 name: Octocat's GPG Key @@ -134386,7 +134772,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: - - &857 + - &858 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -134398,9 +134784,9 @@ paths: description: Response content: application/json: - schema: *855 + schema: *856 examples: - default: *856 + default: *857 '404': *6 '304': *36 '403': *27 @@ -134423,7 +134809,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: - - *857 + - *858 responses: '204': description: Response @@ -134890,7 +135276,7 @@ paths: application/json: schema: type: array - items: &858 + items: &859 title: Key description: Key type: object @@ -134993,9 +135379,9 @@ paths: description: Response content: application/json: - schema: *858 + schema: *859 examples: - default: &859 + default: &860 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -135034,9 +135420,9 @@ paths: description: Response content: application/json: - schema: *858 + schema: *859 examples: - default: *859 + default: *860 '404': *6 '304': *36 '403': *27 @@ -135092,7 +135478,7 @@ paths: application/json: schema: type: array - items: &860 + items: &861 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -135171,7 +135557,7 @@ paths: - account - plan examples: - default: &861 + default: &862 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -135233,9 +135619,9 @@ paths: application/json: schema: type: array - items: *860 + items: *861 examples: - default: *861 + default: *862 headers: Link: *46 '304': *36 @@ -135478,7 +135864,7 @@ paths: application/json: schema: *398 examples: - default: &862 + default: &863 value: url: https://api.github.com/orgs/octocat/memberships/defunkt state: active @@ -135527,7 +135913,7 @@ paths: application/json: schema: *398 examples: - default: *862 + default: *863 '403': *27 '404': *6 '422': *15 @@ -136261,7 +136647,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#unlock-a-user-repository parameters: - *401 - - *863 + - *864 responses: '204': description: Response @@ -136376,7 +136762,7 @@ paths: - docker - nuget - container - - *864 + - *865 - *19 - *17 responses: @@ -136388,8 +136774,8 @@ paths: type: array items: *405 examples: - default: *865 - '400': *866 + default: *866 + '400': *867 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -136418,7 +136804,7 @@ paths: application/json: schema: *405 examples: - default: &885 + default: &886 value: id: 40201 name: octo-name @@ -136780,9 +137166,9 @@ paths: application/json: schema: type: array - items: *854 + items: *855 examples: - default: *867 + default: *868 headers: Link: *46 '304': *36 @@ -136895,7 +137281,7 @@ paths: type: array items: *79 examples: - default: &874 + default: &875 summary: Default response value: - id: 1296269 @@ -137255,7 +137641,7 @@ paths: type: array items: *678 examples: - default: *868 + default: *869 headers: Link: *46 '304': *36 @@ -137334,7 +137720,7 @@ paths: application/json: schema: type: array - items: &869 + items: &870 title: Social account description: Social media account type: object @@ -137351,7 +137737,7 @@ paths: - provider - url examples: - default: &870 + default: &871 value: - provider: twitter url: https://twitter.com/github @@ -137414,9 +137800,9 @@ paths: application/json: schema: type: array - items: *869 + items: *870 examples: - default: *870 + default: *871 '422': *15 '304': *36 '404': *6 @@ -137504,7 +137890,7 @@ paths: application/json: schema: type: array - items: &871 + items: &872 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -137524,7 +137910,7 @@ paths: - title - created_at examples: - default: &899 + default: &900 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -137589,9 +137975,9 @@ paths: description: Response content: application/json: - schema: *871 + schema: *872 examples: - default: &872 + default: &873 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -137621,7 +138007,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: - - &873 + - &874 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -137633,9 +138019,9 @@ paths: description: Response content: application/json: - schema: *871 + schema: *872 examples: - default: *872 + default: *873 '404': *6 '304': *36 '403': *27 @@ -137658,7 +138044,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: - - *873 + - *874 responses: '204': description: Response @@ -137687,7 +138073,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: - - &900 + - &901 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 @@ -137712,11 +138098,11 @@ paths: type: array items: *79 examples: - default-response: *874 + default-response: *875 application/vnd.github.v3.star+json: schema: type: array - items: &901 + items: &902 title: Starred Repository description: Starred Repository type: object @@ -138085,10 +138471,10 @@ paths: application/json: schema: oneOf: + - *850 - *849 - - *848 examples: - default-response: &878 + default-response: &879 summary: Default response value: login: octocat @@ -138123,7 +138509,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &879 + response-with-git-hub-plan-information: &880 summary: Response with GitHub plan information value: login: octocat @@ -138180,7 +138566,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &876 + - &877 name: user_id description: The unique identifier of the user. in: path @@ -138246,7 +138632,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#list-users parameters: - - *875 + - *876 - *17 responses: '200': @@ -138281,7 +138667,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *876 + - *877 - *423 requestBody: required: true @@ -138356,7 +138742,7 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *877 + schema: *878 examples: table_view: summary: Response for creating a table view @@ -138408,11 +138794,11 @@ paths: application/json: schema: oneOf: + - *850 - *849 - - *848 examples: - default-response: *878 - response-with-git-hub-plan-information: *879 + default-response: *879 + response-with-git-hub-plan-information: *880 '404': *6 x-github: githubCloudOnly: false @@ -138462,8 +138848,8 @@ paths: required: - subject_digests examples: - default: *880 - withPredicateType: *881 + default: *881 + withPredicateType: *882 responses: '200': description: Response @@ -138517,7 +138903,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *882 + default: *883 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -139006,7 +139392,7 @@ paths: application/json: schema: *332 examples: - default: &883 + default: &884 summary: Example response for a user copilot space value: id: 42 @@ -139107,7 +139493,7 @@ paths: application/json: schema: *332 examples: - default: *883 + default: *884 '403': *27 '404': *6 x-github: @@ -139233,7 +139619,7 @@ paths: application/json: schema: *332 examples: - default: *883 + default: *884 '403': *27 '404': *6 '422': *15 @@ -140001,7 +140387,7 @@ paths: type: array items: *405 examples: - default: *865 + default: *866 '403': *27 '401': *23 x-github: @@ -140385,9 +140771,9 @@ paths: application/json: schema: type: array - items: *855 + items: *856 examples: - default: *884 + default: *885 headers: Link: *46 x-github: @@ -140616,7 +141002,7 @@ paths: - docker - nuget - container - - *864 + - *865 - *131 - *19 - *17 @@ -140629,10 +141015,10 @@ paths: type: array items: *405 examples: - default: *865 + default: *866 '403': *27 '401': *23 - '400': *866 + '400': *867 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -140662,7 +141048,7 @@ paths: application/json: schema: *405 examples: - default: *885 + default: *886 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -141011,7 +141397,7 @@ paths: type: array items: *426 examples: - default: *886 + default: *887 headers: Link: *46 '304': *36 @@ -141071,7 +141457,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *887 + items: *888 required: - name - data_type @@ -141087,7 +141473,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *888 + iteration_configuration: *889 required: - name - data_type @@ -141109,8 +141495,8 @@ paths: value: name: Due date data_type: date - single_select_field: *889 - iteration_field: *890 + single_select_field: *890 + iteration_field: *891 responses: '201': description: Response @@ -141118,11 +141504,11 @@ paths: application/json: schema: *426 examples: - text_field: *891 - number_field: *892 - date_field: *893 - single_select_field: *894 - iteration_field: *895 + text_field: *892 + number_field: *893 + date_field: *894 + single_select_field: *895 + iteration_field: *896 '304': *36 '403': *27 '401': *23 @@ -141144,7 +141530,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-user parameters: - *423 - - *896 + - *897 - *131 responses: '200': @@ -141153,7 +141539,7 @@ paths: application/json: schema: *426 examples: - default: *897 + default: *898 headers: Link: *46 '304': *36 @@ -141510,7 +141896,7 @@ paths: parameters: - *423 - *131 - - *898 + - *899 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -141789,9 +142175,9 @@ paths: application/json: schema: type: array - items: *869 + items: *870 examples: - default: *870 + default: *871 headers: Link: *46 x-github: @@ -141821,9 +142207,9 @@ paths: application/json: schema: type: array - items: *871 + items: *872 examples: - default: *899 + default: *900 headers: Link: *46 x-github: @@ -141848,7 +142234,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *131 - - *900 + - *901 - *111 - *17 - *19 @@ -141860,11 +142246,11 @@ paths: schema: anyOf: - type: array - items: *901 + items: *902 - type: array items: *79 examples: - default-response: *874 + default-response: *875 headers: Link: *46 x-github: @@ -142024,7 +142410,7 @@ webhooks: type: string enum: - disabled - enterprise: &902 + enterprise: &903 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -142093,7 +142479,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &903 + installation: &904 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -142114,7 +142500,7 @@ webhooks: required: - id - node_id - organization: &904 + organization: &905 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -142187,7 +142573,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &905 + repository: &906 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -143113,10 +143499,10 @@ webhooks: type: string enum: - enabled - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -143192,11 +143578,11 @@ webhooks: type: string enum: - created - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 - rule: &906 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 + rule: &907 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) @@ -143419,11 +143805,11 @@ webhooks: type: string enum: - deleted - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 - rule: *906 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 + rule: *907 sender: *4 required: - action @@ -143611,11 +143997,11 @@ webhooks: - everyone required: - from - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 - rule: *906 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 + rule: *907 sender: *4 required: - action @@ -143688,7 +144074,7 @@ webhooks: required: true content: application/json: - schema: &926 + schema: &927 title: Exemption request cancellation event type: object properties: @@ -143696,11 +144082,11 @@ webhooks: type: string enum: - cancelled - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 - exemption_request: &907 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 + exemption_request: &908 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -144009,7 +144395,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &908 + items: &909 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -144121,7 +144507,7 @@ webhooks: required: true content: application/json: - schema: &927 + schema: &928 title: Exemption request completed event type: object properties: @@ -144129,11 +144515,11 @@ webhooks: type: string enum: - completed - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 - exemption_request: *907 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 + exemption_request: *908 sender: *4 required: - action @@ -144205,7 +144591,7 @@ webhooks: required: true content: application/json: - schema: &924 + schema: &925 title: Exemption request created event type: object properties: @@ -144213,11 +144599,11 @@ webhooks: type: string enum: - created - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 - exemption_request: *907 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 + exemption_request: *908 sender: *4 required: - action @@ -144289,7 +144675,7 @@ webhooks: required: true content: application/json: - schema: &928 + schema: &929 title: Exemption response dismissed event type: object properties: @@ -144297,12 +144683,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 - exemption_request: *907 - exemption_response: *908 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 + exemption_request: *908 + exemption_response: *909 sender: *4 required: - action @@ -144376,7 +144762,7 @@ webhooks: required: true content: application/json: - schema: &925 + schema: &926 title: Exemption response submitted event type: object properties: @@ -144384,12 +144770,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 - exemption_request: *907 - exemption_response: *908 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 + exemption_request: *908 + exemption_response: *909 sender: *4 required: - action @@ -144473,7 +144859,7 @@ webhooks: type: string enum: - completed - check_run: &910 + check_run: &911 title: CheckRun description: A check performed on the code of a given code change type: object @@ -144583,7 +144969,7 @@ webhooks: - examples: - neutral - deployment: *909 + deployment: *910 details_url: type: string examples: @@ -144681,10 +145067,10 @@ webhooks: - output - app - pull_requests - installation: *903 - enterprise: *902 - organization: *904 - repository: *905 + installation: *904 + enterprise: *903 + organization: *905 + repository: *906 sender: *4 required: - check_run @@ -145075,11 +145461,11 @@ webhooks: type: string enum: - created - check_run: *910 - installation: *903 - enterprise: *902 - organization: *904 - repository: *905 + check_run: *911 + installation: *904 + enterprise: *903 + organization: *905 + repository: *906 sender: *4 required: - check_run @@ -145473,11 +145859,11 @@ webhooks: type: string enum: - requested_action - check_run: *910 - installation: *903 - enterprise: *902 - organization: *904 - repository: *905 + check_run: *911 + installation: *904 + enterprise: *903 + organization: *905 + repository: *906 requested_action: description: The action requested by the user. type: object @@ -145880,11 +146266,11 @@ webhooks: type: string enum: - rerequested - check_run: *910 - installation: *903 - enterprise: *902 - organization: *904 - repository: *905 + check_run: *911 + installation: *904 + enterprise: *903 + organization: *905 + repository: *906 sender: *4 required: - check_run @@ -146869,10 +147255,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -147586,10 +147972,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -148297,10 +148683,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -148621,20 +149007,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &911 + commit_oid: &912 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: *902 - installation: *903 - organization: *904 - ref: &912 + enterprise: *903 + installation: *904 + organization: *905 + ref: &913 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: *905 + repository: *906 sender: *4 required: - action @@ -149042,12 +149428,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *911 - enterprise: *902 - installation: *903 - organization: *904 - ref: *912 - repository: *905 + commit_oid: *912 + enterprise: *903 + installation: *904 + organization: *905 + ref: *913 + repository: *906 sender: *4 required: - action @@ -149330,12 +149716,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *911 - enterprise: *902 - installation: *903 - organization: *904 - ref: *912 - repository: *905 + commit_oid: *912 + enterprise: *903 + installation: *904 + organization: *905 + ref: *913 + repository: *906 sender: *4 required: - action @@ -149681,12 +150067,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *911 - enterprise: *902 - installation: *903 - organization: *904 - ref: *912 - repository: *905 + commit_oid: *912 + enterprise: *903 + installation: *904 + organization: *905 + ref: *913 + repository: *906 sender: *4 required: - action @@ -149976,9 +150362,9 @@ webhooks: type: - string - 'null' - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -149986,7 +150372,7 @@ webhooks: type: - string - 'null' - repository: *905 + repository: *906 sender: *4 required: - action @@ -150232,12 +150618,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *911 - enterprise: *902 - installation: *903 - organization: *904 - ref: *912 - repository: *905 + commit_oid: *912 + enterprise: *903 + installation: *904 + organization: *905 + ref: *913 + repository: *906 sender: *4 required: - action @@ -150558,10 +150944,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -150821,10 +151207,10 @@ webhooks: - updated_at - author_association - body - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -150905,18 +151291,18 @@ webhooks: type: - string - 'null' - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *904 - pusher_type: &913 + organization: *905 + pusher_type: &914 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &914 + ref: &915 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference) resource. type: string @@ -150926,7 +151312,7 @@ webhooks: enum: - tag - branch - repository: *905 + repository: *906 sender: *4 required: - ref @@ -151009,9 +151395,9 @@ webhooks: enum: - created definition: *157 - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 sender: *4 required: - action @@ -151096,9 +151482,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 sender: *4 required: - action @@ -151176,9 +151562,9 @@ webhooks: enum: - promote_to_enterprise definition: *157 - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 sender: *4 required: - action @@ -151256,9 +151642,9 @@ webhooks: enum: - updated definition: *157 - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 sender: *4 required: - action @@ -151335,10 +151721,10 @@ webhooks: type: string enum: - updated - enterprise: *902 - installation: *903 - repository: *905 - organization: *904 + enterprise: *903 + installation: *904 + repository: *906 + organization: *905 sender: *4 new_property_values: type: array @@ -151423,18 +151809,18 @@ webhooks: title: delete event type: object properties: - enterprise: *902 - installation: *903 - organization: *904 - pusher_type: *913 - ref: *914 + enterprise: *903 + installation: *904 + organization: *905 + pusher_type: *914 + ref: *915 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *905 + repository: *906 sender: *4 required: - ref @@ -151515,10 +151901,10 @@ webhooks: enum: - assignees_changed alert: *627 - installation: *903 - organization: *904 - enterprise: *902 - repository: *905 + installation: *904 + organization: *905 + enterprise: *903 + repository: *906 sender: *4 required: - action @@ -151599,10 +151985,10 @@ webhooks: enum: - auto_dismissed alert: *627 - installation: *903 - organization: *904 - enterprise: *902 - repository: *905 + installation: *904 + organization: *905 + enterprise: *903 + repository: *906 sender: *4 required: - action @@ -151684,10 +152070,10 @@ webhooks: enum: - auto_reopened alert: *627 - installation: *903 - organization: *904 - enterprise: *902 - repository: *905 + installation: *904 + organization: *905 + enterprise: *903 + repository: *906 sender: *4 required: - action @@ -151769,10 +152155,10 @@ webhooks: enum: - created alert: *627 - installation: *903 - organization: *904 - enterprise: *902 - repository: *905 + installation: *904 + organization: *905 + enterprise: *903 + repository: *906 sender: *4 required: - action @@ -151852,10 +152238,10 @@ webhooks: enum: - dismissed alert: *627 - installation: *903 - organization: *904 - enterprise: *902 - repository: *905 + installation: *904 + organization: *905 + enterprise: *903 + repository: *906 sender: *4 required: - action @@ -151935,10 +152321,10 @@ webhooks: enum: - fixed alert: *627 - installation: *903 - organization: *904 - enterprise: *902 - repository: *905 + installation: *904 + organization: *905 + enterprise: *903 + repository: *906 sender: *4 required: - action @@ -152019,10 +152405,10 @@ webhooks: enum: - reintroduced alert: *627 - installation: *903 - organization: *904 - enterprise: *902 - repository: *905 + installation: *904 + organization: *905 + enterprise: *903 + repository: *906 sender: *4 required: - action @@ -152102,10 +152488,10 @@ webhooks: enum: - reopened alert: *627 - installation: *903 - organization: *904 - enterprise: *902 - repository: *905 + installation: *904 + organization: *905 + enterprise: *903 + repository: *906 sender: *4 required: - action @@ -152182,9 +152568,9 @@ webhooks: type: string enum: - created - enterprise: *902 - installation: *903 - key: &915 + enterprise: *903 + installation: *904 + key: &916 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -152222,8 +152608,8 @@ webhooks: - verified - created_at - read_only - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -152300,11 +152686,11 @@ webhooks: type: string enum: - deleted - enterprise: *902 - installation: *903 - key: *915 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + key: *916 + organization: *905 + repository: *906 sender: *4 required: - action @@ -152871,12 +153257,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 - workflow: &919 + workflow: &920 title: Workflow type: - object @@ -153631,9 +154017,9 @@ webhooks: pull_requests: type: array items: *745 - repository: *905 - organization: *904 - installation: *903 + repository: *906 + organization: *905 + installation: *904 sender: *4 responses: '200': @@ -153704,7 +154090,7 @@ webhooks: type: string enum: - approved - approver: &916 + approver: &917 type: object properties: avatar_url: @@ -153747,11 +154133,11 @@ webhooks: type: string comment: type: string - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 - reviewers: &917 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 + reviewers: &918 type: array items: type: object @@ -153832,7 +154218,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &918 + workflow_job_run: &919 type: object properties: conclusion: @@ -154578,18 +154964,18 @@ webhooks: type: string enum: - rejected - approver: *916 + approver: *917 comment: type: string - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 - reviewers: *917 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 + reviewers: *918 sender: *4 since: type: string - workflow_job_run: *918 + workflow_job_run: *919 workflow_job_runs: type: array items: @@ -155306,13 +155692,13 @@ webhooks: type: string enum: - requested - enterprise: *902 + enterprise: *903 environment: type: string - installation: *903 - organization: *904 - repository: *905 - requestor: &929 + installation: *904 + organization: *905 + repository: *906 + requestor: &930 title: User type: - object @@ -157245,12 +157631,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 - workflow: *919 + workflow: *920 workflow_run: title: Deployment Workflow Run type: @@ -157941,7 +158327,7 @@ webhooks: type: string enum: - answered - answer: &922 + answer: &923 type: object properties: author_association: @@ -158101,11 +158487,11 @@ webhooks: - created_at - updated_at - body - discussion: *920 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + discussion: *921 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -158232,11 +158618,11 @@ webhooks: - from required: - category - discussion: *920 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + discussion: *921 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -158319,11 +158705,11 @@ webhooks: type: string enum: - closed - discussion: *920 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + discussion: *921 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -158405,7 +158791,7 @@ webhooks: type: string enum: - created - comment: &921 + comment: &922 type: object properties: author_association: @@ -158565,11 +158951,11 @@ webhooks: - updated_at - body - reactions - discussion: *920 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + discussion: *921 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -158652,12 +159038,12 @@ webhooks: type: string enum: - deleted - comment: *921 - discussion: *920 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + comment: *922 + discussion: *921 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -158752,12 +159138,12 @@ webhooks: - from required: - body - comment: *921 - discussion: *920 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + comment: *922 + discussion: *921 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -158841,11 +159227,11 @@ webhooks: type: string enum: - created - discussion: *920 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + discussion: *921 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -158927,11 +159313,11 @@ webhooks: type: string enum: - deleted - discussion: *920 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + discussion: *921 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -159031,11 +159417,11 @@ webhooks: type: string required: - from - discussion: *920 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + discussion: *921 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -159117,10 +159503,10 @@ webhooks: type: string enum: - labeled - discussion: *920 - enterprise: *902 - installation: *903 - label: &923 + discussion: *921 + enterprise: *903 + installation: *904 + label: &924 title: Label type: object properties: @@ -159153,8 +159539,8 @@ webhooks: - color - default - description - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -159237,11 +159623,11 @@ webhooks: type: string enum: - locked - discussion: *920 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + discussion: *921 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -159323,11 +159709,11 @@ webhooks: type: string enum: - pinned - discussion: *920 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + discussion: *921 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -159409,11 +159795,11 @@ webhooks: type: string enum: - reopened - discussion: *920 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + discussion: *921 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -159498,16 +159884,16 @@ webhooks: changes: type: object properties: - new_discussion: *920 - new_repository: *905 + new_discussion: *921 + new_repository: *906 required: - new_discussion - new_repository - discussion: *920 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + discussion: *921 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -159590,10 +159976,10 @@ webhooks: type: string enum: - unanswered - discussion: *920 - old_answer: *922 - organization: *904 - repository: *905 + discussion: *921 + old_answer: *923 + organization: *905 + repository: *906 sender: *4 required: - action @@ -159675,12 +160061,12 @@ webhooks: type: string enum: - unlabeled - discussion: *920 - enterprise: *902 - installation: *903 - label: *923 - organization: *904 - repository: *905 + discussion: *921 + enterprise: *903 + installation: *904 + label: *924 + organization: *905 + repository: *906 sender: *4 required: - action @@ -159763,11 +160149,11 @@ webhooks: type: string enum: - unlocked - discussion: *920 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + discussion: *921 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -159849,11 +160235,11 @@ webhooks: type: string enum: - unpinned - discussion: *920 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + discussion: *921 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -159922,7 +160308,7 @@ webhooks: required: true content: application/json: - schema: *924 + schema: *925 responses: '200': description: Return a 200 status to indicate that the data was received @@ -159985,7 +160371,7 @@ webhooks: required: true content: application/json: - schema: *925 + schema: *926 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160048,7 +160434,7 @@ webhooks: required: true content: application/json: - schema: *926 + schema: *927 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160111,7 +160497,7 @@ webhooks: required: true content: application/json: - schema: *924 + schema: *925 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160174,7 +160560,7 @@ webhooks: required: true content: application/json: - schema: *925 + schema: *926 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160240,7 +160626,7 @@ webhooks: required: true content: application/json: - schema: *926 + schema: *927 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160306,7 +160692,7 @@ webhooks: required: true content: application/json: - schema: *927 + schema: *928 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160372,7 +160758,7 @@ webhooks: required: true content: application/json: - schema: *924 + schema: *925 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160438,7 +160824,7 @@ webhooks: required: true content: application/json: - schema: *928 + schema: *929 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160504,7 +160890,7 @@ webhooks: required: true content: application/json: - schema: *925 + schema: *926 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160569,7 +160955,7 @@ webhooks: required: true content: application/json: - schema: *926 + schema: *927 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160634,7 +161020,7 @@ webhooks: required: true content: application/json: - schema: *927 + schema: *928 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160699,7 +161085,7 @@ webhooks: required: true content: application/json: - schema: *924 + schema: *925 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160764,7 +161150,7 @@ webhooks: required: true content: application/json: - schema: *928 + schema: *929 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160830,7 +161216,7 @@ webhooks: required: true content: application/json: - schema: *925 + schema: *926 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160897,7 +161283,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *902 + enterprise: *903 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository) resource. @@ -161575,9 +161961,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *903 - organization: *904 - repository: *905 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - forkee @@ -161723,9 +162109,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 pages: description: The pages that were updated. type: array @@ -161763,7 +162149,7 @@ webhooks: - action - sha - html_url - repository: *905 + repository: *906 sender: *4 required: - pages @@ -161839,10 +162225,10 @@ webhooks: type: string enum: - created - enterprise: *902 + enterprise: *903 installation: *20 - organization: *904 - repositories: &930 + organization: *905 + repositories: &931 description: An array of repository objects that the installation can access. type: array @@ -161868,8 +162254,8 @@ webhooks: - name - full_name - private - repository: *905 - requester: *929 + repository: *906 + requester: *930 sender: *4 required: - action @@ -161944,11 +162330,11 @@ webhooks: type: string enum: - deleted - enterprise: *902 + enterprise: *903 installation: *20 - organization: *904 - repositories: *930 - repository: *905 + organization: *905 + repositories: *931 + repository: *906 requester: type: - 'null' @@ -162025,11 +162411,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *902 + enterprise: *903 installation: *20 - organization: *904 - repositories: *930 - repository: *905 + organization: *905 + repositories: *931 + repository: *906 requester: type: - 'null' @@ -162106,10 +162492,10 @@ webhooks: type: string enum: - added - enterprise: *902 + enterprise: *903 installation: *20 - organization: *904 - repositories_added: &931 + organization: *905 + repositories_added: &932 description: An array of repository objects, which were added to the installation. type: array @@ -162155,15 +162541,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *905 - repository_selection: &932 + repository: *906 + repository_selection: &933 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *929 + requester: *930 sender: *4 required: - action @@ -162242,10 +162628,10 @@ webhooks: type: string enum: - removed - enterprise: *902 + enterprise: *903 installation: *20 - organization: *904 - repositories_added: *931 + organization: *905 + repositories_added: *932 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -162272,9 +162658,9 @@ webhooks: - name - full_name - private - repository: *905 - repository_selection: *932 - requester: *929 + repository: *906 + repository_selection: *933 + requester: *930 sender: *4 required: - action @@ -162353,11 +162739,11 @@ webhooks: type: string enum: - suspend - enterprise: *902 + enterprise: *903 installation: *20 - organization: *904 - repositories: *930 - repository: *905 + organization: *905 + repositories: *931 + repository: *906 requester: type: - 'null' @@ -162540,10 +162926,10 @@ webhooks: type: string required: - from - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 target_type: type: string @@ -162622,11 +163008,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *902 + enterprise: *903 installation: *20 - organization: *904 - repositories: *930 - repository: *905 + organization: *905 + repositories: *931 + repository: *906 requester: type: - 'null' @@ -162882,8 +163268,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -163695,8 +164081,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164057,8 +164443,8 @@ webhooks: - state - locked - assignee - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -164138,7 +164524,7 @@ webhooks: type: string enum: - deleted - comment: &933 + comment: &934 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment) itself. @@ -164313,8 +164699,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -165122,8 +165508,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165486,8 +165872,8 @@ webhooks: - state - locked - assignee - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -165567,7 +165953,7 @@ webhooks: type: string enum: - edited - changes: &957 + changes: &958 description: The changes to the comment. type: object properties: @@ -165579,9 +165965,9 @@ webhooks: type: string required: - from - comment: *933 - enterprise: *902 - installation: *903 + comment: *934 + enterprise: *903 + installation: *904 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -166392,8 +166778,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166754,8 +167140,8 @@ webhooks: - state - locked - assignee - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -166836,9 +167222,9 @@ webhooks: type: string enum: - pinned - comment: *933 - enterprise: *902 - installation: *903 + comment: *934 + enterprise: *903 + installation: *904 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -167651,8 +168037,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 state: description: State of the issue; either 'open' or 'closed' type: string @@ -168015,8 +168401,8 @@ webhooks: - state - locked - assignee - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -168096,9 +168482,9 @@ webhooks: type: string enum: - unpinned - comment: *933 - enterprise: *902 - installation: *903 + comment: *934 + enterprise: *903 + installation: *904 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -168911,8 +169297,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 state: description: State of the issue; either 'open' or 'closed' type: string @@ -169275,8 +169661,8 @@ webhooks: - state - locked - assignee - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -169365,9 +169751,9 @@ webhooks: type: number blocking_issue: *225 blocking_issue_repo: *79 - installation: *903 - organization: *904 - repository: *905 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -169456,9 +169842,9 @@ webhooks: type: number blocking_issue: *225 blocking_issue_repo: *79 - installation: *903 - organization: *904 - repository: *905 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -169546,9 +169932,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *225 - installation: *903 - organization: *904 - repository: *905 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -169637,9 +170023,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *225 - installation: *903 - organization: *904 - repository: *905 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -169719,10 +170105,10 @@ webhooks: type: string enum: - assigned - assignee: *929 - enterprise: *902 - installation: *903 - issue: &934 + assignee: *930 + enterprise: *903 + installation: *904 + issue: &935 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -170533,8 +170919,8 @@ webhooks: anyOf: - type: 'null' - *226 - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 issue_field_values: type: array items: *691 @@ -170657,8 +171043,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -170738,8 +171124,8 @@ webhooks: type: string enum: - closed - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -171555,8 +171941,8 @@ webhooks: anyOf: - type: 'null' - *226 - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 issue_field_values: type: array items: *691 @@ -171822,8 +172208,8 @@ webhooks: required: - state - closed_at - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -171902,8 +172288,8 @@ webhooks: type: string enum: - deleted - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -172710,8 +173096,8 @@ webhooks: anyOf: - type: 'null' - *226 - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 issue_field_values: type: array items: *691 @@ -172833,8 +173219,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -172913,8 +173299,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -173744,8 +174130,8 @@ webhooks: anyOf: - type: 'null' - *226 - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 issue_field_values: type: array items: *691 @@ -173846,7 +174232,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &935 + milestone: &936 title: Milestone description: A collection of related issues and pull requests. type: object @@ -173989,8 +174375,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -174089,8 +174475,8 @@ webhooks: type: string required: - from - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -174901,8 +175287,8 @@ webhooks: anyOf: - type: 'null' - *226 - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 issue_field_values: type: array items: *691 @@ -175025,9 +175411,9 @@ webhooks: - active_lock_reason - body - reactions - label: *923 - organization: *904 - repository: *905 + label: *924 + organization: *905 + repository: *906 sender: *4 required: - action @@ -175107,9 +175493,9 @@ webhooks: type: string enum: - field_added - enterprise: *902 - installation: *903 - issue: *934 + enterprise: *903 + installation: *904 + issue: *935 issue_field: type: object description: The issue field whose value was set or updated on the @@ -175275,8 +175661,8 @@ webhooks: - id required: - from - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -175356,9 +175742,9 @@ webhooks: type: string enum: - field_removed - enterprise: *902 - installation: *903 - issue: *934 + enterprise: *903 + installation: *904 + issue: *935 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -175445,8 +175831,8 @@ webhooks: - 'null' required: - id - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -175526,8 +175912,8 @@ webhooks: type: string enum: - labeled - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -176337,8 +176723,8 @@ webhooks: anyOf: - type: 'null' - *226 - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 issue_field_values: type: array items: *691 @@ -176461,9 +176847,9 @@ webhooks: - active_lock_reason - body - reactions - label: *923 - organization: *904 - repository: *905 + label: *924 + organization: *905 + repository: *906 sender: *4 required: - action @@ -176543,8 +176929,8 @@ webhooks: type: string enum: - locked - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -177379,8 +177765,8 @@ webhooks: anyOf: - type: 'null' - *226 - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 issue_field_values: type: array items: *691 @@ -177480,8 +177866,8 @@ webhooks: format: uri user_view_type: type: string - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -177560,8 +177946,8 @@ webhooks: type: string enum: - milestoned - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -178390,8 +178776,8 @@ webhooks: anyOf: - type: 'null' - *226 - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 issue_field_values: type: array items: *691 @@ -178491,9 +178877,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *935 - organization: *904 - repository: *905 + milestone: *936 + organization: *905 + repository: *906 sender: *4 required: - action @@ -179380,8 +179766,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 issue_field_values: type: array items: *691 @@ -179976,8 +180362,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -180784,8 +181170,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 issue_field_values: type: array items: *691 @@ -180911,8 +181297,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -180992,9 +181378,9 @@ webhooks: type: string enum: - pinned - enterprise: *902 - installation: *903 - issue: &936 + enterprise: *903 + installation: *904 + issue: &937 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -181799,8 +182185,8 @@ webhooks: anyOf: - type: 'null' - *226 - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 issue_field_values: type: array items: *691 @@ -181922,8 +182308,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -182002,8 +182388,8 @@ webhooks: type: string enum: - reopened - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -182836,8 +183222,8 @@ webhooks: anyOf: - type: 'null' - *226 - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 issue_field_values: type: array items: *691 @@ -182938,8 +183324,8 @@ webhooks: user_view_type: type: string type: *390 - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -183827,8 +184213,8 @@ webhooks: anyOf: - type: 'null' - *226 - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 issue_field_values: type: array items: *691 @@ -184441,11 +184827,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *902 - installation: *903 - issue: *936 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + issue: *937 + organization: *905 + repository: *906 sender: *4 required: - action @@ -184525,12 +184911,12 @@ webhooks: type: string enum: - typed - enterprise: *902 - installation: *903 - issue: *934 + enterprise: *903 + installation: *904 + issue: *935 type: *390 - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -184611,7 +184997,7 @@ webhooks: type: string enum: - unassigned - assignee: &960 + assignee: &961 title: User type: - object @@ -184683,11 +185069,11 @@ webhooks: required: - login - id - enterprise: *902 - installation: *903 - issue: *934 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + issue: *935 + organization: *905 + repository: *906 sender: *4 required: - action @@ -184766,12 +185152,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *902 - installation: *903 - issue: *934 - label: *923 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + issue: *935 + label: *924 + organization: *905 + repository: *906 sender: *4 required: - action @@ -184851,8 +185237,8 @@ webhooks: type: string enum: - unlocked - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -185685,8 +186071,8 @@ webhooks: anyOf: - type: 'null' - *226 - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 issue_field_values: type: array items: *691 @@ -185786,8 +186172,8 @@ webhooks: format: uri user_view_type: type: string - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -185867,11 +186253,11 @@ webhooks: type: string enum: - unpinned - enterprise: *902 - installation: *903 - issue: *936 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + issue: *937 + organization: *905 + repository: *906 sender: *4 required: - action @@ -185950,12 +186336,12 @@ webhooks: type: string enum: - untyped - enterprise: *902 - installation: *903 - issue: *934 + enterprise: *903 + installation: *904 + issue: *935 type: *390 - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -186035,11 +186421,11 @@ webhooks: type: string enum: - created - enterprise: *902 - installation: *903 - label: *923 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + label: *924 + organization: *905 + repository: *906 sender: *4 required: - action @@ -186117,11 +186503,11 @@ webhooks: type: string enum: - deleted - enterprise: *902 - installation: *903 - label: *923 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + label: *924 + organization: *905 + repository: *906 sender: *4 required: - action @@ -186231,11 +186617,11 @@ webhooks: type: string required: - from - enterprise: *902 - installation: *903 - label: *923 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + label: *924 + organization: *905 + repository: *906 sender: *4 required: - action @@ -186317,9 +186703,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *902 - installation: *903 - marketplace_purchase: &937 + enterprise: *903 + installation: *904 + marketplace_purchase: &938 title: Marketplace Purchase type: object required: @@ -186407,8 +186793,8 @@ webhooks: type: integer unit_count: type: integer - organization: *904 - previous_marketplace_purchase: &938 + organization: *905 + previous_marketplace_purchase: &939 title: Marketplace Purchase type: object properties: @@ -186492,7 +186878,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *905 + repository: *906 sender: *4 required: - action @@ -186572,10 +186958,10 @@ webhooks: - changed effective_date: type: string - enterprise: *902 - installation: *903 - marketplace_purchase: *937 - organization: *904 + enterprise: *903 + installation: *904 + marketplace_purchase: *938 + organization: *905 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -186663,7 +187049,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *905 + repository: *906 sender: *4 required: - action @@ -186745,10 +187131,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *902 - installation: *903 - marketplace_purchase: *937 - organization: *904 + enterprise: *903 + installation: *904 + marketplace_purchase: *938 + organization: *905 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -186834,7 +187220,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *905 + repository: *906 sender: *4 required: - action @@ -186915,8 +187301,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 marketplace_purchase: title: Marketplace Purchase type: object @@ -187002,9 +187388,9 @@ webhooks: type: integer unit_count: type: integer - organization: *904 - previous_marketplace_purchase: *938 - repository: *905 + organization: *905 + previous_marketplace_purchase: *939 + repository: *906 sender: *4 required: - action @@ -187084,12 +187470,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *902 - installation: *903 - marketplace_purchase: *937 - organization: *904 - previous_marketplace_purchase: *938 - repository: *905 + enterprise: *903 + installation: *904 + marketplace_purchase: *938 + organization: *905 + previous_marketplace_purchase: *939 + repository: *906 sender: *4 required: - action @@ -187191,11 +187577,11 @@ webhooks: type: string required: - to - enterprise: *902 - installation: *903 - member: *929 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + member: *930 + organization: *905 + repository: *906 sender: *4 required: - action @@ -187297,11 +187683,11 @@ webhooks: type: - string - 'null' - enterprise: *902 - installation: *903 - member: *929 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + member: *930 + organization: *905 + repository: *906 sender: *4 required: - action @@ -187380,11 +187766,11 @@ webhooks: type: string enum: - removed - enterprise: *902 - installation: *903 - member: *929 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + member: *930 + organization: *905 + repository: *906 sender: *4 required: - action @@ -187462,11 +187848,11 @@ webhooks: type: string enum: - added - enterprise: *902 - installation: *903 - member: *929 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + member: *930 + organization: *905 + repository: *906 scope: description: The scope of the membership. Currently, can only be `team`. @@ -187544,7 +187930,7 @@ webhooks: required: - login - id - team: &939 + team: &940 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -187774,11 +188160,11 @@ webhooks: type: string enum: - removed - enterprise: *902 - installation: *903 - member: *929 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + member: *930 + organization: *905 + repository: *906 scope: description: The scope of the membership. Currently, can only be `team`. @@ -187857,7 +188243,7 @@ webhooks: required: - login - id - team: *939 + team: *940 required: - action - scope @@ -187939,8 +188325,8 @@ webhooks: type: string enum: - checks_requested - installation: *903 - merge_group: &940 + installation: *904 + merge_group: &941 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -187966,8 +188352,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -188053,10 +188439,10 @@ webhooks: - merged - invalidated - dequeued - installation: *903 - merge_group: *940 - organization: *904 - repository: *905 + installation: *904 + merge_group: *941 + organization: *905 + repository: *906 sender: *4 required: - action @@ -188129,7 +188515,7 @@ webhooks: type: string enum: - deleted - enterprise: *902 + enterprise: *903 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -188238,12 +188624,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *903 - organization: *904 + installation: *904 + organization: *905 repository: anyOf: - type: 'null' - - *905 + - *906 sender: *4 required: - action @@ -188323,11 +188709,11 @@ webhooks: type: string enum: - closed - enterprise: *902 - installation: *903 - milestone: *935 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + milestone: *936 + organization: *905 + repository: *906 sender: *4 required: - action @@ -188406,9 +188792,9 @@ webhooks: type: string enum: - created - enterprise: *902 - installation: *903 - milestone: &941 + enterprise: *903 + installation: *904 + milestone: &942 title: Milestone description: A collection of related issues and pull requests. type: object @@ -188550,8 +188936,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -188630,11 +189016,11 @@ webhooks: type: string enum: - deleted - enterprise: *902 - installation: *903 - milestone: *935 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + milestone: *936 + organization: *905 + repository: *906 sender: *4 required: - action @@ -188744,11 +189130,11 @@ webhooks: type: string required: - from - enterprise: *902 - installation: *903 - milestone: *935 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + milestone: *936 + organization: *905 + repository: *906 sender: *4 required: - action @@ -188828,11 +189214,11 @@ webhooks: type: string enum: - opened - enterprise: *902 - installation: *903 - milestone: *941 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + milestone: *942 + organization: *905 + repository: *906 sender: *4 required: - action @@ -188911,11 +189297,11 @@ webhooks: type: string enum: - blocked - blocked_user: *929 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + blocked_user: *930 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -188994,11 +189380,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *929 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + blocked_user: *930 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -189074,7 +189460,7 @@ webhooks: enum: - created definition: *152 - enterprise: *902 + enterprise: *903 sender: *4 required: - action @@ -189154,8 +189540,8 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 sender: *4 required: - action @@ -189228,8 +189614,8 @@ webhooks: enum: - updated definition: *152 - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 sender: *4 required: - action @@ -189301,9 +189687,9 @@ webhooks: type: string enum: - updated - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 sender: *4 new_property_values: type: array @@ -189391,9 +189777,9 @@ webhooks: type: string enum: - deleted - enterprise: *902 - installation: *903 - membership: &942 + enterprise: *903 + installation: *904 + membership: &943 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -189503,8 +189889,8 @@ webhooks: - role - organization_url - user - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -189582,11 +189968,11 @@ webhooks: type: string enum: - member_added - enterprise: *902 - installation: *903 - membership: *942 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + membership: *943 + organization: *905 + repository: *906 sender: *4 required: - action @@ -189665,8 +190051,8 @@ webhooks: type: string enum: - member_invited - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -189788,10 +190174,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 - user: *929 + user: *930 required: - action - invitation @@ -189869,11 +190255,11 @@ webhooks: type: string enum: - member_removed - enterprise: *902 - installation: *903 - membership: *942 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + membership: *943 + organization: *905 + repository: *906 sender: *4 required: - action @@ -189960,11 +190346,11 @@ webhooks: properties: from: type: string - enterprise: *902 - installation: *903 - membership: *942 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + membership: *943 + organization: *905 + repository: *906 sender: *4 required: - action @@ -190042,9 +190428,9 @@ webhooks: type: string enum: - published - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 package: description: Information about the package. type: object @@ -190567,7 +190953,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &943 + items: &944 title: Ruby Gems metadata type: object properties: @@ -190664,7 +191050,7 @@ webhooks: - owner - package_version - registry - repository: *905 + repository: *906 sender: *4 required: - action @@ -190741,9 +191127,9 @@ webhooks: type: string enum: - updated - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 package: description: Information about the package. type: object @@ -191105,7 +191491,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *943 + items: *944 source_url: type: string format: uri @@ -191176,7 +191562,7 @@ webhooks: - owner - package_version - registry - repository: *905 + repository: *906 sender: *4 required: - action @@ -191356,12 +191742,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *902 + enterprise: *903 id: type: integer - installation: *903 - organization: *904 - repository: *905 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - id @@ -191438,7 +191824,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &944 + personal_access_token_request: &945 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -191588,10 +191974,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *902 - organization: *904 + enterprise: *903 + organization: *905 sender: *4 - installation: *903 + installation: *904 required: - action - personal_access_token_request @@ -191668,11 +192054,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *944 - enterprise: *902 - organization: *904 + personal_access_token_request: *945 + enterprise: *903 + organization: *905 sender: *4 - installation: *903 + installation: *904 required: - action - personal_access_token_request @@ -191748,11 +192134,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *944 - enterprise: *902 - organization: *904 + personal_access_token_request: *945 + enterprise: *903 + organization: *905 sender: *4 - installation: *903 + installation: *904 required: - action - personal_access_token_request @@ -191827,11 +192213,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *944 - organization: *904 - enterprise: *902 + personal_access_token_request: *945 + organization: *905 + enterprise: *903 sender: *4 - installation: *903 + installation: *904 required: - action - personal_access_token_request @@ -191936,7 +192322,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *945 + last_response: *946 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -191968,8 +192354,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 zen: description: Random string of GitHub zen. @@ -192214,10 +192600,10 @@ webhooks: - from required: - note - enterprise: *902 - installation: *903 - organization: *904 - project_card: &946 + enterprise: *903 + installation: *904 + organization: *905 + project_card: &947 title: Project Card type: object properties: @@ -192340,7 +192726,7 @@ webhooks: - creator - created_at - updated_at - repository: *905 + repository: *906 sender: *4 required: - action @@ -192421,11 +192807,11 @@ webhooks: type: string enum: - created - enterprise: *902 - installation: *903 - organization: *904 - project_card: *946 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + project_card: *947 + repository: *906 sender: *4 required: - action @@ -192505,9 +192891,9 @@ webhooks: type: string enum: - deleted - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 project_card: title: Project Card type: object @@ -192637,7 +193023,7 @@ webhooks: repository: anyOf: - type: 'null' - - *905 + - *906 sender: *4 required: - action @@ -192731,11 +193117,11 @@ webhooks: - from required: - note - enterprise: *902 - installation: *903 - organization: *904 - project_card: *946 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + project_card: *947 + repository: *906 sender: *4 required: - action @@ -192829,9 +193215,9 @@ webhooks: - from required: - column_id - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 project_card: allOf: - title: Project Card @@ -193028,7 +193414,7 @@ webhooks: type: string required: - after_id - repository: *905 + repository: *906 sender: *4 required: - action @@ -193108,10 +193494,10 @@ webhooks: type: string enum: - closed - enterprise: *902 - installation: *903 - organization: *904 - project: &948 + enterprise: *903 + installation: *904 + organization: *905 + project: &949 title: Project type: object properties: @@ -193238,7 +193624,7 @@ webhooks: - creator - created_at - updated_at - repository: *905 + repository: *906 sender: *4 required: - action @@ -193318,10 +193704,10 @@ webhooks: type: string enum: - created - enterprise: *902 - installation: *903 - organization: *904 - project_column: &947 + enterprise: *903 + installation: *904 + organization: *905 + project_column: &948 title: Project Column type: object properties: @@ -193361,7 +193747,7 @@ webhooks: - name - created_at - updated_at - repository: *905 + repository: *906 sender: *4 required: - action @@ -193440,14 +193826,14 @@ webhooks: type: string enum: - deleted - enterprise: *902 - installation: *903 - organization: *904 - project_column: *947 + enterprise: *903 + installation: *904 + organization: *905 + project_column: *948 repository: anyOf: - type: 'null' - - *905 + - *906 sender: *4 required: - action @@ -193536,11 +193922,11 @@ webhooks: type: string required: - from - enterprise: *902 - installation: *903 - organization: *904 - project_column: *947 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + project_column: *948 + repository: *906 sender: *4 required: - action @@ -193620,11 +194006,11 @@ webhooks: type: string enum: - moved - enterprise: *902 - installation: *903 - organization: *904 - project_column: *947 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + project_column: *948 + repository: *906 sender: *4 required: - action @@ -193704,11 +194090,11 @@ webhooks: type: string enum: - created - enterprise: *902 - installation: *903 - organization: *904 - project: *948 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + project: *949 + repository: *906 sender: *4 required: - action @@ -193788,14 +194174,14 @@ webhooks: type: string enum: - deleted - enterprise: *902 - installation: *903 - organization: *904 - project: *948 + enterprise: *903 + installation: *904 + organization: *905 + project: *949 repository: anyOf: - type: 'null' - - *905 + - *906 sender: *4 required: - action @@ -193896,11 +194282,11 @@ webhooks: type: string required: - from - enterprise: *902 - installation: *903 - organization: *904 - project: *948 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + project: *949 + repository: *906 sender: *4 required: - action @@ -193979,11 +194365,11 @@ webhooks: type: string enum: - reopened - enterprise: *902 - installation: *903 - organization: *904 - project: *948 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + project: *949 + repository: *906 sender: *4 required: - action @@ -194064,8 +194450,8 @@ webhooks: type: string enum: - closed - installation: *903 - organization: *904 + installation: *904 + organization: *905 projects_v2: *421 sender: *4 required: @@ -194147,8 +194533,8 @@ webhooks: type: string enum: - created - installation: *903 - organization: *904 + installation: *904 + organization: *905 projects_v2: *421 sender: *4 required: @@ -194230,8 +194616,8 @@ webhooks: type: string enum: - deleted - installation: *903 - organization: *904 + installation: *904 + organization: *905 projects_v2: *421 sender: *4 required: @@ -194353,8 +194739,8 @@ webhooks: type: string to: type: string - installation: *903 - organization: *904 + installation: *904 + organization: *905 projects_v2: *421 sender: *4 required: @@ -194438,7 +194824,7 @@ webhooks: type: string enum: - archived - changes: &952 + changes: &953 type: object properties: archived_at: @@ -194454,9 +194840,9 @@ webhooks: - string - 'null' format: date-time - installation: *903 - organization: *904 - projects_v2_item: &949 + installation: *904 + organization: *905 + projects_v2_item: &950 title: Projects v2 Item description: An item belonging to a project type: object @@ -194596,9 +194982,9 @@ webhooks: - 'null' to: type: string - installation: *903 - organization: *904 - projects_v2_item: *949 + installation: *904 + organization: *905 + projects_v2_item: *950 sender: *4 required: - action @@ -194680,9 +195066,9 @@ webhooks: type: string enum: - created - installation: *903 - organization: *904 - projects_v2_item: *949 + installation: *904 + organization: *905 + projects_v2_item: *950 sender: *4 required: - action @@ -194763,9 +195149,9 @@ webhooks: type: string enum: - deleted - installation: *903 - organization: *904 - projects_v2_item: *949 + installation: *904 + organization: *905 + projects_v2_item: *950 sender: *4 required: - action @@ -194870,7 +195256,7 @@ webhooks: oneOf: - type: string - type: integer - - &950 + - &951 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -194894,7 +195280,7 @@ webhooks: required: - id - name - - &951 + - &952 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -194934,8 +195320,8 @@ webhooks: oneOf: - type: string - type: integer - - *950 - *951 + - *952 type: - 'null' - string @@ -194958,9 +195344,9 @@ webhooks: - 'null' required: - body - installation: *903 - organization: *904 - projects_v2_item: *949 + installation: *904 + organization: *905 + projects_v2_item: *950 sender: *4 required: - action @@ -195057,9 +195443,9 @@ webhooks: type: - string - 'null' - installation: *903 - organization: *904 - projects_v2_item: *949 + installation: *904 + organization: *905 + projects_v2_item: *950 sender: *4 required: - action @@ -195142,10 +195528,10 @@ webhooks: type: string enum: - restored - changes: *952 - installation: *903 - organization: *904 - projects_v2_item: *949 + changes: *953 + installation: *904 + organization: *905 + projects_v2_item: *950 sender: *4 required: - action @@ -195227,8 +195613,8 @@ webhooks: type: string enum: - reopened - installation: *903 - organization: *904 + installation: *904 + organization: *905 projects_v2: *421 sender: *4 required: @@ -195310,9 +195696,9 @@ webhooks: type: string enum: - created - installation: *903 - organization: *904 - projects_v2_status_update: *953 + installation: *904 + organization: *905 + projects_v2_status_update: *954 sender: *4 required: - action @@ -195393,9 +195779,9 @@ webhooks: type: string enum: - deleted - installation: *903 - organization: *904 - projects_v2_status_update: *953 + installation: *904 + organization: *905 + projects_v2_status_update: *954 sender: *4 required: - action @@ -195541,9 +195927,9 @@ webhooks: - string - 'null' format: date - installation: *903 - organization: *904 - projects_v2_status_update: *953 + installation: *904 + organization: *905 + projects_v2_status_update: *954 sender: *4 required: - action @@ -195614,10 +196000,10 @@ webhooks: title: public event type: object properties: - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - repository @@ -195694,13 +196080,13 @@ webhooks: type: string enum: - assigned - assignee: *929 - enterprise: *902 - installation: *903 - number: &954 + assignee: *930 + enterprise: *903 + installation: *904 + number: &955 description: The pull request number. type: integer - organization: *904 + organization: *905 pull_request: title: Pull Request type: object @@ -198072,7 +198458,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *905 + repository: *906 sender: *4 required: - action @@ -198154,11 +198540,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 number: type: integer - organization: *904 + organization: *905 pull_request: title: Pull Request type: object @@ -200523,7 +200909,7 @@ webhooks: - draft reason: type: string - repository: *905 + repository: *906 sender: *4 required: - action @@ -200605,11 +200991,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 number: type: integer - organization: *904 + organization: *905 pull_request: title: Pull Request type: object @@ -202974,7 +203360,7 @@ webhooks: - draft reason: type: string - repository: *905 + repository: *906 sender: *4 required: - action @@ -203056,11 +203442,11 @@ webhooks: type: string enum: - closed - enterprise: *902 - installation: *903 - number: *954 - organization: *904 - pull_request: &955 + enterprise: *903 + installation: *904 + number: *955 + organization: *905 + pull_request: &956 allOf: - *745 - type: object @@ -203124,7 +203510,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *905 + repository: *906 sender: *4 required: - action @@ -203205,12 +203591,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *902 - installation: *903 - number: *954 - organization: *904 - pull_request: *955 - repository: *905 + enterprise: *903 + installation: *904 + number: *955 + organization: *905 + pull_request: *956 + repository: *906 sender: *4 required: - action @@ -203290,11 +203676,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *902 + enterprise: *903 milestone: *424 - number: *954 - organization: *904 - pull_request: &956 + number: *955 + organization: *905 + pull_request: &957 title: Pull Request type: object properties: @@ -205644,7 +206030,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *905 + repository: *906 sender: *4 required: - action @@ -205723,11 +206109,11 @@ webhooks: type: string enum: - dequeued - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 number: type: integer - organization: *904 + organization: *905 pull_request: title: Pull Request type: object @@ -208096,7 +208482,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *905 + repository: *906 sender: *4 required: - action @@ -208220,12 +208606,12 @@ webhooks: type: string required: - from - enterprise: *902 - installation: *903 - number: *954 - organization: *904 - pull_request: *955 - repository: *905 + enterprise: *903 + installation: *904 + number: *955 + organization: *905 + pull_request: *956 + repository: *906 sender: *4 required: - action @@ -208305,11 +208691,11 @@ webhooks: type: string enum: - enqueued - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 number: type: integer - organization: *904 + organization: *905 pull_request: title: Pull Request type: object @@ -210663,7 +211049,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *905 + repository: *906 sender: *4 required: - action @@ -210743,11 +211129,11 @@ webhooks: type: string enum: - labeled - enterprise: *902 - installation: *903 - label: *923 - number: *954 - organization: *904 + enterprise: *903 + installation: *904 + label: *924 + number: *955 + organization: *905 pull_request: title: Pull Request type: object @@ -213118,7 +213504,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *905 + repository: *906 sender: *4 required: - action @@ -213199,10 +213585,10 @@ webhooks: type: string enum: - locked - enterprise: *902 - installation: *903 - number: *954 - organization: *904 + enterprise: *903 + installation: *904 + number: *955 + organization: *905 pull_request: title: Pull Request type: object @@ -215571,7 +215957,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *905 + repository: *906 sender: *4 required: - action @@ -215651,12 +216037,12 @@ webhooks: type: string enum: - milestoned - enterprise: *902 + enterprise: *903 milestone: *424 - number: *954 - organization: *904 - pull_request: *956 - repository: *905 + number: *955 + organization: *905 + pull_request: *957 + repository: *906 sender: *4 required: - action @@ -215735,12 +216121,12 @@ webhooks: type: string enum: - opened - enterprise: *902 - installation: *903 - number: *954 - organization: *904 - pull_request: *955 - repository: *905 + enterprise: *903 + installation: *904 + number: *955 + organization: *905 + pull_request: *956 + repository: *906 sender: *4 required: - action @@ -215821,12 +216207,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *902 - installation: *903 - number: *954 - organization: *904 - pull_request: *955 - repository: *905 + enterprise: *903 + installation: *904 + number: *955 + organization: *905 + pull_request: *956 + repository: *906 sender: *4 required: - action @@ -215906,12 +216292,12 @@ webhooks: type: string enum: - reopened - enterprise: *902 - installation: *903 - number: *954 - organization: *904 - pull_request: *955 - repository: *905 + enterprise: *903 + installation: *904 + number: *955 + organization: *905 + pull_request: *956 + repository: *906 sender: *4 required: - action @@ -216286,9 +216672,9 @@ webhooks: - start_side - side - reactions - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 pull_request: type: object properties: @@ -218541,7 +218927,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *905 + repository: *906 sender: *4 required: - action @@ -218621,7 +219007,7 @@ webhooks: type: string enum: - deleted - comment: &958 + comment: &959 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. @@ -218914,9 +219300,9 @@ webhooks: - start_side - side - reactions - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 pull_request: type: object properties: @@ -221157,7 +221543,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *905 + repository: *906 sender: *4 required: - action @@ -221237,11 +221623,11 @@ webhooks: type: string enum: - edited - changes: *957 - comment: *958 - enterprise: *902 - installation: *903 - organization: *904 + changes: *958 + comment: *959 + enterprise: *903 + installation: *904 + organization: *905 pull_request: type: object properties: @@ -223485,7 +223871,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *905 + repository: *906 sender: *4 required: - action @@ -223566,9 +223952,9 @@ webhooks: type: string enum: - dismissed - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 pull_request: title: Simple Pull Request type: object @@ -225824,7 +226210,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *905 + repository: *906 review: description: The review that was affected. type: object @@ -226075,9 +226461,9 @@ webhooks: type: string required: - from - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 pull_request: title: Simple Pull Request type: object @@ -228191,8 +228577,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *905 - review: &959 + repository: *906 + review: &960 description: The review that was affected. type: object properties: @@ -228430,12 +228816,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 number: description: The pull request number. type: integer - organization: *904 + organization: *905 pull_request: title: Pull Request type: object @@ -230805,7 +231191,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *905 + repository: *906 requested_reviewer: title: User type: @@ -230891,12 +231277,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 number: description: The pull request number. type: integer - organization: *904 + organization: *905 pull_request: title: Pull Request type: object @@ -233273,7 +233659,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *905 + repository: *906 requested_team: title: Team description: Groups of organization members that gives permissions @@ -233468,12 +233854,12 @@ webhooks: type: string enum: - review_requested - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 number: description: The pull request number. type: integer - organization: *904 + organization: *905 pull_request: title: Pull Request type: object @@ -235845,7 +236231,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *905 + repository: *906 requested_reviewer: title: User type: @@ -235932,12 +236318,12 @@ webhooks: type: string enum: - review_requested - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 number: description: The pull request number. type: integer - organization: *904 + organization: *905 pull_request: title: Pull Request type: object @@ -238300,7 +238686,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *905 + repository: *906 requested_team: title: Team description: Groups of organization members that gives permissions @@ -238484,9 +238870,9 @@ webhooks: type: string enum: - submitted - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 pull_request: title: Simple Pull Request type: object @@ -240745,8 +241131,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *905 - review: *959 + repository: *906 + review: *960 sender: *4 required: - action @@ -240826,9 +241212,9 @@ webhooks: type: string enum: - resolved - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 pull_request: title: Simple Pull Request type: object @@ -242982,7 +243368,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *905 + repository: *906 sender: *4 thread: type: object @@ -243379,9 +243765,9 @@ webhooks: type: string enum: - unresolved - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 pull_request: title: Simple Pull Request type: object @@ -245518,7 +245904,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *905 + repository: *906 sender: *4 thread: type: object @@ -245911,11 +246297,11 @@ webhooks: type: string enum: - stacked - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 stack: *742 - number: *954 - organization: *904 + number: *955 + organization: *905 pull_request: title: Pull Request type: object @@ -248286,7 +248672,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *905 + repository: *906 sender: *4 required: - action @@ -248372,10 +248758,10 @@ webhooks: type: string before: type: string - enterprise: *902 - installation: *903 - number: *954 - organization: *904 + enterprise: *903 + installation: *904 + number: *955 + organization: *905 pull_request: title: Pull Request type: object @@ -250733,7 +251119,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *905 + repository: *906 sender: *4 required: - action @@ -250815,11 +251201,11 @@ webhooks: type: string enum: - unassigned - assignee: *960 - enterprise: *902 - installation: *903 - number: *954 - organization: *904 + assignee: *961 + enterprise: *903 + installation: *904 + number: *955 + organization: *905 pull_request: title: Pull Request type: object @@ -253192,7 +253578,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *905 + repository: *906 sender: *4 required: - action @@ -253271,11 +253657,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *902 - installation: *903 - label: *923 - number: *954 - organization: *904 + enterprise: *903 + installation: *904 + label: *924 + number: *955 + organization: *905 pull_request: title: Pull Request type: object @@ -255637,7 +256023,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *905 + repository: *906 sender: *4 required: - action @@ -255718,10 +256104,10 @@ webhooks: type: string enum: - unlocked - enterprise: *902 - installation: *903 - number: *954 - organization: *904 + enterprise: *903 + installation: *904 + number: *955 + organization: *905 pull_request: title: Pull Request type: object @@ -258073,7 +258459,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *905 + repository: *906 sender: *4 required: - action @@ -258276,7 +258662,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *902 + enterprise: *903 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -258371,8 +258757,8 @@ webhooks: - url - author - committer - installation: *903 - organization: *904 + installation: *904 + organization: *905 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -258971,9 +259357,9 @@ webhooks: type: string enum: - published - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 registry_package: type: object properties: @@ -259450,7 +259836,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *943 + items: *944 summary: type: string tag_name: @@ -259506,7 +259892,7 @@ webhooks: - owner - package_version - registry - repository: *905 + repository: *906 sender: *4 required: - action @@ -259584,9 +259970,9 @@ webhooks: type: string enum: - updated - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 registry_package: type: object properties: @@ -259898,7 +260284,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *943 + items: *944 summary: type: string tag_name: @@ -259948,7 +260334,7 @@ webhooks: - owner - package_version - registry - repository: *905 + repository: *906 sender: *4 required: - action @@ -260025,10 +260411,10 @@ webhooks: type: string enum: - created - enterprise: *902 - installation: *903 - organization: *904 - release: &961 + enterprise: *903 + installation: *904 + organization: *905 + release: &962 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -260359,7 +260745,7 @@ webhooks: - updated_at - zipball_url - body - repository: *905 + repository: *906 sender: *4 required: - action @@ -260436,11 +260822,11 @@ webhooks: type: string enum: - deleted - enterprise: *902 - installation: *903 - organization: *904 - release: *961 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + release: *962 + repository: *906 sender: *4 required: - action @@ -260557,11 +260943,11 @@ webhooks: type: boolean required: - to - enterprise: *902 - installation: *903 - organization: *904 - release: *961 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + release: *962 + repository: *906 sender: *4 required: - action @@ -260639,9 +261025,9 @@ webhooks: type: string enum: - prereleased - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) @@ -260977,7 +261363,7 @@ webhooks: - string - 'null' format: uri - repository: *905 + repository: *906 sender: *4 required: - action @@ -261053,10 +261439,10 @@ webhooks: type: string enum: - published - enterprise: *902 - installation: *903 - organization: *904 - release: &962 + enterprise: *903 + installation: *904 + organization: *905 + release: &963 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -261389,7 +261775,7 @@ webhooks: - string - 'null' format: uri - repository: *905 + repository: *906 sender: *4 required: - action @@ -261465,11 +261851,11 @@ webhooks: type: string enum: - released - enterprise: *902 - installation: *903 - organization: *904 - release: *961 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + release: *962 + repository: *906 sender: *4 required: - action @@ -261545,11 +261931,11 @@ webhooks: type: string enum: - unpublished - enterprise: *902 - installation: *903 - organization: *904 - release: *962 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + release: *963 + repository: *906 sender: *4 required: - action @@ -261625,11 +262011,11 @@ webhooks: type: string enum: - published - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 - repository_advisory: *799 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 + repository_advisory: *800 sender: *4 required: - action @@ -261705,11 +262091,11 @@ webhooks: type: string enum: - reported - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 - repository_advisory: *799 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 + repository_advisory: *800 sender: *4 required: - action @@ -261785,10 +262171,10 @@ webhooks: type: string enum: - archived - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -261865,10 +262251,10 @@ webhooks: type: string enum: - created - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -261946,10 +262332,10 @@ webhooks: type: string enum: - deleted - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -262034,10 +262420,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -262152,10 +262538,10 @@ webhooks: - 'null' items: type: string - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -262227,10 +262613,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 status: type: string @@ -262311,10 +262697,10 @@ webhooks: type: string enum: - privatized - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -262391,10 +262777,10 @@ webhooks: type: string enum: - publicized - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -262488,10 +262874,10 @@ webhooks: - name required: - repository - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -262571,10 +262957,10 @@ webhooks: type: string enum: - created - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 repository_ruleset: *191 sender: *4 required: @@ -262653,10 +263039,10 @@ webhooks: type: string enum: - deleted - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 repository_ruleset: *191 sender: *4 required: @@ -262735,10 +263121,10 @@ webhooks: type: string enum: - edited - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 repository_ruleset: *191 changes: type: object @@ -262800,16 +263186,16 @@ webhooks: properties: added: type: array - items: *766 + items: *767 deleted: type: array - items: *766 + items: *767 updated: type: array items: type: object properties: - rule: *766 + rule: *767 changes: type: object properties: @@ -263046,10 +263432,10 @@ webhooks: - from required: - owner - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -263127,10 +263513,10 @@ webhooks: type: string enum: - unarchived - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -263208,7 +263594,7 @@ webhooks: type: string enum: - create - alert: &963 + alert: &964 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -263333,10 +263719,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -263546,10 +263932,10 @@ webhooks: type: string enum: - dismissed - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -263627,11 +264013,11 @@ webhooks: type: string enum: - reopen - alert: *963 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + alert: *964 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -263833,10 +264219,10 @@ webhooks: enum: - fixed - open - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -263914,7 +264300,7 @@ webhooks: type: string enum: - assigned - alert: &965 + alert: &966 type: object properties: number: *132 @@ -264061,12 +264447,12 @@ webhooks: anyOf: - type: 'null' - *4 - metadata: *964 + metadata: *965 assignee: *4 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -264144,11 +264530,11 @@ webhooks: type: string enum: - created - alert: *965 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + alert: *966 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -264229,11 +264615,11 @@ webhooks: type: string enum: - created - alert: *965 - installation: *903 - location: *966 - organization: *904 - repository: *905 + alert: *966 + installation: *904 + location: *967 + organization: *905 + repository: *906 sender: *4 required: - location @@ -264471,11 +264857,11 @@ webhooks: type: string enum: - metadata_created - alert: *965 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + alert: *966 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -264552,11 +264938,11 @@ webhooks: type: string enum: - metadata_removed - alert: *965 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + alert: *966 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -264633,11 +265019,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *965 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + alert: *966 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -264715,11 +265101,11 @@ webhooks: type: string enum: - reopened - alert: *965 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + alert: *966 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -264797,11 +265183,11 @@ webhooks: type: string enum: - resolved - alert: *965 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + alert: *966 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -264879,12 +265265,12 @@ webhooks: type: string enum: - unassigned - alert: *965 + alert: *966 assignee: *4 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -264962,11 +265348,11 @@ webhooks: type: string enum: - validated - alert: *965 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + alert: *966 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -265096,10 +265482,10 @@ webhooks: - organization - enterprise - - repository: *905 - enterprise: *902 - installation: *903 - organization: *904 + repository: *906 + enterprise: *903 + installation: *904 + organization: *905 sender: *4 required: - action @@ -265177,11 +265563,11 @@ webhooks: type: string enum: - published - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 - security_advisory: &967 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 + security_advisory: &968 description: The details of the security advisory, including summary, description, and severity. type: object @@ -265367,11 +265753,11 @@ webhooks: type: string enum: - updated - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 - security_advisory: *967 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 + security_advisory: *968 sender: *4 required: - action @@ -265444,10 +265830,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -265634,9 +266020,9 @@ webhooks: type: object properties: security_and_analysis: *435 - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 repository: *496 sender: *4 required: @@ -265715,12 +266101,12 @@ webhooks: type: string enum: - cancelled - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 - sponsorship: &968 + sponsorship: &969 type: object properties: created_at: @@ -266025,12 +266411,12 @@ webhooks: type: string enum: - created - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 - sponsorship: *968 + sponsorship: *969 required: - action - sponsorship @@ -266118,12 +266504,12 @@ webhooks: type: string required: - from - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 - sponsorship: *968 + sponsorship: *969 required: - action - changes @@ -266200,17 +266586,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &969 + effective_date: &970 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: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 - sponsorship: *968 + sponsorship: *969 required: - action - sponsorship @@ -266284,7 +266670,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &970 + changes: &971 type: object properties: tier: @@ -266328,13 +266714,13 @@ webhooks: - from required: - tier - effective_date: *969 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + effective_date: *970 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 - sponsorship: *968 + sponsorship: *969 required: - action - changes @@ -266411,13 +266797,13 @@ webhooks: type: string enum: - tier_changed - changes: *970 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + changes: *971 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 - sponsorship: *968 + sponsorship: *969 required: - action - changes @@ -266491,10 +266877,10 @@ webhooks: type: string enum: - created - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -266578,10 +266964,10 @@ webhooks: type: string enum: - deleted - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -267015,15 +267401,15 @@ webhooks: type: - string - 'null' - enterprise: *902 + enterprise: *903 id: description: The unique identifier of the status. type: integer - installation: *903 + installation: *904 name: type: string - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 sha: description: The Commit SHA. @@ -267139,9 +267525,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *225 - installation: *903 - organization: *904 - repository: *905 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -267230,9 +267616,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *225 - installation: *903 - organization: *904 - repository: *905 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -267321,9 +267707,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *225 - installation: *903 - organization: *904 - repository: *905 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -267412,9 +267798,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *225 - installation: *903 - organization: *904 - repository: *905 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -267490,12 +267876,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 - team: &971 + team: &972 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -267725,9 +268111,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 repository: title: Repository description: A git repository @@ -268197,7 +268583,7 @@ webhooks: - topics - visibility sender: *4 - team: *971 + team: *972 required: - action - team @@ -268273,9 +268659,9 @@ webhooks: type: string enum: - created - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 repository: title: Repository description: A git repository @@ -268745,7 +269131,7 @@ webhooks: - topics - visibility sender: *4 - team: *971 + team: *972 required: - action - team @@ -268822,9 +269208,9 @@ webhooks: type: string enum: - deleted - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 repository: title: Repository description: A git repository @@ -269294,7 +269680,7 @@ webhooks: - topics - visibility sender: *4 - team: *971 + team: *972 required: - action - team @@ -269438,9 +269824,9 @@ webhooks: - from required: - permissions - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 repository: title: Repository description: A git repository @@ -269910,7 +270296,7 @@ webhooks: - topics - visibility sender: *4 - team: *971 + team: *972 required: - action - changes @@ -269988,9 +270374,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 repository: title: Repository description: A git repository @@ -270460,7 +270846,7 @@ webhooks: - topics - visibility sender: *4 - team: *971 + team: *972 required: - action - team @@ -270536,10 +270922,10 @@ webhooks: type: string enum: - started - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -270612,17 +270998,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *902 + enterprise: *903 inputs: type: - object - 'null' additionalProperties: true - installation: *903 - organization: *904 + installation: *904 + organization: *905 ref: type: string - repository: *905 + repository: *906 sender: *4 workflow: type: string @@ -270704,10 +271090,10 @@ webhooks: type: string enum: - completed - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 workflow_job: allOf: @@ -271042,10 +271428,10 @@ webhooks: type: string enum: - in_progress - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 workflow_job: allOf: @@ -271406,10 +271792,10 @@ webhooks: type: string enum: - queued - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 workflow_job: type: object @@ -271634,10 +272020,10 @@ webhooks: type: string enum: - waiting - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 workflow_job: type: object @@ -271864,12 +272250,12 @@ webhooks: type: string enum: - completed - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 - workflow: *919 + workflow: *920 workflow_run: title: Workflow Run type: object @@ -272888,12 +273274,12 @@ webhooks: type: string enum: - in_progress - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 - workflow: *919 + workflow: *920 workflow_run: title: Workflow Run type: object @@ -273897,12 +274283,12 @@ webhooks: type: string enum: - requested - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 - workflow: *919 + workflow: *920 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json index 2a6417b888..e9332b03de 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json @@ -123424,7 +123424,7 @@ "/meta": { "get": { "summary": "Get GitHub Enterprise Cloud meta information", - "description": "Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://docs.github.com/enterprise-cloud@latest/articles/about-github-s-ip-addresses/).\"\n\nThe API's response also includes a list of GitHub's domain names.\n\nThe values shown in the documentation's response are example values. You must always query the API directly to get the latest values.\n\n> [!NOTE]\n> This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported.", + "description": "Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://docs.github.com/enterprise-cloud@latest/articles/about-github-s-ip-addresses/).\"\n\nThe API's response also includes a list of GitHub's domain names, and the public keys used by GitHub to sign commits made through the web UI.\n\nThe values shown in the documentation's response are example values. You must always query the API directly to get the latest values.\n\n> [!NOTE]\n> This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported.", "tags": [ "meta" ], @@ -229316,6 +229316,261 @@ } } }, + "/orgs/{org}/interaction-limits/pulls/creation-cap": { + "patch": { + "summary": "Update pull request creation cap for an org", + "description": "Updates the pull request creation cap for an organization. The cap limits the total number\nof open pull requests a user can have across all public repositories in the organization\nat one time.\n\nOnly users with admin access to the organization can configure the cap.", + "tags": [ + "interactions" + ], + "operationId": "interactions/update-pull-request-creation-cap-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/interactions/orgs#update-pull-request-creation-cap-for-an-org" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether the pull request creation cap is enabled" + }, + "max_open_pull_requests": { + "type": "integer", + "description": "The maximum number of open pull requests a user can have at one time", + "minimum": 1, + "maximum": 1000 + } + }, + "required": [ + "enabled" + ] + }, + "examples": { + "default": { + "summary": "Example request body", + "value": { + "enabled": true, + "max_open_pull_requests": 1 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether the pull request creation cap is enabled" + }, + "max_open_pull_requests": { + "type": "integer", + "description": "The maximum number of open pull requests a user can have at one time", + "minimum": 1, + "maximum": 1000 + } + }, + "required": [ + "enabled", + "max_open_pull_requests" + ] + }, + "examples": { + "default": { + "summary": "Response", + "value": { + "enabled": true, + "max_open_pull_requests": 1 + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "405": { + "description": "Method Not Allowed", + "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" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "orgs" + } + } + }, "/orgs/{org}/invitations": { "get": { "summary": "List pending organization invitations", @@ -563176,7 +563431,7 @@ "properties": { "suggestions": { "type": "object", - "description": "Pending suggestions for each suggestible field (`type`,\n`issue_field_values`, `labels`, `assignees`, `state`) the\nrequest touched. Omitted for fields not in the request or\nwith no pending suggestions. Items tagged `already_applied`\nare echoes of the current request's inputs whose target is\nalready applied to the issue; they are not persisted as\npending suggestions.\n", + "description": "Pending suggestions for each suggestible field (`type`,\n`issue_field_values`, `labels`, `assignees`, `state`) the\nrequest touched. Omitted for fields not in the request or\nwith no pending or ignored suggestions. Items tagged\n`ignored` are echoes of the current request's inputs that\nwere not persisted as pending suggestions.\n", "properties": { "type": { "type": "array", @@ -563200,8 +563455,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -563244,8 +563506,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -563272,8 +563541,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -563300,8 +563576,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -563334,8 +563617,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -712147,6 +712437,972 @@ } } }, + "/repos/{owner}/{repo}/pulls/{pull_number}/merge-async": { + "put": { + "summary": "Merge a pull request asynchronously", + "description": "Merges a pull request into the base branch in the background. Merging in this way allows certain types of errors to be retried, and avoids the risk of timeouts for particularly complex merges.\n\nThis is the required method for merging stacked PRs, but also supports unstacked PRs. When using this endpoint to merge a stacked pull request, all pull requests in the stack up to and including the requested PR will be merged into the base branch.\n\nThe response includes a UUID that can be used to fetch the result of the merge. If another asynchronous merge request has already been made for this pull request, the UUID of that request will be returned instead with a 409 response status to indicate that the merge options may be different from those that were requested. If there isn't an existing asynchronous merge request, a 202 response status is used.\n\nIf the pull request is already merged, the merge commit OID will be returned immediately with a 200 status.\n\nIf the pull request cannot be merged (e.g. because it is closed, or still a draft) this result will be returned immediately with a 400 response status. Branch protection rules and repository rules are not run at this stage, only basic pull request state checks are performed.", + "tags": [ + "pulls" + ], + "operationId": "pulls/merge-async", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#merge-a-pull-request-asynchronously" + }, + "x-github": { + "triggersNotification": true, + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "pulls", + "subcategory": "pulls" + }, + "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": "pull_number", + "description": "The number that identifies the pull request.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": [ + "object", + "null" + ], + "properties": { + "commit_title": { + "type": "string", + "description": "Title for the automatic commit message." + }, + "commit_message": { + "type": "string", + "description": "Extra detail to append to automatic commit message." + }, + "sha": { + "type": "string", + "description": "SHA that pull request head must match to allow merge. If not provided, the current head of the PR at the time of the request will be used; if the PR is pushed in between the merge being requested and being executed, the merge will be cancelled." + }, + "merge_method": { + "type": "string", + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "description": "The action that will be taken to merge the pull request. `direct_merge` merges the pull request directly without using a merge queue; `merge_queue` adds the pull request to a merge queue; `default` selects the most appropriate option.", + "enum": [ + "default", + "direct_merge", + "merge_queue" + ] + } + } + }, + "examples": { + "default": { + "value": { + "commit_title": "Fix race condition", + "commit_message": "Avoids a race by trying to read the file and handling the exception if it does not exist.", + "sha": "6358cd125586d9def8c3e5943f23506202da81cc", + "merge_method": "squash", + "merge_action": "default" + } + } + } + } + } + }, + "responses": { + "202": { + "description": "if the merge request was accepted and will run in the background", + "content": { + "application/json": { + "schema": { + "title": "Pull Request Merge Async Result", + "description": "Pull Request Merge Async Result", + "type": "object", + "additionalProperties": false, + "properties": { + "status": { + "type": "string", + "enum": [ + "pending", + "merged", + "enqueued", + "failed" + ] + }, + "details": { + "oneOf": [ + { + "description": "When an asynchronous merge request was created or already existed", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "merge_method": { + "type": "string", + "enum": [ + "default", + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "enum": [ + "default", + "merge_queue", + "direct_merge" + ] + }, + "expected_head_sha": { + "type": "string", + "description": "SHA that the pull request head must match for the enqueued merge to proceed." + } + }, + "required": [ + "message", + "uuid", + "merge_method", + "merge_action", + "expected_head_sha" + ] + }, + { + "description": "When the pull request cannot be merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ] + }, + { + "description": "When the pull request is already merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "message", + "sha" + ] + } + ] + } + }, + "required": [ + "status", + "details" + ] + }, + "examples": { + "response-if-merge-request-was-accepted": { + "summary": "Request accepted", + "value": { + "status": "pending", + "details": { + "message": "Merge request enqueued.", + "uuid": "630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42", + "merge_method": "merge", + "merge_action": "default", + "expected_head_sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + } + } + } + } + }, + "200": { + "description": "if the pull request was already merged, or is already in a merge queue", + "content": { + "application/json": { + "schema": { + "title": "Pull Request Merge Async Result", + "description": "Pull Request Merge Async Result", + "type": "object", + "additionalProperties": false, + "properties": { + "status": { + "type": "string", + "enum": [ + "pending", + "merged", + "enqueued", + "failed" + ] + }, + "details": { + "oneOf": [ + { + "description": "When an asynchronous merge request was created or already existed", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "merge_method": { + "type": "string", + "enum": [ + "default", + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "enum": [ + "default", + "merge_queue", + "direct_merge" + ] + }, + "expected_head_sha": { + "type": "string", + "description": "SHA that the pull request head must match for the enqueued merge to proceed." + } + }, + "required": [ + "message", + "uuid", + "merge_method", + "merge_action", + "expected_head_sha" + ] + }, + { + "description": "When the pull request cannot be merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ] + }, + { + "description": "When the pull request is already merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "message", + "sha" + ] + } + ] + } + }, + "required": [ + "status", + "details" + ] + }, + "examples": { + "response-if-pull-request-was-already-merged": { + "summary": "Already merged", + "value": { + "status": "merged", + "details": { + "message": "Pull request is already merged.", + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + }, + "response-if-pull-request-is-already-enqueued": { + "summary": "Already enqueued", + "value": { + "status": "enqueued", + "details": { + "message": "Pull request is already in the merge queue." + } + } + } + } + } + } + }, + "409": { + "description": "if there is an existing merge request already enqueued for this pull request", + "content": { + "application/json": { + "schema": { + "title": "Pull Request Merge Async Result", + "description": "Pull Request Merge Async Result", + "type": "object", + "additionalProperties": false, + "properties": { + "status": { + "type": "string", + "enum": [ + "pending", + "merged", + "enqueued", + "failed" + ] + }, + "details": { + "oneOf": [ + { + "description": "When an asynchronous merge request was created or already existed", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "merge_method": { + "type": "string", + "enum": [ + "default", + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "enum": [ + "default", + "merge_queue", + "direct_merge" + ] + }, + "expected_head_sha": { + "type": "string", + "description": "SHA that the pull request head must match for the enqueued merge to proceed." + } + }, + "required": [ + "message", + "uuid", + "merge_method", + "merge_action", + "expected_head_sha" + ] + }, + { + "description": "When the pull request cannot be merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ] + }, + { + "description": "When the pull request is already merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "message", + "sha" + ] + } + ] + } + }, + "required": [ + "status", + "details" + ] + }, + "examples": { + "response-if-a-merge-request-already-exists": { + "value": { + "status": "pending", + "details": { + "message": "A merge request already exists for this pull request.", + "uuid": "630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42", + "merge_method": "squash", + "merge_action": "default", + "expected_head_sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + } + } + } + } + }, + "400": { + "description": "if the pull request is not ready to be merged, e.g. because it is closed", + "content": { + "application/json": { + "schema": { + "title": "Pull Request Merge Async Result", + "description": "Pull Request Merge Async Result", + "type": "object", + "additionalProperties": false, + "properties": { + "status": { + "type": "string", + "enum": [ + "pending", + "merged", + "enqueued", + "failed" + ] + }, + "details": { + "oneOf": [ + { + "description": "When an asynchronous merge request was created or already existed", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "merge_method": { + "type": "string", + "enum": [ + "default", + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "enum": [ + "default", + "merge_queue", + "direct_merge" + ] + }, + "expected_head_sha": { + "type": "string", + "description": "SHA that the pull request head must match for the enqueued merge to proceed." + } + }, + "required": [ + "message", + "uuid", + "merge_method", + "merge_action", + "expected_head_sha" + ] + }, + { + "description": "When the pull request cannot be merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ] + }, + { + "description": "When the pull request is already merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "message", + "sha" + ] + } + ] + } + }, + "required": [ + "status", + "details" + ] + }, + "examples": { + "response-if-pull-request-is-not-ready-to-be-merged": { + "value": { + "status": "failed", + "details": { + "message": "Pull request is closed." + } + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + } + } + }, + "/repos/{owner}/{repo}/pulls/{pull_number}/merge-async/{uuid}": { + "get": { + "summary": "Get the result of an asynchronous merge", + "description": "Fetches the current result of an asynchronous merge request, identified by the UUID that was returned when the merge was requested.\n\nWhile the merge is still queued, the response includes the UUID, merge method, and expected head SHA of the request. Once the merge has completed, the response reports whether it was merged, including the merge commit OID on success or a message describing why it could not be merged on failure.\n\nThe result of an asynchronous merge request is retained for 24 hours after its most recent update. After this window the request expires and this endpoint returns a `404` response for its UUID.", + "tags": [ + "pulls" + ], + "operationId": "pulls/get-merge-async-result", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#get-the-result-of-an-asynchronous-merge" + }, + "x-github": { + "triggersNotification": false, + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "pulls", + "subcategory": "pulls" + }, + "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": "pull_number", + "description": "The number that identifies the pull request.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "uuid", + "description": "The UUID of the asynchronous merge request, as returned when the merge was requested.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "the current result of the asynchronous merge request", + "content": { + "application/json": { + "schema": { + "title": "Pull Request Merge Async Result", + "description": "Pull Request Merge Async Result", + "type": "object", + "additionalProperties": false, + "properties": { + "status": { + "type": "string", + "enum": [ + "pending", + "merged", + "enqueued", + "failed" + ] + }, + "details": { + "oneOf": [ + { + "description": "When an asynchronous merge request was created or already existed", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "merge_method": { + "type": "string", + "enum": [ + "default", + "merge", + "squash", + "rebase" + ] + }, + "merge_action": { + "type": "string", + "enum": [ + "default", + "merge_queue", + "direct_merge" + ] + }, + "expected_head_sha": { + "type": "string", + "description": "SHA that the pull request head must match for the enqueued merge to proceed." + } + }, + "required": [ + "message", + "uuid", + "merge_method", + "merge_action", + "expected_head_sha" + ] + }, + { + "description": "When the pull request cannot be merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ] + }, + { + "description": "When the pull request is already merged", + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "message", + "sha" + ] + } + ] + } + }, + "required": [ + "status", + "details" + ] + }, + "examples": { + "response-if-the-merge-is-still-queued": { + "summary": "Still queued", + "value": { + "status": "pending", + "details": { + "message": "Merge request is in progress.", + "uuid": "630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42", + "merge_method": "merge", + "merge_action": "default", + "expected_head_sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + }, + "response-if-the-pull-request-is-enqueued": { + "summary": "Enqueued in the merge queue", + "value": { + "status": "enqueued", + "details": { + "message": "Pull request is in the merge queue." + } + } + }, + "response-if-the-merge-succeeded": { + "summary": "Merge succeeded", + "value": { + "status": "merged", + "details": { + "message": "Pull request was merged.", + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + }, + "response-if-the-merge-failed": { + "summary": "Merge failed", + "value": { + "status": "failed", + "details": { + "message": "Merge conflict: the pull request could not be merged." + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + } + } + }, "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": { "get": { "summary": "Get all requested reviewers for a pull request", diff --git a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml index cc03288400..d81f743f7f 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml @@ -1056,7 +1056,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: - - &801 + - &802 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -4467,7 +4467,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &811 + schema: &812 title: Scim Error description: Scim Error type: object @@ -12152,7 +12152,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &812 + '401': &813 description: Authorization failure '404': *6 x-github: @@ -26356,7 +26356,7 @@ paths: - object rules: type: array - items: &766 + items: &767 title: Repository Rule type: object description: A repository rule. @@ -26365,7 +26365,7 @@ paths: - *171 - *172 - *173 - - &763 + - &764 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -26456,7 +26456,7 @@ paths: - *184 - *185 - *186 - - &764 + - &765 title: license_compliance_scanning description: Enforce any added or changed dependencies to comply with the organization's license policy. @@ -27004,14 +27004,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &779 + state: &780 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: &780 + resolution: &781 type: - string - 'null' @@ -27130,14 +27130,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &781 + - &782 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &783 + - &784 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -27201,7 +27201,7 @@ paths: - blob_url - commit_sha - commit_url - - &784 + - &785 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -27262,7 +27262,7 @@ paths: - page_url - commit_sha - commit_url - - &785 + - &786 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -27284,7 +27284,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &786 + - &787 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -27306,7 +27306,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &787 + - &788 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -27328,7 +27328,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &788 + - &789 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -27343,7 +27343,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &789 + - &790 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -27358,7 +27358,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &790 + - &791 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -27373,7 +27373,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &791 + - &792 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -27395,7 +27395,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &792 + - &793 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -27417,7 +27417,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &793 + - &794 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -27439,7 +27439,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &794 + - &795 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -27461,7 +27461,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &795 + - &796 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -32448,7 +32448,7 @@ paths: properties: action: type: string - discussion: &920 + discussion: &921 title: Discussion description: A Discussion in a repository. type: object @@ -33235,7 +33235,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &839 + sub_issues_summary: &840 title: Sub-issues Summary type: object properties: @@ -33365,7 +33365,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &840 + issue_dependencies_summary: &841 title: Issue Dependencies Summary type: object properties: @@ -34200,7 +34200,7 @@ paths: type: string release: allOf: - - &756 + - &757 title: Release description: A release. type: object @@ -34282,7 +34282,7 @@ paths: author: *4 assets: type: array - items: &757 + items: &758 title: Release Asset description: Data related to a release. type: object @@ -37751,7 +37751,7 @@ paths: description: |- Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see "[About GitHub's IP addresses](https://docs.github.com/enterprise-cloud@latest/articles/about-github-s-ip-addresses/)." - The API's response also includes a list of GitHub's domain names. + The API's response also includes a list of GitHub's domain names, and the public keys used by GitHub to sign commits made through the web UI. The values shown in the documentation's response are example values. You must always query the API directly to get the latest values. @@ -46664,12 +46664,12 @@ paths: required: - subject_digests examples: - default: &880 + default: &881 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &881 + withPredicateType: &882 value: subject_digests: - sha256:abc123 @@ -46714,7 +46714,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &882 + default: &883 value: attestations_subject_digests: - sha256:abc: @@ -57222,6 +57222,86 @@ paths: enabledForGitHubApps: true category: interactions subcategory: orgs + "/orgs/{org}/interaction-limits/pulls/creation-cap": + patch: + summary: Update pull request creation cap for an org + description: |- + Updates the pull request creation cap for an organization. The cap limits the total number + of open pull requests a user can have across all public repositories in the organization + at one time. + + Only users with admin access to the organization can configure the cap. + tags: + - interactions + operationId: interactions/update-pull-request-creation-cap-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/orgs#update-pull-request-creation-cap-for-an-org + parameters: + - *88 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enabled: + type: boolean + description: Whether the pull request creation cap is enabled + max_open_pull_requests: + type: integer + description: The maximum number of open pull requests a user can + have at one time + minimum: 1 + maximum: 1000 + required: + - enabled + examples: + default: + summary: Example request body + value: + enabled: true + max_open_pull_requests: 1 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + enabled: + type: boolean + description: Whether the pull request creation cap is enabled + max_open_pull_requests: + type: integer + description: The maximum number of open pull requests a user can + have at one time + minimum: 1 + maximum: 1000 + required: + - enabled + - max_open_pull_requests + examples: + default: + summary: Response + value: + enabled: true + max_open_pull_requests: 1 + '403': *27 + '404': *6 + '405': + description: Method Not Allowed + content: + application/json: + schema: *3 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: orgs "/orgs/{org}/invitations": get: summary: List pending organization invitations @@ -59782,7 +59862,7 @@ paths: parameters: - *88 - *401 - - &862 + - &863 name: repo_name description: repo_name parameter in: path @@ -61017,7 +61097,7 @@ paths: - nuget - container - *88 - - &863 + - &864 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -61058,7 +61138,7 @@ paths: default: *406 '403': *27 '401': *23 - '400': &865 + '400': &866 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -63300,7 +63380,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &953 + - &954 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -64226,7 +64306,7 @@ paths: - updated_at - project_url examples: - default: &886 + default: &887 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -64403,7 +64483,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &887 + items: &888 type: object properties: name: @@ -64440,7 +64520,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &888 + iteration_configuration: &889 type: object description: The configuration for iteration fields. properties: @@ -64490,7 +64570,7 @@ paths: value: name: Due date data_type: date - single_select_field: &889 + single_select_field: &890 summary: Create a single select field value: name: Priority @@ -64517,7 +64597,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &890 + iteration_field: &891 summary: Create an iteration field value: name: Sprint @@ -64543,7 +64623,7 @@ paths: application/json: schema: *426 examples: - text_field: &891 + text_field: &892 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -64552,7 +64632,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &892 + number_field: &893 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -64561,7 +64641,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &893 + date_field: &894 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -64570,7 +64650,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &894 + single_select_field: &895 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -64604,7 +64684,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &895 + iteration_field: &896 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -64650,7 +64730,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-organization parameters: - *423 - - &896 + - &897 name: field_id description: The unique identifier of the field. in: path @@ -64665,7 +64745,7 @@ paths: application/json: schema: *426 examples: - default: &897 + default: &898 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -65876,7 +65956,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &877 + schema: &878 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -66059,7 +66139,7 @@ paths: parameters: - *423 - *88 - - &898 + - &899 name: view_number description: The number that identifies the project view. in: path @@ -67966,7 +68046,7 @@ paths: - *88 - *17 - *19 - - &765 + - &766 name: targets description: | A comma-separated list of rule targets to filter by. @@ -68183,7 +68263,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *88 - - &767 + - &768 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 @@ -68195,14 +68275,14 @@ paths: x-multi-segment: true - *314 - *106 - - &768 + - &769 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 - - &769 + - &770 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -68215,7 +68295,7 @@ paths: - bypass - all default: all - - &770 + - &771 name: evaluate_status description: |- The evaluate status to filter on. When specified, only rule suites resulting from rulesets with the specified evaluate status will be returned. @@ -68238,7 +68318,7 @@ paths: description: Response content: application/json: - schema: &771 + schema: &772 title: Rule Suites description: Response type: array @@ -68294,7 +68374,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &772 + default: &773 value: - id: 21 actor_id: 12 @@ -68338,7 +68418,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *88 - - &773 + - &774 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -68354,7 +68434,7 @@ paths: description: Response content: application/json: - schema: &774 + schema: &775 title: Rule Suite description: Response type: object @@ -68461,7 +68541,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &775 + default: &776 value: id: 21 actor_id: 12 @@ -68797,7 +68877,7 @@ paths: - *111 - *19 - *17 - - &777 + - &778 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 @@ -68807,7 +68887,7 @@ paths: required: false schema: type: string - - &778 + - &779 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 @@ -69234,7 +69314,7 @@ paths: application/json: schema: type: array - items: &799 + items: &800 description: A repository security advisory. type: object properties: @@ -69531,7 +69611,7 @@ paths: - private_fork additionalProperties: false examples: - default: &800 + default: &801 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -71566,7 +71646,7 @@ paths: application/json: schema: type: array - items: &842 + items: &843 title: Team Member description: A user that is a member of a team, including their role on the team and whether the membership is inherited from @@ -71709,7 +71789,7 @@ paths: - type - url examples: - default: &843 + default: &844 value: - login: octocat id: 1 @@ -71796,7 +71876,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &844 + response-if-user-is-a-team-maintainer: &845 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -71861,7 +71941,7 @@ paths: application/json: schema: *490 examples: - response-if-users-membership-with-team-is-now-pending: &845 + response-if-users-membership-with-team-is-now-pending: &846 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -71975,7 +72055,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &846 + schema: &847 title: Team Repository description: A team's access to a repository. type: object @@ -72807,7 +72887,7 @@ paths: type: array items: *317 examples: - response-if-child-teams-exist: &847 + response-if-child-teams-exist: &848 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -85234,7 +85314,7 @@ paths: check. type: array items: *228 - deployment: &909 + deployment: &910 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -90974,7 +91054,7 @@ paths: type: array items: *597 examples: - default: &852 + default: &853 value: total_count: 2 machines: @@ -94151,7 +94231,7 @@ paths: application/json: schema: type: array - items: &805 + items: &806 title: Status description: The status of a commit. type: object @@ -95140,7 +95220,7 @@ paths: - size - type - url - - &754 + - &755 title: Content File description: Content File type: object @@ -95777,7 +95857,7 @@ paths: items: type: object properties: - placeholder_id: &796 + placeholder_id: &797 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -102657,7 +102737,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &945 + last_response: &946 title: Hook Response type: object properties: @@ -103726,7 +103806,7 @@ paths: parameters: - *491 - *492 - - &875 + - &876 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -104445,7 +104525,7 @@ paths: type: array items: *678 examples: - default: &867 + default: &868 value: - id: 1 repository: @@ -106995,10 +107075,9 @@ paths: Pending suggestions for each suggestible field (`type`, `issue_field_values`, `labels`, `assignees`, `state`) the request touched. Omitted for fields not in the request or - with no pending suggestions. Items tagged `already_applied` - are echoes of the current request's inputs whose target is - already applied to the issue; they are not persisted as - pending suggestions. + with no pending or ignored suggestions. Items tagged + `ignored` are echoes of the current request's inputs that + were not persisted as pending suggestions. properties: type: type: array @@ -107017,8 +107096,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed issue_field_values: type: array items: @@ -107043,8 +107127,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed labels: type: array items: @@ -107062,8 +107151,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed assignees: type: array items: @@ -107081,8 +107175,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed state: type: array items: @@ -107104,8 +107203,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed examples: default: *686 '422': *15 @@ -116034,6 +116138,288 @@ paths: enabledForGitHubApps: true category: pulls subcategory: pulls + "/repos/{owner}/{repo}/pulls/{pull_number}/merge-async": + put: + summary: Merge a pull request asynchronously + description: |- + Merges a pull request into the base branch in the background. Merging in this way allows certain types of errors to be retried, and avoids the risk of timeouts for particularly complex merges. + + This is the required method for merging stacked PRs, but also supports unstacked PRs. When using this endpoint to merge a stacked pull request, all pull requests in the stack up to and including the requested PR will be merged into the base branch. + + The response includes a UUID that can be used to fetch the result of the merge. If another asynchronous merge request has already been made for this pull request, the UUID of that request will be returned instead with a 409 response status to indicate that the merge options may be different from those that were requested. If there isn't an existing asynchronous merge request, a 202 response status is used. + + If the pull request is already merged, the merge commit OID will be returned immediately with a 200 status. + + If the pull request cannot be merged (e.g. because it is closed, or still a draft) this result will be returned immediately with a 400 response status. Branch protection rules and repository rules are not run at this stage, only basic pull request state checks are performed. + tags: + - pulls + operationId: pulls/merge-async + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#merge-a-pull-request-asynchronously + x-github: + triggersNotification: true + githubCloudOnly: false + enabledForGitHubApps: true + category: pulls + subcategory: pulls + parameters: + - *491 + - *492 + - *747 + requestBody: + required: false + content: + application/json: + schema: + type: + - object + - 'null' + properties: + commit_title: + type: string + description: Title for the automatic commit message. + commit_message: + type: string + description: Extra detail to append to automatic commit message. + sha: + type: string + description: SHA that pull request head must match to allow merge. + If not provided, the current head of the PR at the time of the + request will be used; if the PR is pushed in between the merge + being requested and being executed, the merge will be cancelled. + merge_method: + type: string + description: The merge method to use. + enum: + - merge + - squash + - rebase + merge_action: + type: string + description: The action that will be taken to merge the pull request. + `direct_merge` merges the pull request directly without using + a merge queue; `merge_queue` adds the pull request to a merge + queue; `default` selects the most appropriate option. + enum: + - default + - direct_merge + - merge_queue + examples: + default: + value: + commit_title: Fix race condition + commit_message: Avoids a race by trying to read the file and handling + the exception if it does not exist. + sha: 6358cd125586d9def8c3e5943f23506202da81cc + merge_method: squash + merge_action: default + responses: + '202': + description: if the merge request was accepted and will run in the background + content: + application/json: + schema: &750 + title: Pull Request Merge Async Result + description: Pull Request Merge Async Result + type: object + additionalProperties: false + properties: + status: + type: string + enum: + - pending + - merged + - enqueued + - failed + details: + oneOf: + - description: When an asynchronous merge request was created + or already existed + type: object + additionalProperties: false + properties: + message: + type: string + uuid: + type: string + merge_method: + type: string + enum: + - default + - merge + - squash + - rebase + merge_action: + type: string + enum: + - default + - merge_queue + - direct_merge + expected_head_sha: + type: string + description: SHA that the pull request head must match for + the enqueued merge to proceed. + required: + - message + - uuid + - merge_method + - merge_action + - expected_head_sha + - description: When the pull request cannot be merged + type: object + additionalProperties: false + properties: + message: + type: string + required: + - message + - description: When the pull request is already merged + type: object + additionalProperties: false + properties: + message: + type: string + sha: + type: string + required: + - message + - sha + required: + - status + - details + examples: + response-if-merge-request-was-accepted: + summary: Request accepted + value: + status: pending + details: + message: Merge request enqueued. + uuid: 630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42 + merge_method: merge + merge_action: default + expected_head_sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + '200': + description: if the pull request was already merged, or is already in a + merge queue + content: + application/json: + schema: *750 + examples: + response-if-pull-request-was-already-merged: + summary: Already merged + value: + status: merged + details: + message: Pull request is already merged. + sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + response-if-pull-request-is-already-enqueued: + summary: Already enqueued + value: + status: enqueued + details: + message: Pull request is already in the merge queue. + '409': + description: if there is an existing merge request already enqueued for + this pull request + content: + application/json: + schema: *750 + examples: + response-if-a-merge-request-already-exists: + value: + status: pending + details: + message: A merge request already exists for this pull request. + uuid: 630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42 + merge_method: squash + merge_action: default + expected_head_sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + '400': + description: if the pull request is not ready to be merged, e.g. because + it is closed + content: + application/json: + schema: *750 + examples: + response-if-pull-request-is-not-ready-to-be-merged: + value: + status: failed + details: + message: Pull request is closed. + '422': *15 + '403': *27 + '404': *6 + "/repos/{owner}/{repo}/pulls/{pull_number}/merge-async/{uuid}": + get: + summary: Get the result of an asynchronous merge + description: |- + Fetches the current result of an asynchronous merge request, identified by the UUID that was returned when the merge was requested. + + While the merge is still queued, the response includes the UUID, merge method, and expected head SHA of the request. Once the merge has completed, the response reports whether it was merged, including the merge commit OID on success or a message describing why it could not be merged on failure. + + The result of an asynchronous merge request is retained for 24 hours after its most recent update. After this window the request expires and this endpoint returns a `404` response for its UUID. + tags: + - pulls + operationId: pulls/get-merge-async-result + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#get-the-result-of-an-asynchronous-merge + x-github: + triggersNotification: false + githubCloudOnly: false + enabledForGitHubApps: true + category: pulls + subcategory: pulls + parameters: + - *491 + - *492 + - *747 + - name: uuid + description: The UUID of the asynchronous merge request, as returned when + the merge was requested. + in: path + required: true + schema: + type: string + responses: + '200': + description: the current result of the asynchronous merge request + content: + application/json: + schema: *750 + examples: + response-if-the-merge-is-still-queued: + summary: Still queued + value: + status: pending + details: + message: Merge request is in progress. + uuid: 630b9d5e-3f2a-4f7e-8b0c-2d5f9a8c1e42 + merge_method: merge + merge_action: default + expected_head_sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + response-if-the-pull-request-is-enqueued: + summary: Enqueued in the merge queue + value: + status: enqueued + details: + message: Pull request is in the merge queue. + response-if-the-merge-succeeded: + summary: Merge succeeded + value: + status: merged + details: + message: Pull request was merged. + sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e + response-if-the-merge-failed: + summary: Merge failed + value: + status: failed + details: + message: 'Merge conflict: the pull request could not be merged.' + '403': *27 + '404': *6 "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": get: summary: Get all requested reviewers for a pull request @@ -117234,7 +117620,7 @@ paths: application/json: schema: type: array - items: &750 + items: &751 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -117482,9 +117868,9 @@ paths: description: Response content: application/json: - schema: *750 + schema: *751 examples: - default: &752 + default: &753 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -117550,7 +117936,7 @@ paths: - *491 - *492 - *747 - - &751 + - &752 name: review_id description: The unique identifier of the review. in: path @@ -117562,9 +117948,9 @@ paths: description: Response content: application/json: - schema: *750 + schema: *751 examples: - default: &753 + default: &754 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -117626,7 +118012,7 @@ paths: - *491 - *492 - *747 - - *751 + - *752 requestBody: required: true content: @@ -117649,7 +118035,7 @@ paths: description: Response content: application/json: - schema: *750 + schema: *751 examples: default: value: @@ -117714,15 +118100,15 @@ paths: - *491 - *492 - *747 - - *751 + - *752 responses: '200': description: Response content: application/json: - schema: *750 + schema: *751 examples: - default: *752 + default: *753 '422': *7 '404': *6 x-github: @@ -117752,7 +118138,7 @@ paths: - *491 - *492 - *747 - - *751 + - *752 - *17 - *19 responses: @@ -118013,7 +118399,7 @@ paths: - *491 - *492 - *747 - - *751 + - *752 requestBody: required: true content: @@ -118042,7 +118428,7 @@ paths: description: Response content: application/json: - schema: *750 + schema: *751 examples: default: value: @@ -118108,7 +118494,7 @@ paths: - *491 - *492 - *747 - - *751 + - *752 requestBody: required: true content: @@ -118143,9 +118529,9 @@ paths: description: Response content: application/json: - schema: *750 + schema: *751 examples: - default: *753 + default: *754 '404': *6 '422': *7 '403': *27 @@ -118247,9 +118633,9 @@ paths: description: Response content: application/json: - schema: *754 + schema: *755 examples: - default: &755 + default: &756 value: type: file encoding: base64 @@ -118312,9 +118698,9 @@ paths: description: Response content: application/json: - schema: *754 + schema: *755 examples: - default: *755 + default: *756 '404': *6 '422': *15 x-github: @@ -118347,7 +118733,7 @@ paths: application/json: schema: type: array - items: *756 + items: *757 examples: default: value: @@ -118523,9 +118909,9 @@ paths: description: Response content: application/json: - schema: *756 + schema: *757 examples: - default: &760 + default: &761 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -118632,7 +119018,7 @@ paths: parameters: - *491 - *492 - - &758 + - &759 name: asset_id description: The unique identifier of the asset. in: path @@ -118644,9 +119030,9 @@ paths: description: Response content: application/json: - schema: *757 + schema: *758 examples: - default: &759 + default: &760 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 @@ -118699,7 +119085,7 @@ paths: parameters: - *491 - *492 - - *758 + - *759 requestBody: required: false content: @@ -118728,9 +119114,9 @@ paths: description: Response content: application/json: - schema: *757 + schema: *758 examples: - default: *759 + default: *760 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118748,7 +119134,7 @@ paths: parameters: - *491 - *492 - - *758 + - *759 responses: '204': description: Response @@ -118867,9 +119253,9 @@ paths: description: Response content: application/json: - schema: *756 + schema: *757 examples: - default: *760 + default: *761 '404': *6 x-github: githubCloudOnly: false @@ -118901,9 +119287,9 @@ paths: description: Response content: application/json: - schema: *756 + schema: *757 examples: - default: *760 + default: *761 '404': *6 x-github: githubCloudOnly: false @@ -118927,7 +119313,7 @@ paths: parameters: - *491 - *492 - - &761 + - &762 name: release_id description: The unique identifier of the release. in: path @@ -118941,9 +119327,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: *756 + schema: *757 examples: - default: *760 + default: *761 '401': description: Unauthorized x-github: @@ -118969,7 +119355,7 @@ paths: parameters: - *491 - *492 - - *761 + - *762 requestBody: required: false content: @@ -119033,9 +119419,9 @@ paths: description: Response content: application/json: - schema: *756 + schema: *757 examples: - default: *760 + default: *761 '404': description: Not Found if the discussion category name is invalid content: @@ -119058,7 +119444,7 @@ paths: parameters: - *491 - *492 - - *761 + - *762 responses: '204': description: Response @@ -119081,7 +119467,7 @@ paths: parameters: - *491 - *492 - - *761 + - *762 - *17 - *19 responses: @@ -119091,7 +119477,7 @@ paths: application/json: schema: type: array - items: *757 + items: *758 examples: default: value: @@ -119175,7 +119561,7 @@ paths: parameters: - *491 - *492 - - *761 + - *762 - name: name in: query required: true @@ -119201,7 +119587,7 @@ paths: description: Response for successful upload content: application/json: - schema: *757 + schema: *758 examples: response-for-successful-upload: value: @@ -119258,7 +119644,7 @@ paths: parameters: - *491 - *492 - - *761 + - *762 - 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. @@ -119307,7 +119693,7 @@ paths: parameters: - *491 - *492 - - *761 + - *762 requestBody: required: true content: @@ -119370,7 +119756,7 @@ paths: parameters: - *491 - *492 - - *761 + - *762 - *682 responses: '204': @@ -119414,7 +119800,7 @@ paths: oneOf: - allOf: - *170 - - &762 + - &763 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -119435,70 +119821,70 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *171 - - *762 + - *763 - allOf: - *172 - - *762 + - *763 - allOf: - *173 - - *762 + - *763 - allOf: + - *764 - *763 - - *762 - allOf: - *174 - - *762 + - *763 - allOf: - *175 - - *762 + - *763 - allOf: - *176 - - *762 + - *763 - allOf: - *177 - - *762 + - *763 - allOf: - *178 - - *762 + - *763 - allOf: - *179 - - *762 + - *763 - allOf: - *180 - - *762 + - *763 - allOf: - *181 - - *762 + - *763 - allOf: - *182 - - *762 + - *763 - allOf: - *183 - - *762 + - *763 - allOf: - *184 - - *762 + - *763 - allOf: - *185 - - *762 + - *763 - allOf: - *186 - - *762 + - *763 - allOf: - - *764 - - *762 + - *765 + - *763 - allOf: - *187 - - *762 + - *763 - allOf: - *188 - - *762 + - *763 - allOf: - *189 - - *762 + - *763 - allOf: - *190 - - *762 + - *763 examples: default: value: @@ -119549,7 +119935,7 @@ paths: schema: type: boolean default: true - - *765 + - *766 responses: '200': description: Response @@ -119634,7 +120020,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *766 + items: *767 required: - name - enforcement @@ -119667,7 +120053,7 @@ paths: application/json: schema: *191 examples: - default: &776 + default: &777 value: id: 42 name: super cool ruleset @@ -119717,11 +120103,11 @@ paths: parameters: - *491 - *492 - - *767 - - *106 - *768 + - *106 - *769 - *770 + - *771 - *17 - *19 responses: @@ -119729,9 +120115,9 @@ paths: description: Response content: application/json: - schema: *771 + schema: *772 examples: - default: *772 + default: *773 '404': *6 '500': *39 x-github: @@ -119754,15 +120140,15 @@ paths: parameters: - *491 - *492 - - *773 + - *774 responses: '200': description: Response content: application/json: - schema: *774 + schema: *775 examples: - default: *775 + default: *776 '404': *6 '500': *39 x-github: @@ -119813,7 +120199,7 @@ paths: application/json: schema: *191 examples: - default: *776 + default: *777 '404': *6 '500': *39 put: @@ -119866,7 +120252,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *766 + items: *767 examples: default: value: @@ -119896,7 +120282,7 @@ paths: application/json: schema: *191 examples: - default: *776 + default: *777 '404': *6 '422': *15 '500': *39 @@ -120064,8 +120450,8 @@ paths: - *111 - *19 - *17 - - *777 - *778 + - *779 - *451 - *452 - *453 @@ -120096,8 +120482,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *779 - resolution: *780 + state: *780 + resolution: *781 resolved_at: type: - string @@ -120203,7 +120589,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *781 + - *782 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -120371,7 +120757,7 @@ paths: description: Response content: application/json: - schema: &782 + schema: &783 type: object properties: number: *132 @@ -120386,8 +120772,8 @@ paths: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *779 - resolution: *780 + state: *780 + resolution: *781 resolved_at: type: - string @@ -120493,7 +120879,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *781 + - *782 has_more_locations: type: boolean description: A boolean value representing whether or not the token @@ -120516,7 +120902,7 @@ paths: anyOf: - type: 'null' - *4 - metadata: &964 + metadata: &965 type: array description: A list of metadata key/value pairs associated with the secret scanning alert. @@ -120599,8 +120985,8 @@ paths: schema: type: object properties: - state: *779 - resolution: *780 + state: *780 + resolution: *781 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -120648,7 +121034,7 @@ paths: description: Response content: application/json: - schema: *782 + schema: *783 examples: default: value: @@ -120763,7 +121149,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &966 + items: &967 type: object properties: type: @@ -120790,7 +121176,6 @@ paths: - commit details: oneOf: - - *783 - *784 - *785 - *786 @@ -120803,6 +121188,7 @@ paths: - *793 - *794 - *795 + - *796 examples: default: value: @@ -121112,14 +121498,14 @@ paths: schema: type: object properties: - reason: &797 + reason: &798 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *796 + placeholder_id: *797 required: - reason - placeholder_id @@ -121136,7 +121522,7 @@ paths: schema: type: object properties: - reason: *797 + reason: *798 expire_at: type: - string @@ -121199,7 +121585,7 @@ paths: properties: incremental_scans: type: array - items: &798 + items: &799 description: Information on a single scan performed by secret scanning on the repository type: object @@ -121232,15 +121618,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *798 + items: *799 backfill_scans: type: array - items: *798 + items: *799 custom_pattern_backfill_scans: type: array items: allOf: - - *798 + - *799 - type: object properties: pattern_name: @@ -121253,7 +121639,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *798 + items: *799 examples: default: value: @@ -121363,9 +121749,9 @@ paths: application/json: schema: type: array - items: *799 + items: *800 examples: - default: *800 + default: *801 '400': *14 '404': *6 x-github: @@ -121559,9 +121945,9 @@ paths: description: Response content: application/json: - schema: *799 + schema: *800 examples: - default: &802 + default: &803 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -121905,7 +122291,7 @@ paths: description: Response content: application/json: - schema: *799 + schema: *800 examples: default: value: @@ -122053,15 +122439,15 @@ paths: parameters: - *491 - *492 - - *801 + - *802 responses: '200': description: Response content: application/json: - schema: *799 + schema: *800 examples: - default: *802 + default: *803 '403': *27 '404': *6 x-github: @@ -122087,7 +122473,7 @@ paths: parameters: - *491 - *492 - - *801 + - *802 requestBody: required: true content: @@ -122258,10 +122644,10 @@ paths: description: Response content: application/json: - schema: *799 + schema: *800 examples: - default: *802 - add_credit: *802 + default: *803 + add_credit: *803 '403': *27 '404': *6 '422': @@ -122301,7 +122687,7 @@ paths: parameters: - *491 - *492 - - *801 + - *802 responses: '202': *38 '400': *14 @@ -122330,7 +122716,7 @@ paths: parameters: - *491 - *492 - - *801 + - *802 responses: '202': description: Response @@ -122561,7 +122947,7 @@ paths: format: date-time pull_requests: type: array - items: &803 + items: &804 title: Pull Request Stack Pull Request type: object allOf: @@ -122838,7 +123224,7 @@ paths: format: date-time pull_requests: type: array - items: *803 + items: *804 examples: default: value: @@ -123031,7 +123417,7 @@ paths: format: date-time pull_requests: type: array - items: *803 + items: *804 examples: default: value: @@ -123288,7 +123674,7 @@ paths: format: date-time pull_requests: type: array - items: *803 + items: *804 examples: default: value: @@ -123501,7 +123887,7 @@ paths: application/json: schema: type: array - items: &804 + items: &805 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -123874,7 +124260,7 @@ paths: application/json: schema: type: array - items: *804 + items: *805 examples: default: value: @@ -123964,7 +124350,7 @@ paths: description: Response content: application/json: - schema: *805 + schema: *806 examples: default: value: @@ -124058,7 +124444,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &806 + schema: &807 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -124158,7 +124544,7 @@ paths: description: Response content: application/json: - schema: *806 + schema: *807 examples: default: value: @@ -124368,7 +124754,7 @@ paths: description: Response content: application/json: - schema: &807 + schema: &808 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -124380,7 +124766,7 @@ paths: required: - names examples: - default: &808 + default: &809 value: names: - octocat @@ -124435,9 +124821,9 @@ paths: description: Response content: application/json: - schema: *807 + schema: *808 examples: - default: *808 + default: *809 '404': *6 '422': *7 x-github: @@ -124460,7 +124846,7 @@ paths: parameters: - *491 - *492 - - &809 + - &810 name: per description: The time frame to display results for. in: query @@ -124491,7 +124877,7 @@ paths: - 128 clones: type: array - items: &810 + items: &811 title: Traffic type: object properties: @@ -124739,7 +125125,7 @@ paths: parameters: - *491 - *492 - - *809 + - *810 responses: '200': description: Response @@ -124760,7 +125146,7 @@ paths: - 3782 views: type: array - items: *810 + items: *811 required: - uniques - count @@ -125431,7 +125817,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &818 + - &819 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -125441,7 +125827,7 @@ paths: type: string examples: - members - - &823 + - &824 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -125453,7 +125839,7 @@ paths: format: int32 examples: - 1 - - &824 + - &825 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -125497,7 +125883,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &813 + items: &814 allOf: - type: object required: @@ -125579,7 +125965,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: &825 + meta: &826 type: object description: The metadata associated with the creation/updates to the user. @@ -125644,30 +126030,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &814 + '400': &815 description: Bad request content: application/json: - schema: *811 + schema: *812 application/scim+json: - schema: *811 - '401': *812 - '403': &815 + schema: *812 + '401': *813 + '403': &816 description: Permission denied - '429': &816 + '429': &817 description: Too many requests content: application/json: - schema: *811 + schema: *812 application/scim+json: - schema: *811 - '500': &817 + schema: *812 + '500': &818 description: Internal server error content: application/json: - schema: *811 + schema: *812 application/scim+json: - schema: *811 + schema: *812 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -125691,7 +126077,7 @@ paths: required: true content: application/json: - schema: &821 + schema: &822 type: object required: - schemas @@ -125755,9 +126141,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *813 + schema: *814 examples: - group: &819 + group: &820 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -125776,13 +126162,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': *814 - '401': *812 - '403': *815 - '409': &822 + '400': *815 + '401': *813 + '403': *816 + '409': &823 description: Duplicate record detected - '429': *816 - '500': *817 + '429': *817 + '500': *818 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -125799,7 +126185,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: - - &820 + - &821 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -125808,22 +126194,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *818 + - *819 - *40 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *813 + schema: *814 examples: - default: *819 - '400': *814 - '401': *812 - '403': *815 + default: *820 + '400': *815 + '401': *813 + '403': *816 '404': *6 - '429': *816 - '500': *817 + '429': *817 + '500': *818 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -125842,13 +126228,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: - - *820 + - *821 - *40 requestBody: required: true content: application/json: - schema: *821 + schema: *822 examples: group: summary: Group @@ -125874,17 +126260,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *813 + schema: *814 examples: - group: *819 - groupWithMembers: *819 - '400': *814 - '401': *812 - '403': *815 + group: *820 + groupWithMembers: *820 + '400': *815 + '401': *813 + '403': *816 '404': *6 - '409': *822 - '429': *816 - '500': *817 + '409': *823 + '429': *817 + '500': *818 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -125908,13 +126294,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: - - *820 + - *821 - *40 requestBody: required: true content: application/json: - schema: &832 + schema: &833 type: object required: - Operations @@ -125974,17 +126360,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *813 + schema: *814 examples: - updateGroup: *819 - addMembers: *819 - '400': *814 - '401': *812 - '403': *815 + updateGroup: *820 + addMembers: *820 + '400': *815 + '401': *813 + '403': *816 '404': *6 - '409': *822 - '429': *816 - '500': *817 + '409': *823 + '429': *817 + '500': *818 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126000,17 +126386,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: - - *820 + - *821 - *40 responses: '204': description: Group was deleted, no content - '400': *814 - '401': *812 - '403': *815 + '400': *815 + '401': *813 + '403': *816 '404': *6 - '429': *816 - '500': *817 + '429': *817 + '500': *818 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126044,8 +126430,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *823 - *824 + - *825 - *40 responses: '200': @@ -126079,7 +126465,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &827 + items: &828 allOf: - type: object required: @@ -126171,7 +126557,7 @@ paths: address. examples: - true - roles: &826 + roles: &827 type: array description: The roles assigned to the user. items: @@ -126230,7 +126616,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *825 + meta: *826 startIndex: type: integer description: A starting index for the returned page @@ -126269,11 +126655,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *814 - '401': *812 - '403': *815 - '429': *816 - '500': *817 + '400': *815 + '401': *813 + '403': *816 + '429': *817 + '500': *818 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126297,7 +126683,7 @@ paths: required: true content: application/json: - schema: &830 + schema: &831 type: object required: - schemas @@ -126390,9 +126776,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *826 + roles: *827 examples: - user: &831 + user: &832 summary: User value: schemas: @@ -126439,9 +126825,9 @@ paths: description: User has been created content: application/scim+json: - schema: *827 + schema: *828 examples: - user: &828 + user: &829 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -126467,13 +126853,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: *828 - '400': *814 - '401': *812 - '403': *815 - '409': *822 - '429': *816 - '500': *817 + enterpriseOwner: *829 + '400': *815 + '401': *813 + '403': *816 + '409': *823 + '429': *817 + '500': *818 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126490,7 +126876,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: - - &829 + - &830 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -126503,15 +126889,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *827 + schema: *828 examples: - default: *828 - '400': *814 - '401': *812 - '403': *815 + default: *829 + '400': *815 + '401': *813 + '403': *816 '404': *6 - '429': *816 - '500': *817 + '429': *817 + '500': *818 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126562,30 +126948,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: - - *829 + - *830 - *40 requestBody: required: true content: application/json: - schema: *830 + schema: *831 examples: - user: *831 + user: *832 responses: '200': description: User was updated content: application/scim+json: - schema: *827 + schema: *828 examples: - user: *828 - '400': *814 - '401': *812 - '403': *815 + user: *829 + '400': *815 + '401': *813 + '403': *816 '404': *6 - '409': *822 - '429': *816 - '500': *817 + '409': *823 + '429': *817 + '500': *818 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126626,13 +127012,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: - - *829 + - *830 - *40 requestBody: required: true content: application/json: - schema: *832 + schema: *833 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -126672,18 +127058,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *827 - examples: - userMultiValuedProperties: *828 - userSingleValuedProperties: *828 - disableUser: *828 - '400': *814 - '401': *812 - '403': *815 + schema: *828 + examples: + userMultiValuedProperties: *829 + userSingleValuedProperties: *829 + disableUser: *829 + '400': *815 + '401': *813 + '403': *816 '404': *6 - '409': *822 - '429': *816 - '500': *817 + '409': *823 + '429': *817 + '500': *818 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126703,17 +127089,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: - - *829 + - *830 - *40 responses: '204': description: User was deleted, no content - '400': *814 - '401': *812 - '403': *815 + '400': *815 + '401': *813 + '403': *816 '404': *6 - '429': *816 - '500': *817 + '429': *817 + '500': *818 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126804,7 +127190,7 @@ paths: - 1 Resources: type: array - items: &833 + items: &834 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -127051,22 +127437,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': *36 - '404': &834 + '404': &835 description: Resource not found content: application/json: - schema: *811 + schema: *812 application/scim+json: - schema: *811 - '403': &835 + schema: *812 + '403': &836 description: Forbidden content: application/json: - schema: *811 + schema: *812 application/scim+json: - schema: *811 - '400': *814 - '429': *816 + schema: *812 + '400': *815 + '429': *817 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -127092,9 +127478,9 @@ paths: description: Response content: application/scim+json: - schema: *833 + schema: *834 examples: - default: &836 + default: &837 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -127117,17 +127503,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': *36 - '404': *834 - '403': *835 - '500': *817 + '404': *835 + '403': *836 + '500': *818 '409': description: Conflict content: application/json: - schema: *811 + schema: *812 application/scim+json: - schema: *811 - '400': *814 + schema: *812 + '400': *815 requestBody: required: true content: @@ -127227,17 +127613,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *88 - - *829 + - *830 responses: '200': description: Response content: application/scim+json: - schema: *833 + schema: *834 examples: - default: *836 - '404': *834 - '403': *835 + default: *837 + '404': *835 + '403': *836 '304': *36 x-github: githubCloudOnly: true @@ -127261,18 +127647,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-a-provisioned-organization-membership parameters: - *88 - - *829 + - *830 responses: '200': description: Response content: application/scim+json: - schema: *833 + schema: *834 examples: - default: *836 + default: *837 '304': *36 - '404': *834 - '403': *835 + '404': *835 + '403': *836 requestBody: required: true content: @@ -127387,19 +127773,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *88 - - *829 + - *830 responses: '200': description: Response content: application/scim+json: - schema: *833 + schema: *834 examples: - default: *836 + default: *837 '304': *36 - '404': *834 - '403': *835 - '400': *814 + '404': *835 + '403': *836 + '400': *815 '429': description: Response content: @@ -127495,12 +127881,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *88 - - *829 + - *830 responses: '204': description: Response - '404': *834 - '403': *835 + '404': *835 + '403': *836 '304': *36 x-github: githubCloudOnly: true @@ -127637,7 +128023,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &837 + text_matches: &838 title: Search Result Text Matches type: array items: @@ -127801,7 +128187,7 @@ paths: enum: - author-date - committer-date - - &838 + - &839 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 @@ -127921,7 +128307,7 @@ paths: type: number node_id: type: string - text_matches: *837 + text_matches: *838 required: - sha - node_id @@ -128114,7 +128500,7 @@ paths: - interactions - created - updated - - *838 + - *839 - *17 - *19 - name: advanced_search @@ -128228,8 +128614,8 @@ paths: type: - string - 'null' - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 issue_field_values: type: array items: *691 @@ -128256,7 +128642,7 @@ paths: - string - 'null' format: date-time - text_matches: *837 + text_matches: *838 pull_request: type: object properties: @@ -128530,7 +128916,7 @@ paths: enum: - created - updated - - *838 + - *839 - *17 - *19 responses: @@ -128575,7 +128961,7 @@ paths: - 'null' score: type: number - text_matches: *837 + text_matches: *838 required: - id - node_id @@ -128661,7 +129047,7 @@ paths: - forks - help-wanted-issues - updated - - *838 + - *839 - *17 - *19 responses: @@ -128907,7 +129293,7 @@ paths: - admin - pull - push - text_matches: *837 + text_matches: *838 temp_clone_token: type: string allow_merge_commit: @@ -129216,7 +129602,7 @@ paths: - string - 'null' format: uri - text_matches: *837 + text_matches: *838 related: type: - array @@ -129411,7 +129797,7 @@ paths: - followers - repositories - joined - - *838 + - *839 - *17 - *19 responses: @@ -129521,7 +129907,7 @@ paths: type: - boolean - 'null' - text_matches: *837 + text_matches: *838 blog: type: - string @@ -129603,7 +129989,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-legacy parameters: - - &841 + - &842 name: team_id description: The unique identifier of the team. in: path @@ -129644,7 +130030,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team-legacy parameters: - - *841 + - *842 requestBody: required: true content: @@ -129745,7 +130131,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team-legacy parameters: - - *841 + - *842 responses: '204': description: Response @@ -129774,7 +130160,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *841 + - *842 - *17 - *19 responses: @@ -129814,7 +130200,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members-legacy parameters: - - *841 + - *842 - name: role description: Filters members returned by their role in the team. in: query @@ -129835,9 +130221,9 @@ paths: application/json: schema: type: array - items: *842 + items: *843 examples: - default: *843 + default: *844 headers: Link: *46 '404': *6 @@ -129865,7 +130251,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - - *841 + - *842 - *131 responses: '204': @@ -129902,7 +130288,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - - *841 + - *842 - *131 responses: '204': @@ -129942,7 +130328,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - - *841 + - *842 - *131 responses: '204': @@ -129979,7 +130365,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *841 + - *842 - *131 responses: '200': @@ -129988,7 +130374,7 @@ paths: application/json: schema: *490 examples: - response-if-user-is-a-team-maintainer: *844 + response-if-user-is-a-team-maintainer: *845 '404': *6 x-github: githubCloudOnly: false @@ -130021,7 +130407,7 @@ 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: - - *841 + - *842 - *131 requestBody: required: false @@ -130049,7 +130435,7 @@ paths: application/json: schema: *490 examples: - response-if-users-membership-with-team-is-now-pending: *845 + response-if-users-membership-with-team-is-now-pending: *846 '403': description: Forbidden if team synchronization is set up '422': @@ -130083,7 +130469,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *841 + - *842 - *131 responses: '204': @@ -130111,7 +130497,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories-legacy parameters: - - *841 + - *842 - *17 - *19 responses: @@ -130153,7 +130539,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *841 + - *842 - *491 - *492 responses: @@ -130161,7 +130547,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *846 + schema: *847 examples: alternative-response-with-extra-repository-information: value: @@ -130311,7 +130697,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *841 + - *842 - *491 - *492 requestBody: @@ -130363,7 +130749,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *841 + - *842 - *491 - *492 responses: @@ -130394,7 +130780,7 @@ 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: - - *841 + - *842 responses: '200': description: Response @@ -130429,7 +130815,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: - - *841 + - *842 requestBody: required: true content: @@ -130521,7 +130907,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams-legacy parameters: - - *841 + - *842 - *17 - *19 responses: @@ -130533,7 +130919,7 @@ paths: type: array items: *317 examples: - response-if-child-teams-exist: *847 + response-if-child-teams-exist: *848 headers: Link: *46 '404': *6 @@ -130566,7 +130952,7 @@ paths: application/json: schema: oneOf: - - &848 + - &849 title: Private User description: Private User type: object @@ -130816,7 +131202,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - &874 + - &875 title: Public User description: Public User type: object @@ -131150,7 +131536,7 @@ paths: description: Response content: application/json: - schema: *848 + schema: *849 examples: default: value: @@ -131548,7 +131934,7 @@ paths: type: integer secrets: type: array - items: &849 + items: &850 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -131668,7 +132054,7 @@ paths: description: Response content: application/json: - schema: *849 + schema: *850 examples: default: value: @@ -132081,7 +132467,7 @@ paths: description: Response content: application/json: - schema: &850 + schema: &851 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -132134,7 +132520,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &851 + default: &852 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -132179,9 +132565,9 @@ paths: description: Response content: application/json: - schema: *850 + schema: *851 examples: - default: *851 + default: *852 '404': *6 x-github: githubCloudOnly: false @@ -132220,7 +132606,7 @@ paths: type: array items: *597 examples: - default: *852 + default: *853 '304': *36 '500': *39 '401': *23 @@ -133186,7 +133572,7 @@ paths: type: array items: *405 examples: - default: &864 + default: &865 value: - id: 197 name: hello_docker @@ -133287,7 +133673,7 @@ paths: application/json: schema: type: array - items: &853 + items: &854 title: Email description: Email type: object @@ -133357,9 +133743,9 @@ paths: application/json: schema: type: array - items: *853 + items: *854 examples: - default: &866 + default: &867 value: - email: octocat@github.com verified: true @@ -133436,7 +133822,7 @@ paths: application/json: schema: type: array - items: *853 + items: *854 examples: default: value: @@ -133694,7 +134080,7 @@ paths: application/json: schema: type: array - items: &854 + items: &855 title: GPG Key description: A unique encryption key type: object @@ -133839,7 +134225,7 @@ paths: - subkeys - revoked examples: - default: &884 + default: &885 value: - id: 3 name: Octocat's GPG Key @@ -133924,9 +134310,9 @@ paths: description: Response content: application/json: - schema: *854 + schema: *855 examples: - default: &855 + default: &856 value: id: 3 name: Octocat's GPG Key @@ -133983,7 +134369,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: - - &856 + - &857 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -133995,9 +134381,9 @@ paths: description: Response content: application/json: - schema: *854 + schema: *855 examples: - default: *855 + default: *856 '404': *6 '304': *36 '403': *27 @@ -134020,7 +134406,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: - - *856 + - *857 responses: '204': description: Response @@ -134487,7 +134873,7 @@ paths: application/json: schema: type: array - items: &857 + items: &858 title: Key description: Key type: object @@ -134590,9 +134976,9 @@ paths: description: Response content: application/json: - schema: *857 + schema: *858 examples: - default: &858 + default: &859 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -134631,9 +135017,9 @@ paths: description: Response content: application/json: - schema: *857 + schema: *858 examples: - default: *858 + default: *859 '404': *6 '304': *36 '403': *27 @@ -134689,7 +135075,7 @@ paths: application/json: schema: type: array - items: &859 + items: &860 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -134768,7 +135154,7 @@ paths: - account - plan examples: - default: &860 + default: &861 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -134830,9 +135216,9 @@ paths: application/json: schema: type: array - items: *859 + items: *860 examples: - default: *860 + default: *861 headers: Link: *46 '304': *36 @@ -135075,7 +135461,7 @@ paths: application/json: schema: *398 examples: - default: &861 + default: &862 value: url: https://api.github.com/orgs/octocat/memberships/defunkt state: active @@ -135124,7 +135510,7 @@ paths: application/json: schema: *398 examples: - default: *861 + default: *862 '403': *27 '404': *6 '422': *15 @@ -135858,7 +136244,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#unlock-a-user-repository parameters: - *401 - - *862 + - *863 responses: '204': description: Response @@ -135971,7 +136357,7 @@ paths: - docker - nuget - container - - *863 + - *864 - *19 - *17 responses: @@ -135983,8 +136369,8 @@ paths: type: array items: *405 examples: - default: *864 - '400': *865 + default: *865 + '400': *866 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -136013,7 +136399,7 @@ paths: application/json: schema: *405 examples: - default: &885 + default: &886 value: id: 40201 name: octo-name @@ -136375,9 +136761,9 @@ paths: application/json: schema: type: array - items: *853 + items: *854 examples: - default: *866 + default: *867 headers: Link: *46 '304': *36 @@ -136490,7 +136876,7 @@ paths: type: array items: *79 examples: - default: &873 + default: &874 summary: Default response value: - id: 1296269 @@ -136851,7 +137237,7 @@ paths: type: array items: *678 examples: - default: *867 + default: *868 headers: Link: *46 '304': *36 @@ -136931,7 +137317,7 @@ paths: application/json: schema: type: array - items: &868 + items: &869 title: Social account description: Social media account type: object @@ -136948,7 +137334,7 @@ paths: - provider - url examples: - default: &869 + default: &870 value: - provider: twitter url: https://twitter.com/github @@ -137011,9 +137397,9 @@ paths: application/json: schema: type: array - items: *868 + items: *869 examples: - default: *869 + default: *870 '422': *15 '304': *36 '404': *6 @@ -137101,7 +137487,7 @@ paths: application/json: schema: type: array - items: &870 + items: &871 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -137121,7 +137507,7 @@ paths: - title - created_at examples: - default: &899 + default: &900 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -137186,9 +137572,9 @@ paths: description: Response content: application/json: - schema: *870 + schema: *871 examples: - default: &871 + default: &872 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -137218,7 +137604,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: - - &872 + - &873 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -137230,9 +137616,9 @@ paths: description: Response content: application/json: - schema: *870 + schema: *871 examples: - default: *871 + default: *872 '404': *6 '304': *36 '403': *27 @@ -137255,7 +137641,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: - - *872 + - *873 responses: '204': description: Response @@ -137284,7 +137670,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: - - &900 + - &901 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 @@ -137309,11 +137695,11 @@ paths: type: array items: *79 examples: - default-response: *873 + default-response: *874 application/vnd.github.v3.star+json: schema: type: array - items: &901 + items: &902 title: Starred Repository description: Starred Repository type: object @@ -137682,10 +138068,10 @@ paths: application/json: schema: oneOf: - - *848 - - *874 + - *849 + - *875 examples: - default-response: &878 + default-response: &879 summary: Default response value: login: octocat @@ -137720,7 +138106,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &879 + response-with-git-hub-plan-information: &880 summary: Response with GitHub plan information value: login: octocat @@ -137777,7 +138163,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &876 + - &877 name: user_id description: The unique identifier of the user. in: path @@ -137843,7 +138229,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#list-users parameters: - - *875 + - *876 - *17 responses: '200': @@ -137878,7 +138264,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *876 + - *877 - *423 requestBody: required: true @@ -137953,7 +138339,7 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *877 + schema: *878 examples: table_view: summary: Response for creating a table view @@ -138005,11 +138391,11 @@ paths: application/json: schema: oneOf: - - *848 - - *874 + - *849 + - *875 examples: - default-response: *878 - response-with-git-hub-plan-information: *879 + default-response: *879 + response-with-git-hub-plan-information: *880 '404': *6 x-github: githubCloudOnly: false @@ -138059,8 +138445,8 @@ paths: required: - subject_digests examples: - default: *880 - withPredicateType: *881 + default: *881 + withPredicateType: *882 responses: '200': description: Response @@ -138100,7 +138486,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *882 + default: *883 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -138573,7 +138959,7 @@ paths: application/json: schema: *332 examples: - default: &883 + default: &884 summary: Example response for a user copilot space value: id: 42 @@ -138674,7 +139060,7 @@ paths: application/json: schema: *332 examples: - default: *883 + default: *884 '403': *27 '404': *6 x-github: @@ -138800,7 +139186,7 @@ paths: application/json: schema: *332 examples: - default: *883 + default: *884 '403': *27 '404': *6 '422': *15 @@ -139568,7 +139954,7 @@ paths: type: array items: *405 examples: - default: *864 + default: *865 '403': *27 '401': *23 x-github: @@ -139952,9 +140338,9 @@ paths: application/json: schema: type: array - items: *854 + items: *855 examples: - default: *884 + default: *885 headers: Link: *46 x-github: @@ -140183,7 +140569,7 @@ paths: - docker - nuget - container - - *863 + - *864 - *131 - *19 - *17 @@ -140196,10 +140582,10 @@ paths: type: array items: *405 examples: - default: *864 + default: *865 '403': *27 '401': *23 - '400': *865 + '400': *866 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -140229,7 +140615,7 @@ paths: application/json: schema: *405 examples: - default: *885 + default: *886 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -140578,7 +140964,7 @@ paths: type: array items: *426 examples: - default: *886 + default: *887 headers: Link: *46 '304': *36 @@ -140638,7 +141024,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *887 + items: *888 required: - name - data_type @@ -140654,7 +141040,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *888 + iteration_configuration: *889 required: - name - data_type @@ -140676,8 +141062,8 @@ paths: value: name: Due date data_type: date - single_select_field: *889 - iteration_field: *890 + single_select_field: *890 + iteration_field: *891 responses: '201': description: Response @@ -140685,11 +141071,11 @@ paths: application/json: schema: *426 examples: - text_field: *891 - number_field: *892 - date_field: *893 - single_select_field: *894 - iteration_field: *895 + text_field: *892 + number_field: *893 + date_field: *894 + single_select_field: *895 + iteration_field: *896 '304': *36 '403': *27 '401': *23 @@ -140711,7 +141097,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-user parameters: - *423 - - *896 + - *897 - *131 responses: '200': @@ -140720,7 +141106,7 @@ paths: application/json: schema: *426 examples: - default: *897 + default: *898 headers: Link: *46 '304': *36 @@ -141077,7 +141463,7 @@ paths: parameters: - *423 - *131 - - *898 + - *899 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -141356,9 +141742,9 @@ paths: application/json: schema: type: array - items: *868 + items: *869 examples: - default: *869 + default: *870 headers: Link: *46 x-github: @@ -141388,9 +141774,9 @@ paths: application/json: schema: type: array - items: *870 + items: *871 examples: - default: *899 + default: *900 headers: Link: *46 x-github: @@ -141415,7 +141801,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *131 - - *900 + - *901 - *111 - *17 - *19 @@ -141427,11 +141813,11 @@ paths: schema: anyOf: - type: array - items: *901 + items: *902 - type: array items: *79 examples: - default-response: *873 + default-response: *874 headers: Link: *46 x-github: @@ -141591,7 +141977,7 @@ webhooks: type: string enum: - disabled - enterprise: &902 + enterprise: &903 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -141660,7 +142046,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &903 + installation: &904 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -141681,7 +142067,7 @@ webhooks: required: - id - node_id - organization: &904 + organization: &905 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -141754,7 +142140,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &905 + repository: &906 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -142669,10 +143055,10 @@ webhooks: type: string enum: - enabled - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -142748,11 +143134,11 @@ webhooks: type: string enum: - created - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 - rule: &906 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 + rule: &907 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) @@ -142975,11 +143361,11 @@ webhooks: type: string enum: - deleted - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 - rule: *906 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 + rule: *907 sender: *4 required: - action @@ -143167,11 +143553,11 @@ webhooks: - everyone required: - from - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 - rule: *906 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 + rule: *907 sender: *4 required: - action @@ -143244,7 +143630,7 @@ webhooks: required: true content: application/json: - schema: &926 + schema: &927 title: Exemption request cancellation event type: object properties: @@ -143252,11 +143638,11 @@ webhooks: type: string enum: - cancelled - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 - exemption_request: &907 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 + exemption_request: &908 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -143565,7 +143951,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &908 + items: &909 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -143677,7 +144063,7 @@ webhooks: required: true content: application/json: - schema: &927 + schema: &928 title: Exemption request completed event type: object properties: @@ -143685,11 +144071,11 @@ webhooks: type: string enum: - completed - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 - exemption_request: *907 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 + exemption_request: *908 sender: *4 required: - action @@ -143761,7 +144147,7 @@ webhooks: required: true content: application/json: - schema: &924 + schema: &925 title: Exemption request created event type: object properties: @@ -143769,11 +144155,11 @@ webhooks: type: string enum: - created - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 - exemption_request: *907 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 + exemption_request: *908 sender: *4 required: - action @@ -143845,7 +144231,7 @@ webhooks: required: true content: application/json: - schema: &928 + schema: &929 title: Exemption response dismissed event type: object properties: @@ -143853,12 +144239,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 - exemption_request: *907 - exemption_response: *908 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 + exemption_request: *908 + exemption_response: *909 sender: *4 required: - action @@ -143932,7 +144318,7 @@ webhooks: required: true content: application/json: - schema: &925 + schema: &926 title: Exemption response submitted event type: object properties: @@ -143940,12 +144326,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 - exemption_request: *907 - exemption_response: *908 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 + exemption_request: *908 + exemption_response: *909 sender: *4 required: - action @@ -144029,7 +144415,7 @@ webhooks: type: string enum: - completed - check_run: &910 + check_run: &911 title: CheckRun description: A check performed on the code of a given code change type: object @@ -144139,7 +144525,7 @@ webhooks: - examples: - neutral - deployment: *909 + deployment: *910 details_url: type: string examples: @@ -144237,10 +144623,10 @@ webhooks: - output - app - pull_requests - installation: *903 - enterprise: *902 - organization: *904 - repository: *905 + installation: *904 + enterprise: *903 + organization: *905 + repository: *906 sender: *4 required: - check_run @@ -144631,11 +145017,11 @@ webhooks: type: string enum: - created - check_run: *910 - installation: *903 - enterprise: *902 - organization: *904 - repository: *905 + check_run: *911 + installation: *904 + enterprise: *903 + organization: *905 + repository: *906 sender: *4 required: - check_run @@ -145029,11 +145415,11 @@ webhooks: type: string enum: - requested_action - check_run: *910 - installation: *903 - enterprise: *902 - organization: *904 - repository: *905 + check_run: *911 + installation: *904 + enterprise: *903 + organization: *905 + repository: *906 requested_action: description: The action requested by the user. type: object @@ -145436,11 +145822,11 @@ webhooks: type: string enum: - rerequested - check_run: *910 - installation: *903 - enterprise: *902 - organization: *904 - repository: *905 + check_run: *911 + installation: *904 + enterprise: *903 + organization: *905 + repository: *906 sender: *4 required: - check_run @@ -146425,10 +146811,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -147142,10 +147528,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -147853,10 +148239,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -148177,20 +148563,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &911 + commit_oid: &912 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: *902 - installation: *903 - organization: *904 - ref: &912 + enterprise: *903 + installation: *904 + organization: *905 + ref: &913 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: *905 + repository: *906 sender: *4 required: - action @@ -148598,12 +148984,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *911 - enterprise: *902 - installation: *903 - organization: *904 - ref: *912 - repository: *905 + commit_oid: *912 + enterprise: *903 + installation: *904 + organization: *905 + ref: *913 + repository: *906 sender: *4 required: - action @@ -148886,12 +149272,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *911 - enterprise: *902 - installation: *903 - organization: *904 - ref: *912 - repository: *905 + commit_oid: *912 + enterprise: *903 + installation: *904 + organization: *905 + ref: *913 + repository: *906 sender: *4 required: - action @@ -149237,12 +149623,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *911 - enterprise: *902 - installation: *903 - organization: *904 - ref: *912 - repository: *905 + commit_oid: *912 + enterprise: *903 + installation: *904 + organization: *905 + ref: *913 + repository: *906 sender: *4 required: - action @@ -149532,9 +149918,9 @@ webhooks: type: - string - 'null' - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -149542,7 +149928,7 @@ webhooks: type: - string - 'null' - repository: *905 + repository: *906 sender: *4 required: - action @@ -149788,12 +150174,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *911 - enterprise: *902 - installation: *903 - organization: *904 - ref: *912 - repository: *905 + commit_oid: *912 + enterprise: *903 + installation: *904 + organization: *905 + ref: *913 + repository: *906 sender: *4 required: - action @@ -150114,10 +150500,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -150377,10 +150763,10 @@ webhooks: - updated_at - author_association - body - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -150461,18 +150847,18 @@ webhooks: type: - string - 'null' - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *904 - pusher_type: &913 + organization: *905 + pusher_type: &914 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &914 + ref: &915 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference) resource. type: string @@ -150482,7 +150868,7 @@ webhooks: enum: - tag - branch - repository: *905 + repository: *906 sender: *4 required: - ref @@ -150565,9 +150951,9 @@ webhooks: enum: - created definition: *157 - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 sender: *4 required: - action @@ -150652,9 +151038,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 sender: *4 required: - action @@ -150732,9 +151118,9 @@ webhooks: enum: - promote_to_enterprise definition: *157 - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 sender: *4 required: - action @@ -150812,9 +151198,9 @@ webhooks: enum: - updated definition: *157 - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 sender: *4 required: - action @@ -150891,10 +151277,10 @@ webhooks: type: string enum: - updated - enterprise: *902 - installation: *903 - repository: *905 - organization: *904 + enterprise: *903 + installation: *904 + repository: *906 + organization: *905 sender: *4 new_property_values: type: array @@ -150979,18 +151365,18 @@ webhooks: title: delete event type: object properties: - enterprise: *902 - installation: *903 - organization: *904 - pusher_type: *913 - ref: *914 + enterprise: *903 + installation: *904 + organization: *905 + pusher_type: *914 + ref: *915 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *905 + repository: *906 sender: *4 required: - ref @@ -151071,10 +151457,10 @@ webhooks: enum: - assignees_changed alert: *627 - installation: *903 - organization: *904 - enterprise: *902 - repository: *905 + installation: *904 + organization: *905 + enterprise: *903 + repository: *906 sender: *4 required: - action @@ -151155,10 +151541,10 @@ webhooks: enum: - auto_dismissed alert: *627 - installation: *903 - organization: *904 - enterprise: *902 - repository: *905 + installation: *904 + organization: *905 + enterprise: *903 + repository: *906 sender: *4 required: - action @@ -151240,10 +151626,10 @@ webhooks: enum: - auto_reopened alert: *627 - installation: *903 - organization: *904 - enterprise: *902 - repository: *905 + installation: *904 + organization: *905 + enterprise: *903 + repository: *906 sender: *4 required: - action @@ -151325,10 +151711,10 @@ webhooks: enum: - created alert: *627 - installation: *903 - organization: *904 - enterprise: *902 - repository: *905 + installation: *904 + organization: *905 + enterprise: *903 + repository: *906 sender: *4 required: - action @@ -151408,10 +151794,10 @@ webhooks: enum: - dismissed alert: *627 - installation: *903 - organization: *904 - enterprise: *902 - repository: *905 + installation: *904 + organization: *905 + enterprise: *903 + repository: *906 sender: *4 required: - action @@ -151491,10 +151877,10 @@ webhooks: enum: - fixed alert: *627 - installation: *903 - organization: *904 - enterprise: *902 - repository: *905 + installation: *904 + organization: *905 + enterprise: *903 + repository: *906 sender: *4 required: - action @@ -151575,10 +151961,10 @@ webhooks: enum: - reintroduced alert: *627 - installation: *903 - organization: *904 - enterprise: *902 - repository: *905 + installation: *904 + organization: *905 + enterprise: *903 + repository: *906 sender: *4 required: - action @@ -151658,10 +152044,10 @@ webhooks: enum: - reopened alert: *627 - installation: *903 - organization: *904 - enterprise: *902 - repository: *905 + installation: *904 + organization: *905 + enterprise: *903 + repository: *906 sender: *4 required: - action @@ -151738,9 +152124,9 @@ webhooks: type: string enum: - created - enterprise: *902 - installation: *903 - key: &915 + enterprise: *903 + installation: *904 + key: &916 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -151778,8 +152164,8 @@ webhooks: - verified - created_at - read_only - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -151856,11 +152242,11 @@ webhooks: type: string enum: - deleted - enterprise: *902 - installation: *903 - key: *915 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + key: *916 + organization: *905 + repository: *906 sender: *4 required: - action @@ -152427,12 +152813,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 - workflow: &919 + workflow: &920 title: Workflow type: - object @@ -153187,9 +153573,9 @@ webhooks: pull_requests: type: array items: *745 - repository: *905 - organization: *904 - installation: *903 + repository: *906 + organization: *905 + installation: *904 sender: *4 responses: '200': @@ -153260,7 +153646,7 @@ webhooks: type: string enum: - approved - approver: &916 + approver: &917 type: object properties: avatar_url: @@ -153303,11 +153689,11 @@ webhooks: type: string comment: type: string - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 - reviewers: &917 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 + reviewers: &918 type: array items: type: object @@ -153388,7 +153774,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &918 + workflow_job_run: &919 type: object properties: conclusion: @@ -154134,18 +154520,18 @@ webhooks: type: string enum: - rejected - approver: *916 + approver: *917 comment: type: string - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 - reviewers: *917 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 + reviewers: *918 sender: *4 since: type: string - workflow_job_run: *918 + workflow_job_run: *919 workflow_job_runs: type: array items: @@ -154862,13 +155248,13 @@ webhooks: type: string enum: - requested - enterprise: *902 + enterprise: *903 environment: type: string - installation: *903 - organization: *904 - repository: *905 - requestor: &929 + installation: *904 + organization: *905 + repository: *906 + requestor: &930 title: User type: - object @@ -156801,12 +157187,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 - workflow: *919 + workflow: *920 workflow_run: title: Deployment Workflow Run type: @@ -157497,7 +157883,7 @@ webhooks: type: string enum: - answered - answer: &922 + answer: &923 type: object properties: author_association: @@ -157657,11 +158043,11 @@ webhooks: - created_at - updated_at - body - discussion: *920 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + discussion: *921 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -157788,11 +158174,11 @@ webhooks: - from required: - category - discussion: *920 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + discussion: *921 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -157875,11 +158261,11 @@ webhooks: type: string enum: - closed - discussion: *920 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + discussion: *921 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -157961,7 +158347,7 @@ webhooks: type: string enum: - created - comment: &921 + comment: &922 type: object properties: author_association: @@ -158121,11 +158507,11 @@ webhooks: - updated_at - body - reactions - discussion: *920 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + discussion: *921 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -158208,12 +158594,12 @@ webhooks: type: string enum: - deleted - comment: *921 - discussion: *920 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + comment: *922 + discussion: *921 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -158308,12 +158694,12 @@ webhooks: - from required: - body - comment: *921 - discussion: *920 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + comment: *922 + discussion: *921 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -158397,11 +158783,11 @@ webhooks: type: string enum: - created - discussion: *920 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + discussion: *921 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -158483,11 +158869,11 @@ webhooks: type: string enum: - deleted - discussion: *920 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + discussion: *921 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -158587,11 +158973,11 @@ webhooks: type: string required: - from - discussion: *920 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + discussion: *921 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -158673,10 +159059,10 @@ webhooks: type: string enum: - labeled - discussion: *920 - enterprise: *902 - installation: *903 - label: &923 + discussion: *921 + enterprise: *903 + installation: *904 + label: &924 title: Label type: object properties: @@ -158709,8 +159095,8 @@ webhooks: - color - default - description - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -158793,11 +159179,11 @@ webhooks: type: string enum: - locked - discussion: *920 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + discussion: *921 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -158879,11 +159265,11 @@ webhooks: type: string enum: - pinned - discussion: *920 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + discussion: *921 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -158965,11 +159351,11 @@ webhooks: type: string enum: - reopened - discussion: *920 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + discussion: *921 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -159054,16 +159440,16 @@ webhooks: changes: type: object properties: - new_discussion: *920 - new_repository: *905 + new_discussion: *921 + new_repository: *906 required: - new_discussion - new_repository - discussion: *920 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + discussion: *921 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -159146,10 +159532,10 @@ webhooks: type: string enum: - unanswered - discussion: *920 - old_answer: *922 - organization: *904 - repository: *905 + discussion: *921 + old_answer: *923 + organization: *905 + repository: *906 sender: *4 required: - action @@ -159231,12 +159617,12 @@ webhooks: type: string enum: - unlabeled - discussion: *920 - enterprise: *902 - installation: *903 - label: *923 - organization: *904 - repository: *905 + discussion: *921 + enterprise: *903 + installation: *904 + label: *924 + organization: *905 + repository: *906 sender: *4 required: - action @@ -159319,11 +159705,11 @@ webhooks: type: string enum: - unlocked - discussion: *920 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + discussion: *921 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -159405,11 +159791,11 @@ webhooks: type: string enum: - unpinned - discussion: *920 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + discussion: *921 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -159478,7 +159864,7 @@ webhooks: required: true content: application/json: - schema: *924 + schema: *925 responses: '200': description: Return a 200 status to indicate that the data was received @@ -159541,7 +159927,7 @@ webhooks: required: true content: application/json: - schema: *925 + schema: *926 responses: '200': description: Return a 200 status to indicate that the data was received @@ -159604,7 +159990,7 @@ webhooks: required: true content: application/json: - schema: *926 + schema: *927 responses: '200': description: Return a 200 status to indicate that the data was received @@ -159667,7 +160053,7 @@ webhooks: required: true content: application/json: - schema: *924 + schema: *925 responses: '200': description: Return a 200 status to indicate that the data was received @@ -159730,7 +160116,7 @@ webhooks: required: true content: application/json: - schema: *925 + schema: *926 responses: '200': description: Return a 200 status to indicate that the data was received @@ -159796,7 +160182,7 @@ webhooks: required: true content: application/json: - schema: *926 + schema: *927 responses: '200': description: Return a 200 status to indicate that the data was received @@ -159862,7 +160248,7 @@ webhooks: required: true content: application/json: - schema: *927 + schema: *928 responses: '200': description: Return a 200 status to indicate that the data was received @@ -159928,7 +160314,7 @@ webhooks: required: true content: application/json: - schema: *924 + schema: *925 responses: '200': description: Return a 200 status to indicate that the data was received @@ -159994,7 +160380,7 @@ webhooks: required: true content: application/json: - schema: *928 + schema: *929 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160060,7 +160446,7 @@ webhooks: required: true content: application/json: - schema: *925 + schema: *926 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160125,7 +160511,7 @@ webhooks: required: true content: application/json: - schema: *926 + schema: *927 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160190,7 +160576,7 @@ webhooks: required: true content: application/json: - schema: *927 + schema: *928 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160255,7 +160641,7 @@ webhooks: required: true content: application/json: - schema: *924 + schema: *925 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160320,7 +160706,7 @@ webhooks: required: true content: application/json: - schema: *928 + schema: *929 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160386,7 +160772,7 @@ webhooks: required: true content: application/json: - schema: *925 + schema: *926 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160453,7 +160839,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *902 + enterprise: *903 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository) resource. @@ -161131,9 +161517,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *903 - organization: *904 - repository: *905 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - forkee @@ -161279,9 +161665,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 pages: description: The pages that were updated. type: array @@ -161319,7 +161705,7 @@ webhooks: - action - sha - html_url - repository: *905 + repository: *906 sender: *4 required: - pages @@ -161395,10 +161781,10 @@ webhooks: type: string enum: - created - enterprise: *902 + enterprise: *903 installation: *20 - organization: *904 - repositories: &930 + organization: *905 + repositories: &931 description: An array of repository objects that the installation can access. type: array @@ -161424,8 +161810,8 @@ webhooks: - name - full_name - private - repository: *905 - requester: *929 + repository: *906 + requester: *930 sender: *4 required: - action @@ -161500,11 +161886,11 @@ webhooks: type: string enum: - deleted - enterprise: *902 + enterprise: *903 installation: *20 - organization: *904 - repositories: *930 - repository: *905 + organization: *905 + repositories: *931 + repository: *906 requester: type: - 'null' @@ -161581,11 +161967,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *902 + enterprise: *903 installation: *20 - organization: *904 - repositories: *930 - repository: *905 + organization: *905 + repositories: *931 + repository: *906 requester: type: - 'null' @@ -161662,10 +162048,10 @@ webhooks: type: string enum: - added - enterprise: *902 + enterprise: *903 installation: *20 - organization: *904 - repositories_added: &931 + organization: *905 + repositories_added: &932 description: An array of repository objects, which were added to the installation. type: array @@ -161711,15 +162097,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *905 - repository_selection: &932 + repository: *906 + repository_selection: &933 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *929 + requester: *930 sender: *4 required: - action @@ -161798,10 +162184,10 @@ webhooks: type: string enum: - removed - enterprise: *902 + enterprise: *903 installation: *20 - organization: *904 - repositories_added: *931 + organization: *905 + repositories_added: *932 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -161828,9 +162214,9 @@ webhooks: - name - full_name - private - repository: *905 - repository_selection: *932 - requester: *929 + repository: *906 + repository_selection: *933 + requester: *930 sender: *4 required: - action @@ -161909,11 +162295,11 @@ webhooks: type: string enum: - suspend - enterprise: *902 + enterprise: *903 installation: *20 - organization: *904 - repositories: *930 - repository: *905 + organization: *905 + repositories: *931 + repository: *906 requester: type: - 'null' @@ -162096,10 +162482,10 @@ webhooks: type: string required: - from - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 target_type: type: string @@ -162178,11 +162564,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *902 + enterprise: *903 installation: *20 - organization: *904 - repositories: *930 - repository: *905 + organization: *905 + repositories: *931 + repository: *906 requester: type: - 'null' @@ -162438,8 +162824,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -163251,8 +163637,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163613,8 +163999,8 @@ webhooks: - state - locked - assignee - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -163694,7 +164080,7 @@ webhooks: type: string enum: - deleted - comment: &933 + comment: &934 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment) itself. @@ -163869,8 +164255,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -164678,8 +165064,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165042,8 +165428,8 @@ webhooks: - state - locked - assignee - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -165123,7 +165509,7 @@ webhooks: type: string enum: - edited - changes: &957 + changes: &958 description: The changes to the comment. type: object properties: @@ -165135,9 +165521,9 @@ webhooks: type: string required: - from - comment: *933 - enterprise: *902 - installation: *903 + comment: *934 + enterprise: *903 + installation: *904 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -165948,8 +166334,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166310,8 +166696,8 @@ webhooks: - state - locked - assignee - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -166392,9 +166778,9 @@ webhooks: type: string enum: - pinned - comment: *933 - enterprise: *902 - installation: *903 + comment: *934 + enterprise: *903 + installation: *904 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -167207,8 +167593,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 state: description: State of the issue; either 'open' or 'closed' type: string @@ -167571,8 +167957,8 @@ webhooks: - state - locked - assignee - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -167652,9 +168038,9 @@ webhooks: type: string enum: - unpinned - comment: *933 - enterprise: *902 - installation: *903 + comment: *934 + enterprise: *903 + installation: *904 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -168467,8 +168853,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 state: description: State of the issue; either 'open' or 'closed' type: string @@ -168831,8 +169217,8 @@ webhooks: - state - locked - assignee - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -168921,9 +169307,9 @@ webhooks: type: number blocking_issue: *225 blocking_issue_repo: *79 - installation: *903 - organization: *904 - repository: *905 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -169012,9 +169398,9 @@ webhooks: type: number blocking_issue: *225 blocking_issue_repo: *79 - installation: *903 - organization: *904 - repository: *905 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -169102,9 +169488,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *225 - installation: *903 - organization: *904 - repository: *905 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -169193,9 +169579,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *225 - installation: *903 - organization: *904 - repository: *905 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -169275,10 +169661,10 @@ webhooks: type: string enum: - assigned - assignee: *929 - enterprise: *902 - installation: *903 - issue: &934 + assignee: *930 + enterprise: *903 + installation: *904 + issue: &935 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -170089,8 +170475,8 @@ webhooks: anyOf: - type: 'null' - *226 - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 issue_field_values: type: array items: *691 @@ -170213,8 +170599,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -170294,8 +170680,8 @@ webhooks: type: string enum: - closed - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -171111,8 +171497,8 @@ webhooks: anyOf: - type: 'null' - *226 - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 issue_field_values: type: array items: *691 @@ -171378,8 +171764,8 @@ webhooks: required: - state - closed_at - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -171458,8 +171844,8 @@ webhooks: type: string enum: - deleted - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -172266,8 +172652,8 @@ webhooks: anyOf: - type: 'null' - *226 - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 issue_field_values: type: array items: *691 @@ -172389,8 +172775,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -172469,8 +172855,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -173300,8 +173686,8 @@ webhooks: anyOf: - type: 'null' - *226 - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 issue_field_values: type: array items: *691 @@ -173402,7 +173788,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &935 + milestone: &936 title: Milestone description: A collection of related issues and pull requests. type: object @@ -173545,8 +173931,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -173645,8 +174031,8 @@ webhooks: type: string required: - from - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -174457,8 +174843,8 @@ webhooks: anyOf: - type: 'null' - *226 - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 issue_field_values: type: array items: *691 @@ -174581,9 +174967,9 @@ webhooks: - active_lock_reason - body - reactions - label: *923 - organization: *904 - repository: *905 + label: *924 + organization: *905 + repository: *906 sender: *4 required: - action @@ -174663,9 +175049,9 @@ webhooks: type: string enum: - field_added - enterprise: *902 - installation: *903 - issue: *934 + enterprise: *903 + installation: *904 + issue: *935 issue_field: type: object description: The issue field whose value was set or updated on the @@ -174831,8 +175217,8 @@ webhooks: - id required: - from - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -174912,9 +175298,9 @@ webhooks: type: string enum: - field_removed - enterprise: *902 - installation: *903 - issue: *934 + enterprise: *903 + installation: *904 + issue: *935 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -175001,8 +175387,8 @@ webhooks: - 'null' required: - id - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -175082,8 +175468,8 @@ webhooks: type: string enum: - labeled - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -175893,8 +176279,8 @@ webhooks: anyOf: - type: 'null' - *226 - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 issue_field_values: type: array items: *691 @@ -176017,9 +176403,9 @@ webhooks: - active_lock_reason - body - reactions - label: *923 - organization: *904 - repository: *905 + label: *924 + organization: *905 + repository: *906 sender: *4 required: - action @@ -176099,8 +176485,8 @@ webhooks: type: string enum: - locked - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -176935,8 +177321,8 @@ webhooks: anyOf: - type: 'null' - *226 - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 issue_field_values: type: array items: *691 @@ -177036,8 +177422,8 @@ webhooks: format: uri user_view_type: type: string - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -177116,8 +177502,8 @@ webhooks: type: string enum: - milestoned - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -177946,8 +178332,8 @@ webhooks: anyOf: - type: 'null' - *226 - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 issue_field_values: type: array items: *691 @@ -178047,9 +178433,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *935 - organization: *904 - repository: *905 + milestone: *936 + organization: *905 + repository: *906 sender: *4 required: - action @@ -178936,8 +179322,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 issue_field_values: type: array items: *691 @@ -179532,8 +179918,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -180340,8 +180726,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 issue_field_values: type: array items: *691 @@ -180467,8 +180853,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -180548,9 +180934,9 @@ webhooks: type: string enum: - pinned - enterprise: *902 - installation: *903 - issue: &936 + enterprise: *903 + installation: *904 + issue: &937 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -181355,8 +181741,8 @@ webhooks: anyOf: - type: 'null' - *226 - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 issue_field_values: type: array items: *691 @@ -181478,8 +181864,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -181558,8 +181944,8 @@ webhooks: type: string enum: - reopened - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -182392,8 +182778,8 @@ webhooks: anyOf: - type: 'null' - *226 - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 issue_field_values: type: array items: *691 @@ -182494,8 +182880,8 @@ webhooks: user_view_type: type: string type: *390 - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -183383,8 +183769,8 @@ webhooks: anyOf: - type: 'null' - *226 - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 issue_field_values: type: array items: *691 @@ -183997,11 +184383,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *902 - installation: *903 - issue: *936 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + issue: *937 + organization: *905 + repository: *906 sender: *4 required: - action @@ -184081,12 +184467,12 @@ webhooks: type: string enum: - typed - enterprise: *902 - installation: *903 - issue: *934 + enterprise: *903 + installation: *904 + issue: *935 type: *390 - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -184167,7 +184553,7 @@ webhooks: type: string enum: - unassigned - assignee: &960 + assignee: &961 title: User type: - object @@ -184239,11 +184625,11 @@ webhooks: required: - login - id - enterprise: *902 - installation: *903 - issue: *934 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + issue: *935 + organization: *905 + repository: *906 sender: *4 required: - action @@ -184322,12 +184708,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *902 - installation: *903 - issue: *934 - label: *923 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + issue: *935 + label: *924 + organization: *905 + repository: *906 sender: *4 required: - action @@ -184407,8 +184793,8 @@ webhooks: type: string enum: - unlocked - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -185241,8 +185627,8 @@ webhooks: anyOf: - type: 'null' - *226 - sub_issues_summary: *839 - issue_dependencies_summary: *840 + sub_issues_summary: *840 + issue_dependencies_summary: *841 issue_field_values: type: array items: *691 @@ -185342,8 +185728,8 @@ webhooks: format: uri user_view_type: type: string - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -185423,11 +185809,11 @@ webhooks: type: string enum: - unpinned - enterprise: *902 - installation: *903 - issue: *936 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + issue: *937 + organization: *905 + repository: *906 sender: *4 required: - action @@ -185506,12 +185892,12 @@ webhooks: type: string enum: - untyped - enterprise: *902 - installation: *903 - issue: *934 + enterprise: *903 + installation: *904 + issue: *935 type: *390 - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -185591,11 +185977,11 @@ webhooks: type: string enum: - created - enterprise: *902 - installation: *903 - label: *923 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + label: *924 + organization: *905 + repository: *906 sender: *4 required: - action @@ -185673,11 +186059,11 @@ webhooks: type: string enum: - deleted - enterprise: *902 - installation: *903 - label: *923 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + label: *924 + organization: *905 + repository: *906 sender: *4 required: - action @@ -185787,11 +186173,11 @@ webhooks: type: string required: - from - enterprise: *902 - installation: *903 - label: *923 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + label: *924 + organization: *905 + repository: *906 sender: *4 required: - action @@ -185873,9 +186259,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *902 - installation: *903 - marketplace_purchase: &937 + enterprise: *903 + installation: *904 + marketplace_purchase: &938 title: Marketplace Purchase type: object required: @@ -185963,8 +186349,8 @@ webhooks: type: integer unit_count: type: integer - organization: *904 - previous_marketplace_purchase: &938 + organization: *905 + previous_marketplace_purchase: &939 title: Marketplace Purchase type: object properties: @@ -186048,7 +186434,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *905 + repository: *906 sender: *4 required: - action @@ -186128,10 +186514,10 @@ webhooks: - changed effective_date: type: string - enterprise: *902 - installation: *903 - marketplace_purchase: *937 - organization: *904 + enterprise: *903 + installation: *904 + marketplace_purchase: *938 + organization: *905 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -186219,7 +186605,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *905 + repository: *906 sender: *4 required: - action @@ -186301,10 +186687,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *902 - installation: *903 - marketplace_purchase: *937 - organization: *904 + enterprise: *903 + installation: *904 + marketplace_purchase: *938 + organization: *905 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -186390,7 +186776,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *905 + repository: *906 sender: *4 required: - action @@ -186471,8 +186857,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 marketplace_purchase: title: Marketplace Purchase type: object @@ -186558,9 +186944,9 @@ webhooks: type: integer unit_count: type: integer - organization: *904 - previous_marketplace_purchase: *938 - repository: *905 + organization: *905 + previous_marketplace_purchase: *939 + repository: *906 sender: *4 required: - action @@ -186640,12 +187026,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *902 - installation: *903 - marketplace_purchase: *937 - organization: *904 - previous_marketplace_purchase: *938 - repository: *905 + enterprise: *903 + installation: *904 + marketplace_purchase: *938 + organization: *905 + previous_marketplace_purchase: *939 + repository: *906 sender: *4 required: - action @@ -186747,11 +187133,11 @@ webhooks: type: string required: - to - enterprise: *902 - installation: *903 - member: *929 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + member: *930 + organization: *905 + repository: *906 sender: *4 required: - action @@ -186853,11 +187239,11 @@ webhooks: type: - string - 'null' - enterprise: *902 - installation: *903 - member: *929 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + member: *930 + organization: *905 + repository: *906 sender: *4 required: - action @@ -186936,11 +187322,11 @@ webhooks: type: string enum: - removed - enterprise: *902 - installation: *903 - member: *929 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + member: *930 + organization: *905 + repository: *906 sender: *4 required: - action @@ -187018,11 +187404,11 @@ webhooks: type: string enum: - added - enterprise: *902 - installation: *903 - member: *929 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + member: *930 + organization: *905 + repository: *906 scope: description: The scope of the membership. Currently, can only be `team`. @@ -187100,7 +187486,7 @@ webhooks: required: - login - id - team: &939 + team: &940 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -187330,11 +187716,11 @@ webhooks: type: string enum: - removed - enterprise: *902 - installation: *903 - member: *929 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + member: *930 + organization: *905 + repository: *906 scope: description: The scope of the membership. Currently, can only be `team`. @@ -187413,7 +187799,7 @@ webhooks: required: - login - id - team: *939 + team: *940 required: - action - scope @@ -187495,8 +187881,8 @@ webhooks: type: string enum: - checks_requested - installation: *903 - merge_group: &940 + installation: *904 + merge_group: &941 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -187522,8 +187908,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -187609,10 +187995,10 @@ webhooks: - merged - invalidated - dequeued - installation: *903 - merge_group: *940 - organization: *904 - repository: *905 + installation: *904 + merge_group: *941 + organization: *905 + repository: *906 sender: *4 required: - action @@ -187685,7 +188071,7 @@ webhooks: type: string enum: - deleted - enterprise: *902 + enterprise: *903 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -187794,12 +188180,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *903 - organization: *904 + installation: *904 + organization: *905 repository: anyOf: - type: 'null' - - *905 + - *906 sender: *4 required: - action @@ -187879,11 +188265,11 @@ webhooks: type: string enum: - closed - enterprise: *902 - installation: *903 - milestone: *935 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + milestone: *936 + organization: *905 + repository: *906 sender: *4 required: - action @@ -187962,9 +188348,9 @@ webhooks: type: string enum: - created - enterprise: *902 - installation: *903 - milestone: &941 + enterprise: *903 + installation: *904 + milestone: &942 title: Milestone description: A collection of related issues and pull requests. type: object @@ -188106,8 +188492,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -188186,11 +188572,11 @@ webhooks: type: string enum: - deleted - enterprise: *902 - installation: *903 - milestone: *935 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + milestone: *936 + organization: *905 + repository: *906 sender: *4 required: - action @@ -188300,11 +188686,11 @@ webhooks: type: string required: - from - enterprise: *902 - installation: *903 - milestone: *935 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + milestone: *936 + organization: *905 + repository: *906 sender: *4 required: - action @@ -188384,11 +188770,11 @@ webhooks: type: string enum: - opened - enterprise: *902 - installation: *903 - milestone: *941 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + milestone: *942 + organization: *905 + repository: *906 sender: *4 required: - action @@ -188467,11 +188853,11 @@ webhooks: type: string enum: - blocked - blocked_user: *929 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + blocked_user: *930 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -188550,11 +188936,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *929 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + blocked_user: *930 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -188630,7 +189016,7 @@ webhooks: enum: - created definition: *152 - enterprise: *902 + enterprise: *903 sender: *4 required: - action @@ -188710,8 +189096,8 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 sender: *4 required: - action @@ -188784,8 +189170,8 @@ webhooks: enum: - updated definition: *152 - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 sender: *4 required: - action @@ -188857,9 +189243,9 @@ webhooks: type: string enum: - updated - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 sender: *4 new_property_values: type: array @@ -188947,9 +189333,9 @@ webhooks: type: string enum: - deleted - enterprise: *902 - installation: *903 - membership: &942 + enterprise: *903 + installation: *904 + membership: &943 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -189059,8 +189445,8 @@ webhooks: - role - organization_url - user - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 required: - action @@ -189138,11 +189524,11 @@ webhooks: type: string enum: - member_added - enterprise: *902 - installation: *903 - membership: *942 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + membership: *943 + organization: *905 + repository: *906 sender: *4 required: - action @@ -189221,8 +189607,8 @@ webhooks: type: string enum: - member_invited - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -189344,10 +189730,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 - user: *929 + user: *930 required: - action - invitation @@ -189425,11 +189811,11 @@ webhooks: type: string enum: - member_removed - enterprise: *902 - installation: *903 - membership: *942 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + membership: *943 + organization: *905 + repository: *906 sender: *4 required: - action @@ -189516,11 +189902,11 @@ webhooks: properties: from: type: string - enterprise: *902 - installation: *903 - membership: *942 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + membership: *943 + organization: *905 + repository: *906 sender: *4 required: - action @@ -189598,9 +189984,9 @@ webhooks: type: string enum: - published - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 package: description: Information about the package. type: object @@ -190123,7 +190509,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &943 + items: &944 title: Ruby Gems metadata type: object properties: @@ -190220,7 +190606,7 @@ webhooks: - owner - package_version - registry - repository: *905 + repository: *906 sender: *4 required: - action @@ -190297,9 +190683,9 @@ webhooks: type: string enum: - updated - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 package: description: Information about the package. type: object @@ -190661,7 +191047,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *943 + items: *944 source_url: type: string format: uri @@ -190732,7 +191118,7 @@ webhooks: - owner - package_version - registry - repository: *905 + repository: *906 sender: *4 required: - action @@ -190912,12 +191298,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *902 + enterprise: *903 id: type: integer - installation: *903 - organization: *904 - repository: *905 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - id @@ -190994,7 +191380,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &944 + personal_access_token_request: &945 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -191144,10 +191530,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *902 - organization: *904 + enterprise: *903 + organization: *905 sender: *4 - installation: *903 + installation: *904 required: - action - personal_access_token_request @@ -191224,11 +191610,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *944 - enterprise: *902 - organization: *904 + personal_access_token_request: *945 + enterprise: *903 + organization: *905 sender: *4 - installation: *903 + installation: *904 required: - action - personal_access_token_request @@ -191304,11 +191690,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *944 - enterprise: *902 - organization: *904 + personal_access_token_request: *945 + enterprise: *903 + organization: *905 sender: *4 - installation: *903 + installation: *904 required: - action - personal_access_token_request @@ -191383,11 +191769,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *944 - organization: *904 - enterprise: *902 + personal_access_token_request: *945 + organization: *905 + enterprise: *903 sender: *4 - installation: *903 + installation: *904 required: - action - personal_access_token_request @@ -191492,7 +191878,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *945 + last_response: *946 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -191524,8 +191910,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 zen: description: Random string of GitHub zen. @@ -191770,10 +192156,10 @@ webhooks: - from required: - note - enterprise: *902 - installation: *903 - organization: *904 - project_card: &946 + enterprise: *903 + installation: *904 + organization: *905 + project_card: &947 title: Project Card type: object properties: @@ -191896,7 +192282,7 @@ webhooks: - creator - created_at - updated_at - repository: *905 + repository: *906 sender: *4 required: - action @@ -191977,11 +192363,11 @@ webhooks: type: string enum: - created - enterprise: *902 - installation: *903 - organization: *904 - project_card: *946 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + project_card: *947 + repository: *906 sender: *4 required: - action @@ -192061,9 +192447,9 @@ webhooks: type: string enum: - deleted - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 project_card: title: Project Card type: object @@ -192193,7 +192579,7 @@ webhooks: repository: anyOf: - type: 'null' - - *905 + - *906 sender: *4 required: - action @@ -192287,11 +192673,11 @@ webhooks: - from required: - note - enterprise: *902 - installation: *903 - organization: *904 - project_card: *946 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + project_card: *947 + repository: *906 sender: *4 required: - action @@ -192385,9 +192771,9 @@ webhooks: - from required: - column_id - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 project_card: allOf: - title: Project Card @@ -192584,7 +192970,7 @@ webhooks: type: string required: - after_id - repository: *905 + repository: *906 sender: *4 required: - action @@ -192664,10 +193050,10 @@ webhooks: type: string enum: - closed - enterprise: *902 - installation: *903 - organization: *904 - project: &948 + enterprise: *903 + installation: *904 + organization: *905 + project: &949 title: Project type: object properties: @@ -192794,7 +193180,7 @@ webhooks: - creator - created_at - updated_at - repository: *905 + repository: *906 sender: *4 required: - action @@ -192874,10 +193260,10 @@ webhooks: type: string enum: - created - enterprise: *902 - installation: *903 - organization: *904 - project_column: &947 + enterprise: *903 + installation: *904 + organization: *905 + project_column: &948 title: Project Column type: object properties: @@ -192917,7 +193303,7 @@ webhooks: - name - created_at - updated_at - repository: *905 + repository: *906 sender: *4 required: - action @@ -192996,14 +193382,14 @@ webhooks: type: string enum: - deleted - enterprise: *902 - installation: *903 - organization: *904 - project_column: *947 + enterprise: *903 + installation: *904 + organization: *905 + project_column: *948 repository: anyOf: - type: 'null' - - *905 + - *906 sender: *4 required: - action @@ -193092,11 +193478,11 @@ webhooks: type: string required: - from - enterprise: *902 - installation: *903 - organization: *904 - project_column: *947 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + project_column: *948 + repository: *906 sender: *4 required: - action @@ -193176,11 +193562,11 @@ webhooks: type: string enum: - moved - enterprise: *902 - installation: *903 - organization: *904 - project_column: *947 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + project_column: *948 + repository: *906 sender: *4 required: - action @@ -193260,11 +193646,11 @@ webhooks: type: string enum: - created - enterprise: *902 - installation: *903 - organization: *904 - project: *948 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + project: *949 + repository: *906 sender: *4 required: - action @@ -193344,14 +193730,14 @@ webhooks: type: string enum: - deleted - enterprise: *902 - installation: *903 - organization: *904 - project: *948 + enterprise: *903 + installation: *904 + organization: *905 + project: *949 repository: anyOf: - type: 'null' - - *905 + - *906 sender: *4 required: - action @@ -193452,11 +193838,11 @@ webhooks: type: string required: - from - enterprise: *902 - installation: *903 - organization: *904 - project: *948 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + project: *949 + repository: *906 sender: *4 required: - action @@ -193535,11 +193921,11 @@ webhooks: type: string enum: - reopened - enterprise: *902 - installation: *903 - organization: *904 - project: *948 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + project: *949 + repository: *906 sender: *4 required: - action @@ -193620,8 +194006,8 @@ webhooks: type: string enum: - closed - installation: *903 - organization: *904 + installation: *904 + organization: *905 projects_v2: *421 sender: *4 required: @@ -193703,8 +194089,8 @@ webhooks: type: string enum: - created - installation: *903 - organization: *904 + installation: *904 + organization: *905 projects_v2: *421 sender: *4 required: @@ -193786,8 +194172,8 @@ webhooks: type: string enum: - deleted - installation: *903 - organization: *904 + installation: *904 + organization: *905 projects_v2: *421 sender: *4 required: @@ -193909,8 +194295,8 @@ webhooks: type: string to: type: string - installation: *903 - organization: *904 + installation: *904 + organization: *905 projects_v2: *421 sender: *4 required: @@ -193994,7 +194380,7 @@ webhooks: type: string enum: - archived - changes: &952 + changes: &953 type: object properties: archived_at: @@ -194010,9 +194396,9 @@ webhooks: - string - 'null' format: date-time - installation: *903 - organization: *904 - projects_v2_item: &949 + installation: *904 + organization: *905 + projects_v2_item: &950 title: Projects v2 Item description: An item belonging to a project type: object @@ -194152,9 +194538,9 @@ webhooks: - 'null' to: type: string - installation: *903 - organization: *904 - projects_v2_item: *949 + installation: *904 + organization: *905 + projects_v2_item: *950 sender: *4 required: - action @@ -194236,9 +194622,9 @@ webhooks: type: string enum: - created - installation: *903 - organization: *904 - projects_v2_item: *949 + installation: *904 + organization: *905 + projects_v2_item: *950 sender: *4 required: - action @@ -194319,9 +194705,9 @@ webhooks: type: string enum: - deleted - installation: *903 - organization: *904 - projects_v2_item: *949 + installation: *904 + organization: *905 + projects_v2_item: *950 sender: *4 required: - action @@ -194426,7 +194812,7 @@ webhooks: oneOf: - type: string - type: integer - - &950 + - &951 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -194450,7 +194836,7 @@ webhooks: required: - id - name - - &951 + - &952 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -194490,8 +194876,8 @@ webhooks: oneOf: - type: string - type: integer - - *950 - *951 + - *952 type: - 'null' - string @@ -194514,9 +194900,9 @@ webhooks: - 'null' required: - body - installation: *903 - organization: *904 - projects_v2_item: *949 + installation: *904 + organization: *905 + projects_v2_item: *950 sender: *4 required: - action @@ -194613,9 +194999,9 @@ webhooks: type: - string - 'null' - installation: *903 - organization: *904 - projects_v2_item: *949 + installation: *904 + organization: *905 + projects_v2_item: *950 sender: *4 required: - action @@ -194698,10 +195084,10 @@ webhooks: type: string enum: - restored - changes: *952 - installation: *903 - organization: *904 - projects_v2_item: *949 + changes: *953 + installation: *904 + organization: *905 + projects_v2_item: *950 sender: *4 required: - action @@ -194783,8 +195169,8 @@ webhooks: type: string enum: - reopened - installation: *903 - organization: *904 + installation: *904 + organization: *905 projects_v2: *421 sender: *4 required: @@ -194866,9 +195252,9 @@ webhooks: type: string enum: - created - installation: *903 - organization: *904 - projects_v2_status_update: *953 + installation: *904 + organization: *905 + projects_v2_status_update: *954 sender: *4 required: - action @@ -194949,9 +195335,9 @@ webhooks: type: string enum: - deleted - installation: *903 - organization: *904 - projects_v2_status_update: *953 + installation: *904 + organization: *905 + projects_v2_status_update: *954 sender: *4 required: - action @@ -195097,9 +195483,9 @@ webhooks: - string - 'null' format: date - installation: *903 - organization: *904 - projects_v2_status_update: *953 + installation: *904 + organization: *905 + projects_v2_status_update: *954 sender: *4 required: - action @@ -195170,10 +195556,10 @@ webhooks: title: public event type: object properties: - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - repository @@ -195250,13 +195636,13 @@ webhooks: type: string enum: - assigned - assignee: *929 - enterprise: *902 - installation: *903 - number: &954 + assignee: *930 + enterprise: *903 + installation: *904 + number: &955 description: The pull request number. type: integer - organization: *904 + organization: *905 pull_request: title: Pull Request type: object @@ -197609,7 +197995,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *905 + repository: *906 sender: *4 required: - action @@ -197691,11 +198077,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 number: type: integer - organization: *904 + organization: *905 pull_request: title: Pull Request type: object @@ -200041,7 +200427,7 @@ webhooks: - draft reason: type: string - repository: *905 + repository: *906 sender: *4 required: - action @@ -200123,11 +200509,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 number: type: integer - organization: *904 + organization: *905 pull_request: title: Pull Request type: object @@ -202473,7 +202859,7 @@ webhooks: - draft reason: type: string - repository: *905 + repository: *906 sender: *4 required: - action @@ -202555,11 +202941,11 @@ webhooks: type: string enum: - closed - enterprise: *902 - installation: *903 - number: *954 - organization: *904 - pull_request: &955 + enterprise: *903 + installation: *904 + number: *955 + organization: *905 + pull_request: &956 allOf: - *745 - type: object @@ -202623,7 +203009,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *905 + repository: *906 sender: *4 required: - action @@ -202704,12 +203090,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *902 - installation: *903 - number: *954 - organization: *904 - pull_request: *955 - repository: *905 + enterprise: *903 + installation: *904 + number: *955 + organization: *905 + pull_request: *956 + repository: *906 sender: *4 required: - action @@ -202789,11 +203175,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *902 + enterprise: *903 milestone: *424 - number: *954 - organization: *904 - pull_request: &956 + number: *955 + organization: *905 + pull_request: &957 title: Pull Request type: object properties: @@ -205138,7 +205524,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *905 + repository: *906 sender: *4 required: - action @@ -205217,11 +205603,11 @@ webhooks: type: string enum: - dequeued - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 number: type: integer - organization: *904 + organization: *905 pull_request: title: Pull Request type: object @@ -207585,7 +207971,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *905 + repository: *906 sender: *4 required: - action @@ -207709,12 +208095,12 @@ webhooks: type: string required: - from - enterprise: *902 - installation: *903 - number: *954 - organization: *904 - pull_request: *955 - repository: *905 + enterprise: *903 + installation: *904 + number: *955 + organization: *905 + pull_request: *956 + repository: *906 sender: *4 required: - action @@ -207794,11 +208180,11 @@ webhooks: type: string enum: - enqueued - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 number: type: integer - organization: *904 + organization: *905 pull_request: title: Pull Request type: object @@ -210147,7 +210533,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *905 + repository: *906 sender: *4 required: - action @@ -210227,11 +210613,11 @@ webhooks: type: string enum: - labeled - enterprise: *902 - installation: *903 - label: *923 - number: *954 - organization: *904 + enterprise: *903 + installation: *904 + label: *924 + number: *955 + organization: *905 pull_request: title: Pull Request type: object @@ -212583,7 +212969,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *905 + repository: *906 sender: *4 required: - action @@ -212664,10 +213050,10 @@ webhooks: type: string enum: - locked - enterprise: *902 - installation: *903 - number: *954 - organization: *904 + enterprise: *903 + installation: *904 + number: *955 + organization: *905 pull_request: title: Pull Request type: object @@ -215017,7 +215403,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *905 + repository: *906 sender: *4 required: - action @@ -215097,12 +215483,12 @@ webhooks: type: string enum: - milestoned - enterprise: *902 + enterprise: *903 milestone: *424 - number: *954 - organization: *904 - pull_request: *956 - repository: *905 + number: *955 + organization: *905 + pull_request: *957 + repository: *906 sender: *4 required: - action @@ -215181,12 +215567,12 @@ webhooks: type: string enum: - opened - enterprise: *902 - installation: *903 - number: *954 - organization: *904 - pull_request: *955 - repository: *905 + enterprise: *903 + installation: *904 + number: *955 + organization: *905 + pull_request: *956 + repository: *906 sender: *4 required: - action @@ -215267,12 +215653,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *902 - installation: *903 - number: *954 - organization: *904 - pull_request: *955 - repository: *905 + enterprise: *903 + installation: *904 + number: *955 + organization: *905 + pull_request: *956 + repository: *906 sender: *4 required: - action @@ -215352,12 +215738,12 @@ webhooks: type: string enum: - reopened - enterprise: *902 - installation: *903 - number: *954 - organization: *904 - pull_request: *955 - repository: *905 + enterprise: *903 + installation: *904 + number: *955 + organization: *905 + pull_request: *956 + repository: *906 sender: *4 required: - action @@ -215732,9 +216118,9 @@ webhooks: - start_side - side - reactions - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 pull_request: type: object properties: @@ -217968,7 +218354,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *905 + repository: *906 sender: *4 required: - action @@ -218048,7 +218434,7 @@ webhooks: type: string enum: - deleted - comment: &958 + comment: &959 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. @@ -218341,9 +218727,9 @@ webhooks: - start_side - side - reactions - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 pull_request: type: object properties: @@ -220565,7 +220951,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *905 + repository: *906 sender: *4 required: - action @@ -220645,11 +221031,11 @@ webhooks: type: string enum: - edited - changes: *957 - comment: *958 - enterprise: *902 - installation: *903 - organization: *904 + changes: *958 + comment: *959 + enterprise: *903 + installation: *904 + organization: *905 pull_request: type: object properties: @@ -222874,7 +223260,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *905 + repository: *906 sender: *4 required: - action @@ -222955,9 +223341,9 @@ webhooks: type: string enum: - dismissed - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 pull_request: title: Simple Pull Request type: object @@ -225194,7 +225580,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *905 + repository: *906 review: description: The review that was affected. type: object @@ -225445,9 +225831,9 @@ webhooks: type: string required: - from - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 pull_request: title: Simple Pull Request type: object @@ -227556,8 +227942,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *905 - review: &959 + repository: *906 + review: &960 description: The review that was affected. type: object properties: @@ -227795,12 +228181,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 number: description: The pull request number. type: integer - organization: *904 + organization: *905 pull_request: title: Pull Request type: object @@ -230151,7 +230537,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *905 + repository: *906 requested_reviewer: title: User type: @@ -230237,12 +230623,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 number: description: The pull request number. type: integer - organization: *904 + organization: *905 pull_request: title: Pull Request type: object @@ -232600,7 +232986,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *905 + repository: *906 requested_team: title: Team description: Groups of organization members that gives permissions @@ -232795,12 +233181,12 @@ webhooks: type: string enum: - review_requested - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 number: description: The pull request number. type: integer - organization: *904 + organization: *905 pull_request: title: Pull Request type: object @@ -235153,7 +235539,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *905 + repository: *906 requested_reviewer: title: User type: @@ -235240,12 +235626,12 @@ webhooks: type: string enum: - review_requested - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 number: description: The pull request number. type: integer - organization: *904 + organization: *905 pull_request: title: Pull Request type: object @@ -237589,7 +237975,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *905 + repository: *906 requested_team: title: Team description: Groups of organization members that gives permissions @@ -237773,9 +238159,9 @@ webhooks: type: string enum: - submitted - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 pull_request: title: Simple Pull Request type: object @@ -240015,8 +240401,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *905 - review: *959 + repository: *906 + review: *960 sender: *4 required: - action @@ -240096,9 +240482,9 @@ webhooks: type: string enum: - resolved - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 pull_request: title: Simple Pull Request type: object @@ -242247,7 +242633,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *905 + repository: *906 sender: *4 thread: type: object @@ -242644,9 +243030,9 @@ webhooks: type: string enum: - unresolved - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 pull_request: title: Simple Pull Request type: object @@ -244778,7 +245164,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *905 + repository: *906 sender: *4 thread: type: object @@ -245171,11 +245557,11 @@ webhooks: type: string enum: - stacked - enterprise: *902 - installation: *903 + enterprise: *903 + installation: *904 stack: *742 - number: *954 - organization: *904 + number: *955 + organization: *905 pull_request: title: Pull Request type: object @@ -247527,7 +247913,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *905 + repository: *906 sender: *4 required: - action @@ -247613,10 +247999,10 @@ webhooks: type: string before: type: string - enterprise: *902 - installation: *903 - number: *954 - organization: *904 + enterprise: *903 + installation: *904 + number: *955 + organization: *905 pull_request: title: Pull Request type: object @@ -249955,7 +250341,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *905 + repository: *906 sender: *4 required: - action @@ -250037,11 +250423,11 @@ webhooks: type: string enum: - unassigned - assignee: *960 - enterprise: *902 - installation: *903 - number: *954 - organization: *904 + assignee: *961 + enterprise: *903 + installation: *904 + number: *955 + organization: *905 pull_request: title: Pull Request type: object @@ -252395,7 +252781,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *905 + repository: *906 sender: *4 required: - action @@ -252474,11 +252860,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *902 - installation: *903 - label: *923 - number: *954 - organization: *904 + enterprise: *903 + installation: *904 + label: *924 + number: *955 + organization: *905 pull_request: title: Pull Request type: object @@ -254821,7 +255207,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *905 + repository: *906 sender: *4 required: - action @@ -254902,10 +255288,10 @@ webhooks: type: string enum: - unlocked - enterprise: *902 - installation: *903 - number: *954 - organization: *904 + enterprise: *903 + installation: *904 + number: *955 + organization: *905 pull_request: title: Pull Request type: object @@ -257238,7 +257624,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *905 + repository: *906 sender: *4 required: - action @@ -257441,7 +257827,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *902 + enterprise: *903 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -257536,8 +257922,8 @@ webhooks: - url - author - committer - installation: *903 - organization: *904 + installation: *904 + organization: *905 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -258136,9 +258522,9 @@ webhooks: type: string enum: - published - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 registry_package: type: object properties: @@ -258615,7 +259001,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *943 + items: *944 summary: type: string tag_name: @@ -258671,7 +259057,7 @@ webhooks: - owner - package_version - registry - repository: *905 + repository: *906 sender: *4 required: - action @@ -258749,9 +259135,9 @@ webhooks: type: string enum: - updated - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 registry_package: type: object properties: @@ -259063,7 +259449,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *943 + items: *944 summary: type: string tag_name: @@ -259113,7 +259499,7 @@ webhooks: - owner - package_version - registry - repository: *905 + repository: *906 sender: *4 required: - action @@ -259190,10 +259576,10 @@ webhooks: type: string enum: - created - enterprise: *902 - installation: *903 - organization: *904 - release: &961 + enterprise: *903 + installation: *904 + organization: *905 + release: &962 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -259524,7 +259910,7 @@ webhooks: - updated_at - zipball_url - body - repository: *905 + repository: *906 sender: *4 required: - action @@ -259601,11 +259987,11 @@ webhooks: type: string enum: - deleted - enterprise: *902 - installation: *903 - organization: *904 - release: *961 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + release: *962 + repository: *906 sender: *4 required: - action @@ -259722,11 +260108,11 @@ webhooks: type: boolean required: - to - enterprise: *902 - installation: *903 - organization: *904 - release: *961 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + release: *962 + repository: *906 sender: *4 required: - action @@ -259804,9 +260190,9 @@ webhooks: type: string enum: - prereleased - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) @@ -260142,7 +260528,7 @@ webhooks: - string - 'null' format: uri - repository: *905 + repository: *906 sender: *4 required: - action @@ -260218,10 +260604,10 @@ webhooks: type: string enum: - published - enterprise: *902 - installation: *903 - organization: *904 - release: &962 + enterprise: *903 + installation: *904 + organization: *905 + release: &963 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -260554,7 +260940,7 @@ webhooks: - string - 'null' format: uri - repository: *905 + repository: *906 sender: *4 required: - action @@ -260630,11 +261016,11 @@ webhooks: type: string enum: - released - enterprise: *902 - installation: *903 - organization: *904 - release: *961 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + release: *962 + repository: *906 sender: *4 required: - action @@ -260710,11 +261096,11 @@ webhooks: type: string enum: - unpublished - enterprise: *902 - installation: *903 - organization: *904 - release: *962 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + release: *963 + repository: *906 sender: *4 required: - action @@ -260790,11 +261176,11 @@ webhooks: type: string enum: - published - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 - repository_advisory: *799 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 + repository_advisory: *800 sender: *4 required: - action @@ -260870,11 +261256,11 @@ webhooks: type: string enum: - reported - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 - repository_advisory: *799 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 + repository_advisory: *800 sender: *4 required: - action @@ -260950,10 +261336,10 @@ webhooks: type: string enum: - archived - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -261030,10 +261416,10 @@ webhooks: type: string enum: - created - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -261111,10 +261497,10 @@ webhooks: type: string enum: - deleted - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -261199,10 +261585,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -261317,10 +261703,10 @@ webhooks: - 'null' items: type: string - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -261392,10 +261778,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 status: type: string @@ -261476,10 +261862,10 @@ webhooks: type: string enum: - privatized - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -261556,10 +261942,10 @@ webhooks: type: string enum: - publicized - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -261653,10 +262039,10 @@ webhooks: - name required: - repository - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -261736,10 +262122,10 @@ webhooks: type: string enum: - created - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 repository_ruleset: *191 sender: *4 required: @@ -261818,10 +262204,10 @@ webhooks: type: string enum: - deleted - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 repository_ruleset: *191 sender: *4 required: @@ -261900,10 +262286,10 @@ webhooks: type: string enum: - edited - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 repository_ruleset: *191 changes: type: object @@ -261965,16 +262351,16 @@ webhooks: properties: added: type: array - items: *766 + items: *767 deleted: type: array - items: *766 + items: *767 updated: type: array items: type: object properties: - rule: *766 + rule: *767 changes: type: object properties: @@ -262211,10 +262597,10 @@ webhooks: - from required: - owner - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -262292,10 +262678,10 @@ webhooks: type: string enum: - unarchived - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -262373,7 +262759,7 @@ webhooks: type: string enum: - create - alert: &963 + alert: &964 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -262498,10 +262884,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -262711,10 +263097,10 @@ webhooks: type: string enum: - dismissed - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -262792,11 +263178,11 @@ webhooks: type: string enum: - reopen - alert: *963 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + alert: *964 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -262998,10 +263384,10 @@ webhooks: enum: - fixed - open - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -263079,7 +263465,7 @@ webhooks: type: string enum: - assigned - alert: &965 + alert: &966 type: object properties: number: *132 @@ -263226,12 +263612,12 @@ webhooks: anyOf: - type: 'null' - *4 - metadata: *964 + metadata: *965 assignee: *4 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -263309,11 +263695,11 @@ webhooks: type: string enum: - created - alert: *965 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + alert: *966 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -263394,11 +263780,11 @@ webhooks: type: string enum: - created - alert: *965 - installation: *903 - location: *966 - organization: *904 - repository: *905 + alert: *966 + installation: *904 + location: *967 + organization: *905 + repository: *906 sender: *4 required: - location @@ -263636,11 +264022,11 @@ webhooks: type: string enum: - metadata_created - alert: *965 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + alert: *966 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -263717,11 +264103,11 @@ webhooks: type: string enum: - metadata_removed - alert: *965 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + alert: *966 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -263798,11 +264184,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *965 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + alert: *966 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -263880,11 +264266,11 @@ webhooks: type: string enum: - reopened - alert: *965 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + alert: *966 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -263962,11 +264348,11 @@ webhooks: type: string enum: - resolved - alert: *965 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + alert: *966 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -264044,12 +264430,12 @@ webhooks: type: string enum: - unassigned - alert: *965 + alert: *966 assignee: *4 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -264127,11 +264513,11 @@ webhooks: type: string enum: - validated - alert: *965 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + alert: *966 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -264261,10 +264647,10 @@ webhooks: - organization - enterprise - - repository: *905 - enterprise: *902 - installation: *903 - organization: *904 + repository: *906 + enterprise: *903 + installation: *904 + organization: *905 sender: *4 required: - action @@ -264342,11 +264728,11 @@ webhooks: type: string enum: - published - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 - security_advisory: &967 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 + security_advisory: &968 description: The details of the security advisory, including summary, description, and severity. type: object @@ -264519,11 +264905,11 @@ webhooks: type: string enum: - updated - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 - security_advisory: *967 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 + security_advisory: *968 sender: *4 required: - action @@ -264596,10 +264982,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -264773,9 +265159,9 @@ webhooks: type: object properties: security_and_analysis: *435 - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 repository: *496 sender: *4 required: @@ -264854,12 +265240,12 @@ webhooks: type: string enum: - cancelled - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 - sponsorship: &968 + sponsorship: &969 type: object properties: created_at: @@ -265164,12 +265550,12 @@ webhooks: type: string enum: - created - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 - sponsorship: *968 + sponsorship: *969 required: - action - sponsorship @@ -265257,12 +265643,12 @@ webhooks: type: string required: - from - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 - sponsorship: *968 + sponsorship: *969 required: - action - changes @@ -265339,17 +265725,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &969 + effective_date: &970 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: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 - sponsorship: *968 + sponsorship: *969 required: - action - sponsorship @@ -265423,7 +265809,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &970 + changes: &971 type: object properties: tier: @@ -265467,13 +265853,13 @@ webhooks: - from required: - tier - effective_date: *969 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + effective_date: *970 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 - sponsorship: *968 + sponsorship: *969 required: - action - changes @@ -265550,13 +265936,13 @@ webhooks: type: string enum: - tier_changed - changes: *970 - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + changes: *971 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 - sponsorship: *968 + sponsorship: *969 required: - action - changes @@ -265630,10 +266016,10 @@ webhooks: type: string enum: - created - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -265717,10 +266103,10 @@ webhooks: type: string enum: - deleted - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -266154,15 +266540,15 @@ webhooks: type: - string - 'null' - enterprise: *902 + enterprise: *903 id: description: The unique identifier of the status. type: integer - installation: *903 + installation: *904 name: type: string - organization: *904 - repository: *905 + organization: *905 + repository: *906 sender: *4 sha: description: The Commit SHA. @@ -266278,9 +266664,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *225 - installation: *903 - organization: *904 - repository: *905 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -266369,9 +266755,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *225 - installation: *903 - organization: *904 - repository: *905 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -266460,9 +266846,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *225 - installation: *903 - organization: *904 - repository: *905 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -266551,9 +266937,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *225 - installation: *903 - organization: *904 - repository: *905 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -266629,12 +267015,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 - team: &971 + team: &972 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -266864,9 +267250,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 repository: title: Repository description: A git repository @@ -267336,7 +267722,7 @@ webhooks: - topics - visibility sender: *4 - team: *971 + team: *972 required: - action - team @@ -267412,9 +267798,9 @@ webhooks: type: string enum: - created - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 repository: title: Repository description: A git repository @@ -267884,7 +268270,7 @@ webhooks: - topics - visibility sender: *4 - team: *971 + team: *972 required: - action - team @@ -267961,9 +268347,9 @@ webhooks: type: string enum: - deleted - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 repository: title: Repository description: A git repository @@ -268433,7 +268819,7 @@ webhooks: - topics - visibility sender: *4 - team: *971 + team: *972 required: - action - team @@ -268577,9 +268963,9 @@ webhooks: - from required: - permissions - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 repository: title: Repository description: A git repository @@ -269049,7 +269435,7 @@ webhooks: - topics - visibility sender: *4 - team: *971 + team: *972 required: - action - changes @@ -269127,9 +269513,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *902 - installation: *903 - organization: *904 + enterprise: *903 + installation: *904 + organization: *905 repository: title: Repository description: A git repository @@ -269599,7 +269985,7 @@ webhooks: - topics - visibility sender: *4 - team: *971 + team: *972 required: - action - team @@ -269675,10 +270061,10 @@ webhooks: type: string enum: - started - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 required: - action @@ -269751,17 +270137,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *902 + enterprise: *903 inputs: type: - object - 'null' additionalProperties: true - installation: *903 - organization: *904 + installation: *904 + organization: *905 ref: type: string - repository: *905 + repository: *906 sender: *4 workflow: type: string @@ -269843,10 +270229,10 @@ webhooks: type: string enum: - completed - enterprise: *902 - installation: *903 - organization: *904 - repository: *905 + enterprise: *903 + installation: *904 + organization: *905 + repository: *906 sender: *4 workflow_job: allOf: @@ -270181,10 +270567,10 @@ webhooks: type: string enum: {"code":"deadline_exceeded","msg":"operation timed out"}