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 25179559e..5f56e9c30 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", @@ -38762,6 +38877,10 @@ "parent_team_id": { "type": "integer", "description": "The ID of a team to set as the parent team." + }, + "parent_team_slug": { + "type": "string", + "description": "The slug of a team to set as the parent team. Ignored when `parent_team_id` is also provided." } }, "required": [ @@ -38926,6 +39045,13 @@ "null" ], "description": "The ID of a team to set as the parent team." + }, + "parent_team_slug": { + "type": [ + "string", + "null" + ], + "description": "The slug of a team to set as the parent team. Ignored when `parent_team_id` is also provided." } } }, @@ -64252,7 +64378,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 +64402,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64320,8 +64453,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64348,8 +64488,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64376,8 +64523,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64410,8 +64564,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -71381,6 +71542,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", @@ -79679,6 +80141,13 @@ "null" ], "description": "The ID of a team to set as the parent team." + }, + "parent_team_slug": { + "type": [ + "string", + "null" + ], + "description": "The slug of a team to set as the parent team. Ignored when `parent_team_id` is also provided." } }, "required": [ @@ -156327,6 +156796,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 6a8ea5dd7..22ca5d899 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 @@ -28595,6 +28679,10 @@ paths: parent_team_id: type: integer description: The ID of a team to set as the parent team. + parent_team_slug: + type: string + description: The slug of a team to set as the parent team. Ignored + when `parent_team_id` is also provided. required: - name examples: @@ -28724,6 +28812,12 @@ paths: - integer - 'null' description: The ID of a team to set as the parent team. + parent_team_slug: + type: + - string + - 'null' + description: The slug of a team to set as the parent team. Ignored + when `parent_team_id` is also provided. examples: default: value: @@ -47378,10 +47472,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 +47493,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 +47524,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 +47548,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 +47572,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 +47600,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 +52508,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 @@ -58345,6 +58687,12 @@ paths: - integer - 'null' description: The ID of a team to set as the parent team. + parent_team_slug: + type: + - string + - 'null' + description: The slug of a team to set as the parent team. Ignored + when `parent_team_id` is also provided. required: - name examples: @@ -113769,6 +114117,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 6e76e1281..4fb9f4941 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", @@ -38713,6 +38828,10 @@ "parent_team_id": { "type": "integer", "description": "The ID of a team to set as the parent team." + }, + "parent_team_slug": { + "type": "string", + "description": "The slug of a team to set as the parent team. Ignored when `parent_team_id` is also provided." } }, "required": [ @@ -38877,6 +38996,13 @@ "null" ], "description": "The ID of a team to set as the parent team." + }, + "parent_team_slug": { + "type": [ + "string", + "null" + ], + "description": "The slug of a team to set as the parent team. Ignored when `parent_team_id` is also provided." } } }, @@ -64163,7 +64289,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 +64313,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64231,8 +64364,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64259,8 +64399,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64287,8 +64434,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64321,8 +64475,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -71292,6 +71453,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", @@ -79590,6 +80052,13 @@ "null" ], "description": "The ID of a team to set as the parent team." + }, + "parent_team_slug": { + "type": [ + "string", + "null" + ], + "description": "The slug of a team to set as the parent team. Ignored when `parent_team_id` is also provided." } }, "required": [ @@ -155664,6 +156133,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 4a8c60c54..b29cc5b2a 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 @@ -28557,6 +28641,10 @@ paths: parent_team_id: type: integer description: The ID of a team to set as the parent team. + parent_team_slug: + type: string + description: The slug of a team to set as the parent team. Ignored + when `parent_team_id` is also provided. required: - name examples: @@ -28686,6 +28774,12 @@ paths: - integer - 'null' description: The ID of a team to set as the parent team. + parent_team_slug: + type: + - string + - 'null' + description: The slug of a team to set as the parent team. Ignored + when `parent_team_id` is also provided. examples: default: value: @@ -47303,10 +47397,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 +47418,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 +47449,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 +47473,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 +47497,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 +47525,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 +52433,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 @@ -58270,6 +58612,12 @@ paths: - integer - 'null' description: The ID of a team to set as the parent team. + parent_team_slug: + type: + - string + - 'null' + description: The slug of a team to set as the parent team. Ignored + when `parent_team_id` is also provided. required: - name examples: @@ -113284,6 +113632,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 aa99b73e1..8270023fb 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", @@ -38954,6 +39069,10 @@ "parent_team_id": { "type": "integer", "description": "The ID of a team to set as the parent team." + }, + "parent_team_slug": { + "type": "string", + "description": "The slug of a team to set as the parent team. Ignored when `parent_team_id` is also provided." } }, "required": [ @@ -39138,6 +39257,13 @@ "null" ], "description": "The ID of a team to set as the parent team." + }, + "parent_team_slug": { + "type": [ + "string", + "null" + ], + "description": "The slug of a team to set as the parent team. Ignored when `parent_team_id` is also provided." } } }, @@ -64540,7 +64666,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 +64690,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64608,8 +64741,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64636,8 +64776,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64664,8 +64811,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64698,8 +64852,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -71688,6 +71849,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", @@ -79986,6 +80448,13 @@ "null" ], "description": "The ID of a team to set as the parent team." + }, + "parent_team_slug": { + "type": [ + "string", + "null" + ], + "description": "The slug of a team to set as the parent team. Ignored when `parent_team_id` is also provided." } }, "required": [ @@ -157468,6 +157937,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 3b4b1b5a5..64ff6c69e 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 @@ -28697,6 +28781,10 @@ paths: parent_team_id: type: integer description: The ID of a team to set as the parent team. + parent_team_slug: + type: string + description: The slug of a team to set as the parent team. Ignored + when `parent_team_id` is also provided. required: - name examples: @@ -28837,6 +28925,12 @@ paths: - integer - 'null' description: The ID of a team to set as the parent team. + parent_team_slug: + type: + - string + - 'null' + description: The slug of a team to set as the parent team. Ignored + when `parent_team_id` is also provided. examples: default: value: @@ -47556,10 +47650,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 +47671,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 +47702,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 +47726,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 +47750,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 +47778,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 +52696,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 @@ -58533,6 +58875,12 @@ paths: - integer - 'null' description: The ID of a team to set as the parent team. + parent_team_slug: + type: + - string + - 'null' + description: The slug of a team to set as the parent team. Ignored + when `parent_team_id` is also provided. required: - name examples: @@ -114584,6 +114932,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 d13ae804b..9ca1a6d29 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", @@ -266238,6 +266493,10 @@ "parent_team_id": { "type": "integer", "description": "The ID of a team to set as the parent team." + }, + "parent_team_slug": { + "type": "string", + "description": "The slug of a team to set as the parent team. Ignored when `parent_team_id` is also provided." } }, "required": [ @@ -268018,6 +268277,13 @@ "null" ], "description": "The ID of a team to set as the parent team." + }, + "parent_team_slug": { + "type": [ + "string", + "null" + ], + "description": "The slug of a team to set as the parent team. Ignored when `parent_team_id` is also provided." } } }, @@ -503971,7 +504237,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 +504261,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -504039,8 +504312,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -504067,8 +504347,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -504095,8 +504382,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -504129,8 +504423,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -655956,208 +656257,1181 @@ "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." - }, - "merge_method": { - "type": "string", - "description": "The merge method to use.", - "enum": [ - "merge", - "squash", - "rebase" - ] - } - } - }, - "examples": { - "response-if-merge-was-successful": { - "value": { - "commit_title": "Expand enum", - "commit_message": "Add a new value to the merge_method enum" - } - } - } + } + ], + "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." + }, + "merge_method": { + "type": "string", + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ] + } + } + }, + "examples": { + "response-if-merge-was-successful": { + "value": { + "commit_title": "Expand enum", + "commit_message": "Add a new value to the merge_method enum" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "if merge was successful", + "content": { + "application/json": { + "schema": { + "title": "Pull Request Merge Result", + "description": "Pull Request Merge Result", + "type": "object", + "properties": { + "sha": { + "type": "string" + }, + "merged": { + "type": "boolean" + }, + "message": { + "type": "string" + } + }, + "required": [ + "merged", + "message", + "sha" + ] + }, + "examples": { + "response-if-merge-was-successful": { + "value": { + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "merged": true, + "message": "Pull Request successfully merged" + } + } + } + } + } + }, + "405": { + "description": "Method Not Allowed if merge cannot be performed", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + }, + "examples": { + "response-if-merge-cannot-be-performed": { + "value": { + "message": "Pull Request is not mergeable" + } + } + } + } + } + }, + "409": { + "description": "Conflict if sha was provided and pull request head did not match", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + }, + "examples": { + "response-if-sha-was-provided-and-pull-request-head-did-not-match": { + "value": { + "message": "Head branch was modified. Review and try the merge again." + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + }, + "x-github": { + "triggersNotification": true, + "githubCloudOnly": false, + "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.\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": "if merge was successful", + "description": "the current result of the asynchronous merge request", "content": { "application/json": { "schema": { - "title": "Pull Request Merge Result", - "description": "Pull Request Merge Result", + "title": "Pull Request Merge Async Result", + "description": "Pull Request Merge Async Result", "type": "object", + "additionalProperties": false, "properties": { - "sha": { - "type": "string" - }, - "merged": { - "type": "boolean" + "status": { + "type": "string", + "enum": [ + "pending", + "merged", + "enqueued", + "failed" + ] }, - "message": { - "type": "string" + "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": [ - "merged", - "message", - "sha" + "status", + "details" ] }, "examples": { - "response-if-merge-was-successful": { + "response-if-the-merge-is-still-queued": { + "summary": "Still queued", "value": { - "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "merged": true, - "message": "Pull Request successfully merged" - } - } - } - } - } - }, - "405": { - "description": "Method Not Allowed if merge cannot be performed", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" + "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" + } } - } - }, - "examples": { - "response-if-merge-cannot-be-performed": { + }, + "response-if-the-pull-request-is-enqueued": { + "summary": "Enqueued in the merge queue", "value": { - "message": "Pull Request is not mergeable" - } - } - } - } - } - }, - "409": { - "description": "Conflict if sha was provided and pull request head did not match", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" + "status": "enqueued", + "details": { + "message": "Pull request is in the merge queue." + } } - } - }, - "examples": { - "response-if-sha-was-provided-and-pull-request-head-did-not-match": { + }, + "response-if-the-merge-succeeded": { + "summary": "Merge succeeded", "value": { - "message": "Head branch was modified. Review and try the merge again." + "status": "merged", + "details": { + "message": "Pull request was merged.", + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } } - } - } - } - } - }, - "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" - } - } - ] - } - } + }, + "response-if-the-merge-failed": { + "summary": "Merge failed", + "value": { + "status": "failed", + "details": { + "message": "Merge conflict: the pull request could not be merged." } } } @@ -656217,13 +657491,6 @@ } } } - }, - "x-github": { - "triggersNotification": true, - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "pulls", - "subcategory": "pulls" } } }, @@ -741729,6 +742996,13 @@ "null" ], "description": "The ID of a team to set as the parent team." + }, + "parent_team_slug": { + "type": [ + "string", + "null" + ], + "description": "The slug of a team to set as the parent team. Ignored when `parent_team_id` is also provided." } }, "required": [ 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 921ad3232..11503c38a 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 @@ -56957,6 +57037,10 @@ paths: parent_team_id: type: integer description: The ID of a team to set as the parent team. + parent_team_slug: + type: string + description: The slug of a team to set as the parent team. Ignored + when `parent_team_id` is also provided. required: - name examples: @@ -57523,6 +57607,12 @@ paths: - integer - 'null' description: The ID of a team to set as the parent team. + parent_team_slug: + type: + - string + - 'null' + description: The slug of a team to set as the parent team. Ignored + when `parent_team_id` is also provided. examples: default: value: @@ -57657,7 +57747,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 +57890,7 @@ paths: - type - url examples: - default: &705 + default: &706 value: - login: octocat id: 1 @@ -57887,7 +57977,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 +58042,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 +58156,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 +58885,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 +70991,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 +76733,7 @@ paths: type: array items: *463 examples: - default: &715 + default: &716 value: total_count: 2 machines: @@ -79820,7 +79910,7 @@ paths: application/json: schema: type: array - items: &693 + items: &694 title: Status description: The status of a commit. type: object @@ -80809,7 +80899,7 @@ paths: - size - type - url - - &611 + - &612 title: Content File description: Content File type: object @@ -81446,7 +81536,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 +87760,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 +88829,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 +89548,7 @@ paths: type: array items: *537 examples: - default: &730 + default: &731 value: - id: 1 repository: @@ -92060,10 +92150,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 +92171,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 +92202,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 +92226,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 +92250,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 +92278,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 +101199,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 +102701,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 +102949,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: &609 + default: &610 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -102621,7 +103017,7 @@ paths: - *340 - *341 - *604 - - &608 + - &609 name: review_id description: The unique identifier of the review. in: path @@ -102633,9 +103029,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: &610 + default: &611 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -102697,7 +103093,7 @@ paths: - *340 - *341 - *604 - - *608 + - *609 requestBody: required: true content: @@ -102720,7 +103116,7 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: default: value: @@ -102785,15 +103181,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 +103219,7 @@ paths: - *340 - *341 - *604 - - *608 + - *609 - *17 - *19 responses: @@ -103084,7 +103480,7 @@ paths: - *340 - *341 - *604 - - *608 + - *609 requestBody: required: true content: @@ -103113,7 +103509,7 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: default: value: @@ -103179,7 +103575,7 @@ paths: - *340 - *341 - *604 - - *608 + - *609 requestBody: required: true content: @@ -103214,9 +103610,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: *610 + default: *611 '404': *6 '422': *7 '403': *27 @@ -103318,9 +103714,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *612 examples: - default: &612 + default: &613 value: type: file encoding: base64 @@ -103383,9 +103779,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *612 examples: - default: *612 + default: *613 '404': *6 '422': *15 x-github: @@ -103418,7 +103814,7 @@ paths: application/json: schema: type: array - items: *613 + items: *614 examples: default: value: @@ -103594,9 +103990,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 +104099,7 @@ paths: parameters: - *340 - *341 - - &615 + - &616 name: asset_id description: The unique identifier of the asset. in: path @@ -103715,9 +104111,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 +104166,7 @@ paths: parameters: - *340 - *341 - - *615 + - *616 requestBody: required: false content: @@ -103799,9 +104195,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *615 examples: - default: *616 + default: *617 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103819,7 +104215,7 @@ paths: parameters: - *340 - *341 - - *615 + - *616 responses: '204': description: Response @@ -103938,9 +104334,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: - default: *617 + default: *618 '404': *6 x-github: githubCloudOnly: false @@ -103972,9 +104368,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: - default: *617 + default: *618 '404': *6 x-github: githubCloudOnly: false @@ -103998,7 +104394,7 @@ paths: parameters: - *340 - *341 - - &618 + - &619 name: release_id description: The unique identifier of the release. in: path @@ -104012,9 +104408,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 +104436,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 requestBody: required: false content: @@ -104104,9 +104500,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 +104525,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 responses: '204': description: Response @@ -104152,7 +104548,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 - *17 - *19 responses: @@ -104162,7 +104558,7 @@ paths: application/json: schema: type: array - items: *614 + items: *615 examples: default: value: @@ -104245,7 +104641,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 - name: name in: query required: true @@ -104271,7 +104667,7 @@ paths: description: Response for successful upload content: application/json: - schema: *614 + schema: *615 examples: response-for-successful-upload: value: @@ -104328,7 +104724,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 +104773,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 requestBody: required: true content: @@ -104440,7 +104836,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 - *541 responses: '204': @@ -104484,7 +104880,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 +104901,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 +105015,7 @@ paths: schema: type: boolean default: true - - *622 + - *623 responses: '200': description: Response @@ -104704,7 +105100,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *623 + items: *624 required: - name - enforcement @@ -104737,7 +105133,7 @@ paths: application/json: schema: *324 examples: - default: &634 + default: &635 value: id: 42 name: super cool ruleset @@ -104787,11 +105183,11 @@ paths: parameters: - *340 - *341 - - *624 - *625 - *626 - *627 - *628 + - *629 - *17 - *19 responses: @@ -104799,9 +105195,9 @@ paths: description: Response content: application/json: - schema: *629 + schema: *630 examples: - default: *630 + default: *631 '404': *6 '500': *54 x-github: @@ -104824,15 +105220,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 +105279,7 @@ paths: application/json: schema: *324 examples: - default: *634 + default: *635 '404': *6 '500': *54 put: @@ -104936,7 +105332,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *623 + items: *624 examples: default: value: @@ -104966,7 +105362,7 @@ paths: application/json: schema: *324 examples: - default: *634 + default: *635 '404': *6 '422': *15 '500': *54 @@ -105028,7 +105424,7 @@ paths: type: array items: *327 examples: - default: *635 + default: *636 '404': *6 '500': *54 x-github: @@ -105066,7 +105462,7 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: default: value: @@ -105123,7 +105519,6 @@ paths: parameters: - *340 - *341 - - *637 - *638 - *639 - *640 @@ -105131,10 +105526,10 @@ paths: - *642 - *643 - *644 + - *645 - *61 - *19 - *17 - - *645 - *646 - *647 - *648 @@ -105143,6 +105538,7 @@ paths: - *651 - *652 - *653 + - *654 responses: '200': description: Response @@ -105166,8 +105562,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 +105669,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 +105831,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 +105852,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 +105959,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 +105982,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 +106065,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 +106114,7 @@ paths: description: Response content: application/json: - schema: *657 + schema: *658 examples: default: value: @@ -105833,7 +106229,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &824 + items: &825 type: object properties: type: @@ -105860,7 +106256,6 @@ paths: - commit details: oneOf: - - *658 - *659 - *660 - *661 @@ -105873,6 +106268,7 @@ paths: - *668 - *669 - *670 + - *671 examples: default: value: @@ -105963,9 +106359,9 @@ paths: parameters: - *340 - *341 - - *671 - *672 - *673 + - *674 - *61 - *19 - *17 @@ -105978,7 +106374,7 @@ paths: type: array items: *328 examples: - default: *674 + default: *675 headers: Link: *67 '403': *27 @@ -106015,9 +106411,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 +106427,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 +106451,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 +106485,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 +106498,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *680 + default: *681 responses: '204': description: All patterns deleted successfully. @@ -106141,9 +106537,9 @@ paths: required: true content: application/json: - schema: *681 + schema: *682 examples: - default: *682 + default: *683 responses: '200': description: Pattern updated successfully. @@ -106151,7 +106547,7 @@ paths: application/json: schema: *328 examples: - default: *683 + default: *684 '400': *14 '403': *27 '404': *6 @@ -106182,14 +106578,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 +106602,7 @@ paths: schema: type: object properties: - reason: *685 + reason: *686 expire_at: type: - string @@ -106269,7 +106665,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 +106698,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 +106719,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *686 + items: *687 examples: default: value: @@ -106433,9 +106829,9 @@ paths: application/json: schema: type: array - items: *687 + items: *688 examples: - default: *688 + default: *689 '400': *14 '404': *6 x-github: @@ -106629,9 +107025,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 +107374,7 @@ paths: description: Response content: application/json: - schema: *687 + schema: *688 examples: default: value: @@ -107127,15 +107523,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 +107557,7 @@ paths: parameters: - *340 - *341 - - *689 + - *690 requestBody: required: true content: @@ -107332,10 +107728,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 +107771,7 @@ paths: parameters: - *340 - *341 - - *689 + - *690 responses: '202': *38 '400': *14 @@ -107404,7 +107800,7 @@ paths: parameters: - *340 - *341 - - *689 + - *690 responses: '202': description: Response @@ -107635,7 +108031,7 @@ paths: format: date-time pull_requests: type: array - items: &691 + items: &692 title: Pull Request Stack Pull Request type: object allOf: @@ -107912,7 +108308,7 @@ paths: format: date-time pull_requests: type: array - items: *691 + items: *692 examples: default: value: @@ -108105,7 +108501,7 @@ paths: format: date-time pull_requests: type: array - items: *691 + items: *692 examples: default: value: @@ -108362,7 +108758,7 @@ paths: format: date-time pull_requests: type: array - items: *691 + items: *692 examples: default: value: @@ -108575,7 +108971,7 @@ paths: application/json: schema: type: array - items: &692 + items: &693 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -108948,7 +109344,7 @@ paths: application/json: schema: type: array - items: *692 + items: *693 examples: default: value: @@ -109038,7 +109434,7 @@ paths: description: Response content: application/json: - schema: *693 + schema: *694 examples: default: value: @@ -109132,7 +109528,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 +109628,7 @@ paths: description: Response content: application/json: - schema: *694 + schema: *695 examples: default: value: @@ -109442,7 +109838,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 +109850,7 @@ paths: required: - names examples: - default: &696 + default: &697 value: names: - octocat @@ -109509,9 +109905,9 @@ paths: description: Response content: application/json: - schema: *695 + schema: *696 examples: - default: *696 + default: *697 '404': *6 '422': *7 x-github: @@ -109534,7 +109930,7 @@ paths: parameters: - *340 - *341 - - &697 + - &698 name: per description: The time frame to display results for. in: query @@ -109565,7 +109961,7 @@ paths: - 128 clones: type: array - items: &698 + items: &699 title: Traffic type: object properties: @@ -109813,7 +110209,7 @@ paths: parameters: - *340 - *341 - - *697 + - *698 responses: '200': description: Response @@ -109834,7 +110230,7 @@ paths: - 3782 views: type: array - items: *698 + items: *699 required: - uniques - count @@ -110607,7 +111003,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &699 + text_matches: &700 title: Search Result Text Matches type: array items: @@ -110770,7 +111166,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 +111286,7 @@ paths: type: number node_id: type: string - text_matches: *699 + text_matches: *700 required: - sha - node_id @@ -111082,7 +111478,7 @@ paths: - interactions - created - updated - - *700 + - *701 - *17 - *19 - name: advanced_search @@ -111196,8 +111592,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 +111624,7 @@ paths: - string - 'null' format: date-time - text_matches: *699 + text_matches: *700 pull_request: type: object properties: @@ -111504,7 +111900,7 @@ paths: enum: - created - updated - - *700 + - *701 - *17 - *19 responses: @@ -111549,7 +111945,7 @@ paths: - 'null' score: type: number - text_matches: *699 + text_matches: *700 required: - id - node_id @@ -111634,7 +112030,7 @@ paths: - forks - help-wanted-issues - updated - - *700 + - *701 - *17 - *19 responses: @@ -111880,7 +112276,7 @@ paths: - admin - pull - push - text_matches: *699 + text_matches: *700 temp_clone_token: type: string allow_merge_commit: @@ -112188,7 +112584,7 @@ paths: - string - 'null' format: uri - text_matches: *699 + text_matches: *700 related: type: - array @@ -112381,7 +112777,7 @@ paths: - followers - repositories - joined - - *700 + - *701 - *17 - *19 responses: @@ -112491,7 +112887,7 @@ paths: type: - boolean - 'null' - text_matches: *699 + text_matches: *700 blog: type: - string @@ -112573,7 +112969,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 +113010,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: @@ -112664,6 +113060,12 @@ paths: - integer - 'null' description: The ID of a team to set as the parent team. + parent_team_slug: + type: + - string + - 'null' + description: The slug of a team to set as the parent team. Ignored + when `parent_team_id` is also provided. required: - name examples: @@ -112715,7 +113117,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 +113146,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 +113186,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 +113207,9 @@ paths: application/json: schema: type: array - items: *704 + items: *705 examples: - default: *705 + default: *706 headers: Link: *67 '404': *6 @@ -112835,7 +113237,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 +113274,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 +113314,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 +113351,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 +113360,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 +113393,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 +113421,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 +113455,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 +113483,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 +113525,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 +113533,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 +113684,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 +113736,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 +113763,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 +113775,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 +113808,7 @@ paths: application/json: schema: oneOf: - - &711 + - &712 title: Private User description: Private User type: object @@ -113656,7 +114058,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 +114218,7 @@ paths: description: Response content: application/json: - schema: *711 + schema: *712 examples: default: value: @@ -114214,7 +114616,7 @@ paths: type: integer secrets: type: array - items: &712 + items: &713 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -114334,7 +114736,7 @@ paths: description: Response content: application/json: - schema: *712 + schema: *713 examples: default: value: @@ -114747,7 +115149,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 +115202,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 +115247,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *714 examples: - default: *714 + default: *715 '404': *6 x-github: githubCloudOnly: false @@ -114886,7 +115288,7 @@ paths: type: array items: *463 examples: - default: *715 + default: *716 '304': *36 '500': *54 '401': *23 @@ -115852,7 +116254,7 @@ paths: type: array items: *263 examples: - default: &727 + default: &728 value: - id: 197 name: hello_docker @@ -115953,7 +116355,7 @@ paths: application/json: schema: type: array - items: &716 + items: &717 title: Email description: Email type: object @@ -116023,9 +116425,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 +116504,7 @@ paths: application/json: schema: type: array - items: *716 + items: *717 examples: default: value: @@ -116360,7 +116762,7 @@ paths: application/json: schema: type: array - items: &717 + items: &718 title: GPG Key description: A unique encryption key type: object @@ -116505,7 +116907,7 @@ paths: - subkeys - revoked examples: - default: &746 + default: &747 value: - id: 3 name: Octocat's GPG Key @@ -116590,9 +116992,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 +117051,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 +117063,9 @@ paths: description: Response content: application/json: - schema: *717 + schema: *718 examples: - default: *718 + default: *719 '404': *6 '304': *36 '403': *27 @@ -116686,7 +117088,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 +117555,7 @@ paths: application/json: schema: type: array - items: &720 + items: &721 title: Key description: Key type: object @@ -117256,9 +117658,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *721 examples: - default: &721 + default: &722 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -117297,9 +117699,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *721 examples: - default: *721 + default: *722 '404': *6 '304': *36 '403': *27 @@ -117355,7 +117757,7 @@ paths: application/json: schema: type: array - items: &722 + items: &723 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -117434,7 +117836,7 @@ paths: - account - plan examples: - default: &723 + default: &724 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -117496,9 +117898,9 @@ paths: application/json: schema: type: array - items: *722 + items: *723 examples: - default: *723 + default: *724 headers: Link: *67 '304': *36 @@ -117741,7 +118143,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 +118192,7 @@ paths: application/json: schema: *255 examples: - default: *724 + default: *725 '403': *27 '404': *6 '422': *15 @@ -118524,7 +118926,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *258 - - *725 + - *726 responses: '204': description: Response @@ -118639,7 +119041,7 @@ paths: - docker - nuget - container - - *726 + - *727 - *19 - *17 responses: @@ -118651,8 +119053,8 @@ paths: type: array items: *263 examples: - default: *727 - '400': *728 + default: *728 + '400': *729 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118681,7 +119083,7 @@ paths: application/json: schema: *263 examples: - default: &747 + default: &748 value: id: 40201 name: octo-name @@ -119043,9 +119445,9 @@ paths: application/json: schema: type: array - items: *716 + items: *717 examples: - default: *729 + default: *730 headers: Link: *67 '304': *36 @@ -119158,7 +119560,7 @@ paths: type: array items: *79 examples: - default: &736 + default: &737 summary: Default response value: - id: 1296269 @@ -119518,7 +119920,7 @@ paths: type: array items: *537 examples: - default: *730 + default: *731 headers: Link: *67 '304': *36 @@ -119597,7 +119999,7 @@ paths: application/json: schema: type: array - items: &731 + items: &732 title: Social account description: Social media account type: object @@ -119614,7 +120016,7 @@ paths: - provider - url examples: - default: &732 + default: &733 value: - provider: twitter url: https://twitter.com/github @@ -119677,9 +120079,9 @@ paths: application/json: schema: type: array - items: *731 + items: *732 examples: - default: *732 + default: *733 '422': *15 '304': *36 '404': *6 @@ -119767,7 +120169,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 +120189,7 @@ paths: - title - created_at examples: - default: &764 + default: &765 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -119852,9 +120254,9 @@ paths: description: Response content: application/json: - schema: *733 + schema: *734 examples: - default: &734 + default: &735 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -119884,7 +120286,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 +120298,9 @@ paths: description: Response content: application/json: - schema: *733 + schema: *734 examples: - default: *734 + default: *735 '404': *6 '304': *36 '403': *27 @@ -119921,7 +120323,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 +120352,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 +120377,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 +120750,10 @@ paths: application/json: schema: oneOf: + - *712 - *711 - - *710 examples: - default-response: &740 + default-response: &741 summary: Default response value: login: octocat @@ -120386,7 +120788,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 +120845,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 +120911,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *737 + - *738 - *17 responses: '200': @@ -120544,7 +120946,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 +121021,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 +121073,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 +121127,8 @@ paths: required: - subject_digests examples: - default: *742 - withPredicateType: *743 + default: *743 + withPredicateType: *744 responses: '200': description: Response @@ -120780,7 +121182,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 +121671,7 @@ paths: application/json: schema: *197 examples: - default: &745 + default: &746 summary: Example response for a user copilot space value: id: 42 @@ -121370,7 +121772,7 @@ paths: application/json: schema: *197 examples: - default: *745 + default: *746 '403': *27 '404': *6 x-github: @@ -121496,7 +121898,7 @@ paths: application/json: schema: *197 examples: - default: *745 + default: *746 '403': *27 '404': *6 '422': *15 @@ -122264,7 +122666,7 @@ paths: type: array items: *263 examples: - default: *727 + default: *728 '403': *27 '401': *23 x-github: @@ -122648,9 +123050,9 @@ paths: application/json: schema: type: array - items: *717 + items: *718 examples: - default: *746 + default: *747 headers: Link: *67 x-github: @@ -122879,7 +123281,7 @@ paths: - docker - nuget - container - - *726 + - *727 - *71 - *19 - *17 @@ -122892,10 +123294,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 +123327,7 @@ paths: application/json: schema: *263 examples: - default: *747 + default: *748 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123274,7 +123676,7 @@ paths: type: array items: *284 examples: - default: *748 + default: *749 headers: Link: *67 '304': *36 @@ -123334,7 +123736,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 +123752,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *750 + iteration_configuration: *751 required: - name - data_type @@ -123372,8 +123774,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 +123783,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 +123809,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *281 - - *758 + - *759 - *71 responses: '200': @@ -123416,7 +123818,7 @@ paths: application/json: schema: *284 examples: - default: *759 + default: *760 headers: Link: *67 '304': *36 @@ -123773,7 +124175,7 @@ paths: parameters: - *281 - *71 - - *760 + - *761 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -124312,7 +124714,7 @@ paths: parameters: - *71 - *117 - - *761 + - *762 - *119 responses: '200': @@ -124411,9 +124813,9 @@ paths: - *117 - *118 - *119 - - *762 - - *122 - *763 + - *122 + - *764 responses: '200': description: Response when getting a billing usage summary @@ -124547,9 +124949,9 @@ paths: application/json: schema: type: array - items: *731 + items: *732 examples: - default: *732 + default: *733 headers: Link: *67 x-github: @@ -124579,9 +124981,9 @@ paths: application/json: schema: type: array - items: *733 + items: *734 examples: - default: *764 + default: *765 headers: Link: *67 x-github: @@ -124606,7 +125008,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 +125020,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 +125184,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 +125253,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 +125274,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 +125347,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 +126273,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 +126352,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 +126579,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 +126771,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 +126859,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 +126969,7 @@ webhooks: - examples: - neutral - deployment: *772 + deployment: *773 details_url: type: string examples: @@ -126665,10 +127067,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 +127461,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 +127859,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 +128266,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 +129255,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 +129972,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 +130683,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 +131007,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 +131428,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 +131716,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 +132067,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 +132362,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 +132372,7 @@ webhooks: type: - string - 'null' - repository: *770 + repository: *771 sender: *4 required: - action @@ -132216,12 +132618,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 +132944,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 +133207,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 +133291,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 +133312,7 @@ webhooks: enum: - tag - branch - repository: *770 + repository: *771 sender: *4 required: - ref @@ -132993,9 +133395,9 @@ webhooks: enum: - created definition: *292 - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 sender: *4 required: - action @@ -133080,9 +133482,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 +133562,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 +133642,9 @@ webhooks: enum: - updated definition: *292 - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 sender: *4 required: - action @@ -133319,10 +133721,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 +133809,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 +133901,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 +133985,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 +134070,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 +134155,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 +134238,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 +134321,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 +134405,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 +134488,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 +134568,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 +134608,8 @@ webhooks: - verified - created_at - read_only - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -134284,11 +134686,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 +135257,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 +136017,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 +136090,7 @@ webhooks: type: string enum: - approved - approver: &779 + approver: &780 type: object properties: avatar_url: @@ -135731,11 +136133,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 +136218,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &781 + workflow_job_run: &782 type: object properties: conclusion: @@ -136562,18 +136964,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 +137692,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 +139631,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 +140327,7 @@ webhooks: type: string enum: - answered - answer: &785 + answer: &786 type: object properties: author_association: @@ -140085,11 +140487,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 +140618,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 +140705,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 +140791,7 @@ webhooks: type: string enum: - created - comment: &784 + comment: &785 type: object properties: author_association: @@ -140549,11 +140951,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 +141038,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 +141138,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 +141227,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 +141313,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 +141417,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 +141503,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 +141539,8 @@ webhooks: - color - default - description - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -141221,11 +141623,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 +141709,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 +141795,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 +141884,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 +141976,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 +142061,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 +142149,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 +142235,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 +142312,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 +142990,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 +143138,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 +143178,7 @@ webhooks: - action - sha - html_url - repository: *770 + repository: *771 sender: *4 required: - pages @@ -142852,10 +143254,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 +143283,8 @@ webhooks: - name - full_name - private - repository: *770 - requester: *787 + repository: *771 + requester: *788 sender: *4 required: - action @@ -142957,11 +143359,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 +143440,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 +143521,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 +143570,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 +143657,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 +143687,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 +143768,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 +143954,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 +144036,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 +144296,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 +145109,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 +145471,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -145150,7 +145552,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 +145727,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 +146536,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 +146900,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -146579,7 +146981,7 @@ webhooks: type: string enum: - edited - changes: &815 + changes: &816 description: The changes to the comment. type: object properties: @@ -146591,9 +146993,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 +147806,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 +148168,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -147848,9 +148250,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 +149065,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 +149429,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -149108,9 +149510,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 +150325,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 +150689,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -150377,9 +150779,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 +150870,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 +150960,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 +151051,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 +151133,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 +151947,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 +152071,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -151750,8 +152152,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 +152969,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 +153236,8 @@ webhooks: required: - state - closed_at - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -152914,8 +153316,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 +154124,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 +154247,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -153925,8 +154327,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 +155158,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 +155260,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 +155403,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -155101,8 +155503,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 +156315,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 +156439,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 +156521,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 +156689,8 @@ webhooks: - id required: - from - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -156368,9 +156770,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 +156859,8 @@ webhooks: - 'null' required: - id - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -156538,8 +156940,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 +157751,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 +157875,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 +157957,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 +158793,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 +158894,8 @@ webhooks: format: uri user_view_type: type: string - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -158572,8 +158974,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 +159804,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 +159905,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 +160794,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 +161390,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 +162198,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 +162325,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -162004,9 +162406,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 +163213,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 +163336,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -163014,8 +163416,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 +164250,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 +164352,8 @@ webhooks: user_view_type: type: string type: *246 - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -164839,8 +165241,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 +165855,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 +165939,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 +166025,7 @@ webhooks: type: string enum: - unassigned - assignee: &818 + assignee: &819 title: User type: - object @@ -165695,11 +166097,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 +166180,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 +166265,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 +167099,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 +167200,8 @@ webhooks: format: uri user_view_type: type: string - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -166879,11 +167281,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 +167364,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 +167449,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 +167531,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 +167645,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 +167731,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 +167821,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 +167906,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *770 + repository: *771 sender: *4 required: - action @@ -167584,10 +167986,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 +168077,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *770 + repository: *771 sender: *4 required: - action @@ -167757,10 +168159,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 +168248,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *770 + repository: *771 sender: *4 required: - action @@ -167927,8 +168329,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 +168416,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 +168498,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 +168605,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 +168711,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 +168794,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 +168876,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 +168958,7 @@ webhooks: required: - login - id - team: &797 + team: &798 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -168786,11 +169188,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 +169271,7 @@ webhooks: required: - login - id - team: *797 + team: *798 required: - action - scope @@ -168951,8 +169353,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 +169380,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -169065,10 +169467,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 +169543,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 +169652,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 +169737,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 +169820,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 +169964,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -169642,11 +170044,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 +170158,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 +170242,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 +170325,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 +170408,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 +170491,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 +170603,8 @@ webhooks: - role - organization_url - user - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -170280,11 +170682,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 +170765,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 +170888,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 +170969,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 +171060,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 +171141,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 +171666,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &801 + items: &802 title: Ruby Gems metadata type: object properties: @@ -171361,7 +171763,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *771 sender: *4 required: - action @@ -171437,9 +171839,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 +172203,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *801 + items: *802 source_url: type: string format: uri @@ -171872,7 +172274,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *771 sender: *4 required: - action @@ -172052,12 +172454,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 +172536,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 +172686,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 +172766,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 +172846,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 +172925,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 +173034,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 +173066,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 +173312,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 +173438,7 @@ webhooks: - creator - created_at - updated_at - repository: *770 + repository: *771 sender: *4 required: - action @@ -173117,11 +173519,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 +173603,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 +173735,7 @@ webhooks: repository: anyOf: - type: 'null' - - *770 + - *771 sender: *4 required: - action @@ -173427,11 +173829,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 +173927,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 +174126,7 @@ webhooks: type: string required: - after_id - repository: *770 + repository: *771 sender: *4 required: - action @@ -173804,10 +174206,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 +174336,7 @@ webhooks: - creator - created_at - updated_at - repository: *770 + repository: *771 sender: *4 required: - action @@ -174014,10 +174416,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 +174459,7 @@ webhooks: - name - created_at - updated_at - repository: *770 + repository: *771 sender: *4 required: - action @@ -174136,14 +174538,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 +174634,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 +174718,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 +174802,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 +174886,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 +174994,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 +175077,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 +175162,8 @@ webhooks: type: string enum: - closed - installation: *768 - organization: *769 + installation: *769 + organization: *770 projects_v2: *279 sender: *4 required: @@ -174843,8 +175245,8 @@ webhooks: type: string enum: - created - installation: *768 - organization: *769 + installation: *769 + organization: *770 projects_v2: *279 sender: *4 required: @@ -174926,8 +175328,8 @@ webhooks: type: string enum: - deleted - installation: *768 - organization: *769 + installation: *769 + organization: *770 projects_v2: *279 sender: *4 required: @@ -175049,8 +175451,8 @@ webhooks: type: string to: type: string - installation: *768 - organization: *769 + installation: *769 + organization: *770 projects_v2: *279 sender: *4 required: @@ -175134,7 +175536,7 @@ webhooks: type: string enum: - archived - changes: &810 + changes: &811 type: object properties: archived_at: @@ -175150,9 +175552,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 +175694,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 +175778,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 +175861,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 +175968,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 +175992,7 @@ webhooks: required: - id - name - - &809 + - &810 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -175630,8 +176032,8 @@ webhooks: oneOf: - type: string - type: integer - - *808 - *809 + - *810 type: - 'null' - string @@ -175654,9 +176056,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 +176155,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 +176240,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 +176325,8 @@ webhooks: type: string enum: - reopened - installation: *768 - organization: *769 + installation: *769 + organization: *770 projects_v2: *279 sender: *4 required: @@ -176006,9 +176408,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 +176491,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 +176639,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 +176712,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 +176792,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 +179170,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -178850,11 +179252,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 +181621,7 @@ webhooks: - draft reason: type: string - repository: *770 + repository: *771 sender: *4 required: - action @@ -181301,11 +181703,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 +184072,7 @@ webhooks: - draft reason: type: string - repository: *770 + repository: *771 sender: *4 required: - action @@ -183752,11 +184154,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 +184222,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *770 + repository: *771 sender: *4 required: - action @@ -183901,12 +184303,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 +184388,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 +186742,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -186419,11 +186821,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 +189194,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *770 + repository: *771 sender: *4 required: - action @@ -188916,12 +189318,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 +189403,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 +191761,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -191439,11 +191841,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 +194216,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -193895,10 +194297,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 +196669,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -196347,12 +196749,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 +196833,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 +196919,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 +197004,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 +197384,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 +199639,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *770 + repository: *771 sender: *4 required: - action @@ -199317,7 +199719,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 +200012,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 +202255,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *770 + repository: *771 sender: *4 required: - action @@ -201933,11 +202335,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 +204583,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *770 + repository: *771 sender: *4 required: - action @@ -204262,9 +204664,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 +206922,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 + repository: *771 review: description: The review that was affected. type: object @@ -206771,9 +207173,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 +209289,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 +209528,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 +211903,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 requested_reviewer: title: User type: @@ -211587,12 +211989,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 +214371,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 +214566,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 +216943,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 requested_reviewer: title: User type: @@ -216628,12 +217030,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 +219398,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 +219582,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 +221843,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 - review: *817 + repository: *771 + review: *818 sender: *4 required: - action @@ -221522,9 +221924,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 +224080,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 + repository: *771 sender: *4 thread: type: object @@ -224075,9 +224477,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 +226616,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 + repository: *771 sender: *4 thread: type: object @@ -226607,11 +227009,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 +229384,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -229068,10 +229470,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 +231831,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -231511,11 +231913,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 +234290,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -233967,11 +234369,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 +236735,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -236414,10 +236816,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 +239171,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -238972,7 +239374,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 +239469,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 +240069,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 +240548,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *801 + items: *802 summary: type: string tag_name: @@ -240202,7 +240604,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *771 sender: *4 required: - action @@ -240280,9 +240682,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 +240996,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *801 + items: *802 summary: type: string tag_name: @@ -240644,7 +241046,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *771 sender: *4 required: - action @@ -240721,10 +241123,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 +241457,7 @@ webhooks: - updated_at - zipball_url - body - repository: *770 + repository: *771 sender: *4 required: - action @@ -241132,11 +241534,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 +241655,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 +241737,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 +242075,7 @@ webhooks: - string - 'null' format: uri - repository: *770 + repository: *771 sender: *4 required: - action @@ -241749,10 +242151,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 +242487,7 @@ webhooks: - string - 'null' format: uri - repository: *770 + repository: *771 sender: *4 required: - action @@ -242161,11 +242563,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 +242643,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 +242723,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 +242803,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 +242883,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 +242963,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 +243044,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 +243132,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 +243250,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 +243325,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 +243409,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 +243489,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 +243586,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 +243669,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 +243751,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 +243833,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 +243898,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 +244144,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 +244225,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 +244306,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 +244431,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 +244644,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 +244725,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 +244931,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 +245012,7 @@ webhooks: type: string enum: - assigned - alert: &823 + alert: &824 type: object properties: number: *181 @@ -244757,12 +245159,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 +245242,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 +245327,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 +245569,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 +245650,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 +245731,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 +245813,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 +245895,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 +245977,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 +246060,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 +246194,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 +246275,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 +246465,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 +246542,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 +246732,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 +246813,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 +247123,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 +247216,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 +247298,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 +247382,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &828 + changes: &829 type: object properties: tier: @@ -247024,13 +247426,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 +247509,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 +247589,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 +247676,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 +248113,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 +248237,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 +248328,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 +248419,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 +248510,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 +248588,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 +248823,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 +249295,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *830 required: - action - team @@ -248969,9 +249371,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 +249843,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *830 required: - action - team @@ -249518,9 +249920,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 +250392,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *830 required: - action - team @@ -250134,9 +250536,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 +251008,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *830 required: - action - changes @@ -250684,9 +251086,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 +251558,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *830 required: - action - team @@ -251232,10 +251634,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 +251710,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 +251802,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 +252140,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 +252504,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 +252732,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 +252962,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 +253986,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 +254995,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 7395f330f..a6f2d9570 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", @@ -258812,6 +259067,10 @@ "parent_team_id": { "type": "integer", "description": "The ID of a team to set as the parent team." + }, + "parent_team_slug": { + "type": "string", + "description": "The slug of a team to set as the parent team. Ignored when `parent_team_id` is also provided." } }, "required": [ @@ -260592,6 +260851,13 @@ "null" ], "description": "The ID of a team to set as the parent team." + }, + "parent_team_slug": { + "type": [ + "string", + "null" + ], + "description": "The slug of a team to set as the parent team. Ignored when `parent_team_id` is also provided." } } }, @@ -493812,7 +494078,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 +494102,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -493880,8 +494153,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -493908,8 +494188,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -493936,8 +494223,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -493970,8 +494264,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -642369,208 +642670,1181 @@ "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." - }, - "merge_method": { - "type": "string", - "description": "The merge method to use.", - "enum": [ - "merge", - "squash", - "rebase" - ] - } - } - }, - "examples": { - "response-if-merge-was-successful": { - "value": { - "commit_title": "Expand enum", - "commit_message": "Add a new value to the merge_method enum" - } - } - } + } + ], + "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." + }, + "merge_method": { + "type": "string", + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ] + } + } + }, + "examples": { + "response-if-merge-was-successful": { + "value": { + "commit_title": "Expand enum", + "commit_message": "Add a new value to the merge_method enum" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "if merge was successful", + "content": { + "application/json": { + "schema": { + "title": "Pull Request Merge Result", + "description": "Pull Request Merge Result", + "type": "object", + "properties": { + "sha": { + "type": "string" + }, + "merged": { + "type": "boolean" + }, + "message": { + "type": "string" + } + }, + "required": [ + "merged", + "message", + "sha" + ] + }, + "examples": { + "response-if-merge-was-successful": { + "value": { + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "merged": true, + "message": "Pull Request successfully merged" + } + } + } + } + } + }, + "405": { + "description": "Method Not Allowed if merge cannot be performed", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + }, + "examples": { + "response-if-merge-cannot-be-performed": { + "value": { + "message": "Pull Request is not mergeable" + } + } + } + } + } + }, + "409": { + "description": "Conflict if sha was provided and pull request head did not match", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + }, + "examples": { + "response-if-sha-was-provided-and-pull-request-head-did-not-match": { + "value": { + "message": "Head branch was modified. Review and try the merge again." + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + }, + "x-github": { + "triggersNotification": true, + "githubCloudOnly": false, + "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.\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": "if merge was successful", + "description": "the current result of the asynchronous merge request", "content": { "application/json": { "schema": { - "title": "Pull Request Merge Result", - "description": "Pull Request Merge Result", + "title": "Pull Request Merge Async Result", + "description": "Pull Request Merge Async Result", "type": "object", + "additionalProperties": false, "properties": { - "sha": { - "type": "string" - }, - "merged": { - "type": "boolean" + "status": { + "type": "string", + "enum": [ + "pending", + "merged", + "enqueued", + "failed" + ] }, - "message": { - "type": "string" + "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": [ - "merged", - "message", - "sha" + "status", + "details" ] }, "examples": { - "response-if-merge-was-successful": { + "response-if-the-merge-is-still-queued": { + "summary": "Still queued", "value": { - "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "merged": true, - "message": "Pull Request successfully merged" - } - } - } - } - } - }, - "405": { - "description": "Method Not Allowed if merge cannot be performed", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" + "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" + } } - } - }, - "examples": { - "response-if-merge-cannot-be-performed": { + }, + "response-if-the-pull-request-is-enqueued": { + "summary": "Enqueued in the merge queue", "value": { - "message": "Pull Request is not mergeable" - } - } - } - } - } - }, - "409": { - "description": "Conflict if sha was provided and pull request head did not match", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" + "status": "enqueued", + "details": { + "message": "Pull request is in the merge queue." + } } - } - }, - "examples": { - "response-if-sha-was-provided-and-pull-request-head-did-not-match": { + }, + "response-if-the-merge-succeeded": { + "summary": "Merge succeeded", "value": { - "message": "Head branch was modified. Review and try the merge again." + "status": "merged", + "details": { + "message": "Pull request was merged.", + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } } - } - } - } - } - }, - "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" - } - } - ] - } - } + }, + "response-if-the-merge-failed": { + "summary": "Merge failed", + "value": { + "status": "failed", + "details": { + "message": "Merge conflict: the pull request could not be merged." } } } @@ -642630,13 +643904,6 @@ } } } - }, - "x-github": { - "triggersNotification": true, - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "pulls", - "subcategory": "pulls" } } }, @@ -727157,6 +728424,13 @@ "null" ], "description": "The ID of a team to set as the parent team." + }, + "parent_team_slug": { + "type": [ + "string", + "null" + ], + "description": "The slug of a team to set as the parent team. Ignored when `parent_team_id` is also provided." } }, "required": [ 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 3aa602695..fa837e65f 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 @@ -56549,6 +56629,10 @@ paths: parent_team_id: type: integer description: The ID of a team to set as the parent team. + parent_team_slug: + type: string + description: The slug of a team to set as the parent team. Ignored + when `parent_team_id` is also provided. required: - name examples: @@ -57115,6 +57199,12 @@ paths: - integer - 'null' description: The ID of a team to set as the parent team. + parent_team_slug: + type: + - string + - 'null' + description: The slug of a team to set as the parent team. Ignored + when `parent_team_id` is also provided. examples: default: value: @@ -57249,7 +57339,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 +57482,7 @@ paths: - type - url examples: - default: &705 + default: &706 value: - login: octocat id: 1 @@ -57479,7 +57569,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 +57634,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 +57748,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 +58469,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 +70544,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 +76284,7 @@ paths: type: array items: *463 examples: - default: &714 + default: &715 value: total_count: 2 machines: @@ -79371,7 +79461,7 @@ paths: application/json: schema: type: array - items: &693 + items: &694 title: Status description: The status of a commit. type: object @@ -80360,7 +80450,7 @@ paths: - size - type - url - - &611 + - &612 title: Content File description: Content File type: object @@ -80997,7 +81087,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 +87311,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 +88380,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 +89099,7 @@ paths: type: array items: *537 examples: - default: &729 + default: &730 value: - id: 1 repository: @@ -91559,10 +91649,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 +91670,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 +91701,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 +91725,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 +91749,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 +91777,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 +100666,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 +102148,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 +102396,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: &609 + default: &610 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -102068,7 +102464,7 @@ paths: - *340 - *341 - *604 - - &608 + - &609 name: review_id description: The unique identifier of the review. in: path @@ -102080,9 +102476,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: &610 + default: &611 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -102144,7 +102540,7 @@ paths: - *340 - *341 - *604 - - *608 + - *609 requestBody: required: true content: @@ -102167,7 +102563,7 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: default: value: @@ -102232,15 +102628,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 +102666,7 @@ paths: - *340 - *341 - *604 - - *608 + - *609 - *17 - *19 responses: @@ -102531,7 +102927,7 @@ paths: - *340 - *341 - *604 - - *608 + - *609 requestBody: required: true content: @@ -102560,7 +102956,7 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: default: value: @@ -102626,7 +103022,7 @@ paths: - *340 - *341 - *604 - - *608 + - *609 requestBody: required: true content: @@ -102661,9 +103057,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: *610 + default: *611 '404': *6 '422': *7 '403': *27 @@ -102765,9 +103161,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *612 examples: - default: &612 + default: &613 value: type: file encoding: base64 @@ -102830,9 +103226,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *612 examples: - default: *612 + default: *613 '404': *6 '422': *15 x-github: @@ -102865,7 +103261,7 @@ paths: application/json: schema: type: array - items: *613 + items: *614 examples: default: value: @@ -103041,9 +103437,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 +103546,7 @@ paths: parameters: - *340 - *341 - - &615 + - &616 name: asset_id description: The unique identifier of the asset. in: path @@ -103162,9 +103558,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 +103613,7 @@ paths: parameters: - *340 - *341 - - *615 + - *616 requestBody: required: false content: @@ -103246,9 +103642,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *615 examples: - default: *616 + default: *617 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103266,7 +103662,7 @@ paths: parameters: - *340 - *341 - - *615 + - *616 responses: '204': description: Response @@ -103385,9 +103781,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: - default: *617 + default: *618 '404': *6 x-github: githubCloudOnly: false @@ -103419,9 +103815,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: - default: *617 + default: *618 '404': *6 x-github: githubCloudOnly: false @@ -103445,7 +103841,7 @@ paths: parameters: - *340 - *341 - - &618 + - &619 name: release_id description: The unique identifier of the release. in: path @@ -103459,9 +103855,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 +103883,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 requestBody: required: false content: @@ -103551,9 +103947,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 +103972,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 responses: '204': description: Response @@ -103599,7 +103995,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 - *17 - *19 responses: @@ -103609,7 +104005,7 @@ paths: application/json: schema: type: array - items: *614 + items: *615 examples: default: value: @@ -103692,7 +104088,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 - name: name in: query required: true @@ -103718,7 +104114,7 @@ paths: description: Response for successful upload content: application/json: - schema: *614 + schema: *615 examples: response-for-successful-upload: value: @@ -103775,7 +104171,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 +104220,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 requestBody: required: true content: @@ -103887,7 +104283,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 - *541 responses: '204': @@ -103931,7 +104327,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 +104348,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 +104462,7 @@ paths: schema: type: boolean default: true - - *622 + - *623 responses: '200': description: Response @@ -104151,7 +104547,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *623 + items: *624 required: - name - enforcement @@ -104184,7 +104580,7 @@ paths: application/json: schema: *324 examples: - default: &634 + default: &635 value: id: 42 name: super cool ruleset @@ -104234,11 +104630,11 @@ paths: parameters: - *340 - *341 - - *624 - *625 - *626 - *627 - *628 + - *629 - *17 - *19 responses: @@ -104246,9 +104642,9 @@ paths: description: Response content: application/json: - schema: *629 + schema: *630 examples: - default: *630 + default: *631 '404': *6 '500': *54 x-github: @@ -104271,15 +104667,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 +104726,7 @@ paths: application/json: schema: *324 examples: - default: *634 + default: *635 '404': *6 '500': *54 put: @@ -104383,7 +104779,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *623 + items: *624 examples: default: value: @@ -104413,7 +104809,7 @@ paths: application/json: schema: *324 examples: - default: *634 + default: *635 '404': *6 '422': *15 '500': *54 @@ -104475,7 +104871,7 @@ paths: type: array items: *327 examples: - default: *635 + default: *636 '404': *6 '500': *54 x-github: @@ -104513,7 +104909,7 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: default: value: @@ -104570,7 +104966,6 @@ paths: parameters: - *340 - *341 - - *637 - *638 - *639 - *640 @@ -104578,10 +104973,10 @@ paths: - *642 - *643 - *644 + - *645 - *61 - *19 - *17 - - *645 - *646 - *647 - *648 @@ -104590,6 +104985,7 @@ paths: - *651 - *652 - *653 + - *654 responses: '200': description: Response @@ -104613,8 +105009,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 +105116,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 +105278,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 +105299,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 +105406,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 +105429,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 +105512,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 +105561,7 @@ paths: description: Response content: application/json: - schema: *657 + schema: *658 examples: default: value: @@ -105280,7 +105676,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &824 + items: &825 type: object properties: type: @@ -105307,7 +105703,6 @@ paths: - commit details: oneOf: - - *658 - *659 - *660 - *661 @@ -105320,6 +105715,7 @@ paths: - *668 - *669 - *670 + - *671 examples: default: value: @@ -105410,9 +105806,9 @@ paths: parameters: - *340 - *341 - - *671 - *672 - *673 + - *674 - *61 - *19 - *17 @@ -105425,7 +105821,7 @@ paths: type: array items: *328 examples: - default: *674 + default: *675 headers: Link: *67 '403': *27 @@ -105462,9 +105858,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 +105874,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 +105898,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 +105932,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 +105945,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *680 + default: *681 responses: '204': description: All patterns deleted successfully. @@ -105588,9 +105984,9 @@ paths: required: true content: application/json: - schema: *681 + schema: *682 examples: - default: *682 + default: *683 responses: '200': description: Pattern updated successfully. @@ -105598,7 +105994,7 @@ paths: application/json: schema: *328 examples: - default: *683 + default: *684 '400': *14 '403': *27 '404': *6 @@ -105629,14 +106025,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 +106049,7 @@ paths: schema: type: object properties: - reason: *685 + reason: *686 expire_at: type: - string @@ -105716,7 +106112,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 +106145,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 +106166,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *686 + items: *687 examples: default: value: @@ -105880,9 +106276,9 @@ paths: application/json: schema: type: array - items: *687 + items: *688 examples: - default: *688 + default: *689 '400': *14 '404': *6 x-github: @@ -106076,9 +106472,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 +106818,7 @@ paths: description: Response content: application/json: - schema: *687 + schema: *688 examples: default: value: @@ -106570,15 +106966,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 +107000,7 @@ paths: parameters: - *340 - *341 - - *689 + - *690 requestBody: required: true content: @@ -106775,10 +107171,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 +107214,7 @@ paths: parameters: - *340 - *341 - - *689 + - *690 responses: '202': *38 '400': *14 @@ -106847,7 +107243,7 @@ paths: parameters: - *340 - *341 - - *689 + - *690 responses: '202': description: Response @@ -107078,7 +107474,7 @@ paths: format: date-time pull_requests: type: array - items: &691 + items: &692 title: Pull Request Stack Pull Request type: object allOf: @@ -107355,7 +107751,7 @@ paths: format: date-time pull_requests: type: array - items: *691 + items: *692 examples: default: value: @@ -107548,7 +107944,7 @@ paths: format: date-time pull_requests: type: array - items: *691 + items: *692 examples: default: value: @@ -107805,7 +108201,7 @@ paths: format: date-time pull_requests: type: array - items: *691 + items: *692 examples: default: value: @@ -108018,7 +108414,7 @@ paths: application/json: schema: type: array - items: &692 + items: &693 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -108391,7 +108787,7 @@ paths: application/json: schema: type: array - items: *692 + items: *693 examples: default: value: @@ -108481,7 +108877,7 @@ paths: description: Response content: application/json: - schema: *693 + schema: *694 examples: default: value: @@ -108575,7 +108971,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 +109071,7 @@ paths: description: Response content: application/json: - schema: *694 + schema: *695 examples: default: value: @@ -108885,7 +109281,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 +109293,7 @@ paths: required: - names examples: - default: &696 + default: &697 value: names: - octocat @@ -108952,9 +109348,9 @@ paths: description: Response content: application/json: - schema: *695 + schema: *696 examples: - default: *696 + default: *697 '404': *6 '422': *7 x-github: @@ -108977,7 +109373,7 @@ paths: parameters: - *340 - *341 - - &697 + - &698 name: per description: The time frame to display results for. in: query @@ -109008,7 +109404,7 @@ paths: - 128 clones: type: array - items: &698 + items: &699 title: Traffic type: object properties: @@ -109256,7 +109652,7 @@ paths: parameters: - *340 - *341 - - *697 + - *698 responses: '200': description: Response @@ -109277,7 +109673,7 @@ paths: - 3782 views: type: array - items: *698 + items: *699 required: - uniques - count @@ -110049,7 +110445,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &699 + text_matches: &700 title: Search Result Text Matches type: array items: @@ -110212,7 +110608,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 +110728,7 @@ paths: type: number node_id: type: string - text_matches: *699 + text_matches: *700 required: - sha - node_id @@ -110524,7 +110920,7 @@ paths: - interactions - created - updated - - *700 + - *701 - *17 - *19 - name: advanced_search @@ -110638,8 +111034,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 +111062,7 @@ paths: - string - 'null' format: date-time - text_matches: *699 + text_matches: *700 pull_request: type: object properties: @@ -110940,7 +111336,7 @@ paths: enum: - created - updated - - *700 + - *701 - *17 - *19 responses: @@ -110985,7 +111381,7 @@ paths: - 'null' score: type: number - text_matches: *699 + text_matches: *700 required: - id - node_id @@ -111070,7 +111466,7 @@ paths: - forks - help-wanted-issues - updated - - *700 + - *701 - *17 - *19 responses: @@ -111316,7 +111712,7 @@ paths: - admin - pull - push - text_matches: *699 + text_matches: *700 temp_clone_token: type: string allow_merge_commit: @@ -111624,7 +112020,7 @@ paths: - string - 'null' format: uri - text_matches: *699 + text_matches: *700 related: type: - array @@ -111817,7 +112213,7 @@ paths: - followers - repositories - joined - - *700 + - *701 - *17 - *19 responses: @@ -111927,7 +112323,7 @@ paths: type: - boolean - 'null' - text_matches: *699 + text_matches: *700 blog: type: - string @@ -112009,7 +112405,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 +112446,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: @@ -112100,6 +112496,12 @@ paths: - integer - 'null' description: The ID of a team to set as the parent team. + parent_team_slug: + type: + - string + - 'null' + description: The slug of a team to set as the parent team. Ignored + when `parent_team_id` is also provided. required: - name examples: @@ -112151,7 +112553,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 +112582,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 +112622,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 +112643,9 @@ paths: application/json: schema: type: array - items: *704 + items: *705 examples: - default: *705 + default: *706 headers: Link: *67 '404': *6 @@ -112271,7 +112673,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 +112710,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 +112750,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 +112787,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 +112796,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 +112829,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 +112857,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 +112891,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 +112919,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 +112961,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 +112969,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 +113119,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 +113171,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 +113198,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 +113210,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 +113243,7 @@ paths: application/json: schema: oneOf: - - &710 + - &711 title: Private User description: Private User type: object @@ -113091,7 +113493,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - &736 + - &737 title: Public User description: Public User type: object @@ -113425,7 +113827,7 @@ paths: description: Response content: application/json: - schema: *710 + schema: *711 examples: default: value: @@ -113823,7 +114225,7 @@ paths: type: integer secrets: type: array - items: &711 + items: &712 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -113943,7 +114345,7 @@ paths: description: Response content: application/json: - schema: *711 + schema: *712 examples: default: value: @@ -114356,7 +114758,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 +114811,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 +114856,9 @@ paths: description: Response content: application/json: - schema: *712 + schema: *713 examples: - default: *713 + default: *714 '404': *6 x-github: githubCloudOnly: false @@ -114495,7 +114897,7 @@ paths: type: array items: *463 examples: - default: *714 + default: *715 '304': *36 '500': *54 '401': *23 @@ -115461,7 +115863,7 @@ paths: type: array items: *263 examples: - default: &726 + default: &727 value: - id: 197 name: hello_docker @@ -115562,7 +115964,7 @@ paths: application/json: schema: type: array - items: &715 + items: &716 title: Email description: Email type: object @@ -115632,9 +116034,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 +116113,7 @@ paths: application/json: schema: type: array - items: *715 + items: *716 examples: default: value: @@ -115969,7 +116371,7 @@ paths: application/json: schema: type: array - items: &716 + items: &717 title: GPG Key description: A unique encryption key type: object @@ -116114,7 +116516,7 @@ paths: - subkeys - revoked examples: - default: &746 + default: &747 value: - id: 3 name: Octocat's GPG Key @@ -116199,9 +116601,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 +116660,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 +116672,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *717 examples: - default: *717 + default: *718 '404': *6 '304': *36 '403': *27 @@ -116295,7 +116697,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 +117164,7 @@ paths: application/json: schema: type: array - items: &719 + items: &720 title: Key description: Key type: object @@ -116865,9 +117267,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *720 examples: - default: &720 + default: &721 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -116906,9 +117308,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *720 examples: - default: *720 + default: *721 '404': *6 '304': *36 '403': *27 @@ -116964,7 +117366,7 @@ paths: application/json: schema: type: array - items: &721 + items: &722 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -117043,7 +117445,7 @@ paths: - account - plan examples: - default: &722 + default: &723 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -117105,9 +117507,9 @@ paths: application/json: schema: type: array - items: *721 + items: *722 examples: - default: *722 + default: *723 headers: Link: *67 '304': *36 @@ -117350,7 +117752,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 +117801,7 @@ paths: application/json: schema: *255 examples: - default: *723 + default: *724 '403': *27 '404': *6 '422': *15 @@ -118133,7 +118535,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *258 - - *724 + - *725 responses: '204': description: Response @@ -118246,7 +118648,7 @@ paths: - docker - nuget - container - - *725 + - *726 - *19 - *17 responses: @@ -118258,8 +118660,8 @@ paths: type: array items: *263 examples: - default: *726 - '400': *727 + default: *727 + '400': *728 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118288,7 +118690,7 @@ paths: application/json: schema: *263 examples: - default: &747 + default: &748 value: id: 40201 name: octo-name @@ -118650,9 +119052,9 @@ paths: application/json: schema: type: array - items: *715 + items: *716 examples: - default: *728 + default: *729 headers: Link: *67 '304': *36 @@ -118765,7 +119167,7 @@ paths: type: array items: *79 examples: - default: &735 + default: &736 summary: Default response value: - id: 1296269 @@ -119126,7 +119528,7 @@ paths: type: array items: *537 examples: - default: *729 + default: *730 headers: Link: *67 '304': *36 @@ -119206,7 +119608,7 @@ paths: application/json: schema: type: array - items: &730 + items: &731 title: Social account description: Social media account type: object @@ -119223,7 +119625,7 @@ paths: - provider - url examples: - default: &731 + default: &732 value: - provider: twitter url: https://twitter.com/github @@ -119286,9 +119688,9 @@ paths: application/json: schema: type: array - items: *730 + items: *731 examples: - default: *731 + default: *732 '422': *15 '304': *36 '404': *6 @@ -119376,7 +119778,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 +119798,7 @@ paths: - title - created_at examples: - default: &764 + default: &765 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -119461,9 +119863,9 @@ paths: description: Response content: application/json: - schema: *732 + schema: *733 examples: - default: &733 + default: &734 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -119493,7 +119895,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 +119907,9 @@ paths: description: Response content: application/json: - schema: *732 + schema: *733 examples: - default: *733 + default: *734 '404': *6 '304': *36 '403': *27 @@ -119530,7 +119932,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 +119961,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 +119986,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 +120359,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 +120397,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 +120454,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 +120520,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *737 + - *738 - *17 responses: '200': @@ -120153,7 +120555,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 +120630,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 +120682,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 +120736,8 @@ paths: required: - subject_digests examples: - default: *742 - withPredicateType: *743 + default: *743 + withPredicateType: *744 responses: '200': description: Response @@ -120375,7 +120777,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 +121250,7 @@ paths: application/json: schema: *197 examples: - default: &745 + default: &746 summary: Example response for a user copilot space value: id: 42 @@ -120949,7 +121351,7 @@ paths: application/json: schema: *197 examples: - default: *745 + default: *746 '403': *27 '404': *6 x-github: @@ -121075,7 +121477,7 @@ paths: application/json: schema: *197 examples: - default: *745 + default: *746 '403': *27 '404': *6 '422': *15 @@ -121843,7 +122245,7 @@ paths: type: array items: *263 examples: - default: *726 + default: *727 '403': *27 '401': *23 x-github: @@ -122227,9 +122629,9 @@ paths: application/json: schema: type: array - items: *716 + items: *717 examples: - default: *746 + default: *747 headers: Link: *67 x-github: @@ -122458,7 +122860,7 @@ paths: - docker - nuget - container - - *725 + - *726 - *71 - *19 - *17 @@ -122471,10 +122873,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 +122906,7 @@ paths: application/json: schema: *263 examples: - default: *747 + default: *748 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122853,7 +123255,7 @@ paths: type: array items: *284 examples: - default: *748 + default: *749 headers: Link: *67 '304': *36 @@ -122913,7 +123315,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 +123331,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *750 + iteration_configuration: *751 required: - name - data_type @@ -122951,8 +123353,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 +123362,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 +123388,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *281 - - *758 + - *759 - *71 responses: '200': @@ -122995,7 +123397,7 @@ paths: application/json: schema: *284 examples: - default: *759 + default: *760 headers: Link: *67 '304': *36 @@ -123352,7 +123754,7 @@ paths: parameters: - *281 - *71 - - *760 + - *761 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -123891,7 +124293,7 @@ paths: parameters: - *71 - *117 - - *761 + - *762 - *119 responses: '200': @@ -123990,9 +124392,9 @@ paths: - *117 - *118 - *119 - - *762 - - *122 - *763 + - *122 + - *764 responses: '200': description: Response when getting a billing usage summary @@ -124126,9 +124528,9 @@ paths: application/json: schema: type: array - items: *730 + items: *731 examples: - default: *731 + default: *732 headers: Link: *67 x-github: @@ -124158,9 +124560,9 @@ paths: application/json: schema: type: array - items: *732 + items: *733 examples: - default: *764 + default: *765 headers: Link: *67 x-github: @@ -124185,7 +124587,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 +124599,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 +124763,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 +124832,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 +124853,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 +124926,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 +125841,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 +125920,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 +126147,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 +126339,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 +126427,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 +126537,7 @@ webhooks: - examples: - neutral - deployment: *772 + deployment: *773 details_url: type: string examples: @@ -126233,10 +126635,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 +127029,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 +127427,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 +127834,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 +128823,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 +129540,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 +130251,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 +130575,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 +130996,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 +131284,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 +131635,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 +131930,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 +131940,7 @@ webhooks: type: - string - 'null' - repository: *770 + repository: *771 sender: *4 required: - action @@ -131784,12 +132186,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 +132512,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 +132775,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 +132859,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 +132880,7 @@ webhooks: enum: - tag - branch - repository: *770 + repository: *771 sender: *4 required: - ref @@ -132561,9 +132963,9 @@ webhooks: enum: - created definition: *292 - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 sender: *4 required: - action @@ -132648,9 +133050,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 +133130,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 +133210,9 @@ webhooks: enum: - updated definition: *292 - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 sender: *4 required: - action @@ -132887,10 +133289,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 +133377,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 +133469,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 +133553,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 +133638,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 +133723,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 +133806,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 +133889,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 +133973,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 +134056,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 +134136,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 +134176,8 @@ webhooks: - verified - created_at - read_only - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -133852,11 +134254,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 +134825,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 +135585,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 +135658,7 @@ webhooks: type: string enum: - approved - approver: &779 + approver: &780 type: object properties: avatar_url: @@ -135299,11 +135701,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 +135786,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &781 + workflow_job_run: &782 type: object properties: conclusion: @@ -136130,18 +136532,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 +137260,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 +139199,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 +139895,7 @@ webhooks: type: string enum: - answered - answer: &785 + answer: &786 type: object properties: author_association: @@ -139653,11 +140055,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 +140186,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 +140273,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 +140359,7 @@ webhooks: type: string enum: - created - comment: &784 + comment: &785 type: object properties: author_association: @@ -140117,11 +140519,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 +140606,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 +140706,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 +140795,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 +140881,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 +140985,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 +141071,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 +141107,8 @@ webhooks: - color - default - description - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -140789,11 +141191,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 +141277,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 +141363,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 +141452,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 +141544,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 +141629,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 +141717,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 +141803,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 +141880,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 +142558,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 +142706,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 +142746,7 @@ webhooks: - action - sha - html_url - repository: *770 + repository: *771 sender: *4 required: - pages @@ -142420,10 +142822,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 +142851,8 @@ webhooks: - name - full_name - private - repository: *770 - requester: *787 + repository: *771 + requester: *788 sender: *4 required: - action @@ -142525,11 +142927,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 +143008,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 +143089,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 +143138,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 +143225,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 +143255,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 +143336,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 +143522,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 +143604,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 +143864,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 +144677,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 +145039,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -144718,7 +145120,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 +145295,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 +146104,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 +146468,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -146147,7 +146549,7 @@ webhooks: type: string enum: - edited - changes: &815 + changes: &816 description: The changes to the comment. type: object properties: @@ -146159,9 +146561,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 +147374,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 +147736,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -147416,9 +147818,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 +148633,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 +148997,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -148676,9 +149078,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 +149893,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 +150257,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -149945,9 +150347,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 +150438,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 +150528,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 +150619,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 +150701,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 +151515,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 +151639,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -151318,8 +151720,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 +152537,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 +152804,8 @@ webhooks: required: - state - closed_at - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -152482,8 +152884,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 +153692,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 +153815,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -153493,8 +153895,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 +154726,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 +154828,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 +154971,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -154669,8 +155071,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 +155883,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 +156007,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 +156089,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 +156257,8 @@ webhooks: - id required: - from - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -155936,9 +156338,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 +156427,8 @@ webhooks: - 'null' required: - id - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -156106,8 +156508,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 +157319,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 +157443,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 +157525,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 +158361,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 +158462,8 @@ webhooks: format: uri user_view_type: type: string - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -158140,8 +158542,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 +159372,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 +159473,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 +160362,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 +160958,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 +161766,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 +161893,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -161572,9 +161974,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 +162781,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 +162904,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -162582,8 +162984,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 +163818,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 +163920,8 @@ webhooks: user_view_type: type: string type: *246 - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -164407,8 +164809,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 +165423,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 +165507,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 +165593,7 @@ webhooks: type: string enum: - unassigned - assignee: &818 + assignee: &819 title: User type: - object @@ -165263,11 +165665,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 +165748,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 +165833,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 +166667,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 +166768,8 @@ webhooks: format: uri user_view_type: type: string - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -166447,11 +166849,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 +166932,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 +167017,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 +167099,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 +167213,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 +167299,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 +167389,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 +167474,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *770 + repository: *771 sender: *4 required: - action @@ -167152,10 +167554,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 +167645,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *770 + repository: *771 sender: *4 required: - action @@ -167325,10 +167727,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 +167816,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *770 + repository: *771 sender: *4 required: - action @@ -167495,8 +167897,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 +167984,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 +168066,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 +168173,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 +168279,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 +168362,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 +168444,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 +168526,7 @@ webhooks: required: - login - id - team: &797 + team: &798 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -168354,11 +168756,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 +168839,7 @@ webhooks: required: - login - id - team: *797 + team: *798 required: - action - scope @@ -168519,8 +168921,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 +168948,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -168633,10 +169035,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 +169111,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 +169220,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 +169305,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 +169388,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 +169532,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -169210,11 +169612,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 +169726,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 +169810,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 +169893,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 +169976,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 +170059,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 +170171,8 @@ webhooks: - role - organization_url - user - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -169848,11 +170250,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 +170333,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 +170456,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 +170537,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 +170628,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 +170709,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 +171234,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &801 + items: &802 title: Ruby Gems metadata type: object properties: @@ -170929,7 +171331,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *771 sender: *4 required: - action @@ -171005,9 +171407,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 +171771,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *801 + items: *802 source_url: type: string format: uri @@ -171440,7 +171842,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *771 sender: *4 required: - action @@ -171620,12 +172022,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 +172104,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 +172254,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 +172334,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 +172414,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 +172493,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 +172602,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 +172634,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 +172880,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 +173006,7 @@ webhooks: - creator - created_at - updated_at - repository: *770 + repository: *771 sender: *4 required: - action @@ -172685,11 +173087,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 +173171,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 +173303,7 @@ webhooks: repository: anyOf: - type: 'null' - - *770 + - *771 sender: *4 required: - action @@ -172995,11 +173397,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 +173495,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 +173694,7 @@ webhooks: type: string required: - after_id - repository: *770 + repository: *771 sender: *4 required: - action @@ -173372,10 +173774,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 +173904,7 @@ webhooks: - creator - created_at - updated_at - repository: *770 + repository: *771 sender: *4 required: - action @@ -173582,10 +173984,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 +174027,7 @@ webhooks: - name - created_at - updated_at - repository: *770 + repository: *771 sender: *4 required: - action @@ -173704,14 +174106,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 +174202,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 +174286,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 +174370,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 +174454,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 +174562,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 +174645,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 +174730,8 @@ webhooks: type: string enum: - closed - installation: *768 - organization: *769 + installation: *769 + organization: *770 projects_v2: *279 sender: *4 required: @@ -174411,8 +174813,8 @@ webhooks: type: string enum: - created - installation: *768 - organization: *769 + installation: *769 + organization: *770 projects_v2: *279 sender: *4 required: @@ -174494,8 +174896,8 @@ webhooks: type: string enum: - deleted - installation: *768 - organization: *769 + installation: *769 + organization: *770 projects_v2: *279 sender: *4 required: @@ -174617,8 +175019,8 @@ webhooks: type: string to: type: string - installation: *768 - organization: *769 + installation: *769 + organization: *770 projects_v2: *279 sender: *4 required: @@ -174702,7 +175104,7 @@ webhooks: type: string enum: - archived - changes: &810 + changes: &811 type: object properties: archived_at: @@ -174718,9 +175120,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 +175262,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 +175346,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 +175429,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 +175536,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 +175560,7 @@ webhooks: required: - id - name - - &809 + - &810 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -175198,8 +175600,8 @@ webhooks: oneOf: - type: string - type: integer - - *808 - *809 + - *810 type: - 'null' - string @@ -175222,9 +175624,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 +175723,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 +175808,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 +175893,8 @@ webhooks: type: string enum: - reopened - installation: *768 - organization: *769 + installation: *769 + organization: *770 projects_v2: *279 sender: *4 required: @@ -175574,9 +175976,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 +176059,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 +176207,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 +176280,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 +176360,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 +178719,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -178399,11 +178801,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 +181151,7 @@ webhooks: - draft reason: type: string - repository: *770 + repository: *771 sender: *4 required: - action @@ -180831,11 +181233,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 +183583,7 @@ webhooks: - draft reason: type: string - repository: *770 + repository: *771 sender: *4 required: - action @@ -183263,11 +183665,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 +183733,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *770 + repository: *771 sender: *4 required: - action @@ -183412,12 +183814,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 +183899,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 +186248,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -185925,11 +186327,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 +188695,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *770 + repository: *771 sender: *4 required: - action @@ -188417,12 +188819,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 +188904,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 +191257,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -190935,11 +191337,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 +193693,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -193372,10 +193774,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 +196127,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -195805,12 +196207,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 +196291,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 +196377,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 +196462,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 +196842,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 +199078,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *770 + repository: *771 sender: *4 required: - action @@ -198756,7 +199158,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 +199451,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 +201675,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *770 + repository: *771 sender: *4 required: - action @@ -201353,11 +201755,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 +203984,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *770 + repository: *771 sender: *4 required: - action @@ -203663,9 +204065,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 +206304,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 + repository: *771 review: description: The review that was affected. type: object @@ -206153,9 +206555,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 +208666,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 +208905,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 +211261,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 requested_reviewer: title: User type: @@ -210945,12 +211347,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 +213710,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 +213905,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 +216263,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 requested_reviewer: title: User type: @@ -215948,12 +216350,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 +218699,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 +218883,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 +221125,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 - review: *817 + repository: *771 + review: *818 sender: *4 required: - action @@ -220804,9 +221206,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 +223357,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 + repository: *771 sender: *4 thread: type: object @@ -223352,9 +223754,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 +225888,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 + repository: *771 sender: *4 thread: type: object @@ -225879,11 +226281,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 +228637,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -228321,10 +228723,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 +231065,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -230745,11 +231147,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 +233505,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -233182,11 +233584,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 +235931,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -235610,10 +236012,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 +238348,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -238149,7 +238551,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 +238646,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 +239246,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 +239725,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *801 + items: *802 summary: type: string tag_name: @@ -239379,7 +239781,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *771 sender: *4 required: - action @@ -239457,9 +239859,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 +240173,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *801 + items: *802 summary: type: string tag_name: @@ -239821,7 +240223,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *771 sender: *4 required: - action @@ -239898,10 +240300,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 +240634,7 @@ webhooks: - updated_at - zipball_url - body - repository: *770 + repository: *771 sender: *4 required: - action @@ -240309,11 +240711,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 +240832,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 +240914,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 +241252,7 @@ webhooks: - string - 'null' format: uri - repository: *770 + repository: *771 sender: *4 required: - action @@ -240926,10 +241328,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 +241664,7 @@ webhooks: - string - 'null' format: uri - repository: *770 + repository: *771 sender: *4 required: - action @@ -241338,11 +241740,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 +241820,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 +241900,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 +241980,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 +242060,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 +242140,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 +242221,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 +242309,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 +242427,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 +242502,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 +242586,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 +242666,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 +242763,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 +242846,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 +242928,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 +243010,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 +243075,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 +243321,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 +243402,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 +243483,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 +243608,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 +243821,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 +243902,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 +244108,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 +244189,7 @@ webhooks: type: string enum: - assigned - alert: &823 + alert: &824 type: object properties: number: *181 @@ -243934,12 +244336,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 +244419,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 +244504,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 +244746,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 +244827,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 +244908,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 +244990,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 +245072,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 +245154,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 +245237,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 +245371,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 +245452,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 +245629,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 +245706,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 +245883,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 +245964,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 +246274,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 +246367,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 +246449,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 +246533,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &828 + changes: &829 type: object properties: tier: @@ -246175,13 +246577,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 +246660,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 +246740,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 +246827,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 +247264,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 +247388,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 +247479,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 +247570,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 +247661,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 +247739,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 +247974,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 +248446,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *830 required: - action - team @@ -248120,9 +248522,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 +248994,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *830 required: - action - team @@ -248669,9 +249071,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 +249543,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *830 required: - action - team @@ -249285,9 +249687,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 +250159,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *830 required: - action - changes @@ -249835,9 +250237,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 +250709,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *830 required: - action - team @@ -250383,10 +250785,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 +250861,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 +250953,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 +251291,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 +251655,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 +251883,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 +252113,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 +253137,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 +254146,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 108a94c7f..28e7aea34 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", @@ -273193,6 +273448,10 @@ "parent_team_id": { "type": "integer", "description": "The ID of a team to set as the parent team." + }, + "parent_team_slug": { + "type": "string", + "description": "The slug of a team to set as the parent team. Ignored when `parent_team_id` is also provided." } }, "required": [ @@ -274993,6 +275252,13 @@ "null" ], "description": "The ID of a team to set as the parent team." + }, + "parent_team_slug": { + "type": [ + "string", + "null" + ], + "description": "The slug of a team to set as the parent team. Ignored when `parent_team_id` is also provided." } } }, @@ -514923,7 +515189,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 +515213,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -514991,8 +515264,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -515019,8 +515299,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -515047,8 +515334,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -515081,8 +515375,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -670312,208 +670613,1181 @@ "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." - }, - "merge_method": { - "type": "string", - "description": "The merge method to use.", - "enum": [ - "merge", - "squash", - "rebase" - ] - } - } - }, - "examples": { - "response-if-merge-was-successful": { - "value": { - "commit_title": "Expand enum", - "commit_message": "Add a new value to the merge_method enum" - } - } - } + } + ], + "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." + }, + "merge_method": { + "type": "string", + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ] + } + } + }, + "examples": { + "response-if-merge-was-successful": { + "value": { + "commit_title": "Expand enum", + "commit_message": "Add a new value to the merge_method enum" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "if merge was successful", + "content": { + "application/json": { + "schema": { + "title": "Pull Request Merge Result", + "description": "Pull Request Merge Result", + "type": "object", + "properties": { + "sha": { + "type": "string" + }, + "merged": { + "type": "boolean" + }, + "message": { + "type": "string" + } + }, + "required": [ + "merged", + "message", + "sha" + ] + }, + "examples": { + "response-if-merge-was-successful": { + "value": { + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "merged": true, + "message": "Pull Request successfully merged" + } + } + } + } + } + }, + "405": { + "description": "Method Not Allowed if merge cannot be performed", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + }, + "examples": { + "response-if-merge-cannot-be-performed": { + "value": { + "message": "Pull Request is not mergeable" + } + } + } + } + } + }, + "409": { + "description": "Conflict if sha was provided and pull request head did not match", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + }, + "examples": { + "response-if-sha-was-provided-and-pull-request-head-did-not-match": { + "value": { + "message": "Head branch was modified. Review and try the merge again." + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + }, + "x-github": { + "triggersNotification": true, + "githubCloudOnly": false, + "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.\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": "if merge was successful", + "description": "the current result of the asynchronous merge request", "content": { "application/json": { "schema": { - "title": "Pull Request Merge Result", - "description": "Pull Request Merge Result", + "title": "Pull Request Merge Async Result", + "description": "Pull Request Merge Async Result", "type": "object", + "additionalProperties": false, "properties": { - "sha": { - "type": "string" - }, - "merged": { - "type": "boolean" + "status": { + "type": "string", + "enum": [ + "pending", + "merged", + "enqueued", + "failed" + ] }, - "message": { - "type": "string" + "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": [ - "merged", - "message", - "sha" + "status", + "details" ] }, "examples": { - "response-if-merge-was-successful": { + "response-if-the-merge-is-still-queued": { + "summary": "Still queued", "value": { - "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "merged": true, - "message": "Pull Request successfully merged" - } - } - } - } - } - }, - "405": { - "description": "Method Not Allowed if merge cannot be performed", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" + "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" + } } - } - }, - "examples": { - "response-if-merge-cannot-be-performed": { + }, + "response-if-the-pull-request-is-enqueued": { + "summary": "Enqueued in the merge queue", "value": { - "message": "Pull Request is not mergeable" - } - } - } - } - } - }, - "409": { - "description": "Conflict if sha was provided and pull request head did not match", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" + "status": "enqueued", + "details": { + "message": "Pull request is in the merge queue." + } } - } - }, - "examples": { - "response-if-sha-was-provided-and-pull-request-head-did-not-match": { + }, + "response-if-the-merge-succeeded": { + "summary": "Merge succeeded", "value": { - "message": "Head branch was modified. Review and try the merge again." + "status": "merged", + "details": { + "message": "Pull request was merged.", + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } } - } - } - } - } - }, - "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" - } - } - ] - } - } + }, + "response-if-the-merge-failed": { + "summary": "Merge failed", + "value": { + "status": "failed", + "details": { + "message": "Merge conflict: the pull request could not be merged." } } } @@ -670573,13 +671847,6 @@ } } } - }, - "x-github": { - "triggersNotification": true, - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "pulls", - "subcategory": "pulls" } } }, @@ -757822,6 +759089,13 @@ "null" ], "description": "The ID of a team to set as the parent team." + }, + "parent_team_slug": { + "type": [ + "string", + "null" + ], + "description": "The slug of a team to set as the parent team. Ignored when `parent_team_id` is also provided." } }, "required": [ 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 2c72f9384..08ccb991d 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 @@ -57455,6 +57535,10 @@ paths: parent_team_id: type: integer description: The ID of a team to set as the parent team. + parent_team_slug: + type: string + description: The slug of a team to set as the parent team. Ignored + when `parent_team_id` is also provided. required: - name examples: @@ -58032,6 +58116,12 @@ paths: - integer - 'null' description: The ID of a team to set as the parent team. + parent_team_slug: + type: + - string + - 'null' + description: The slug of a team to set as the parent team. Ignored + when `parent_team_id` is also provided. examples: default: value: @@ -58166,7 +58256,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 +58399,7 @@ paths: - type - url examples: - default: &705 + default: &706 value: - login: octocat id: 1 @@ -58396,7 +58486,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 +58551,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 +58665,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 +59479,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 +71630,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 +77389,7 @@ paths: type: array items: *463 examples: - default: &715 + default: &716 value: total_count: 2 machines: @@ -80476,7 +80566,7 @@ paths: application/json: schema: type: array - items: &693 + items: &694 title: Status description: The status of a commit. type: object @@ -81465,7 +81555,7 @@ paths: - size - type - url - - &611 + - &612 title: Content File description: Content File type: object @@ -82132,7 +82222,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 +88446,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 +89515,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 +90234,7 @@ paths: type: array items: *537 examples: - default: &730 + default: &731 value: - id: 1 repository: @@ -92768,10 +92858,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 +92879,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 +92910,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 +92934,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 +92958,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 +92986,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 +102022,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 +103535,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 +103783,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: &609 + default: &610 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -103455,7 +103851,7 @@ paths: - *340 - *341 - *604 - - &608 + - &609 name: review_id description: The unique identifier of the review. in: path @@ -103467,9 +103863,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: &610 + default: &611 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -103531,7 +103927,7 @@ paths: - *340 - *341 - *604 - - *608 + - *609 requestBody: required: true content: @@ -103554,7 +103950,7 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: default: value: @@ -103619,15 +104015,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 +104053,7 @@ paths: - *340 - *341 - *604 - - *608 + - *609 - *17 - *19 responses: @@ -103918,7 +104314,7 @@ paths: - *340 - *341 - *604 - - *608 + - *609 requestBody: required: true content: @@ -103947,7 +104343,7 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: default: value: @@ -104013,7 +104409,7 @@ paths: - *340 - *341 - *604 - - *608 + - *609 requestBody: required: true content: @@ -104048,9 +104444,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: *610 + default: *611 '404': *6 '422': *7 '403': *27 @@ -104152,9 +104548,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *612 examples: - default: &612 + default: &613 value: type: file encoding: base64 @@ -104217,9 +104613,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *612 examples: - default: *612 + default: *613 '404': *6 '422': *15 x-github: @@ -104252,7 +104648,7 @@ paths: application/json: schema: type: array - items: *613 + items: *614 examples: default: value: @@ -104428,9 +104824,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 +104933,7 @@ paths: parameters: - *340 - *341 - - &615 + - &616 name: asset_id description: The unique identifier of the asset. in: path @@ -104549,9 +104945,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 +105000,7 @@ paths: parameters: - *340 - *341 - - *615 + - *616 requestBody: required: false content: @@ -104633,9 +105029,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *615 examples: - default: *616 + default: *617 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104653,7 +105049,7 @@ paths: parameters: - *340 - *341 - - *615 + - *616 responses: '204': description: Response @@ -104772,9 +105168,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: - default: *617 + default: *618 '404': *6 x-github: githubCloudOnly: false @@ -104806,9 +105202,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: - default: *617 + default: *618 '404': *6 x-github: githubCloudOnly: false @@ -104832,7 +105228,7 @@ paths: parameters: - *340 - *341 - - &618 + - &619 name: release_id description: The unique identifier of the release. in: path @@ -104846,9 +105242,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 +105270,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 requestBody: required: false content: @@ -104938,9 +105334,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 +105359,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 responses: '204': description: Response @@ -104986,7 +105382,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 - *17 - *19 responses: @@ -104996,7 +105392,7 @@ paths: application/json: schema: type: array - items: *614 + items: *615 examples: default: value: @@ -105079,7 +105475,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 - name: name in: query required: true @@ -105105,7 +105501,7 @@ paths: description: Response for successful upload content: application/json: - schema: *614 + schema: *615 examples: response-for-successful-upload: value: @@ -105162,7 +105558,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 +105607,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 requestBody: required: true content: @@ -105274,7 +105670,7 @@ paths: parameters: - *340 - *341 - - *618 + - *619 - *541 responses: '204': @@ -105318,7 +105714,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 +105735,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 +105849,7 @@ paths: schema: type: boolean default: true - - *622 + - *623 responses: '200': description: Response @@ -105538,7 +105934,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *623 + items: *624 required: - name - enforcement @@ -105571,7 +105967,7 @@ paths: application/json: schema: *324 examples: - default: &634 + default: &635 value: id: 42 name: super cool ruleset @@ -105621,11 +106017,11 @@ paths: parameters: - *340 - *341 - - *624 - *625 - *626 - *627 - *628 + - *629 - *17 - *19 responses: @@ -105633,9 +106029,9 @@ paths: description: Response content: application/json: - schema: *629 + schema: *630 examples: - default: *630 + default: *631 '404': *6 '500': *54 x-github: @@ -105658,15 +106054,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 +106113,7 @@ paths: application/json: schema: *324 examples: - default: *634 + default: *635 '404': *6 '500': *54 put: @@ -105770,7 +106166,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *623 + items: *624 examples: default: value: @@ -105800,7 +106196,7 @@ paths: application/json: schema: *324 examples: - default: *634 + default: *635 '404': *6 '422': *15 '500': *54 @@ -105862,7 +106258,7 @@ paths: type: array items: *327 examples: - default: *635 + default: *636 '404': *6 '500': *54 x-github: @@ -105900,7 +106296,7 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: default: value: @@ -105957,7 +106353,6 @@ paths: parameters: - *340 - *341 - - *637 - *638 - *639 - *640 @@ -105965,10 +106360,10 @@ paths: - *642 - *643 - *644 + - *645 - *61 - *19 - *17 - - *645 - *646 - *647 - *648 @@ -105977,6 +106372,7 @@ paths: - *651 - *652 - *653 + - *654 responses: '200': description: Response @@ -106000,8 +106396,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 +106503,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 +106665,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 +106686,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 +106793,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 +106816,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 +106899,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 +106948,7 @@ paths: description: Response content: application/json: - schema: *657 + schema: *658 examples: default: value: @@ -106667,7 +107063,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &824 + items: &825 type: object properties: type: @@ -106694,7 +107090,6 @@ paths: - commit details: oneOf: - - *658 - *659 - *660 - *661 @@ -106707,6 +107102,7 @@ paths: - *668 - *669 - *670 + - *671 examples: default: value: @@ -106797,9 +107193,9 @@ paths: parameters: - *340 - *341 - - *671 - *672 - *673 + - *674 - *61 - *19 - *17 @@ -106812,7 +107208,7 @@ paths: type: array items: *328 examples: - default: *674 + default: *675 headers: Link: *67 '403': *27 @@ -106849,9 +107245,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 +107261,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 +107285,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 +107319,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 +107332,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *680 + default: *681 responses: '204': description: All patterns deleted successfully. @@ -106975,9 +107371,9 @@ paths: required: true content: application/json: - schema: *681 + schema: *682 examples: - default: *682 + default: *683 responses: '200': description: Pattern updated successfully. @@ -106985,7 +107381,7 @@ paths: application/json: schema: *328 examples: - default: *683 + default: *684 '400': *14 '403': *27 '404': *6 @@ -107016,14 +107412,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 +107436,7 @@ paths: schema: type: object properties: - reason: *685 + reason: *686 expire_at: type: - string @@ -107103,7 +107499,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 +107532,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 +107553,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *686 + items: *687 examples: default: value: @@ -107267,9 +107663,9 @@ paths: application/json: schema: type: array - items: *687 + items: *688 examples: - default: *688 + default: *689 '400': *14 '404': *6 x-github: @@ -107463,9 +107859,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 +108214,7 @@ paths: description: Response content: application/json: - schema: *687 + schema: *688 examples: default: value: @@ -107973,15 +108369,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 +108403,7 @@ paths: parameters: - *340 - *341 - - *689 + - *690 requestBody: required: true content: @@ -108178,10 +108574,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 +108617,7 @@ paths: parameters: - *340 - *341 - - *689 + - *690 responses: '202': *38 '400': *14 @@ -108250,7 +108646,7 @@ paths: parameters: - *340 - *341 - - *689 + - *690 responses: '202': description: Response @@ -108481,7 +108877,7 @@ paths: format: date-time pull_requests: type: array - items: &691 + items: &692 title: Pull Request Stack Pull Request type: object allOf: @@ -108758,7 +109154,7 @@ paths: format: date-time pull_requests: type: array - items: *691 + items: *692 examples: default: value: @@ -108951,7 +109347,7 @@ paths: format: date-time pull_requests: type: array - items: *691 + items: *692 examples: default: value: @@ -109208,7 +109604,7 @@ paths: format: date-time pull_requests: type: array - items: *691 + items: *692 examples: default: value: @@ -109421,7 +109817,7 @@ paths: application/json: schema: type: array - items: &692 + items: &693 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -109794,7 +110190,7 @@ paths: application/json: schema: type: array - items: *692 + items: *693 examples: default: value: @@ -109884,7 +110280,7 @@ paths: description: Response content: application/json: - schema: *693 + schema: *694 examples: default: value: @@ -109978,7 +110374,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 +110474,7 @@ paths: description: Response content: application/json: - schema: *694 + schema: *695 examples: default: value: @@ -110288,7 +110684,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 +110696,7 @@ paths: required: - names examples: - default: &696 + default: &697 value: names: - octocat @@ -110355,9 +110751,9 @@ paths: description: Response content: application/json: - schema: *695 + schema: *696 examples: - default: *696 + default: *697 '404': *6 '422': *7 x-github: @@ -110380,7 +110776,7 @@ paths: parameters: - *340 - *341 - - &697 + - &698 name: per description: The time frame to display results for. in: query @@ -110411,7 +110807,7 @@ paths: - 128 clones: type: array - items: &698 + items: &699 title: Traffic type: object properties: @@ -110659,7 +111055,7 @@ paths: parameters: - *340 - *341 - - *697 + - *698 responses: '200': description: Response @@ -110680,7 +111076,7 @@ paths: - 3782 views: type: array - items: *698 + items: *699 required: - uniques - count @@ -111459,7 +111855,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &699 + text_matches: &700 title: Search Result Text Matches type: array items: @@ -111622,7 +112018,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 +112138,7 @@ paths: type: number node_id: type: string - text_matches: *699 + text_matches: *700 required: - sha - node_id @@ -111934,7 +112330,7 @@ paths: - interactions - created - updated - - *700 + - *701 - *17 - *19 - name: advanced_search @@ -112048,8 +112444,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 +112476,7 @@ paths: - string - 'null' format: date-time - text_matches: *699 + text_matches: *700 pull_request: type: object properties: @@ -112390,7 +112786,7 @@ paths: enum: - created - updated - - *700 + - *701 - *17 - *19 responses: @@ -112435,7 +112831,7 @@ paths: - 'null' score: type: number - text_matches: *699 + text_matches: *700 required: - id - node_id @@ -112520,7 +112916,7 @@ paths: - forks - help-wanted-issues - updated - - *700 + - *701 - *17 - *19 responses: @@ -112766,7 +113162,7 @@ paths: - admin - pull - push - text_matches: *699 + text_matches: *700 temp_clone_token: type: string allow_merge_commit: @@ -113074,7 +113470,7 @@ paths: - string - 'null' format: uri - text_matches: *699 + text_matches: *700 related: type: - array @@ -113267,7 +113663,7 @@ paths: - followers - repositories - joined - - *700 + - *701 - *17 - *19 responses: @@ -113377,7 +113773,7 @@ paths: type: - boolean - 'null' - text_matches: *699 + text_matches: *700 blog: type: - string @@ -113459,7 +113855,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 +113896,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: @@ -113550,6 +113946,12 @@ paths: - integer - 'null' description: The ID of a team to set as the parent team. + parent_team_slug: + type: + - string + - 'null' + description: The slug of a team to set as the parent team. Ignored + when `parent_team_id` is also provided. required: - name examples: @@ -113601,7 +114003,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 +114032,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 +114072,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 +114093,9 @@ paths: application/json: schema: type: array - items: *704 + items: *705 examples: - default: *705 + default: *706 headers: Link: *67 '404': *6 @@ -113721,7 +114123,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 +114160,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 +114200,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 +114237,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 +114246,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 +114279,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 +114307,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 +114341,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 +114369,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 +114411,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 +114419,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 +114576,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 +114628,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 +114655,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 +114667,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 +114700,7 @@ paths: application/json: schema: oneOf: - - &711 + - &712 title: Private User description: Private User type: object @@ -114548,7 +114950,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 +115110,7 @@ paths: description: Response content: application/json: - schema: *711 + schema: *712 examples: default: value: @@ -115106,7 +115508,7 @@ paths: type: integer secrets: type: array - items: &712 + items: &713 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -115226,7 +115628,7 @@ paths: description: Response content: application/json: - schema: *712 + schema: *713 examples: default: value: @@ -115639,7 +116041,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 +116094,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 +116139,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *714 examples: - default: *714 + default: *715 '404': *6 x-github: githubCloudOnly: false @@ -115778,7 +116180,7 @@ paths: type: array items: *463 examples: - default: *715 + default: *716 '304': *36 '500': *54 '401': *23 @@ -116744,7 +117146,7 @@ paths: type: array items: *263 examples: - default: &727 + default: &728 value: - id: 197 name: hello_docker @@ -116845,7 +117247,7 @@ paths: application/json: schema: type: array - items: &716 + items: &717 title: Email description: Email type: object @@ -116915,9 +117317,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 +117396,7 @@ paths: application/json: schema: type: array - items: *716 + items: *717 examples: default: value: @@ -117252,7 +117654,7 @@ paths: application/json: schema: type: array - items: &717 + items: &718 title: GPG Key description: A unique encryption key type: object @@ -117397,7 +117799,7 @@ paths: - subkeys - revoked examples: - default: &746 + default: &747 value: - id: 3 name: Octocat's GPG Key @@ -117482,9 +117884,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 +117943,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 +117955,9 @@ paths: description: Response content: application/json: - schema: *717 + schema: *718 examples: - default: *718 + default: *719 '404': *6 '304': *36 '403': *27 @@ -117578,7 +117980,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 +118447,7 @@ paths: application/json: schema: type: array - items: &720 + items: &721 title: Key description: Key type: object @@ -118148,9 +118550,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *721 examples: - default: &721 + default: &722 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -118189,9 +118591,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *721 examples: - default: *721 + default: *722 '404': *6 '304': *36 '403': *27 @@ -118247,7 +118649,7 @@ paths: application/json: schema: type: array - items: &722 + items: &723 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -118326,7 +118728,7 @@ paths: - account - plan examples: - default: &723 + default: &724 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -118388,9 +118790,9 @@ paths: application/json: schema: type: array - items: *722 + items: *723 examples: - default: *723 + default: *724 headers: Link: *67 '304': *36 @@ -118633,7 +119035,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 +119084,7 @@ paths: application/json: schema: *255 examples: - default: *724 + default: *725 '403': *27 '404': *6 '422': *15 @@ -119416,7 +119818,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *258 - - *725 + - *726 responses: '204': description: Response @@ -119549,7 +119951,7 @@ paths: - docker - nuget - container - - *726 + - *727 - *19 - *17 responses: @@ -119561,8 +119963,8 @@ paths: type: array items: *263 examples: - default: *727 - '400': *728 + default: *728 + '400': *729 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119591,7 +119993,7 @@ paths: application/json: schema: *263 examples: - default: &747 + default: &748 value: id: 40201 name: octo-name @@ -119953,9 +120355,9 @@ paths: application/json: schema: type: array - items: *716 + items: *717 examples: - default: *729 + default: *730 headers: Link: *67 '304': *36 @@ -120068,7 +120470,7 @@ paths: type: array items: *79 examples: - default: &736 + default: &737 summary: Default response value: - id: 1296269 @@ -120434,7 +120836,7 @@ paths: type: array items: *537 examples: - default: *730 + default: *731 headers: Link: *67 '304': *36 @@ -120519,7 +120921,7 @@ paths: application/json: schema: type: array - items: &731 + items: &732 title: Social account description: Social media account type: object @@ -120536,7 +120938,7 @@ paths: - provider - url examples: - default: &732 + default: &733 value: - provider: twitter url: https://twitter.com/github @@ -120599,9 +121001,9 @@ paths: application/json: schema: type: array - items: *731 + items: *732 examples: - default: *732 + default: *733 '422': *15 '304': *36 '404': *6 @@ -120689,7 +121091,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 +121111,7 @@ paths: - title - created_at examples: - default: &764 + default: &765 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -120774,9 +121176,9 @@ paths: description: Response content: application/json: - schema: *733 + schema: *734 examples: - default: &734 + default: &735 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -120806,7 +121208,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 +121220,9 @@ paths: description: Response content: application/json: - schema: *733 + schema: *734 examples: - default: *734 + default: *735 '404': *6 '304': *36 '403': *27 @@ -120843,7 +121245,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 +121274,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 +121299,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 +121672,10 @@ paths: application/json: schema: oneOf: + - *712 - *711 - - *710 examples: - default-response: &740 + default-response: &741 summary: Default response value: login: octocat @@ -121308,7 +121710,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 +121767,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 +121833,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *737 + - *738 - *17 responses: '200': @@ -121466,7 +121868,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 +121943,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 +121995,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 +122049,8 @@ paths: required: - subject_digests examples: - default: *742 - withPredicateType: *743 + default: *743 + withPredicateType: *744 responses: '200': description: Response @@ -121702,7 +122104,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 +122622,7 @@ paths: application/json: schema: *197 examples: - default: &745 + default: &746 summary: Example response for a user copilot space value: id: 42 @@ -122321,7 +122723,7 @@ paths: application/json: schema: *197 examples: - default: *745 + default: *746 '403': *27 '404': *6 x-github: @@ -122447,7 +122849,7 @@ paths: application/json: schema: *197 examples: - default: *745 + default: *746 '403': *27 '404': *6 '422': *15 @@ -123215,7 +123617,7 @@ paths: type: array items: *263 examples: - default: *727 + default: *728 '403': *27 '401': *23 x-github: @@ -123599,9 +124001,9 @@ paths: application/json: schema: type: array - items: *717 + items: *718 examples: - default: *746 + default: *747 headers: Link: *67 x-github: @@ -123830,7 +124232,7 @@ paths: - docker - nuget - container - - *726 + - *727 - *71 - *19 - *17 @@ -123843,10 +124245,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 +124278,7 @@ paths: application/json: schema: *263 examples: - default: *747 + default: *748 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -124225,7 +124627,7 @@ paths: type: array items: *284 examples: - default: *748 + default: *749 headers: Link: *67 '304': *36 @@ -124285,7 +124687,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 +124703,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *750 + iteration_configuration: *751 required: - name - data_type @@ -124323,8 +124725,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 +124734,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 +124760,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *281 - - *758 + - *759 - *71 responses: '200': @@ -124367,7 +124769,7 @@ paths: application/json: schema: *284 examples: - default: *759 + default: *760 headers: Link: *67 '304': *36 @@ -124724,7 +125126,7 @@ paths: parameters: - *281 - *71 - - *760 + - *761 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -125263,7 +125665,7 @@ paths: parameters: - *71 - *117 - - *761 + - *762 - *119 responses: '200': @@ -125362,9 +125764,9 @@ paths: - *117 - *118 - *119 - - *762 - - *122 - *763 + - *122 + - *764 responses: '200': description: Response when getting a billing usage summary @@ -125498,9 +125900,9 @@ paths: application/json: schema: type: array - items: *731 + items: *732 examples: - default: *732 + default: *733 headers: Link: *67 x-github: @@ -125530,9 +125932,9 @@ paths: application/json: schema: type: array - items: *733 + items: *734 examples: - default: *764 + default: *765 headers: Link: *67 x-github: @@ -125557,7 +125959,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 +125971,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 +126135,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 +126204,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 +126225,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 +126298,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 +127238,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 +127317,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 +127544,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 +127736,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 +127824,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 +127934,7 @@ webhooks: - examples: - neutral - deployment: *772 + deployment: *773 details_url: type: string examples: @@ -127630,10 +128032,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 +128426,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 +128824,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 +129231,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 +130220,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 +130937,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 +131648,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 +131972,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 +132393,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 +132681,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 +133032,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 +133327,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 +133337,7 @@ webhooks: type: - string - 'null' - repository: *770 + repository: *771 sender: *4 required: - action @@ -133181,12 +133583,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 +133909,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 +134172,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 +134256,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 +134277,7 @@ webhooks: enum: - tag - branch - repository: *770 + repository: *771 sender: *4 required: - ref @@ -133958,9 +134360,9 @@ webhooks: enum: - created definition: *292 - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 sender: *4 required: - action @@ -134045,9 +134447,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 +134527,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 +134607,9 @@ webhooks: enum: - updated definition: *292 - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *768 + installation: *769 + organization: *770 sender: *4 required: - action @@ -134284,10 +134686,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 +134774,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 +134866,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 +134950,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 +135035,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 +135120,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 +135203,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 +135286,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 +135370,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 +135453,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 +135533,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 +135573,8 @@ webhooks: - verified - created_at - read_only - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -135249,11 +135651,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 +136222,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 +136982,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 +137055,7 @@ webhooks: type: string enum: - approved - approver: &779 + approver: &780 type: object properties: avatar_url: @@ -136696,11 +137098,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 +137183,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &781 + workflow_job_run: &782 type: object properties: conclusion: @@ -137527,18 +137929,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 +138657,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 +140596,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 +141292,7 @@ webhooks: type: string enum: - answered - answer: &785 + answer: &786 type: object properties: author_association: @@ -141050,11 +141452,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 +141583,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 +141670,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 +141756,7 @@ webhooks: type: string enum: - created - comment: &784 + comment: &785 type: object properties: author_association: @@ -141514,11 +141916,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 +142003,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 +142103,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 +142192,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 +142278,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 +142382,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 +142468,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 +142504,8 @@ webhooks: - color - default - description - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -142186,11 +142588,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 +142674,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 +142760,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 +142849,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 +142941,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 +143026,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 +143114,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 +143200,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 +143277,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 +143955,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 +144103,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 +144143,7 @@ webhooks: - action - sha - html_url - repository: *770 + repository: *771 sender: *4 required: - pages @@ -143817,10 +144219,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 +144248,8 @@ webhooks: - name - full_name - private - repository: *770 - requester: *787 + repository: *771 + requester: *788 sender: *4 required: - action @@ -143922,11 +144324,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 +144405,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 +144486,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 +144535,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 +144622,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 +144652,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 +144733,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 +144919,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 +145001,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 +145261,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 +146074,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 +146436,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -146115,7 +146517,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 +146692,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 +147501,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 +147865,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -147544,7 +147946,7 @@ webhooks: type: string enum: - edited - changes: &815 + changes: &816 description: The changes to the comment. type: object properties: @@ -147556,9 +147958,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 +148771,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 +149133,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -148813,9 +149215,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 +150030,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 +150394,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -150073,9 +150475,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 +151290,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 +151654,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -151342,9 +151744,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 +151835,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 +151925,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 +152016,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 +152098,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 +152912,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 +153036,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -152715,8 +153117,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 +153934,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 +154201,8 @@ webhooks: required: - state - closed_at - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -153879,8 +154281,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 +155089,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 +155212,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -154890,8 +155292,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 +156123,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 +156225,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 +156368,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -156066,8 +156468,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 +157280,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 +157404,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 +157486,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 +157654,8 @@ webhooks: - id required: - from - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -157333,9 +157735,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 +157824,8 @@ webhooks: - 'null' required: - id - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -157503,8 +157905,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 +158716,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 +158840,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 +158922,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 +159758,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 +159859,8 @@ webhooks: format: uri user_view_type: type: string - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -159537,8 +159939,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 +160769,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 +160870,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 +161759,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 +162355,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 +163163,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 +163290,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -162969,9 +163371,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 +164178,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 +164301,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -163979,8 +164381,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 +165215,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 +165317,8 @@ webhooks: user_view_type: type: string type: *246 - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -165804,8 +166206,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 +166820,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 +166904,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 +166990,7 @@ webhooks: type: string enum: - unassigned - assignee: &818 + assignee: &819 title: User type: - object @@ -166660,11 +167062,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 +167145,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 +167230,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 +168064,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 +168165,8 @@ webhooks: format: uri user_view_type: type: string - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -167844,11 +168246,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 +168329,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 +168414,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 +168496,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 +168610,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 +168696,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 +168786,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 +168871,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *770 + repository: *771 sender: *4 required: - action @@ -168549,10 +168951,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 +169042,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *770 + repository: *771 sender: *4 required: - action @@ -168722,10 +169124,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 +169213,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *770 + repository: *771 sender: *4 required: - action @@ -168892,8 +169294,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 +169381,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 +169463,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 +169570,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 +169676,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 +169759,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 +169841,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 +169923,7 @@ webhooks: required: - login - id - team: &797 + team: &798 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -169751,11 +170153,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 +170236,7 @@ webhooks: required: - login - id - team: *797 + team: *798 required: - action - scope @@ -169916,8 +170318,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 +170345,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -170030,10 +170432,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 +170508,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 +170617,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 +170702,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 +170785,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 +170929,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -170607,11 +171009,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 +171123,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 +171207,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 +171290,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 +171373,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 +171456,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 +171568,8 @@ webhooks: - role - organization_url - user - organization: *769 - repository: *770 + organization: *770 + repository: *771 sender: *4 required: - action @@ -171245,11 +171647,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 +171730,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 +171853,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 +171934,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 +172025,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 +172106,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 +172631,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &801 + items: &802 title: Ruby Gems metadata type: object properties: @@ -172326,7 +172728,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *771 sender: *4 required: - action @@ -172402,9 +172804,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 +173168,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *801 + items: *802 source_url: type: string format: uri @@ -172837,7 +173239,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *771 sender: *4 required: - action @@ -173017,12 +173419,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 +173501,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 +173651,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 +173731,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 +173811,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 +173890,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 +173999,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 +174031,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 +174277,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 +174403,7 @@ webhooks: - creator - created_at - updated_at - repository: *770 + repository: *771 sender: *4 required: - action @@ -174082,11 +174484,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 +174568,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 +174700,7 @@ webhooks: repository: anyOf: - type: 'null' - - *770 + - *771 sender: *4 required: - action @@ -174392,11 +174794,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 +174892,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 +175091,7 @@ webhooks: type: string required: - after_id - repository: *770 + repository: *771 sender: *4 required: - action @@ -174769,10 +175171,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 +175301,7 @@ webhooks: - creator - created_at - updated_at - repository: *770 + repository: *771 sender: *4 required: - action @@ -174979,10 +175381,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 +175424,7 @@ webhooks: - name - created_at - updated_at - repository: *770 + repository: *771 sender: *4 required: - action @@ -175101,14 +175503,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 +175599,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 +175683,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 +175767,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 +175851,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 +175959,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 +176042,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 +176127,8 @@ webhooks: type: string enum: - closed - installation: *768 - organization: *769 + installation: *769 + organization: *770 projects_v2: *279 sender: *4 required: @@ -175808,8 +176210,8 @@ webhooks: type: string enum: - created - installation: *768 - organization: *769 + installation: *769 + organization: *770 projects_v2: *279 sender: *4 required: @@ -175891,8 +176293,8 @@ webhooks: type: string enum: - deleted - installation: *768 - organization: *769 + installation: *769 + organization: *770 projects_v2: *279 sender: *4 required: @@ -176014,8 +176416,8 @@ webhooks: type: string to: type: string - installation: *768 - organization: *769 + installation: *769 + organization: *770 projects_v2: *279 sender: *4 required: @@ -176099,7 +176501,7 @@ webhooks: type: string enum: - archived - changes: &810 + changes: &811 type: object properties: archived_at: @@ -176115,9 +176517,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 +176659,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 +176743,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 +176826,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 +176933,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 +176957,7 @@ webhooks: required: - id - name - - &809 + - &810 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -176595,8 +176997,8 @@ webhooks: oneOf: - type: string - type: integer - - *808 - *809 + - *810 type: - 'null' - string @@ -176619,9 +177021,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 +177120,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 +177205,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 +177290,8 @@ webhooks: type: string enum: - reopened - installation: *768 - organization: *769 + installation: *769 + organization: *770 projects_v2: *279 sender: *4 required: @@ -176971,9 +177373,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 +177456,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 +177604,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 +177677,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 +177757,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 +180135,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -179830,11 +180232,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 +182601,7 @@ webhooks: - draft reason: type: string - repository: *770 + repository: *771 sender: *4 required: - action @@ -182296,11 +182698,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 +185067,7 @@ webhooks: - draft reason: type: string - repository: *770 + repository: *771 sender: *4 required: - action @@ -184762,11 +185164,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 +185232,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *770 + repository: *771 sender: *4 required: - action @@ -184911,12 +185313,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 +185398,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 +187794,7 @@ webhooks: - active_lock_reason - draft version: '2026-03-10' - repository: *770 + repository: *771 sender: *4 required: - action @@ -187471,11 +187873,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 +190246,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *770 + repository: *771 sender: *4 required: - action @@ -189976,12 +190378,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 +190463,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 +192821,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -192507,11 +192909,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 +195284,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -194978,10 +195380,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 +197752,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -197445,12 +197847,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 +197931,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 +198017,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 +198102,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 +198482,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 +200737,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *770 + repository: *771 sender: *4 required: - action @@ -200430,7 +200832,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 +201125,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 +203368,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *770 + repository: *771 sender: *4 required: - action @@ -203061,11 +203463,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 +205711,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *770 + repository: *771 sender: *4 required: - action @@ -205405,9 +205807,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 +208065,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 + repository: *771 review: description: The review that was affected. type: object @@ -207929,9 +208331,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 +210447,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 +210694,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 +213069,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 requested_reviewer: title: User type: @@ -212753,12 +213155,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 +215537,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 +215755,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 +218132,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 requested_reviewer: title: User type: @@ -217817,12 +218219,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 +220587,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 +220794,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 +223055,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 - review: *817 + repository: *771 + review: *818 sender: *4 required: - action @@ -222749,9 +223151,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 +225307,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 + repository: *771 sender: *4 thread: type: object @@ -225310,9 +225712,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 +227851,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 + repository: *771 sender: *4 thread: type: object @@ -227850,11 +228252,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 +230627,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -230326,10 +230728,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 +233089,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -232784,11 +233186,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 +235563,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -235255,11 +235657,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 +238023,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -237717,10 +238119,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 +240474,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *771 sender: *4 required: - action @@ -240290,7 +240692,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 +240787,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 +241387,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 +241866,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *801 + items: *802 summary: type: string tag_name: @@ -241520,7 +241922,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *771 sender: *4 required: - action @@ -241598,9 +242000,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 +242314,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *801 + items: *802 summary: type: string tag_name: @@ -241962,7 +242364,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *771 sender: *4 required: - action @@ -242039,10 +242441,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 +242775,7 @@ webhooks: - updated_at - zipball_url - body - repository: *770 + repository: *771 sender: *4 required: - action @@ -242450,11 +242852,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 +242973,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 +243055,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 +243393,7 @@ webhooks: - string - 'null' format: uri - repository: *770 + repository: *771 sender: *4 required: - action @@ -243067,10 +243469,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 +243805,7 @@ webhooks: - string - 'null' format: uri - repository: *770 + repository: *771 sender: *4 required: - action @@ -243479,11 +243881,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 +243961,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 +244041,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 +244121,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 +244201,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 +244281,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 +244362,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 +244450,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 +244568,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 +244643,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 +244727,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 +244807,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 +244904,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 +244987,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 +245069,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 +245151,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 +245216,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 +245462,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 +245543,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 +245624,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 +245749,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 +245962,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 +246043,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 +246249,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 +246330,7 @@ webhooks: type: string enum: - assigned - alert: &823 + alert: &824 type: object properties: number: *181 @@ -246075,12 +246477,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 +246560,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 +246645,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 +246887,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 +246968,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 +247049,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 +247131,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 +247213,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 +247295,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 +247378,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 +247512,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 +247593,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 +247801,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 +247878,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 +248076,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 +248157,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 +248467,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 +248560,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 +248642,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 +248726,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &828 + changes: &829 type: object properties: tier: @@ -248368,13 +248770,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 +248853,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 +248933,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 +249020,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 +249457,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 +249581,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 +249672,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 +249763,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 +249854,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 +249932,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 +250167,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 +250639,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *830 required: - action - team @@ -250313,9 +250715,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 +251187,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *830 required: - action - team @@ -250862,9 +251264,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 +251736,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *830 required: - action - team @@ -251478,9 +251880,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 +252352,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *830 required: - action - changes @@ -252028,9 +252430,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 +252902,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *830 required: - action - team @@ -252576,10 +252978,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 +253054,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 +253146,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 +253484,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 +253848,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 +254076,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 +254306,12 @@ webhooks: type: string enum: - completed - enterprise: *767 - installation: *768 - organization: *{"code":"deadline_exceeded","msg":"operation timed out"}